]> git.saurik.com Git - wxWidgets.git/blob - configure
implement 'auto' mode for both wxMediaCtrl and OpenGL
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 57205 2008-12-08 19:33:08Z FM .
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 GXX_VERSION
705 SDL_CONFIG
706 SDL_CFLAGS
707 SDL_LIBS
708 GTKPRINT_CFLAGS
709 GTKPRINT_LIBS
710 LIBGNOMEPRINTUI_CFLAGS
711 LIBGNOMEPRINTUI_LIBS
712 GNOMEVFS_CFLAGS
713 GNOMEVFS_LIBS
714 HILDON_CFLAGS
715 HILDON_LIBS
716 CAIRO_CFLAGS
717 CAIRO_LIBS
718 GST_CFLAGS
719 GST_LIBS
720 ALL_WX_LIBS
721 BUILT_WX_LIBS
722 STD_BASE_LIBS
723 STD_GUI_LIBS
724 wxUSE_ZLIB
725 wxUSE_REGEX
726 wxUSE_EXPAT
727 wxUSE_LIBJPEG
728 wxUSE_LIBPNG
729 wxUSE_LIBTIFF
730 VENDOR
731 OFFICIAL_BUILD
732 WX_FLAVOUR
733 WX_LIB_FLAVOUR
734 WXUNIV
735 MONOLITHIC
736 USE_PLUGINS
737 CXXWARNINGS
738 EXTRALIBS
739 EXTRALIBS_XML
740 EXTRALIBS_HTML
741 EXTRALIBS_MEDIA
742 EXTRALIBS_GUI
743 EXTRALIBS_OPENGL
744 EXTRALIBS_SDL
745 EXTRALIBS_STC
746 WITH_PLUGIN_SDL
747 EXTRALIBS_GTKPRINT
748 EXTRALIBS_GNOMEPRINT
749 EXTRALIBS_GNOMEVFS
750 EXTRALIBS_HILDON
751 UNICODE
752 BUILD
753 DEBUG_INFO
754 DEBUG_FLAG
755 TOOLKIT_LOWERCASE
756 TOOLKIT_VERSION
757 SAMPLES_RPATH_FLAG
758 SAMPLES_RPATH_POSTLINK
759 HOST_SUFFIX
760 CPPUNIT_CFLAGS
761 CPPUNIT_LIBS
762 RANLIB
763 INSTALL_PROGRAM
764 INSTALL_SCRIPT
765 INSTALL_DATA
766 LN_S
767 SET_MAKE
768 MAKE_SET
769 AROPTIONS
770 STRIP
771 NM
772 INSTALL_DIR
773 LDFLAGS_GUI
774 IF_GNU_MAKE
775 PLATFORM_UNIX
776 PLATFORM_WIN32
777 PLATFORM_MSDOS
778 PLATFORM_MAC
779 PLATFORM_MACOS
780 PLATFORM_MACOSX
781 PLATFORM_OS2
782 PLATFORM_BEOS
783 SO_SUFFIX
784 SO_SUFFIX_MODULE
785 DLLIMP_SUFFIX
786 LIBPREFIX
787 LIBEXT
788 DLLPREFIX
789 DLLPREFIX_MODULE
790 dlldir
791 AIX_CXX_LD
792 SHARED_LD_CC
793 SHARED_LD_CXX
794 SHARED_LD_MODULE_CC
795 SHARED_LD_MODULE_CXX
796 PIC_FLAG
797 WINDOWS_IMPLIB
798 USE_SOVERSION
799 USE_SOVERLINUX
800 USE_SOVERSOLARIS
801 USE_SOVERCYGWIN
802 USE_MACVERSION
803 USE_SOSYMLINKS
804 SONAME_FLAG
805 DEPS_TRACKING
806 BK_DEPS
807 WINDRES
808 REZ
809 SETFILE
810 OBJCXXFLAGS
811 GCC_PCH
812 ICC_PCH
813 ICC_PCH_CREATE_SWITCH
814 ICC_PCH_USE_SWITCH
815 BK_MAKE_PCH
816 COND_BUILD_DEBUG
817 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
818 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
819 COND_BUILD_DEBUG_UNICODE_0
820 COND_BUILD_DEBUG_UNICODE_1
821 COND_BUILD_RELEASE
822 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
823 COND_BUILD_RELEASE_UNICODE_0
824 COND_BUILD_RELEASE_UNICODE_1
825 COND_BUILD_debug
826 COND_BUILD_debug_DEBUG_FLAG_default
827 COND_BUILD_debug_DEBUG_INFO_default
828 COND_BUILD_debug_UNICODE_0
829 COND_BUILD_debug_UNICODE_1
830 COND_BUILD_release
831 COND_BUILD_release_DEBUG_INFO_default
832 COND_BUILD_release_UNICODE_0
833 COND_BUILD_release_UNICODE_1
834 COND_DEBUG_FLAG_1
835 COND_DEBUG_INFO_0
836 COND_DEBUG_INFO_1
837 COND_DEPS_TRACKING_0
838 COND_DEPS_TRACKING_1
839 COND_GCC_PCH_1
840 COND_ICC_PCH_1
841 COND_MONOLITHIC_0
842 COND_MONOLITHIC_0_SHARED_0
843 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
848 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
849 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
850 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
851 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
852 COND_MONOLITHIC_0_SHARED_1
853 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
858 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
859 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
860 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
861 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
862 COND_MONOLITHIC_0_USE_AUI_1
863 COND_MONOLITHIC_0_USE_GUI_1
864 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
865 COND_MONOLITHIC_0_USE_HTML_1
866 COND_MONOLITHIC_0_USE_MEDIA_1
867 COND_MONOLITHIC_0_USE_PROPGRID_1
868 COND_MONOLITHIC_0_USE_QA_1
869 COND_MONOLITHIC_0_USE_RICHTEXT_1
870 COND_MONOLITHIC_0_USE_STC_1
871 COND_MONOLITHIC_0_USE_XRC_1
872 COND_MONOLITHIC_1
873 COND_MONOLITHIC_1_SHARED_0
874 COND_MONOLITHIC_1_SHARED_1
875 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
876 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
877 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
878 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
879 COND_PLATFORM_MACOSX_1
880 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
883 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
884 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
885 COND_PLATFORM_MACOSX_1_USE_GUI_1
886 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
887 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
888 COND_PLATFORM_MACOS_1
889 COND_PLATFORM_MAC_0
890 COND_PLATFORM_MAC_1
891 COND_PLATFORM_MSDOS_0
892 COND_PLATFORM_MSDOS_1
893 COND_PLATFORM_OS2_1
894 COND_PLATFORM_UNIX_0
895 COND_PLATFORM_UNIX_1
896 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
897 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
898 COND_PLATFORM_UNIX_1_USE_GUI_1
899 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
900 COND_PLATFORM_WIN32_0
901 COND_PLATFORM_WIN32_1
902 COND_SHARED_0
903 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
904 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
905 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
906 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
908 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
909 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
910 COND_SHARED_0_USE_STC_1
911 COND_SHARED_0_wxUSE_EXPAT_builtin
912 COND_SHARED_0_wxUSE_REGEX_builtin
913 COND_SHARED_0_wxUSE_ZLIB_builtin
914 COND_SHARED_1
915 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
916 COND_TOOLKIT_
917 COND_TOOLKIT_COCOA
918 COND_TOOLKIT_COCOA_USE_GUI_1
919 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_DFB
921 COND_TOOLKIT_DFB_USE_GUI_1
922 COND_TOOLKIT_GTK
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_GTK_USE_GUI_1
930 COND_TOOLKIT_MAC
931 COND_TOOLKIT_MGL
932 COND_TOOLKIT_MGL_USE_GUI_1
933 COND_TOOLKIT_MOTIF
934 COND_TOOLKIT_MOTIF_USE_GUI_1
935 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_MSW
937 COND_TOOLKIT_MSW_USE_GUI_1
938 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_MSW_WXUNIV_0
940 COND_TOOLKIT_OSX_CARBON
941 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
942 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
943 COND_TOOLKIT_OSX_COCOA
944 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
945 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
946 COND_TOOLKIT_OSX_IPHONE
947 COND_TOOLKIT_PM
948 COND_TOOLKIT_PM_USE_GUI_1
949 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_WINCE
951 COND_TOOLKIT_WINCE_USE_GUI_1
952 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_WINCE_WXUNIV_0
954 COND_TOOLKIT_X11
955 COND_TOOLKIT_X11_USE_GUI_1
956 COND_UNICODE_1
957 COND_USE_EXCEPTIONS_0
958 COND_USE_EXCEPTIONS_1
959 COND_USE_GUI_0
960 COND_USE_GUI_1
961 COND_USE_GUI_1_USE_OPENGL_1
962 COND_USE_GUI_1_WXUNIV_0
963 COND_USE_GUI_1_WXUNIV_1
964 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
965 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
966 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
967 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
968 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
969 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
970 COND_USE_OPENGL_1
971 COND_USE_PCH_1
972 COND_USE_PLUGINS_0
973 COND_USE_RTTI_0
974 COND_USE_RTTI_1
975 COND_USE_SOSYMLINKS_1
976 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
977 COND_USE_SOVERLINUX_1
978 COND_USE_SOVERSION_0
979 COND_USE_SOVERSOLARIS_1
980 COND_USE_STC_1
981 COND_USE_THREADS_0
982 COND_USE_THREADS_1
983 COND_USE_XRC_1
984 COND_WINDOWS_IMPLIB_1
985 COND_WITH_PLUGIN_SDL_1
986 COND_WXUNIV_0
987 COND_WXUNIV_1
988 COND_WXUSE_EXPAT_BUILTIN
989 COND_WXUSE_LIBJPEG_BUILTIN
990 COND_WXUSE_LIBPNG_BUILTIN
991 COND_WXUSE_LIBTIFF_BUILTIN
992 COND_WXUSE_REGEX_BUILTIN
993 COND_WXUSE_ZLIB_BUILTIN
994 COND_wxUSE_EXPAT_builtin
995 COND_wxUSE_LIBJPEG_builtin
996 COND_wxUSE_LIBPNG_builtin
997 COND_wxUSE_LIBTIFF_builtin
998 COND_wxUSE_REGEX_builtin
999 COND_wxUSE_ZLIB_builtin
1000 DEREZ
1001 SHARED
1002 WX_LIBRARY_BASENAME_NOGUI
1003 WX_LIBRARY_BASENAME_GUI
1004 USE_GUI
1005 AFMINSTALL
1006 WIN32INSTALL
1007 TOOLKIT
1008 TOOLKIT_DIR
1009 TOOLCHAIN_NAME
1010 TOOLCHAIN_FULLNAME
1011 cross_compiling
1012 WIDGET_SET
1013 WX_RELEASE
1014 WX_VERSION
1015 WX_SUBVERSION
1016 WX_CHARTYPE
1017 WX_DEBUGTYPE
1018 WXCONFIG_CPPFLAGS
1019 WXCONFIG_CFLAGS
1020 WXCONFIG_CXXFLAGS
1021 WXCONFIG_LIBS
1022 WXCONFIG_RPATH
1023 WXCONFIG_LDFLAGS_GUI
1024 WXCONFIG_RESFLAGS
1025 GUIDIST
1026 DISTDIR
1027 SAMPLES_SUBDIRS
1028 LDFLAGS_GL
1029 OPENGL_LIBS
1030 DMALLOC_LIBS
1031 WX_VERSION_TAG
1032 RESCOMP
1033 RESFLAGS
1034 RESPROGRAMOBJ
1035 WX_RESOURCES_MACOSX_ASCII
1036 WX_RESOURCES_MACOSX_DATA
1037 LIBWXMACRES
1038 POSTLINK_COMMAND
1039 MACSETFILE
1040 GCC
1041 DLLTOOL
1042 CPPUNIT_CONFIG
1043 LIBOBJS
1044 LTLIBOBJS'
1045 ac_subst_files=''
1046 ac_precious_vars='build_alias
1047 host_alias
1048 target_alias
1049 CC
1050 CFLAGS
1051 LDFLAGS
1052 LIBS
1053 CPPFLAGS
1054 CPP
1055 CXX
1056 CXXFLAGS
1057 CCC
1058 PKG_CONFIG
1059 DIRECTFB_CFLAGS
1060 DIRECTFB_LIBS
1061 XMKMF
1062 PANGOX_CFLAGS
1063 PANGOX_LIBS
1064 PANGOFT2_CFLAGS
1065 PANGOFT2_LIBS
1066 PANGOXFT_CFLAGS
1067 PANGOXFT_LIBS
1068 GTKPRINT_CFLAGS
1069 GTKPRINT_LIBS
1070 LIBGNOMEPRINTUI_CFLAGS
1071 LIBGNOMEPRINTUI_LIBS
1072 GNOMEVFS_CFLAGS
1073 GNOMEVFS_LIBS
1074 HILDON_CFLAGS
1075 HILDON_LIBS
1076 CAIRO_CFLAGS
1077 CAIRO_LIBS
1078 GST_CFLAGS
1079 GST_LIBS'
1080 ac_subdirs_all='src/tiff
1081 src/expat'
1082
1083 # Initialize some variables set by options.
1084 ac_init_help=
1085 ac_init_version=false
1086 # The variables have the same names as the options, with
1087 # dashes changed to underlines.
1088 cache_file=/dev/null
1089 exec_prefix=NONE
1090 no_create=
1091 no_recursion=
1092 prefix=NONE
1093 program_prefix=NONE
1094 program_suffix=NONE
1095 program_transform_name=s,x,x,
1096 silent=
1097 site=
1098 srcdir=
1099 verbose=
1100 x_includes=NONE
1101 x_libraries=NONE
1102
1103 # Installation directory options.
1104 # These are left unexpanded so users can "make install exec_prefix=/foo"
1105 # and all the variables that are supposed to be based on exec_prefix
1106 # by default will actually change.
1107 # Use braces instead of parens because sh, perl, etc. also accept them.
1108 # (The list follows the same order as the GNU Coding Standards.)
1109 bindir='${exec_prefix}/bin'
1110 sbindir='${exec_prefix}/sbin'
1111 libexecdir='${exec_prefix}/libexec'
1112 datarootdir='${prefix}/share'
1113 datadir='${datarootdir}'
1114 sysconfdir='${prefix}/etc'
1115 sharedstatedir='${prefix}/com'
1116 localstatedir='${prefix}/var'
1117 includedir='${prefix}/include'
1118 oldincludedir='/usr/include'
1119 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1120 infodir='${datarootdir}/info'
1121 htmldir='${docdir}'
1122 dvidir='${docdir}'
1123 pdfdir='${docdir}'
1124 psdir='${docdir}'
1125 libdir='${exec_prefix}/lib'
1126 localedir='${datarootdir}/locale'
1127 mandir='${datarootdir}/man'
1128
1129 ac_prev=
1130 ac_dashdash=
1131 for ac_option
1132 do
1133 # If the previous option needs an argument, assign it.
1134 if test -n "$ac_prev"; then
1135 eval $ac_prev=\$ac_option
1136 ac_prev=
1137 continue
1138 fi
1139
1140 case $ac_option in
1141 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1142 *) ac_optarg=yes ;;
1143 esac
1144
1145 # Accept the important Cygnus configure options, so we can diagnose typos.
1146
1147 case $ac_dashdash$ac_option in
1148 --)
1149 ac_dashdash=yes ;;
1150
1151 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1152 ac_prev=bindir ;;
1153 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1154 bindir=$ac_optarg ;;
1155
1156 -build | --build | --buil | --bui | --bu)
1157 ac_prev=build_alias ;;
1158 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1159 build_alias=$ac_optarg ;;
1160
1161 -cache-file | --cache-file | --cache-fil | --cache-fi \
1162 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1163 ac_prev=cache_file ;;
1164 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1165 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1166 cache_file=$ac_optarg ;;
1167
1168 --config-cache | -C)
1169 cache_file=config.cache ;;
1170
1171 -datadir | --datadir | --datadi | --datad)
1172 ac_prev=datadir ;;
1173 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1174 datadir=$ac_optarg ;;
1175
1176 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1177 | --dataroo | --dataro | --datar)
1178 ac_prev=datarootdir ;;
1179 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1180 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1181 datarootdir=$ac_optarg ;;
1182
1183 -disable-* | --disable-*)
1184 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1187 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1188 { (exit 1); exit 1; }; }
1189 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1190 eval enable_$ac_feature=no ;;
1191
1192 -docdir | --docdir | --docdi | --doc | --do)
1193 ac_prev=docdir ;;
1194 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1195 docdir=$ac_optarg ;;
1196
1197 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1198 ac_prev=dvidir ;;
1199 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1200 dvidir=$ac_optarg ;;
1201
1202 -enable-* | --enable-*)
1203 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1206 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1207 { (exit 1); exit 1; }; }
1208 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1209 eval enable_$ac_feature=\$ac_optarg ;;
1210
1211 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1212 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1213 | --exec | --exe | --ex)
1214 ac_prev=exec_prefix ;;
1215 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1216 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1217 | --exec=* | --exe=* | --ex=*)
1218 exec_prefix=$ac_optarg ;;
1219
1220 -gas | --gas | --ga | --g)
1221 # Obsolete; use --with-gas.
1222 with_gas=yes ;;
1223
1224 -help | --help | --hel | --he | -h)
1225 ac_init_help=long ;;
1226 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1227 ac_init_help=recursive ;;
1228 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1229 ac_init_help=short ;;
1230
1231 -host | --host | --hos | --ho)
1232 ac_prev=host_alias ;;
1233 -host=* | --host=* | --hos=* | --ho=*)
1234 host_alias=$ac_optarg ;;
1235
1236 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1237 ac_prev=htmldir ;;
1238 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1239 | --ht=*)
1240 htmldir=$ac_optarg ;;
1241
1242 -includedir | --includedir | --includedi | --included | --include \
1243 | --includ | --inclu | --incl | --inc)
1244 ac_prev=includedir ;;
1245 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1246 | --includ=* | --inclu=* | --incl=* | --inc=*)
1247 includedir=$ac_optarg ;;
1248
1249 -infodir | --infodir | --infodi | --infod | --info | --inf)
1250 ac_prev=infodir ;;
1251 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1252 infodir=$ac_optarg ;;
1253
1254 -libdir | --libdir | --libdi | --libd)
1255 ac_prev=libdir ;;
1256 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1257 libdir=$ac_optarg ;;
1258
1259 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1260 | --libexe | --libex | --libe)
1261 ac_prev=libexecdir ;;
1262 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1263 | --libexe=* | --libex=* | --libe=*)
1264 libexecdir=$ac_optarg ;;
1265
1266 -localedir | --localedir | --localedi | --localed | --locale)
1267 ac_prev=localedir ;;
1268 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1269 localedir=$ac_optarg ;;
1270
1271 -localstatedir | --localstatedir | --localstatedi | --localstated \
1272 | --localstate | --localstat | --localsta | --localst | --locals)
1273 ac_prev=localstatedir ;;
1274 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1275 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1276 localstatedir=$ac_optarg ;;
1277
1278 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1279 ac_prev=mandir ;;
1280 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1281 mandir=$ac_optarg ;;
1282
1283 -nfp | --nfp | --nf)
1284 # Obsolete; use --without-fp.
1285 with_fp=no ;;
1286
1287 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1288 | --no-cr | --no-c | -n)
1289 no_create=yes ;;
1290
1291 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1292 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1293 no_recursion=yes ;;
1294
1295 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1296 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1297 | --oldin | --oldi | --old | --ol | --o)
1298 ac_prev=oldincludedir ;;
1299 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1300 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1301 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1302 oldincludedir=$ac_optarg ;;
1303
1304 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1305 ac_prev=prefix ;;
1306 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1307 prefix=$ac_optarg ;;
1308
1309 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1310 | --program-pre | --program-pr | --program-p)
1311 ac_prev=program_prefix ;;
1312 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1313 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1314 program_prefix=$ac_optarg ;;
1315
1316 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1317 | --program-suf | --program-su | --program-s)
1318 ac_prev=program_suffix ;;
1319 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1320 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1321 program_suffix=$ac_optarg ;;
1322
1323 -program-transform-name | --program-transform-name \
1324 | --program-transform-nam | --program-transform-na \
1325 | --program-transform-n | --program-transform- \
1326 | --program-transform | --program-transfor \
1327 | --program-transfo | --program-transf \
1328 | --program-trans | --program-tran \
1329 | --progr-tra | --program-tr | --program-t)
1330 ac_prev=program_transform_name ;;
1331 -program-transform-name=* | --program-transform-name=* \
1332 | --program-transform-nam=* | --program-transform-na=* \
1333 | --program-transform-n=* | --program-transform-=* \
1334 | --program-transform=* | --program-transfor=* \
1335 | --program-transfo=* | --program-transf=* \
1336 | --program-trans=* | --program-tran=* \
1337 | --progr-tra=* | --program-tr=* | --program-t=*)
1338 program_transform_name=$ac_optarg ;;
1339
1340 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1341 ac_prev=pdfdir ;;
1342 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1343 pdfdir=$ac_optarg ;;
1344
1345 -psdir | --psdir | --psdi | --psd | --ps)
1346 ac_prev=psdir ;;
1347 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1348 psdir=$ac_optarg ;;
1349
1350 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1351 | -silent | --silent | --silen | --sile | --sil)
1352 silent=yes ;;
1353
1354 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1355 ac_prev=sbindir ;;
1356 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1357 | --sbi=* | --sb=*)
1358 sbindir=$ac_optarg ;;
1359
1360 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1361 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1362 | --sharedst | --shareds | --shared | --share | --shar \
1363 | --sha | --sh)
1364 ac_prev=sharedstatedir ;;
1365 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1366 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1367 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1368 | --sha=* | --sh=*)
1369 sharedstatedir=$ac_optarg ;;
1370
1371 -site | --site | --sit)
1372 ac_prev=site ;;
1373 -site=* | --site=* | --sit=*)
1374 site=$ac_optarg ;;
1375
1376 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1377 ac_prev=srcdir ;;
1378 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1379 srcdir=$ac_optarg ;;
1380
1381 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1382 | --syscon | --sysco | --sysc | --sys | --sy)
1383 ac_prev=sysconfdir ;;
1384 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1385 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1386 sysconfdir=$ac_optarg ;;
1387
1388 -target | --target | --targe | --targ | --tar | --ta | --t)
1389 ac_prev=target_alias ;;
1390 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1391 target_alias=$ac_optarg ;;
1392
1393 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1394 verbose=yes ;;
1395
1396 -version | --version | --versio | --versi | --vers | -V)
1397 ac_init_version=: ;;
1398
1399 -with-* | --with-*)
1400 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1401 # Reject names that are not valid shell variable names.
1402 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1403 { echo "$as_me: error: invalid package name: $ac_package" >&2
1404 { (exit 1); exit 1; }; }
1405 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1406 eval with_$ac_package=\$ac_optarg ;;
1407
1408 -without-* | --without-*)
1409 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1412 { echo "$as_me: error: invalid package name: $ac_package" >&2
1413 { (exit 1); exit 1; }; }
1414 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1415 eval with_$ac_package=no ;;
1416
1417 --x)
1418 # Obsolete; use --with-x.
1419 with_x=yes ;;
1420
1421 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1422 | --x-incl | --x-inc | --x-in | --x-i)
1423 ac_prev=x_includes ;;
1424 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1425 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1426 x_includes=$ac_optarg ;;
1427
1428 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1429 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1430 ac_prev=x_libraries ;;
1431 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1432 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1433 x_libraries=$ac_optarg ;;
1434
1435 -*) { echo "$as_me: error: unrecognized option: $ac_option
1436 Try \`$0 --help' for more information." >&2
1437 { (exit 1); exit 1; }; }
1438 ;;
1439
1440 *=*)
1441 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1442 # Reject names that are not valid shell variable names.
1443 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1444 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1445 { (exit 1); exit 1; }; }
1446 eval $ac_envvar=\$ac_optarg
1447 export $ac_envvar ;;
1448
1449 *)
1450 # FIXME: should be removed in autoconf 3.0.
1451 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1452 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1453 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1454 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1455 ;;
1456
1457 esac
1458 done
1459
1460 if test -n "$ac_prev"; then
1461 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1462 { echo "$as_me: error: missing argument to $ac_option" >&2
1463 { (exit 1); exit 1; }; }
1464 fi
1465
1466 # Be sure to have absolute directory names.
1467 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1468 datadir sysconfdir sharedstatedir localstatedir includedir \
1469 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1470 libdir localedir mandir
1471 do
1472 eval ac_val=\$$ac_var
1473 case $ac_val in
1474 [\\/$]* | ?:[\\/]* ) continue;;
1475 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1476 esac
1477 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1478 { (exit 1); exit 1; }; }
1479 done
1480
1481 # There might be people who depend on the old broken behavior: `$host'
1482 # used to hold the argument of --host etc.
1483 # FIXME: To remove some day.
1484 build=$build_alias
1485 host=$host_alias
1486 target=$target_alias
1487
1488 # FIXME: To remove some day.
1489 if test "x$host_alias" != x; then
1490 if test "x$build_alias" = x; then
1491 cross_compiling=maybe
1492 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1493 If a cross compiler is detected then cross compile mode will be used." >&2
1494 elif test "x$build_alias" != "x$host_alias"; then
1495 cross_compiling=yes
1496 fi
1497 fi
1498
1499 ac_tool_prefix=
1500 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1501
1502 test "$silent" = yes && exec 6>/dev/null
1503
1504
1505 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1506 ac_ls_di=`ls -di .` &&
1507 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1508 { echo "$as_me: error: Working directory cannot be determined" >&2
1509 { (exit 1); exit 1; }; }
1510 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1511 { echo "$as_me: error: pwd does not report name of working directory" >&2
1512 { (exit 1); exit 1; }; }
1513
1514
1515 # Find the source files, if location was not specified.
1516 if test -z "$srcdir"; then
1517 ac_srcdir_defaulted=yes
1518 # Try the directory containing this script, then the parent directory.
1519 ac_confdir=`$as_dirname -- "$0" ||
1520 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1521 X"$0" : 'X\(//\)[^/]' \| \
1522 X"$0" : 'X\(//\)$' \| \
1523 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1524 echo X"$0" |
1525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1526 s//\1/
1527 q
1528 }
1529 /^X\(\/\/\)[^/].*/{
1530 s//\1/
1531 q
1532 }
1533 /^X\(\/\/\)$/{
1534 s//\1/
1535 q
1536 }
1537 /^X\(\/\).*/{
1538 s//\1/
1539 q
1540 }
1541 s/.*/./; q'`
1542 srcdir=$ac_confdir
1543 if test ! -r "$srcdir/$ac_unique_file"; then
1544 srcdir=..
1545 fi
1546 else
1547 ac_srcdir_defaulted=no
1548 fi
1549 if test ! -r "$srcdir/$ac_unique_file"; then
1550 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1551 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1552 { (exit 1); exit 1; }; }
1553 fi
1554 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1555 ac_abs_confdir=`(
1556 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1557 { (exit 1); exit 1; }; }
1558 pwd)`
1559 # When building in place, set srcdir=.
1560 if test "$ac_abs_confdir" = "$ac_pwd"; then
1561 srcdir=.
1562 fi
1563 # Remove unnecessary trailing slashes from srcdir.
1564 # Double slashes in file names in object file debugging info
1565 # mess up M-x gdb in Emacs.
1566 case $srcdir in
1567 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1568 esac
1569 for ac_var in $ac_precious_vars; do
1570 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1571 eval ac_env_${ac_var}_value=\$${ac_var}
1572 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1573 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1574 done
1575
1576 #
1577 # Report the --help message.
1578 #
1579 if test "$ac_init_help" = "long"; then
1580 # Omit some internal or obsolete options to make the list less imposing.
1581 # This message is too long to be a string in the A/UX 3.1 sh.
1582 cat <<_ACEOF
1583 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1584
1585 Usage: $0 [OPTION]... [VAR=VALUE]...
1586
1587 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1588 VAR=VALUE. See below for descriptions of some of the useful variables.
1589
1590 Defaults for the options are specified in brackets.
1591
1592 Configuration:
1593 -h, --help display this help and exit
1594 --help=short display options specific to this package
1595 --help=recursive display the short help of all the included packages
1596 -V, --version display version information and exit
1597 -q, --quiet, --silent do not print \`checking...' messages
1598 --cache-file=FILE cache test results in FILE [disabled]
1599 -C, --config-cache alias for \`--cache-file=config.cache'
1600 -n, --no-create do not create output files
1601 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1602
1603 Installation directories:
1604 --prefix=PREFIX install architecture-independent files in PREFIX
1605 [$ac_default_prefix]
1606 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1607 [PREFIX]
1608
1609 By default, \`make install' will install all the files in
1610 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1611 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1612 for instance \`--prefix=\$HOME'.
1613
1614 For better control, use the options below.
1615
1616 Fine tuning of the installation directories:
1617 --bindir=DIR user executables [EPREFIX/bin]
1618 --sbindir=DIR system admin executables [EPREFIX/sbin]
1619 --libexecdir=DIR program executables [EPREFIX/libexec]
1620 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1621 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1622 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1623 --libdir=DIR object code libraries [EPREFIX/lib]
1624 --includedir=DIR C header files [PREFIX/include]
1625 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1626 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1627 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1628 --infodir=DIR info documentation [DATAROOTDIR/info]
1629 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1630 --mandir=DIR man documentation [DATAROOTDIR/man]
1631 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1632 --htmldir=DIR html documentation [DOCDIR]
1633 --dvidir=DIR dvi documentation [DOCDIR]
1634 --pdfdir=DIR pdf documentation [DOCDIR]
1635 --psdir=DIR ps documentation [DOCDIR]
1636 _ACEOF
1637
1638 cat <<\_ACEOF
1639
1640 X features:
1641 --x-includes=DIR X include files are in DIR
1642 --x-libraries=DIR X library files are in DIR
1643
1644 System types:
1645 --build=BUILD configure for building on BUILD [guessed]
1646 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1647 --target=TARGET configure for building compilers for TARGET [HOST]
1648 _ACEOF
1649 fi
1650
1651 if test -n "$ac_init_help"; then
1652 case $ac_init_help in
1653 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1654 esac
1655 cat <<\_ACEOF
1656
1657 Optional Features:
1658 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1659 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1660 --disable-gui don't build GUI parts of the library
1661 --enable-monolithic build wxWidgets as single library
1662 --enable-plugins build parts of wxWidgets as loadable components
1663 --enable-official_build official build of wxWidgets (win32 DLL only)
1664 --enable-vendor=VENDOR vendor name (win32 DLL only)
1665 --disable-all-features disable all optional features to build minimal library
1666 --enable-universal use wxWidgets GUI controls instead of native ones
1667 --enable-nanox use NanoX
1668 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1669 --enable-gpe use GNOME PDA Environment features if possible
1670 --disable-shared create static library instead of shared
1671 --enable-debug same as debug_flag and debug_info
1672 --enable-stl use STL for containers
1673 --enable-std_iostreams use standard C++ stream classes
1674 --enable-std_string use standard C++ string classes
1675 --disable-unicode compile without Unicode support
1676 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1677 --enable-utf8 use UTF-8 representation for strings (Unix only)
1678 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1679 --enable-extended_rtti use extended RTTI (XTI)
1680 --enable-omf use OMF object format
1681 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1682 --enable-debug_info create code with debugging information
1683 --disable-optimise compile without optimisations
1684 --enable-debug_gdb create code with extra GDB debugging information
1685 --enable-debug_cntxt use wxDebugContext
1686 --enable-mem_tracing create code with memory tracing
1687 --enable-profile create code with profiling information
1688 --enable-no_rtti create code without RTTI information
1689 --enable-no_exceptions create code without C++ exceptions handling
1690 --enable-permissive compile code disregarding strict ANSI
1691 --enable-no_deps create code without dependency information
1692 --disable-vararg_macros don't use vararg macros, even if they are supported
1693 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1694 --enable-compat26 enable wxWidgets 2.6 compatibility
1695 --disable-compat28 disable wxWidgets 2.8 compatibility
1696 --disable-rpath disable use of rpath for uninstalled builds
1697 --enable-objc_uniquifying enable Objective-C class name uniquifying
1698 --disable-visibility disable use of ELF symbols visibility even if supported
1699 --enable-intl use internationalization system
1700 --enable-xlocale use x-locale support (requires wxLocale)
1701 --enable-config use wxConfig (and derived) classes
1702 --enable-protocols use wxProtocol and derived classes
1703 --enable-ftp use wxFTP (requires wxProtocol
1704 --enable-http use wxHTTP (requires wxProtocol
1705 --enable-fileproto use wxFileProto class (requires wxProtocol
1706 --enable-sockets use socket/network classes
1707 --enable-ipv6 enable IPv6 support in wxSocket
1708 --enable-ole use OLE classes (Win32 only)
1709 --enable-dataobj use data object classes
1710 --enable-ipc use interprocess communication (wxSocket etc.)
1711 --enable-baseevtloop use event loop in console programs too
1712 --enable-epollloop use wxEpollDispatcher class (Linux only)
1713 --enable-selectloop use wxSelectDispatcher class
1714 --enable-apple_ieee use the Apple IEEE codec
1715 --enable-arcstream use wxArchive streams
1716 --enable-base64 use base64 encoding/decoding functions
1717 --enable-backtrace use wxStackWalker class for getting backtraces
1718 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1719 --enable-cmdline use wxCmdLineParser class
1720 --enable-datetime use wxDateTime class
1721 --enable-debugreport use wxDebugReport class
1722 --enable-dialupman use dialup network classes
1723 --enable-dynlib use wxLibrary class for DLL loading
1724 --enable-dynamicloader use (new) wxDynamicLibrary class
1725 --enable-exceptions build exception-safe library
1726 --enable-ffile use wxFFile class
1727 --enable-file use wxFile class
1728 --enable-filesystem use virtual file systems classes
1729 --enable-fontenum use wxFontEnumerator class
1730 --enable-fontmap use font encodings conversion classes
1731 --enable-fs_archive use virtual archive filesystems
1732 --enable-fs_inet use virtual HTTP/FTP filesystems
1733 --enable-fs_zip now replaced by fs_archive
1734 --enable-geometry use geometry class
1735 --enable-log use logging system
1736 --enable-longlong use wxLongLong class
1737 --enable-mimetype use wxMimeTypesManager
1738 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1739 --enable-snglinst use wxSingleInstanceChecker class
1740 --enable-sound use wxSound class
1741 --enable-stdpaths use wxStandardPaths class
1742 --enable-stopwatch use wxStopWatch class
1743 --enable-streams use wxStream etc classes
1744 --enable-sysoptions use wxSystemOptions
1745 --enable-tarstream use wxTar streams
1746 --enable-textbuf use wxTextBuffer class
1747 --enable-textfile use wxTextFile class
1748 --enable-timer use wxTimer class
1749 --enable-variant use wxVariant class
1750 --enable-zipstream use wxZip streams
1751 --enable-url use wxURL class
1752 --enable-protocol use wxProtocol class
1753 --enable-protocol-http HTTP support in wxProtocol
1754 --enable-protocol-ftp FTP support in wxProtocol
1755 --enable-protocol-file FILE support in wxProtocol
1756 --enable-threads use threads
1757 --enable-iniconf use wxIniConfig (Win32 only)
1758 --enable-regkey use wxRegKey class (Win32 only)
1759 --enable-docview use document view architecture
1760 --enable-help use help subsystem
1761 --enable-mshtmlhelp use MS HTML Help (win32)
1762 --enable-html use wxHTML sub-library
1763 --enable-htmlhelp use wxHTML-based help
1764 --enable-xrc use XRC resources sub-library
1765 --enable-aui use AUI docking library
1766 --enable-propgrid use wxPropertyGrid library
1767 --enable-stc use wxStyledTextCtrl library
1768 --enable-constraints use layout-constraints system
1769 --enable-loggui use standard GUI logger
1770 --enable-logwin use wxLogWindow
1771 --enable-logdialog use wxLogDialog
1772 --enable-mdi use multiple document interface architecture
1773 --enable-mdidoc use docview architecture with MDI
1774 --enable-mediactrl use wxMediaCtrl class
1775 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1776 --enable-webkit use wxWebKitCtrl (Mac)
1777 --enable-richtext use wxRichTextCtrl
1778 --enable-graphics_ctx use graphics context 2D drawing API
1779 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1780 --enable-printarch use printing architecture
1781 --enable-svg use wxSVGFileDC device context
1782 --enable-clipboard use wxClipboard class
1783 --enable-dnd use Drag'n'Drop classes
1784 --enable-metafile use win32 metafiles
1785 --disable-controls disable compilation of all standard controls
1786 --enable-accel use accelerators
1787 --enable-animatectrl use wxAnimationCtrl class
1788 --enable-button use wxButton class
1789 --enable-bmpbutton use wxBitmapButton class
1790 --enable-bmpcombobox use wxBitmapComboBox class
1791 --enable-calendar use wxCalendarCtrl class
1792 --enable-caret use wxCaret class
1793 --enable-checkbox use wxCheckBox class
1794 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1795 --enable-choice use wxChoice class
1796 --enable-choicebook use wxChoicebook class
1797 --enable-collpane use wxCollapsiblePane class
1798 --enable-colourpicker use wxColourPickerCtrl class
1799 --enable-combobox use wxComboBox class
1800 --enable-comboctrl use wxComboCtrl class
1801 --enable-datepick use wxDatePickerCtrl class
1802 --enable-dirpicker use wxDirPickerCtrl class
1803 --enable-display use wxDisplay class
1804 --enable-detect_sm use code to detect X11 session manager
1805 --enable-editablebox use wxEditableListBox class
1806 --enable-filepicker use wxFilePickerCtrl class
1807 --enable-filectrl use wxFileCtrl class
1808 --enable-fontpicker use wxFontPickerCtrl class
1809 --enable-gauge use wxGauge class
1810 --enable-grid use wxGrid class
1811 --enable-dataviewctrl use wxDataViewCtrl class
1812 --enable-hyperlink use wxHyperlinkCtrl class
1813 --enable-imaglist use wxImageList class
1814 --enable-listbook use wxListbook class
1815 --enable-listbox use wxListBox class
1816 --enable-listctrl use wxListCtrl class
1817 --enable-notebook use wxNotebook class
1818 --enable-notifmsg use wxNotificationMessage class
1819 --enable-odcombobox use wxOwnerDrawnComboBox class
1820 --enable-radiobox use wxRadioBox class
1821 --enable-radiobtn use wxRadioButton class
1822 --enable-sash use wxSashWindow class
1823 --enable-scrollbar use wxScrollBar class and scrollable windows
1824 --enable-searchctrl use wxSearchCtrl class
1825 --enable-slider use wxSlider class
1826 --enable-spinbtn use wxSpinButton class
1827 --enable-spinctrl use wxSpinCtrl class
1828 --enable-splitter use wxSplitterWindow class
1829 --enable-statbmp use wxStaticBitmap class
1830 --enable-statbox use wxStaticBox class
1831 --enable-statline use wxStaticLine class
1832 --enable-stattext use wxStaticText class
1833 --enable-statusbar use wxStatusBar class
1834 --enable-tabdialog use wxTabControl class
1835 --enable-taskbaricon use wxTaskBarIcon class
1836 --enable-textctrl use wxTextCtrl class
1837 --enable-togglebtn use wxToggleButton class
1838 --enable-toolbar use wxToolBar class
1839 --enable-tbarnative use native wxToolBar class
1840 --enable-treebook use wxTreebook class
1841 --enable-toolbook use wxToolbook class
1842 --enable-treectrl use wxTreeCtrl class
1843 --enable-tipwindow use wxTipWindow class
1844 --enable-popupwin use wxPopUpWindow class
1845 --enable-commondlg use all common dialogs
1846 --enable-aboutdlg use wxAboutBox
1847 --enable-choicedlg use wxChoiceDialog
1848 --enable-coldlg use wxColourDialog
1849 --enable-filedlg use wxFileDialog
1850 --enable-finddlg use wxFindReplaceDialog
1851 --enable-fontdlg use wxFontDialog
1852 --enable-dirdlg use wxDirDialog
1853 --enable-msgdlg use wxMessageDialog
1854 --enable-numberdlg use wxNumberEntryDialog
1855 --enable-splash use wxSplashScreen
1856 --enable-textdlg use wxTextDialog
1857 --enable-tipdlg use startup tips
1858 --enable-progressdlg use wxProgressDialog
1859 --enable-wizarddlg use wxWizard
1860 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1861 --enable-miniframe use wxMiniFrame class
1862 --enable-tooltips use wxToolTip class
1863 --enable-splines use spline drawing code
1864 --enable-mousewheel use mousewheel
1865 --enable-validators use wxValidator and derived classes
1866 --enable-busyinfo use wxBusyInfo
1867 --enable-joystick use wxJoystick
1868 --enable-metafiles use wxMetaFile (Win32 only)
1869 --enable-dragimage use wxDragImage
1870 --enable-accessibility enable accessibility support
1871 --enable-palette use wxPalette class
1872 --enable-image use wxImage class
1873 --enable-gif use gif images (GIF file format)
1874 --enable-pcx use pcx images (PCX file format)
1875 --enable-tga use tga images (TGA file format)
1876 --enable-iff use iff images (IFF file format)
1877 --enable-pnm use pnm images (PNM file format)
1878 --enable-xpm use xpm images (XPM file format)
1879 --enable-ico_cur use Windows ICO and CUR formats
1880 --enable-dccache cache temporary wxDC objects (Win32 only)
1881 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1882 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1883 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1884 --enable-wxdib use wxDIB class (Win32 only)
1885 --enable-autoidman use automatic ids management
1886 --disable-largefile omit support for large files
1887 --disable-gtktest do not try to compile and run a test GTK+ program
1888 --disable-gtktest Do not try to compile and run a test GTK program
1889 --disable-sdltest Do not try to compile and run a test SDL program
1890 --enable-omf use OMF object format (OS/2)
1891 --disable-dependency-tracking
1892 don't use dependency tracking even if the compiler
1893 can
1894 --disable-precomp-headers
1895 don't use precompiled headers even if compiler can
1896
1897 Optional Packages:
1898 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1899 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1900 --without-subdirs don't generate makefiles for samples/demos/...
1901 --with-flavour=NAME specify a name to identify this build
1902 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1903 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1904 --with-motif use Motif/Lesstif
1905 --with-osx_carbon use Mac OS X (Carbon)
1906 --with-osx_cocoa use Mac OS X (Cocoa)
1907 --with-mac use Mac OS X (Default)
1908 --with-cocoa use Cocoa
1909 --with-wine use Wine
1910 --with-msw use MS-Windows
1911 --with-pm use OS/2 Presentation Manager
1912 --with-mgl use SciTech MGL
1913 --with-directfb use DirectFB
1914 --with-microwin use MicroWindows
1915 --with-x11 use X11
1916 --with-libpng use libpng (PNG image format)
1917 --with-libjpeg use libjpeg (JPEG file format)
1918 --with-libtiff use libtiff (TIFF file format)
1919 --with-libxpm use libxpm (XPM file format)
1920 --with-libiconv use libiconv (character conversion)
1921 --with-libmspack use libmspack (CHM help files loading)
1922 --without-gtkprint don't use GTK printing support
1923 --without-gnomeprint don't use GNOME printing libraries
1924 --with-gnomevfs use GNOME VFS for associating MIME types
1925 --with-hildon use Hildon framework for Nokia 770
1926 --with-opengl use OpenGL (or Mesa)
1927 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1928 --with-sdl use SDL for audio on Unix
1929 --with-regex enable support for wxRegEx class
1930 --with-zlib use zlib for LZW compression
1931 --with-expat enable XML support using expat parser
1932 --with-macosx-sdk=PATH use an OS X SDK at PATH
1933 --with-macosx-version-min=VER build binaries which require at least this OS X version
1934 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1935 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1936 --with-x use the X Window System
1937 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1938 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1939 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1940 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1941 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1942
1943 Some influential environment variables:
1944 CC C compiler command
1945 CFLAGS C compiler flags
1946 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1947 nonstandard directory <lib dir>
1948 LIBS libraries to pass to the linker, e.g. -l<library>
1949 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1950 you have headers in a nonstandard directory <include dir>
1951 CPP C preprocessor
1952 CXX C++ compiler command
1953 CXXFLAGS C++ compiler flags
1954 PKG_CONFIG path to pkg-config utility
1955 DIRECTFB_CFLAGS
1956 C compiler flags for DIRECTFB, overriding pkg-config
1957 DIRECTFB_LIBS
1958 linker flags for DIRECTFB, overriding pkg-config
1959 XMKMF Path to xmkmf, Makefile generator for X Window System
1960 PANGOX_CFLAGS
1961 C compiler flags for PANGOX, overriding pkg-config
1962 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1963 PANGOFT2_CFLAGS
1964 C compiler flags for PANGOFT2, overriding pkg-config
1965 PANGOFT2_LIBS
1966 linker flags for PANGOFT2, overriding pkg-config
1967 PANGOXFT_CFLAGS
1968 C compiler flags for PANGOXFT, overriding pkg-config
1969 PANGOXFT_LIBS
1970 linker flags for PANGOXFT, overriding pkg-config
1971 GTKPRINT_CFLAGS
1972 C compiler flags for GTKPRINT, overriding pkg-config
1973 GTKPRINT_LIBS
1974 linker flags for GTKPRINT, overriding pkg-config
1975 LIBGNOMEPRINTUI_CFLAGS
1976 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1977 LIBGNOMEPRINTUI_LIBS
1978 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1979 GNOMEVFS_CFLAGS
1980 C compiler flags for GNOMEVFS, overriding pkg-config
1981 GNOMEVFS_LIBS
1982 linker flags for GNOMEVFS, overriding pkg-config
1983 HILDON_CFLAGS
1984 C compiler flags for HILDON, overriding pkg-config
1985 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1986 CAIRO_CFLAGS
1987 C compiler flags for CAIRO, overriding pkg-config
1988 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1989 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1990 GST_LIBS linker flags for GST, overriding pkg-config
1991
1992 Use these variables to override the choices made by `configure' or to help
1993 it to find libraries and programs with nonstandard names/locations.
1994
1995 Report bugs to <wx-dev@lists.wxwidgets.org>.
1996 _ACEOF
1997 ac_status=$?
1998 fi
1999
2000 if test "$ac_init_help" = "recursive"; then
2001 # If there are subdirs, report their specific --help.
2002 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2003 test -d "$ac_dir" || continue
2004 ac_builddir=.
2005
2006 case "$ac_dir" in
2007 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2008 *)
2009 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2010 # A ".." for each directory in $ac_dir_suffix.
2011 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2012 case $ac_top_builddir_sub in
2013 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2014 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2015 esac ;;
2016 esac
2017 ac_abs_top_builddir=$ac_pwd
2018 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2019 # for backward compatibility:
2020 ac_top_builddir=$ac_top_build_prefix
2021
2022 case $srcdir in
2023 .) # We are building in place.
2024 ac_srcdir=.
2025 ac_top_srcdir=$ac_top_builddir_sub
2026 ac_abs_top_srcdir=$ac_pwd ;;
2027 [\\/]* | ?:[\\/]* ) # Absolute name.
2028 ac_srcdir=$srcdir$ac_dir_suffix;
2029 ac_top_srcdir=$srcdir
2030 ac_abs_top_srcdir=$srcdir ;;
2031 *) # Relative name.
2032 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2033 ac_top_srcdir=$ac_top_build_prefix$srcdir
2034 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2035 esac
2036 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2037
2038 cd "$ac_dir" || { ac_status=$?; continue; }
2039 # Check for guested configure.
2040 if test -f "$ac_srcdir/configure.gnu"; then
2041 echo &&
2042 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2043 elif test -f "$ac_srcdir/configure"; then
2044 echo &&
2045 $SHELL "$ac_srcdir/configure" --help=recursive
2046 else
2047 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2048 fi || ac_status=$?
2049 cd "$ac_pwd" || { ac_status=$?; break; }
2050 done
2051 fi
2052
2053 test -n "$ac_init_help" && exit $ac_status
2054 if $ac_init_version; then
2055 cat <<\_ACEOF
2056 wxWidgets configure 2.9.0
2057 generated by GNU Autoconf 2.61
2058
2059 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2060 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2061 This configure script is free software; the Free Software Foundation
2062 gives unlimited permission to copy, distribute and modify it.
2063 _ACEOF
2064 exit
2065 fi
2066 cat >config.log <<_ACEOF
2067 This file contains any messages produced by compilers while
2068 running configure, to aid debugging if configure makes a mistake.
2069
2070 It was created by wxWidgets $as_me 2.9.0, which was
2071 generated by GNU Autoconf 2.61. Invocation command line was
2072
2073 $ $0 $@
2074
2075 _ACEOF
2076 exec 5>>config.log
2077 {
2078 cat <<_ASUNAME
2079 ## --------- ##
2080 ## Platform. ##
2081 ## --------- ##
2082
2083 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2084 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2085 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2086 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2087 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2088
2089 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2090 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2091
2092 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2093 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2094 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2095 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2096 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2097 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2098 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2099
2100 _ASUNAME
2101
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103 for as_dir in $PATH
2104 do
2105 IFS=$as_save_IFS
2106 test -z "$as_dir" && as_dir=.
2107 echo "PATH: $as_dir"
2108 done
2109 IFS=$as_save_IFS
2110
2111 } >&5
2112
2113 cat >&5 <<_ACEOF
2114
2115
2116 ## ----------- ##
2117 ## Core tests. ##
2118 ## ----------- ##
2119
2120 _ACEOF
2121
2122
2123 # Keep a trace of the command line.
2124 # Strip out --no-create and --no-recursion so they do not pile up.
2125 # Strip out --silent because we don't want to record it for future runs.
2126 # Also quote any args containing shell meta-characters.
2127 # Make two passes to allow for proper duplicate-argument suppression.
2128 ac_configure_args=
2129 ac_configure_args0=
2130 ac_configure_args1=
2131 ac_must_keep_next=false
2132 for ac_pass in 1 2
2133 do
2134 for ac_arg
2135 do
2136 case $ac_arg in
2137 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2138 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2139 | -silent | --silent | --silen | --sile | --sil)
2140 continue ;;
2141 *\'*)
2142 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2143 esac
2144 case $ac_pass in
2145 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2146 2)
2147 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2148 if test $ac_must_keep_next = true; then
2149 ac_must_keep_next=false # Got value, back to normal.
2150 else
2151 case $ac_arg in
2152 *=* | --config-cache | -C | -disable-* | --disable-* \
2153 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2154 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2155 | -with-* | --with-* | -without-* | --without-* | --x)
2156 case "$ac_configure_args0 " in
2157 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2158 esac
2159 ;;
2160 -* ) ac_must_keep_next=true ;;
2161 esac
2162 fi
2163 ac_configure_args="$ac_configure_args '$ac_arg'"
2164 ;;
2165 esac
2166 done
2167 done
2168 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2169 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2170
2171 # When interrupted or exit'd, cleanup temporary files, and complete
2172 # config.log. We remove comments because anyway the quotes in there
2173 # would cause problems or look ugly.
2174 # WARNING: Use '\'' to represent an apostrophe within the trap.
2175 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2176 trap 'exit_status=$?
2177 # Save into config.log some information that might help in debugging.
2178 {
2179 echo
2180
2181 cat <<\_ASBOX
2182 ## ---------------- ##
2183 ## Cache variables. ##
2184 ## ---------------- ##
2185 _ASBOX
2186 echo
2187 # The following way of writing the cache mishandles newlines in values,
2188 (
2189 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2190 eval ac_val=\$$ac_var
2191 case $ac_val in #(
2192 *${as_nl}*)
2193 case $ac_var in #(
2194 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2195 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2196 esac
2197 case $ac_var in #(
2198 _ | IFS | as_nl) ;; #(
2199 *) $as_unset $ac_var ;;
2200 esac ;;
2201 esac
2202 done
2203 (set) 2>&1 |
2204 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2205 *${as_nl}ac_space=\ *)
2206 sed -n \
2207 "s/'\''/'\''\\\\'\'''\''/g;
2208 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2209 ;; #(
2210 *)
2211 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2212 ;;
2213 esac |
2214 sort
2215 )
2216 echo
2217
2218 cat <<\_ASBOX
2219 ## ----------------- ##
2220 ## Output variables. ##
2221 ## ----------------- ##
2222 _ASBOX
2223 echo
2224 for ac_var in $ac_subst_vars
2225 do
2226 eval ac_val=\$$ac_var
2227 case $ac_val in
2228 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2229 esac
2230 echo "$ac_var='\''$ac_val'\''"
2231 done | sort
2232 echo
2233
2234 if test -n "$ac_subst_files"; then
2235 cat <<\_ASBOX
2236 ## ------------------- ##
2237 ## File substitutions. ##
2238 ## ------------------- ##
2239 _ASBOX
2240 echo
2241 for ac_var in $ac_subst_files
2242 do
2243 eval ac_val=\$$ac_var
2244 case $ac_val in
2245 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2246 esac
2247 echo "$ac_var='\''$ac_val'\''"
2248 done | sort
2249 echo
2250 fi
2251
2252 if test -s confdefs.h; then
2253 cat <<\_ASBOX
2254 ## ----------- ##
2255 ## confdefs.h. ##
2256 ## ----------- ##
2257 _ASBOX
2258 echo
2259 cat confdefs.h
2260 echo
2261 fi
2262 test "$ac_signal" != 0 &&
2263 echo "$as_me: caught signal $ac_signal"
2264 echo "$as_me: exit $exit_status"
2265 } >&5
2266 rm -f core *.core core.conftest.* &&
2267 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2268 exit $exit_status
2269 ' 0
2270 for ac_signal in 1 2 13 15; do
2271 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2272 done
2273 ac_signal=0
2274
2275 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2276 rm -f -r conftest* confdefs.h
2277
2278 # Predefined preprocessor variables.
2279
2280 cat >>confdefs.h <<_ACEOF
2281 #define PACKAGE_NAME "$PACKAGE_NAME"
2282 _ACEOF
2283
2284
2285 cat >>confdefs.h <<_ACEOF
2286 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2287 _ACEOF
2288
2289
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2292 _ACEOF
2293
2294
2295 cat >>confdefs.h <<_ACEOF
2296 #define PACKAGE_STRING "$PACKAGE_STRING"
2297 _ACEOF
2298
2299
2300 cat >>confdefs.h <<_ACEOF
2301 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2302 _ACEOF
2303
2304
2305 # Let the site file select an alternate cache file if it wants to.
2306 # Prefer explicitly selected file to automatically selected ones.
2307 if test -n "$CONFIG_SITE"; then
2308 set x "$CONFIG_SITE"
2309 elif test "x$prefix" != xNONE; then
2310 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2311 else
2312 set x "$ac_default_prefix/share/config.site" \
2313 "$ac_default_prefix/etc/config.site"
2314 fi
2315 shift
2316 for ac_site_file
2317 do
2318 if test -r "$ac_site_file"; then
2319 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2320 echo "$as_me: loading site script $ac_site_file" >&6;}
2321 sed 's/^/| /' "$ac_site_file" >&5
2322 . "$ac_site_file"
2323 fi
2324 done
2325
2326 if test -r "$cache_file"; then
2327 # Some versions of bash will fail to source /dev/null (special
2328 # files actually), so we avoid doing that.
2329 if test -f "$cache_file"; then
2330 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2331 echo "$as_me: loading cache $cache_file" >&6;}
2332 case $cache_file in
2333 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2334 *) . "./$cache_file";;
2335 esac
2336 fi
2337 else
2338 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2339 echo "$as_me: creating cache $cache_file" >&6;}
2340 >$cache_file
2341 fi
2342
2343 # Check that the precious variables saved in the cache have kept the same
2344 # value.
2345 ac_cache_corrupted=false
2346 for ac_var in $ac_precious_vars; do
2347 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2348 eval ac_new_set=\$ac_env_${ac_var}_set
2349 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2350 eval ac_new_val=\$ac_env_${ac_var}_value
2351 case $ac_old_set,$ac_new_set in
2352 set,)
2353 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2354 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2355 ac_cache_corrupted=: ;;
2356 ,set)
2357 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2358 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2359 ac_cache_corrupted=: ;;
2360 ,);;
2361 *)
2362 if test "x$ac_old_val" != "x$ac_new_val"; then
2363 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2364 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2365 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2366 echo "$as_me: former value: $ac_old_val" >&2;}
2367 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2368 echo "$as_me: current value: $ac_new_val" >&2;}
2369 ac_cache_corrupted=:
2370 fi;;
2371 esac
2372 # Pass precious variables to config.status.
2373 if test "$ac_new_set" = set; then
2374 case $ac_new_val in
2375 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2376 *) ac_arg=$ac_var=$ac_new_val ;;
2377 esac
2378 case " $ac_configure_args " in
2379 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2380 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2381 esac
2382 fi
2383 done
2384 if $ac_cache_corrupted; then
2385 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2386 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2387 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2388 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2389 { (exit 1); exit 1; }; }
2390 fi
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416 ac_ext=c
2417 ac_cpp='$CPP $CPPFLAGS'
2418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2421
2422
2423
2424
2425
2426 ac_aux_dir=
2427 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2428 if test -f "$ac_dir/install-sh"; then
2429 ac_aux_dir=$ac_dir
2430 ac_install_sh="$ac_aux_dir/install-sh -c"
2431 break
2432 elif test -f "$ac_dir/install.sh"; then
2433 ac_aux_dir=$ac_dir
2434 ac_install_sh="$ac_aux_dir/install.sh -c"
2435 break
2436 elif test -f "$ac_dir/shtool"; then
2437 ac_aux_dir=$ac_dir
2438 ac_install_sh="$ac_aux_dir/shtool install -c"
2439 break
2440 fi
2441 done
2442 if test -z "$ac_aux_dir"; then
2443 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2444 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2445 { (exit 1); exit 1; }; }
2446 fi
2447
2448 # These three variables are undocumented and unsupported,
2449 # and are intended to be withdrawn in a future Autoconf release.
2450 # They can cause serious problems if a builder's source tree is in a directory
2451 # whose full name contains unusual characters.
2452 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2453 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2454 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2455
2456
2457 # Make sure we can run config.sub.
2458 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2459 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2460 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2461 { (exit 1); exit 1; }; }
2462
2463 { echo "$as_me:$LINENO: checking build system type" >&5
2464 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2465 if test "${ac_cv_build+set}" = set; then
2466 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 else
2468 ac_build_alias=$build_alias
2469 test "x$ac_build_alias" = x &&
2470 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2471 test "x$ac_build_alias" = x &&
2472 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2473 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2474 { (exit 1); exit 1; }; }
2475 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2476 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2477 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2478 { (exit 1); exit 1; }; }
2479
2480 fi
2481 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2482 echo "${ECHO_T}$ac_cv_build" >&6; }
2483 case $ac_cv_build in
2484 *-*-*) ;;
2485 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2486 echo "$as_me: error: invalid value of canonical build" >&2;}
2487 { (exit 1); exit 1; }; };;
2488 esac
2489 build=$ac_cv_build
2490 ac_save_IFS=$IFS; IFS='-'
2491 set x $ac_cv_build
2492 shift
2493 build_cpu=$1
2494 build_vendor=$2
2495 shift; shift
2496 # Remember, the first character of IFS is used to create $*,
2497 # except with old shells:
2498 build_os=$*
2499 IFS=$ac_save_IFS
2500 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2501
2502
2503 { echo "$as_me:$LINENO: checking host system type" >&5
2504 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2505 if test "${ac_cv_host+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 else
2508 if test "x$host_alias" = x; then
2509 ac_cv_host=$ac_cv_build
2510 else
2511 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2512 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2513 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2514 { (exit 1); exit 1; }; }
2515 fi
2516
2517 fi
2518 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2519 echo "${ECHO_T}$ac_cv_host" >&6; }
2520 case $ac_cv_host in
2521 *-*-*) ;;
2522 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2523 echo "$as_me: error: invalid value of canonical host" >&2;}
2524 { (exit 1); exit 1; }; };;
2525 esac
2526 host=$ac_cv_host
2527 ac_save_IFS=$IFS; IFS='-'
2528 set x $ac_cv_host
2529 shift
2530 host_cpu=$1
2531 host_vendor=$2
2532 shift; shift
2533 # Remember, the first character of IFS is used to create $*,
2534 # except with old shells:
2535 host_os=$*
2536 IFS=$ac_save_IFS
2537 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2538
2539
2540 { echo "$as_me:$LINENO: checking target system type" >&5
2541 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2542 if test "${ac_cv_target+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2544 else
2545 if test "x$target_alias" = x; then
2546 ac_cv_target=$ac_cv_host
2547 else
2548 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2549 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2550 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2551 { (exit 1); exit 1; }; }
2552 fi
2553
2554 fi
2555 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2556 echo "${ECHO_T}$ac_cv_target" >&6; }
2557 case $ac_cv_target in
2558 *-*-*) ;;
2559 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2560 echo "$as_me: error: invalid value of canonical target" >&2;}
2561 { (exit 1); exit 1; }; };;
2562 esac
2563 target=$ac_cv_target
2564 ac_save_IFS=$IFS; IFS='-'
2565 set x $ac_cv_target
2566 shift
2567 target_cpu=$1
2568 target_vendor=$2
2569 shift; shift
2570 # Remember, the first character of IFS is used to create $*,
2571 # except with old shells:
2572 target_os=$*
2573 IFS=$ac_save_IFS
2574 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2575
2576
2577 # The aliases save the names the user supplied, while $host etc.
2578 # will get canonicalized.
2579 test -n "$target_alias" &&
2580 test "$program_prefix$program_suffix$program_transform_name" = \
2581 NONENONEs,x,x, &&
2582 program_prefix=${target_alias}-
2583
2584
2585
2586 wx_major_version_number=2
2587 wx_minor_version_number=9
2588 wx_release_number=0
2589 wx_subrelease_number=0
2590
2591 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2592 WX_VERSION=$WX_RELEASE.$wx_release_number
2593 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2594
2595 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2596
2597
2598 wx_top_builddir="`pwd`"
2599
2600
2601
2602
2603 USE_UNIX=1
2604 USE_OS2=0
2605 USE_WIN32=0
2606 USE_DOS=0
2607 USE_BEOS=0
2608 USE_MAC=0
2609
2610 USE_AIX=
2611 USE_BSD= USE_DARWIN= USE_FREEBSD=
2612 USE_GNU= USE_HPUX=
2613 USE_LINUX=
2614 USE_NETBSD=
2615 USE_OPENBSD=
2616 USE_OSF= USE_SGI=
2617 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2618 USE_ULTRIX=
2619 USE_UNIXWARE=
2620
2621 USE_ALPHA=
2622
2623 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2624
2625 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2626
2627 DEFAULT_wxUSE_COCOA=0
2628 DEFAULT_wxUSE_GTK=0
2629 DEFAULT_wxUSE_OSX_CARBON=0
2630 DEFAULT_wxUSE_OSX_COCOA=0
2631 DEFAULT_wxUSE_MGL=0
2632 DEFAULT_wxUSE_MICROWIN=0
2633 DEFAULT_wxUSE_MOTIF=0
2634 DEFAULT_wxUSE_MSW=0
2635 DEFAULT_wxUSE_PM=0
2636 DEFAULT_wxUSE_X11=0
2637 DEFAULT_wxUSE_DFB=0
2638
2639 DEFAULT_DEFAULT_wxUSE_COCOA=0
2640 DEFAULT_DEFAULT_wxUSE_GTK=0
2641 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2642 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2643 DEFAULT_DEFAULT_wxUSE_MGL=0
2644 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2645 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2646 DEFAULT_DEFAULT_wxUSE_MSW=0
2647 DEFAULT_DEFAULT_wxUSE_PM=0
2648 DEFAULT_DEFAULT_wxUSE_X11=0
2649 DEFAULT_DEFAULT_wxUSE_DFB=0
2650
2651 PROGRAM_EXT=
2652 SAMPLES_RPATH_FLAG=
2653 SAMPLES_RPATH_POSTLINK=
2654
2655 DEFAULT_STD_FLAG=yes
2656
2657 case "${host}" in
2658 *-hp-hpux* )
2659 USE_HPUX=1
2660 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2661 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2662 cat >>confdefs.h <<\_ACEOF
2663 #define __HPUX__ 1
2664 _ACEOF
2665
2666
2667 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2668 ;;
2669 *-*-linux* )
2670 USE_LINUX=1
2671 cat >>confdefs.h <<\_ACEOF
2672 #define __LINUX__ 1
2673 _ACEOF
2674
2675 TMP=`uname -m`
2676 if test "x$TMP" = "xalpha"; then
2677 USE_ALPHA=1
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __ALPHA__ 1
2680 _ACEOF
2681
2682 fi
2683 DEFAULT_DEFAULT_wxUSE_GTK=1
2684 ;;
2685 *-*-gnu* | *-*-k*bsd*-gnu )
2686 USE_GNU=1
2687 TMP=`uname -m`
2688 if test "x$TMP" = "xalpha"; then
2689 USE_ALPHA=1
2690 cat >>confdefs.h <<\_ACEOF
2691 #define __ALPHA__ 1
2692 _ACEOF
2693
2694 fi
2695 DEFAULT_DEFAULT_wxUSE_GTK=1
2696 ;;
2697 *-*-irix5* | *-*-irix6* )
2698 USE_SGI=1
2699 USE_SVR4=1
2700 cat >>confdefs.h <<\_ACEOF
2701 #define __SGI__ 1
2702 _ACEOF
2703
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __SVR4__ 1
2706 _ACEOF
2707
2708 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2709 ;;
2710 *-*-solaris2* )
2711 USE_SUN=1
2712 USE_SOLARIS=1
2713 USE_SVR4=1
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __SUN__ 1
2716 _ACEOF
2717
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __SOLARIS__ 1
2720 _ACEOF
2721
2722 cat >>confdefs.h <<\_ACEOF
2723 #define __SVR4__ 1
2724 _ACEOF
2725
2726 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2727 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2728 ;;
2729 *-*-sunos4* )
2730 USE_SUN=1
2731 USE_SUNOS=1
2732 USE_BSD=1
2733 cat >>confdefs.h <<\_ACEOF
2734 #define __SUN__ 1
2735 _ACEOF
2736
2737 cat >>confdefs.h <<\_ACEOF
2738 #define __SUNOS__ 1
2739 _ACEOF
2740
2741 cat >>confdefs.h <<\_ACEOF
2742 #define __BSD__ 1
2743 _ACEOF
2744
2745 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2746 ;;
2747 *-*-freebsd*)
2748 USE_BSD=1
2749 USE_FREEBSD=1
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __FREEBSD__ 1
2752 _ACEOF
2753
2754 cat >>confdefs.h <<\_ACEOF
2755 #define __BSD__ 1
2756 _ACEOF
2757
2758 DEFAULT_DEFAULT_wxUSE_GTK=1
2759 ;;
2760 *-*-openbsd*|*-*-mirbsd*)
2761 USE_BSD=1
2762 USE_OPENBSD=1
2763 cat >>confdefs.h <<\_ACEOF
2764 #define __OPENBSD__ 1
2765 _ACEOF
2766
2767 cat >>confdefs.h <<\_ACEOF
2768 #define __BSD__ 1
2769 _ACEOF
2770
2771 DEFAULT_DEFAULT_wxUSE_GTK=1
2772 ;;
2773 *-*-netbsd*)
2774 USE_BSD=1
2775 USE_NETBSD=1
2776 cat >>confdefs.h <<\_ACEOF
2777 #define __NETBSD__ 1
2778 _ACEOF
2779
2780 cat >>confdefs.h <<\_ACEOF
2781 #define __BSD__ 1
2782 _ACEOF
2783
2784 DEFAULT_DEFAULT_wxUSE_GTK=1
2785 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2786
2787 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2788 ;;
2789 *-*-osf* )
2790 USE_ALPHA=1
2791 USE_OSF=1
2792 cat >>confdefs.h <<\_ACEOF
2793 #define __ALPHA__ 1
2794 _ACEOF
2795
2796 cat >>confdefs.h <<\_ACEOF
2797 #define __OSF__ 1
2798 _ACEOF
2799
2800 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2801 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2802 ;;
2803 *-*-dgux5* )
2804 USE_ALPHA=1
2805 USE_SVR4=1
2806 cat >>confdefs.h <<\_ACEOF
2807 #define __ALPHA__ 1
2808 _ACEOF
2809
2810 cat >>confdefs.h <<\_ACEOF
2811 #define __SVR4__ 1
2812 _ACEOF
2813
2814 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2815 ;;
2816 *-*-sysv5* )
2817 USE_SYSV=1
2818 USE_SVR4=1
2819 cat >>confdefs.h <<\_ACEOF
2820 #define __SYSV__ 1
2821 _ACEOF
2822
2823 cat >>confdefs.h <<\_ACEOF
2824 #define __SVR4__ 1
2825 _ACEOF
2826
2827 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2828 ;;
2829 *-*-aix* )
2830 USE_AIX=1
2831 USE_SYSV=1
2832 USE_SVR4=1
2833 cat >>confdefs.h <<\_ACEOF
2834 #define __AIX__ 1
2835 _ACEOF
2836
2837 cat >>confdefs.h <<\_ACEOF
2838 #define __SYSV__ 1
2839 _ACEOF
2840
2841 cat >>confdefs.h <<\_ACEOF
2842 #define __SVR4__ 1
2843 _ACEOF
2844
2845 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2846 ;;
2847
2848 *-*-*UnixWare*)
2849 USE_SYSV=1
2850 USE_SVR4=1
2851 USE_UNIXWARE=1
2852 cat >>confdefs.h <<\_ACEOF
2853 #define __UNIXWARE__ 1
2854 _ACEOF
2855
2856 ;;
2857
2858 *-*-cygwin* | *-*-mingw32* )
2859 PROGRAM_EXT=".exe"
2860 DEFAULT_DEFAULT_wxUSE_MSW=1
2861 ;;
2862
2863 *-pc-msdosdjgpp )
2864 USE_UNIX=0
2865 USE_DOS=1
2866 cat >>confdefs.h <<\_ACEOF
2867 #define __DOS__ 1
2868 _ACEOF
2869
2870 PROGRAM_EXT=".exe"
2871 DEFAULT_DEFAULT_wxUSE_MGL=1
2872 ;;
2873
2874 *-pc-os2_emx | *-pc-os2-emx )
2875 cat >>confdefs.h <<\_ACEOF
2876 #define __EMX__ 1
2877 _ACEOF
2878
2879 USE_OS2=1
2880 cat >>confdefs.h <<\_ACEOF
2881 #define __OS2__ 1
2882 _ACEOF
2883
2884 PROGRAM_EXT=".exe"
2885 DEFAULT_DEFAULT_wxUSE_PM=1
2886 CXX=gcc
2887 LDFLAGS="$LDFLAGS -Zcrtdll"
2888 ac_executable_extensions=".exe"
2889 export ac_executable_extensions
2890 ac_save_IFS="$IFS"
2891 IFS='\\'
2892 ac_TEMP_PATH=
2893 for ac_dir in $PATH; do
2894 IFS=$ac_save_IFS
2895 if test -z "$ac_TEMP_PATH"; then
2896 ac_TEMP_PATH="$ac_dir"
2897 else
2898 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2899 fi
2900 done
2901 export PATH="$ac_TEMP_PATH"
2902 unset ac_TEMP_PATH
2903 DEFAULT_STD_FLAG=no
2904 ;;
2905
2906 *-*-darwin* )
2907 USE_BSD=1
2908 USE_DARWIN=1
2909 cat >>confdefs.h <<\_ACEOF
2910 #define __BSD__ 1
2911 _ACEOF
2912
2913 cat >>confdefs.h <<\_ACEOF
2914 #define __DARWIN__ 1
2915 _ACEOF
2916
2917 cat >>confdefs.h <<\_ACEOF
2918 #define TARGET_CARBON 1
2919 _ACEOF
2920
2921 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2922 DEFAULT_STD_FLAG=no
2923 ;;
2924 powerpc-apple-macos* )
2925 USE_UNIX=0
2926 ac_cv_c_bigendian=yes
2927 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2928 DEFAULT_STD_FLAG=no
2929 ;;
2930
2931 *-*-beos* )
2932 USE_BEOS=1
2933 cat >>confdefs.h <<\_ACEOF
2934 #define __BEOS__ 1
2935 _ACEOF
2936
2937 ;;
2938
2939 *)
2940 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2941 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2942 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2943 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2944
2945 DEFAULT_DEFAULT_wxUSE_X11=1
2946 DEFAULT_wxUSE_SHARED=no
2947 esac
2948
2949
2950
2951 DEFAULT_wxUSE_ALL_FEATURES=yes
2952
2953 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2954 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2955
2956 DEFAULT_wxUSE_DMALLOC=no
2957 DEFAULT_wxUSE_LIBGNOMEVFS=no
2958 DEFAULT_wxUSE_LIBHILDON=no
2959 DEFAULT_wxUSE_LIBMSPACK=no
2960 DEFAULT_wxUSE_LIBSDL=no
2961
2962 DEFAULT_wxUSE_ACCESSIBILITY=no
2963 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2964 DEFAULT_wxUSE_IPV6=no
2965 DEFAULT_wxUSE_TAB_DIALOG=no
2966 DEFAULT_wxUSE_GSTREAMER8=no
2967
2968 DEFAULT_wxUSE_UNICODE_UTF8=auto
2969 DEFAULT_wxUSE_OPENGL=auto
2970 DEFAULT_wxUSE_MEDIACTRL=auto
2971
2972 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2973
2974 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2975
2976 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2977
2978 DEFAULT_wxUSE_GTK2=yes
2979
2980 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2981
2982
2983
2984
2985
2986 enablestring=disable
2987 defaultval=
2988 if test -z "$defaultval"; then
2989 if test x"$enablestring" = xdisable; then
2990 defaultval=yes
2991 else
2992 defaultval=no
2993 fi
2994 fi
2995
2996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2997 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2998 # Check whether --enable-gui was given.
2999 if test "${enable_gui+set}" = set; then
3000 enableval=$enable_gui;
3001 if test "$enableval" = yes; then
3002 wx_cv_use_gui='wxUSE_GUI=yes'
3003 else
3004 wx_cv_use_gui='wxUSE_GUI=no'
3005 fi
3006
3007 else
3008
3009 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3010
3011 fi
3012
3013
3014 eval "$wx_cv_use_gui"
3015
3016 if test x"$enablestring" = xdisable; then
3017 if test $wxUSE_GUI = yes; then
3018 result=no
3019 else
3020 result=yes
3021 fi
3022 else
3023 result=$wxUSE_GUI
3024 fi
3025
3026 { echo "$as_me:$LINENO: result: $result" >&5
3027 echo "${ECHO_T}$result" >&6; }
3028
3029
3030 enablestring=
3031 defaultval=
3032 if test -z "$defaultval"; then
3033 if test x"$enablestring" = xdisable; then
3034 defaultval=yes
3035 else
3036 defaultval=no
3037 fi
3038 fi
3039
3040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3041 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3042 # Check whether --enable-monolithic was given.
3043 if test "${enable_monolithic+set}" = set; then
3044 enableval=$enable_monolithic;
3045 if test "$enableval" = yes; then
3046 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3047 else
3048 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3049 fi
3050
3051 else
3052
3053 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3054
3055 fi
3056
3057
3058 eval "$wx_cv_use_monolithic"
3059
3060 if test x"$enablestring" = xdisable; then
3061 if test $wxUSE_MONOLITHIC = yes; then
3062 result=no
3063 else
3064 result=yes
3065 fi
3066 else
3067 result=$wxUSE_MONOLITHIC
3068 fi
3069
3070 { echo "$as_me:$LINENO: result: $result" >&5
3071 echo "${ECHO_T}$result" >&6; }
3072
3073
3074 enablestring=
3075 defaultval=
3076 if test -z "$defaultval"; then
3077 if test x"$enablestring" = xdisable; then
3078 defaultval=yes
3079 else
3080 defaultval=no
3081 fi
3082 fi
3083
3084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3085 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3086 # Check whether --enable-plugins was given.
3087 if test "${enable_plugins+set}" = set; then
3088 enableval=$enable_plugins;
3089 if test "$enableval" = yes; then
3090 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3091 else
3092 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3093 fi
3094
3095 else
3096
3097 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3098
3099 fi
3100
3101
3102 eval "$wx_cv_use_plugins"
3103
3104 if test x"$enablestring" = xdisable; then
3105 if test $wxUSE_PLUGINS = yes; then
3106 result=no
3107 else
3108 result=yes
3109 fi
3110 else
3111 result=$wxUSE_PLUGINS
3112 fi
3113
3114 { echo "$as_me:$LINENO: result: $result" >&5
3115 echo "${ECHO_T}$result" >&6; }
3116
3117
3118 withstring=without
3119 defaultval=$wxUSE_ALL_FEATURES
3120 if test -z "$defaultval"; then
3121 if test x"$withstring" = xwithout; then
3122 defaultval=yes
3123 else
3124 defaultval=no
3125 fi
3126 fi
3127 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3128 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3129
3130 # Check whether --with-subdirs was given.
3131 if test "${with_subdirs+set}" = set; then
3132 withval=$with_subdirs;
3133 if test "$withval" = yes; then
3134 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3135 else
3136 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3137 fi
3138
3139 else
3140
3141 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3142
3143 fi
3144
3145
3146 eval "$wx_cv_use_subdirs"
3147
3148 if test x"$withstring" = xwithout; then
3149 if test $wxWITH_SUBDIRS = yes; then
3150 result=no
3151 else
3152 result=yes
3153 fi
3154 else
3155 result=$wxWITH_SUBDIRS
3156 fi
3157
3158 { echo "$as_me:$LINENO: result: $result" >&5
3159 echo "${ECHO_T}$result" >&6; }
3160
3161
3162 # Check whether --with-flavour was given.
3163 if test "${with_flavour+set}" = set; then
3164 withval=$with_flavour; WX_FLAVOUR="$withval"
3165 fi
3166
3167
3168 enablestring=
3169 defaultval=
3170 if test -z "$defaultval"; then
3171 if test x"$enablestring" = xdisable; then
3172 defaultval=yes
3173 else
3174 defaultval=no
3175 fi
3176 fi
3177
3178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3179 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3180 # Check whether --enable-official_build was given.
3181 if test "${enable_official_build+set}" = set; then
3182 enableval=$enable_official_build;
3183 if test "$enableval" = yes; then
3184 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3185 else
3186 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3187 fi
3188
3189 else
3190
3191 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3192
3193 fi
3194
3195
3196 eval "$wx_cv_use_official_build"
3197
3198 if test x"$enablestring" = xdisable; then
3199 if test $wxUSE_OFFICIAL_BUILD = yes; then
3200 result=no
3201 else
3202 result=yes
3203 fi
3204 else
3205 result=$wxUSE_OFFICIAL_BUILD
3206 fi
3207
3208 { echo "$as_me:$LINENO: result: $result" >&5
3209 echo "${ECHO_T}$result" >&6; }
3210
3211 # Check whether --enable-vendor was given.
3212 if test "${enable_vendor+set}" = set; then
3213 enableval=$enable_vendor; VENDOR="$enableval"
3214 fi
3215
3216 if test "x$VENDOR" = "x"; then
3217 VENDOR="custom"
3218 fi
3219
3220
3221 enablestring=disable
3222 defaultval=
3223 if test -z "$defaultval"; then
3224 if test x"$enablestring" = xdisable; then
3225 defaultval=yes
3226 else
3227 defaultval=no
3228 fi
3229 fi
3230
3231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3232 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3233 # Check whether --enable-all-features was given.
3234 if test "${enable_all_features+set}" = set; then
3235 enableval=$enable_all_features;
3236 if test "$enableval" = yes; then
3237 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3238 else
3239 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3240 fi
3241
3242 else
3243
3244 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3245
3246 fi
3247
3248
3249 eval "$wx_cv_use_all_features"
3250
3251 if test x"$enablestring" = xdisable; then
3252 if test $wxUSE_ALL_FEATURES = yes; then
3253 result=no
3254 else
3255 result=yes
3256 fi
3257 else
3258 result=$wxUSE_ALL_FEATURES
3259 fi
3260
3261 { echo "$as_me:$LINENO: result: $result" >&5
3262 echo "${ECHO_T}$result" >&6; }
3263
3264
3265
3266 if test "$wxUSE_GUI" = "yes"; then
3267
3268
3269 enablestring=
3270 defaultval=
3271 if test -z "$defaultval"; then
3272 if test x"$enablestring" = xdisable; then
3273 defaultval=yes
3274 else
3275 defaultval=no
3276 fi
3277 fi
3278
3279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3280 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3281 # Check whether --enable-universal was given.
3282 if test "${enable_universal+set}" = set; then
3283 enableval=$enable_universal;
3284 if test "$enableval" = yes; then
3285 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3286 else
3287 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3288 fi
3289
3290 else
3291
3292 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3293
3294 fi
3295
3296
3297 eval "$wx_cv_use_universal"
3298
3299 if test x"$enablestring" = xdisable; then
3300 if test $wxUSE_UNIVERSAL = yes; then
3301 result=no
3302 else
3303 result=yes
3304 fi
3305 else
3306 result=$wxUSE_UNIVERSAL
3307 fi
3308
3309 { echo "$as_me:$LINENO: result: $result" >&5
3310 echo "${ECHO_T}$result" >&6; }
3311
3312 if test "$wxUSE_UNIVERSAL" = "yes"; then
3313
3314 # Check whether --with-themes was given.
3315 if test "${with_themes+set}" = set; then
3316 withval=$with_themes; wxUNIV_THEMES="$withval"
3317 fi
3318
3319 fi
3320
3321
3322 # Check whether --with-gtk was given.
3323 if test "${with_gtk+set}" = set; then
3324 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3325 fi
3326
3327
3328 # Check whether --with-motif was given.
3329 if test "${with_motif+set}" = set; then
3330 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3331 fi
3332
3333
3334 # Check whether --with-osx_carbon was given.
3335 if test "${with_osx_carbon+set}" = set; then
3336 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3337 fi
3338
3339
3340 # Check whether --with-osx_cocoa was given.
3341 if test "${with_osx_cocoa+set}" = set; then
3342 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3343 fi
3344
3345
3346 # Check whether --with-mac was given.
3347 if test "${with_mac+set}" = set; then
3348 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3349 fi
3350
3351
3352 # Check whether --with-cocoa was given.
3353 if test "${with_cocoa+set}" = set; then
3354 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3355 fi
3356
3357
3358 # Check whether --with-wine was given.
3359 if test "${with_wine+set}" = set; then
3360 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3361 fi
3362
3363
3364 # Check whether --with-msw was given.
3365 if test "${with_msw+set}" = set; then
3366 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3367 fi
3368
3369
3370 # Check whether --with-pm was given.
3371 if test "${with_pm+set}" = set; then
3372 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3373 fi
3374
3375
3376 # Check whether --with-mgl was given.
3377 if test "${with_mgl+set}" = set; then
3378 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3379 fi
3380
3381
3382 # Check whether --with-directfb was given.
3383 if test "${with_directfb+set}" = set; then
3384 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3385 fi
3386
3387
3388 # Check whether --with-microwin was given.
3389 if test "${with_microwin+set}" = set; then
3390 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3391 fi
3392
3393
3394 # Check whether --with-x11 was given.
3395 if test "${with_x11+set}" = set; then
3396 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3397 fi
3398
3399
3400 enablestring=
3401 defaultval=
3402 if test -z "$defaultval"; then
3403 if test x"$enablestring" = xdisable; then
3404 defaultval=yes
3405 else
3406 defaultval=no
3407 fi
3408 fi
3409
3410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3411 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3412 # Check whether --enable-nanox was given.
3413 if test "${enable_nanox+set}" = set; then
3414 enableval=$enable_nanox;
3415 if test "$enableval" = yes; then
3416 wx_cv_use_nanox='wxUSE_NANOX=yes'
3417 else
3418 wx_cv_use_nanox='wxUSE_NANOX=no'
3419 fi
3420
3421 else
3422
3423 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3424
3425 fi
3426
3427
3428 eval "$wx_cv_use_nanox"
3429
3430 if test x"$enablestring" = xdisable; then
3431 if test $wxUSE_NANOX = yes; then
3432 result=no
3433 else
3434 result=yes
3435 fi
3436 else
3437 result=$wxUSE_NANOX
3438 fi
3439
3440 { echo "$as_me:$LINENO: result: $result" >&5
3441 echo "${ECHO_T}$result" >&6; }
3442
3443
3444 # Check whether --enable-gtk2 was given.
3445 if test "${enable_gtk2+set}" = set; then
3446 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3447 fi
3448
3449
3450 enablestring=
3451 defaultval=
3452 if test -z "$defaultval"; then
3453 if test x"$enablestring" = xdisable; then
3454 defaultval=yes
3455 else
3456 defaultval=no
3457 fi
3458 fi
3459
3460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3461 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3462 # Check whether --enable-gpe was given.
3463 if test "${enable_gpe+set}" = set; then
3464 enableval=$enable_gpe;
3465 if test "$enableval" = yes; then
3466 wx_cv_use_gpe='wxUSE_GPE=yes'
3467 else
3468 wx_cv_use_gpe='wxUSE_GPE=no'
3469 fi
3470
3471 else
3472
3473 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3474
3475 fi
3476
3477
3478 eval "$wx_cv_use_gpe"
3479
3480 if test x"$enablestring" = xdisable; then
3481 if test $wxUSE_GPE = yes; then
3482 result=no
3483 else
3484 result=yes
3485 fi
3486 else
3487 result=$wxUSE_GPE
3488 fi
3489
3490 { echo "$as_me:$LINENO: result: $result" >&5
3491 echo "${ECHO_T}$result" >&6; }
3492
3493
3494
3495 { echo "$as_me:$LINENO: checking for toolkit" >&5
3496 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3497
3498
3499
3500 # In Wine, we need to default to MSW, not GTK or MOTIF
3501 if test "$wxUSE_WINE" = "yes"; then
3502 DEFAULT_DEFAULT_wxUSE_GTK=0
3503 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3504 DEFAULT_DEFAULT_wxUSE_MSW=1
3505 wxUSE_SHARED=no
3506 CC=${CC:-winegcc}
3507 CXX=${CXX:-wineg++}
3508 fi
3509
3510
3511 if test "$wxUSE_GUI" = "yes"; then
3512
3513 if test "$USE_BEOS" = 1; then
3514 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3515 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3516 { (exit 1); exit 1; }; }
3517 fi
3518
3519 if test "$TOOLKIT_GIVEN" = 1; then
3520 for toolkit in $ALL_TOOLKITS; do
3521 var=wxUSE_$toolkit
3522 eval "value=\$${var}"
3523 if test "x$value" = "xno"; then
3524 eval "$var=0"
3525 elif test "x$value" != "x"; then
3526 eval "$var=1"
3527 fi
3528
3529 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3530 eval "wx${toolkit}_VERSION=$value"
3531 fi
3532 done
3533 else
3534 for toolkit in $ALL_TOOLKITS; do
3535 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3536 eval "wxUSE_$toolkit=\$${var}"
3537 done
3538 fi
3539
3540 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3541 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3542 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3543
3544 case "${host}" in
3545 *-pc-os2_emx | *-pc-os2-emx )
3546 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3547 esac
3548
3549 case "$NUM_TOOLKITS" in
3550 1)
3551 ;;
3552 0)
3553 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3554 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3555 { (exit 1); exit 1; }; }
3556 ;;
3557 *)
3558 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3559 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3560 { (exit 1); exit 1; }; }
3561 esac
3562
3563 # to be removed when --disable-gtk2 isn't needed
3564 if test "x$wxUSE_GTK2" = "xyes"; then
3565 wxGTK_VERSION=2
3566 elif test "x$wxUSE_GTK2" = "xno"; then
3567 wxGTK_VERSION=1
3568 fi
3569
3570 for toolkit in $ALL_TOOLKITS; do
3571 var=wxUSE_$toolkit
3572 eval "value=\$${var}"
3573 if test "$value" = 1; then
3574 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3575 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3576 echo "${ECHO_T}$toolkit_echo" >&6; }
3577 fi
3578 done
3579 else
3580 if test "x$host_alias" != "x"; then
3581 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3582 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3583 else
3584 { echo "$as_me:$LINENO: result: base only" >&5
3585 echo "${ECHO_T}base only" >&6; }
3586 fi
3587 fi
3588
3589 wxUSE_MAC=0
3590 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3591 wxUSE_MAC=1
3592 fi
3593
3594
3595
3596 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3597 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3598
3599 # Check whether --with-libpng was given.
3600 if test "${with_libpng+set}" = set; then
3601 withval=$with_libpng;
3602 if test "$withval" = yes; then
3603 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3604 elif test "$withval" = no; then
3605 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3606 elif test "$withval" = sys; then
3607 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3608 elif test "$withval" = builtin; then
3609 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3610 else
3611 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3612 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3613 { (exit 1); exit 1; }; }
3614 fi
3615
3616 else
3617
3618 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3619
3620 fi
3621
3622
3623 eval "$wx_cv_use_libpng"
3624
3625 if test "$wxUSE_LIBPNG" = yes; then
3626 { echo "$as_me:$LINENO: result: yes" >&5
3627 echo "${ECHO_T}yes" >&6; }
3628 elif test "$wxUSE_LIBPNG" = no; then
3629 { echo "$as_me:$LINENO: result: no" >&5
3630 echo "${ECHO_T}no" >&6; }
3631 elif test "$wxUSE_LIBPNG" = sys; then
3632 { echo "$as_me:$LINENO: result: system version" >&5
3633 echo "${ECHO_T}system version" >&6; }
3634 elif test "$wxUSE_LIBPNG" = builtin; then
3635 { echo "$as_me:$LINENO: result: builtin version" >&5
3636 echo "${ECHO_T}builtin version" >&6; }
3637 else
3638 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3639 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3640 { (exit 1); exit 1; }; }
3641 fi
3642
3643
3644 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3645 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3646
3647 # Check whether --with-libjpeg was given.
3648 if test "${with_libjpeg+set}" = set; then
3649 withval=$with_libjpeg;
3650 if test "$withval" = yes; then
3651 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3652 elif test "$withval" = no; then
3653 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3654 elif test "$withval" = sys; then
3655 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3656 elif test "$withval" = builtin; then
3657 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3658 else
3659 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3660 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3661 { (exit 1); exit 1; }; }
3662 fi
3663
3664 else
3665
3666 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3667
3668 fi
3669
3670
3671 eval "$wx_cv_use_libjpeg"
3672
3673 if test "$wxUSE_LIBJPEG" = yes; then
3674 { echo "$as_me:$LINENO: result: yes" >&5
3675 echo "${ECHO_T}yes" >&6; }
3676 elif test "$wxUSE_LIBJPEG" = no; then
3677 { echo "$as_me:$LINENO: result: no" >&5
3678 echo "${ECHO_T}no" >&6; }
3679 elif test "$wxUSE_LIBJPEG" = sys; then
3680 { echo "$as_me:$LINENO: result: system version" >&5
3681 echo "${ECHO_T}system version" >&6; }
3682 elif test "$wxUSE_LIBJPEG" = builtin; then
3683 { echo "$as_me:$LINENO: result: builtin version" >&5
3684 echo "${ECHO_T}builtin version" >&6; }
3685 else
3686 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3687 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3688 { (exit 1); exit 1; }; }
3689 fi
3690
3691
3692 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3693 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3694
3695 # Check whether --with-libtiff was given.
3696 if test "${with_libtiff+set}" = set; then
3697 withval=$with_libtiff;
3698 if test "$withval" = yes; then
3699 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3700 elif test "$withval" = no; then
3701 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3702 elif test "$withval" = sys; then
3703 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3704 elif test "$withval" = builtin; then
3705 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3706 else
3707 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3708 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3709 { (exit 1); exit 1; }; }
3710 fi
3711
3712 else
3713
3714 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3715
3716 fi
3717
3718
3719 eval "$wx_cv_use_libtiff"
3720
3721 if test "$wxUSE_LIBTIFF" = yes; then
3722 { echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6; }
3724 elif test "$wxUSE_LIBTIFF" = no; then
3725 { echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6; }
3727 elif test "$wxUSE_LIBTIFF" = sys; then
3728 { echo "$as_me:$LINENO: result: system version" >&5
3729 echo "${ECHO_T}system version" >&6; }
3730 elif test "$wxUSE_LIBTIFF" = builtin; then
3731 { echo "$as_me:$LINENO: result: builtin version" >&5
3732 echo "${ECHO_T}builtin version" >&6; }
3733 else
3734 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3735 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3736 { (exit 1); exit 1; }; }
3737 fi
3738
3739
3740 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3741 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3742
3743 # Check whether --with-libxpm was given.
3744 if test "${with_libxpm+set}" = set; then
3745 withval=$with_libxpm;
3746 if test "$withval" = yes; then
3747 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3748 elif test "$withval" = no; then
3749 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3750 elif test "$withval" = sys; then
3751 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3752 elif test "$withval" = builtin; then
3753 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3754 else
3755 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3756 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3757 { (exit 1); exit 1; }; }
3758 fi
3759
3760 else
3761
3762 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3763
3764 fi
3765
3766
3767 eval "$wx_cv_use_libxpm"
3768
3769 if test "$wxUSE_LIBXPM" = yes; then
3770 { echo "$as_me:$LINENO: result: yes" >&5
3771 echo "${ECHO_T}yes" >&6; }
3772 elif test "$wxUSE_LIBXPM" = no; then
3773 { echo "$as_me:$LINENO: result: no" >&5
3774 echo "${ECHO_T}no" >&6; }
3775 elif test "$wxUSE_LIBXPM" = sys; then
3776 { echo "$as_me:$LINENO: result: system version" >&5
3777 echo "${ECHO_T}system version" >&6; }
3778 elif test "$wxUSE_LIBXPM" = builtin; then
3779 { echo "$as_me:$LINENO: result: builtin version" >&5
3780 echo "${ECHO_T}builtin version" >&6; }
3781 else
3782 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3783 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3784 { (exit 1); exit 1; }; }
3785 fi
3786
3787
3788 withstring=
3789 defaultval=$wxUSE_ALL_FEATURES
3790 if test -z "$defaultval"; then
3791 if test x"$withstring" = xwithout; then
3792 defaultval=yes
3793 else
3794 defaultval=no
3795 fi
3796 fi
3797 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3798 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3799
3800 # Check whether --with-libiconv was given.
3801 if test "${with_libiconv+set}" = set; then
3802 withval=$with_libiconv;
3803 if test "$withval" = yes; then
3804 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3805 else
3806 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3807 fi
3808
3809 else
3810
3811 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3812
3813 fi
3814
3815
3816 eval "$wx_cv_use_libiconv"
3817
3818 if test x"$withstring" = xwithout; then
3819 if test $wxUSE_LIBICONV = yes; then
3820 result=no
3821 else
3822 result=yes
3823 fi
3824 else
3825 result=$wxUSE_LIBICONV
3826 fi
3827
3828 { echo "$as_me:$LINENO: result: $result" >&5
3829 echo "${ECHO_T}$result" >&6; }
3830
3831
3832 withstring=
3833 defaultval=$wxUSE_ALL_FEATURES
3834 if test -z "$defaultval"; then
3835 if test x"$withstring" = xwithout; then
3836 defaultval=yes
3837 else
3838 defaultval=no
3839 fi
3840 fi
3841 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3842 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3843
3844 # Check whether --with-libmspack was given.
3845 if test "${with_libmspack+set}" = set; then
3846 withval=$with_libmspack;
3847 if test "$withval" = yes; then
3848 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3849 else
3850 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3851 fi
3852
3853 else
3854
3855 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3856
3857 fi
3858
3859
3860 eval "$wx_cv_use_libmspack"
3861
3862 if test x"$withstring" = xwithout; then
3863 if test $wxUSE_LIBMSPACK = yes; then
3864 result=no
3865 else
3866 result=yes
3867 fi
3868 else
3869 result=$wxUSE_LIBMSPACK
3870 fi
3871
3872 { echo "$as_me:$LINENO: result: $result" >&5
3873 echo "${ECHO_T}$result" >&6; }
3874
3875
3876 withstring=without
3877 defaultval=$wxUSE_ALL_FEATURES
3878 if test -z "$defaultval"; then
3879 if test x"$withstring" = xwithout; then
3880 defaultval=yes
3881 else
3882 defaultval=no
3883 fi
3884 fi
3885 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3886 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3887
3888 # Check whether --with-gtkprint was given.
3889 if test "${with_gtkprint+set}" = set; then
3890 withval=$with_gtkprint;
3891 if test "$withval" = yes; then
3892 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3893 else
3894 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3895 fi
3896
3897 else
3898
3899 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3900
3901 fi
3902
3903
3904 eval "$wx_cv_use_gtkprint"
3905
3906 if test x"$withstring" = xwithout; then
3907 if test $wxUSE_GTKPRINT = yes; then
3908 result=no
3909 else
3910 result=yes
3911 fi
3912 else
3913 result=$wxUSE_GTKPRINT
3914 fi
3915
3916 { echo "$as_me:$LINENO: result: $result" >&5
3917 echo "${ECHO_T}$result" >&6; }
3918
3919
3920 withstring=without
3921 defaultval=$wxUSE_ALL_FEATURES
3922 if test -z "$defaultval"; then
3923 if test x"$withstring" = xwithout; then
3924 defaultval=yes
3925 else
3926 defaultval=no
3927 fi
3928 fi
3929 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3930 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3931
3932 # Check whether --with-gnomeprint was given.
3933 if test "${with_gnomeprint+set}" = set; then
3934 withval=$with_gnomeprint;
3935 if test "$withval" = yes; then
3936 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3937 else
3938 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3939 fi
3940
3941 else
3942
3943 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3944
3945 fi
3946
3947
3948 eval "$wx_cv_use_gnomeprint"
3949
3950 if test x"$withstring" = xwithout; then
3951 if test $wxUSE_LIBGNOMEPRINT = yes; then
3952 result=no
3953 else
3954 result=yes
3955 fi
3956 else
3957 result=$wxUSE_LIBGNOMEPRINT
3958 fi
3959
3960 { echo "$as_me:$LINENO: result: $result" >&5
3961 echo "${ECHO_T}$result" >&6; }
3962
3963
3964 withstring=
3965 defaultval=$wxUSE_ALL_FEATURES
3966 if test -z "$defaultval"; then
3967 if test x"$withstring" = xwithout; then
3968 defaultval=yes
3969 else
3970 defaultval=no
3971 fi
3972 fi
3973 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3974 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3975
3976 # Check whether --with-gnomevfs was given.
3977 if test "${with_gnomevfs+set}" = set; then
3978 withval=$with_gnomevfs;
3979 if test "$withval" = yes; then
3980 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3981 else
3982 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3983 fi
3984
3985 else
3986
3987 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3988
3989 fi
3990
3991
3992 eval "$wx_cv_use_gnomevfs"
3993
3994 if test x"$withstring" = xwithout; then
3995 if test $wxUSE_LIBGNOMEVFS = yes; then
3996 result=no
3997 else
3998 result=yes
3999 fi
4000 else
4001 result=$wxUSE_LIBGNOMEVFS
4002 fi
4003
4004 { echo "$as_me:$LINENO: result: $result" >&5
4005 echo "${ECHO_T}$result" >&6; }
4006
4007
4008 withstring=
4009 defaultval=$wxUSE_ALL_FEATURES
4010 if test -z "$defaultval"; then
4011 if test x"$withstring" = xwithout; then
4012 defaultval=yes
4013 else
4014 defaultval=no
4015 fi
4016 fi
4017 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4018 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4019
4020 # Check whether --with-hildon was given.
4021 if test "${with_hildon+set}" = set; then
4022 withval=$with_hildon;
4023 if test "$withval" = yes; then
4024 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4025 else
4026 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4027 fi
4028
4029 else
4030
4031 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4032
4033 fi
4034
4035
4036 eval "$wx_cv_use_hildon"
4037
4038 if test x"$withstring" = xwithout; then
4039 if test $wxUSE_LIBHILDON = yes; then
4040 result=no
4041 else
4042 result=yes
4043 fi
4044 else
4045 result=$wxUSE_LIBHILDON
4046 fi
4047
4048 { echo "$as_me:$LINENO: result: $result" >&5
4049 echo "${ECHO_T}$result" >&6; }
4050
4051
4052 withstring=
4053 defaultval=$wxUSE_ALL_FEATURES
4054 if test -z "$defaultval"; then
4055 if test x"$withstring" = xwithout; then
4056 defaultval=yes
4057 else
4058 defaultval=no
4059 fi
4060 fi
4061 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4062 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4063
4064 # Check whether --with-opengl was given.
4065 if test "${with_opengl+set}" = set; then
4066 withval=$with_opengl;
4067 if test "$withval" = yes; then
4068 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4069 else
4070 wx_cv_use_opengl='wxUSE_OPENGL=no'
4071 fi
4072
4073 else
4074
4075 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4076
4077 fi
4078
4079
4080 eval "$wx_cv_use_opengl"
4081
4082 if test x"$withstring" = xwithout; then
4083 if test $wxUSE_OPENGL = yes; then
4084 result=no
4085 else
4086 result=yes
4087 fi
4088 else
4089 result=$wxUSE_OPENGL
4090 fi
4091
4092 { echo "$as_me:$LINENO: result: $result" >&5
4093 echo "${ECHO_T}$result" >&6; }
4094
4095
4096 fi
4097
4098
4099 withstring=
4100 defaultval=$wxUSE_ALL_FEATURES
4101 if test -z "$defaultval"; then
4102 if test x"$withstring" = xwithout; then
4103 defaultval=yes
4104 else
4105 defaultval=no
4106 fi
4107 fi
4108 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4109 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4110
4111 # Check whether --with-dmalloc was given.
4112 if test "${with_dmalloc+set}" = set; then
4113 withval=$with_dmalloc;
4114 if test "$withval" = yes; then
4115 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4116 else
4117 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4118 fi
4119
4120 else
4121
4122 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4123
4124 fi
4125
4126
4127 eval "$wx_cv_use_dmalloc"
4128
4129 if test x"$withstring" = xwithout; then
4130 if test $wxUSE_DMALLOC = yes; then
4131 result=no
4132 else
4133 result=yes
4134 fi
4135 else
4136 result=$wxUSE_DMALLOC
4137 fi
4138
4139 { echo "$as_me:$LINENO: result: $result" >&5
4140 echo "${ECHO_T}$result" >&6; }
4141
4142
4143 withstring=
4144 defaultval=$wxUSE_ALL_FEATURES
4145 if test -z "$defaultval"; then
4146 if test x"$withstring" = xwithout; then
4147 defaultval=yes
4148 else
4149 defaultval=no
4150 fi
4151 fi
4152 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4153 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4154
4155 # Check whether --with-sdl was given.
4156 if test "${with_sdl+set}" = set; then
4157 withval=$with_sdl;
4158 if test "$withval" = yes; then
4159 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4160 else
4161 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4162 fi
4163
4164 else
4165
4166 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4167
4168 fi
4169
4170
4171 eval "$wx_cv_use_sdl"
4172
4173 if test x"$withstring" = xwithout; then
4174 if test $wxUSE_LIBSDL = yes; then
4175 result=no
4176 else
4177 result=yes
4178 fi
4179 else
4180 result=$wxUSE_LIBSDL
4181 fi
4182
4183 { echo "$as_me:$LINENO: result: $result" >&5
4184 echo "${ECHO_T}$result" >&6; }
4185
4186
4187 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4188 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4189
4190 # Check whether --with-regex was given.
4191 if test "${with_regex+set}" = set; then
4192 withval=$with_regex;
4193 if test "$withval" = yes; then
4194 wx_cv_use_regex='wxUSE_REGEX=yes'
4195 elif test "$withval" = no; then
4196 wx_cv_use_regex='wxUSE_REGEX=no'
4197 elif test "$withval" = sys; then
4198 wx_cv_use_regex='wxUSE_REGEX=sys'
4199 elif test "$withval" = builtin; then
4200 wx_cv_use_regex='wxUSE_REGEX=builtin'
4201 else
4202 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4203 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4204 { (exit 1); exit 1; }; }
4205 fi
4206
4207 else
4208
4209 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4210
4211 fi
4212
4213
4214 eval "$wx_cv_use_regex"
4215
4216 if test "$wxUSE_REGEX" = yes; then
4217 { echo "$as_me:$LINENO: result: yes" >&5
4218 echo "${ECHO_T}yes" >&6; }
4219 elif test "$wxUSE_REGEX" = no; then
4220 { echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6; }
4222 elif test "$wxUSE_REGEX" = sys; then
4223 { echo "$as_me:$LINENO: result: system version" >&5
4224 echo "${ECHO_T}system version" >&6; }
4225 elif test "$wxUSE_REGEX" = builtin; then
4226 { echo "$as_me:$LINENO: result: builtin version" >&5
4227 echo "${ECHO_T}builtin version" >&6; }
4228 else
4229 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4230 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4231 { (exit 1); exit 1; }; }
4232 fi
4233
4234
4235 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4236 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4237
4238 # Check whether --with-zlib was given.
4239 if test "${with_zlib+set}" = set; then
4240 withval=$with_zlib;
4241 if test "$withval" = yes; then
4242 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4243 elif test "$withval" = no; then
4244 wx_cv_use_zlib='wxUSE_ZLIB=no'
4245 elif test "$withval" = sys; then
4246 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4247 elif test "$withval" = builtin; then
4248 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4249 else
4250 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4251 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4252 { (exit 1); exit 1; }; }
4253 fi
4254
4255 else
4256
4257 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4258
4259 fi
4260
4261
4262 eval "$wx_cv_use_zlib"
4263
4264 if test "$wxUSE_ZLIB" = yes; then
4265 { echo "$as_me:$LINENO: result: yes" >&5
4266 echo "${ECHO_T}yes" >&6; }
4267 elif test "$wxUSE_ZLIB" = no; then
4268 { echo "$as_me:$LINENO: result: no" >&5
4269 echo "${ECHO_T}no" >&6; }
4270 elif test "$wxUSE_ZLIB" = sys; then
4271 { echo "$as_me:$LINENO: result: system version" >&5
4272 echo "${ECHO_T}system version" >&6; }
4273 elif test "$wxUSE_ZLIB" = builtin; then
4274 { echo "$as_me:$LINENO: result: builtin version" >&5
4275 echo "${ECHO_T}builtin version" >&6; }
4276 else
4277 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4278 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4279 { (exit 1); exit 1; }; }
4280 fi
4281
4282
4283 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4284 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4285
4286 # Check whether --with-expat was given.
4287 if test "${with_expat+set}" = set; then
4288 withval=$with_expat;
4289 if test "$withval" = yes; then
4290 wx_cv_use_expat='wxUSE_EXPAT=yes'
4291 elif test "$withval" = no; then
4292 wx_cv_use_expat='wxUSE_EXPAT=no'
4293 elif test "$withval" = sys; then
4294 wx_cv_use_expat='wxUSE_EXPAT=sys'
4295 elif test "$withval" = builtin; then
4296 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4297 else
4298 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4299 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4300 { (exit 1); exit 1; }; }
4301 fi
4302
4303 else
4304
4305 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4306
4307 fi
4308
4309
4310 eval "$wx_cv_use_expat"
4311
4312 if test "$wxUSE_EXPAT" = yes; then
4313 { echo "$as_me:$LINENO: result: yes" >&5
4314 echo "${ECHO_T}yes" >&6; }
4315 elif test "$wxUSE_EXPAT" = no; then
4316 { echo "$as_me:$LINENO: result: no" >&5
4317 echo "${ECHO_T}no" >&6; }
4318 elif test "$wxUSE_EXPAT" = sys; then
4319 { echo "$as_me:$LINENO: result: system version" >&5
4320 echo "${ECHO_T}system version" >&6; }
4321 elif test "$wxUSE_EXPAT" = builtin; then
4322 { echo "$as_me:$LINENO: result: builtin version" >&5
4323 echo "${ECHO_T}builtin version" >&6; }
4324 else
4325 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4326 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4327 { (exit 1); exit 1; }; }
4328 fi
4329
4330
4331 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4332 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4333
4334 # Check whether --with-macosx-sdk was given.
4335 if test "${with_macosx_sdk+set}" = set; then
4336 withval=$with_macosx_sdk;
4337 wxUSE_MACOSX_SDK=$withval
4338 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4339
4340 fi
4341
4342 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4343 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4344
4345 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4346 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4347
4348 # Check whether --with-macosx-version-min was given.
4349 if test "${with_macosx_version_min+set}" = set; then
4350 withval=$with_macosx_version_min;
4351 wxUSE_MACOSX_VERSION_MIN=$withval
4352 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4353
4354 fi
4355
4356 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4357 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4358
4359
4360
4361 enablestring=disable
4362 defaultval=
4363 if test -z "$defaultval"; then
4364 if test x"$enablestring" = xdisable; then
4365 defaultval=yes
4366 else
4367 defaultval=no
4368 fi
4369 fi
4370
4371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4372 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4373 # Check whether --enable-shared was given.
4374 if test "${enable_shared+set}" = set; then
4375 enableval=$enable_shared;
4376 if test "$enableval" = yes; then
4377 wx_cv_use_shared='wxUSE_SHARED=yes'
4378 else
4379 wx_cv_use_shared='wxUSE_SHARED=no'
4380 fi
4381
4382 else
4383
4384 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4385
4386 fi
4387
4388
4389 eval "$wx_cv_use_shared"
4390
4391 if test x"$enablestring" = xdisable; then
4392 if test $wxUSE_SHARED = yes; then
4393 result=no
4394 else
4395 result=yes
4396 fi
4397 else
4398 result=$wxUSE_SHARED
4399 fi
4400
4401 { echo "$as_me:$LINENO: result: $result" >&5
4402 echo "${ECHO_T}$result" >&6; }
4403
4404
4405 enablestring=
4406 defaultval=
4407 if test -z "$defaultval"; then
4408 if test x"$enablestring" = xdisable; then
4409 defaultval=yes
4410 else
4411 defaultval=no
4412 fi
4413 fi
4414
4415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4416 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4417 # Check whether --enable-debug was given.
4418 if test "${enable_debug+set}" = set; then
4419 enableval=$enable_debug;
4420 if test "$enableval" = yes; then
4421 wx_cv_use_debug='wxUSE_DEBUG=yes'
4422 else
4423 wx_cv_use_debug='wxUSE_DEBUG=no'
4424 fi
4425
4426 else
4427
4428 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4429
4430 fi
4431
4432
4433 eval "$wx_cv_use_debug"
4434
4435 if test x"$enablestring" = xdisable; then
4436 if test $wxUSE_DEBUG = yes; then
4437 result=no
4438 else
4439 result=yes
4440 fi
4441 else
4442 result=$wxUSE_DEBUG
4443 fi
4444
4445 { echo "$as_me:$LINENO: result: $result" >&5
4446 echo "${ECHO_T}$result" >&6; }
4447
4448
4449 enablestring=
4450 defaultval=
4451 if test -z "$defaultval"; then
4452 if test x"$enablestring" = xdisable; then
4453 defaultval=yes
4454 else
4455 defaultval=no
4456 fi
4457 fi
4458
4459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4460 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4461 # Check whether --enable-stl was given.
4462 if test "${enable_stl+set}" = set; then
4463 enableval=$enable_stl;
4464 if test "$enableval" = yes; then
4465 wx_cv_use_stl='wxUSE_STL=yes'
4466 else
4467 wx_cv_use_stl='wxUSE_STL=no'
4468 fi
4469
4470 else
4471
4472 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4473
4474 fi
4475
4476
4477 eval "$wx_cv_use_stl"
4478
4479 if test x"$enablestring" = xdisable; then
4480 if test $wxUSE_STL = yes; then
4481 result=no
4482 else
4483 result=yes
4484 fi
4485 else
4486 result=$wxUSE_STL
4487 fi
4488
4489 { echo "$as_me:$LINENO: result: $result" >&5
4490 echo "${ECHO_T}$result" >&6; }
4491
4492
4493 enablestring=
4494 defaultval=
4495 if test -z "$defaultval"; then
4496 if test x"$enablestring" = xdisable; then
4497 defaultval=yes
4498 else
4499 defaultval=no
4500 fi
4501 fi
4502
4503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4504 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4505 # Check whether --enable-std_iostreams was given.
4506 if test "${enable_std_iostreams+set}" = set; then
4507 enableval=$enable_std_iostreams;
4508 if test "$enableval" = yes; then
4509 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4510 else
4511 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4512 fi
4513
4514 else
4515
4516 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4517
4518 fi
4519
4520
4521 eval "$wx_cv_use_std_iostreams"
4522
4523 if test x"$enablestring" = xdisable; then
4524 if test $wxUSE_STD_IOSTREAM = yes; then
4525 result=no
4526 else
4527 result=yes
4528 fi
4529 else
4530 result=$wxUSE_STD_IOSTREAM
4531 fi
4532
4533 { echo "$as_me:$LINENO: result: $result" >&5
4534 echo "${ECHO_T}$result" >&6; }
4535
4536
4537 enablestring=
4538 defaultval=
4539 if test -z "$defaultval"; then
4540 if test x"$enablestring" = xdisable; then
4541 defaultval=yes
4542 else
4543 defaultval=no
4544 fi
4545 fi
4546
4547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4548 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4549 # Check whether --enable-std_string was given.
4550 if test "${enable_std_string+set}" = set; then
4551 enableval=$enable_std_string;
4552 if test "$enableval" = yes; then
4553 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4554 else
4555 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4556 fi
4557
4558 else
4559
4560 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4561
4562 fi
4563
4564
4565 eval "$wx_cv_use_std_string"
4566
4567 if test x"$enablestring" = xdisable; then
4568 if test $wxUSE_STD_STRING = yes; then
4569 result=no
4570 else
4571 result=yes
4572 fi
4573 else
4574 result=$wxUSE_STD_STRING
4575 fi
4576
4577 { echo "$as_me:$LINENO: result: $result" >&5
4578 echo "${ECHO_T}$result" >&6; }
4579
4580
4581 enablestring=disable
4582 defaultval=
4583 if test -z "$defaultval"; then
4584 if test x"$enablestring" = xdisable; then
4585 defaultval=yes
4586 else
4587 defaultval=no
4588 fi
4589 fi
4590
4591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4592 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4593 # Check whether --enable-unicode was given.
4594 if test "${enable_unicode+set}" = set; then
4595 enableval=$enable_unicode;
4596 if test "$enableval" = yes; then
4597 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4598 else
4599 wx_cv_use_unicode='wxUSE_UNICODE=no'
4600 fi
4601
4602 else
4603
4604 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4605
4606 fi
4607
4608
4609 eval "$wx_cv_use_unicode"
4610
4611 if test x"$enablestring" = xdisable; then
4612 if test $wxUSE_UNICODE = yes; then
4613 result=no
4614 else
4615 result=yes
4616 fi
4617 else
4618 result=$wxUSE_UNICODE
4619 fi
4620
4621 { echo "$as_me:$LINENO: result: $result" >&5
4622 echo "${ECHO_T}$result" >&6; }
4623
4624
4625 enablestring=
4626 defaultval=
4627 if test -z "$defaultval"; then
4628 if test x"$enablestring" = xdisable; then
4629 defaultval=yes
4630 else
4631 defaultval=no
4632 fi
4633 fi
4634
4635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4636 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4637 # Check whether --enable-mslu was given.
4638 if test "${enable_mslu+set}" = set; then
4639 enableval=$enable_mslu;
4640 if test "$enableval" = yes; then
4641 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4642 else
4643 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4644 fi
4645
4646 else
4647
4648 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4649
4650 fi
4651
4652
4653 eval "$wx_cv_use_mslu"
4654
4655 if test x"$enablestring" = xdisable; then
4656 if test $wxUSE_UNICODE_MSLU = yes; then
4657 result=no
4658 else
4659 result=yes
4660 fi
4661 else
4662 result=$wxUSE_UNICODE_MSLU
4663 fi
4664
4665 { echo "$as_me:$LINENO: result: $result" >&5
4666 echo "${ECHO_T}$result" >&6; }
4667
4668
4669 enablestring=
4670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4671 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4672 # Check whether --enable-utf8 was given.
4673 if test "${enable_utf8+set}" = set; then
4674 enableval=$enable_utf8;
4675 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4676
4677 else
4678
4679 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4680
4681 fi
4682
4683
4684 eval "$wx_cv_use_utf8"
4685
4686 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4687 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4688
4689
4690 enablestring=
4691 defaultval=
4692 if test -z "$defaultval"; then
4693 if test x"$enablestring" = xdisable; then
4694 defaultval=yes
4695 else
4696 defaultval=no
4697 fi
4698 fi
4699
4700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4701 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4702 # Check whether --enable-utf8only was given.
4703 if test "${enable_utf8only+set}" = set; then
4704 enableval=$enable_utf8only;
4705 if test "$enableval" = yes; then
4706 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4707 else
4708 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4709 fi
4710
4711 else
4712
4713 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4714
4715 fi
4716
4717
4718 eval "$wx_cv_use_utf8only"
4719
4720 if test x"$enablestring" = xdisable; then
4721 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4722 result=no
4723 else
4724 result=yes
4725 fi
4726 else
4727 result=$wxUSE_UNICODE_UTF8_LOCALE
4728 fi
4729
4730 { echo "$as_me:$LINENO: result: $result" >&5
4731 echo "${ECHO_T}$result" >&6; }
4732
4733
4734 enablestring=
4735 defaultval=
4736 if test -z "$defaultval"; then
4737 if test x"$enablestring" = xdisable; then
4738 defaultval=yes
4739 else
4740 defaultval=no
4741 fi
4742 fi
4743
4744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4746 # Check whether --enable-extended_rtti was given.
4747 if test "${enable_extended_rtti+set}" = set; then
4748 enableval=$enable_extended_rtti;
4749 if test "$enableval" = yes; then
4750 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4751 else
4752 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4753 fi
4754
4755 else
4756
4757 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4758
4759 fi
4760
4761
4762 eval "$wx_cv_use_extended_rtti"
4763
4764 if test x"$enablestring" = xdisable; then
4765 if test $wxUSE_EXTENDED_RTTI = yes; then
4766 result=no
4767 else
4768 result=yes
4769 fi
4770 else
4771 result=$wxUSE_EXTENDED_RTTI
4772 fi
4773
4774 { echo "$as_me:$LINENO: result: $result" >&5
4775 echo "${ECHO_T}$result" >&6; }
4776
4777 if test "$USE_OS2" = 1; then
4778 DEFAULT_wxUSE_OMF=no
4779
4780 enablestring=
4781 defaultval=
4782 if test -z "$defaultval"; then
4783 if test x"$enablestring" = xdisable; then
4784 defaultval=yes
4785 else
4786 defaultval=no
4787 fi
4788 fi
4789
4790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4791 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4792 # Check whether --enable-omf was given.
4793 if test "${enable_omf+set}" = set; then
4794 enableval=$enable_omf;
4795 if test "$enableval" = yes; then
4796 wx_cv_use_omf='wxUSE_OMF=yes'
4797 else
4798 wx_cv_use_omf='wxUSE_OMF=no'
4799 fi
4800
4801 else
4802
4803 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4804
4805 fi
4806
4807
4808 eval "$wx_cv_use_omf"
4809
4810 if test x"$enablestring" = xdisable; then
4811 if test $wxUSE_OMF = yes; then
4812 result=no
4813 else
4814 result=yes
4815 fi
4816 else
4817 result=$wxUSE_OMF
4818 fi
4819
4820 { echo "$as_me:$LINENO: result: $result" >&5
4821 echo "${ECHO_T}$result" >&6; }
4822
4823 fi
4824
4825 if test "$wxUSE_DEBUG" = "yes"; then
4826 DEFAULT_wxUSE_DEBUG_FLAG=yes
4827 DEFAULT_wxUSE_DEBUG_INFO=yes
4828 BUILD=debug
4829 elif test "$wxUSE_DEBUG" = "no"; then
4830 DEFAULT_wxUSE_DEBUG_FLAG=no
4831 DEFAULT_wxUSE_DEBUG_INFO=no
4832 BUILD=release
4833 fi
4834
4835
4836 enablestring=
4837 defaultval=
4838 if test -z "$defaultval"; then
4839 if test x"$enablestring" = xdisable; then
4840 defaultval=yes
4841 else
4842 defaultval=no
4843 fi
4844 fi
4845
4846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4847 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4848 # Check whether --enable-debug_flag was given.
4849 if test "${enable_debug_flag+set}" = set; then
4850 enableval=$enable_debug_flag;
4851 if test "$enableval" = yes; then
4852 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4853 else
4854 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4855 fi
4856
4857 else
4858
4859 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4860
4861 fi
4862
4863
4864 eval "$wx_cv_use_debug_flag"
4865
4866 if test x"$enablestring" = xdisable; then
4867 if test $wxUSE_DEBUG_FLAG = yes; then
4868 result=no
4869 else
4870 result=yes
4871 fi
4872 else
4873 result=$wxUSE_DEBUG_FLAG
4874 fi
4875
4876 { echo "$as_me:$LINENO: result: $result" >&5
4877 echo "${ECHO_T}$result" >&6; }
4878
4879
4880 enablestring=
4881 defaultval=
4882 if test -z "$defaultval"; then
4883 if test x"$enablestring" = xdisable; then
4884 defaultval=yes
4885 else
4886 defaultval=no
4887 fi
4888 fi
4889
4890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4891 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4892 # Check whether --enable-debug_info was given.
4893 if test "${enable_debug_info+set}" = set; then
4894 enableval=$enable_debug_info;
4895 if test "$enableval" = yes; then
4896 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4897 else
4898 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4899 fi
4900
4901 else
4902
4903 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4904
4905 fi
4906
4907
4908 eval "$wx_cv_use_debug_info"
4909
4910 if test x"$enablestring" = xdisable; then
4911 if test $wxUSE_DEBUG_INFO = yes; then
4912 result=no
4913 else
4914 result=yes
4915 fi
4916 else
4917 result=$wxUSE_DEBUG_INFO
4918 fi
4919
4920 { echo "$as_me:$LINENO: result: $result" >&5
4921 echo "${ECHO_T}$result" >&6; }
4922
4923
4924 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4925 wxUSE_DEBUG=yes
4926 BUILD=debug
4927 fi
4928
4929 if test "$wxUSE_DEBUG" = "yes"; then
4930 DEFAULT_wxUSE_OPTIMISE=no
4931 fi
4932
4933
4934 enablestring=disable
4935 defaultval=
4936 if test -z "$defaultval"; then
4937 if test x"$enablestring" = xdisable; then
4938 defaultval=yes
4939 else
4940 defaultval=no
4941 fi
4942 fi
4943
4944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4945 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4946 # Check whether --enable-optimise was given.
4947 if test "${enable_optimise+set}" = set; then
4948 enableval=$enable_optimise;
4949 if test "$enableval" = yes; then
4950 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4951 else
4952 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4953 fi
4954
4955 else
4956
4957 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4958
4959 fi
4960
4961
4962 eval "$wx_cv_use_optimise"
4963
4964 if test x"$enablestring" = xdisable; then
4965 if test $wxUSE_OPTIMISE = yes; then
4966 result=no
4967 else
4968 result=yes
4969 fi
4970 else
4971 result=$wxUSE_OPTIMISE
4972 fi
4973
4974 { echo "$as_me:$LINENO: result: $result" >&5
4975 echo "${ECHO_T}$result" >&6; }
4976
4977
4978
4979 enablestring=
4980 defaultval=
4981 if test -z "$defaultval"; then
4982 if test x"$enablestring" = xdisable; then
4983 defaultval=yes
4984 else
4985 defaultval=no
4986 fi
4987 fi
4988
4989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4990 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4991 # Check whether --enable-debug_gdb was given.
4992 if test "${enable_debug_gdb+set}" = set; then
4993 enableval=$enable_debug_gdb;
4994 if test "$enableval" = yes; then
4995 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4996 else
4997 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4998 fi
4999
5000 else
5001
5002 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5003
5004 fi
5005
5006
5007 eval "$wx_cv_use_debug_gdb"
5008
5009 if test x"$enablestring" = xdisable; then
5010 if test $wxUSE_DEBUG_GDB = yes; then
5011 result=no
5012 else
5013 result=yes
5014 fi
5015 else
5016 result=$wxUSE_DEBUG_GDB
5017 fi
5018
5019 { echo "$as_me:$LINENO: result: $result" >&5
5020 echo "${ECHO_T}$result" >&6; }
5021
5022
5023 enablestring=
5024 defaultval=
5025 if test -z "$defaultval"; then
5026 if test x"$enablestring" = xdisable; then
5027 defaultval=yes
5028 else
5029 defaultval=no
5030 fi
5031 fi
5032
5033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5034 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5035 # Check whether --enable-debug_cntxt was given.
5036 if test "${enable_debug_cntxt+set}" = set; then
5037 enableval=$enable_debug_cntxt;
5038 if test "$enableval" = yes; then
5039 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5040 else
5041 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5042 fi
5043
5044 else
5045
5046 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5047
5048 fi
5049
5050
5051 eval "$wx_cv_use_debug_cntxt"
5052
5053 if test x"$enablestring" = xdisable; then
5054 if test $wxUSE_DEBUG_CONTEXT = yes; then
5055 result=no
5056 else
5057 result=yes
5058 fi
5059 else
5060 result=$wxUSE_DEBUG_CONTEXT
5061 fi
5062
5063 { echo "$as_me:$LINENO: result: $result" >&5
5064 echo "${ECHO_T}$result" >&6; }
5065
5066
5067 enablestring=
5068 defaultval=
5069 if test -z "$defaultval"; then
5070 if test x"$enablestring" = xdisable; then
5071 defaultval=yes
5072 else
5073 defaultval=no
5074 fi
5075 fi
5076
5077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5078 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5079 # Check whether --enable-mem_tracing was given.
5080 if test "${enable_mem_tracing+set}" = set; then
5081 enableval=$enable_mem_tracing;
5082 if test "$enableval" = yes; then
5083 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5084 else
5085 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5086 fi
5087
5088 else
5089
5090 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5091
5092 fi
5093
5094
5095 eval "$wx_cv_use_mem_tracing"
5096
5097 if test x"$enablestring" = xdisable; then
5098 if test $wxUSE_MEM_TRACING = yes; then
5099 result=no
5100 else
5101 result=yes
5102 fi
5103 else
5104 result=$wxUSE_MEM_TRACING
5105 fi
5106
5107 { echo "$as_me:$LINENO: result: $result" >&5
5108 echo "${ECHO_T}$result" >&6; }
5109
5110
5111 enablestring=
5112 defaultval=
5113 if test -z "$defaultval"; then
5114 if test x"$enablestring" = xdisable; then
5115 defaultval=yes
5116 else
5117 defaultval=no
5118 fi
5119 fi
5120
5121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5123 # Check whether --enable-profile was given.
5124 if test "${enable_profile+set}" = set; then
5125 enableval=$enable_profile;
5126 if test "$enableval" = yes; then
5127 wx_cv_use_profile='wxUSE_PROFILE=yes'
5128 else
5129 wx_cv_use_profile='wxUSE_PROFILE=no'
5130 fi
5131
5132 else
5133
5134 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5135
5136 fi
5137
5138
5139 eval "$wx_cv_use_profile"
5140
5141 if test x"$enablestring" = xdisable; then
5142 if test $wxUSE_PROFILE = yes; then
5143 result=no
5144 else
5145 result=yes
5146 fi
5147 else
5148 result=$wxUSE_PROFILE
5149 fi
5150
5151 { echo "$as_me:$LINENO: result: $result" >&5
5152 echo "${ECHO_T}$result" >&6; }
5153
5154
5155 enablestring=
5156 defaultval=
5157 if test -z "$defaultval"; then
5158 if test x"$enablestring" = xdisable; then
5159 defaultval=yes
5160 else
5161 defaultval=no
5162 fi
5163 fi
5164
5165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5166 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5167 # Check whether --enable-no_rtti was given.
5168 if test "${enable_no_rtti+set}" = set; then
5169 enableval=$enable_no_rtti;
5170 if test "$enableval" = yes; then
5171 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5172 else
5173 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5174 fi
5175
5176 else
5177
5178 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5179
5180 fi
5181
5182
5183 eval "$wx_cv_use_no_rtti"
5184
5185 if test x"$enablestring" = xdisable; then
5186 if test $wxUSE_NO_RTTI = yes; then
5187 result=no
5188 else
5189 result=yes
5190 fi
5191 else
5192 result=$wxUSE_NO_RTTI
5193 fi
5194
5195 { echo "$as_me:$LINENO: result: $result" >&5
5196 echo "${ECHO_T}$result" >&6; }
5197
5198
5199 enablestring=
5200 defaultval=
5201 if test -z "$defaultval"; then
5202 if test x"$enablestring" = xdisable; then
5203 defaultval=yes
5204 else
5205 defaultval=no
5206 fi
5207 fi
5208
5209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5210 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5211 # Check whether --enable-no_exceptions was given.
5212 if test "${enable_no_exceptions+set}" = set; then
5213 enableval=$enable_no_exceptions;
5214 if test "$enableval" = yes; then
5215 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5216 else
5217 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5218 fi
5219
5220 else
5221
5222 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5223
5224 fi
5225
5226
5227 eval "$wx_cv_use_no_exceptions"
5228
5229 if test x"$enablestring" = xdisable; then
5230 if test $wxUSE_NO_EXCEPTIONS = yes; then
5231 result=no
5232 else
5233 result=yes
5234 fi
5235 else
5236 result=$wxUSE_NO_EXCEPTIONS
5237 fi
5238
5239 { echo "$as_me:$LINENO: result: $result" >&5
5240 echo "${ECHO_T}$result" >&6; }
5241
5242
5243 enablestring=
5244 defaultval=
5245 if test -z "$defaultval"; then
5246 if test x"$enablestring" = xdisable; then
5247 defaultval=yes
5248 else
5249 defaultval=no
5250 fi
5251 fi
5252
5253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5254 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5255 # Check whether --enable-permissive was given.
5256 if test "${enable_permissive+set}" = set; then
5257 enableval=$enable_permissive;
5258 if test "$enableval" = yes; then
5259 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5260 else
5261 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5262 fi
5263
5264 else
5265
5266 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5267
5268 fi
5269
5270
5271 eval "$wx_cv_use_permissive"
5272
5273 if test x"$enablestring" = xdisable; then
5274 if test $wxUSE_PERMISSIVE = yes; then
5275 result=no
5276 else
5277 result=yes
5278 fi
5279 else
5280 result=$wxUSE_PERMISSIVE
5281 fi
5282
5283 { echo "$as_me:$LINENO: result: $result" >&5
5284 echo "${ECHO_T}$result" >&6; }
5285
5286
5287 enablestring=
5288 defaultval=
5289 if test -z "$defaultval"; then
5290 if test x"$enablestring" = xdisable; then
5291 defaultval=yes
5292 else
5293 defaultval=no
5294 fi
5295 fi
5296
5297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5298 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5299 # Check whether --enable-no_deps was given.
5300 if test "${enable_no_deps+set}" = set; then
5301 enableval=$enable_no_deps;
5302 if test "$enableval" = yes; then
5303 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5304 else
5305 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5306 fi
5307
5308 else
5309
5310 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5311
5312 fi
5313
5314
5315 eval "$wx_cv_use_no_deps"
5316
5317 if test x"$enablestring" = xdisable; then
5318 if test $wxUSE_NO_DEPS = yes; then
5319 result=no
5320 else
5321 result=yes
5322 fi
5323 else
5324 result=$wxUSE_NO_DEPS
5325 fi
5326
5327 { echo "$as_me:$LINENO: result: $result" >&5
5328 echo "${ECHO_T}$result" >&6; }
5329
5330
5331 enablestring=disable
5332 defaultval=
5333 if test -z "$defaultval"; then
5334 if test x"$enablestring" = xdisable; then
5335 defaultval=yes
5336 else
5337 defaultval=no
5338 fi
5339 fi
5340
5341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5342 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5343 # Check whether --enable-vararg_macros was given.
5344 if test "${enable_vararg_macros+set}" = set; then
5345 enableval=$enable_vararg_macros;
5346 if test "$enableval" = yes; then
5347 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5348 else
5349 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5350 fi
5351
5352 else
5353
5354 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5355
5356 fi
5357
5358
5359 eval "$wx_cv_use_vararg_macros"
5360
5361 if test x"$enablestring" = xdisable; then
5362 if test $wxUSE_VARARG_MACROS = yes; then
5363 result=no
5364 else
5365 result=yes
5366 fi
5367 else
5368 result=$wxUSE_VARARG_MACROS
5369 fi
5370
5371 { echo "$as_me:$LINENO: result: $result" >&5
5372 echo "${ECHO_T}$result" >&6; }
5373
5374
5375 enablestring=
5376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5377 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5378 # Check whether --enable-universal_binary was given.
5379 if test "${enable_universal_binary+set}" = set; then
5380 enableval=$enable_universal_binary;
5381 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5382
5383 else
5384
5385 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5386
5387 fi
5388
5389
5390 eval "$wx_cv_use_universal_binary"
5391
5392 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5393 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5394
5395
5396
5397 enablestring=
5398 defaultval=
5399 if test -z "$defaultval"; then
5400 if test x"$enablestring" = xdisable; then
5401 defaultval=yes
5402 else
5403 defaultval=no
5404 fi
5405 fi
5406
5407 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5408 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5409 # Check whether --enable-compat26 was given.
5410 if test "${enable_compat26+set}" = set; then
5411 enableval=$enable_compat26;
5412 if test "$enableval" = yes; then
5413 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5414 else
5415 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5416 fi
5417
5418 else
5419
5420 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5421
5422 fi
5423
5424
5425 eval "$wx_cv_use_compat26"
5426
5427 if test x"$enablestring" = xdisable; then
5428 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5429 result=no
5430 else
5431 result=yes
5432 fi
5433 else
5434 result=$WXWIN_COMPATIBILITY_2_6
5435 fi
5436
5437 { echo "$as_me:$LINENO: result: $result" >&5
5438 echo "${ECHO_T}$result" >&6; }
5439
5440
5441 enablestring=disable
5442 defaultval=
5443 if test -z "$defaultval"; then
5444 if test x"$enablestring" = xdisable; then
5445 defaultval=yes
5446 else
5447 defaultval=no
5448 fi
5449 fi
5450
5451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5452 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5453 # Check whether --enable-compat28 was given.
5454 if test "${enable_compat28+set}" = set; then
5455 enableval=$enable_compat28;
5456 if test "$enableval" = yes; then
5457 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5458 else
5459 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5460 fi
5461
5462 else
5463
5464 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5465
5466 fi
5467
5468
5469 eval "$wx_cv_use_compat28"
5470
5471 if test x"$enablestring" = xdisable; then
5472 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5473 result=no
5474 else
5475 result=yes
5476 fi
5477 else
5478 result=$WXWIN_COMPATIBILITY_2_8
5479 fi
5480
5481 { echo "$as_me:$LINENO: result: $result" >&5
5482 echo "${ECHO_T}$result" >&6; }
5483
5484
5485
5486 enablestring=disable
5487 defaultval=
5488 if test -z "$defaultval"; then
5489 if test x"$enablestring" = xdisable; then
5490 defaultval=yes
5491 else
5492 defaultval=no
5493 fi
5494 fi
5495
5496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5497 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5498 # Check whether --enable-rpath was given.
5499 if test "${enable_rpath+set}" = set; then
5500 enableval=$enable_rpath;
5501 if test "$enableval" = yes; then
5502 wx_cv_use_rpath='wxUSE_RPATH=yes'
5503 else
5504 wx_cv_use_rpath='wxUSE_RPATH=no'
5505 fi
5506
5507 else
5508
5509 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5510
5511 fi
5512
5513
5514 eval "$wx_cv_use_rpath"
5515
5516 if test x"$enablestring" = xdisable; then
5517 if test $wxUSE_RPATH = yes; then
5518 result=no
5519 else
5520 result=yes
5521 fi
5522 else
5523 result=$wxUSE_RPATH
5524 fi
5525
5526 { echo "$as_me:$LINENO: result: $result" >&5
5527 echo "${ECHO_T}$result" >&6; }
5528
5529
5530
5531 enablestring=
5532 defaultval=
5533 if test -z "$defaultval"; then
5534 if test x"$enablestring" = xdisable; then
5535 defaultval=yes
5536 else
5537 defaultval=no
5538 fi
5539 fi
5540
5541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5542 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5543 # Check whether --enable-objc_uniquifying was given.
5544 if test "${enable_objc_uniquifying+set}" = set; then
5545 enableval=$enable_objc_uniquifying;
5546 if test "$enableval" = yes; then
5547 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5548 else
5549 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5550 fi
5551
5552 else
5553
5554 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5555
5556 fi
5557
5558
5559 eval "$wx_cv_use_objc_uniquifying"
5560
5561 if test x"$enablestring" = xdisable; then
5562 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5563 result=no
5564 else
5565 result=yes
5566 fi
5567 else
5568 result=$wxUSE_OBJC_UNIQUIFYING
5569 fi
5570
5571 { echo "$as_me:$LINENO: result: $result" >&5
5572 echo "${ECHO_T}$result" >&6; }
5573
5574
5575
5576 enablestring=disable
5577 defaultval=
5578 if test -z "$defaultval"; then
5579 if test x"$enablestring" = xdisable; then
5580 defaultval=yes
5581 else
5582 defaultval=no
5583 fi
5584 fi
5585
5586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5587 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5588 # Check whether --enable-visibility was given.
5589 if test "${enable_visibility+set}" = set; then
5590 enableval=$enable_visibility;
5591 if test "$enableval" = yes; then
5592 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5593 else
5594 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5595 fi
5596
5597 else
5598
5599 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5600
5601 fi
5602
5603
5604 eval "$wx_cv_use_visibility"
5605
5606 if test x"$enablestring" = xdisable; then
5607 if test $wxUSE_VISIBILITY = yes; then
5608 result=no
5609 else
5610 result=yes
5611 fi
5612 else
5613 result=$wxUSE_VISIBILITY
5614 fi
5615
5616 { echo "$as_me:$LINENO: result: $result" >&5
5617 echo "${ECHO_T}$result" >&6; }
5618
5619
5620
5621
5622 enablestring=
5623 defaultval=$wxUSE_ALL_FEATURES
5624 if test -z "$defaultval"; then
5625 if test x"$enablestring" = xdisable; then
5626 defaultval=yes
5627 else
5628 defaultval=no
5629 fi
5630 fi
5631
5632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5633 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5634 # Check whether --enable-intl was given.
5635 if test "${enable_intl+set}" = set; then
5636 enableval=$enable_intl;
5637 if test "$enableval" = yes; then
5638 wx_cv_use_intl='wxUSE_INTL=yes'
5639 else
5640 wx_cv_use_intl='wxUSE_INTL=no'
5641 fi
5642
5643 else
5644
5645 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5646
5647 fi
5648
5649
5650 eval "$wx_cv_use_intl"
5651
5652 if test x"$enablestring" = xdisable; then
5653 if test $wxUSE_INTL = yes; then
5654 result=no
5655 else
5656 result=yes
5657 fi
5658 else
5659 result=$wxUSE_INTL
5660 fi
5661
5662 { echo "$as_me:$LINENO: result: $result" >&5
5663 echo "${ECHO_T}$result" >&6; }
5664
5665
5666 enablestring=
5667 defaultval=$wxUSE_ALL_FEATURES
5668 if test -z "$defaultval"; then
5669 if test x"$enablestring" = xdisable; then
5670 defaultval=yes
5671 else
5672 defaultval=no
5673 fi
5674 fi
5675
5676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5677 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5678 # Check whether --enable-xlocale was given.
5679 if test "${enable_xlocale+set}" = set; then
5680 enableval=$enable_xlocale;
5681 if test "$enableval" = yes; then
5682 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5683 else
5684 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5685 fi
5686
5687 else
5688
5689 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5690
5691 fi
5692
5693
5694 eval "$wx_cv_use_xlocale"
5695
5696 if test x"$enablestring" = xdisable; then
5697 if test $wxUSE_XLOCALE = yes; then
5698 result=no
5699 else
5700 result=yes
5701 fi
5702 else
5703 result=$wxUSE_XLOCALE
5704 fi
5705
5706 { echo "$as_me:$LINENO: result: $result" >&5
5707 echo "${ECHO_T}$result" >&6; }
5708
5709
5710 enablestring=
5711 defaultval=$wxUSE_ALL_FEATURES
5712 if test -z "$defaultval"; then
5713 if test x"$enablestring" = xdisable; then
5714 defaultval=yes
5715 else
5716 defaultval=no
5717 fi
5718 fi
5719
5720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5721 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5722 # Check whether --enable-config was given.
5723 if test "${enable_config+set}" = set; then
5724 enableval=$enable_config;
5725 if test "$enableval" = yes; then
5726 wx_cv_use_config='wxUSE_CONFIG=yes'
5727 else
5728 wx_cv_use_config='wxUSE_CONFIG=no'
5729 fi
5730
5731 else
5732
5733 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5734
5735 fi
5736
5737
5738 eval "$wx_cv_use_config"
5739
5740 if test x"$enablestring" = xdisable; then
5741 if test $wxUSE_CONFIG = yes; then
5742 result=no
5743 else
5744 result=yes
5745 fi
5746 else
5747 result=$wxUSE_CONFIG
5748 fi
5749
5750 { echo "$as_me:$LINENO: result: $result" >&5
5751 echo "${ECHO_T}$result" >&6; }
5752
5753
5754
5755 enablestring=
5756 defaultval=$wxUSE_ALL_FEATURES
5757 if test -z "$defaultval"; then
5758 if test x"$enablestring" = xdisable; then
5759 defaultval=yes
5760 else
5761 defaultval=no
5762 fi
5763 fi
5764
5765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5766 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5767 # Check whether --enable-protocols was given.
5768 if test "${enable_protocols+set}" = set; then
5769 enableval=$enable_protocols;
5770 if test "$enableval" = yes; then
5771 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5772 else
5773 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5774 fi
5775
5776 else
5777
5778 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5779
5780 fi
5781
5782
5783 eval "$wx_cv_use_protocols"
5784
5785 if test x"$enablestring" = xdisable; then
5786 if test $wxUSE_PROTOCOL = yes; then
5787 result=no
5788 else
5789 result=yes
5790 fi
5791 else
5792 result=$wxUSE_PROTOCOL
5793 fi
5794
5795 { echo "$as_me:$LINENO: result: $result" >&5
5796 echo "${ECHO_T}$result" >&6; }
5797
5798
5799 enablestring=
5800 defaultval=$wxUSE_ALL_FEATURES
5801 if test -z "$defaultval"; then
5802 if test x"$enablestring" = xdisable; then
5803 defaultval=yes
5804 else
5805 defaultval=no
5806 fi
5807 fi
5808
5809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5810 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5811 # Check whether --enable-ftp was given.
5812 if test "${enable_ftp+set}" = set; then
5813 enableval=$enable_ftp;
5814 if test "$enableval" = yes; then
5815 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5816 else
5817 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5818 fi
5819
5820 else
5821
5822 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5823
5824 fi
5825
5826
5827 eval "$wx_cv_use_ftp"
5828
5829 if test x"$enablestring" = xdisable; then
5830 if test $wxUSE_PROTOCOL_FTP = yes; then
5831 result=no
5832 else
5833 result=yes
5834 fi
5835 else
5836 result=$wxUSE_PROTOCOL_FTP
5837 fi
5838
5839 { echo "$as_me:$LINENO: result: $result" >&5
5840 echo "${ECHO_T}$result" >&6; }
5841
5842
5843 enablestring=
5844 defaultval=$wxUSE_ALL_FEATURES
5845 if test -z "$defaultval"; then
5846 if test x"$enablestring" = xdisable; then
5847 defaultval=yes
5848 else
5849 defaultval=no
5850 fi
5851 fi
5852
5853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5854 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5855 # Check whether --enable-http was given.
5856 if test "${enable_http+set}" = set; then
5857 enableval=$enable_http;
5858 if test "$enableval" = yes; then
5859 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5860 else
5861 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5862 fi
5863
5864 else
5865
5866 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5867
5868 fi
5869
5870
5871 eval "$wx_cv_use_http"
5872
5873 if test x"$enablestring" = xdisable; then
5874 if test $wxUSE_PROTOCOL_HTTP = yes; then
5875 result=no
5876 else
5877 result=yes
5878 fi
5879 else
5880 result=$wxUSE_PROTOCOL_HTTP
5881 fi
5882
5883 { echo "$as_me:$LINENO: result: $result" >&5
5884 echo "${ECHO_T}$result" >&6; }
5885
5886
5887 enablestring=
5888 defaultval=$wxUSE_ALL_FEATURES
5889 if test -z "$defaultval"; then
5890 if test x"$enablestring" = xdisable; then
5891 defaultval=yes
5892 else
5893 defaultval=no
5894 fi
5895 fi
5896
5897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5898 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5899 # Check whether --enable-fileproto was given.
5900 if test "${enable_fileproto+set}" = set; then
5901 enableval=$enable_fileproto;
5902 if test "$enableval" = yes; then
5903 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5904 else
5905 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5906 fi
5907
5908 else
5909
5910 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5911
5912 fi
5913
5914
5915 eval "$wx_cv_use_fileproto"
5916
5917 if test x"$enablestring" = xdisable; then
5918 if test $wxUSE_PROTOCOL_FILE = yes; then
5919 result=no
5920 else
5921 result=yes
5922 fi
5923 else
5924 result=$wxUSE_PROTOCOL_FILE
5925 fi
5926
5927 { echo "$as_me:$LINENO: result: $result" >&5
5928 echo "${ECHO_T}$result" >&6; }
5929
5930
5931 enablestring=
5932 defaultval=$wxUSE_ALL_FEATURES
5933 if test -z "$defaultval"; then
5934 if test x"$enablestring" = xdisable; then
5935 defaultval=yes
5936 else
5937 defaultval=no
5938 fi
5939 fi
5940
5941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5942 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5943 # Check whether --enable-sockets was given.
5944 if test "${enable_sockets+set}" = set; then
5945 enableval=$enable_sockets;
5946 if test "$enableval" = yes; then
5947 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5948 else
5949 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5950 fi
5951
5952 else
5953
5954 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5955
5956 fi
5957
5958
5959 eval "$wx_cv_use_sockets"
5960
5961 if test x"$enablestring" = xdisable; then
5962 if test $wxUSE_SOCKETS = yes; then
5963 result=no
5964 else
5965 result=yes
5966 fi
5967 else
5968 result=$wxUSE_SOCKETS
5969 fi
5970
5971 { echo "$as_me:$LINENO: result: $result" >&5
5972 echo "${ECHO_T}$result" >&6; }
5973
5974
5975 enablestring=
5976 defaultval=$wxUSE_ALL_FEATURES
5977 if test -z "$defaultval"; then
5978 if test x"$enablestring" = xdisable; then
5979 defaultval=yes
5980 else
5981 defaultval=no
5982 fi
5983 fi
5984
5985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5986 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5987 # Check whether --enable-ipv6 was given.
5988 if test "${enable_ipv6+set}" = set; then
5989 enableval=$enable_ipv6;
5990 if test "$enableval" = yes; then
5991 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5992 else
5993 wx_cv_use_ipv6='wxUSE_IPV6=no'
5994 fi
5995
5996 else
5997
5998 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5999
6000 fi
6001
6002
6003 eval "$wx_cv_use_ipv6"
6004
6005 if test x"$enablestring" = xdisable; then
6006 if test $wxUSE_IPV6 = yes; then
6007 result=no
6008 else
6009 result=yes
6010 fi
6011 else
6012 result=$wxUSE_IPV6
6013 fi
6014
6015 { echo "$as_me:$LINENO: result: $result" >&5
6016 echo "${ECHO_T}$result" >&6; }
6017
6018
6019 enablestring=
6020 defaultval=$wxUSE_ALL_FEATURES
6021 if test -z "$defaultval"; then
6022 if test x"$enablestring" = xdisable; then
6023 defaultval=yes
6024 else
6025 defaultval=no
6026 fi
6027 fi
6028
6029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6030 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6031 # Check whether --enable-ole was given.
6032 if test "${enable_ole+set}" = set; then
6033 enableval=$enable_ole;
6034 if test "$enableval" = yes; then
6035 wx_cv_use_ole='wxUSE_OLE=yes'
6036 else
6037 wx_cv_use_ole='wxUSE_OLE=no'
6038 fi
6039
6040 else
6041
6042 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6043
6044 fi
6045
6046
6047 eval "$wx_cv_use_ole"
6048
6049 if test x"$enablestring" = xdisable; then
6050 if test $wxUSE_OLE = yes; then
6051 result=no
6052 else
6053 result=yes
6054 fi
6055 else
6056 result=$wxUSE_OLE
6057 fi
6058
6059 { echo "$as_me:$LINENO: result: $result" >&5
6060 echo "${ECHO_T}$result" >&6; }
6061
6062
6063 enablestring=
6064 defaultval=$wxUSE_ALL_FEATURES
6065 if test -z "$defaultval"; then
6066 if test x"$enablestring" = xdisable; then
6067 defaultval=yes
6068 else
6069 defaultval=no
6070 fi
6071 fi
6072
6073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6074 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6075 # Check whether --enable-dataobj was given.
6076 if test "${enable_dataobj+set}" = set; then
6077 enableval=$enable_dataobj;
6078 if test "$enableval" = yes; then
6079 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6080 else
6081 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6082 fi
6083
6084 else
6085
6086 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6087
6088 fi
6089
6090
6091 eval "$wx_cv_use_dataobj"
6092
6093 if test x"$enablestring" = xdisable; then
6094 if test $wxUSE_DATAOBJ = yes; then
6095 result=no
6096 else
6097 result=yes
6098 fi
6099 else
6100 result=$wxUSE_DATAOBJ
6101 fi
6102
6103 { echo "$as_me:$LINENO: result: $result" >&5
6104 echo "${ECHO_T}$result" >&6; }
6105
6106
6107
6108 enablestring=
6109 defaultval=$wxUSE_ALL_FEATURES
6110 if test -z "$defaultval"; then
6111 if test x"$enablestring" = xdisable; then
6112 defaultval=yes
6113 else
6114 defaultval=no
6115 fi
6116 fi
6117
6118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6119 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6120 # Check whether --enable-ipc was given.
6121 if test "${enable_ipc+set}" = set; then
6122 enableval=$enable_ipc;
6123 if test "$enableval" = yes; then
6124 wx_cv_use_ipc='wxUSE_IPC=yes'
6125 else
6126 wx_cv_use_ipc='wxUSE_IPC=no'
6127 fi
6128
6129 else
6130
6131 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6132
6133 fi
6134
6135
6136 eval "$wx_cv_use_ipc"
6137
6138 if test x"$enablestring" = xdisable; then
6139 if test $wxUSE_IPC = yes; then
6140 result=no
6141 else
6142 result=yes
6143 fi
6144 else
6145 result=$wxUSE_IPC
6146 fi
6147
6148 { echo "$as_me:$LINENO: result: $result" >&5
6149 echo "${ECHO_T}$result" >&6; }
6150
6151
6152
6153 enablestring=
6154 defaultval=$wxUSE_ALL_FEATURES
6155 if test -z "$defaultval"; then
6156 if test x"$enablestring" = xdisable; then
6157 defaultval=yes
6158 else
6159 defaultval=no
6160 fi
6161 fi
6162
6163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6164 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6165 # Check whether --enable-baseevtloop was given.
6166 if test "${enable_baseevtloop+set}" = set; then
6167 enableval=$enable_baseevtloop;
6168 if test "$enableval" = yes; then
6169 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6170 else
6171 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6172 fi
6173
6174 else
6175
6176 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6177
6178 fi
6179
6180
6181 eval "$wx_cv_use_baseevtloop"
6182
6183 if test x"$enablestring" = xdisable; then
6184 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6185 result=no
6186 else
6187 result=yes
6188 fi
6189 else
6190 result=$wxUSE_CONSOLE_EVENTLOOP
6191 fi
6192
6193 { echo "$as_me:$LINENO: result: $result" >&5
6194 echo "${ECHO_T}$result" >&6; }
6195
6196
6197 enablestring=
6198 defaultval=$wxUSE_ALL_FEATURES
6199 if test -z "$defaultval"; then
6200 if test x"$enablestring" = xdisable; then
6201 defaultval=yes
6202 else
6203 defaultval=no
6204 fi
6205 fi
6206
6207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6208 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6209 # Check whether --enable-epollloop was given.
6210 if test "${enable_epollloop+set}" = set; then
6211 enableval=$enable_epollloop;
6212 if test "$enableval" = yes; then
6213 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6214 else
6215 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6216 fi
6217
6218 else
6219
6220 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6221
6222 fi
6223
6224
6225 eval "$wx_cv_use_epollloop"
6226
6227 if test x"$enablestring" = xdisable; then
6228 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6229 result=no
6230 else
6231 result=yes
6232 fi
6233 else
6234 result=$wxUSE_EPOLL_DISPATCHER
6235 fi
6236
6237 { echo "$as_me:$LINENO: result: $result" >&5
6238 echo "${ECHO_T}$result" >&6; }
6239
6240
6241 enablestring=
6242 defaultval=$wxUSE_ALL_FEATURES
6243 if test -z "$defaultval"; then
6244 if test x"$enablestring" = xdisable; then
6245 defaultval=yes
6246 else
6247 defaultval=no
6248 fi
6249 fi
6250
6251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6252 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6253 # Check whether --enable-selectloop was given.
6254 if test "${enable_selectloop+set}" = set; then
6255 enableval=$enable_selectloop;
6256 if test "$enableval" = yes; then
6257 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6258 else
6259 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6260 fi
6261
6262 else
6263
6264 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6265
6266 fi
6267
6268
6269 eval "$wx_cv_use_selectloop"
6270
6271 if test x"$enablestring" = xdisable; then
6272 if test $wxUSE_SELECT_DISPATCHER = yes; then
6273 result=no
6274 else
6275 result=yes
6276 fi
6277 else
6278 result=$wxUSE_SELECT_DISPATCHER
6279 fi
6280
6281 { echo "$as_me:$LINENO: result: $result" >&5
6282 echo "${ECHO_T}$result" >&6; }
6283
6284
6285
6286 enablestring=
6287 defaultval=$wxUSE_ALL_FEATURES
6288 if test -z "$defaultval"; then
6289 if test x"$enablestring" = xdisable; then
6290 defaultval=yes
6291 else
6292 defaultval=no
6293 fi
6294 fi
6295
6296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6297 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6298 # Check whether --enable-apple_ieee was given.
6299 if test "${enable_apple_ieee+set}" = set; then
6300 enableval=$enable_apple_ieee;
6301 if test "$enableval" = yes; then
6302 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6303 else
6304 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6305 fi
6306
6307 else
6308
6309 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6310
6311 fi
6312
6313
6314 eval "$wx_cv_use_apple_ieee"
6315
6316 if test x"$enablestring" = xdisable; then
6317 if test $wxUSE_APPLE_IEEE = yes; then
6318 result=no
6319 else
6320 result=yes
6321 fi
6322 else
6323 result=$wxUSE_APPLE_IEEE
6324 fi
6325
6326 { echo "$as_me:$LINENO: result: $result" >&5
6327 echo "${ECHO_T}$result" >&6; }
6328
6329
6330 enablestring=
6331 defaultval=$wxUSE_ALL_FEATURES
6332 if test -z "$defaultval"; then
6333 if test x"$enablestring" = xdisable; then
6334 defaultval=yes
6335 else
6336 defaultval=no
6337 fi
6338 fi
6339
6340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6341 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6342 # Check whether --enable-arcstream was given.
6343 if test "${enable_arcstream+set}" = set; then
6344 enableval=$enable_arcstream;
6345 if test "$enableval" = yes; then
6346 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6347 else
6348 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6349 fi
6350
6351 else
6352
6353 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6354
6355 fi
6356
6357
6358 eval "$wx_cv_use_arcstream"
6359
6360 if test x"$enablestring" = xdisable; then
6361 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6362 result=no
6363 else
6364 result=yes
6365 fi
6366 else
6367 result=$wxUSE_ARCHIVE_STREAMS
6368 fi
6369
6370 { echo "$as_me:$LINENO: result: $result" >&5
6371 echo "${ECHO_T}$result" >&6; }
6372
6373
6374 enablestring=
6375 defaultval=$wxUSE_ALL_FEATURES
6376 if test -z "$defaultval"; then
6377 if test x"$enablestring" = xdisable; then
6378 defaultval=yes
6379 else
6380 defaultval=no
6381 fi
6382 fi
6383
6384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6385 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6386 # Check whether --enable-base64 was given.
6387 if test "${enable_base64+set}" = set; then
6388 enableval=$enable_base64;
6389 if test "$enableval" = yes; then
6390 wx_cv_use_base64='wxUSE_BASE64=yes'
6391 else
6392 wx_cv_use_base64='wxUSE_BASE64=no'
6393 fi
6394
6395 else
6396
6397 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6398
6399 fi
6400
6401
6402 eval "$wx_cv_use_base64"
6403
6404 if test x"$enablestring" = xdisable; then
6405 if test $wxUSE_BASE64 = yes; then
6406 result=no
6407 else
6408 result=yes
6409 fi
6410 else
6411 result=$wxUSE_BASE64
6412 fi
6413
6414 { echo "$as_me:$LINENO: result: $result" >&5
6415 echo "${ECHO_T}$result" >&6; }
6416
6417
6418 enablestring=
6419 defaultval=$wxUSE_ALL_FEATURES
6420 if test -z "$defaultval"; then
6421 if test x"$enablestring" = xdisable; then
6422 defaultval=yes
6423 else
6424 defaultval=no
6425 fi
6426 fi
6427
6428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6429 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6430 # Check whether --enable-backtrace was given.
6431 if test "${enable_backtrace+set}" = set; then
6432 enableval=$enable_backtrace;
6433 if test "$enableval" = yes; then
6434 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6435 else
6436 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6437 fi
6438
6439 else
6440
6441 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6442
6443 fi
6444
6445
6446 eval "$wx_cv_use_backtrace"
6447
6448 if test x"$enablestring" = xdisable; then
6449 if test $wxUSE_STACKWALKER = yes; then
6450 result=no
6451 else
6452 result=yes
6453 fi
6454 else
6455 result=$wxUSE_STACKWALKER
6456 fi
6457
6458 { echo "$as_me:$LINENO: result: $result" >&5
6459 echo "${ECHO_T}$result" >&6; }
6460
6461
6462 enablestring=
6463 defaultval=$wxUSE_ALL_FEATURES
6464 if test -z "$defaultval"; then
6465 if test x"$enablestring" = xdisable; then
6466 defaultval=yes
6467 else
6468 defaultval=no
6469 fi
6470 fi
6471
6472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6473 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6474 # Check whether --enable-catch_segvs was given.
6475 if test "${enable_catch_segvs+set}" = set; then
6476 enableval=$enable_catch_segvs;
6477 if test "$enableval" = yes; then
6478 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6479 else
6480 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6481 fi
6482
6483 else
6484
6485 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6486
6487 fi
6488
6489
6490 eval "$wx_cv_use_catch_segvs"
6491
6492 if test x"$enablestring" = xdisable; then
6493 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6494 result=no
6495 else
6496 result=yes
6497 fi
6498 else
6499 result=$wxUSE_ON_FATAL_EXCEPTION
6500 fi
6501
6502 { echo "$as_me:$LINENO: result: $result" >&5
6503 echo "${ECHO_T}$result" >&6; }
6504
6505
6506 enablestring=
6507 defaultval=$wxUSE_ALL_FEATURES
6508 if test -z "$defaultval"; then
6509 if test x"$enablestring" = xdisable; then
6510 defaultval=yes
6511 else
6512 defaultval=no
6513 fi
6514 fi
6515
6516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6517 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6518 # Check whether --enable-cmdline was given.
6519 if test "${enable_cmdline+set}" = set; then
6520 enableval=$enable_cmdline;
6521 if test "$enableval" = yes; then
6522 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6523 else
6524 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6525 fi
6526
6527 else
6528
6529 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6530
6531 fi
6532
6533
6534 eval "$wx_cv_use_cmdline"
6535
6536 if test x"$enablestring" = xdisable; then
6537 if test $wxUSE_CMDLINE_PARSER = yes; then
6538 result=no
6539 else
6540 result=yes
6541 fi
6542 else
6543 result=$wxUSE_CMDLINE_PARSER
6544 fi
6545
6546 { echo "$as_me:$LINENO: result: $result" >&5
6547 echo "${ECHO_T}$result" >&6; }
6548
6549
6550 enablestring=
6551 defaultval=$wxUSE_ALL_FEATURES
6552 if test -z "$defaultval"; then
6553 if test x"$enablestring" = xdisable; then
6554 defaultval=yes
6555 else
6556 defaultval=no
6557 fi
6558 fi
6559
6560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6561 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6562 # Check whether --enable-datetime was given.
6563 if test "${enable_datetime+set}" = set; then
6564 enableval=$enable_datetime;
6565 if test "$enableval" = yes; then
6566 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6567 else
6568 wx_cv_use_datetime='wxUSE_DATETIME=no'
6569 fi
6570
6571 else
6572
6573 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6574
6575 fi
6576
6577
6578 eval "$wx_cv_use_datetime"
6579
6580 if test x"$enablestring" = xdisable; then
6581 if test $wxUSE_DATETIME = yes; then
6582 result=no
6583 else
6584 result=yes
6585 fi
6586 else
6587 result=$wxUSE_DATETIME
6588 fi
6589
6590 { echo "$as_me:$LINENO: result: $result" >&5
6591 echo "${ECHO_T}$result" >&6; }
6592
6593
6594 enablestring=
6595 defaultval=$wxUSE_ALL_FEATURES
6596 if test -z "$defaultval"; then
6597 if test x"$enablestring" = xdisable; then
6598 defaultval=yes
6599 else
6600 defaultval=no
6601 fi
6602 fi
6603
6604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6605 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6606 # Check whether --enable-debugreport was given.
6607 if test "${enable_debugreport+set}" = set; then
6608 enableval=$enable_debugreport;
6609 if test "$enableval" = yes; then
6610 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6611 else
6612 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6613 fi
6614
6615 else
6616
6617 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6618
6619 fi
6620
6621
6622 eval "$wx_cv_use_debugreport"
6623
6624 if test x"$enablestring" = xdisable; then
6625 if test $wxUSE_DEBUGREPORT = yes; then
6626 result=no
6627 else
6628 result=yes
6629 fi
6630 else
6631 result=$wxUSE_DEBUGREPORT
6632 fi
6633
6634 { echo "$as_me:$LINENO: result: $result" >&5
6635 echo "${ECHO_T}$result" >&6; }
6636
6637
6638 enablestring=
6639 defaultval=$wxUSE_ALL_FEATURES
6640 if test -z "$defaultval"; then
6641 if test x"$enablestring" = xdisable; then
6642 defaultval=yes
6643 else
6644 defaultval=no
6645 fi
6646 fi
6647
6648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6649 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6650 # Check whether --enable-dialupman was given.
6651 if test "${enable_dialupman+set}" = set; then
6652 enableval=$enable_dialupman;
6653 if test "$enableval" = yes; then
6654 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6655 else
6656 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6657 fi
6658
6659 else
6660
6661 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6662
6663 fi
6664
6665
6666 eval "$wx_cv_use_dialupman"
6667
6668 if test x"$enablestring" = xdisable; then
6669 if test $wxUSE_DIALUP_MANAGER = yes; then
6670 result=no
6671 else
6672 result=yes
6673 fi
6674 else
6675 result=$wxUSE_DIALUP_MANAGER
6676 fi
6677
6678 { echo "$as_me:$LINENO: result: $result" >&5
6679 echo "${ECHO_T}$result" >&6; }
6680
6681
6682 enablestring=
6683 defaultval=$wxUSE_ALL_FEATURES
6684 if test -z "$defaultval"; then
6685 if test x"$enablestring" = xdisable; then
6686 defaultval=yes
6687 else
6688 defaultval=no
6689 fi
6690 fi
6691
6692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6693 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6694 # Check whether --enable-dynlib was given.
6695 if test "${enable_dynlib+set}" = set; then
6696 enableval=$enable_dynlib;
6697 if test "$enableval" = yes; then
6698 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6699 else
6700 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6701 fi
6702
6703 else
6704
6705 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6706
6707 fi
6708
6709
6710 eval "$wx_cv_use_dynlib"
6711
6712 if test x"$enablestring" = xdisable; then
6713 if test $wxUSE_DYNLIB_CLASS = yes; then
6714 result=no
6715 else
6716 result=yes
6717 fi
6718 else
6719 result=$wxUSE_DYNLIB_CLASS
6720 fi
6721
6722 { echo "$as_me:$LINENO: result: $result" >&5
6723 echo "${ECHO_T}$result" >&6; }
6724
6725
6726 enablestring=
6727 defaultval=$wxUSE_ALL_FEATURES
6728 if test -z "$defaultval"; then
6729 if test x"$enablestring" = xdisable; then
6730 defaultval=yes
6731 else
6732 defaultval=no
6733 fi
6734 fi
6735
6736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6737 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6738 # Check whether --enable-dynamicloader was given.
6739 if test "${enable_dynamicloader+set}" = set; then
6740 enableval=$enable_dynamicloader;
6741 if test "$enableval" = yes; then
6742 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6743 else
6744 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6745 fi
6746
6747 else
6748
6749 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6750
6751 fi
6752
6753
6754 eval "$wx_cv_use_dynamicloader"
6755
6756 if test x"$enablestring" = xdisable; then
6757 if test $wxUSE_DYNAMIC_LOADER = yes; then
6758 result=no
6759 else
6760 result=yes
6761 fi
6762 else
6763 result=$wxUSE_DYNAMIC_LOADER
6764 fi
6765
6766 { echo "$as_me:$LINENO: result: $result" >&5
6767 echo "${ECHO_T}$result" >&6; }
6768
6769
6770 enablestring=
6771 defaultval=$wxUSE_ALL_FEATURES
6772 if test -z "$defaultval"; then
6773 if test x"$enablestring" = xdisable; then
6774 defaultval=yes
6775 else
6776 defaultval=no
6777 fi
6778 fi
6779
6780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6781 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6782 # Check whether --enable-exceptions was given.
6783 if test "${enable_exceptions+set}" = set; then
6784 enableval=$enable_exceptions;
6785 if test "$enableval" = yes; then
6786 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6787 else
6788 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6789 fi
6790
6791 else
6792
6793 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6794
6795 fi
6796
6797
6798 eval "$wx_cv_use_exceptions"
6799
6800 if test x"$enablestring" = xdisable; then
6801 if test $wxUSE_EXCEPTIONS = yes; then
6802 result=no
6803 else
6804 result=yes
6805 fi
6806 else
6807 result=$wxUSE_EXCEPTIONS
6808 fi
6809
6810 { echo "$as_me:$LINENO: result: $result" >&5
6811 echo "${ECHO_T}$result" >&6; }
6812
6813
6814 enablestring=
6815 defaultval=$wxUSE_ALL_FEATURES
6816 if test -z "$defaultval"; then
6817 if test x"$enablestring" = xdisable; then
6818 defaultval=yes
6819 else
6820 defaultval=no
6821 fi
6822 fi
6823
6824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6825 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6826 # Check whether --enable-ffile was given.
6827 if test "${enable_ffile+set}" = set; then
6828 enableval=$enable_ffile;
6829 if test "$enableval" = yes; then
6830 wx_cv_use_ffile='wxUSE_FFILE=yes'
6831 else
6832 wx_cv_use_ffile='wxUSE_FFILE=no'
6833 fi
6834
6835 else
6836
6837 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6838
6839 fi
6840
6841
6842 eval "$wx_cv_use_ffile"
6843
6844 if test x"$enablestring" = xdisable; then
6845 if test $wxUSE_FFILE = yes; then
6846 result=no
6847 else
6848 result=yes
6849 fi
6850 else
6851 result=$wxUSE_FFILE
6852 fi
6853
6854 { echo "$as_me:$LINENO: result: $result" >&5
6855 echo "${ECHO_T}$result" >&6; }
6856
6857
6858 enablestring=
6859 defaultval=$wxUSE_ALL_FEATURES
6860 if test -z "$defaultval"; then
6861 if test x"$enablestring" = xdisable; then
6862 defaultval=yes
6863 else
6864 defaultval=no
6865 fi
6866 fi
6867
6868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6869 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6870 # Check whether --enable-file was given.
6871 if test "${enable_file+set}" = set; then
6872 enableval=$enable_file;
6873 if test "$enableval" = yes; then
6874 wx_cv_use_file='wxUSE_FILE=yes'
6875 else
6876 wx_cv_use_file='wxUSE_FILE=no'
6877 fi
6878
6879 else
6880
6881 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6882
6883 fi
6884
6885
6886 eval "$wx_cv_use_file"
6887
6888 if test x"$enablestring" = xdisable; then
6889 if test $wxUSE_FILE = yes; then
6890 result=no
6891 else
6892 result=yes
6893 fi
6894 else
6895 result=$wxUSE_FILE
6896 fi
6897
6898 { echo "$as_me:$LINENO: result: $result" >&5
6899 echo "${ECHO_T}$result" >&6; }
6900
6901
6902 enablestring=
6903 defaultval=$wxUSE_ALL_FEATURES
6904 if test -z "$defaultval"; then
6905 if test x"$enablestring" = xdisable; then
6906 defaultval=yes
6907 else
6908 defaultval=no
6909 fi
6910 fi
6911
6912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6913 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6914 # Check whether --enable-filesystem was given.
6915 if test "${enable_filesystem+set}" = set; then
6916 enableval=$enable_filesystem;
6917 if test "$enableval" = yes; then
6918 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6919 else
6920 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6921 fi
6922
6923 else
6924
6925 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6926
6927 fi
6928
6929
6930 eval "$wx_cv_use_filesystem"
6931
6932 if test x"$enablestring" = xdisable; then
6933 if test $wxUSE_FILESYSTEM = yes; then
6934 result=no
6935 else
6936 result=yes
6937 fi
6938 else
6939 result=$wxUSE_FILESYSTEM
6940 fi
6941
6942 { echo "$as_me:$LINENO: result: $result" >&5
6943 echo "${ECHO_T}$result" >&6; }
6944
6945
6946 enablestring=
6947 defaultval=$wxUSE_ALL_FEATURES
6948 if test -z "$defaultval"; then
6949 if test x"$enablestring" = xdisable; then
6950 defaultval=yes
6951 else
6952 defaultval=no
6953 fi
6954 fi
6955
6956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6957 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6958 # Check whether --enable-fontenum was given.
6959 if test "${enable_fontenum+set}" = set; then
6960 enableval=$enable_fontenum;
6961 if test "$enableval" = yes; then
6962 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6963 else
6964 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6965 fi
6966
6967 else
6968
6969 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6970
6971 fi
6972
6973
6974 eval "$wx_cv_use_fontenum"
6975
6976 if test x"$enablestring" = xdisable; then
6977 if test $wxUSE_FONTENUM = yes; then
6978 result=no
6979 else
6980 result=yes
6981 fi
6982 else
6983 result=$wxUSE_FONTENUM
6984 fi
6985
6986 { echo "$as_me:$LINENO: result: $result" >&5
6987 echo "${ECHO_T}$result" >&6; }
6988
6989
6990 enablestring=
6991 defaultval=$wxUSE_ALL_FEATURES
6992 if test -z "$defaultval"; then
6993 if test x"$enablestring" = xdisable; then
6994 defaultval=yes
6995 else
6996 defaultval=no
6997 fi
6998 fi
6999
7000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7001 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7002 # Check whether --enable-fontmap was given.
7003 if test "${enable_fontmap+set}" = set; then
7004 enableval=$enable_fontmap;
7005 if test "$enableval" = yes; then
7006 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7007 else
7008 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7009 fi
7010
7011 else
7012
7013 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7014
7015 fi
7016
7017
7018 eval "$wx_cv_use_fontmap"
7019
7020 if test x"$enablestring" = xdisable; then
7021 if test $wxUSE_FONTMAP = yes; then
7022 result=no
7023 else
7024 result=yes
7025 fi
7026 else
7027 result=$wxUSE_FONTMAP
7028 fi
7029
7030 { echo "$as_me:$LINENO: result: $result" >&5
7031 echo "${ECHO_T}$result" >&6; }
7032
7033
7034 enablestring=
7035 defaultval=$wxUSE_ALL_FEATURES
7036 if test -z "$defaultval"; then
7037 if test x"$enablestring" = xdisable; then
7038 defaultval=yes
7039 else
7040 defaultval=no
7041 fi
7042 fi
7043
7044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7045 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7046 # Check whether --enable-fs_archive was given.
7047 if test "${enable_fs_archive+set}" = set; then
7048 enableval=$enable_fs_archive;
7049 if test "$enableval" = yes; then
7050 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7051 else
7052 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7053 fi
7054
7055 else
7056
7057 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7058
7059 fi
7060
7061
7062 eval "$wx_cv_use_fs_archive"
7063
7064 if test x"$enablestring" = xdisable; then
7065 if test $wxUSE_FS_ARCHIVE = yes; then
7066 result=no
7067 else
7068 result=yes
7069 fi
7070 else
7071 result=$wxUSE_FS_ARCHIVE
7072 fi
7073
7074 { echo "$as_me:$LINENO: result: $result" >&5
7075 echo "${ECHO_T}$result" >&6; }
7076
7077
7078 enablestring=
7079 defaultval=$wxUSE_ALL_FEATURES
7080 if test -z "$defaultval"; then
7081 if test x"$enablestring" = xdisable; then
7082 defaultval=yes
7083 else
7084 defaultval=no
7085 fi
7086 fi
7087
7088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7089 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7090 # Check whether --enable-fs_inet was given.
7091 if test "${enable_fs_inet+set}" = set; then
7092 enableval=$enable_fs_inet;
7093 if test "$enableval" = yes; then
7094 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7095 else
7096 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7097 fi
7098
7099 else
7100
7101 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7102
7103 fi
7104
7105
7106 eval "$wx_cv_use_fs_inet"
7107
7108 if test x"$enablestring" = xdisable; then
7109 if test $wxUSE_FS_INET = yes; then
7110 result=no
7111 else
7112 result=yes
7113 fi
7114 else
7115 result=$wxUSE_FS_INET
7116 fi
7117
7118 { echo "$as_me:$LINENO: result: $result" >&5
7119 echo "${ECHO_T}$result" >&6; }
7120
7121
7122 enablestring=
7123 defaultval=$wxUSE_ALL_FEATURES
7124 if test -z "$defaultval"; then
7125 if test x"$enablestring" = xdisable; then
7126 defaultval=yes
7127 else
7128 defaultval=no
7129 fi
7130 fi
7131
7132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7134 # Check whether --enable-fs_zip was given.
7135 if test "${enable_fs_zip+set}" = set; then
7136 enableval=$enable_fs_zip;
7137 if test "$enableval" = yes; then
7138 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7139 else
7140 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7141 fi
7142
7143 else
7144
7145 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7146
7147 fi
7148
7149
7150 eval "$wx_cv_use_fs_zip"
7151
7152 if test x"$enablestring" = xdisable; then
7153 if test $wxUSE_FS_ZIP = yes; then
7154 result=no
7155 else
7156 result=yes
7157 fi
7158 else
7159 result=$wxUSE_FS_ZIP
7160 fi
7161
7162 { echo "$as_me:$LINENO: result: $result" >&5
7163 echo "${ECHO_T}$result" >&6; }
7164
7165
7166 enablestring=
7167 defaultval=$wxUSE_ALL_FEATURES
7168 if test -z "$defaultval"; then
7169 if test x"$enablestring" = xdisable; then
7170 defaultval=yes
7171 else
7172 defaultval=no
7173 fi
7174 fi
7175
7176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7178 # Check whether --enable-geometry was given.
7179 if test "${enable_geometry+set}" = set; then
7180 enableval=$enable_geometry;
7181 if test "$enableval" = yes; then
7182 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7183 else
7184 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7185 fi
7186
7187 else
7188
7189 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7190
7191 fi
7192
7193
7194 eval "$wx_cv_use_geometry"
7195
7196 if test x"$enablestring" = xdisable; then
7197 if test $wxUSE_GEOMETRY = yes; then
7198 result=no
7199 else
7200 result=yes
7201 fi
7202 else
7203 result=$wxUSE_GEOMETRY
7204 fi
7205
7206 { echo "$as_me:$LINENO: result: $result" >&5
7207 echo "${ECHO_T}$result" >&6; }
7208
7209
7210 enablestring=
7211 defaultval=$wxUSE_ALL_FEATURES
7212 if test -z "$defaultval"; then
7213 if test x"$enablestring" = xdisable; then
7214 defaultval=yes
7215 else
7216 defaultval=no
7217 fi
7218 fi
7219
7220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7221 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7222 # Check whether --enable-log was given.
7223 if test "${enable_log+set}" = set; then
7224 enableval=$enable_log;
7225 if test "$enableval" = yes; then
7226 wx_cv_use_log='wxUSE_LOG=yes'
7227 else
7228 wx_cv_use_log='wxUSE_LOG=no'
7229 fi
7230
7231 else
7232
7233 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7234
7235 fi
7236
7237
7238 eval "$wx_cv_use_log"
7239
7240 if test x"$enablestring" = xdisable; then
7241 if test $wxUSE_LOG = yes; then
7242 result=no
7243 else
7244 result=yes
7245 fi
7246 else
7247 result=$wxUSE_LOG
7248 fi
7249
7250 { echo "$as_me:$LINENO: result: $result" >&5
7251 echo "${ECHO_T}$result" >&6; }
7252
7253
7254 enablestring=
7255 defaultval=$wxUSE_ALL_FEATURES
7256 if test -z "$defaultval"; then
7257 if test x"$enablestring" = xdisable; then
7258 defaultval=yes
7259 else
7260 defaultval=no
7261 fi
7262 fi
7263
7264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7265 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7266 # Check whether --enable-longlong was given.
7267 if test "${enable_longlong+set}" = set; then
7268 enableval=$enable_longlong;
7269 if test "$enableval" = yes; then
7270 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7271 else
7272 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7273 fi
7274
7275 else
7276
7277 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7278
7279 fi
7280
7281
7282 eval "$wx_cv_use_longlong"
7283
7284 if test x"$enablestring" = xdisable; then
7285 if test $wxUSE_LONGLONG = yes; then
7286 result=no
7287 else
7288 result=yes
7289 fi
7290 else
7291 result=$wxUSE_LONGLONG
7292 fi
7293
7294 { echo "$as_me:$LINENO: result: $result" >&5
7295 echo "${ECHO_T}$result" >&6; }
7296
7297
7298 enablestring=
7299 defaultval=$wxUSE_ALL_FEATURES
7300 if test -z "$defaultval"; then
7301 if test x"$enablestring" = xdisable; then
7302 defaultval=yes
7303 else
7304 defaultval=no
7305 fi
7306 fi
7307
7308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7309 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7310 # Check whether --enable-mimetype was given.
7311 if test "${enable_mimetype+set}" = set; then
7312 enableval=$enable_mimetype;
7313 if test "$enableval" = yes; then
7314 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7315 else
7316 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7317 fi
7318
7319 else
7320
7321 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7322
7323 fi
7324
7325
7326 eval "$wx_cv_use_mimetype"
7327
7328 if test x"$enablestring" = xdisable; then
7329 if test $wxUSE_MIMETYPE = yes; then
7330 result=no
7331 else
7332 result=yes
7333 fi
7334 else
7335 result=$wxUSE_MIMETYPE
7336 fi
7337
7338 { echo "$as_me:$LINENO: result: $result" >&5
7339 echo "${ECHO_T}$result" >&6; }
7340
7341
7342 enablestring=
7343 defaultval=$wxUSE_ALL_FEATURES
7344 if test -z "$defaultval"; then
7345 if test x"$enablestring" = xdisable; then
7346 defaultval=yes
7347 else
7348 defaultval=no
7349 fi
7350 fi
7351
7352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7353 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7354 # Check whether --enable-printfposparam was given.
7355 if test "${enable_printfposparam+set}" = set; then
7356 enableval=$enable_printfposparam;
7357 if test "$enableval" = yes; then
7358 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7359 else
7360 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7361 fi
7362
7363 else
7364
7365 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7366
7367 fi
7368
7369
7370 eval "$wx_cv_use_printfposparam"
7371
7372 if test x"$enablestring" = xdisable; then
7373 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7374 result=no
7375 else
7376 result=yes
7377 fi
7378 else
7379 result=$wxUSE_PRINTF_POS_PARAMS
7380 fi
7381
7382 { echo "$as_me:$LINENO: result: $result" >&5
7383 echo "${ECHO_T}$result" >&6; }
7384
7385
7386 enablestring=
7387 defaultval=$wxUSE_ALL_FEATURES
7388 if test -z "$defaultval"; then
7389 if test x"$enablestring" = xdisable; then
7390 defaultval=yes
7391 else
7392 defaultval=no
7393 fi
7394 fi
7395
7396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7397 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7398 # Check whether --enable-snglinst was given.
7399 if test "${enable_snglinst+set}" = set; then
7400 enableval=$enable_snglinst;
7401 if test "$enableval" = yes; then
7402 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7403 else
7404 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7405 fi
7406
7407 else
7408
7409 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7410
7411 fi
7412
7413
7414 eval "$wx_cv_use_snglinst"
7415
7416 if test x"$enablestring" = xdisable; then
7417 if test $wxUSE_SNGLINST_CHECKER = yes; then
7418 result=no
7419 else
7420 result=yes
7421 fi
7422 else
7423 result=$wxUSE_SNGLINST_CHECKER
7424 fi
7425
7426 { echo "$as_me:$LINENO: result: $result" >&5
7427 echo "${ECHO_T}$result" >&6; }
7428
7429
7430 enablestring=
7431 defaultval=$wxUSE_ALL_FEATURES
7432 if test -z "$defaultval"; then
7433 if test x"$enablestring" = xdisable; then
7434 defaultval=yes
7435 else
7436 defaultval=no
7437 fi
7438 fi
7439
7440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7441 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7442 # Check whether --enable-sound was given.
7443 if test "${enable_sound+set}" = set; then
7444 enableval=$enable_sound;
7445 if test "$enableval" = yes; then
7446 wx_cv_use_sound='wxUSE_SOUND=yes'
7447 else
7448 wx_cv_use_sound='wxUSE_SOUND=no'
7449 fi
7450
7451 else
7452
7453 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7454
7455 fi
7456
7457
7458 eval "$wx_cv_use_sound"
7459
7460 if test x"$enablestring" = xdisable; then
7461 if test $wxUSE_SOUND = yes; then
7462 result=no
7463 else
7464 result=yes
7465 fi
7466 else
7467 result=$wxUSE_SOUND
7468 fi
7469
7470 { echo "$as_me:$LINENO: result: $result" >&5
7471 echo "${ECHO_T}$result" >&6; }
7472
7473
7474 enablestring=
7475 defaultval=$wxUSE_ALL_FEATURES
7476 if test -z "$defaultval"; then
7477 if test x"$enablestring" = xdisable; then
7478 defaultval=yes
7479 else
7480 defaultval=no
7481 fi
7482 fi
7483
7484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7485 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7486 # Check whether --enable-stdpaths was given.
7487 if test "${enable_stdpaths+set}" = set; then
7488 enableval=$enable_stdpaths;
7489 if test "$enableval" = yes; then
7490 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7491 else
7492 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7493 fi
7494
7495 else
7496
7497 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7498
7499 fi
7500
7501
7502 eval "$wx_cv_use_stdpaths"
7503
7504 if test x"$enablestring" = xdisable; then
7505 if test $wxUSE_STDPATHS = yes; then
7506 result=no
7507 else
7508 result=yes
7509 fi
7510 else
7511 result=$wxUSE_STDPATHS
7512 fi
7513
7514 { echo "$as_me:$LINENO: result: $result" >&5
7515 echo "${ECHO_T}$result" >&6; }
7516
7517
7518 enablestring=
7519 defaultval=$wxUSE_ALL_FEATURES
7520 if test -z "$defaultval"; then
7521 if test x"$enablestring" = xdisable; then
7522 defaultval=yes
7523 else
7524 defaultval=no
7525 fi
7526 fi
7527
7528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7529 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7530 # Check whether --enable-stopwatch was given.
7531 if test "${enable_stopwatch+set}" = set; then
7532 enableval=$enable_stopwatch;
7533 if test "$enableval" = yes; then
7534 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7535 else
7536 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7537 fi
7538
7539 else
7540
7541 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7542
7543 fi
7544
7545
7546 eval "$wx_cv_use_stopwatch"
7547
7548 if test x"$enablestring" = xdisable; then
7549 if test $wxUSE_STOPWATCH = yes; then
7550 result=no
7551 else
7552 result=yes
7553 fi
7554 else
7555 result=$wxUSE_STOPWATCH
7556 fi
7557
7558 { echo "$as_me:$LINENO: result: $result" >&5
7559 echo "${ECHO_T}$result" >&6; }
7560
7561
7562 enablestring=
7563 defaultval=$wxUSE_ALL_FEATURES
7564 if test -z "$defaultval"; then
7565 if test x"$enablestring" = xdisable; then
7566 defaultval=yes
7567 else
7568 defaultval=no
7569 fi
7570 fi
7571
7572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7573 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7574 # Check whether --enable-streams was given.
7575 if test "${enable_streams+set}" = set; then
7576 enableval=$enable_streams;
7577 if test "$enableval" = yes; then
7578 wx_cv_use_streams='wxUSE_STREAMS=yes'
7579 else
7580 wx_cv_use_streams='wxUSE_STREAMS=no'
7581 fi
7582
7583 else
7584
7585 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7586
7587 fi
7588
7589
7590 eval "$wx_cv_use_streams"
7591
7592 if test x"$enablestring" = xdisable; then
7593 if test $wxUSE_STREAMS = yes; then
7594 result=no
7595 else
7596 result=yes
7597 fi
7598 else
7599 result=$wxUSE_STREAMS
7600 fi
7601
7602 { echo "$as_me:$LINENO: result: $result" >&5
7603 echo "${ECHO_T}$result" >&6; }
7604
7605
7606 enablestring=
7607 defaultval=$wxUSE_ALL_FEATURES
7608 if test -z "$defaultval"; then
7609 if test x"$enablestring" = xdisable; then
7610 defaultval=yes
7611 else
7612 defaultval=no
7613 fi
7614 fi
7615
7616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7617 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7618 # Check whether --enable-system_options was given.
7619 if test "${enable_system_options+set}" = set; then
7620 enableval=$enable_system_options;
7621 if test "$enableval" = yes; then
7622 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7623 else
7624 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7625 fi
7626
7627 else
7628
7629 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7630
7631 fi
7632
7633
7634 eval "$wx_cv_use_system_options"
7635
7636 if test x"$enablestring" = xdisable; then
7637 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7638 result=no
7639 else
7640 result=yes
7641 fi
7642 else
7643 result=$wxUSE_SYSTEM_OPTIONS
7644 fi
7645
7646 { echo "$as_me:$LINENO: result: $result" >&5
7647 echo "${ECHO_T}$result" >&6; }
7648
7649
7650 enablestring=
7651 defaultval=$wxUSE_ALL_FEATURES
7652 if test -z "$defaultval"; then
7653 if test x"$enablestring" = xdisable; then
7654 defaultval=yes
7655 else
7656 defaultval=no
7657 fi
7658 fi
7659
7660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7661 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7662 # Check whether --enable-tarstream was given.
7663 if test "${enable_tarstream+set}" = set; then
7664 enableval=$enable_tarstream;
7665 if test "$enableval" = yes; then
7666 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7667 else
7668 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7669 fi
7670
7671 else
7672
7673 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7674
7675 fi
7676
7677
7678 eval "$wx_cv_use_tarstream"
7679
7680 if test x"$enablestring" = xdisable; then
7681 if test $wxUSE_TARSTREAM = yes; then
7682 result=no
7683 else
7684 result=yes
7685 fi
7686 else
7687 result=$wxUSE_TARSTREAM
7688 fi
7689
7690 { echo "$as_me:$LINENO: result: $result" >&5
7691 echo "${ECHO_T}$result" >&6; }
7692
7693
7694 enablestring=
7695 defaultval=$wxUSE_ALL_FEATURES
7696 if test -z "$defaultval"; then
7697 if test x"$enablestring" = xdisable; then
7698 defaultval=yes
7699 else
7700 defaultval=no
7701 fi
7702 fi
7703
7704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7705 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7706 # Check whether --enable-textbuf was given.
7707 if test "${enable_textbuf+set}" = set; then
7708 enableval=$enable_textbuf;
7709 if test "$enableval" = yes; then
7710 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7711 else
7712 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7713 fi
7714
7715 else
7716
7717 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7718
7719 fi
7720
7721
7722 eval "$wx_cv_use_textbuf"
7723
7724 if test x"$enablestring" = xdisable; then
7725 if test $wxUSE_TEXTBUFFER = yes; then
7726 result=no
7727 else
7728 result=yes
7729 fi
7730 else
7731 result=$wxUSE_TEXTBUFFER
7732 fi
7733
7734 { echo "$as_me:$LINENO: result: $result" >&5
7735 echo "${ECHO_T}$result" >&6; }
7736
7737
7738 enablestring=
7739 defaultval=$wxUSE_ALL_FEATURES
7740 if test -z "$defaultval"; then
7741 if test x"$enablestring" = xdisable; then
7742 defaultval=yes
7743 else
7744 defaultval=no
7745 fi
7746 fi
7747
7748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7749 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7750 # Check whether --enable-textfile was given.
7751 if test "${enable_textfile+set}" = set; then
7752 enableval=$enable_textfile;
7753 if test "$enableval" = yes; then
7754 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7755 else
7756 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7757 fi
7758
7759 else
7760
7761 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7762
7763 fi
7764
7765
7766 eval "$wx_cv_use_textfile"
7767
7768 if test x"$enablestring" = xdisable; then
7769 if test $wxUSE_TEXTFILE = yes; then
7770 result=no
7771 else
7772 result=yes
7773 fi
7774 else
7775 result=$wxUSE_TEXTFILE
7776 fi
7777
7778 { echo "$as_me:$LINENO: result: $result" >&5
7779 echo "${ECHO_T}$result" >&6; }
7780
7781
7782 enablestring=
7783 defaultval=$wxUSE_ALL_FEATURES
7784 if test -z "$defaultval"; then
7785 if test x"$enablestring" = xdisable; then
7786 defaultval=yes
7787 else
7788 defaultval=no
7789 fi
7790 fi
7791
7792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7793 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7794 # Check whether --enable-timer was given.
7795 if test "${enable_timer+set}" = set; then
7796 enableval=$enable_timer;
7797 if test "$enableval" = yes; then
7798 wx_cv_use_timer='wxUSE_TIMER=yes'
7799 else
7800 wx_cv_use_timer='wxUSE_TIMER=no'
7801 fi
7802
7803 else
7804
7805 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7806
7807 fi
7808
7809
7810 eval "$wx_cv_use_timer"
7811
7812 if test x"$enablestring" = xdisable; then
7813 if test $wxUSE_TIMER = yes; then
7814 result=no
7815 else
7816 result=yes
7817 fi
7818 else
7819 result=$wxUSE_TIMER
7820 fi
7821
7822 { echo "$as_me:$LINENO: result: $result" >&5
7823 echo "${ECHO_T}$result" >&6; }
7824
7825
7826 enablestring=
7827 defaultval=$wxUSE_ALL_FEATURES
7828 if test -z "$defaultval"; then
7829 if test x"$enablestring" = xdisable; then
7830 defaultval=yes
7831 else
7832 defaultval=no
7833 fi
7834 fi
7835
7836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7837 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7838 # Check whether --enable-variant was given.
7839 if test "${enable_variant+set}" = set; then
7840 enableval=$enable_variant;
7841 if test "$enableval" = yes; then
7842 wx_cv_use_variant='wxUSE_VARIANT=yes'
7843 else
7844 wx_cv_use_variant='wxUSE_VARIANT=no'
7845 fi
7846
7847 else
7848
7849 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7850
7851 fi
7852
7853
7854 eval "$wx_cv_use_variant"
7855
7856 if test x"$enablestring" = xdisable; then
7857 if test $wxUSE_VARIANT = yes; then
7858 result=no
7859 else
7860 result=yes
7861 fi
7862 else
7863 result=$wxUSE_VARIANT
7864 fi
7865
7866 { echo "$as_me:$LINENO: result: $result" >&5
7867 echo "${ECHO_T}$result" >&6; }
7868
7869
7870 enablestring=
7871 defaultval=$wxUSE_ALL_FEATURES
7872 if test -z "$defaultval"; then
7873 if test x"$enablestring" = xdisable; then
7874 defaultval=yes
7875 else
7876 defaultval=no
7877 fi
7878 fi
7879
7880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7881 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7882 # Check whether --enable-zipstream was given.
7883 if test "${enable_zipstream+set}" = set; then
7884 enableval=$enable_zipstream;
7885 if test "$enableval" = yes; then
7886 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7887 else
7888 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7889 fi
7890
7891 else
7892
7893 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7894
7895 fi
7896
7897
7898 eval "$wx_cv_use_zipstream"
7899
7900 if test x"$enablestring" = xdisable; then
7901 if test $wxUSE_ZIPSTREAM = yes; then
7902 result=no
7903 else
7904 result=yes
7905 fi
7906 else
7907 result=$wxUSE_ZIPSTREAM
7908 fi
7909
7910 { echo "$as_me:$LINENO: result: $result" >&5
7911 echo "${ECHO_T}$result" >&6; }
7912
7913
7914
7915 enablestring=
7916 defaultval=$wxUSE_ALL_FEATURES
7917 if test -z "$defaultval"; then
7918 if test x"$enablestring" = xdisable; then
7919 defaultval=yes
7920 else
7921 defaultval=no
7922 fi
7923 fi
7924
7925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7926 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7927 # Check whether --enable-url was given.
7928 if test "${enable_url+set}" = set; then
7929 enableval=$enable_url;
7930 if test "$enableval" = yes; then
7931 wx_cv_use_url='wxUSE_URL=yes'
7932 else
7933 wx_cv_use_url='wxUSE_URL=no'
7934 fi
7935
7936 else
7937
7938 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7939
7940 fi
7941
7942
7943 eval "$wx_cv_use_url"
7944
7945 if test x"$enablestring" = xdisable; then
7946 if test $wxUSE_URL = yes; then
7947 result=no
7948 else
7949 result=yes
7950 fi
7951 else
7952 result=$wxUSE_URL
7953 fi
7954
7955 { echo "$as_me:$LINENO: result: $result" >&5
7956 echo "${ECHO_T}$result" >&6; }
7957
7958
7959 enablestring=
7960 defaultval=$wxUSE_ALL_FEATURES
7961 if test -z "$defaultval"; then
7962 if test x"$enablestring" = xdisable; then
7963 defaultval=yes
7964 else
7965 defaultval=no
7966 fi
7967 fi
7968
7969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7970 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7971 # Check whether --enable-protocol was given.
7972 if test "${enable_protocol+set}" = set; then
7973 enableval=$enable_protocol;
7974 if test "$enableval" = yes; then
7975 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7976 else
7977 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7978 fi
7979
7980 else
7981
7982 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7983
7984 fi
7985
7986
7987 eval "$wx_cv_use_protocol"
7988
7989 if test x"$enablestring" = xdisable; then
7990 if test $wxUSE_PROTOCOL = yes; then
7991 result=no
7992 else
7993 result=yes
7994 fi
7995 else
7996 result=$wxUSE_PROTOCOL
7997 fi
7998
7999 { echo "$as_me:$LINENO: result: $result" >&5
8000 echo "${ECHO_T}$result" >&6; }
8001
8002
8003 enablestring=
8004 defaultval=$wxUSE_ALL_FEATURES
8005 if test -z "$defaultval"; then
8006 if test x"$enablestring" = xdisable; then
8007 defaultval=yes
8008 else
8009 defaultval=no
8010 fi
8011 fi
8012
8013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8014 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8015 # Check whether --enable-protocol_http was given.
8016 if test "${enable_protocol_http+set}" = set; then
8017 enableval=$enable_protocol_http;
8018 if test "$enableval" = yes; then
8019 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8020 else
8021 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8022 fi
8023
8024 else
8025
8026 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8027
8028 fi
8029
8030
8031 eval "$wx_cv_use_protocol_http"
8032
8033 if test x"$enablestring" = xdisable; then
8034 if test $wxUSE_PROTOCOL_HTTP = yes; then
8035 result=no
8036 else
8037 result=yes
8038 fi
8039 else
8040 result=$wxUSE_PROTOCOL_HTTP
8041 fi
8042
8043 { echo "$as_me:$LINENO: result: $result" >&5
8044 echo "${ECHO_T}$result" >&6; }
8045
8046
8047 enablestring=
8048 defaultval=$wxUSE_ALL_FEATURES
8049 if test -z "$defaultval"; then
8050 if test x"$enablestring" = xdisable; then
8051 defaultval=yes
8052 else
8053 defaultval=no
8054 fi
8055 fi
8056
8057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8058 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8059 # Check whether --enable-protocol_ftp was given.
8060 if test "${enable_protocol_ftp+set}" = set; then
8061 enableval=$enable_protocol_ftp;
8062 if test "$enableval" = yes; then
8063 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8064 else
8065 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8066 fi
8067
8068 else
8069
8070 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8071
8072 fi
8073
8074
8075 eval "$wx_cv_use_protocol_ftp"
8076
8077 if test x"$enablestring" = xdisable; then
8078 if test $wxUSE_PROTOCOL_FTP = yes; then
8079 result=no
8080 else
8081 result=yes
8082 fi
8083 else
8084 result=$wxUSE_PROTOCOL_FTP
8085 fi
8086
8087 { echo "$as_me:$LINENO: result: $result" >&5
8088 echo "${ECHO_T}$result" >&6; }
8089
8090
8091 enablestring=
8092 defaultval=$wxUSE_ALL_FEATURES
8093 if test -z "$defaultval"; then
8094 if test x"$enablestring" = xdisable; then
8095 defaultval=yes
8096 else
8097 defaultval=no
8098 fi
8099 fi
8100
8101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8102 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8103 # Check whether --enable-protocol_file was given.
8104 if test "${enable_protocol_file+set}" = set; then
8105 enableval=$enable_protocol_file;
8106 if test "$enableval" = yes; then
8107 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8108 else
8109 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8110 fi
8111
8112 else
8113
8114 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8115
8116 fi
8117
8118
8119 eval "$wx_cv_use_protocol_file"
8120
8121 if test x"$enablestring" = xdisable; then
8122 if test $wxUSE_PROTOCOL_FILE = yes; then
8123 result=no
8124 else
8125 result=yes
8126 fi
8127 else
8128 result=$wxUSE_PROTOCOL_FILE
8129 fi
8130
8131 { echo "$as_me:$LINENO: result: $result" >&5
8132 echo "${ECHO_T}$result" >&6; }
8133
8134
8135
8136 enablestring=
8137 defaultval=$wxUSE_ALL_FEATURES
8138 if test -z "$defaultval"; then
8139 if test x"$enablestring" = xdisable; then
8140 defaultval=yes
8141 else
8142 defaultval=no
8143 fi
8144 fi
8145
8146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8147 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8148 # Check whether --enable-threads was given.
8149 if test "${enable_threads+set}" = set; then
8150 enableval=$enable_threads;
8151 if test "$enableval" = yes; then
8152 wx_cv_use_threads='wxUSE_THREADS=yes'
8153 else
8154 wx_cv_use_threads='wxUSE_THREADS=no'
8155 fi
8156
8157 else
8158
8159 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8160
8161 fi
8162
8163
8164 eval "$wx_cv_use_threads"
8165
8166 if test x"$enablestring" = xdisable; then
8167 if test $wxUSE_THREADS = yes; then
8168 result=no
8169 else
8170 result=yes
8171 fi
8172 else
8173 result=$wxUSE_THREADS
8174 fi
8175
8176 { echo "$as_me:$LINENO: result: $result" >&5
8177 echo "${ECHO_T}$result" >&6; }
8178
8179
8180
8181 enablestring=
8182 defaultval=
8183 if test -z "$defaultval"; then
8184 if test x"$enablestring" = xdisable; then
8185 defaultval=yes
8186 else
8187 defaultval=no
8188 fi
8189 fi
8190
8191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8192 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8193 # Check whether --enable-iniconf was given.
8194 if test "${enable_iniconf+set}" = set; then
8195 enableval=$enable_iniconf;
8196 if test "$enableval" = yes; then
8197 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8198 else
8199 wx_cv_use_iniconf='wxUSE_INICONF=no'
8200 fi
8201
8202 else
8203
8204 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8205
8206 fi
8207
8208
8209 eval "$wx_cv_use_iniconf"
8210
8211 if test x"$enablestring" = xdisable; then
8212 if test $wxUSE_INICONF = yes; then
8213 result=no
8214 else
8215 result=yes
8216 fi
8217 else
8218 result=$wxUSE_INICONF
8219 fi
8220
8221 { echo "$as_me:$LINENO: result: $result" >&5
8222 echo "${ECHO_T}$result" >&6; }
8223
8224
8225 enablestring=
8226 defaultval=$wxUSE_ALL_FEATURES
8227 if test -z "$defaultval"; then
8228 if test x"$enablestring" = xdisable; then
8229 defaultval=yes
8230 else
8231 defaultval=no
8232 fi
8233 fi
8234
8235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8236 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8237 # Check whether --enable-regkey was given.
8238 if test "${enable_regkey+set}" = set; then
8239 enableval=$enable_regkey;
8240 if test "$enableval" = yes; then
8241 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8242 else
8243 wx_cv_use_regkey='wxUSE_REGKEY=no'
8244 fi
8245
8246 else
8247
8248 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8249
8250 fi
8251
8252
8253 eval "$wx_cv_use_regkey"
8254
8255 if test x"$enablestring" = xdisable; then
8256 if test $wxUSE_REGKEY = yes; then
8257 result=no
8258 else
8259 result=yes
8260 fi
8261 else
8262 result=$wxUSE_REGKEY
8263 fi
8264
8265 { echo "$as_me:$LINENO: result: $result" >&5
8266 echo "${ECHO_T}$result" >&6; }
8267
8268
8269 if test "$wxUSE_GUI" = "yes"; then
8270
8271
8272
8273 enablestring=
8274 defaultval=$wxUSE_ALL_FEATURES
8275 if test -z "$defaultval"; then
8276 if test x"$enablestring" = xdisable; then
8277 defaultval=yes
8278 else
8279 defaultval=no
8280 fi
8281 fi
8282
8283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8284 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8285 # Check whether --enable-docview was given.
8286 if test "${enable_docview+set}" = set; then
8287 enableval=$enable_docview;
8288 if test "$enableval" = yes; then
8289 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8290 else
8291 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8292 fi
8293
8294 else
8295
8296 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8297
8298 fi
8299
8300
8301 eval "$wx_cv_use_docview"
8302
8303 if test x"$enablestring" = xdisable; then
8304 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8305 result=no
8306 else
8307 result=yes
8308 fi
8309 else
8310 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8311 fi
8312
8313 { echo "$as_me:$LINENO: result: $result" >&5
8314 echo "${ECHO_T}$result" >&6; }
8315
8316
8317 enablestring=
8318 defaultval=$wxUSE_ALL_FEATURES
8319 if test -z "$defaultval"; then
8320 if test x"$enablestring" = xdisable; then
8321 defaultval=yes
8322 else
8323 defaultval=no
8324 fi
8325 fi
8326
8327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8328 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8329 # Check whether --enable-help was given.
8330 if test "${enable_help+set}" = set; then
8331 enableval=$enable_help;
8332 if test "$enableval" = yes; then
8333 wx_cv_use_help='wxUSE_HELP=yes'
8334 else
8335 wx_cv_use_help='wxUSE_HELP=no'
8336 fi
8337
8338 else
8339
8340 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8341
8342 fi
8343
8344
8345 eval "$wx_cv_use_help"
8346
8347 if test x"$enablestring" = xdisable; then
8348 if test $wxUSE_HELP = yes; then
8349 result=no
8350 else
8351 result=yes
8352 fi
8353 else
8354 result=$wxUSE_HELP
8355 fi
8356
8357 { echo "$as_me:$LINENO: result: $result" >&5
8358 echo "${ECHO_T}$result" >&6; }
8359
8360
8361 enablestring=
8362 defaultval=$wxUSE_ALL_FEATURES
8363 if test -z "$defaultval"; then
8364 if test x"$enablestring" = xdisable; then
8365 defaultval=yes
8366 else
8367 defaultval=no
8368 fi
8369 fi
8370
8371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8372 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8373 # Check whether --enable-mshtmlhelp was given.
8374 if test "${enable_mshtmlhelp+set}" = set; then
8375 enableval=$enable_mshtmlhelp;
8376 if test "$enableval" = yes; then
8377 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8378 else
8379 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8380 fi
8381
8382 else
8383
8384 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8385
8386 fi
8387
8388
8389 eval "$wx_cv_use_mshtmlhelp"
8390
8391 if test x"$enablestring" = xdisable; then
8392 if test $wxUSE_MS_HTML_HELP = yes; then
8393 result=no
8394 else
8395 result=yes
8396 fi
8397 else
8398 result=$wxUSE_MS_HTML_HELP
8399 fi
8400
8401 { echo "$as_me:$LINENO: result: $result" >&5
8402 echo "${ECHO_T}$result" >&6; }
8403
8404
8405 enablestring=
8406 defaultval=$wxUSE_ALL_FEATURES
8407 if test -z "$defaultval"; then
8408 if test x"$enablestring" = xdisable; then
8409 defaultval=yes
8410 else
8411 defaultval=no
8412 fi
8413 fi
8414
8415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8416 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8417 # Check whether --enable-html was given.
8418 if test "${enable_html+set}" = set; then
8419 enableval=$enable_html;
8420 if test "$enableval" = yes; then
8421 wx_cv_use_html='wxUSE_HTML=yes'
8422 else
8423 wx_cv_use_html='wxUSE_HTML=no'
8424 fi
8425
8426 else
8427
8428 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8429
8430 fi
8431
8432
8433 eval "$wx_cv_use_html"
8434
8435 if test x"$enablestring" = xdisable; then
8436 if test $wxUSE_HTML = yes; then
8437 result=no
8438 else
8439 result=yes
8440 fi
8441 else
8442 result=$wxUSE_HTML
8443 fi
8444
8445 { echo "$as_me:$LINENO: result: $result" >&5
8446 echo "${ECHO_T}$result" >&6; }
8447
8448
8449 enablestring=
8450 defaultval=$wxUSE_ALL_FEATURES
8451 if test -z "$defaultval"; then
8452 if test x"$enablestring" = xdisable; then
8453 defaultval=yes
8454 else
8455 defaultval=no
8456 fi
8457 fi
8458
8459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8460 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8461 # Check whether --enable-htmlhelp was given.
8462 if test "${enable_htmlhelp+set}" = set; then
8463 enableval=$enable_htmlhelp;
8464 if test "$enableval" = yes; then
8465 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8466 else
8467 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8468 fi
8469
8470 else
8471
8472 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8473
8474 fi
8475
8476
8477 eval "$wx_cv_use_htmlhelp"
8478
8479 if test x"$enablestring" = xdisable; then
8480 if test $wxUSE_WXHTML_HELP = yes; then
8481 result=no
8482 else
8483 result=yes
8484 fi
8485 else
8486 result=$wxUSE_WXHTML_HELP
8487 fi
8488
8489 { echo "$as_me:$LINENO: result: $result" >&5
8490 echo "${ECHO_T}$result" >&6; }
8491
8492
8493 enablestring=
8494 defaultval=$wxUSE_ALL_FEATURES
8495 if test -z "$defaultval"; then
8496 if test x"$enablestring" = xdisable; then
8497 defaultval=yes
8498 else
8499 defaultval=no
8500 fi
8501 fi
8502
8503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8504 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8505 # Check whether --enable-xrc was given.
8506 if test "${enable_xrc+set}" = set; then
8507 enableval=$enable_xrc;
8508 if test "$enableval" = yes; then
8509 wx_cv_use_xrc='wxUSE_XRC=yes'
8510 else
8511 wx_cv_use_xrc='wxUSE_XRC=no'
8512 fi
8513
8514 else
8515
8516 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8517
8518 fi
8519
8520
8521 eval "$wx_cv_use_xrc"
8522
8523 if test x"$enablestring" = xdisable; then
8524 if test $wxUSE_XRC = yes; then
8525 result=no
8526 else
8527 result=yes
8528 fi
8529 else
8530 result=$wxUSE_XRC
8531 fi
8532
8533 { echo "$as_me:$LINENO: result: $result" >&5
8534 echo "${ECHO_T}$result" >&6; }
8535
8536
8537 enablestring=
8538 defaultval=$wxUSE_ALL_FEATURES
8539 if test -z "$defaultval"; then
8540 if test x"$enablestring" = xdisable; then
8541 defaultval=yes
8542 else
8543 defaultval=no
8544 fi
8545 fi
8546
8547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8548 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8549 # Check whether --enable-aui was given.
8550 if test "${enable_aui+set}" = set; then
8551 enableval=$enable_aui;
8552 if test "$enableval" = yes; then
8553 wx_cv_use_aui='wxUSE_AUI=yes'
8554 else
8555 wx_cv_use_aui='wxUSE_AUI=no'
8556 fi
8557
8558 else
8559
8560 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8561
8562 fi
8563
8564
8565 eval "$wx_cv_use_aui"
8566
8567 if test x"$enablestring" = xdisable; then
8568 if test $wxUSE_AUI = yes; then
8569 result=no
8570 else
8571 result=yes
8572 fi
8573 else
8574 result=$wxUSE_AUI
8575 fi
8576
8577 { echo "$as_me:$LINENO: result: $result" >&5
8578 echo "${ECHO_T}$result" >&6; }
8579
8580
8581 enablestring=
8582 defaultval=$wxUSE_ALL_FEATURES
8583 if test -z "$defaultval"; then
8584 if test x"$enablestring" = xdisable; then
8585 defaultval=yes
8586 else
8587 defaultval=no
8588 fi
8589 fi
8590
8591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8592 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8593 # Check whether --enable-propgrid was given.
8594 if test "${enable_propgrid+set}" = set; then
8595 enableval=$enable_propgrid;
8596 if test "$enableval" = yes; then
8597 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8598 else
8599 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8600 fi
8601
8602 else
8603
8604 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8605
8606 fi
8607
8608
8609 eval "$wx_cv_use_propgrid"
8610
8611 if test x"$enablestring" = xdisable; then
8612 if test $wxUSE_PROPGRID = yes; then
8613 result=no
8614 else
8615 result=yes
8616 fi
8617 else
8618 result=$wxUSE_PROPGRID
8619 fi
8620
8621 { echo "$as_me:$LINENO: result: $result" >&5
8622 echo "${ECHO_T}$result" >&6; }
8623
8624
8625 enablestring=
8626 defaultval=$wxUSE_ALL_FEATURES
8627 if test -z "$defaultval"; then
8628 if test x"$enablestring" = xdisable; then
8629 defaultval=yes
8630 else
8631 defaultval=no
8632 fi
8633 fi
8634
8635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8636 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8637 # Check whether --enable-stc was given.
8638 if test "${enable_stc+set}" = set; then
8639 enableval=$enable_stc;
8640 if test "$enableval" = yes; then
8641 wx_cv_use_stc='wxUSE_STC=yes'
8642 else
8643 wx_cv_use_stc='wxUSE_STC=no'
8644 fi
8645
8646 else
8647
8648 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8649
8650 fi
8651
8652
8653 eval "$wx_cv_use_stc"
8654
8655 if test x"$enablestring" = xdisable; then
8656 if test $wxUSE_STC = yes; then
8657 result=no
8658 else
8659 result=yes
8660 fi
8661 else
8662 result=$wxUSE_STC
8663 fi
8664
8665 { echo "$as_me:$LINENO: result: $result" >&5
8666 echo "${ECHO_T}$result" >&6; }
8667
8668
8669 enablestring=
8670 defaultval=$wxUSE_ALL_FEATURES
8671 if test -z "$defaultval"; then
8672 if test x"$enablestring" = xdisable; then
8673 defaultval=yes
8674 else
8675 defaultval=no
8676 fi
8677 fi
8678
8679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8680 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8681 # Check whether --enable-constraints was given.
8682 if test "${enable_constraints+set}" = set; then
8683 enableval=$enable_constraints;
8684 if test "$enableval" = yes; then
8685 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8686 else
8687 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8688 fi
8689
8690 else
8691
8692 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8693
8694 fi
8695
8696
8697 eval "$wx_cv_use_constraints"
8698
8699 if test x"$enablestring" = xdisable; then
8700 if test $wxUSE_CONSTRAINTS = yes; then
8701 result=no
8702 else
8703 result=yes
8704 fi
8705 else
8706 result=$wxUSE_CONSTRAINTS
8707 fi
8708
8709 { echo "$as_me:$LINENO: result: $result" >&5
8710 echo "${ECHO_T}$result" >&6; }
8711
8712
8713 enablestring=
8714 defaultval=$wxUSE_ALL_FEATURES
8715 if test -z "$defaultval"; then
8716 if test x"$enablestring" = xdisable; then
8717 defaultval=yes
8718 else
8719 defaultval=no
8720 fi
8721 fi
8722
8723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8724 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8725 # Check whether --enable-loggui was given.
8726 if test "${enable_loggui+set}" = set; then
8727 enableval=$enable_loggui;
8728 if test "$enableval" = yes; then
8729 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8730 else
8731 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8732 fi
8733
8734 else
8735
8736 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8737
8738 fi
8739
8740
8741 eval "$wx_cv_use_loggui"
8742
8743 if test x"$enablestring" = xdisable; then
8744 if test $wxUSE_LOGGUI = yes; then
8745 result=no
8746 else
8747 result=yes
8748 fi
8749 else
8750 result=$wxUSE_LOGGUI
8751 fi
8752
8753 { echo "$as_me:$LINENO: result: $result" >&5
8754 echo "${ECHO_T}$result" >&6; }
8755
8756
8757 enablestring=
8758 defaultval=$wxUSE_ALL_FEATURES
8759 if test -z "$defaultval"; then
8760 if test x"$enablestring" = xdisable; then
8761 defaultval=yes
8762 else
8763 defaultval=no
8764 fi
8765 fi
8766
8767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8768 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8769 # Check whether --enable-logwin was given.
8770 if test "${enable_logwin+set}" = set; then
8771 enableval=$enable_logwin;
8772 if test "$enableval" = yes; then
8773 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8774 else
8775 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8776 fi
8777
8778 else
8779
8780 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8781
8782 fi
8783
8784
8785 eval "$wx_cv_use_logwin"
8786
8787 if test x"$enablestring" = xdisable; then
8788 if test $wxUSE_LOGWINDOW = yes; then
8789 result=no
8790 else
8791 result=yes
8792 fi
8793 else
8794 result=$wxUSE_LOGWINDOW
8795 fi
8796
8797 { echo "$as_me:$LINENO: result: $result" >&5
8798 echo "${ECHO_T}$result" >&6; }
8799
8800
8801 enablestring=
8802 defaultval=$wxUSE_ALL_FEATURES
8803 if test -z "$defaultval"; then
8804 if test x"$enablestring" = xdisable; then
8805 defaultval=yes
8806 else
8807 defaultval=no
8808 fi
8809 fi
8810
8811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8812 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8813 # Check whether --enable-logdialog was given.
8814 if test "${enable_logdialog+set}" = set; then
8815 enableval=$enable_logdialog;
8816 if test "$enableval" = yes; then
8817 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8818 else
8819 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8820 fi
8821
8822 else
8823
8824 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8825
8826 fi
8827
8828
8829 eval "$wx_cv_use_logdialog"
8830
8831 if test x"$enablestring" = xdisable; then
8832 if test $wxUSE_LOGDIALOG = yes; then
8833 result=no
8834 else
8835 result=yes
8836 fi
8837 else
8838 result=$wxUSE_LOGDIALOG
8839 fi
8840
8841 { echo "$as_me:$LINENO: result: $result" >&5
8842 echo "${ECHO_T}$result" >&6; }
8843
8844
8845 enablestring=
8846 defaultval=$wxUSE_ALL_FEATURES
8847 if test -z "$defaultval"; then
8848 if test x"$enablestring" = xdisable; then
8849 defaultval=yes
8850 else
8851 defaultval=no
8852 fi
8853 fi
8854
8855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8856 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8857 # Check whether --enable-mdi was given.
8858 if test "${enable_mdi+set}" = set; then
8859 enableval=$enable_mdi;
8860 if test "$enableval" = yes; then
8861 wx_cv_use_mdi='wxUSE_MDI=yes'
8862 else
8863 wx_cv_use_mdi='wxUSE_MDI=no'
8864 fi
8865
8866 else
8867
8868 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8869
8870 fi
8871
8872
8873 eval "$wx_cv_use_mdi"
8874
8875 if test x"$enablestring" = xdisable; then
8876 if test $wxUSE_MDI = yes; then
8877 result=no
8878 else
8879 result=yes
8880 fi
8881 else
8882 result=$wxUSE_MDI
8883 fi
8884
8885 { echo "$as_me:$LINENO: result: $result" >&5
8886 echo "${ECHO_T}$result" >&6; }
8887
8888
8889 enablestring=
8890 defaultval=$wxUSE_ALL_FEATURES
8891 if test -z "$defaultval"; then
8892 if test x"$enablestring" = xdisable; then
8893 defaultval=yes
8894 else
8895 defaultval=no
8896 fi
8897 fi
8898
8899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8900 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8901 # Check whether --enable-mdidoc was given.
8902 if test "${enable_mdidoc+set}" = set; then
8903 enableval=$enable_mdidoc;
8904 if test "$enableval" = yes; then
8905 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8906 else
8907 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8908 fi
8909
8910 else
8911
8912 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8913
8914 fi
8915
8916
8917 eval "$wx_cv_use_mdidoc"
8918
8919 if test x"$enablestring" = xdisable; then
8920 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8921 result=no
8922 else
8923 result=yes
8924 fi
8925 else
8926 result=$wxUSE_MDI_ARCHITECTURE
8927 fi
8928
8929 { echo "$as_me:$LINENO: result: $result" >&5
8930 echo "${ECHO_T}$result" >&6; }
8931
8932
8933 enablestring=
8934 defaultval=$wxUSE_ALL_FEATURES
8935 if test -z "$defaultval"; then
8936 if test x"$enablestring" = xdisable; then
8937 defaultval=yes
8938 else
8939 defaultval=no
8940 fi
8941 fi
8942
8943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8944 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8945 # Check whether --enable-mediactrl was given.
8946 if test "${enable_mediactrl+set}" = set; then
8947 enableval=$enable_mediactrl;
8948 if test "$enableval" = yes; then
8949 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8950 else
8951 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8952 fi
8953
8954 else
8955
8956 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8957
8958 fi
8959
8960
8961 eval "$wx_cv_use_mediactrl"
8962
8963 if test x"$enablestring" = xdisable; then
8964 if test $wxUSE_MEDIACTRL = yes; then
8965 result=no
8966 else
8967 result=yes
8968 fi
8969 else
8970 result=$wxUSE_MEDIACTRL
8971 fi
8972
8973 { echo "$as_me:$LINENO: result: $result" >&5
8974 echo "${ECHO_T}$result" >&6; }
8975
8976
8977 enablestring=
8978 defaultval=$wxUSE_ALL_FEATURES
8979 if test -z "$defaultval"; then
8980 if test x"$enablestring" = xdisable; then
8981 defaultval=yes
8982 else
8983 defaultval=no
8984 fi
8985 fi
8986
8987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8988 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8989 # Check whether --enable-gstreamer8 was given.
8990 if test "${enable_gstreamer8+set}" = set; then
8991 enableval=$enable_gstreamer8;
8992 if test "$enableval" = yes; then
8993 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8994 else
8995 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8996 fi
8997
8998 else
8999
9000 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9001
9002 fi
9003
9004
9005 eval "$wx_cv_use_gstreamer8"
9006
9007 if test x"$enablestring" = xdisable; then
9008 if test $wxUSE_GSTREAMER8 = yes; then
9009 result=no
9010 else
9011 result=yes
9012 fi
9013 else
9014 result=$wxUSE_GSTREAMER8
9015 fi
9016
9017 { echo "$as_me:$LINENO: result: $result" >&5
9018 echo "${ECHO_T}$result" >&6; }
9019
9020
9021 enablestring=
9022 defaultval=$wxUSE_ALL_FEATURES
9023 if test -z "$defaultval"; then
9024 if test x"$enablestring" = xdisable; then
9025 defaultval=yes
9026 else
9027 defaultval=no
9028 fi
9029 fi
9030
9031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9032 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9033 # Check whether --enable-webkit was given.
9034 if test "${enable_webkit+set}" = set; then
9035 enableval=$enable_webkit;
9036 if test "$enableval" = yes; then
9037 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9038 else
9039 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9040 fi
9041
9042 else
9043
9044 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9045
9046 fi
9047
9048
9049 eval "$wx_cv_use_webkit"
9050
9051 if test x"$enablestring" = xdisable; then
9052 if test $wxUSE_WEBKIT = yes; then
9053 result=no
9054 else
9055 result=yes
9056 fi
9057 else
9058 result=$wxUSE_WEBKIT
9059 fi
9060
9061 { echo "$as_me:$LINENO: result: $result" >&5
9062 echo "${ECHO_T}$result" >&6; }
9063
9064
9065 enablestring=
9066 defaultval=$wxUSE_ALL_FEATURES
9067 if test -z "$defaultval"; then
9068 if test x"$enablestring" = xdisable; then
9069 defaultval=yes
9070 else
9071 defaultval=no
9072 fi
9073 fi
9074
9075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9076 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9077 # Check whether --enable-richtext was given.
9078 if test "${enable_richtext+set}" = set; then
9079 enableval=$enable_richtext;
9080 if test "$enableval" = yes; then
9081 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9082 else
9083 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9084 fi
9085
9086 else
9087
9088 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9089
9090 fi
9091
9092
9093 eval "$wx_cv_use_richtext"
9094
9095 if test x"$enablestring" = xdisable; then
9096 if test $wxUSE_RICHTEXT = yes; then
9097 result=no
9098 else
9099 result=yes
9100 fi
9101 else
9102 result=$wxUSE_RICHTEXT
9103 fi
9104
9105 { echo "$as_me:$LINENO: result: $result" >&5
9106 echo "${ECHO_T}$result" >&6; }
9107
9108
9109 enablestring=
9110 defaultval=$wxUSE_ALL_FEATURES
9111 if test -z "$defaultval"; then
9112 if test x"$enablestring" = xdisable; then
9113 defaultval=yes
9114 else
9115 defaultval=no
9116 fi
9117 fi
9118
9119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9120 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9121 # Check whether --enable-graphics_ctx was given.
9122 if test "${enable_graphics_ctx+set}" = set; then
9123 enableval=$enable_graphics_ctx;
9124 if test "$enableval" = yes; then
9125 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9126 else
9127 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9128 fi
9129
9130 else
9131
9132 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9133
9134 fi
9135
9136
9137 eval "$wx_cv_use_graphics_ctx"
9138
9139 if test x"$enablestring" = xdisable; then
9140 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9141 result=no
9142 else
9143 result=yes
9144 fi
9145 else
9146 result=$wxUSE_GRAPHICS_CONTEXT
9147 fi
9148
9149 { echo "$as_me:$LINENO: result: $result" >&5
9150 echo "${ECHO_T}$result" >&6; }
9151
9152
9153 enablestring=
9154 defaultval=$wxUSE_ALL_FEATURES
9155 if test -z "$defaultval"; then
9156 if test x"$enablestring" = xdisable; then
9157 defaultval=yes
9158 else
9159 defaultval=no
9160 fi
9161 fi
9162
9163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9164 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9165 # Check whether --enable-postscript was given.
9166 if test "${enable_postscript+set}" = set; then
9167 enableval=$enable_postscript;
9168 if test "$enableval" = yes; then
9169 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9170 else
9171 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9172 fi
9173
9174 else
9175
9176 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9177
9178 fi
9179
9180
9181 eval "$wx_cv_use_postscript"
9182
9183 if test x"$enablestring" = xdisable; then
9184 if test $wxUSE_POSTSCRIPT = yes; then
9185 result=no
9186 else
9187 result=yes
9188 fi
9189 else
9190 result=$wxUSE_POSTSCRIPT
9191 fi
9192
9193 { echo "$as_me:$LINENO: result: $result" >&5
9194 echo "${ECHO_T}$result" >&6; }
9195
9196
9197 enablestring=
9198 defaultval=$wxUSE_ALL_FEATURES
9199 if test -z "$defaultval"; then
9200 if test x"$enablestring" = xdisable; then
9201 defaultval=yes
9202 else
9203 defaultval=no
9204 fi
9205 fi
9206
9207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9208 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9209 # Check whether --enable-printarch was given.
9210 if test "${enable_printarch+set}" = set; then
9211 enableval=$enable_printarch;
9212 if test "$enableval" = yes; then
9213 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9214 else
9215 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9216 fi
9217
9218 else
9219
9220 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9221
9222 fi
9223
9224
9225 eval "$wx_cv_use_printarch"
9226
9227 if test x"$enablestring" = xdisable; then
9228 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9229 result=no
9230 else
9231 result=yes
9232 fi
9233 else
9234 result=$wxUSE_PRINTING_ARCHITECTURE
9235 fi
9236
9237 { echo "$as_me:$LINENO: result: $result" >&5
9238 echo "${ECHO_T}$result" >&6; }
9239
9240
9241 enablestring=
9242 defaultval=$wxUSE_ALL_FEATURES
9243 if test -z "$defaultval"; then
9244 if test x"$enablestring" = xdisable; then
9245 defaultval=yes
9246 else
9247 defaultval=no
9248 fi
9249 fi
9250
9251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9252 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9253 # Check whether --enable-svg was given.
9254 if test "${enable_svg+set}" = set; then
9255 enableval=$enable_svg;
9256 if test "$enableval" = yes; then
9257 wx_cv_use_svg='wxUSE_SVG=yes'
9258 else
9259 wx_cv_use_svg='wxUSE_SVG=no'
9260 fi
9261
9262 else
9263
9264 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9265
9266 fi
9267
9268
9269 eval "$wx_cv_use_svg"
9270
9271 if test x"$enablestring" = xdisable; then
9272 if test $wxUSE_SVG = yes; then
9273 result=no
9274 else
9275 result=yes
9276 fi
9277 else
9278 result=$wxUSE_SVG
9279 fi
9280
9281 { echo "$as_me:$LINENO: result: $result" >&5
9282 echo "${ECHO_T}$result" >&6; }
9283
9284
9285
9286
9287 enablestring=
9288 defaultval=$wxUSE_ALL_FEATURES
9289 if test -z "$defaultval"; then
9290 if test x"$enablestring" = xdisable; then
9291 defaultval=yes
9292 else
9293 defaultval=no
9294 fi
9295 fi
9296
9297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9298 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9299 # Check whether --enable-clipboard was given.
9300 if test "${enable_clipboard+set}" = set; then
9301 enableval=$enable_clipboard;
9302 if test "$enableval" = yes; then
9303 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9304 else
9305 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9306 fi
9307
9308 else
9309
9310 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9311
9312 fi
9313
9314
9315 eval "$wx_cv_use_clipboard"
9316
9317 if test x"$enablestring" = xdisable; then
9318 if test $wxUSE_CLIPBOARD = yes; then
9319 result=no
9320 else
9321 result=yes
9322 fi
9323 else
9324 result=$wxUSE_CLIPBOARD
9325 fi
9326
9327 { echo "$as_me:$LINENO: result: $result" >&5
9328 echo "${ECHO_T}$result" >&6; }
9329
9330
9331 enablestring=
9332 defaultval=$wxUSE_ALL_FEATURES
9333 if test -z "$defaultval"; then
9334 if test x"$enablestring" = xdisable; then
9335 defaultval=yes
9336 else
9337 defaultval=no
9338 fi
9339 fi
9340
9341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9342 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9343 # Check whether --enable-dnd was given.
9344 if test "${enable_dnd+set}" = set; then
9345 enableval=$enable_dnd;
9346 if test "$enableval" = yes; then
9347 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9348 else
9349 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9350 fi
9351
9352 else
9353
9354 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9355
9356 fi
9357
9358
9359 eval "$wx_cv_use_dnd"
9360
9361 if test x"$enablestring" = xdisable; then
9362 if test $wxUSE_DRAG_AND_DROP = yes; then
9363 result=no
9364 else
9365 result=yes
9366 fi
9367 else
9368 result=$wxUSE_DRAG_AND_DROP
9369 fi
9370
9371 { echo "$as_me:$LINENO: result: $result" >&5
9372 echo "${ECHO_T}$result" >&6; }
9373
9374
9375 enablestring=
9376 defaultval=$wxUSE_ALL_FEATURES
9377 if test -z "$defaultval"; then
9378 if test x"$enablestring" = xdisable; then
9379 defaultval=yes
9380 else
9381 defaultval=no
9382 fi
9383 fi
9384
9385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9386 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9387 # Check whether --enable-metafile was given.
9388 if test "${enable_metafile+set}" = set; then
9389 enableval=$enable_metafile;
9390 if test "$enableval" = yes; then
9391 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9392 else
9393 wx_cv_use_metafile='wxUSE_METAFILE=no'
9394 fi
9395
9396 else
9397
9398 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9399
9400 fi
9401
9402
9403 eval "$wx_cv_use_metafile"
9404
9405 if test x"$enablestring" = xdisable; then
9406 if test $wxUSE_METAFILE = yes; then
9407 result=no
9408 else
9409 result=yes
9410 fi
9411 else
9412 result=$wxUSE_METAFILE
9413 fi
9414
9415 { echo "$as_me:$LINENO: result: $result" >&5
9416 echo "${ECHO_T}$result" >&6; }
9417
9418
9419
9420 DEFAULT_wxUSE_CONTROLS=none
9421
9422 enablestring=disable
9423 defaultval=
9424 if test -z "$defaultval"; then
9425 if test x"$enablestring" = xdisable; then
9426 defaultval=yes
9427 else
9428 defaultval=no
9429 fi
9430 fi
9431
9432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9433 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9434 # Check whether --enable-controls was given.
9435 if test "${enable_controls+set}" = set; then
9436 enableval=$enable_controls;
9437 if test "$enableval" = yes; then
9438 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9439 else
9440 wx_cv_use_controls='wxUSE_CONTROLS=no'
9441 fi
9442
9443 else
9444
9445 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9446
9447 fi
9448
9449
9450 eval "$wx_cv_use_controls"
9451
9452 if test x"$enablestring" = xdisable; then
9453 if test $wxUSE_CONTROLS = yes; then
9454 result=no
9455 else
9456 result=yes
9457 fi
9458 else
9459 result=$wxUSE_CONTROLS
9460 fi
9461
9462 { echo "$as_me:$LINENO: result: $result" >&5
9463 echo "${ECHO_T}$result" >&6; }
9464
9465
9466 if test "$wxUSE_CONTROLS" = "yes"; then
9467 DEFAULT_wxUSE_ACCEL=yes
9468 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9469 DEFAULT_wxUSE_BMPBUTTON=yes
9470 DEFAULT_wxUSE_BUTTON=yes
9471 DEFAULT_wxUSE_CALCTRL=yes
9472 DEFAULT_wxUSE_CARET=yes
9473 DEFAULT_wxUSE_COMBOBOX=yes
9474 DEFAULT_wxUSE_CHECKBOX=yes
9475 DEFAULT_wxUSE_CHECKLISTBOX=yes
9476 DEFAULT_wxUSE_CHOICE=yes
9477 DEFAULT_wxUSE_CHOICEBOOK=yes
9478 DEFAULT_wxUSE_COLLPANE=yes
9479 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9480 DEFAULT_wxUSE_COMBOBOX=yes
9481 DEFAULT_wxUSE_DATEPICKCTRL=yes
9482 DEFAULT_wxUSE_DISPLAY=yes
9483 DEFAULT_wxUSE_DETECT_SM=yes
9484 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9485 DEFAULT_wxUSE_FILECTRL=yes
9486 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9487 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9488 DEFAULT_wxUSE_GAUGE=yes
9489 DEFAULT_wxUSE_GRID=yes
9490 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9491 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9492 DEFAULT_wxUSE_IMAGLIST=yes
9493 DEFAULT_wxUSE_LISTBOOK=yes
9494 DEFAULT_wxUSE_LISTBOX=yes
9495 DEFAULT_wxUSE_LISTCTRL=yes
9496 DEFAULT_wxUSE_NOTEBOOK=yes
9497 DEFAULT_wxUSE_RADIOBOX=yes
9498 DEFAULT_wxUSE_RADIOBTN=yes
9499 DEFAULT_wxUSE_SASH=yes
9500 DEFAULT_wxUSE_SCROLLBAR=yes
9501 DEFAULT_wxUSE_SEARCHCTRL=yes
9502 DEFAULT_wxUSE_SLIDER=yes
9503 DEFAULT_wxUSE_SPINBTN=yes
9504 DEFAULT_wxUSE_SPINCTRL=yes
9505 DEFAULT_wxUSE_SPLITTER=yes
9506 DEFAULT_wxUSE_STATBMP=yes
9507 DEFAULT_wxUSE_STATBOX=yes
9508 DEFAULT_wxUSE_STATLINE=yes
9509 DEFAULT_wxUSE_STATUSBAR=yes
9510 DEFAULT_wxUSE_TAB_DIALOG=yes
9511 DEFAULT_wxUSE_TOGGLEBTN=yes
9512 DEFAULT_wxUSE_TOOLBAR=yes
9513 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9514 DEFAULT_wxUSE_TOOLTIPS=yes
9515 DEFAULT_wxUSE_TREEBOOK=yes
9516 DEFAULT_wxUSE_TOOLBOOK=yes
9517 DEFAULT_wxUSE_TREECTRL=yes
9518 DEFAULT_wxUSE_POPUPWIN=yes
9519 DEFAULT_wxUSE_TIPWINDOW=yes
9520 elif test "$wxUSE_CONTROLS" = "no"; then
9521 DEFAULT_wxUSE_ACCEL=no
9522 DEFAULT_wxUSE_ANIMATIONCTRL=no
9523 DEFAULT_wxUSE_BMPBUTTON=no
9524 DEFAULT_wxUSE_BUTTON=no
9525 DEFAULT_wxUSE_CALCTRL=no
9526 DEFAULT_wxUSE_CARET=no
9527 DEFAULT_wxUSE_COLLPANE=no
9528 DEFAULT_wxUSE_COMBOBOX=no
9529 DEFAULT_wxUSE_CHECKBOX=no
9530 DEFAULT_wxUSE_CHECKLISTBOX=no
9531 DEFAULT_wxUSE_CHOICE=no
9532 DEFAULT_wxUSE_CHOICEBOOK=no
9533 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9534 DEFAULT_wxUSE_COMBOBOX=no
9535 DEFAULT_wxUSE_DATEPICKCTRL=no
9536 DEFAULT_wxUSE_DISPLAY=no
9537 DEFAULT_wxUSE_DETECT_SM=no
9538 DEFAULT_wxUSE_DIRPICKERCTRL=no
9539 DEFAULT_wxUSE_FILECTRL=no
9540 DEFAULT_wxUSE_FILEPICKERCTRL=no
9541 DEFAULT_wxUSE_FONTPICKERCTRL=no
9542 DEFAULT_wxUSE_GAUGE=no
9543 DEFAULT_wxUSE_GRID=no
9544 DEFAULT_wxUSE_HYPERLINKCTRL=no
9545 DEFAULT_wxUSE_DATAVIEWCTRL=no
9546 DEFAULT_wxUSE_IMAGLIST=no
9547 DEFAULT_wxUSE_LISTBOOK=no
9548 DEFAULT_wxUSE_LISTBOX=no
9549 DEFAULT_wxUSE_LISTCTRL=no
9550 DEFAULT_wxUSE_NOTEBOOK=no
9551 DEFAULT_wxUSE_RADIOBOX=no
9552 DEFAULT_wxUSE_RADIOBTN=no
9553 DEFAULT_wxUSE_SASH=no
9554 DEFAULT_wxUSE_SCROLLBAR=no
9555 DEFAULT_wxUSE_SEARCHCTRL=no
9556 DEFAULT_wxUSE_SLIDER=no
9557 DEFAULT_wxUSE_SPINBTN=no
9558 DEFAULT_wxUSE_SPINCTRL=no
9559 DEFAULT_wxUSE_SPLITTER=no
9560 DEFAULT_wxUSE_STATBMP=no
9561 DEFAULT_wxUSE_STATBOX=no
9562 DEFAULT_wxUSE_STATLINE=no
9563 DEFAULT_wxUSE_STATUSBAR=no
9564 DEFAULT_wxUSE_TAB_DIALOG=no
9565 DEFAULT_wxUSE_TOGGLEBTN=no
9566 DEFAULT_wxUSE_TOOLBAR=no
9567 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9568 DEFAULT_wxUSE_TOOLTIPS=no
9569 DEFAULT_wxUSE_TREEBOOK=no
9570 DEFAULT_wxUSE_TOOLBOOK=no
9571 DEFAULT_wxUSE_TREECTRL=no
9572 DEFAULT_wxUSE_POPUPWIN=no
9573 DEFAULT_wxUSE_TIPWINDOW=no
9574 fi
9575
9576
9577 enablestring=
9578 defaultval=$wxUSE_ALL_FEATURES
9579 if test -z "$defaultval"; then
9580 if test x"$enablestring" = xdisable; then
9581 defaultval=yes
9582 else
9583 defaultval=no
9584 fi
9585 fi
9586
9587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9588 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9589 # Check whether --enable-accel was given.
9590 if test "${enable_accel+set}" = set; then
9591 enableval=$enable_accel;
9592 if test "$enableval" = yes; then
9593 wx_cv_use_accel='wxUSE_ACCEL=yes'
9594 else
9595 wx_cv_use_accel='wxUSE_ACCEL=no'
9596 fi
9597
9598 else
9599
9600 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9601
9602 fi
9603
9604
9605 eval "$wx_cv_use_accel"
9606
9607 if test x"$enablestring" = xdisable; then
9608 if test $wxUSE_ACCEL = yes; then
9609 result=no
9610 else
9611 result=yes
9612 fi
9613 else
9614 result=$wxUSE_ACCEL
9615 fi
9616
9617 { echo "$as_me:$LINENO: result: $result" >&5
9618 echo "${ECHO_T}$result" >&6; }
9619
9620
9621 enablestring=
9622 defaultval=$wxUSE_ALL_FEATURES
9623 if test -z "$defaultval"; then
9624 if test x"$enablestring" = xdisable; then
9625 defaultval=yes
9626 else
9627 defaultval=no
9628 fi
9629 fi
9630
9631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9632 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9633 # Check whether --enable-animatectrl was given.
9634 if test "${enable_animatectrl+set}" = set; then
9635 enableval=$enable_animatectrl;
9636 if test "$enableval" = yes; then
9637 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9638 else
9639 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9640 fi
9641
9642 else
9643
9644 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9645
9646 fi
9647
9648
9649 eval "$wx_cv_use_animatectrl"
9650
9651 if test x"$enablestring" = xdisable; then
9652 if test $wxUSE_ANIMATIONCTRL = yes; then
9653 result=no
9654 else
9655 result=yes
9656 fi
9657 else
9658 result=$wxUSE_ANIMATIONCTRL
9659 fi
9660
9661 { echo "$as_me:$LINENO: result: $result" >&5
9662 echo "${ECHO_T}$result" >&6; }
9663
9664
9665 enablestring=
9666 defaultval=$wxUSE_ALL_FEATURES
9667 if test -z "$defaultval"; then
9668 if test x"$enablestring" = xdisable; then
9669 defaultval=yes
9670 else
9671 defaultval=no
9672 fi
9673 fi
9674
9675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9676 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9677 # Check whether --enable-button was given.
9678 if test "${enable_button+set}" = set; then
9679 enableval=$enable_button;
9680 if test "$enableval" = yes; then
9681 wx_cv_use_button='wxUSE_BUTTON=yes'
9682 else
9683 wx_cv_use_button='wxUSE_BUTTON=no'
9684 fi
9685
9686 else
9687
9688 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9689
9690 fi
9691
9692
9693 eval "$wx_cv_use_button"
9694
9695 if test x"$enablestring" = xdisable; then
9696 if test $wxUSE_BUTTON = yes; then
9697 result=no
9698 else
9699 result=yes
9700 fi
9701 else
9702 result=$wxUSE_BUTTON
9703 fi
9704
9705 { echo "$as_me:$LINENO: result: $result" >&5
9706 echo "${ECHO_T}$result" >&6; }
9707
9708
9709 enablestring=
9710 defaultval=$wxUSE_ALL_FEATURES
9711 if test -z "$defaultval"; then
9712 if test x"$enablestring" = xdisable; then
9713 defaultval=yes
9714 else
9715 defaultval=no
9716 fi
9717 fi
9718
9719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9720 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9721 # Check whether --enable-bmpbutton was given.
9722 if test "${enable_bmpbutton+set}" = set; then
9723 enableval=$enable_bmpbutton;
9724 if test "$enableval" = yes; then
9725 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9726 else
9727 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9728 fi
9729
9730 else
9731
9732 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9733
9734 fi
9735
9736
9737 eval "$wx_cv_use_bmpbutton"
9738
9739 if test x"$enablestring" = xdisable; then
9740 if test $wxUSE_BMPBUTTON = yes; then
9741 result=no
9742 else
9743 result=yes
9744 fi
9745 else
9746 result=$wxUSE_BMPBUTTON
9747 fi
9748
9749 { echo "$as_me:$LINENO: result: $result" >&5
9750 echo "${ECHO_T}$result" >&6; }
9751
9752
9753 enablestring=
9754 defaultval=$wxUSE_ALL_FEATURES
9755 if test -z "$defaultval"; then
9756 if test x"$enablestring" = xdisable; then
9757 defaultval=yes
9758 else
9759 defaultval=no
9760 fi
9761 fi
9762
9763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9764 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9765 # Check whether --enable-bmpcombobox was given.
9766 if test "${enable_bmpcombobox+set}" = set; then
9767 enableval=$enable_bmpcombobox;
9768 if test "$enableval" = yes; then
9769 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9770 else
9771 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9772 fi
9773
9774 else
9775
9776 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9777
9778 fi
9779
9780
9781 eval "$wx_cv_use_bmpcombobox"
9782
9783 if test x"$enablestring" = xdisable; then
9784 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9785 result=no
9786 else
9787 result=yes
9788 fi
9789 else
9790 result=$wxUSE_BITMAPCOMBOBOX
9791 fi
9792
9793 { echo "$as_me:$LINENO: result: $result" >&5
9794 echo "${ECHO_T}$result" >&6; }
9795
9796
9797 enablestring=
9798 defaultval=$wxUSE_ALL_FEATURES
9799 if test -z "$defaultval"; then
9800 if test x"$enablestring" = xdisable; then
9801 defaultval=yes
9802 else
9803 defaultval=no
9804 fi
9805 fi
9806
9807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9808 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9809 # Check whether --enable-calendar was given.
9810 if test "${enable_calendar+set}" = set; then
9811 enableval=$enable_calendar;
9812 if test "$enableval" = yes; then
9813 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9814 else
9815 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9816 fi
9817
9818 else
9819
9820 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9821
9822 fi
9823
9824
9825 eval "$wx_cv_use_calendar"
9826
9827 if test x"$enablestring" = xdisable; then
9828 if test $wxUSE_CALCTRL = yes; then
9829 result=no
9830 else
9831 result=yes
9832 fi
9833 else
9834 result=$wxUSE_CALCTRL
9835 fi
9836
9837 { echo "$as_me:$LINENO: result: $result" >&5
9838 echo "${ECHO_T}$result" >&6; }
9839
9840
9841 enablestring=
9842 defaultval=$wxUSE_ALL_FEATURES
9843 if test -z "$defaultval"; then
9844 if test x"$enablestring" = xdisable; then
9845 defaultval=yes
9846 else
9847 defaultval=no
9848 fi
9849 fi
9850
9851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9852 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9853 # Check whether --enable-caret was given.
9854 if test "${enable_caret+set}" = set; then
9855 enableval=$enable_caret;
9856 if test "$enableval" = yes; then
9857 wx_cv_use_caret='wxUSE_CARET=yes'
9858 else
9859 wx_cv_use_caret='wxUSE_CARET=no'
9860 fi
9861
9862 else
9863
9864 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9865
9866 fi
9867
9868
9869 eval "$wx_cv_use_caret"
9870
9871 if test x"$enablestring" = xdisable; then
9872 if test $wxUSE_CARET = yes; then
9873 result=no
9874 else
9875 result=yes
9876 fi
9877 else
9878 result=$wxUSE_CARET
9879 fi
9880
9881 { echo "$as_me:$LINENO: result: $result" >&5
9882 echo "${ECHO_T}$result" >&6; }
9883
9884
9885 enablestring=
9886 defaultval=$wxUSE_ALL_FEATURES
9887 if test -z "$defaultval"; then
9888 if test x"$enablestring" = xdisable; then
9889 defaultval=yes
9890 else
9891 defaultval=no
9892 fi
9893 fi
9894
9895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9896 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9897 # Check whether --enable-checkbox was given.
9898 if test "${enable_checkbox+set}" = set; then
9899 enableval=$enable_checkbox;
9900 if test "$enableval" = yes; then
9901 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9902 else
9903 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9904 fi
9905
9906 else
9907
9908 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9909
9910 fi
9911
9912
9913 eval "$wx_cv_use_checkbox"
9914
9915 if test x"$enablestring" = xdisable; then
9916 if test $wxUSE_CHECKBOX = yes; then
9917 result=no
9918 else
9919 result=yes
9920 fi
9921 else
9922 result=$wxUSE_CHECKBOX
9923 fi
9924
9925 { echo "$as_me:$LINENO: result: $result" >&5
9926 echo "${ECHO_T}$result" >&6; }
9927
9928
9929 enablestring=
9930 defaultval=$wxUSE_ALL_FEATURES
9931 if test -z "$defaultval"; then
9932 if test x"$enablestring" = xdisable; then
9933 defaultval=yes
9934 else
9935 defaultval=no
9936 fi
9937 fi
9938
9939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9940 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9941 # Check whether --enable-checklst was given.
9942 if test "${enable_checklst+set}" = set; then
9943 enableval=$enable_checklst;
9944 if test "$enableval" = yes; then
9945 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9946 else
9947 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9948 fi
9949
9950 else
9951
9952 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9953
9954 fi
9955
9956
9957 eval "$wx_cv_use_checklst"
9958
9959 if test x"$enablestring" = xdisable; then
9960 if test $wxUSE_CHECKLST = yes; then
9961 result=no
9962 else
9963 result=yes
9964 fi
9965 else
9966 result=$wxUSE_CHECKLST
9967 fi
9968
9969 { echo "$as_me:$LINENO: result: $result" >&5
9970 echo "${ECHO_T}$result" >&6; }
9971
9972
9973 enablestring=
9974 defaultval=$wxUSE_ALL_FEATURES
9975 if test -z "$defaultval"; then
9976 if test x"$enablestring" = xdisable; then
9977 defaultval=yes
9978 else
9979 defaultval=no
9980 fi
9981 fi
9982
9983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9984 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9985 # Check whether --enable-choice was given.
9986 if test "${enable_choice+set}" = set; then
9987 enableval=$enable_choice;
9988 if test "$enableval" = yes; then
9989 wx_cv_use_choice='wxUSE_CHOICE=yes'
9990 else
9991 wx_cv_use_choice='wxUSE_CHOICE=no'
9992 fi
9993
9994 else
9995
9996 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9997
9998 fi
9999
10000
10001 eval "$wx_cv_use_choice"
10002
10003 if test x"$enablestring" = xdisable; then
10004 if test $wxUSE_CHOICE = yes; then
10005 result=no
10006 else
10007 result=yes
10008 fi
10009 else
10010 result=$wxUSE_CHOICE
10011 fi
10012
10013 { echo "$as_me:$LINENO: result: $result" >&5
10014 echo "${ECHO_T}$result" >&6; }
10015
10016
10017 enablestring=
10018 defaultval=$wxUSE_ALL_FEATURES
10019 if test -z "$defaultval"; then
10020 if test x"$enablestring" = xdisable; then
10021 defaultval=yes
10022 else
10023 defaultval=no
10024 fi
10025 fi
10026
10027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10028 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10029 # Check whether --enable-choicebook was given.
10030 if test "${enable_choicebook+set}" = set; then
10031 enableval=$enable_choicebook;
10032 if test "$enableval" = yes; then
10033 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10034 else
10035 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10036 fi
10037
10038 else
10039
10040 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10041
10042 fi
10043
10044
10045 eval "$wx_cv_use_choicebook"
10046
10047 if test x"$enablestring" = xdisable; then
10048 if test $wxUSE_CHOICEBOOK = yes; then
10049 result=no
10050 else
10051 result=yes
10052 fi
10053 else
10054 result=$wxUSE_CHOICEBOOK
10055 fi
10056
10057 { echo "$as_me:$LINENO: result: $result" >&5
10058 echo "${ECHO_T}$result" >&6; }
10059
10060
10061 enablestring=
10062 defaultval=$wxUSE_ALL_FEATURES
10063 if test -z "$defaultval"; then
10064 if test x"$enablestring" = xdisable; then
10065 defaultval=yes
10066 else
10067 defaultval=no
10068 fi
10069 fi
10070
10071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10072 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10073 # Check whether --enable-collpane was given.
10074 if test "${enable_collpane+set}" = set; then
10075 enableval=$enable_collpane;
10076 if test "$enableval" = yes; then
10077 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10078 else
10079 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10080 fi
10081
10082 else
10083
10084 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10085
10086 fi
10087
10088
10089 eval "$wx_cv_use_collpane"
10090
10091 if test x"$enablestring" = xdisable; then
10092 if test $wxUSE_COLLPANE = yes; then
10093 result=no
10094 else
10095 result=yes
10096 fi
10097 else
10098 result=$wxUSE_COLLPANE
10099 fi
10100
10101 { echo "$as_me:$LINENO: result: $result" >&5
10102 echo "${ECHO_T}$result" >&6; }
10103
10104
10105 enablestring=
10106 defaultval=$wxUSE_ALL_FEATURES
10107 if test -z "$defaultval"; then
10108 if test x"$enablestring" = xdisable; then
10109 defaultval=yes
10110 else
10111 defaultval=no
10112 fi
10113 fi
10114
10115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10116 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10117 # Check whether --enable-colourpicker was given.
10118 if test "${enable_colourpicker+set}" = set; then
10119 enableval=$enable_colourpicker;
10120 if test "$enableval" = yes; then
10121 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10122 else
10123 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10124 fi
10125
10126 else
10127
10128 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10129
10130 fi
10131
10132
10133 eval "$wx_cv_use_colourpicker"
10134
10135 if test x"$enablestring" = xdisable; then
10136 if test $wxUSE_COLOURPICKERCTRL = yes; then
10137 result=no
10138 else
10139 result=yes
10140 fi
10141 else
10142 result=$wxUSE_COLOURPICKERCTRL
10143 fi
10144
10145 { echo "$as_me:$LINENO: result: $result" >&5
10146 echo "${ECHO_T}$result" >&6; }
10147
10148
10149 enablestring=
10150 defaultval=$wxUSE_ALL_FEATURES
10151 if test -z "$defaultval"; then
10152 if test x"$enablestring" = xdisable; then
10153 defaultval=yes
10154 else
10155 defaultval=no
10156 fi
10157 fi
10158
10159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10160 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10161 # Check whether --enable-combobox was given.
10162 if test "${enable_combobox+set}" = set; then
10163 enableval=$enable_combobox;
10164 if test "$enableval" = yes; then
10165 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10166 else
10167 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10168 fi
10169
10170 else
10171
10172 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10173
10174 fi
10175
10176
10177 eval "$wx_cv_use_combobox"
10178
10179 if test x"$enablestring" = xdisable; then
10180 if test $wxUSE_COMBOBOX = yes; then
10181 result=no
10182 else
10183 result=yes
10184 fi
10185 else
10186 result=$wxUSE_COMBOBOX
10187 fi
10188
10189 { echo "$as_me:$LINENO: result: $result" >&5
10190 echo "${ECHO_T}$result" >&6; }
10191
10192
10193 enablestring=
10194 defaultval=$wxUSE_ALL_FEATURES
10195 if test -z "$defaultval"; then
10196 if test x"$enablestring" = xdisable; then
10197 defaultval=yes
10198 else
10199 defaultval=no
10200 fi
10201 fi
10202
10203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10204 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10205 # Check whether --enable-comboctrl was given.
10206 if test "${enable_comboctrl+set}" = set; then
10207 enableval=$enable_comboctrl;
10208 if test "$enableval" = yes; then
10209 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10210 else
10211 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10212 fi
10213
10214 else
10215
10216 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10217
10218 fi
10219
10220
10221 eval "$wx_cv_use_comboctrl"
10222
10223 if test x"$enablestring" = xdisable; then
10224 if test $wxUSE_COMBOCTRL = yes; then
10225 result=no
10226 else
10227 result=yes
10228 fi
10229 else
10230 result=$wxUSE_COMBOCTRL
10231 fi
10232
10233 { echo "$as_me:$LINENO: result: $result" >&5
10234 echo "${ECHO_T}$result" >&6; }
10235
10236
10237 enablestring=
10238 defaultval=$wxUSE_ALL_FEATURES
10239 if test -z "$defaultval"; then
10240 if test x"$enablestring" = xdisable; then
10241 defaultval=yes
10242 else
10243 defaultval=no
10244 fi
10245 fi
10246
10247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10248 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10249 # Check whether --enable-datepick was given.
10250 if test "${enable_datepick+set}" = set; then
10251 enableval=$enable_datepick;
10252 if test "$enableval" = yes; then
10253 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10254 else
10255 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10256 fi
10257
10258 else
10259
10260 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10261
10262 fi
10263
10264
10265 eval "$wx_cv_use_datepick"
10266
10267 if test x"$enablestring" = xdisable; then
10268 if test $wxUSE_DATEPICKCTRL = yes; then
10269 result=no
10270 else
10271 result=yes
10272 fi
10273 else
10274 result=$wxUSE_DATEPICKCTRL
10275 fi
10276
10277 { echo "$as_me:$LINENO: result: $result" >&5
10278 echo "${ECHO_T}$result" >&6; }
10279
10280
10281 enablestring=
10282 defaultval=$wxUSE_ALL_FEATURES
10283 if test -z "$defaultval"; then
10284 if test x"$enablestring" = xdisable; then
10285 defaultval=yes
10286 else
10287 defaultval=no
10288 fi
10289 fi
10290
10291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10292 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10293 # Check whether --enable-dirpicker was given.
10294 if test "${enable_dirpicker+set}" = set; then
10295 enableval=$enable_dirpicker;
10296 if test "$enableval" = yes; then
10297 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10298 else
10299 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10300 fi
10301
10302 else
10303
10304 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10305
10306 fi
10307
10308
10309 eval "$wx_cv_use_dirpicker"
10310
10311 if test x"$enablestring" = xdisable; then
10312 if test $wxUSE_DIRPICKERCTRL = yes; then
10313 result=no
10314 else
10315 result=yes
10316 fi
10317 else
10318 result=$wxUSE_DIRPICKERCTRL
10319 fi
10320
10321 { echo "$as_me:$LINENO: result: $result" >&5
10322 echo "${ECHO_T}$result" >&6; }
10323
10324
10325 enablestring=
10326 defaultval=$wxUSE_ALL_FEATURES
10327 if test -z "$defaultval"; then
10328 if test x"$enablestring" = xdisable; then
10329 defaultval=yes
10330 else
10331 defaultval=no
10332 fi
10333 fi
10334
10335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10336 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10337 # Check whether --enable-display was given.
10338 if test "${enable_display+set}" = set; then
10339 enableval=$enable_display;
10340 if test "$enableval" = yes; then
10341 wx_cv_use_display='wxUSE_DISPLAY=yes'
10342 else
10343 wx_cv_use_display='wxUSE_DISPLAY=no'
10344 fi
10345
10346 else
10347
10348 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10349
10350 fi
10351
10352
10353 eval "$wx_cv_use_display"
10354
10355 if test x"$enablestring" = xdisable; then
10356 if test $wxUSE_DISPLAY = yes; then
10357 result=no
10358 else
10359 result=yes
10360 fi
10361 else
10362 result=$wxUSE_DISPLAY
10363 fi
10364
10365 { echo "$as_me:$LINENO: result: $result" >&5
10366 echo "${ECHO_T}$result" >&6; }
10367
10368
10369 enablestring=
10370 defaultval=$wxUSE_ALL_FEATURES
10371 if test -z "$defaultval"; then
10372 if test x"$enablestring" = xdisable; then
10373 defaultval=yes
10374 else
10375 defaultval=no
10376 fi
10377 fi
10378
10379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10380 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10381 # Check whether --enable-detect_sm was given.
10382 if test "${enable_detect_sm+set}" = set; then
10383 enableval=$enable_detect_sm;
10384 if test "$enableval" = yes; then
10385 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10386 else
10387 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10388 fi
10389
10390 else
10391
10392 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10393
10394 fi
10395
10396
10397 eval "$wx_cv_use_detect_sm"
10398
10399 if test x"$enablestring" = xdisable; then
10400 if test $wxUSE_DETECT_SM = yes; then
10401 result=no
10402 else
10403 result=yes
10404 fi
10405 else
10406 result=$wxUSE_DETECT_SM
10407 fi
10408
10409 { echo "$as_me:$LINENO: result: $result" >&5
10410 echo "${ECHO_T}$result" >&6; }
10411
10412
10413 enablestring=
10414 defaultval=$wxUSE_ALL_FEATURES
10415 if test -z "$defaultval"; then
10416 if test x"$enablestring" = xdisable; then
10417 defaultval=yes
10418 else
10419 defaultval=no
10420 fi
10421 fi
10422
10423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10424 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10425 # Check whether --enable-editablebox was given.
10426 if test "${enable_editablebox+set}" = set; then
10427 enableval=$enable_editablebox;
10428 if test "$enableval" = yes; then
10429 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10430 else
10431 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10432 fi
10433
10434 else
10435
10436 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10437
10438 fi
10439
10440
10441 eval "$wx_cv_use_editablebox"
10442
10443 if test x"$enablestring" = xdisable; then
10444 if test $wxUSE_EDITABLELISTBOX = yes; then
10445 result=no
10446 else
10447 result=yes
10448 fi
10449 else
10450 result=$wxUSE_EDITABLELISTBOX
10451 fi
10452
10453 { echo "$as_me:$LINENO: result: $result" >&5
10454 echo "${ECHO_T}$result" >&6; }
10455
10456
10457 enablestring=
10458 defaultval=$wxUSE_ALL_FEATURES
10459 if test -z "$defaultval"; then
10460 if test x"$enablestring" = xdisable; then
10461 defaultval=yes
10462 else
10463 defaultval=no
10464 fi
10465 fi
10466
10467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10468 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10469 # Check whether --enable-filepicker was given.
10470 if test "${enable_filepicker+set}" = set; then
10471 enableval=$enable_filepicker;
10472 if test "$enableval" = yes; then
10473 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10474 else
10475 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10476 fi
10477
10478 else
10479
10480 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10481
10482 fi
10483
10484
10485 eval "$wx_cv_use_filepicker"
10486
10487 if test x"$enablestring" = xdisable; then
10488 if test $wxUSE_FILEPICKERCTRL = yes; then
10489 result=no
10490 else
10491 result=yes
10492 fi
10493 else
10494 result=$wxUSE_FILEPICKERCTRL
10495 fi
10496
10497 { echo "$as_me:$LINENO: result: $result" >&5
10498 echo "${ECHO_T}$result" >&6; }
10499
10500
10501 enablestring=
10502 defaultval=$wxUSE_ALL_FEATURES
10503 if test -z "$defaultval"; then
10504 if test x"$enablestring" = xdisable; then
10505 defaultval=yes
10506 else
10507 defaultval=no
10508 fi
10509 fi
10510
10511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10512 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10513 # Check whether --enable-filectrl was given.
10514 if test "${enable_filectrl+set}" = set; then
10515 enableval=$enable_filectrl;
10516 if test "$enableval" = yes; then
10517 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10518 else
10519 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10520 fi
10521
10522 else
10523
10524 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10525
10526 fi
10527
10528
10529 eval "$wx_cv_use_filectrl"
10530
10531 if test x"$enablestring" = xdisable; then
10532 if test $wxUSE_FILECTRL = yes; then
10533 result=no
10534 else
10535 result=yes
10536 fi
10537 else
10538 result=$wxUSE_FILECTRL
10539 fi
10540
10541 { echo "$as_me:$LINENO: result: $result" >&5
10542 echo "${ECHO_T}$result" >&6; }
10543
10544
10545 enablestring=
10546 defaultval=$wxUSE_ALL_FEATURES
10547 if test -z "$defaultval"; then
10548 if test x"$enablestring" = xdisable; then
10549 defaultval=yes
10550 else
10551 defaultval=no
10552 fi
10553 fi
10554
10555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10556 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10557 # Check whether --enable-fontpicker was given.
10558 if test "${enable_fontpicker+set}" = set; then
10559 enableval=$enable_fontpicker;
10560 if test "$enableval" = yes; then
10561 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10562 else
10563 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10564 fi
10565
10566 else
10567
10568 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10569
10570 fi
10571
10572
10573 eval "$wx_cv_use_fontpicker"
10574
10575 if test x"$enablestring" = xdisable; then
10576 if test $wxUSE_FONTPICKERCTRL = yes; then
10577 result=no
10578 else
10579 result=yes
10580 fi
10581 else
10582 result=$wxUSE_FONTPICKERCTRL
10583 fi
10584
10585 { echo "$as_me:$LINENO: result: $result" >&5
10586 echo "${ECHO_T}$result" >&6; }
10587
10588
10589 enablestring=
10590 defaultval=$wxUSE_ALL_FEATURES
10591 if test -z "$defaultval"; then
10592 if test x"$enablestring" = xdisable; then
10593 defaultval=yes
10594 else
10595 defaultval=no
10596 fi
10597 fi
10598
10599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10600 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10601 # Check whether --enable-gauge was given.
10602 if test "${enable_gauge+set}" = set; then
10603 enableval=$enable_gauge;
10604 if test "$enableval" = yes; then
10605 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10606 else
10607 wx_cv_use_gauge='wxUSE_GAUGE=no'
10608 fi
10609
10610 else
10611
10612 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10613
10614 fi
10615
10616
10617 eval "$wx_cv_use_gauge"
10618
10619 if test x"$enablestring" = xdisable; then
10620 if test $wxUSE_GAUGE = yes; then
10621 result=no
10622 else
10623 result=yes
10624 fi
10625 else
10626 result=$wxUSE_GAUGE
10627 fi
10628
10629 { echo "$as_me:$LINENO: result: $result" >&5
10630 echo "${ECHO_T}$result" >&6; }
10631
10632
10633 enablestring=
10634 defaultval=$wxUSE_ALL_FEATURES
10635 if test -z "$defaultval"; then
10636 if test x"$enablestring" = xdisable; then
10637 defaultval=yes
10638 else
10639 defaultval=no
10640 fi
10641 fi
10642
10643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10644 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10645 # Check whether --enable-grid was given.
10646 if test "${enable_grid+set}" = set; then
10647 enableval=$enable_grid;
10648 if test "$enableval" = yes; then
10649 wx_cv_use_grid='wxUSE_GRID=yes'
10650 else
10651 wx_cv_use_grid='wxUSE_GRID=no'
10652 fi
10653
10654 else
10655
10656 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10657
10658 fi
10659
10660
10661 eval "$wx_cv_use_grid"
10662
10663 if test x"$enablestring" = xdisable; then
10664 if test $wxUSE_GRID = yes; then
10665 result=no
10666 else
10667 result=yes
10668 fi
10669 else
10670 result=$wxUSE_GRID
10671 fi
10672
10673 { echo "$as_me:$LINENO: result: $result" >&5
10674 echo "${ECHO_T}$result" >&6; }
10675
10676
10677 enablestring=
10678 defaultval=$wxUSE_ALL_FEATURES
10679 if test -z "$defaultval"; then
10680 if test x"$enablestring" = xdisable; then
10681 defaultval=yes
10682 else
10683 defaultval=no
10684 fi
10685 fi
10686
10687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10688 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10689 # Check whether --enable-dataviewctrl was given.
10690 if test "${enable_dataviewctrl+set}" = set; then
10691 enableval=$enable_dataviewctrl;
10692 if test "$enableval" = yes; then
10693 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10694 else
10695 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10696 fi
10697
10698 else
10699
10700 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10701
10702 fi
10703
10704
10705 eval "$wx_cv_use_dataviewctrl"
10706
10707 if test x"$enablestring" = xdisable; then
10708 if test $wxUSE_DATAVIEWCTRL = yes; then
10709 result=no
10710 else
10711 result=yes
10712 fi
10713 else
10714 result=$wxUSE_DATAVIEWCTRL
10715 fi
10716
10717 { echo "$as_me:$LINENO: result: $result" >&5
10718 echo "${ECHO_T}$result" >&6; }
10719
10720
10721 enablestring=
10722 defaultval=$wxUSE_ALL_FEATURES
10723 if test -z "$defaultval"; then
10724 if test x"$enablestring" = xdisable; then
10725 defaultval=yes
10726 else
10727 defaultval=no
10728 fi
10729 fi
10730
10731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10732 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10733 # Check whether --enable-hyperlink was given.
10734 if test "${enable_hyperlink+set}" = set; then
10735 enableval=$enable_hyperlink;
10736 if test "$enableval" = yes; then
10737 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10738 else
10739 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10740 fi
10741
10742 else
10743
10744 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10745
10746 fi
10747
10748
10749 eval "$wx_cv_use_hyperlink"
10750
10751 if test x"$enablestring" = xdisable; then
10752 if test $wxUSE_HYPERLINKCTRL = yes; then
10753 result=no
10754 else
10755 result=yes
10756 fi
10757 else
10758 result=$wxUSE_HYPERLINKCTRL
10759 fi
10760
10761 { echo "$as_me:$LINENO: result: $result" >&5
10762 echo "${ECHO_T}$result" >&6; }
10763
10764
10765 enablestring=
10766 defaultval=$wxUSE_ALL_FEATURES
10767 if test -z "$defaultval"; then
10768 if test x"$enablestring" = xdisable; then
10769 defaultval=yes
10770 else
10771 defaultval=no
10772 fi
10773 fi
10774
10775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10776 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10777 # Check whether --enable-imaglist was given.
10778 if test "${enable_imaglist+set}" = set; then
10779 enableval=$enable_imaglist;
10780 if test "$enableval" = yes; then
10781 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10782 else
10783 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10784 fi
10785
10786 else
10787
10788 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10789
10790 fi
10791
10792
10793 eval "$wx_cv_use_imaglist"
10794
10795 if test x"$enablestring" = xdisable; then
10796 if test $wxUSE_IMAGLIST = yes; then
10797 result=no
10798 else
10799 result=yes
10800 fi
10801 else
10802 result=$wxUSE_IMAGLIST
10803 fi
10804
10805 { echo "$as_me:$LINENO: result: $result" >&5
10806 echo "${ECHO_T}$result" >&6; }
10807
10808
10809 enablestring=
10810 defaultval=$wxUSE_ALL_FEATURES
10811 if test -z "$defaultval"; then
10812 if test x"$enablestring" = xdisable; then
10813 defaultval=yes
10814 else
10815 defaultval=no
10816 fi
10817 fi
10818
10819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10820 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10821 # Check whether --enable-listbook was given.
10822 if test "${enable_listbook+set}" = set; then
10823 enableval=$enable_listbook;
10824 if test "$enableval" = yes; then
10825 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10826 else
10827 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10828 fi
10829
10830 else
10831
10832 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10833
10834 fi
10835
10836
10837 eval "$wx_cv_use_listbook"
10838
10839 if test x"$enablestring" = xdisable; then
10840 if test $wxUSE_LISTBOOK = yes; then
10841 result=no
10842 else
10843 result=yes
10844 fi
10845 else
10846 result=$wxUSE_LISTBOOK
10847 fi
10848
10849 { echo "$as_me:$LINENO: result: $result" >&5
10850 echo "${ECHO_T}$result" >&6; }
10851
10852
10853 enablestring=
10854 defaultval=$wxUSE_ALL_FEATURES
10855 if test -z "$defaultval"; then
10856 if test x"$enablestring" = xdisable; then
10857 defaultval=yes
10858 else
10859 defaultval=no
10860 fi
10861 fi
10862
10863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10864 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10865 # Check whether --enable-listbox was given.
10866 if test "${enable_listbox+set}" = set; then
10867 enableval=$enable_listbox;
10868 if test "$enableval" = yes; then
10869 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10870 else
10871 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10872 fi
10873
10874 else
10875
10876 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10877
10878 fi
10879
10880
10881 eval "$wx_cv_use_listbox"
10882
10883 if test x"$enablestring" = xdisable; then
10884 if test $wxUSE_LISTBOX = yes; then
10885 result=no
10886 else
10887 result=yes
10888 fi
10889 else
10890 result=$wxUSE_LISTBOX
10891 fi
10892
10893 { echo "$as_me:$LINENO: result: $result" >&5
10894 echo "${ECHO_T}$result" >&6; }
10895
10896
10897 enablestring=
10898 defaultval=$wxUSE_ALL_FEATURES
10899 if test -z "$defaultval"; then
10900 if test x"$enablestring" = xdisable; then
10901 defaultval=yes
10902 else
10903 defaultval=no
10904 fi
10905 fi
10906
10907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10908 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10909 # Check whether --enable-listctrl was given.
10910 if test "${enable_listctrl+set}" = set; then
10911 enableval=$enable_listctrl;
10912 if test "$enableval" = yes; then
10913 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10914 else
10915 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10916 fi
10917
10918 else
10919
10920 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10921
10922 fi
10923
10924
10925 eval "$wx_cv_use_listctrl"
10926
10927 if test x"$enablestring" = xdisable; then
10928 if test $wxUSE_LISTCTRL = yes; then
10929 result=no
10930 else
10931 result=yes
10932 fi
10933 else
10934 result=$wxUSE_LISTCTRL
10935 fi
10936
10937 { echo "$as_me:$LINENO: result: $result" >&5
10938 echo "${ECHO_T}$result" >&6; }
10939
10940
10941 enablestring=
10942 defaultval=$wxUSE_ALL_FEATURES
10943 if test -z "$defaultval"; then
10944 if test x"$enablestring" = xdisable; then
10945 defaultval=yes
10946 else
10947 defaultval=no
10948 fi
10949 fi
10950
10951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10952 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10953 # Check whether --enable-notebook was given.
10954 if test "${enable_notebook+set}" = set; then
10955 enableval=$enable_notebook;
10956 if test "$enableval" = yes; then
10957 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10958 else
10959 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10960 fi
10961
10962 else
10963
10964 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10965
10966 fi
10967
10968
10969 eval "$wx_cv_use_notebook"
10970
10971 if test x"$enablestring" = xdisable; then
10972 if test $wxUSE_NOTEBOOK = yes; then
10973 result=no
10974 else
10975 result=yes
10976 fi
10977 else
10978 result=$wxUSE_NOTEBOOK
10979 fi
10980
10981 { echo "$as_me:$LINENO: result: $result" >&5
10982 echo "${ECHO_T}$result" >&6; }
10983
10984
10985 enablestring=
10986 defaultval=$wxUSE_ALL_FEATURES
10987 if test -z "$defaultval"; then
10988 if test x"$enablestring" = xdisable; then
10989 defaultval=yes
10990 else
10991 defaultval=no
10992 fi
10993 fi
10994
10995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10996 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10997 # Check whether --enable-notifmsg was given.
10998 if test "${enable_notifmsg+set}" = set; then
10999 enableval=$enable_notifmsg;
11000 if test "$enableval" = yes; then
11001 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11002 else
11003 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11004 fi
11005
11006 else
11007
11008 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11009
11010 fi
11011
11012
11013 eval "$wx_cv_use_notifmsg"
11014
11015 if test x"$enablestring" = xdisable; then
11016 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
11017 result=no
11018 else
11019 result=yes
11020 fi
11021 else
11022 result=$wxUSE_NOTIFICATION_MESSAGE
11023 fi
11024
11025 { echo "$as_me:$LINENO: result: $result" >&5
11026 echo "${ECHO_T}$result" >&6; }
11027
11028
11029 enablestring=
11030 defaultval=$wxUSE_ALL_FEATURES
11031 if test -z "$defaultval"; then
11032 if test x"$enablestring" = xdisable; then
11033 defaultval=yes
11034 else
11035 defaultval=no
11036 fi
11037 fi
11038
11039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11040 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11041 # Check whether --enable-odcombobox was given.
11042 if test "${enable_odcombobox+set}" = set; then
11043 enableval=$enable_odcombobox;
11044 if test "$enableval" = yes; then
11045 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11046 else
11047 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11048 fi
11049
11050 else
11051
11052 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11053
11054 fi
11055
11056
11057 eval "$wx_cv_use_odcombobox"
11058
11059 if test x"$enablestring" = xdisable; then
11060 if test $wxUSE_ODCOMBOBOX = yes; then
11061 result=no
11062 else
11063 result=yes
11064 fi
11065 else
11066 result=$wxUSE_ODCOMBOBOX
11067 fi
11068
11069 { echo "$as_me:$LINENO: result: $result" >&5
11070 echo "${ECHO_T}$result" >&6; }
11071
11072
11073 enablestring=
11074 defaultval=$wxUSE_ALL_FEATURES
11075 if test -z "$defaultval"; then
11076 if test x"$enablestring" = xdisable; then
11077 defaultval=yes
11078 else
11079 defaultval=no
11080 fi
11081 fi
11082
11083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11084 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11085 # Check whether --enable-radiobox was given.
11086 if test "${enable_radiobox+set}" = set; then
11087 enableval=$enable_radiobox;
11088 if test "$enableval" = yes; then
11089 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11090 else
11091 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11092 fi
11093
11094 else
11095
11096 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11097
11098 fi
11099
11100
11101 eval "$wx_cv_use_radiobox"
11102
11103 if test x"$enablestring" = xdisable; then
11104 if test $wxUSE_RADIOBOX = yes; then
11105 result=no
11106 else
11107 result=yes
11108 fi
11109 else
11110 result=$wxUSE_RADIOBOX
11111 fi
11112
11113 { echo "$as_me:$LINENO: result: $result" >&5
11114 echo "${ECHO_T}$result" >&6; }
11115
11116
11117 enablestring=
11118 defaultval=$wxUSE_ALL_FEATURES
11119 if test -z "$defaultval"; then
11120 if test x"$enablestring" = xdisable; then
11121 defaultval=yes
11122 else
11123 defaultval=no
11124 fi
11125 fi
11126
11127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11128 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11129 # Check whether --enable-radiobtn was given.
11130 if test "${enable_radiobtn+set}" = set; then
11131 enableval=$enable_radiobtn;
11132 if test "$enableval" = yes; then
11133 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11134 else
11135 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11136 fi
11137
11138 else
11139
11140 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11141
11142 fi
11143
11144
11145 eval "$wx_cv_use_radiobtn"
11146
11147 if test x"$enablestring" = xdisable; then
11148 if test $wxUSE_RADIOBTN = yes; then
11149 result=no
11150 else
11151 result=yes
11152 fi
11153 else
11154 result=$wxUSE_RADIOBTN
11155 fi
11156
11157 { echo "$as_me:$LINENO: result: $result" >&5
11158 echo "${ECHO_T}$result" >&6; }
11159
11160
11161 enablestring=
11162 defaultval=$wxUSE_ALL_FEATURES
11163 if test -z "$defaultval"; then
11164 if test x"$enablestring" = xdisable; then
11165 defaultval=yes
11166 else
11167 defaultval=no
11168 fi
11169 fi
11170
11171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11172 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11173 # Check whether --enable-sash was given.
11174 if test "${enable_sash+set}" = set; then
11175 enableval=$enable_sash;
11176 if test "$enableval" = yes; then
11177 wx_cv_use_sash='wxUSE_SASH=yes'
11178 else
11179 wx_cv_use_sash='wxUSE_SASH=no'
11180 fi
11181
11182 else
11183
11184 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11185
11186 fi
11187
11188
11189 eval "$wx_cv_use_sash"
11190
11191 if test x"$enablestring" = xdisable; then
11192 if test $wxUSE_SASH = yes; then
11193 result=no
11194 else
11195 result=yes
11196 fi
11197 else
11198 result=$wxUSE_SASH
11199 fi
11200
11201 { echo "$as_me:$LINENO: result: $result" >&5
11202 echo "${ECHO_T}$result" >&6; }
11203
11204
11205 enablestring=
11206 defaultval=$wxUSE_ALL_FEATURES
11207 if test -z "$defaultval"; then
11208 if test x"$enablestring" = xdisable; then
11209 defaultval=yes
11210 else
11211 defaultval=no
11212 fi
11213 fi
11214
11215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11216 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11217 # Check whether --enable-scrollbar was given.
11218 if test "${enable_scrollbar+set}" = set; then
11219 enableval=$enable_scrollbar;
11220 if test "$enableval" = yes; then
11221 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11222 else
11223 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11224 fi
11225
11226 else
11227
11228 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11229
11230 fi
11231
11232
11233 eval "$wx_cv_use_scrollbar"
11234
11235 if test x"$enablestring" = xdisable; then
11236 if test $wxUSE_SCROLLBAR = yes; then
11237 result=no
11238 else
11239 result=yes
11240 fi
11241 else
11242 result=$wxUSE_SCROLLBAR
11243 fi
11244
11245 { echo "$as_me:$LINENO: result: $result" >&5
11246 echo "${ECHO_T}$result" >&6; }
11247
11248
11249 enablestring=
11250 defaultval=$wxUSE_ALL_FEATURES
11251 if test -z "$defaultval"; then
11252 if test x"$enablestring" = xdisable; then
11253 defaultval=yes
11254 else
11255 defaultval=no
11256 fi
11257 fi
11258
11259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11260 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11261 # Check whether --enable-searchctrl was given.
11262 if test "${enable_searchctrl+set}" = set; then
11263 enableval=$enable_searchctrl;
11264 if test "$enableval" = yes; then
11265 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11266 else
11267 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11268 fi
11269
11270 else
11271
11272 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11273
11274 fi
11275
11276
11277 eval "$wx_cv_use_searchctrl"
11278
11279 if test x"$enablestring" = xdisable; then
11280 if test $wxUSE_SEARCHCTRL = yes; then
11281 result=no
11282 else
11283 result=yes
11284 fi
11285 else
11286 result=$wxUSE_SEARCHCTRL
11287 fi
11288
11289 { echo "$as_me:$LINENO: result: $result" >&5
11290 echo "${ECHO_T}$result" >&6; }
11291
11292
11293 enablestring=
11294 defaultval=$wxUSE_ALL_FEATURES
11295 if test -z "$defaultval"; then
11296 if test x"$enablestring" = xdisable; then
11297 defaultval=yes
11298 else
11299 defaultval=no
11300 fi
11301 fi
11302
11303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11304 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11305 # Check whether --enable-slider was given.
11306 if test "${enable_slider+set}" = set; then
11307 enableval=$enable_slider;
11308 if test "$enableval" = yes; then
11309 wx_cv_use_slider='wxUSE_SLIDER=yes'
11310 else
11311 wx_cv_use_slider='wxUSE_SLIDER=no'
11312 fi
11313
11314 else
11315
11316 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11317
11318 fi
11319
11320
11321 eval "$wx_cv_use_slider"
11322
11323 if test x"$enablestring" = xdisable; then
11324 if test $wxUSE_SLIDER = yes; then
11325 result=no
11326 else
11327 result=yes
11328 fi
11329 else
11330 result=$wxUSE_SLIDER
11331 fi
11332
11333 { echo "$as_me:$LINENO: result: $result" >&5
11334 echo "${ECHO_T}$result" >&6; }
11335
11336
11337 enablestring=
11338 defaultval=$wxUSE_ALL_FEATURES
11339 if test -z "$defaultval"; then
11340 if test x"$enablestring" = xdisable; then
11341 defaultval=yes
11342 else
11343 defaultval=no
11344 fi
11345 fi
11346
11347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11348 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11349 # Check whether --enable-spinbtn was given.
11350 if test "${enable_spinbtn+set}" = set; then
11351 enableval=$enable_spinbtn;
11352 if test "$enableval" = yes; then
11353 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11354 else
11355 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11356 fi
11357
11358 else
11359
11360 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11361
11362 fi
11363
11364
11365 eval "$wx_cv_use_spinbtn"
11366
11367 if test x"$enablestring" = xdisable; then
11368 if test $wxUSE_SPINBTN = yes; then
11369 result=no
11370 else
11371 result=yes
11372 fi
11373 else
11374 result=$wxUSE_SPINBTN
11375 fi
11376
11377 { echo "$as_me:$LINENO: result: $result" >&5
11378 echo "${ECHO_T}$result" >&6; }
11379
11380
11381 enablestring=
11382 defaultval=$wxUSE_ALL_FEATURES
11383 if test -z "$defaultval"; then
11384 if test x"$enablestring" = xdisable; then
11385 defaultval=yes
11386 else
11387 defaultval=no
11388 fi
11389 fi
11390
11391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11392 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11393 # Check whether --enable-spinctrl was given.
11394 if test "${enable_spinctrl+set}" = set; then
11395 enableval=$enable_spinctrl;
11396 if test "$enableval" = yes; then
11397 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11398 else
11399 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11400 fi
11401
11402 else
11403
11404 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11405
11406 fi
11407
11408
11409 eval "$wx_cv_use_spinctrl"
11410
11411 if test x"$enablestring" = xdisable; then
11412 if test $wxUSE_SPINCTRL = yes; then
11413 result=no
11414 else
11415 result=yes
11416 fi
11417 else
11418 result=$wxUSE_SPINCTRL
11419 fi
11420
11421 { echo "$as_me:$LINENO: result: $result" >&5
11422 echo "${ECHO_T}$result" >&6; }
11423
11424
11425 enablestring=
11426 defaultval=$wxUSE_ALL_FEATURES
11427 if test -z "$defaultval"; then
11428 if test x"$enablestring" = xdisable; then
11429 defaultval=yes
11430 else
11431 defaultval=no
11432 fi
11433 fi
11434
11435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11436 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11437 # Check whether --enable-splitter was given.
11438 if test "${enable_splitter+set}" = set; then
11439 enableval=$enable_splitter;
11440 if test "$enableval" = yes; then
11441 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11442 else
11443 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11444 fi
11445
11446 else
11447
11448 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11449
11450 fi
11451
11452
11453 eval "$wx_cv_use_splitter"
11454
11455 if test x"$enablestring" = xdisable; then
11456 if test $wxUSE_SPLITTER = yes; then
11457 result=no
11458 else
11459 result=yes
11460 fi
11461 else
11462 result=$wxUSE_SPLITTER
11463 fi
11464
11465 { echo "$as_me:$LINENO: result: $result" >&5
11466 echo "${ECHO_T}$result" >&6; }
11467
11468
11469 enablestring=
11470 defaultval=$wxUSE_ALL_FEATURES
11471 if test -z "$defaultval"; then
11472 if test x"$enablestring" = xdisable; then
11473 defaultval=yes
11474 else
11475 defaultval=no
11476 fi
11477 fi
11478
11479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11480 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11481 # Check whether --enable-statbmp was given.
11482 if test "${enable_statbmp+set}" = set; then
11483 enableval=$enable_statbmp;
11484 if test "$enableval" = yes; then
11485 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11486 else
11487 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11488 fi
11489
11490 else
11491
11492 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11493
11494 fi
11495
11496
11497 eval "$wx_cv_use_statbmp"
11498
11499 if test x"$enablestring" = xdisable; then
11500 if test $wxUSE_STATBMP = yes; then
11501 result=no
11502 else
11503 result=yes
11504 fi
11505 else
11506 result=$wxUSE_STATBMP
11507 fi
11508
11509 { echo "$as_me:$LINENO: result: $result" >&5
11510 echo "${ECHO_T}$result" >&6; }
11511
11512
11513 enablestring=
11514 defaultval=$wxUSE_ALL_FEATURES
11515 if test -z "$defaultval"; then
11516 if test x"$enablestring" = xdisable; then
11517 defaultval=yes
11518 else
11519 defaultval=no
11520 fi
11521 fi
11522
11523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11524 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11525 # Check whether --enable-statbox was given.
11526 if test "${enable_statbox+set}" = set; then
11527 enableval=$enable_statbox;
11528 if test "$enableval" = yes; then
11529 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11530 else
11531 wx_cv_use_statbox='wxUSE_STATBOX=no'
11532 fi
11533
11534 else
11535
11536 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11537
11538 fi
11539
11540
11541 eval "$wx_cv_use_statbox"
11542
11543 if test x"$enablestring" = xdisable; then
11544 if test $wxUSE_STATBOX = yes; then
11545 result=no
11546 else
11547 result=yes
11548 fi
11549 else
11550 result=$wxUSE_STATBOX
11551 fi
11552
11553 { echo "$as_me:$LINENO: result: $result" >&5
11554 echo "${ECHO_T}$result" >&6; }
11555
11556
11557 enablestring=
11558 defaultval=$wxUSE_ALL_FEATURES
11559 if test -z "$defaultval"; then
11560 if test x"$enablestring" = xdisable; then
11561 defaultval=yes
11562 else
11563 defaultval=no
11564 fi
11565 fi
11566
11567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11568 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11569 # Check whether --enable-statline was given.
11570 if test "${enable_statline+set}" = set; then
11571 enableval=$enable_statline;
11572 if test "$enableval" = yes; then
11573 wx_cv_use_statline='wxUSE_STATLINE=yes'
11574 else
11575 wx_cv_use_statline='wxUSE_STATLINE=no'
11576 fi
11577
11578 else
11579
11580 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11581
11582 fi
11583
11584
11585 eval "$wx_cv_use_statline"
11586
11587 if test x"$enablestring" = xdisable; then
11588 if test $wxUSE_STATLINE = yes; then
11589 result=no
11590 else
11591 result=yes
11592 fi
11593 else
11594 result=$wxUSE_STATLINE
11595 fi
11596
11597 { echo "$as_me:$LINENO: result: $result" >&5
11598 echo "${ECHO_T}$result" >&6; }
11599
11600
11601 enablestring=
11602 defaultval=$wxUSE_ALL_FEATURES
11603 if test -z "$defaultval"; then
11604 if test x"$enablestring" = xdisable; then
11605 defaultval=yes
11606 else
11607 defaultval=no
11608 fi
11609 fi
11610
11611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11612 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11613 # Check whether --enable-stattext was given.
11614 if test "${enable_stattext+set}" = set; then
11615 enableval=$enable_stattext;
11616 if test "$enableval" = yes; then
11617 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11618 else
11619 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11620 fi
11621
11622 else
11623
11624 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11625
11626 fi
11627
11628
11629 eval "$wx_cv_use_stattext"
11630
11631 if test x"$enablestring" = xdisable; then
11632 if test $wxUSE_STATTEXT = yes; then
11633 result=no
11634 else
11635 result=yes
11636 fi
11637 else
11638 result=$wxUSE_STATTEXT
11639 fi
11640
11641 { echo "$as_me:$LINENO: result: $result" >&5
11642 echo "${ECHO_T}$result" >&6; }
11643
11644
11645 enablestring=
11646 defaultval=$wxUSE_ALL_FEATURES
11647 if test -z "$defaultval"; then
11648 if test x"$enablestring" = xdisable; then
11649 defaultval=yes
11650 else
11651 defaultval=no
11652 fi
11653 fi
11654
11655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11656 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11657 # Check whether --enable-statusbar was given.
11658 if test "${enable_statusbar+set}" = set; then
11659 enableval=$enable_statusbar;
11660 if test "$enableval" = yes; then
11661 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11662 else
11663 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11664 fi
11665
11666 else
11667
11668 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11669
11670 fi
11671
11672
11673 eval "$wx_cv_use_statusbar"
11674
11675 if test x"$enablestring" = xdisable; then
11676 if test $wxUSE_STATUSBAR = yes; then
11677 result=no
11678 else
11679 result=yes
11680 fi
11681 else
11682 result=$wxUSE_STATUSBAR
11683 fi
11684
11685 { echo "$as_me:$LINENO: result: $result" >&5
11686 echo "${ECHO_T}$result" >&6; }
11687
11688
11689 enablestring=
11690 defaultval=$wxUSE_ALL_FEATURES
11691 if test -z "$defaultval"; then
11692 if test x"$enablestring" = xdisable; then
11693 defaultval=yes
11694 else
11695 defaultval=no
11696 fi
11697 fi
11698
11699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11700 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11701 # Check whether --enable-tabdialog was given.
11702 if test "${enable_tabdialog+set}" = set; then
11703 enableval=$enable_tabdialog;
11704 if test "$enableval" = yes; then
11705 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11706 else
11707 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11708 fi
11709
11710 else
11711
11712 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11713
11714 fi
11715
11716
11717 eval "$wx_cv_use_tabdialog"
11718
11719 if test x"$enablestring" = xdisable; then
11720 if test $wxUSE_TAB_DIALOG = yes; then
11721 result=no
11722 else
11723 result=yes
11724 fi
11725 else
11726 result=$wxUSE_TAB_DIALOG
11727 fi
11728
11729 { echo "$as_me:$LINENO: result: $result" >&5
11730 echo "${ECHO_T}$result" >&6; }
11731
11732
11733 enablestring=
11734 defaultval=$wxUSE_ALL_FEATURES
11735 if test -z "$defaultval"; then
11736 if test x"$enablestring" = xdisable; then
11737 defaultval=yes
11738 else
11739 defaultval=no
11740 fi
11741 fi
11742
11743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11744 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11745 # Check whether --enable-taskbaricon was given.
11746 if test "${enable_taskbaricon+set}" = set; then
11747 enableval=$enable_taskbaricon;
11748 if test "$enableval" = yes; then
11749 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11750 else
11751 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11752 fi
11753
11754 else
11755
11756 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11757
11758 fi
11759
11760
11761 eval "$wx_cv_use_taskbaricon"
11762
11763 if test x"$enablestring" = xdisable; then
11764 if test $wxUSE_TASKBARICON = yes; then
11765 result=no
11766 else
11767 result=yes
11768 fi
11769 else
11770 result=$wxUSE_TASKBARICON
11771 fi
11772
11773 { echo "$as_me:$LINENO: result: $result" >&5
11774 echo "${ECHO_T}$result" >&6; }
11775
11776
11777 enablestring=
11778 defaultval=$wxUSE_ALL_FEATURES
11779 if test -z "$defaultval"; then
11780 if test x"$enablestring" = xdisable; then
11781 defaultval=yes
11782 else
11783 defaultval=no
11784 fi
11785 fi
11786
11787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11788 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11789 # Check whether --enable-textctrl was given.
11790 if test "${enable_textctrl+set}" = set; then
11791 enableval=$enable_textctrl;
11792 if test "$enableval" = yes; then
11793 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11794 else
11795 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11796 fi
11797
11798 else
11799
11800 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11801
11802 fi
11803
11804
11805 eval "$wx_cv_use_textctrl"
11806
11807 if test x"$enablestring" = xdisable; then
11808 if test $wxUSE_TEXTCTRL = yes; then
11809 result=no
11810 else
11811 result=yes
11812 fi
11813 else
11814 result=$wxUSE_TEXTCTRL
11815 fi
11816
11817 { echo "$as_me:$LINENO: result: $result" >&5
11818 echo "${ECHO_T}$result" >&6; }
11819
11820
11821 enablestring=
11822 defaultval=$wxUSE_ALL_FEATURES
11823 if test -z "$defaultval"; then
11824 if test x"$enablestring" = xdisable; then
11825 defaultval=yes
11826 else
11827 defaultval=no
11828 fi
11829 fi
11830
11831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11832 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11833 # Check whether --enable-togglebtn was given.
11834 if test "${enable_togglebtn+set}" = set; then
11835 enableval=$enable_togglebtn;
11836 if test "$enableval" = yes; then
11837 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11838 else
11839 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11840 fi
11841
11842 else
11843
11844 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11845
11846 fi
11847
11848
11849 eval "$wx_cv_use_togglebtn"
11850
11851 if test x"$enablestring" = xdisable; then
11852 if test $wxUSE_TOGGLEBTN = yes; then
11853 result=no
11854 else
11855 result=yes
11856 fi
11857 else
11858 result=$wxUSE_TOGGLEBTN
11859 fi
11860
11861 { echo "$as_me:$LINENO: result: $result" >&5
11862 echo "${ECHO_T}$result" >&6; }
11863
11864
11865 enablestring=
11866 defaultval=$wxUSE_ALL_FEATURES
11867 if test -z "$defaultval"; then
11868 if test x"$enablestring" = xdisable; then
11869 defaultval=yes
11870 else
11871 defaultval=no
11872 fi
11873 fi
11874
11875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11876 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11877 # Check whether --enable-toolbar was given.
11878 if test "${enable_toolbar+set}" = set; then
11879 enableval=$enable_toolbar;
11880 if test "$enableval" = yes; then
11881 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11882 else
11883 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11884 fi
11885
11886 else
11887
11888 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11889
11890 fi
11891
11892
11893 eval "$wx_cv_use_toolbar"
11894
11895 if test x"$enablestring" = xdisable; then
11896 if test $wxUSE_TOOLBAR = yes; then
11897 result=no
11898 else
11899 result=yes
11900 fi
11901 else
11902 result=$wxUSE_TOOLBAR
11903 fi
11904
11905 { echo "$as_me:$LINENO: result: $result" >&5
11906 echo "${ECHO_T}$result" >&6; }
11907
11908
11909 enablestring=
11910 defaultval=$wxUSE_ALL_FEATURES
11911 if test -z "$defaultval"; then
11912 if test x"$enablestring" = xdisable; then
11913 defaultval=yes
11914 else
11915 defaultval=no
11916 fi
11917 fi
11918
11919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11920 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11921 # Check whether --enable-tbarnative was given.
11922 if test "${enable_tbarnative+set}" = set; then
11923 enableval=$enable_tbarnative;
11924 if test "$enableval" = yes; then
11925 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11926 else
11927 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11928 fi
11929
11930 else
11931
11932 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11933
11934 fi
11935
11936
11937 eval "$wx_cv_use_tbarnative"
11938
11939 if test x"$enablestring" = xdisable; then
11940 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11941 result=no
11942 else
11943 result=yes
11944 fi
11945 else
11946 result=$wxUSE_TOOLBAR_NATIVE
11947 fi
11948
11949 { echo "$as_me:$LINENO: result: $result" >&5
11950 echo "${ECHO_T}$result" >&6; }
11951
11952
11953 enablestring=
11954 defaultval=$wxUSE_ALL_FEATURES
11955 if test -z "$defaultval"; then
11956 if test x"$enablestring" = xdisable; then
11957 defaultval=yes
11958 else
11959 defaultval=no
11960 fi
11961 fi
11962
11963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11964 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11965 # Check whether --enable-treebook was given.
11966 if test "${enable_treebook+set}" = set; then
11967 enableval=$enable_treebook;
11968 if test "$enableval" = yes; then
11969 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11970 else
11971 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11972 fi
11973
11974 else
11975
11976 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11977
11978 fi
11979
11980
11981 eval "$wx_cv_use_treebook"
11982
11983 if test x"$enablestring" = xdisable; then
11984 if test $wxUSE_TREEBOOK = yes; then
11985 result=no
11986 else
11987 result=yes
11988 fi
11989 else
11990 result=$wxUSE_TREEBOOK
11991 fi
11992
11993 { echo "$as_me:$LINENO: result: $result" >&5
11994 echo "${ECHO_T}$result" >&6; }
11995
11996
11997 enablestring=
11998 defaultval=$wxUSE_ALL_FEATURES
11999 if test -z "$defaultval"; then
12000 if test x"$enablestring" = xdisable; then
12001 defaultval=yes
12002 else
12003 defaultval=no
12004 fi
12005 fi
12006
12007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12008 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12009 # Check whether --enable-toolbook was given.
12010 if test "${enable_toolbook+set}" = set; then
12011 enableval=$enable_toolbook;
12012 if test "$enableval" = yes; then
12013 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12014 else
12015 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12016 fi
12017
12018 else
12019
12020 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12021
12022 fi
12023
12024
12025 eval "$wx_cv_use_toolbook"
12026
12027 if test x"$enablestring" = xdisable; then
12028 if test $wxUSE_TOOLBOOK = yes; then
12029 result=no
12030 else
12031 result=yes
12032 fi
12033 else
12034 result=$wxUSE_TOOLBOOK
12035 fi
12036
12037 { echo "$as_me:$LINENO: result: $result" >&5
12038 echo "${ECHO_T}$result" >&6; }
12039
12040
12041 enablestring=
12042 defaultval=$wxUSE_ALL_FEATURES
12043 if test -z "$defaultval"; then
12044 if test x"$enablestring" = xdisable; then
12045 defaultval=yes
12046 else
12047 defaultval=no
12048 fi
12049 fi
12050
12051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12052 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12053 # Check whether --enable-treectrl was given.
12054 if test "${enable_treectrl+set}" = set; then
12055 enableval=$enable_treectrl;
12056 if test "$enableval" = yes; then
12057 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12058 else
12059 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12060 fi
12061
12062 else
12063
12064 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12065
12066 fi
12067
12068
12069 eval "$wx_cv_use_treectrl"
12070
12071 if test x"$enablestring" = xdisable; then
12072 if test $wxUSE_TREECTRL = yes; then
12073 result=no
12074 else
12075 result=yes
12076 fi
12077 else
12078 result=$wxUSE_TREECTRL
12079 fi
12080
12081 { echo "$as_me:$LINENO: result: $result" >&5
12082 echo "${ECHO_T}$result" >&6; }
12083
12084
12085 enablestring=
12086 defaultval=$wxUSE_ALL_FEATURES
12087 if test -z "$defaultval"; then
12088 if test x"$enablestring" = xdisable; then
12089 defaultval=yes
12090 else
12091 defaultval=no
12092 fi
12093 fi
12094
12095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12096 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12097 # Check whether --enable-tipwindow was given.
12098 if test "${enable_tipwindow+set}" = set; then
12099 enableval=$enable_tipwindow;
12100 if test "$enableval" = yes; then
12101 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12102 else
12103 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12104 fi
12105
12106 else
12107
12108 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12109
12110 fi
12111
12112
12113 eval "$wx_cv_use_tipwindow"
12114
12115 if test x"$enablestring" = xdisable; then
12116 if test $wxUSE_TIPWINDOW = yes; then
12117 result=no
12118 else
12119 result=yes
12120 fi
12121 else
12122 result=$wxUSE_TIPWINDOW
12123 fi
12124
12125 { echo "$as_me:$LINENO: result: $result" >&5
12126 echo "${ECHO_T}$result" >&6; }
12127
12128
12129 enablestring=
12130 defaultval=$wxUSE_ALL_FEATURES
12131 if test -z "$defaultval"; then
12132 if test x"$enablestring" = xdisable; then
12133 defaultval=yes
12134 else
12135 defaultval=no
12136 fi
12137 fi
12138
12139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12140 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12141 # Check whether --enable-popupwin was given.
12142 if test "${enable_popupwin+set}" = set; then
12143 enableval=$enable_popupwin;
12144 if test "$enableval" = yes; then
12145 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12146 else
12147 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12148 fi
12149
12150 else
12151
12152 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12153
12154 fi
12155
12156
12157 eval "$wx_cv_use_popupwin"
12158
12159 if test x"$enablestring" = xdisable; then
12160 if test $wxUSE_POPUPWIN = yes; then
12161 result=no
12162 else
12163 result=yes
12164 fi
12165 else
12166 result=$wxUSE_POPUPWIN
12167 fi
12168
12169 { echo "$as_me:$LINENO: result: $result" >&5
12170 echo "${ECHO_T}$result" >&6; }
12171
12172
12173
12174
12175 enablestring=
12176 defaultval=$wxUSE_ALL_FEATURES
12177 if test -z "$defaultval"; then
12178 if test x"$enablestring" = xdisable; then
12179 defaultval=yes
12180 else
12181 defaultval=no
12182 fi
12183 fi
12184
12185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12186 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12187 # Check whether --enable-commondlg was given.
12188 if test "${enable_commondlg+set}" = set; then
12189 enableval=$enable_commondlg;
12190 if test "$enableval" = yes; then
12191 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12192 else
12193 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12194 fi
12195
12196 else
12197
12198 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12199
12200 fi
12201
12202
12203 eval "$wx_cv_use_commondlg"
12204
12205 if test x"$enablestring" = xdisable; then
12206 if test $wxUSE_COMMONDLGS = yes; then
12207 result=no
12208 else
12209 result=yes
12210 fi
12211 else
12212 result=$wxUSE_COMMONDLGS
12213 fi
12214
12215 { echo "$as_me:$LINENO: result: $result" >&5
12216 echo "${ECHO_T}$result" >&6; }
12217
12218
12219 enablestring=
12220 defaultval=$wxUSE_ALL_FEATURES
12221 if test -z "$defaultval"; then
12222 if test x"$enablestring" = xdisable; then
12223 defaultval=yes
12224 else
12225 defaultval=no
12226 fi
12227 fi
12228
12229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12230 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12231 # Check whether --enable-aboutdlg was given.
12232 if test "${enable_aboutdlg+set}" = set; then
12233 enableval=$enable_aboutdlg;
12234 if test "$enableval" = yes; then
12235 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12236 else
12237 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12238 fi
12239
12240 else
12241
12242 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12243
12244 fi
12245
12246
12247 eval "$wx_cv_use_aboutdlg"
12248
12249 if test x"$enablestring" = xdisable; then
12250 if test $wxUSE_ABOUTDLG = yes; then
12251 result=no
12252 else
12253 result=yes
12254 fi
12255 else
12256 result=$wxUSE_ABOUTDLG
12257 fi
12258
12259 { echo "$as_me:$LINENO: result: $result" >&5
12260 echo "${ECHO_T}$result" >&6; }
12261
12262
12263 enablestring=
12264 defaultval=$wxUSE_ALL_FEATURES
12265 if test -z "$defaultval"; then
12266 if test x"$enablestring" = xdisable; then
12267 defaultval=yes
12268 else
12269 defaultval=no
12270 fi
12271 fi
12272
12273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12274 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12275 # Check whether --enable-choicedlg was given.
12276 if test "${enable_choicedlg+set}" = set; then
12277 enableval=$enable_choicedlg;
12278 if test "$enableval" = yes; then
12279 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12280 else
12281 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12282 fi
12283
12284 else
12285
12286 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12287
12288 fi
12289
12290
12291 eval "$wx_cv_use_choicedlg"
12292
12293 if test x"$enablestring" = xdisable; then
12294 if test $wxUSE_CHOICEDLG = yes; then
12295 result=no
12296 else
12297 result=yes
12298 fi
12299 else
12300 result=$wxUSE_CHOICEDLG
12301 fi
12302
12303 { echo "$as_me:$LINENO: result: $result" >&5
12304 echo "${ECHO_T}$result" >&6; }
12305
12306
12307 enablestring=
12308 defaultval=$wxUSE_ALL_FEATURES
12309 if test -z "$defaultval"; then
12310 if test x"$enablestring" = xdisable; then
12311 defaultval=yes
12312 else
12313 defaultval=no
12314 fi
12315 fi
12316
12317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12318 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12319 # Check whether --enable-coldlg was given.
12320 if test "${enable_coldlg+set}" = set; then
12321 enableval=$enable_coldlg;
12322 if test "$enableval" = yes; then
12323 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12324 else
12325 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12326 fi
12327
12328 else
12329
12330 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12331
12332 fi
12333
12334
12335 eval "$wx_cv_use_coldlg"
12336
12337 if test x"$enablestring" = xdisable; then
12338 if test $wxUSE_COLOURDLG = yes; then
12339 result=no
12340 else
12341 result=yes
12342 fi
12343 else
12344 result=$wxUSE_COLOURDLG
12345 fi
12346
12347 { echo "$as_me:$LINENO: result: $result" >&5
12348 echo "${ECHO_T}$result" >&6; }
12349
12350
12351 enablestring=
12352 defaultval=$wxUSE_ALL_FEATURES
12353 if test -z "$defaultval"; then
12354 if test x"$enablestring" = xdisable; then
12355 defaultval=yes
12356 else
12357 defaultval=no
12358 fi
12359 fi
12360
12361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12362 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12363 # Check whether --enable-filedlg was given.
12364 if test "${enable_filedlg+set}" = set; then
12365 enableval=$enable_filedlg;
12366 if test "$enableval" = yes; then
12367 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12368 else
12369 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12370 fi
12371
12372 else
12373
12374 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12375
12376 fi
12377
12378
12379 eval "$wx_cv_use_filedlg"
12380
12381 if test x"$enablestring" = xdisable; then
12382 if test $wxUSE_FILEDLG = yes; then
12383 result=no
12384 else
12385 result=yes
12386 fi
12387 else
12388 result=$wxUSE_FILEDLG
12389 fi
12390
12391 { echo "$as_me:$LINENO: result: $result" >&5
12392 echo "${ECHO_T}$result" >&6; }
12393
12394
12395 enablestring=
12396 defaultval=$wxUSE_ALL_FEATURES
12397 if test -z "$defaultval"; then
12398 if test x"$enablestring" = xdisable; then
12399 defaultval=yes
12400 else
12401 defaultval=no
12402 fi
12403 fi
12404
12405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12406 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12407 # Check whether --enable-finddlg was given.
12408 if test "${enable_finddlg+set}" = set; then
12409 enableval=$enable_finddlg;
12410 if test "$enableval" = yes; then
12411 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12412 else
12413 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12414 fi
12415
12416 else
12417
12418 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12419
12420 fi
12421
12422
12423 eval "$wx_cv_use_finddlg"
12424
12425 if test x"$enablestring" = xdisable; then
12426 if test $wxUSE_FINDREPLDLG = yes; then
12427 result=no
12428 else
12429 result=yes
12430 fi
12431 else
12432 result=$wxUSE_FINDREPLDLG
12433 fi
12434
12435 { echo "$as_me:$LINENO: result: $result" >&5
12436 echo "${ECHO_T}$result" >&6; }
12437
12438
12439 enablestring=
12440 defaultval=$wxUSE_ALL_FEATURES
12441 if test -z "$defaultval"; then
12442 if test x"$enablestring" = xdisable; then
12443 defaultval=yes
12444 else
12445 defaultval=no
12446 fi
12447 fi
12448
12449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12450 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12451 # Check whether --enable-fontdlg was given.
12452 if test "${enable_fontdlg+set}" = set; then
12453 enableval=$enable_fontdlg;
12454 if test "$enableval" = yes; then
12455 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12456 else
12457 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12458 fi
12459
12460 else
12461
12462 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12463
12464 fi
12465
12466
12467 eval "$wx_cv_use_fontdlg"
12468
12469 if test x"$enablestring" = xdisable; then
12470 if test $wxUSE_FONTDLG = yes; then
12471 result=no
12472 else
12473 result=yes
12474 fi
12475 else
12476 result=$wxUSE_FONTDLG
12477 fi
12478
12479 { echo "$as_me:$LINENO: result: $result" >&5
12480 echo "${ECHO_T}$result" >&6; }
12481
12482
12483 enablestring=
12484 defaultval=$wxUSE_ALL_FEATURES
12485 if test -z "$defaultval"; then
12486 if test x"$enablestring" = xdisable; then
12487 defaultval=yes
12488 else
12489 defaultval=no
12490 fi
12491 fi
12492
12493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12494 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12495 # Check whether --enable-dirdlg was given.
12496 if test "${enable_dirdlg+set}" = set; then
12497 enableval=$enable_dirdlg;
12498 if test "$enableval" = yes; then
12499 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12500 else
12501 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12502 fi
12503
12504 else
12505
12506 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12507
12508 fi
12509
12510
12511 eval "$wx_cv_use_dirdlg"
12512
12513 if test x"$enablestring" = xdisable; then
12514 if test $wxUSE_DIRDLG = yes; then
12515 result=no
12516 else
12517 result=yes
12518 fi
12519 else
12520 result=$wxUSE_DIRDLG
12521 fi
12522
12523 { echo "$as_me:$LINENO: result: $result" >&5
12524 echo "${ECHO_T}$result" >&6; }
12525
12526
12527 enablestring=
12528 defaultval=$wxUSE_ALL_FEATURES
12529 if test -z "$defaultval"; then
12530 if test x"$enablestring" = xdisable; then
12531 defaultval=yes
12532 else
12533 defaultval=no
12534 fi
12535 fi
12536
12537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12538 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12539 # Check whether --enable-msgdlg was given.
12540 if test "${enable_msgdlg+set}" = set; then
12541 enableval=$enable_msgdlg;
12542 if test "$enableval" = yes; then
12543 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12544 else
12545 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12546 fi
12547
12548 else
12549
12550 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12551
12552 fi
12553
12554
12555 eval "$wx_cv_use_msgdlg"
12556
12557 if test x"$enablestring" = xdisable; then
12558 if test $wxUSE_MSGDLG = yes; then
12559 result=no
12560 else
12561 result=yes
12562 fi
12563 else
12564 result=$wxUSE_MSGDLG
12565 fi
12566
12567 { echo "$as_me:$LINENO: result: $result" >&5
12568 echo "${ECHO_T}$result" >&6; }
12569
12570
12571 enablestring=
12572 defaultval=$wxUSE_ALL_FEATURES
12573 if test -z "$defaultval"; then
12574 if test x"$enablestring" = xdisable; then
12575 defaultval=yes
12576 else
12577 defaultval=no
12578 fi
12579 fi
12580
12581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12582 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12583 # Check whether --enable-numberdlg was given.
12584 if test "${enable_numberdlg+set}" = set; then
12585 enableval=$enable_numberdlg;
12586 if test "$enableval" = yes; then
12587 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12588 else
12589 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12590 fi
12591
12592 else
12593
12594 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12595
12596 fi
12597
12598
12599 eval "$wx_cv_use_numberdlg"
12600
12601 if test x"$enablestring" = xdisable; then
12602 if test $wxUSE_NUMBERDLG = yes; then
12603 result=no
12604 else
12605 result=yes
12606 fi
12607 else
12608 result=$wxUSE_NUMBERDLG
12609 fi
12610
12611 { echo "$as_me:$LINENO: result: $result" >&5
12612 echo "${ECHO_T}$result" >&6; }
12613
12614
12615 enablestring=
12616 defaultval=$wxUSE_ALL_FEATURES
12617 if test -z "$defaultval"; then
12618 if test x"$enablestring" = xdisable; then
12619 defaultval=yes
12620 else
12621 defaultval=no
12622 fi
12623 fi
12624
12625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12626 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12627 # Check whether --enable-splash was given.
12628 if test "${enable_splash+set}" = set; then
12629 enableval=$enable_splash;
12630 if test "$enableval" = yes; then
12631 wx_cv_use_splash='wxUSE_SPLASH=yes'
12632 else
12633 wx_cv_use_splash='wxUSE_SPLASH=no'
12634 fi
12635
12636 else
12637
12638 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12639
12640 fi
12641
12642
12643 eval "$wx_cv_use_splash"
12644
12645 if test x"$enablestring" = xdisable; then
12646 if test $wxUSE_SPLASH = yes; then
12647 result=no
12648 else
12649 result=yes
12650 fi
12651 else
12652 result=$wxUSE_SPLASH
12653 fi
12654
12655 { echo "$as_me:$LINENO: result: $result" >&5
12656 echo "${ECHO_T}$result" >&6; }
12657
12658
12659 enablestring=
12660 defaultval=$wxUSE_ALL_FEATURES
12661 if test -z "$defaultval"; then
12662 if test x"$enablestring" = xdisable; then
12663 defaultval=yes
12664 else
12665 defaultval=no
12666 fi
12667 fi
12668
12669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12670 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12671 # Check whether --enable-textdlg was given.
12672 if test "${enable_textdlg+set}" = set; then
12673 enableval=$enable_textdlg;
12674 if test "$enableval" = yes; then
12675 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12676 else
12677 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12678 fi
12679
12680 else
12681
12682 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12683
12684 fi
12685
12686
12687 eval "$wx_cv_use_textdlg"
12688
12689 if test x"$enablestring" = xdisable; then
12690 if test $wxUSE_TEXTDLG = yes; then
12691 result=no
12692 else
12693 result=yes
12694 fi
12695 else
12696 result=$wxUSE_TEXTDLG
12697 fi
12698
12699 { echo "$as_me:$LINENO: result: $result" >&5
12700 echo "${ECHO_T}$result" >&6; }
12701
12702
12703 enablestring=
12704 defaultval=$wxUSE_ALL_FEATURES
12705 if test -z "$defaultval"; then
12706 if test x"$enablestring" = xdisable; then
12707 defaultval=yes
12708 else
12709 defaultval=no
12710 fi
12711 fi
12712
12713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12714 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12715 # Check whether --enable-tipdlg was given.
12716 if test "${enable_tipdlg+set}" = set; then
12717 enableval=$enable_tipdlg;
12718 if test "$enableval" = yes; then
12719 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12720 else
12721 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12722 fi
12723
12724 else
12725
12726 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12727
12728 fi
12729
12730
12731 eval "$wx_cv_use_tipdlg"
12732
12733 if test x"$enablestring" = xdisable; then
12734 if test $wxUSE_STARTUP_TIPS = yes; then
12735 result=no
12736 else
12737 result=yes
12738 fi
12739 else
12740 result=$wxUSE_STARTUP_TIPS
12741 fi
12742
12743 { echo "$as_me:$LINENO: result: $result" >&5
12744 echo "${ECHO_T}$result" >&6; }
12745
12746
12747 enablestring=
12748 defaultval=$wxUSE_ALL_FEATURES
12749 if test -z "$defaultval"; then
12750 if test x"$enablestring" = xdisable; then
12751 defaultval=yes
12752 else
12753 defaultval=no
12754 fi
12755 fi
12756
12757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12758 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12759 # Check whether --enable-progressdlg was given.
12760 if test "${enable_progressdlg+set}" = set; then
12761 enableval=$enable_progressdlg;
12762 if test "$enableval" = yes; then
12763 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12764 else
12765 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12766 fi
12767
12768 else
12769
12770 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12771
12772 fi
12773
12774
12775 eval "$wx_cv_use_progressdlg"
12776
12777 if test x"$enablestring" = xdisable; then
12778 if test $wxUSE_PROGRESSDLG = yes; then
12779 result=no
12780 else
12781 result=yes
12782 fi
12783 else
12784 result=$wxUSE_PROGRESSDLG
12785 fi
12786
12787 { echo "$as_me:$LINENO: result: $result" >&5
12788 echo "${ECHO_T}$result" >&6; }
12789
12790
12791 enablestring=
12792 defaultval=$wxUSE_ALL_FEATURES
12793 if test -z "$defaultval"; then
12794 if test x"$enablestring" = xdisable; then
12795 defaultval=yes
12796 else
12797 defaultval=no
12798 fi
12799 fi
12800
12801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12802 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12803 # Check whether --enable-wizarddlg was given.
12804 if test "${enable_wizarddlg+set}" = set; then
12805 enableval=$enable_wizarddlg;
12806 if test "$enableval" = yes; then
12807 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12808 else
12809 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12810 fi
12811
12812 else
12813
12814 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12815
12816 fi
12817
12818
12819 eval "$wx_cv_use_wizarddlg"
12820
12821 if test x"$enablestring" = xdisable; then
12822 if test $wxUSE_WIZARDDLG = yes; then
12823 result=no
12824 else
12825 result=yes
12826 fi
12827 else
12828 result=$wxUSE_WIZARDDLG
12829 fi
12830
12831 { echo "$as_me:$LINENO: result: $result" >&5
12832 echo "${ECHO_T}$result" >&6; }
12833
12834
12835
12836
12837 enablestring=
12838 defaultval=$wxUSE_ALL_FEATURES
12839 if test -z "$defaultval"; then
12840 if test x"$enablestring" = xdisable; then
12841 defaultval=yes
12842 else
12843 defaultval=no
12844 fi
12845 fi
12846
12847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12848 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12849 # Check whether --enable-menus was given.
12850 if test "${enable_menus+set}" = set; then
12851 enableval=$enable_menus;
12852 if test "$enableval" = yes; then
12853 wx_cv_use_menus='wxUSE_MENUS=yes'
12854 else
12855 wx_cv_use_menus='wxUSE_MENUS=no'
12856 fi
12857
12858 else
12859
12860 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12861
12862 fi
12863
12864
12865 eval "$wx_cv_use_menus"
12866
12867 if test x"$enablestring" = xdisable; then
12868 if test $wxUSE_MENUS = yes; then
12869 result=no
12870 else
12871 result=yes
12872 fi
12873 else
12874 result=$wxUSE_MENUS
12875 fi
12876
12877 { echo "$as_me:$LINENO: result: $result" >&5
12878 echo "${ECHO_T}$result" >&6; }
12879
12880
12881 enablestring=
12882 defaultval=$wxUSE_ALL_FEATURES
12883 if test -z "$defaultval"; then
12884 if test x"$enablestring" = xdisable; then
12885 defaultval=yes
12886 else
12887 defaultval=no
12888 fi
12889 fi
12890
12891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12892 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12893 # Check whether --enable-miniframe was given.
12894 if test "${enable_miniframe+set}" = set; then
12895 enableval=$enable_miniframe;
12896 if test "$enableval" = yes; then
12897 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12898 else
12899 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12900 fi
12901
12902 else
12903
12904 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12905
12906 fi
12907
12908
12909 eval "$wx_cv_use_miniframe"
12910
12911 if test x"$enablestring" = xdisable; then
12912 if test $wxUSE_MINIFRAME = yes; then
12913 result=no
12914 else
12915 result=yes
12916 fi
12917 else
12918 result=$wxUSE_MINIFRAME
12919 fi
12920
12921 { echo "$as_me:$LINENO: result: $result" >&5
12922 echo "${ECHO_T}$result" >&6; }
12923
12924
12925 enablestring=
12926 defaultval=$wxUSE_ALL_FEATURES
12927 if test -z "$defaultval"; then
12928 if test x"$enablestring" = xdisable; then
12929 defaultval=yes
12930 else
12931 defaultval=no
12932 fi
12933 fi
12934
12935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12936 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12937 # Check whether --enable-tooltips was given.
12938 if test "${enable_tooltips+set}" = set; then
12939 enableval=$enable_tooltips;
12940 if test "$enableval" = yes; then
12941 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12942 else
12943 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12944 fi
12945
12946 else
12947
12948 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12949
12950 fi
12951
12952
12953 eval "$wx_cv_use_tooltips"
12954
12955 if test x"$enablestring" = xdisable; then
12956 if test $wxUSE_TOOLTIPS = yes; then
12957 result=no
12958 else
12959 result=yes
12960 fi
12961 else
12962 result=$wxUSE_TOOLTIPS
12963 fi
12964
12965 { echo "$as_me:$LINENO: result: $result" >&5
12966 echo "${ECHO_T}$result" >&6; }
12967
12968
12969 enablestring=
12970 defaultval=$wxUSE_ALL_FEATURES
12971 if test -z "$defaultval"; then
12972 if test x"$enablestring" = xdisable; then
12973 defaultval=yes
12974 else
12975 defaultval=no
12976 fi
12977 fi
12978
12979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12980 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12981 # Check whether --enable-splines was given.
12982 if test "${enable_splines+set}" = set; then
12983 enableval=$enable_splines;
12984 if test "$enableval" = yes; then
12985 wx_cv_use_splines='wxUSE_SPLINES=yes'
12986 else
12987 wx_cv_use_splines='wxUSE_SPLINES=no'
12988 fi
12989
12990 else
12991
12992 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12993
12994 fi
12995
12996
12997 eval "$wx_cv_use_splines"
12998
12999 if test x"$enablestring" = xdisable; then
13000 if test $wxUSE_SPLINES = yes; then
13001 result=no
13002 else
13003 result=yes
13004 fi
13005 else
13006 result=$wxUSE_SPLINES
13007 fi
13008
13009 { echo "$as_me:$LINENO: result: $result" >&5
13010 echo "${ECHO_T}$result" >&6; }
13011
13012
13013 enablestring=
13014 defaultval=$wxUSE_ALL_FEATURES
13015 if test -z "$defaultval"; then
13016 if test x"$enablestring" = xdisable; then
13017 defaultval=yes
13018 else
13019 defaultval=no
13020 fi
13021 fi
13022
13023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13024 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13025 # Check whether --enable-mousewheel was given.
13026 if test "${enable_mousewheel+set}" = set; then
13027 enableval=$enable_mousewheel;
13028 if test "$enableval" = yes; then
13029 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13030 else
13031 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13032 fi
13033
13034 else
13035
13036 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13037
13038 fi
13039
13040
13041 eval "$wx_cv_use_mousewheel"
13042
13043 if test x"$enablestring" = xdisable; then
13044 if test $wxUSE_MOUSEWHEEL = yes; then
13045 result=no
13046 else
13047 result=yes
13048 fi
13049 else
13050 result=$wxUSE_MOUSEWHEEL
13051 fi
13052
13053 { echo "$as_me:$LINENO: result: $result" >&5
13054 echo "${ECHO_T}$result" >&6; }
13055
13056
13057 enablestring=
13058 defaultval=$wxUSE_ALL_FEATURES
13059 if test -z "$defaultval"; then
13060 if test x"$enablestring" = xdisable; then
13061 defaultval=yes
13062 else
13063 defaultval=no
13064 fi
13065 fi
13066
13067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13068 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13069 # Check whether --enable-validators was given.
13070 if test "${enable_validators+set}" = set; then
13071 enableval=$enable_validators;
13072 if test "$enableval" = yes; then
13073 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13074 else
13075 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13076 fi
13077
13078 else
13079
13080 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13081
13082 fi
13083
13084
13085 eval "$wx_cv_use_validators"
13086
13087 if test x"$enablestring" = xdisable; then
13088 if test $wxUSE_VALIDATORS = yes; then
13089 result=no
13090 else
13091 result=yes
13092 fi
13093 else
13094 result=$wxUSE_VALIDATORS
13095 fi
13096
13097 { echo "$as_me:$LINENO: result: $result" >&5
13098 echo "${ECHO_T}$result" >&6; }
13099
13100
13101 enablestring=
13102 defaultval=$wxUSE_ALL_FEATURES
13103 if test -z "$defaultval"; then
13104 if test x"$enablestring" = xdisable; then
13105 defaultval=yes
13106 else
13107 defaultval=no
13108 fi
13109 fi
13110
13111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13112 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13113 # Check whether --enable-busyinfo was given.
13114 if test "${enable_busyinfo+set}" = set; then
13115 enableval=$enable_busyinfo;
13116 if test "$enableval" = yes; then
13117 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13118 else
13119 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13120 fi
13121
13122 else
13123
13124 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13125
13126 fi
13127
13128
13129 eval "$wx_cv_use_busyinfo"
13130
13131 if test x"$enablestring" = xdisable; then
13132 if test $wxUSE_BUSYINFO = yes; then
13133 result=no
13134 else
13135 result=yes
13136 fi
13137 else
13138 result=$wxUSE_BUSYINFO
13139 fi
13140
13141 { echo "$as_me:$LINENO: result: $result" >&5
13142 echo "${ECHO_T}$result" >&6; }
13143
13144
13145 enablestring=
13146 defaultval=$wxUSE_ALL_FEATURES
13147 if test -z "$defaultval"; then
13148 if test x"$enablestring" = xdisable; then
13149 defaultval=yes
13150 else
13151 defaultval=no
13152 fi
13153 fi
13154
13155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13156 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13157 # Check whether --enable-joystick was given.
13158 if test "${enable_joystick+set}" = set; then
13159 enableval=$enable_joystick;
13160 if test "$enableval" = yes; then
13161 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13162 else
13163 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13164 fi
13165
13166 else
13167
13168 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13169
13170 fi
13171
13172
13173 eval "$wx_cv_use_joystick"
13174
13175 if test x"$enablestring" = xdisable; then
13176 if test $wxUSE_JOYSTICK = yes; then
13177 result=no
13178 else
13179 result=yes
13180 fi
13181 else
13182 result=$wxUSE_JOYSTICK
13183 fi
13184
13185 { echo "$as_me:$LINENO: result: $result" >&5
13186 echo "${ECHO_T}$result" >&6; }
13187
13188
13189 enablestring=
13190 defaultval=$wxUSE_ALL_FEATURES
13191 if test -z "$defaultval"; then
13192 if test x"$enablestring" = xdisable; then
13193 defaultval=yes
13194 else
13195 defaultval=no
13196 fi
13197 fi
13198
13199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13200 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13201 # Check whether --enable-metafile was given.
13202 if test "${enable_metafile+set}" = set; then
13203 enableval=$enable_metafile;
13204 if test "$enableval" = yes; then
13205 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13206 else
13207 wx_cv_use_metafile='wxUSE_METAFILE=no'
13208 fi
13209
13210 else
13211
13212 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13213
13214 fi
13215
13216
13217 eval "$wx_cv_use_metafile"
13218
13219 if test x"$enablestring" = xdisable; then
13220 if test $wxUSE_METAFILE = yes; then
13221 result=no
13222 else
13223 result=yes
13224 fi
13225 else
13226 result=$wxUSE_METAFILE
13227 fi
13228
13229 { echo "$as_me:$LINENO: result: $result" >&5
13230 echo "${ECHO_T}$result" >&6; }
13231
13232
13233 enablestring=
13234 defaultval=$wxUSE_ALL_FEATURES
13235 if test -z "$defaultval"; then
13236 if test x"$enablestring" = xdisable; then
13237 defaultval=yes
13238 else
13239 defaultval=no
13240 fi
13241 fi
13242
13243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13244 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13245 # Check whether --enable-dragimage was given.
13246 if test "${enable_dragimage+set}" = set; then
13247 enableval=$enable_dragimage;
13248 if test "$enableval" = yes; then
13249 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13250 else
13251 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13252 fi
13253
13254 else
13255
13256 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13257
13258 fi
13259
13260
13261 eval "$wx_cv_use_dragimage"
13262
13263 if test x"$enablestring" = xdisable; then
13264 if test $wxUSE_DRAGIMAGE = yes; then
13265 result=no
13266 else
13267 result=yes
13268 fi
13269 else
13270 result=$wxUSE_DRAGIMAGE
13271 fi
13272
13273 { echo "$as_me:$LINENO: result: $result" >&5
13274 echo "${ECHO_T}$result" >&6; }
13275
13276
13277 enablestring=
13278 defaultval=$wxUSE_ALL_FEATURES
13279 if test -z "$defaultval"; then
13280 if test x"$enablestring" = xdisable; then
13281 defaultval=yes
13282 else
13283 defaultval=no
13284 fi
13285 fi
13286
13287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13288 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13289 # Check whether --enable-accessibility was given.
13290 if test "${enable_accessibility+set}" = set; then
13291 enableval=$enable_accessibility;
13292 if test "$enableval" = yes; then
13293 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13294 else
13295 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13296 fi
13297
13298 else
13299
13300 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13301
13302 fi
13303
13304
13305 eval "$wx_cv_use_accessibility"
13306
13307 if test x"$enablestring" = xdisable; then
13308 if test $wxUSE_ACCESSIBILITY = yes; then
13309 result=no
13310 else
13311 result=yes
13312 fi
13313 else
13314 result=$wxUSE_ACCESSIBILITY
13315 fi
13316
13317 { echo "$as_me:$LINENO: result: $result" >&5
13318 echo "${ECHO_T}$result" >&6; }
13319
13320
13321
13322
13323 enablestring=
13324 defaultval=$wxUSE_ALL_FEATURES
13325 if test -z "$defaultval"; then
13326 if test x"$enablestring" = xdisable; then
13327 defaultval=yes
13328 else
13329 defaultval=no
13330 fi
13331 fi
13332
13333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13334 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13335 # Check whether --enable-palette was given.
13336 if test "${enable_palette+set}" = set; then
13337 enableval=$enable_palette;
13338 if test "$enableval" = yes; then
13339 wx_cv_use_palette='wxUSE_PALETTE=yes'
13340 else
13341 wx_cv_use_palette='wxUSE_PALETTE=no'
13342 fi
13343
13344 else
13345
13346 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13347
13348 fi
13349
13350
13351 eval "$wx_cv_use_palette"
13352
13353 if test x"$enablestring" = xdisable; then
13354 if test $wxUSE_PALETTE = yes; then
13355 result=no
13356 else
13357 result=yes
13358 fi
13359 else
13360 result=$wxUSE_PALETTE
13361 fi
13362
13363 { echo "$as_me:$LINENO: result: $result" >&5
13364 echo "${ECHO_T}$result" >&6; }
13365
13366
13367 enablestring=
13368 defaultval=$wxUSE_ALL_FEATURES
13369 if test -z "$defaultval"; then
13370 if test x"$enablestring" = xdisable; then
13371 defaultval=yes
13372 else
13373 defaultval=no
13374 fi
13375 fi
13376
13377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13378 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13379 # Check whether --enable-image was given.
13380 if test "${enable_image+set}" = set; then
13381 enableval=$enable_image;
13382 if test "$enableval" = yes; then
13383 wx_cv_use_image='wxUSE_IMAGE=yes'
13384 else
13385 wx_cv_use_image='wxUSE_IMAGE=no'
13386 fi
13387
13388 else
13389
13390 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13391
13392 fi
13393
13394
13395 eval "$wx_cv_use_image"
13396
13397 if test x"$enablestring" = xdisable; then
13398 if test $wxUSE_IMAGE = yes; then
13399 result=no
13400 else
13401 result=yes
13402 fi
13403 else
13404 result=$wxUSE_IMAGE
13405 fi
13406
13407 { echo "$as_me:$LINENO: result: $result" >&5
13408 echo "${ECHO_T}$result" >&6; }
13409
13410
13411 enablestring=
13412 defaultval=$wxUSE_ALL_FEATURES
13413 if test -z "$defaultval"; then
13414 if test x"$enablestring" = xdisable; then
13415 defaultval=yes
13416 else
13417 defaultval=no
13418 fi
13419 fi
13420
13421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13422 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13423 # Check whether --enable-gif was given.
13424 if test "${enable_gif+set}" = set; then
13425 enableval=$enable_gif;
13426 if test "$enableval" = yes; then
13427 wx_cv_use_gif='wxUSE_GIF=yes'
13428 else
13429 wx_cv_use_gif='wxUSE_GIF=no'
13430 fi
13431
13432 else
13433
13434 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13435
13436 fi
13437
13438
13439 eval "$wx_cv_use_gif"
13440
13441 if test x"$enablestring" = xdisable; then
13442 if test $wxUSE_GIF = yes; then
13443 result=no
13444 else
13445 result=yes
13446 fi
13447 else
13448 result=$wxUSE_GIF
13449 fi
13450
13451 { echo "$as_me:$LINENO: result: $result" >&5
13452 echo "${ECHO_T}$result" >&6; }
13453
13454
13455 enablestring=
13456 defaultval=$wxUSE_ALL_FEATURES
13457 if test -z "$defaultval"; then
13458 if test x"$enablestring" = xdisable; then
13459 defaultval=yes
13460 else
13461 defaultval=no
13462 fi
13463 fi
13464
13465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13466 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13467 # Check whether --enable-pcx was given.
13468 if test "${enable_pcx+set}" = set; then
13469 enableval=$enable_pcx;
13470 if test "$enableval" = yes; then
13471 wx_cv_use_pcx='wxUSE_PCX=yes'
13472 else
13473 wx_cv_use_pcx='wxUSE_PCX=no'
13474 fi
13475
13476 else
13477
13478 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13479
13480 fi
13481
13482
13483 eval "$wx_cv_use_pcx"
13484
13485 if test x"$enablestring" = xdisable; then
13486 if test $wxUSE_PCX = yes; then
13487 result=no
13488 else
13489 result=yes
13490 fi
13491 else
13492 result=$wxUSE_PCX
13493 fi
13494
13495 { echo "$as_me:$LINENO: result: $result" >&5
13496 echo "${ECHO_T}$result" >&6; }
13497
13498
13499 enablestring=
13500 defaultval=$wxUSE_ALL_FEATURES
13501 if test -z "$defaultval"; then
13502 if test x"$enablestring" = xdisable; then
13503 defaultval=yes
13504 else
13505 defaultval=no
13506 fi
13507 fi
13508
13509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13510 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13511 # Check whether --enable-tga was given.
13512 if test "${enable_tga+set}" = set; then
13513 enableval=$enable_tga;
13514 if test "$enableval" = yes; then
13515 wx_cv_use_tga='wxUSE_TGA=yes'
13516 else
13517 wx_cv_use_tga='wxUSE_TGA=no'
13518 fi
13519
13520 else
13521
13522 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13523
13524 fi
13525
13526
13527 eval "$wx_cv_use_tga"
13528
13529 if test x"$enablestring" = xdisable; then
13530 if test $wxUSE_TGA = yes; then
13531 result=no
13532 else
13533 result=yes
13534 fi
13535 else
13536 result=$wxUSE_TGA
13537 fi
13538
13539 { echo "$as_me:$LINENO: result: $result" >&5
13540 echo "${ECHO_T}$result" >&6; }
13541
13542
13543 enablestring=
13544 defaultval=$wxUSE_ALL_FEATURES
13545 if test -z "$defaultval"; then
13546 if test x"$enablestring" = xdisable; then
13547 defaultval=yes
13548 else
13549 defaultval=no
13550 fi
13551 fi
13552
13553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13554 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13555 # Check whether --enable-iff was given.
13556 if test "${enable_iff+set}" = set; then
13557 enableval=$enable_iff;
13558 if test "$enableval" = yes; then
13559 wx_cv_use_iff='wxUSE_IFF=yes'
13560 else
13561 wx_cv_use_iff='wxUSE_IFF=no'
13562 fi
13563
13564 else
13565
13566 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13567
13568 fi
13569
13570
13571 eval "$wx_cv_use_iff"
13572
13573 if test x"$enablestring" = xdisable; then
13574 if test $wxUSE_IFF = yes; then
13575 result=no
13576 else
13577 result=yes
13578 fi
13579 else
13580 result=$wxUSE_IFF
13581 fi
13582
13583 { echo "$as_me:$LINENO: result: $result" >&5
13584 echo "${ECHO_T}$result" >&6; }
13585
13586
13587 enablestring=
13588 defaultval=$wxUSE_ALL_FEATURES
13589 if test -z "$defaultval"; then
13590 if test x"$enablestring" = xdisable; then
13591 defaultval=yes
13592 else
13593 defaultval=no
13594 fi
13595 fi
13596
13597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13598 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13599 # Check whether --enable-pnm was given.
13600 if test "${enable_pnm+set}" = set; then
13601 enableval=$enable_pnm;
13602 if test "$enableval" = yes; then
13603 wx_cv_use_pnm='wxUSE_PNM=yes'
13604 else
13605 wx_cv_use_pnm='wxUSE_PNM=no'
13606 fi
13607
13608 else
13609
13610 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13611
13612 fi
13613
13614
13615 eval "$wx_cv_use_pnm"
13616
13617 if test x"$enablestring" = xdisable; then
13618 if test $wxUSE_PNM = yes; then
13619 result=no
13620 else
13621 result=yes
13622 fi
13623 else
13624 result=$wxUSE_PNM
13625 fi
13626
13627 { echo "$as_me:$LINENO: result: $result" >&5
13628 echo "${ECHO_T}$result" >&6; }
13629
13630
13631 enablestring=
13632 defaultval=$wxUSE_ALL_FEATURES
13633 if test -z "$defaultval"; then
13634 if test x"$enablestring" = xdisable; then
13635 defaultval=yes
13636 else
13637 defaultval=no
13638 fi
13639 fi
13640
13641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13642 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13643 # Check whether --enable-xpm was given.
13644 if test "${enable_xpm+set}" = set; then
13645 enableval=$enable_xpm;
13646 if test "$enableval" = yes; then
13647 wx_cv_use_xpm='wxUSE_XPM=yes'
13648 else
13649 wx_cv_use_xpm='wxUSE_XPM=no'
13650 fi
13651
13652 else
13653
13654 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13655
13656 fi
13657
13658
13659 eval "$wx_cv_use_xpm"
13660
13661 if test x"$enablestring" = xdisable; then
13662 if test $wxUSE_XPM = yes; then
13663 result=no
13664 else
13665 result=yes
13666 fi
13667 else
13668 result=$wxUSE_XPM
13669 fi
13670
13671 { echo "$as_me:$LINENO: result: $result" >&5
13672 echo "${ECHO_T}$result" >&6; }
13673
13674
13675 enablestring=
13676 defaultval=$wxUSE_ALL_FEATURES
13677 if test -z "$defaultval"; then
13678 if test x"$enablestring" = xdisable; then
13679 defaultval=yes
13680 else
13681 defaultval=no
13682 fi
13683 fi
13684
13685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13686 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13687 # Check whether --enable-ico_cur was given.
13688 if test "${enable_ico_cur+set}" = set; then
13689 enableval=$enable_ico_cur;
13690 if test "$enableval" = yes; then
13691 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13692 else
13693 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13694 fi
13695
13696 else
13697
13698 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13699
13700 fi
13701
13702
13703 eval "$wx_cv_use_ico_cur"
13704
13705 if test x"$enablestring" = xdisable; then
13706 if test $wxUSE_ICO_CUR = yes; then
13707 result=no
13708 else
13709 result=yes
13710 fi
13711 else
13712 result=$wxUSE_ICO_CUR
13713 fi
13714
13715 { echo "$as_me:$LINENO: result: $result" >&5
13716 echo "${ECHO_T}$result" >&6; }
13717
13718
13719
13720
13721 enablestring=
13722 defaultval=$wxUSE_ALL_FEATURES
13723 if test -z "$defaultval"; then
13724 if test x"$enablestring" = xdisable; then
13725 defaultval=yes
13726 else
13727 defaultval=no
13728 fi
13729 fi
13730
13731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13732 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13733 # Check whether --enable-dccache was given.
13734 if test "${enable_dccache+set}" = set; then
13735 enableval=$enable_dccache;
13736 if test "$enableval" = yes; then
13737 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13738 else
13739 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13740 fi
13741
13742 else
13743
13744 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13745
13746 fi
13747
13748
13749 eval "$wx_cv_use_dccache"
13750
13751 if test x"$enablestring" = xdisable; then
13752 if test $wxUSE_DC_CACHEING = yes; then
13753 result=no
13754 else
13755 result=yes
13756 fi
13757 else
13758 result=$wxUSE_DC_CACHEING
13759 fi
13760
13761 { echo "$as_me:$LINENO: result: $result" >&5
13762 echo "${ECHO_T}$result" >&6; }
13763
13764
13765 enablestring=
13766 defaultval=$wxUSE_ALL_FEATURES
13767 if test -z "$defaultval"; then
13768 if test x"$enablestring" = xdisable; then
13769 defaultval=yes
13770 else
13771 defaultval=no
13772 fi
13773 fi
13774
13775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13776 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13777 # Check whether --enable-ps-in-msw was given.
13778 if test "${enable_ps_in_msw+set}" = set; then
13779 enableval=$enable_ps_in_msw;
13780 if test "$enableval" = yes; then
13781 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13782 else
13783 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13784 fi
13785
13786 else
13787
13788 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13789
13790 fi
13791
13792
13793 eval "$wx_cv_use_ps_in_msw"
13794
13795 if test x"$enablestring" = xdisable; then
13796 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13797 result=no
13798 else
13799 result=yes
13800 fi
13801 else
13802 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13803 fi
13804
13805 { echo "$as_me:$LINENO: result: $result" >&5
13806 echo "${ECHO_T}$result" >&6; }
13807
13808
13809 enablestring=
13810 defaultval=$wxUSE_ALL_FEATURES
13811 if test -z "$defaultval"; then
13812 if test x"$enablestring" = xdisable; then
13813 defaultval=yes
13814 else
13815 defaultval=no
13816 fi
13817 fi
13818
13819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13820 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13821 # Check whether --enable-ownerdrawn was given.
13822 if test "${enable_ownerdrawn+set}" = set; then
13823 enableval=$enable_ownerdrawn;
13824 if test "$enableval" = yes; then
13825 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13826 else
13827 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13828 fi
13829
13830 else
13831
13832 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13833
13834 fi
13835
13836
13837 eval "$wx_cv_use_ownerdrawn"
13838
13839 if test x"$enablestring" = xdisable; then
13840 if test $wxUSE_OWNER_DRAWN = yes; then
13841 result=no
13842 else
13843 result=yes
13844 fi
13845 else
13846 result=$wxUSE_OWNER_DRAWN
13847 fi
13848
13849 { echo "$as_me:$LINENO: result: $result" >&5
13850 echo "${ECHO_T}$result" >&6; }
13851
13852
13853 enablestring=
13854 defaultval=$wxUSE_ALL_FEATURES
13855 if test -z "$defaultval"; then
13856 if test x"$enablestring" = xdisable; then
13857 defaultval=yes
13858 else
13859 defaultval=no
13860 fi
13861 fi
13862
13863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13864 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13865 # Check whether --enable-uxtheme was given.
13866 if test "${enable_uxtheme+set}" = set; then
13867 enableval=$enable_uxtheme;
13868 if test "$enableval" = yes; then
13869 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13870 else
13871 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13872 fi
13873
13874 else
13875
13876 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13877
13878 fi
13879
13880
13881 eval "$wx_cv_use_uxtheme"
13882
13883 if test x"$enablestring" = xdisable; then
13884 if test $wxUSE_UXTHEME = yes; then
13885 result=no
13886 else
13887 result=yes
13888 fi
13889 else
13890 result=$wxUSE_UXTHEME
13891 fi
13892
13893 { echo "$as_me:$LINENO: result: $result" >&5
13894 echo "${ECHO_T}$result" >&6; }
13895
13896
13897 enablestring=
13898 defaultval=$wxUSE_ALL_FEATURES
13899 if test -z "$defaultval"; then
13900 if test x"$enablestring" = xdisable; then
13901 defaultval=yes
13902 else
13903 defaultval=no
13904 fi
13905 fi
13906
13907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13908 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13909 # Check whether --enable-wxdib was given.
13910 if test "${enable_wxdib+set}" = set; then
13911 enableval=$enable_wxdib;
13912 if test "$enableval" = yes; then
13913 wx_cv_use_wxdib='wxUSE_DIB=yes'
13914 else
13915 wx_cv_use_wxdib='wxUSE_DIB=no'
13916 fi
13917
13918 else
13919
13920 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13921
13922 fi
13923
13924
13925 eval "$wx_cv_use_wxdib"
13926
13927 if test x"$enablestring" = xdisable; then
13928 if test $wxUSE_DIB = yes; then
13929 result=no
13930 else
13931 result=yes
13932 fi
13933 else
13934 result=$wxUSE_DIB
13935 fi
13936
13937 { echo "$as_me:$LINENO: result: $result" >&5
13938 echo "${ECHO_T}$result" >&6; }
13939
13940
13941 if test "$wxUSE_MSW" != 1; then
13942 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13943 fi
13944
13945
13946 enablestring=
13947 defaultval=$wxUSE_ALL_FEATURES
13948 if test -z "$defaultval"; then
13949 if test x"$enablestring" = xdisable; then
13950 defaultval=yes
13951 else
13952 defaultval=no
13953 fi
13954 fi
13955
13956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13957 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13958 # Check whether --enable-autoidman was given.
13959 if test "${enable_autoidman+set}" = set; then
13960 enableval=$enable_autoidman;
13961 if test "$enableval" = yes; then
13962 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13963 else
13964 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13965 fi
13966
13967 else
13968
13969 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13970
13971 fi
13972
13973
13974 eval "$wx_cv_use_autoidman"
13975
13976 if test x"$enablestring" = xdisable; then
13977 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13978 result=no
13979 else
13980 result=yes
13981 fi
13982 else
13983 result=$wxUSE_AUTOID_MANAGEMENT
13984 fi
13985
13986 { echo "$as_me:$LINENO: result: $result" >&5
13987 echo "${ECHO_T}$result" >&6; }
13988
13989
13990 fi
13991
13992
13993 cat >confcache <<\_ACEOF
13994 # This file is a shell script that caches the results of configure
13995 # tests run on this system so they can be shared between configure
13996 # scripts and configure runs, see configure's option --config-cache.
13997 # It is not useful on other systems. If it contains results you don't
13998 # want to keep, you may remove or edit it.
13999 #
14000 # config.status only pays attention to the cache file if you give it
14001 # the --recheck option to rerun configure.
14002 #
14003 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14004 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14005 # following values.
14006
14007 _ACEOF
14008
14009 # The following way of writing the cache mishandles newlines in values,
14010 # but we know of no workaround that is simple, portable, and efficient.
14011 # So, we kill variables containing newlines.
14012 # Ultrix sh set writes to stderr and can't be redirected directly,
14013 # and sets the high bit in the cache file unless we assign to the vars.
14014 (
14015 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14016 eval ac_val=\$$ac_var
14017 case $ac_val in #(
14018 *${as_nl}*)
14019 case $ac_var in #(
14020 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14021 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14022 esac
14023 case $ac_var in #(
14024 _ | IFS | as_nl) ;; #(
14025 *) $as_unset $ac_var ;;
14026 esac ;;
14027 esac
14028 done
14029
14030 (set) 2>&1 |
14031 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14032 *${as_nl}ac_space=\ *)
14033 # `set' does not quote correctly, so add quotes (double-quote
14034 # substitution turns \\\\ into \\, and sed turns \\ into \).
14035 sed -n \
14036 "s/'/'\\\\''/g;
14037 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14038 ;; #(
14039 *)
14040 # `set' quotes correctly as required by POSIX, so do not add quotes.
14041 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14042 ;;
14043 esac |
14044 sort
14045 ) |
14046 sed '
14047 /^ac_cv_env_/b end
14048 t clear
14049 :clear
14050 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14051 t end
14052 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14053 :end' >>confcache
14054 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14055 if test -w "$cache_file"; then
14056 test "x$cache_file" != "x/dev/null" &&
14057 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14058 echo "$as_me: updating cache $cache_file" >&6;}
14059 cat confcache >$cache_file
14060 else
14061 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14062 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14063 fi
14064 fi
14065 rm -f confcache
14066
14067 CFLAGS=${CFLAGS:=}
14068
14069
14070
14071 ac_ext=c
14072 ac_cpp='$CPP $CPPFLAGS'
14073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14076 if test -n "$ac_tool_prefix"; then
14077 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14078 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14081 if test "${ac_cv_prog_CC+set}" = set; then
14082 echo $ECHO_N "(cached) $ECHO_C" >&6
14083 else
14084 if test -n "$CC"; then
14085 ac_cv_prog_CC="$CC" # Let the user override the test.
14086 else
14087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14088 for as_dir in $PATH
14089 do
14090 IFS=$as_save_IFS
14091 test -z "$as_dir" && as_dir=.
14092 for ac_exec_ext in '' $ac_executable_extensions; do
14093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14094 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14096 break 2
14097 fi
14098 done
14099 done
14100 IFS=$as_save_IFS
14101
14102 fi
14103 fi
14104 CC=$ac_cv_prog_CC
14105 if test -n "$CC"; then
14106 { echo "$as_me:$LINENO: result: $CC" >&5
14107 echo "${ECHO_T}$CC" >&6; }
14108 else
14109 { echo "$as_me:$LINENO: result: no" >&5
14110 echo "${ECHO_T}no" >&6; }
14111 fi
14112
14113
14114 fi
14115 if test -z "$ac_cv_prog_CC"; then
14116 ac_ct_CC=$CC
14117 # Extract the first word of "gcc", so it can be a program name with args.
14118 set dummy gcc; ac_word=$2
14119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14121 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14122 echo $ECHO_N "(cached) $ECHO_C" >&6
14123 else
14124 if test -n "$ac_ct_CC"; then
14125 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14126 else
14127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14128 for as_dir in $PATH
14129 do
14130 IFS=$as_save_IFS
14131 test -z "$as_dir" && as_dir=.
14132 for ac_exec_ext in '' $ac_executable_extensions; do
14133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14134 ac_cv_prog_ac_ct_CC="gcc"
14135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14136 break 2
14137 fi
14138 done
14139 done
14140 IFS=$as_save_IFS
14141
14142 fi
14143 fi
14144 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14145 if test -n "$ac_ct_CC"; then
14146 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14147 echo "${ECHO_T}$ac_ct_CC" >&6; }
14148 else
14149 { echo "$as_me:$LINENO: result: no" >&5
14150 echo "${ECHO_T}no" >&6; }
14151 fi
14152
14153 if test "x$ac_ct_CC" = x; then
14154 CC=""
14155 else
14156 case $cross_compiling:$ac_tool_warned in
14157 yes:)
14158 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14159 whose name does not start with the host triplet. If you think this
14160 configuration is useful to you, please write to autoconf@gnu.org." >&5
14161 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14162 whose name does not start with the host triplet. If you think this
14163 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14164 ac_tool_warned=yes ;;
14165 esac
14166 CC=$ac_ct_CC
14167 fi
14168 else
14169 CC="$ac_cv_prog_CC"
14170 fi
14171
14172 if test -z "$CC"; then
14173 if test -n "$ac_tool_prefix"; then
14174 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14175 set dummy ${ac_tool_prefix}cc; ac_word=$2
14176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14178 if test "${ac_cv_prog_CC+set}" = set; then
14179 echo $ECHO_N "(cached) $ECHO_C" >&6
14180 else
14181 if test -n "$CC"; then
14182 ac_cv_prog_CC="$CC" # Let the user override the test.
14183 else
14184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14185 for as_dir in $PATH
14186 do
14187 IFS=$as_save_IFS
14188 test -z "$as_dir" && as_dir=.
14189 for ac_exec_ext in '' $ac_executable_extensions; do
14190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14191 ac_cv_prog_CC="${ac_tool_prefix}cc"
14192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14193 break 2
14194 fi
14195 done
14196 done
14197 IFS=$as_save_IFS
14198
14199 fi
14200 fi
14201 CC=$ac_cv_prog_CC
14202 if test -n "$CC"; then
14203 { echo "$as_me:$LINENO: result: $CC" >&5
14204 echo "${ECHO_T}$CC" >&6; }
14205 else
14206 { echo "$as_me:$LINENO: result: no" >&5
14207 echo "${ECHO_T}no" >&6; }
14208 fi
14209
14210
14211 fi
14212 fi
14213 if test -z "$CC"; then
14214 # Extract the first word of "cc", so it can be a program name with args.
14215 set dummy cc; ac_word=$2
14216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14218 if test "${ac_cv_prog_CC+set}" = set; then
14219 echo $ECHO_N "(cached) $ECHO_C" >&6
14220 else
14221 if test -n "$CC"; then
14222 ac_cv_prog_CC="$CC" # Let the user override the test.
14223 else
14224 ac_prog_rejected=no
14225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14226 for as_dir in $PATH
14227 do
14228 IFS=$as_save_IFS
14229 test -z "$as_dir" && as_dir=.
14230 for ac_exec_ext in '' $ac_executable_extensions; do
14231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14232 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14233 ac_prog_rejected=yes
14234 continue
14235 fi
14236 ac_cv_prog_CC="cc"
14237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14238 break 2
14239 fi
14240 done
14241 done
14242 IFS=$as_save_IFS
14243
14244 if test $ac_prog_rejected = yes; then
14245 # We found a bogon in the path, so make sure we never use it.
14246 set dummy $ac_cv_prog_CC
14247 shift
14248 if test $# != 0; then
14249 # We chose a different compiler from the bogus one.
14250 # However, it has the same basename, so the bogon will be chosen
14251 # first if we set CC to just the basename; use the full file name.
14252 shift
14253 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14254 fi
14255 fi
14256 fi
14257 fi
14258 CC=$ac_cv_prog_CC
14259 if test -n "$CC"; then
14260 { echo "$as_me:$LINENO: result: $CC" >&5
14261 echo "${ECHO_T}$CC" >&6; }
14262 else
14263 { echo "$as_me:$LINENO: result: no" >&5
14264 echo "${ECHO_T}no" >&6; }
14265 fi
14266
14267
14268 fi
14269 if test -z "$CC"; then
14270 if test -n "$ac_tool_prefix"; then
14271 for ac_prog in cl.exe
14272 do
14273 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14274 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14277 if test "${ac_cv_prog_CC+set}" = set; then
14278 echo $ECHO_N "(cached) $ECHO_C" >&6
14279 else
14280 if test -n "$CC"; then
14281 ac_cv_prog_CC="$CC" # Let the user override the test.
14282 else
14283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14284 for as_dir in $PATH
14285 do
14286 IFS=$as_save_IFS
14287 test -z "$as_dir" && as_dir=.
14288 for ac_exec_ext in '' $ac_executable_extensions; do
14289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14290 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14292 break 2
14293 fi
14294 done
14295 done
14296 IFS=$as_save_IFS
14297
14298 fi
14299 fi
14300 CC=$ac_cv_prog_CC
14301 if test -n "$CC"; then
14302 { echo "$as_me:$LINENO: result: $CC" >&5
14303 echo "${ECHO_T}$CC" >&6; }
14304 else
14305 { echo "$as_me:$LINENO: result: no" >&5
14306 echo "${ECHO_T}no" >&6; }
14307 fi
14308
14309
14310 test -n "$CC" && break
14311 done
14312 fi
14313 if test -z "$CC"; then
14314 ac_ct_CC=$CC
14315 for ac_prog in cl.exe
14316 do
14317 # Extract the first word of "$ac_prog", so it can be a program name with args.
14318 set dummy $ac_prog; ac_word=$2
14319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14321 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14322 echo $ECHO_N "(cached) $ECHO_C" >&6
14323 else
14324 if test -n "$ac_ct_CC"; then
14325 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14326 else
14327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14328 for as_dir in $PATH
14329 do
14330 IFS=$as_save_IFS
14331 test -z "$as_dir" && as_dir=.
14332 for ac_exec_ext in '' $ac_executable_extensions; do
14333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14334 ac_cv_prog_ac_ct_CC="$ac_prog"
14335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14336 break 2
14337 fi
14338 done
14339 done
14340 IFS=$as_save_IFS
14341
14342 fi
14343 fi
14344 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14345 if test -n "$ac_ct_CC"; then
14346 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14347 echo "${ECHO_T}$ac_ct_CC" >&6; }
14348 else
14349 { echo "$as_me:$LINENO: result: no" >&5
14350 echo "${ECHO_T}no" >&6; }
14351 fi
14352
14353
14354 test -n "$ac_ct_CC" && break
14355 done
14356
14357 if test "x$ac_ct_CC" = x; then
14358 CC=""
14359 else
14360 case $cross_compiling:$ac_tool_warned in
14361 yes:)
14362 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14363 whose name does not start with the host triplet. If you think this
14364 configuration is useful to you, please write to autoconf@gnu.org." >&5
14365 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14366 whose name does not start with the host triplet. If you think this
14367 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14368 ac_tool_warned=yes ;;
14369 esac
14370 CC=$ac_ct_CC
14371 fi
14372 fi
14373
14374 fi
14375
14376
14377 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14378 See \`config.log' for more details." >&5
14379 echo "$as_me: error: no acceptable C compiler found in \$PATH
14380 See \`config.log' for more details." >&2;}
14381 { (exit 1); exit 1; }; }
14382
14383 # Provide some information about the compiler.
14384 echo "$as_me:$LINENO: checking for C compiler version" >&5
14385 ac_compiler=`set X $ac_compile; echo $2`
14386 { (ac_try="$ac_compiler --version >&5"
14387 case "(($ac_try" in
14388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14389 *) ac_try_echo=$ac_try;;
14390 esac
14391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14392 (eval "$ac_compiler --version >&5") 2>&5
14393 ac_status=$?
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); }
14396 { (ac_try="$ac_compiler -v >&5"
14397 case "(($ac_try" in
14398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14399 *) ac_try_echo=$ac_try;;
14400 esac
14401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14402 (eval "$ac_compiler -v >&5") 2>&5
14403 ac_status=$?
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); }
14406 { (ac_try="$ac_compiler -V >&5"
14407 case "(($ac_try" in
14408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14409 *) ac_try_echo=$ac_try;;
14410 esac
14411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14412 (eval "$ac_compiler -V >&5") 2>&5
14413 ac_status=$?
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); }
14416
14417 cat >conftest.$ac_ext <<_ACEOF
14418 /* confdefs.h. */
14419 _ACEOF
14420 cat confdefs.h >>conftest.$ac_ext
14421 cat >>conftest.$ac_ext <<_ACEOF
14422 /* end confdefs.h. */
14423
14424 int
14425 main ()
14426 {
14427
14428 ;
14429 return 0;
14430 }
14431 _ACEOF
14432 ac_clean_files_save=$ac_clean_files
14433 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14434 # Try to create an executable without -o first, disregard a.out.
14435 # It will help us diagnose broken compilers, and finding out an intuition
14436 # of exeext.
14437 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14438 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14439 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14440 #
14441 # List of possible output files, starting from the most likely.
14442 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14443 # only as a last resort. b.out is created by i960 compilers.
14444 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14445 #
14446 # The IRIX 6 linker writes into existing files which may not be
14447 # executable, retaining their permissions. Remove them first so a
14448 # subsequent execution test works.
14449 ac_rmfiles=
14450 for ac_file in $ac_files
14451 do
14452 case $ac_file in
14453 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14454 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14455 esac
14456 done
14457 rm -f $ac_rmfiles
14458
14459 if { (ac_try="$ac_link_default"
14460 case "(($ac_try" in
14461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14462 *) ac_try_echo=$ac_try;;
14463 esac
14464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14465 (eval "$ac_link_default") 2>&5
14466 ac_status=$?
14467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14468 (exit $ac_status); }; then
14469 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14470 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14471 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14472 # so that the user can short-circuit this test for compilers unknown to
14473 # Autoconf.
14474 for ac_file in $ac_files ''
14475 do
14476 test -f "$ac_file" || continue
14477 case $ac_file in
14478 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14479 ;;
14480 [ab].out )
14481 # We found the default executable, but exeext='' is most
14482 # certainly right.
14483 break;;
14484 *.* )
14485 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14486 then :; else
14487 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14488 fi
14489 # We set ac_cv_exeext here because the later test for it is not
14490 # safe: cross compilers may not add the suffix if given an `-o'
14491 # argument, so we may need to know it at that point already.
14492 # Even if this section looks crufty: it has the advantage of
14493 # actually working.
14494 break;;
14495 * )
14496 break;;
14497 esac
14498 done
14499 test "$ac_cv_exeext" = no && ac_cv_exeext=
14500
14501 else
14502 ac_file=''
14503 fi
14504
14505 { echo "$as_me:$LINENO: result: $ac_file" >&5
14506 echo "${ECHO_T}$ac_file" >&6; }
14507 if test -z "$ac_file"; then
14508 echo "$as_me: failed program was:" >&5
14509 sed 's/^/| /' conftest.$ac_ext >&5
14510
14511 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14512 See \`config.log' for more details." >&5
14513 echo "$as_me: error: C compiler cannot create executables
14514 See \`config.log' for more details." >&2;}
14515 { (exit 77); exit 77; }; }
14516 fi
14517
14518 ac_exeext=$ac_cv_exeext
14519
14520 # Check that the compiler produces executables we can run. If not, either
14521 # the compiler is broken, or we cross compile.
14522 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14523 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14524 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14525 # If not cross compiling, check that we can run a simple program.
14526 if test "$cross_compiling" != yes; then
14527 if { ac_try='./$ac_file'
14528 { (case "(($ac_try" in
14529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14530 *) ac_try_echo=$ac_try;;
14531 esac
14532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14533 (eval "$ac_try") 2>&5
14534 ac_status=$?
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 (exit $ac_status); }; }; then
14537 cross_compiling=no
14538 else
14539 if test "$cross_compiling" = maybe; then
14540 cross_compiling=yes
14541 else
14542 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14543 If you meant to cross compile, use \`--host'.
14544 See \`config.log' for more details." >&5
14545 echo "$as_me: error: cannot run C compiled programs.
14546 If you meant to cross compile, use \`--host'.
14547 See \`config.log' for more details." >&2;}
14548 { (exit 1); exit 1; }; }
14549 fi
14550 fi
14551 fi
14552 { echo "$as_me:$LINENO: result: yes" >&5
14553 echo "${ECHO_T}yes" >&6; }
14554
14555 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14556 ac_clean_files=$ac_clean_files_save
14557 # Check that the compiler produces executables we can run. If not, either
14558 # the compiler is broken, or we cross compile.
14559 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14560 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14561 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14562 echo "${ECHO_T}$cross_compiling" >&6; }
14563
14564 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14565 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14566 if { (ac_try="$ac_link"
14567 case "(($ac_try" in
14568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14569 *) ac_try_echo=$ac_try;;
14570 esac
14571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14572 (eval "$ac_link") 2>&5
14573 ac_status=$?
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); }; then
14576 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14577 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14578 # work properly (i.e., refer to `conftest.exe'), while it won't with
14579 # `rm'.
14580 for ac_file in conftest.exe conftest conftest.*; do
14581 test -f "$ac_file" || continue
14582 case $ac_file in
14583 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14584 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14585 break;;
14586 * ) break;;
14587 esac
14588 done
14589 else
14590 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14591 See \`config.log' for more details." >&5
14592 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14593 See \`config.log' for more details." >&2;}
14594 { (exit 1); exit 1; }; }
14595 fi
14596
14597 rm -f conftest$ac_cv_exeext
14598 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14599 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14600
14601 rm -f conftest.$ac_ext
14602 EXEEXT=$ac_cv_exeext
14603 ac_exeext=$EXEEXT
14604 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14605 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14606 if test "${ac_cv_objext+set}" = set; then
14607 echo $ECHO_N "(cached) $ECHO_C" >&6
14608 else
14609 cat >conftest.$ac_ext <<_ACEOF
14610 /* confdefs.h. */
14611 _ACEOF
14612 cat confdefs.h >>conftest.$ac_ext
14613 cat >>conftest.$ac_ext <<_ACEOF
14614 /* end confdefs.h. */
14615
14616 int
14617 main ()
14618 {
14619
14620 ;
14621 return 0;
14622 }
14623 _ACEOF
14624 rm -f conftest.o conftest.obj
14625 if { (ac_try="$ac_compile"
14626 case "(($ac_try" in
14627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14628 *) ac_try_echo=$ac_try;;
14629 esac
14630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14631 (eval "$ac_compile") 2>&5
14632 ac_status=$?
14633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14634 (exit $ac_status); }; then
14635 for ac_file in conftest.o conftest.obj conftest.*; do
14636 test -f "$ac_file" || continue;
14637 case $ac_file in
14638 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14639 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14640 break;;
14641 esac
14642 done
14643 else
14644 echo "$as_me: failed program was:" >&5
14645 sed 's/^/| /' conftest.$ac_ext >&5
14646
14647 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14648 See \`config.log' for more details." >&5
14649 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14650 See \`config.log' for more details." >&2;}
14651 { (exit 1); exit 1; }; }
14652 fi
14653
14654 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14655 fi
14656 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14657 echo "${ECHO_T}$ac_cv_objext" >&6; }
14658 OBJEXT=$ac_cv_objext
14659 ac_objext=$OBJEXT
14660 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14661 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14662 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14663 echo $ECHO_N "(cached) $ECHO_C" >&6
14664 else
14665 cat >conftest.$ac_ext <<_ACEOF
14666 /* confdefs.h. */
14667 _ACEOF
14668 cat confdefs.h >>conftest.$ac_ext
14669 cat >>conftest.$ac_ext <<_ACEOF
14670 /* end confdefs.h. */
14671
14672 int
14673 main ()
14674 {
14675 #ifndef __GNUC__
14676 choke me
14677 #endif
14678
14679 ;
14680 return 0;
14681 }
14682 _ACEOF
14683 rm -f conftest.$ac_objext
14684 if { (ac_try="$ac_compile"
14685 case "(($ac_try" in
14686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14687 *) ac_try_echo=$ac_try;;
14688 esac
14689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14690 (eval "$ac_compile") 2>conftest.er1
14691 ac_status=$?
14692 grep -v '^ *+' conftest.er1 >conftest.err
14693 rm -f conftest.er1
14694 cat conftest.err >&5
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); } && {
14697 test -z "$ac_c_werror_flag" ||
14698 test ! -s conftest.err
14699 } && test -s conftest.$ac_objext; then
14700 ac_compiler_gnu=yes
14701 else
14702 echo "$as_me: failed program was:" >&5
14703 sed 's/^/| /' conftest.$ac_ext >&5
14704
14705 ac_compiler_gnu=no
14706 fi
14707
14708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14709 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14710
14711 fi
14712 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14713 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14714 GCC=`test $ac_compiler_gnu = yes && echo yes`
14715 ac_test_CFLAGS=${CFLAGS+set}
14716 ac_save_CFLAGS=$CFLAGS
14717 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14718 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14719 if test "${ac_cv_prog_cc_g+set}" = set; then
14720 echo $ECHO_N "(cached) $ECHO_C" >&6
14721 else
14722 ac_save_c_werror_flag=$ac_c_werror_flag
14723 ac_c_werror_flag=yes
14724 ac_cv_prog_cc_g=no
14725 CFLAGS="-g"
14726 cat >conftest.$ac_ext <<_ACEOF
14727 /* confdefs.h. */
14728 _ACEOF
14729 cat confdefs.h >>conftest.$ac_ext
14730 cat >>conftest.$ac_ext <<_ACEOF
14731 /* end confdefs.h. */
14732
14733 int
14734 main ()
14735 {
14736
14737 ;
14738 return 0;
14739 }
14740 _ACEOF
14741 rm -f conftest.$ac_objext
14742 if { (ac_try="$ac_compile"
14743 case "(($ac_try" in
14744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14745 *) ac_try_echo=$ac_try;;
14746 esac
14747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14748 (eval "$ac_compile") 2>conftest.er1
14749 ac_status=$?
14750 grep -v '^ *+' conftest.er1 >conftest.err
14751 rm -f conftest.er1
14752 cat conftest.err >&5
14753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14754 (exit $ac_status); } && {
14755 test -z "$ac_c_werror_flag" ||
14756 test ! -s conftest.err
14757 } && test -s conftest.$ac_objext; then
14758 ac_cv_prog_cc_g=yes
14759 else
14760 echo "$as_me: failed program was:" >&5
14761 sed 's/^/| /' conftest.$ac_ext >&5
14762
14763 CFLAGS=""
14764 cat >conftest.$ac_ext <<_ACEOF
14765 /* confdefs.h. */
14766 _ACEOF
14767 cat confdefs.h >>conftest.$ac_ext
14768 cat >>conftest.$ac_ext <<_ACEOF
14769 /* end confdefs.h. */
14770
14771 int
14772 main ()
14773 {
14774
14775 ;
14776 return 0;
14777 }
14778 _ACEOF
14779 rm -f conftest.$ac_objext
14780 if { (ac_try="$ac_compile"
14781 case "(($ac_try" in
14782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14783 *) ac_try_echo=$ac_try;;
14784 esac
14785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14786 (eval "$ac_compile") 2>conftest.er1
14787 ac_status=$?
14788 grep -v '^ *+' conftest.er1 >conftest.err
14789 rm -f conftest.er1
14790 cat conftest.err >&5
14791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14792 (exit $ac_status); } && {
14793 test -z "$ac_c_werror_flag" ||
14794 test ! -s conftest.err
14795 } && test -s conftest.$ac_objext; then
14796 :
14797 else
14798 echo "$as_me: failed program was:" >&5
14799 sed 's/^/| /' conftest.$ac_ext >&5
14800
14801 ac_c_werror_flag=$ac_save_c_werror_flag
14802 CFLAGS="-g"
14803 cat >conftest.$ac_ext <<_ACEOF
14804 /* confdefs.h. */
14805 _ACEOF
14806 cat confdefs.h >>conftest.$ac_ext
14807 cat >>conftest.$ac_ext <<_ACEOF
14808 /* end confdefs.h. */
14809
14810 int
14811 main ()
14812 {
14813
14814 ;
14815 return 0;
14816 }
14817 _ACEOF
14818 rm -f conftest.$ac_objext
14819 if { (ac_try="$ac_compile"
14820 case "(($ac_try" in
14821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14822 *) ac_try_echo=$ac_try;;
14823 esac
14824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14825 (eval "$ac_compile") 2>conftest.er1
14826 ac_status=$?
14827 grep -v '^ *+' conftest.er1 >conftest.err
14828 rm -f conftest.er1
14829 cat conftest.err >&5
14830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14831 (exit $ac_status); } && {
14832 test -z "$ac_c_werror_flag" ||
14833 test ! -s conftest.err
14834 } && test -s conftest.$ac_objext; then
14835 ac_cv_prog_cc_g=yes
14836 else
14837 echo "$as_me: failed program was:" >&5
14838 sed 's/^/| /' conftest.$ac_ext >&5
14839
14840
14841 fi
14842
14843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14844 fi
14845
14846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14847 fi
14848
14849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14850 ac_c_werror_flag=$ac_save_c_werror_flag
14851 fi
14852 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14853 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14854 if test "$ac_test_CFLAGS" = set; then
14855 CFLAGS=$ac_save_CFLAGS
14856 elif test $ac_cv_prog_cc_g = yes; then
14857 if test "$GCC" = yes; then
14858 CFLAGS="-g -O2"
14859 else
14860 CFLAGS="-g"
14861 fi
14862 else
14863 if test "$GCC" = yes; then
14864 CFLAGS="-O2"
14865 else
14866 CFLAGS=
14867 fi
14868 fi
14869 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14870 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14871 if test "${ac_cv_prog_cc_c89+set}" = set; then
14872 echo $ECHO_N "(cached) $ECHO_C" >&6
14873 else
14874 ac_cv_prog_cc_c89=no
14875 ac_save_CC=$CC
14876 cat >conftest.$ac_ext <<_ACEOF
14877 /* confdefs.h. */
14878 _ACEOF
14879 cat confdefs.h >>conftest.$ac_ext
14880 cat >>conftest.$ac_ext <<_ACEOF
14881 /* end confdefs.h. */
14882 #include <stdarg.h>
14883 #include <stdio.h>
14884 #include <sys/types.h>
14885 #include <sys/stat.h>
14886 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14887 struct buf { int x; };
14888 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14889 static char *e (p, i)
14890 char **p;
14891 int i;
14892 {
14893 return p[i];
14894 }
14895 static char *f (char * (*g) (char **, int), char **p, ...)
14896 {
14897 char *s;
14898 va_list v;
14899 va_start (v,p);
14900 s = g (p, va_arg (v,int));
14901 va_end (v);
14902 return s;
14903 }
14904
14905 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14906 function prototypes and stuff, but not '\xHH' hex character constants.
14907 These don't provoke an error unfortunately, instead are silently treated
14908 as 'x'. The following induces an error, until -std is added to get
14909 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14910 array size at least. It's necessary to write '\x00'==0 to get something
14911 that's true only with -std. */
14912 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14913
14914 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14915 inside strings and character constants. */
14916 #define FOO(x) 'x'
14917 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14918
14919 int test (int i, double x);
14920 struct s1 {int (*f) (int a);};
14921 struct s2 {int (*f) (double a);};
14922 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14923 int argc;
14924 char **argv;
14925 int
14926 main ()
14927 {
14928 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14929 ;
14930 return 0;
14931 }
14932 _ACEOF
14933 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14934 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14935 do
14936 CC="$ac_save_CC $ac_arg"
14937 rm -f conftest.$ac_objext
14938 if { (ac_try="$ac_compile"
14939 case "(($ac_try" in
14940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14941 *) ac_try_echo=$ac_try;;
14942 esac
14943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14944 (eval "$ac_compile") 2>conftest.er1
14945 ac_status=$?
14946 grep -v '^ *+' conftest.er1 >conftest.err
14947 rm -f conftest.er1
14948 cat conftest.err >&5
14949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14950 (exit $ac_status); } && {
14951 test -z "$ac_c_werror_flag" ||
14952 test ! -s conftest.err
14953 } && test -s conftest.$ac_objext; then
14954 ac_cv_prog_cc_c89=$ac_arg
14955 else
14956 echo "$as_me: failed program was:" >&5
14957 sed 's/^/| /' conftest.$ac_ext >&5
14958
14959
14960 fi
14961
14962 rm -f core conftest.err conftest.$ac_objext
14963 test "x$ac_cv_prog_cc_c89" != "xno" && break
14964 done
14965 rm -f conftest.$ac_ext
14966 CC=$ac_save_CC
14967
14968 fi
14969 # AC_CACHE_VAL
14970 case "x$ac_cv_prog_cc_c89" in
14971 x)
14972 { echo "$as_me:$LINENO: result: none needed" >&5
14973 echo "${ECHO_T}none needed" >&6; } ;;
14974 xno)
14975 { echo "$as_me:$LINENO: result: unsupported" >&5
14976 echo "${ECHO_T}unsupported" >&6; } ;;
14977 *)
14978 CC="$CC $ac_cv_prog_cc_c89"
14979 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14980 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14981 esac
14982
14983
14984 ac_ext=c
14985 ac_cpp='$CPP $CPPFLAGS'
14986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14989
14990
14991
14992
14993 ac_ext=c
14994 ac_cpp='$CPP $CPPFLAGS'
14995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14998
14999 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15000 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15001 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15002 echo $ECHO_N "(cached) $ECHO_C" >&6
15003 else
15004 cat >conftest.$ac_ext <<_ACEOF
15005 /* confdefs.h. */
15006 _ACEOF
15007 cat confdefs.h >>conftest.$ac_ext
15008 cat >>conftest.$ac_ext <<_ACEOF
15009 /* end confdefs.h. */
15010
15011 int
15012 main ()
15013 {
15014
15015 #ifndef __INTEL_COMPILER
15016 choke me
15017 #endif
15018
15019 ;
15020 return 0;
15021 }
15022 _ACEOF
15023 rm -f conftest.$ac_objext
15024 if { (ac_try="$ac_compile"
15025 case "(($ac_try" in
15026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15027 *) ac_try_echo=$ac_try;;
15028 esac
15029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15030 (eval "$ac_compile") 2>conftest.er1
15031 ac_status=$?
15032 grep -v '^ *+' conftest.er1 >conftest.err
15033 rm -f conftest.er1
15034 cat conftest.err >&5
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); } && {
15037 test -z "$ac_c_werror_flag" ||
15038 test ! -s conftest.err
15039 } && test -s conftest.$ac_objext; then
15040 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15041 else
15042 echo "$as_me: failed program was:" >&5
15043 sed 's/^/| /' conftest.$ac_ext >&5
15044
15045 bakefile_cv_c_compiler___INTEL_COMPILER=no
15046
15047 fi
15048
15049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15050
15051
15052 fi
15053 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15054 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15055 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15056 :; INTELCC=yes
15057 else
15058 :;
15059 fi
15060 ac_ext=c
15061 ac_cpp='$CPP $CPPFLAGS'
15062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15065
15066
15067
15068
15069 if test "$INTELCC" = "yes"; then
15070
15071
15072 ac_ext=c
15073 ac_cpp='$CPP $CPPFLAGS'
15074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15077
15078 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15079 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15080 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15081 echo $ECHO_N "(cached) $ECHO_C" >&6
15082 else
15083 cat >conftest.$ac_ext <<_ACEOF
15084 /* confdefs.h. */
15085 _ACEOF
15086 cat confdefs.h >>conftest.$ac_ext
15087 cat >>conftest.$ac_ext <<_ACEOF
15088 /* end confdefs.h. */
15089
15090 int
15091 main ()
15092 {
15093
15094 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15095 choke me
15096 #endif
15097
15098 ;
15099 return 0;
15100 }
15101 _ACEOF
15102 rm -f conftest.$ac_objext
15103 if { (ac_try="$ac_compile"
15104 case "(($ac_try" in
15105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15106 *) ac_try_echo=$ac_try;;
15107 esac
15108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15109 (eval "$ac_compile") 2>conftest.er1
15110 ac_status=$?
15111 grep -v '^ *+' conftest.er1 >conftest.err
15112 rm -f conftest.er1
15113 cat conftest.err >&5
15114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); } && {
15116 test -z "$ac_c_werror_flag" ||
15117 test ! -s conftest.err
15118 } && test -s conftest.$ac_objext; then
15119 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15120 else
15121 echo "$as_me: failed program was:" >&5
15122 sed 's/^/| /' conftest.$ac_ext >&5
15123
15124 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15125
15126 fi
15127
15128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15129
15130
15131 fi
15132 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15133 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15134 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15135 :; INTELCC8=yes
15136 else
15137 :;
15138 fi
15139 ac_ext=c
15140 ac_cpp='$CPP $CPPFLAGS'
15141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15144
15145
15146
15147
15148
15149 ac_ext=c
15150 ac_cpp='$CPP $CPPFLAGS'
15151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15154
15155 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15156 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15157 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15158 echo $ECHO_N "(cached) $ECHO_C" >&6
15159 else
15160 cat >conftest.$ac_ext <<_ACEOF
15161 /* confdefs.h. */
15162 _ACEOF
15163 cat confdefs.h >>conftest.$ac_ext
15164 cat >>conftest.$ac_ext <<_ACEOF
15165 /* end confdefs.h. */
15166
15167 int
15168 main ()
15169 {
15170
15171 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15172 choke me
15173 #endif
15174
15175 ;
15176 return 0;
15177 }
15178 _ACEOF
15179 rm -f conftest.$ac_objext
15180 if { (ac_try="$ac_compile"
15181 case "(($ac_try" in
15182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15183 *) ac_try_echo=$ac_try;;
15184 esac
15185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15186 (eval "$ac_compile") 2>conftest.er1
15187 ac_status=$?
15188 grep -v '^ *+' conftest.er1 >conftest.err
15189 rm -f conftest.er1
15190 cat conftest.err >&5
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); } && {
15193 test -z "$ac_c_werror_flag" ||
15194 test ! -s conftest.err
15195 } && test -s conftest.$ac_objext; then
15196 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15197 else
15198 echo "$as_me: failed program was:" >&5
15199 sed 's/^/| /' conftest.$ac_ext >&5
15200
15201 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15202
15203 fi
15204
15205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15206
15207
15208 fi
15209 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15210 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15211 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15212 :; INTELCC10=yes
15213 else
15214 :;
15215 fi
15216 ac_ext=c
15217 ac_cpp='$CPP $CPPFLAGS'
15218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15221
15222
15223
15224 fi
15225
15226 if test "x$GCC" != "xyes"; then
15227 if test "xCC" = "xC"; then
15228 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15229 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15230 if test "${bakefile_cv_c_exto+set}" = set; then
15231 echo $ECHO_N "(cached) $ECHO_C" >&6
15232 else
15233 cat >conftest.$ac_ext <<_ACEOF
15234 /* confdefs.h. */
15235 _ACEOF
15236 cat confdefs.h >>conftest.$ac_ext
15237 cat >>conftest.$ac_ext <<_ACEOF
15238 /* end confdefs.h. */
15239
15240 int
15241 main ()
15242 {
15243
15244 ;
15245 return 0;
15246 }
15247 _ACEOF
15248 rm -f conftest.$ac_objext conftest.$ac_ext.o
15249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15250 (eval $ac_compile) 2>&5
15251 ac_status=$?
15252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15253 (exit $ac_status); }; then
15254 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15255 case $ac_file in
15256 conftest.$ac_ext.o)
15257 bakefile_cv_c_exto="-ext o"
15258 ;;
15259 *)
15260 ;;
15261 esac
15262 done
15263 else
15264 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15265 See \`config.log' for more details." >&5
15266 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15267 See \`config.log' for more details." >&2;}
15268 { (exit 1); exit 1; }; }
15269
15270 fi
15271
15272 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15273
15274 fi
15275 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15276 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15277 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15278 if test "c" = "c"; then
15279 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15280 fi
15281 if test "c" = "cxx"; then
15282 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15283 fi
15284 fi
15285
15286 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15287 unset ac_cv_prog_cc_g
15288 ac_test_CFLAGS=${CFLAGS+set}
15289 ac_save_CFLAGS=$CFLAGS
15290 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15291 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15292 if test "${ac_cv_prog_cc_g+set}" = set; then
15293 echo $ECHO_N "(cached) $ECHO_C" >&6
15294 else
15295 ac_save_c_werror_flag=$ac_c_werror_flag
15296 ac_c_werror_flag=yes
15297 ac_cv_prog_cc_g=no
15298 CFLAGS="-g"
15299 cat >conftest.$ac_ext <<_ACEOF
15300 /* confdefs.h. */
15301 _ACEOF
15302 cat confdefs.h >>conftest.$ac_ext
15303 cat >>conftest.$ac_ext <<_ACEOF
15304 /* end confdefs.h. */
15305
15306 int
15307 main ()
15308 {
15309
15310 ;
15311 return 0;
15312 }
15313 _ACEOF
15314 rm -f conftest.$ac_objext
15315 if { (ac_try="$ac_compile"
15316 case "(($ac_try" in
15317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15318 *) ac_try_echo=$ac_try;;
15319 esac
15320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15321 (eval "$ac_compile") 2>conftest.er1
15322 ac_status=$?
15323 grep -v '^ *+' conftest.er1 >conftest.err
15324 rm -f conftest.er1
15325 cat conftest.err >&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); } && {
15328 test -z "$ac_c_werror_flag" ||
15329 test ! -s conftest.err
15330 } && test -s conftest.$ac_objext; then
15331 ac_cv_prog_cc_g=yes
15332 else
15333 echo "$as_me: failed program was:" >&5
15334 sed 's/^/| /' conftest.$ac_ext >&5
15335
15336 CFLAGS=""
15337 cat >conftest.$ac_ext <<_ACEOF
15338 /* confdefs.h. */
15339 _ACEOF
15340 cat confdefs.h >>conftest.$ac_ext
15341 cat >>conftest.$ac_ext <<_ACEOF
15342 /* end confdefs.h. */
15343
15344 int
15345 main ()
15346 {
15347
15348 ;
15349 return 0;
15350 }
15351 _ACEOF
15352 rm -f conftest.$ac_objext
15353 if { (ac_try="$ac_compile"
15354 case "(($ac_try" in
15355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15356 *) ac_try_echo=$ac_try;;
15357 esac
15358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15359 (eval "$ac_compile") 2>conftest.er1
15360 ac_status=$?
15361 grep -v '^ *+' conftest.er1 >conftest.err
15362 rm -f conftest.er1
15363 cat conftest.err >&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); } && {
15366 test -z "$ac_c_werror_flag" ||
15367 test ! -s conftest.err
15368 } && test -s conftest.$ac_objext; then
15369 :
15370 else
15371 echo "$as_me: failed program was:" >&5
15372 sed 's/^/| /' conftest.$ac_ext >&5
15373
15374 ac_c_werror_flag=$ac_save_c_werror_flag
15375 CFLAGS="-g"
15376 cat >conftest.$ac_ext <<_ACEOF
15377 /* confdefs.h. */
15378 _ACEOF
15379 cat confdefs.h >>conftest.$ac_ext
15380 cat >>conftest.$ac_ext <<_ACEOF
15381 /* end confdefs.h. */
15382
15383 int
15384 main ()
15385 {
15386
15387 ;
15388 return 0;
15389 }
15390 _ACEOF
15391 rm -f conftest.$ac_objext
15392 if { (ac_try="$ac_compile"
15393 case "(($ac_try" in
15394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15395 *) ac_try_echo=$ac_try;;
15396 esac
15397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15398 (eval "$ac_compile") 2>conftest.er1
15399 ac_status=$?
15400 grep -v '^ *+' conftest.er1 >conftest.err
15401 rm -f conftest.er1
15402 cat conftest.err >&5
15403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15404 (exit $ac_status); } && {
15405 test -z "$ac_c_werror_flag" ||
15406 test ! -s conftest.err
15407 } && test -s conftest.$ac_objext; then
15408 ac_cv_prog_cc_g=yes
15409 else
15410 echo "$as_me: failed program was:" >&5
15411 sed 's/^/| /' conftest.$ac_ext >&5
15412
15413
15414 fi
15415
15416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15417 fi
15418
15419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15420 fi
15421
15422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15423 ac_c_werror_flag=$ac_save_c_werror_flag
15424 fi
15425 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15426 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15427 if test "$ac_test_CFLAGS" = set; then
15428 CFLAGS=$ac_save_CFLAGS
15429 elif test $ac_cv_prog_cc_g = yes; then
15430 if test "$GCC" = yes; then
15431 CFLAGS="-g -O2"
15432 else
15433 CFLAGS="-g"
15434 fi
15435 else
15436 if test "$GCC" = yes; then
15437 CFLAGS="-O2"
15438 else
15439 CFLAGS=
15440 fi
15441 fi
15442 fi
15443 fi
15444
15445 case `uname -s` in
15446 AIX*)
15447
15448
15449 ac_ext=c
15450 ac_cpp='$CPP $CPPFLAGS'
15451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15454
15455 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15456 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15457 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15458 echo $ECHO_N "(cached) $ECHO_C" >&6
15459 else
15460 cat >conftest.$ac_ext <<_ACEOF
15461 /* confdefs.h. */
15462 _ACEOF
15463 cat confdefs.h >>conftest.$ac_ext
15464 cat >>conftest.$ac_ext <<_ACEOF
15465 /* end confdefs.h. */
15466
15467 int
15468 main ()
15469 {
15470
15471 #ifndef __xlC__
15472 choke me
15473 #endif
15474
15475 ;
15476 return 0;
15477 }
15478 _ACEOF
15479 rm -f conftest.$ac_objext
15480 if { (ac_try="$ac_compile"
15481 case "(($ac_try" in
15482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15483 *) ac_try_echo=$ac_try;;
15484 esac
15485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15486 (eval "$ac_compile") 2>conftest.er1
15487 ac_status=$?
15488 grep -v '^ *+' conftest.er1 >conftest.err
15489 rm -f conftest.er1
15490 cat conftest.err >&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); } && {
15493 test -z "$ac_c_werror_flag" ||
15494 test ! -s conftest.err
15495 } && test -s conftest.$ac_objext; then
15496 bakefile_cv_c_compiler___xlC__=yes
15497 else
15498 echo "$as_me: failed program was:" >&5
15499 sed 's/^/| /' conftest.$ac_ext >&5
15500
15501 bakefile_cv_c_compiler___xlC__=no
15502
15503 fi
15504
15505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15506
15507
15508 fi
15509 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15510 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15511 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15512 :; XLCC=yes
15513 else
15514 :;
15515 fi
15516 ac_ext=c
15517 ac_cpp='$CPP $CPPFLAGS'
15518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15521
15522
15523
15524 ;;
15525
15526 Darwin)
15527
15528
15529 ac_ext=c
15530 ac_cpp='$CPP $CPPFLAGS'
15531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15534
15535 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15536 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15537 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15538 echo $ECHO_N "(cached) $ECHO_C" >&6
15539 else
15540 cat >conftest.$ac_ext <<_ACEOF
15541 /* confdefs.h. */
15542 _ACEOF
15543 cat confdefs.h >>conftest.$ac_ext
15544 cat >>conftest.$ac_ext <<_ACEOF
15545 /* end confdefs.h. */
15546
15547 int
15548 main ()
15549 {
15550
15551 #ifndef __MWERKS__
15552 choke me
15553 #endif
15554
15555 ;
15556 return 0;
15557 }
15558 _ACEOF
15559 rm -f conftest.$ac_objext
15560 if { (ac_try="$ac_compile"
15561 case "(($ac_try" in
15562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15563 *) ac_try_echo=$ac_try;;
15564 esac
15565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15566 (eval "$ac_compile") 2>conftest.er1
15567 ac_status=$?
15568 grep -v '^ *+' conftest.er1 >conftest.err
15569 rm -f conftest.er1
15570 cat conftest.err >&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); } && {
15573 test -z "$ac_c_werror_flag" ||
15574 test ! -s conftest.err
15575 } && test -s conftest.$ac_objext; then
15576 bakefile_cv_c_compiler___MWERKS__=yes
15577 else
15578 echo "$as_me: failed program was:" >&5
15579 sed 's/^/| /' conftest.$ac_ext >&5
15580
15581 bakefile_cv_c_compiler___MWERKS__=no
15582
15583 fi
15584
15585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15586
15587
15588 fi
15589 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15590 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15591 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15592 :; MWCC=yes
15593 else
15594 :;
15595 fi
15596 ac_ext=c
15597 ac_cpp='$CPP $CPPFLAGS'
15598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15601
15602
15603
15604 if test "$MWCC" != "yes"; then
15605
15606
15607 ac_ext=c
15608 ac_cpp='$CPP $CPPFLAGS'
15609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15612
15613 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15614 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15615 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15616 echo $ECHO_N "(cached) $ECHO_C" >&6
15617 else
15618 cat >conftest.$ac_ext <<_ACEOF
15619 /* confdefs.h. */
15620 _ACEOF
15621 cat confdefs.h >>conftest.$ac_ext
15622 cat >>conftest.$ac_ext <<_ACEOF
15623 /* end confdefs.h. */
15624
15625 int
15626 main ()
15627 {
15628
15629 #ifndef __xlC__
15630 choke me
15631 #endif
15632
15633 ;
15634 return 0;
15635 }
15636 _ACEOF
15637 rm -f conftest.$ac_objext
15638 if { (ac_try="$ac_compile"
15639 case "(($ac_try" in
15640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15641 *) ac_try_echo=$ac_try;;
15642 esac
15643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15644 (eval "$ac_compile") 2>conftest.er1
15645 ac_status=$?
15646 grep -v '^ *+' conftest.er1 >conftest.err
15647 rm -f conftest.er1
15648 cat conftest.err >&5
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); } && {
15651 test -z "$ac_c_werror_flag" ||
15652 test ! -s conftest.err
15653 } && test -s conftest.$ac_objext; then
15654 bakefile_cv_c_compiler___xlC__=yes
15655 else
15656 echo "$as_me: failed program was:" >&5
15657 sed 's/^/| /' conftest.$ac_ext >&5
15658
15659 bakefile_cv_c_compiler___xlC__=no
15660
15661 fi
15662
15663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15664
15665
15666 fi
15667 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15668 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15669 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15670 :; XLCC=yes
15671 else
15672 :;
15673 fi
15674 ac_ext=c
15675 ac_cpp='$CPP $CPPFLAGS'
15676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15679
15680
15681
15682 fi
15683 ;;
15684
15685 IRIX*)
15686
15687
15688 ac_ext=c
15689 ac_cpp='$CPP $CPPFLAGS'
15690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15693
15694 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15695 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15696 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15697 echo $ECHO_N "(cached) $ECHO_C" >&6
15698 else
15699 cat >conftest.$ac_ext <<_ACEOF
15700 /* confdefs.h. */
15701 _ACEOF
15702 cat confdefs.h >>conftest.$ac_ext
15703 cat >>conftest.$ac_ext <<_ACEOF
15704 /* end confdefs.h. */
15705
15706 int
15707 main ()
15708 {
15709
15710 #ifndef _SGI_COMPILER_VERSION
15711 choke me
15712 #endif
15713
15714 ;
15715 return 0;
15716 }
15717 _ACEOF
15718 rm -f conftest.$ac_objext
15719 if { (ac_try="$ac_compile"
15720 case "(($ac_try" in
15721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15722 *) ac_try_echo=$ac_try;;
15723 esac
15724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15725 (eval "$ac_compile") 2>conftest.er1
15726 ac_status=$?
15727 grep -v '^ *+' conftest.er1 >conftest.err
15728 rm -f conftest.er1
15729 cat conftest.err >&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); } && {
15732 test -z "$ac_c_werror_flag" ||
15733 test ! -s conftest.err
15734 } && test -s conftest.$ac_objext; then
15735 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15736 else
15737 echo "$as_me: failed program was:" >&5
15738 sed 's/^/| /' conftest.$ac_ext >&5
15739
15740 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15741
15742 fi
15743
15744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15745
15746
15747 fi
15748 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15749 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15750 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15751 :; SGICC=yes
15752 else
15753 :;
15754 fi
15755 ac_ext=c
15756 ac_cpp='$CPP $CPPFLAGS'
15757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15760
15761
15762
15763 ;;
15764
15765 Linux*)
15766 if test "$INTELCC" != "yes"; then
15767
15768
15769 ac_ext=c
15770 ac_cpp='$CPP $CPPFLAGS'
15771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15774
15775 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15776 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15777 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15778 echo $ECHO_N "(cached) $ECHO_C" >&6
15779 else
15780 cat >conftest.$ac_ext <<_ACEOF
15781 /* confdefs.h. */
15782 _ACEOF
15783 cat confdefs.h >>conftest.$ac_ext
15784 cat >>conftest.$ac_ext <<_ACEOF
15785 /* end confdefs.h. */
15786
15787 int
15788 main ()
15789 {
15790
15791 #ifndef __SUNPRO_C
15792 choke me
15793 #endif
15794
15795 ;
15796 return 0;
15797 }
15798 _ACEOF
15799 rm -f conftest.$ac_objext
15800 if { (ac_try="$ac_compile"
15801 case "(($ac_try" in
15802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15803 *) ac_try_echo=$ac_try;;
15804 esac
15805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15806 (eval "$ac_compile") 2>conftest.er1
15807 ac_status=$?
15808 grep -v '^ *+' conftest.er1 >conftest.err
15809 rm -f conftest.er1
15810 cat conftest.err >&5
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); } && {
15813 test -z "$ac_c_werror_flag" ||
15814 test ! -s conftest.err
15815 } && test -s conftest.$ac_objext; then
15816 bakefile_cv_c_compiler___SUNPRO_C=yes
15817 else
15818 echo "$as_me: failed program was:" >&5
15819 sed 's/^/| /' conftest.$ac_ext >&5
15820
15821 bakefile_cv_c_compiler___SUNPRO_C=no
15822
15823 fi
15824
15825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15826
15827
15828 fi
15829 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15830 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15831 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15832 :; SUNCC=yes
15833 else
15834 :;
15835 fi
15836 ac_ext=c
15837 ac_cpp='$CPP $CPPFLAGS'
15838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15841
15842
15843
15844 fi
15845 ;;
15846
15847 HP-UX*)
15848
15849
15850 ac_ext=c
15851 ac_cpp='$CPP $CPPFLAGS'
15852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15855
15856 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15857 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15858 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15859 echo $ECHO_N "(cached) $ECHO_C" >&6
15860 else
15861 cat >conftest.$ac_ext <<_ACEOF
15862 /* confdefs.h. */
15863 _ACEOF
15864 cat confdefs.h >>conftest.$ac_ext
15865 cat >>conftest.$ac_ext <<_ACEOF
15866 /* end confdefs.h. */
15867
15868 int
15869 main ()
15870 {
15871
15872 #ifndef __HP_cc
15873 choke me
15874 #endif
15875
15876 ;
15877 return 0;
15878 }
15879 _ACEOF
15880 rm -f conftest.$ac_objext
15881 if { (ac_try="$ac_compile"
15882 case "(($ac_try" in
15883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15884 *) ac_try_echo=$ac_try;;
15885 esac
15886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15887 (eval "$ac_compile") 2>conftest.er1
15888 ac_status=$?
15889 grep -v '^ *+' conftest.er1 >conftest.err
15890 rm -f conftest.er1
15891 cat conftest.err >&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } && {
15894 test -z "$ac_c_werror_flag" ||
15895 test ! -s conftest.err
15896 } && test -s conftest.$ac_objext; then
15897 bakefile_cv_c_compiler___HP_cc=yes
15898 else
15899 echo "$as_me: failed program was:" >&5
15900 sed 's/^/| /' conftest.$ac_ext >&5
15901
15902 bakefile_cv_c_compiler___HP_cc=no
15903
15904 fi
15905
15906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15907
15908
15909 fi
15910 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15911 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15912 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15913 :; HPCC=yes
15914 else
15915 :;
15916 fi
15917 ac_ext=c
15918 ac_cpp='$CPP $CPPFLAGS'
15919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15922
15923
15924
15925 ;;
15926
15927 OSF1)
15928
15929
15930 ac_ext=c
15931 ac_cpp='$CPP $CPPFLAGS'
15932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15935
15936 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15937 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15938 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15939 echo $ECHO_N "(cached) $ECHO_C" >&6
15940 else
15941 cat >conftest.$ac_ext <<_ACEOF
15942 /* confdefs.h. */
15943 _ACEOF
15944 cat confdefs.h >>conftest.$ac_ext
15945 cat >>conftest.$ac_ext <<_ACEOF
15946 /* end confdefs.h. */
15947
15948 int
15949 main ()
15950 {
15951
15952 #ifndef __DECC
15953 choke me
15954 #endif
15955
15956 ;
15957 return 0;
15958 }
15959 _ACEOF
15960 rm -f conftest.$ac_objext
15961 if { (ac_try="$ac_compile"
15962 case "(($ac_try" in
15963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15964 *) ac_try_echo=$ac_try;;
15965 esac
15966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15967 (eval "$ac_compile") 2>conftest.er1
15968 ac_status=$?
15969 grep -v '^ *+' conftest.er1 >conftest.err
15970 rm -f conftest.er1
15971 cat conftest.err >&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); } && {
15974 test -z "$ac_c_werror_flag" ||
15975 test ! -s conftest.err
15976 } && test -s conftest.$ac_objext; then
15977 bakefile_cv_c_compiler___DECC=yes
15978 else
15979 echo "$as_me: failed program was:" >&5
15980 sed 's/^/| /' conftest.$ac_ext >&5
15981
15982 bakefile_cv_c_compiler___DECC=no
15983
15984 fi
15985
15986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15987
15988
15989 fi
15990 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15991 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15992 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15993 :; COMPAQCC=yes
15994 else
15995 :;
15996 fi
15997 ac_ext=c
15998 ac_cpp='$CPP $CPPFLAGS'
15999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16002
16003
16004
16005 ;;
16006
16007 SunOS)
16008
16009
16010 ac_ext=c
16011 ac_cpp='$CPP $CPPFLAGS'
16012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16015
16016 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16017 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16018 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16019 echo $ECHO_N "(cached) $ECHO_C" >&6
16020 else
16021 cat >conftest.$ac_ext <<_ACEOF
16022 /* confdefs.h. */
16023 _ACEOF
16024 cat confdefs.h >>conftest.$ac_ext
16025 cat >>conftest.$ac_ext <<_ACEOF
16026 /* end confdefs.h. */
16027
16028 int
16029 main ()
16030 {
16031
16032 #ifndef __SUNPRO_C
16033 choke me
16034 #endif
16035
16036 ;
16037 return 0;
16038 }
16039 _ACEOF
16040 rm -f conftest.$ac_objext
16041 if { (ac_try="$ac_compile"
16042 case "(($ac_try" in
16043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16044 *) ac_try_echo=$ac_try;;
16045 esac
16046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16047 (eval "$ac_compile") 2>conftest.er1
16048 ac_status=$?
16049 grep -v '^ *+' conftest.er1 >conftest.err
16050 rm -f conftest.er1
16051 cat conftest.err >&5
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); } && {
16054 test -z "$ac_c_werror_flag" ||
16055 test ! -s conftest.err
16056 } && test -s conftest.$ac_objext; then
16057 bakefile_cv_c_compiler___SUNPRO_C=yes
16058 else
16059 echo "$as_me: failed program was:" >&5
16060 sed 's/^/| /' conftest.$ac_ext >&5
16061
16062 bakefile_cv_c_compiler___SUNPRO_C=no
16063
16064 fi
16065
16066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16067
16068
16069 fi
16070 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16071 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16072 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16073 :; SUNCC=yes
16074 else
16075 :;
16076 fi
16077 ac_ext=c
16078 ac_cpp='$CPP $CPPFLAGS'
16079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16082
16083
16084
16085 ;;
16086 esac
16087 fi
16088
16089
16090
16091 ac_ext=c
16092 ac_cpp='$CPP $CPPFLAGS'
16093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16096 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16097 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16098 # On Suns, sometimes $CPP names a directory.
16099 if test -n "$CPP" && test -d "$CPP"; then
16100 CPP=
16101 fi
16102 if test -z "$CPP"; then
16103 if test "${ac_cv_prog_CPP+set}" = set; then
16104 echo $ECHO_N "(cached) $ECHO_C" >&6
16105 else
16106 # Double quotes because CPP needs to be expanded
16107 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16108 do
16109 ac_preproc_ok=false
16110 for ac_c_preproc_warn_flag in '' yes
16111 do
16112 # Use a header file that comes with gcc, so configuring glibc
16113 # with a fresh cross-compiler works.
16114 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16115 # <limits.h> exists even on freestanding compilers.
16116 # On the NeXT, cc -E runs the code through the compiler's parser,
16117 # not just through cpp. "Syntax error" is here to catch this case.
16118 cat >conftest.$ac_ext <<_ACEOF
16119 /* confdefs.h. */
16120 _ACEOF
16121 cat confdefs.h >>conftest.$ac_ext
16122 cat >>conftest.$ac_ext <<_ACEOF
16123 /* end confdefs.h. */
16124 #ifdef __STDC__
16125 # include <limits.h>
16126 #else
16127 # include <assert.h>
16128 #endif
16129 Syntax error
16130 _ACEOF
16131 if { (ac_try="$ac_cpp conftest.$ac_ext"
16132 case "(($ac_try" in
16133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16134 *) ac_try_echo=$ac_try;;
16135 esac
16136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16137 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16138 ac_status=$?
16139 grep -v '^ *+' conftest.er1 >conftest.err
16140 rm -f conftest.er1
16141 cat conftest.err >&5
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); } >/dev/null && {
16144 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16145 test ! -s conftest.err
16146 }; then
16147 :
16148 else
16149 echo "$as_me: failed program was:" >&5
16150 sed 's/^/| /' conftest.$ac_ext >&5
16151
16152 # Broken: fails on valid input.
16153 continue
16154 fi
16155
16156 rm -f conftest.err conftest.$ac_ext
16157
16158 # OK, works on sane cases. Now check whether nonexistent headers
16159 # can be detected and how.
16160 cat >conftest.$ac_ext <<_ACEOF
16161 /* confdefs.h. */
16162 _ACEOF
16163 cat confdefs.h >>conftest.$ac_ext
16164 cat >>conftest.$ac_ext <<_ACEOF
16165 /* end confdefs.h. */
16166 #include <ac_nonexistent.h>
16167 _ACEOF
16168 if { (ac_try="$ac_cpp conftest.$ac_ext"
16169 case "(($ac_try" in
16170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16171 *) ac_try_echo=$ac_try;;
16172 esac
16173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16174 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16175 ac_status=$?
16176 grep -v '^ *+' conftest.er1 >conftest.err
16177 rm -f conftest.er1
16178 cat conftest.err >&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } >/dev/null && {
16181 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16182 test ! -s conftest.err
16183 }; then
16184 # Broken: success on invalid input.
16185 continue
16186 else
16187 echo "$as_me: failed program was:" >&5
16188 sed 's/^/| /' conftest.$ac_ext >&5
16189
16190 # Passes both tests.
16191 ac_preproc_ok=:
16192 break
16193 fi
16194
16195 rm -f conftest.err conftest.$ac_ext
16196
16197 done
16198 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16199 rm -f conftest.err conftest.$ac_ext
16200 if $ac_preproc_ok; then
16201 break
16202 fi
16203
16204 done
16205 ac_cv_prog_CPP=$CPP
16206
16207 fi
16208 CPP=$ac_cv_prog_CPP
16209 else
16210 ac_cv_prog_CPP=$CPP
16211 fi
16212 { echo "$as_me:$LINENO: result: $CPP" >&5
16213 echo "${ECHO_T}$CPP" >&6; }
16214 ac_preproc_ok=false
16215 for ac_c_preproc_warn_flag in '' yes
16216 do
16217 # Use a header file that comes with gcc, so configuring glibc
16218 # with a fresh cross-compiler works.
16219 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16220 # <limits.h> exists even on freestanding compilers.
16221 # On the NeXT, cc -E runs the code through the compiler's parser,
16222 # not just through cpp. "Syntax error" is here to catch this case.
16223 cat >conftest.$ac_ext <<_ACEOF
16224 /* confdefs.h. */
16225 _ACEOF
16226 cat confdefs.h >>conftest.$ac_ext
16227 cat >>conftest.$ac_ext <<_ACEOF
16228 /* end confdefs.h. */
16229 #ifdef __STDC__
16230 # include <limits.h>
16231 #else
16232 # include <assert.h>
16233 #endif
16234 Syntax error
16235 _ACEOF
16236 if { (ac_try="$ac_cpp conftest.$ac_ext"
16237 case "(($ac_try" in
16238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16239 *) ac_try_echo=$ac_try;;
16240 esac
16241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16242 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16243 ac_status=$?
16244 grep -v '^ *+' conftest.er1 >conftest.err
16245 rm -f conftest.er1
16246 cat conftest.err >&5
16247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16248 (exit $ac_status); } >/dev/null && {
16249 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16250 test ! -s conftest.err
16251 }; then
16252 :
16253 else
16254 echo "$as_me: failed program was:" >&5
16255 sed 's/^/| /' conftest.$ac_ext >&5
16256
16257 # Broken: fails on valid input.
16258 continue
16259 fi
16260
16261 rm -f conftest.err conftest.$ac_ext
16262
16263 # OK, works on sane cases. Now check whether nonexistent headers
16264 # can be detected and how.
16265 cat >conftest.$ac_ext <<_ACEOF
16266 /* confdefs.h. */
16267 _ACEOF
16268 cat confdefs.h >>conftest.$ac_ext
16269 cat >>conftest.$ac_ext <<_ACEOF
16270 /* end confdefs.h. */
16271 #include <ac_nonexistent.h>
16272 _ACEOF
16273 if { (ac_try="$ac_cpp conftest.$ac_ext"
16274 case "(($ac_try" in
16275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16276 *) ac_try_echo=$ac_try;;
16277 esac
16278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16279 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16280 ac_status=$?
16281 grep -v '^ *+' conftest.er1 >conftest.err
16282 rm -f conftest.er1
16283 cat conftest.err >&5
16284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16285 (exit $ac_status); } >/dev/null && {
16286 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16287 test ! -s conftest.err
16288 }; then
16289 # Broken: success on invalid input.
16290 continue
16291 else
16292 echo "$as_me: failed program was:" >&5
16293 sed 's/^/| /' conftest.$ac_ext >&5
16294
16295 # Passes both tests.
16296 ac_preproc_ok=:
16297 break
16298 fi
16299
16300 rm -f conftest.err conftest.$ac_ext
16301
16302 done
16303 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16304 rm -f conftest.err conftest.$ac_ext
16305 if $ac_preproc_ok; then
16306 :
16307 else
16308 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16309 See \`config.log' for more details." >&5
16310 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16311 See \`config.log' for more details." >&2;}
16312 { (exit 1); exit 1; }; }
16313 fi
16314
16315 ac_ext=c
16316 ac_cpp='$CPP $CPPFLAGS'
16317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16320
16321
16322 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16323 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16324 if test "${ac_cv_path_GREP+set}" = set; then
16325 echo $ECHO_N "(cached) $ECHO_C" >&6
16326 else
16327 # Extract the first word of "grep ggrep" to use in msg output
16328 if test -z "$GREP"; then
16329 set dummy grep ggrep; ac_prog_name=$2
16330 if test "${ac_cv_path_GREP+set}" = set; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16332 else
16333 ac_path_GREP_found=false
16334 # Loop through the user's path and test for each of PROGNAME-LIST
16335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16336 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16337 do
16338 IFS=$as_save_IFS
16339 test -z "$as_dir" && as_dir=.
16340 for ac_prog in grep ggrep; do
16341 for ac_exec_ext in '' $ac_executable_extensions; do
16342 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16343 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16344 # Check for GNU ac_path_GREP and select it if it is found.
16345 # Check for GNU $ac_path_GREP
16346 case `"$ac_path_GREP" --version 2>&1` in
16347 *GNU*)
16348 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16349 *)
16350 ac_count=0
16351 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16352 while :
16353 do
16354 cat "conftest.in" "conftest.in" >"conftest.tmp"
16355 mv "conftest.tmp" "conftest.in"
16356 cp "conftest.in" "conftest.nl"
16357 echo 'GREP' >> "conftest.nl"
16358 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16359 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16360 ac_count=`expr $ac_count + 1`
16361 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16362 # Best one so far, save it but keep looking for a better one
16363 ac_cv_path_GREP="$ac_path_GREP"
16364 ac_path_GREP_max=$ac_count
16365 fi
16366 # 10*(2^10) chars as input seems more than enough
16367 test $ac_count -gt 10 && break
16368 done
16369 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16370 esac
16371
16372
16373 $ac_path_GREP_found && break 3
16374 done
16375 done
16376
16377 done
16378 IFS=$as_save_IFS
16379
16380
16381 fi
16382
16383 GREP="$ac_cv_path_GREP"
16384 if test -z "$GREP"; then
16385 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16386 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16387 { (exit 1); exit 1; }; }
16388 fi
16389
16390 else
16391 ac_cv_path_GREP=$GREP
16392 fi
16393
16394
16395 fi
16396 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16397 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16398 GREP="$ac_cv_path_GREP"
16399
16400
16401 { echo "$as_me:$LINENO: checking for egrep" >&5
16402 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16403 if test "${ac_cv_path_EGREP+set}" = set; then
16404 echo $ECHO_N "(cached) $ECHO_C" >&6
16405 else
16406 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16407 then ac_cv_path_EGREP="$GREP -E"
16408 else
16409 # Extract the first word of "egrep" to use in msg output
16410 if test -z "$EGREP"; then
16411 set dummy egrep; ac_prog_name=$2
16412 if test "${ac_cv_path_EGREP+set}" = set; then
16413 echo $ECHO_N "(cached) $ECHO_C" >&6
16414 else
16415 ac_path_EGREP_found=false
16416 # Loop through the user's path and test for each of PROGNAME-LIST
16417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16418 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16419 do
16420 IFS=$as_save_IFS
16421 test -z "$as_dir" && as_dir=.
16422 for ac_prog in egrep; do
16423 for ac_exec_ext in '' $ac_executable_extensions; do
16424 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16425 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16426 # Check for GNU ac_path_EGREP and select it if it is found.
16427 # Check for GNU $ac_path_EGREP
16428 case `"$ac_path_EGREP" --version 2>&1` in
16429 *GNU*)
16430 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16431 *)
16432 ac_count=0
16433 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16434 while :
16435 do
16436 cat "conftest.in" "conftest.in" >"conftest.tmp"
16437 mv "conftest.tmp" "conftest.in"
16438 cp "conftest.in" "conftest.nl"
16439 echo 'EGREP' >> "conftest.nl"
16440 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16441 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16442 ac_count=`expr $ac_count + 1`
16443 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16444 # Best one so far, save it but keep looking for a better one
16445 ac_cv_path_EGREP="$ac_path_EGREP"
16446 ac_path_EGREP_max=$ac_count
16447 fi
16448 # 10*(2^10) chars as input seems more than enough
16449 test $ac_count -gt 10 && break
16450 done
16451 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16452 esac
16453
16454
16455 $ac_path_EGREP_found && break 3
16456 done
16457 done
16458
16459 done
16460 IFS=$as_save_IFS
16461
16462
16463 fi
16464
16465 EGREP="$ac_cv_path_EGREP"
16466 if test -z "$EGREP"; then
16467 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16468 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16469 { (exit 1); exit 1; }; }
16470 fi
16471
16472 else
16473 ac_cv_path_EGREP=$EGREP
16474 fi
16475
16476
16477 fi
16478 fi
16479 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16480 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16481 EGREP="$ac_cv_path_EGREP"
16482
16483
16484 if test $ac_cv_c_compiler_gnu = yes; then
16485 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16486 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16487 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16488 echo $ECHO_N "(cached) $ECHO_C" >&6
16489 else
16490 ac_pattern="Autoconf.*'x'"
16491 cat >conftest.$ac_ext <<_ACEOF
16492 /* confdefs.h. */
16493 _ACEOF
16494 cat confdefs.h >>conftest.$ac_ext
16495 cat >>conftest.$ac_ext <<_ACEOF
16496 /* end confdefs.h. */
16497 #include <sgtty.h>
16498 Autoconf TIOCGETP
16499 _ACEOF
16500 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16501 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16502 ac_cv_prog_gcc_traditional=yes
16503 else
16504 ac_cv_prog_gcc_traditional=no
16505 fi
16506 rm -f conftest*
16507
16508
16509 if test $ac_cv_prog_gcc_traditional = no; then
16510 cat >conftest.$ac_ext <<_ACEOF
16511 /* confdefs.h. */
16512 _ACEOF
16513 cat confdefs.h >>conftest.$ac_ext
16514 cat >>conftest.$ac_ext <<_ACEOF
16515 /* end confdefs.h. */
16516 #include <termio.h>
16517 Autoconf TCGETA
16518 _ACEOF
16519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16520 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16521 ac_cv_prog_gcc_traditional=yes
16522 fi
16523 rm -f conftest*
16524
16525 fi
16526 fi
16527 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16528 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16529 if test $ac_cv_prog_gcc_traditional = yes; then
16530 CC="$CC -traditional"
16531 fi
16532 fi
16533
16534
16535 CXXFLAGS=${CXXFLAGS:=}
16536
16537
16538
16539 ac_ext=cpp
16540 ac_cpp='$CXXCPP $CPPFLAGS'
16541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16544 if test -z "$CXX"; then
16545 if test -n "$CCC"; then
16546 CXX=$CCC
16547 else
16548 if test -n "$ac_tool_prefix"; then
16549 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16550 do
16551 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16552 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16555 if test "${ac_cv_prog_CXX+set}" = set; then
16556 echo $ECHO_N "(cached) $ECHO_C" >&6
16557 else
16558 if test -n "$CXX"; then
16559 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16560 else
16561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16562 for as_dir in $PATH
16563 do
16564 IFS=$as_save_IFS
16565 test -z "$as_dir" && as_dir=.
16566 for ac_exec_ext in '' $ac_executable_extensions; do
16567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16568 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16570 break 2
16571 fi
16572 done
16573 done
16574 IFS=$as_save_IFS
16575
16576 fi
16577 fi
16578 CXX=$ac_cv_prog_CXX
16579 if test -n "$CXX"; then
16580 { echo "$as_me:$LINENO: result: $CXX" >&5
16581 echo "${ECHO_T}$CXX" >&6; }
16582 else
16583 { echo "$as_me:$LINENO: result: no" >&5
16584 echo "${ECHO_T}no" >&6; }
16585 fi
16586
16587
16588 test -n "$CXX" && break
16589 done
16590 fi
16591 if test -z "$CXX"; then
16592 ac_ct_CXX=$CXX
16593 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16594 do
16595 # Extract the first word of "$ac_prog", so it can be a program name with args.
16596 set dummy $ac_prog; ac_word=$2
16597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16599 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16600 echo $ECHO_N "(cached) $ECHO_C" >&6
16601 else
16602 if test -n "$ac_ct_CXX"; then
16603 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16604 else
16605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16606 for as_dir in $PATH
16607 do
16608 IFS=$as_save_IFS
16609 test -z "$as_dir" && as_dir=.
16610 for ac_exec_ext in '' $ac_executable_extensions; do
16611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16612 ac_cv_prog_ac_ct_CXX="$ac_prog"
16613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16614 break 2
16615 fi
16616 done
16617 done
16618 IFS=$as_save_IFS
16619
16620 fi
16621 fi
16622 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16623 if test -n "$ac_ct_CXX"; then
16624 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16625 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16626 else
16627 { echo "$as_me:$LINENO: result: no" >&5
16628 echo "${ECHO_T}no" >&6; }
16629 fi
16630
16631
16632 test -n "$ac_ct_CXX" && break
16633 done
16634
16635 if test "x$ac_ct_CXX" = x; then
16636 CXX="g++"
16637 else
16638 case $cross_compiling:$ac_tool_warned in
16639 yes:)
16640 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16641 whose name does not start with the host triplet. If you think this
16642 configuration is useful to you, please write to autoconf@gnu.org." >&5
16643 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16644 whose name does not start with the host triplet. If you think this
16645 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16646 ac_tool_warned=yes ;;
16647 esac
16648 CXX=$ac_ct_CXX
16649 fi
16650 fi
16651
16652 fi
16653 fi
16654 # Provide some information about the compiler.
16655 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16656 ac_compiler=`set X $ac_compile; echo $2`
16657 { (ac_try="$ac_compiler --version >&5"
16658 case "(($ac_try" in
16659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16660 *) ac_try_echo=$ac_try;;
16661 esac
16662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16663 (eval "$ac_compiler --version >&5") 2>&5
16664 ac_status=$?
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); }
16667 { (ac_try="$ac_compiler -v >&5"
16668 case "(($ac_try" in
16669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16670 *) ac_try_echo=$ac_try;;
16671 esac
16672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16673 (eval "$ac_compiler -v >&5") 2>&5
16674 ac_status=$?
16675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676 (exit $ac_status); }
16677 { (ac_try="$ac_compiler -V >&5"
16678 case "(($ac_try" in
16679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16680 *) ac_try_echo=$ac_try;;
16681 esac
16682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16683 (eval "$ac_compiler -V >&5") 2>&5
16684 ac_status=$?
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); }
16687
16688 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16689 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16690 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16691 echo $ECHO_N "(cached) $ECHO_C" >&6
16692 else
16693 cat >conftest.$ac_ext <<_ACEOF
16694 /* confdefs.h. */
16695 _ACEOF
16696 cat confdefs.h >>conftest.$ac_ext
16697 cat >>conftest.$ac_ext <<_ACEOF
16698 /* end confdefs.h. */
16699
16700 int
16701 main ()
16702 {
16703 #ifndef __GNUC__
16704 choke me
16705 #endif
16706
16707 ;
16708 return 0;
16709 }
16710 _ACEOF
16711 rm -f conftest.$ac_objext
16712 if { (ac_try="$ac_compile"
16713 case "(($ac_try" in
16714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16715 *) ac_try_echo=$ac_try;;
16716 esac
16717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16718 (eval "$ac_compile") 2>conftest.er1
16719 ac_status=$?
16720 grep -v '^ *+' conftest.er1 >conftest.err
16721 rm -f conftest.er1
16722 cat conftest.err >&5
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); } && {
16725 test -z "$ac_cxx_werror_flag" ||
16726 test ! -s conftest.err
16727 } && test -s conftest.$ac_objext; then
16728 ac_compiler_gnu=yes
16729 else
16730 echo "$as_me: failed program was:" >&5
16731 sed 's/^/| /' conftest.$ac_ext >&5
16732
16733 ac_compiler_gnu=no
16734 fi
16735
16736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16737 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16738
16739 fi
16740 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16741 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16742 GXX=`test $ac_compiler_gnu = yes && echo yes`
16743 ac_test_CXXFLAGS=${CXXFLAGS+set}
16744 ac_save_CXXFLAGS=$CXXFLAGS
16745 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16746 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16747 if test "${ac_cv_prog_cxx_g+set}" = set; then
16748 echo $ECHO_N "(cached) $ECHO_C" >&6
16749 else
16750 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16751 ac_cxx_werror_flag=yes
16752 ac_cv_prog_cxx_g=no
16753 CXXFLAGS="-g"
16754 cat >conftest.$ac_ext <<_ACEOF
16755 /* confdefs.h. */
16756 _ACEOF
16757 cat confdefs.h >>conftest.$ac_ext
16758 cat >>conftest.$ac_ext <<_ACEOF
16759 /* end confdefs.h. */
16760
16761 int
16762 main ()
16763 {
16764
16765 ;
16766 return 0;
16767 }
16768 _ACEOF
16769 rm -f conftest.$ac_objext
16770 if { (ac_try="$ac_compile"
16771 case "(($ac_try" in
16772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16773 *) ac_try_echo=$ac_try;;
16774 esac
16775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16776 (eval "$ac_compile") 2>conftest.er1
16777 ac_status=$?
16778 grep -v '^ *+' conftest.er1 >conftest.err
16779 rm -f conftest.er1
16780 cat conftest.err >&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); } && {
16783 test -z "$ac_cxx_werror_flag" ||
16784 test ! -s conftest.err
16785 } && test -s conftest.$ac_objext; then
16786 ac_cv_prog_cxx_g=yes
16787 else
16788 echo "$as_me: failed program was:" >&5
16789 sed 's/^/| /' conftest.$ac_ext >&5
16790
16791 CXXFLAGS=""
16792 cat >conftest.$ac_ext <<_ACEOF
16793 /* confdefs.h. */
16794 _ACEOF
16795 cat confdefs.h >>conftest.$ac_ext
16796 cat >>conftest.$ac_ext <<_ACEOF
16797 /* end confdefs.h. */
16798
16799 int
16800 main ()
16801 {
16802
16803 ;
16804 return 0;
16805 }
16806 _ACEOF
16807 rm -f conftest.$ac_objext
16808 if { (ac_try="$ac_compile"
16809 case "(($ac_try" in
16810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16811 *) ac_try_echo=$ac_try;;
16812 esac
16813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16814 (eval "$ac_compile") 2>conftest.er1
16815 ac_status=$?
16816 grep -v '^ *+' conftest.er1 >conftest.err
16817 rm -f conftest.er1
16818 cat conftest.err >&5
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); } && {
16821 test -z "$ac_cxx_werror_flag" ||
16822 test ! -s conftest.err
16823 } && test -s conftest.$ac_objext; then
16824 :
16825 else
16826 echo "$as_me: failed program was:" >&5
16827 sed 's/^/| /' conftest.$ac_ext >&5
16828
16829 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16830 CXXFLAGS="-g"
16831 cat >conftest.$ac_ext <<_ACEOF
16832 /* confdefs.h. */
16833 _ACEOF
16834 cat confdefs.h >>conftest.$ac_ext
16835 cat >>conftest.$ac_ext <<_ACEOF
16836 /* end confdefs.h. */
16837
16838 int
16839 main ()
16840 {
16841
16842 ;
16843 return 0;
16844 }
16845 _ACEOF
16846 rm -f conftest.$ac_objext
16847 if { (ac_try="$ac_compile"
16848 case "(($ac_try" in
16849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16850 *) ac_try_echo=$ac_try;;
16851 esac
16852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16853 (eval "$ac_compile") 2>conftest.er1
16854 ac_status=$?
16855 grep -v '^ *+' conftest.er1 >conftest.err
16856 rm -f conftest.er1
16857 cat conftest.err >&5
16858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16859 (exit $ac_status); } && {
16860 test -z "$ac_cxx_werror_flag" ||
16861 test ! -s conftest.err
16862 } && test -s conftest.$ac_objext; then
16863 ac_cv_prog_cxx_g=yes
16864 else
16865 echo "$as_me: failed program was:" >&5
16866 sed 's/^/| /' conftest.$ac_ext >&5
16867
16868
16869 fi
16870
16871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16872 fi
16873
16874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16875 fi
16876
16877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16878 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16879 fi
16880 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16881 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16882 if test "$ac_test_CXXFLAGS" = set; then
16883 CXXFLAGS=$ac_save_CXXFLAGS
16884 elif test $ac_cv_prog_cxx_g = yes; then
16885 if test "$GXX" = yes; then
16886 CXXFLAGS="-g -O2"
16887 else
16888 CXXFLAGS="-g"
16889 fi
16890 else
16891 if test "$GXX" = yes; then
16892 CXXFLAGS="-O2"
16893 else
16894 CXXFLAGS=
16895 fi
16896 fi
16897 ac_ext=c
16898 ac_cpp='$CPP $CPPFLAGS'
16899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16902
16903
16904
16905
16906 ac_ext=cpp
16907 ac_cpp='$CXXCPP $CPPFLAGS'
16908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16911
16912 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16913 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16914 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16915 echo $ECHO_N "(cached) $ECHO_C" >&6
16916 else
16917 cat >conftest.$ac_ext <<_ACEOF
16918 /* confdefs.h. */
16919 _ACEOF
16920 cat confdefs.h >>conftest.$ac_ext
16921 cat >>conftest.$ac_ext <<_ACEOF
16922 /* end confdefs.h. */
16923
16924 int
16925 main ()
16926 {
16927
16928 #ifndef __INTEL_COMPILER
16929 choke me
16930 #endif
16931
16932 ;
16933 return 0;
16934 }
16935 _ACEOF
16936 rm -f conftest.$ac_objext
16937 if { (ac_try="$ac_compile"
16938 case "(($ac_try" in
16939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16940 *) ac_try_echo=$ac_try;;
16941 esac
16942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16943 (eval "$ac_compile") 2>conftest.er1
16944 ac_status=$?
16945 grep -v '^ *+' conftest.er1 >conftest.err
16946 rm -f conftest.er1
16947 cat conftest.err >&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); } && {
16950 test -z "$ac_cxx_werror_flag" ||
16951 test ! -s conftest.err
16952 } && test -s conftest.$ac_objext; then
16953 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16954 else
16955 echo "$as_me: failed program was:" >&5
16956 sed 's/^/| /' conftest.$ac_ext >&5
16957
16958 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16959
16960 fi
16961
16962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16963
16964
16965 fi
16966 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16967 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16968 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16969 :; INTELCXX=yes
16970 else
16971 :;
16972 fi
16973 ac_ext=c
16974 ac_cpp='$CPP $CPPFLAGS'
16975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16978
16979
16980
16981
16982 if test "$INTELCXX" = "yes"; then
16983
16984
16985 ac_ext=cpp
16986 ac_cpp='$CXXCPP $CPPFLAGS'
16987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16990
16991 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16992 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16993 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16994 echo $ECHO_N "(cached) $ECHO_C" >&6
16995 else
16996 cat >conftest.$ac_ext <<_ACEOF
16997 /* confdefs.h. */
16998 _ACEOF
16999 cat confdefs.h >>conftest.$ac_ext
17000 cat >>conftest.$ac_ext <<_ACEOF
17001 /* end confdefs.h. */
17002
17003 int
17004 main ()
17005 {
17006
17007 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17008 choke me
17009 #endif
17010
17011 ;
17012 return 0;
17013 }
17014 _ACEOF
17015 rm -f conftest.$ac_objext
17016 if { (ac_try="$ac_compile"
17017 case "(($ac_try" in
17018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17019 *) ac_try_echo=$ac_try;;
17020 esac
17021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17022 (eval "$ac_compile") 2>conftest.er1
17023 ac_status=$?
17024 grep -v '^ *+' conftest.er1 >conftest.err
17025 rm -f conftest.er1
17026 cat conftest.err >&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); } && {
17029 test -z "$ac_cxx_werror_flag" ||
17030 test ! -s conftest.err
17031 } && test -s conftest.$ac_objext; then
17032 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17033 else
17034 echo "$as_me: failed program was:" >&5
17035 sed 's/^/| /' conftest.$ac_ext >&5
17036
17037 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17038
17039 fi
17040
17041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17042
17043
17044 fi
17045 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17046 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17047 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17048 :; INTELCXX8=yes
17049 else
17050 :;
17051 fi
17052 ac_ext=c
17053 ac_cpp='$CPP $CPPFLAGS'
17054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17057
17058
17059
17060
17061
17062 ac_ext=cpp
17063 ac_cpp='$CXXCPP $CPPFLAGS'
17064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17067
17068 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17069 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17070 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17071 echo $ECHO_N "(cached) $ECHO_C" >&6
17072 else
17073 cat >conftest.$ac_ext <<_ACEOF
17074 /* confdefs.h. */
17075 _ACEOF
17076 cat confdefs.h >>conftest.$ac_ext
17077 cat >>conftest.$ac_ext <<_ACEOF
17078 /* end confdefs.h. */
17079
17080 int
17081 main ()
17082 {
17083
17084 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17085 choke me
17086 #endif
17087
17088 ;
17089 return 0;
17090 }
17091 _ACEOF
17092 rm -f conftest.$ac_objext
17093 if { (ac_try="$ac_compile"
17094 case "(($ac_try" in
17095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17096 *) ac_try_echo=$ac_try;;
17097 esac
17098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17099 (eval "$ac_compile") 2>conftest.er1
17100 ac_status=$?
17101 grep -v '^ *+' conftest.er1 >conftest.err
17102 rm -f conftest.er1
17103 cat conftest.err >&5
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); } && {
17106 test -z "$ac_cxx_werror_flag" ||
17107 test ! -s conftest.err
17108 } && test -s conftest.$ac_objext; then
17109 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17110 else
17111 echo "$as_me: failed program was:" >&5
17112 sed 's/^/| /' conftest.$ac_ext >&5
17113
17114 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17115
17116 fi
17117
17118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17119
17120
17121 fi
17122 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17123 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17124 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17125 :; INTELCXX10=yes
17126 else
17127 :;
17128 fi
17129 ac_ext=c
17130 ac_cpp='$CPP $CPPFLAGS'
17131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17134
17135
17136
17137 fi
17138
17139 if test "x$GCXX" != "xyes"; then
17140 if test "xCXX" = "xC"; then
17141 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17142 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17143 if test "${bakefile_cv_c_exto+set}" = set; then
17144 echo $ECHO_N "(cached) $ECHO_C" >&6
17145 else
17146 cat >conftest.$ac_ext <<_ACEOF
17147 /* confdefs.h. */
17148 _ACEOF
17149 cat confdefs.h >>conftest.$ac_ext
17150 cat >>conftest.$ac_ext <<_ACEOF
17151 /* end confdefs.h. */
17152
17153 int
17154 main ()
17155 {
17156
17157 ;
17158 return 0;
17159 }
17160 _ACEOF
17161 rm -f conftest.$ac_objext conftest.$ac_ext.o
17162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17163 (eval $ac_compile) 2>&5
17164 ac_status=$?
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; then
17167 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17168 case $ac_file in
17169 conftest.$ac_ext.o)
17170 bakefile_cv_c_exto="-ext o"
17171 ;;
17172 *)
17173 ;;
17174 esac
17175 done
17176 else
17177 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17178 See \`config.log' for more details." >&5
17179 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17180 See \`config.log' for more details." >&2;}
17181 { (exit 1); exit 1; }; }
17182
17183 fi
17184
17185 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17186
17187 fi
17188 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17189 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17190 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17191 if test "c" = "c"; then
17192 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17193 fi
17194 if test "c" = "cxx"; then
17195 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17196 fi
17197 fi
17198
17199 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17200 unset ac_cv_prog_cc_g
17201 ac_test_CFLAGS=${CFLAGS+set}
17202 ac_save_CFLAGS=$CFLAGS
17203 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17204 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17205 if test "${ac_cv_prog_cc_g+set}" = set; then
17206 echo $ECHO_N "(cached) $ECHO_C" >&6
17207 else
17208 ac_save_c_werror_flag=$ac_c_werror_flag
17209 ac_c_werror_flag=yes
17210 ac_cv_prog_cc_g=no
17211 CFLAGS="-g"
17212 cat >conftest.$ac_ext <<_ACEOF
17213 /* confdefs.h. */
17214 _ACEOF
17215 cat confdefs.h >>conftest.$ac_ext
17216 cat >>conftest.$ac_ext <<_ACEOF
17217 /* end confdefs.h. */
17218
17219 int
17220 main ()
17221 {
17222
17223 ;
17224 return 0;
17225 }
17226 _ACEOF
17227 rm -f conftest.$ac_objext
17228 if { (ac_try="$ac_compile"
17229 case "(($ac_try" in
17230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17231 *) ac_try_echo=$ac_try;;
17232 esac
17233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17234 (eval "$ac_compile") 2>conftest.er1
17235 ac_status=$?
17236 grep -v '^ *+' conftest.er1 >conftest.err
17237 rm -f conftest.er1
17238 cat conftest.err >&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); } && {
17241 test -z "$ac_c_werror_flag" ||
17242 test ! -s conftest.err
17243 } && test -s conftest.$ac_objext; then
17244 ac_cv_prog_cc_g=yes
17245 else
17246 echo "$as_me: failed program was:" >&5
17247 sed 's/^/| /' conftest.$ac_ext >&5
17248
17249 CFLAGS=""
17250 cat >conftest.$ac_ext <<_ACEOF
17251 /* confdefs.h. */
17252 _ACEOF
17253 cat confdefs.h >>conftest.$ac_ext
17254 cat >>conftest.$ac_ext <<_ACEOF
17255 /* end confdefs.h. */
17256
17257 int
17258 main ()
17259 {
17260
17261 ;
17262 return 0;
17263 }
17264 _ACEOF
17265 rm -f conftest.$ac_objext
17266 if { (ac_try="$ac_compile"
17267 case "(($ac_try" in
17268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17269 *) ac_try_echo=$ac_try;;
17270 esac
17271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17272 (eval "$ac_compile") 2>conftest.er1
17273 ac_status=$?
17274 grep -v '^ *+' conftest.er1 >conftest.err
17275 rm -f conftest.er1
17276 cat conftest.err >&5
17277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17278 (exit $ac_status); } && {
17279 test -z "$ac_c_werror_flag" ||
17280 test ! -s conftest.err
17281 } && test -s conftest.$ac_objext; then
17282 :
17283 else
17284 echo "$as_me: failed program was:" >&5
17285 sed 's/^/| /' conftest.$ac_ext >&5
17286
17287 ac_c_werror_flag=$ac_save_c_werror_flag
17288 CFLAGS="-g"
17289 cat >conftest.$ac_ext <<_ACEOF
17290 /* confdefs.h. */
17291 _ACEOF
17292 cat confdefs.h >>conftest.$ac_ext
17293 cat >>conftest.$ac_ext <<_ACEOF
17294 /* end confdefs.h. */
17295
17296 int
17297 main ()
17298 {
17299
17300 ;
17301 return 0;
17302 }
17303 _ACEOF
17304 rm -f conftest.$ac_objext
17305 if { (ac_try="$ac_compile"
17306 case "(($ac_try" in
17307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17308 *) ac_try_echo=$ac_try;;
17309 esac
17310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17311 (eval "$ac_compile") 2>conftest.er1
17312 ac_status=$?
17313 grep -v '^ *+' conftest.er1 >conftest.err
17314 rm -f conftest.er1
17315 cat conftest.err >&5
17316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 (exit $ac_status); } && {
17318 test -z "$ac_c_werror_flag" ||
17319 test ! -s conftest.err
17320 } && test -s conftest.$ac_objext; then
17321 ac_cv_prog_cc_g=yes
17322 else
17323 echo "$as_me: failed program was:" >&5
17324 sed 's/^/| /' conftest.$ac_ext >&5
17325
17326
17327 fi
17328
17329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17330 fi
17331
17332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17333 fi
17334
17335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17336 ac_c_werror_flag=$ac_save_c_werror_flag
17337 fi
17338 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17339 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17340 if test "$ac_test_CFLAGS" = set; then
17341 CFLAGS=$ac_save_CFLAGS
17342 elif test $ac_cv_prog_cc_g = yes; then
17343 if test "$GCC" = yes; then
17344 CFLAGS="-g -O2"
17345 else
17346 CFLAGS="-g"
17347 fi
17348 else
17349 if test "$GCC" = yes; then
17350 CFLAGS="-O2"
17351 else
17352 CFLAGS=
17353 fi
17354 fi
17355 fi
17356 fi
17357
17358 case `uname -s` in
17359 AIX*)
17360
17361
17362 ac_ext=cpp
17363 ac_cpp='$CXXCPP $CPPFLAGS'
17364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17367
17368 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17369 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17370 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17371 echo $ECHO_N "(cached) $ECHO_C" >&6
17372 else
17373 cat >conftest.$ac_ext <<_ACEOF
17374 /* confdefs.h. */
17375 _ACEOF
17376 cat confdefs.h >>conftest.$ac_ext
17377 cat >>conftest.$ac_ext <<_ACEOF
17378 /* end confdefs.h. */
17379
17380 int
17381 main ()
17382 {
17383
17384 #ifndef __xlC__
17385 choke me
17386 #endif
17387
17388 ;
17389 return 0;
17390 }
17391 _ACEOF
17392 rm -f conftest.$ac_objext
17393 if { (ac_try="$ac_compile"
17394 case "(($ac_try" in
17395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17396 *) ac_try_echo=$ac_try;;
17397 esac
17398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17399 (eval "$ac_compile") 2>conftest.er1
17400 ac_status=$?
17401 grep -v '^ *+' conftest.er1 >conftest.err
17402 rm -f conftest.er1
17403 cat conftest.err >&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } && {
17406 test -z "$ac_cxx_werror_flag" ||
17407 test ! -s conftest.err
17408 } && test -s conftest.$ac_objext; then
17409 bakefile_cv_cxx_compiler___xlC__=yes
17410 else
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.$ac_ext >&5
17413
17414 bakefile_cv_cxx_compiler___xlC__=no
17415
17416 fi
17417
17418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17419
17420
17421 fi
17422 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17423 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17424 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17425 :; XLCXX=yes
17426 else
17427 :;
17428 fi
17429 ac_ext=c
17430 ac_cpp='$CPP $CPPFLAGS'
17431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17434
17435
17436
17437 ;;
17438
17439 Darwin)
17440
17441
17442 ac_ext=cpp
17443 ac_cpp='$CXXCPP $CPPFLAGS'
17444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17447
17448 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17449 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17450 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17451 echo $ECHO_N "(cached) $ECHO_C" >&6
17452 else
17453 cat >conftest.$ac_ext <<_ACEOF
17454 /* confdefs.h. */
17455 _ACEOF
17456 cat confdefs.h >>conftest.$ac_ext
17457 cat >>conftest.$ac_ext <<_ACEOF
17458 /* end confdefs.h. */
17459
17460 int
17461 main ()
17462 {
17463
17464 #ifndef __MWERKS__
17465 choke me
17466 #endif
17467
17468 ;
17469 return 0;
17470 }
17471 _ACEOF
17472 rm -f conftest.$ac_objext
17473 if { (ac_try="$ac_compile"
17474 case "(($ac_try" in
17475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17476 *) ac_try_echo=$ac_try;;
17477 esac
17478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17479 (eval "$ac_compile") 2>conftest.er1
17480 ac_status=$?
17481 grep -v '^ *+' conftest.er1 >conftest.err
17482 rm -f conftest.er1
17483 cat conftest.err >&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); } && {
17486 test -z "$ac_cxx_werror_flag" ||
17487 test ! -s conftest.err
17488 } && test -s conftest.$ac_objext; then
17489 bakefile_cv_cxx_compiler___MWERKS__=yes
17490 else
17491 echo "$as_me: failed program was:" >&5
17492 sed 's/^/| /' conftest.$ac_ext >&5
17493
17494 bakefile_cv_cxx_compiler___MWERKS__=no
17495
17496 fi
17497
17498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17499
17500
17501 fi
17502 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17503 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17504 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17505 :; MWCXX=yes
17506 else
17507 :;
17508 fi
17509 ac_ext=c
17510 ac_cpp='$CPP $CPPFLAGS'
17511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17514
17515
17516
17517 if test "$MWCXX" != "yes"; then
17518
17519
17520 ac_ext=cpp
17521 ac_cpp='$CXXCPP $CPPFLAGS'
17522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17525
17526 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17527 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17528 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17529 echo $ECHO_N "(cached) $ECHO_C" >&6
17530 else
17531 cat >conftest.$ac_ext <<_ACEOF
17532 /* confdefs.h. */
17533 _ACEOF
17534 cat confdefs.h >>conftest.$ac_ext
17535 cat >>conftest.$ac_ext <<_ACEOF
17536 /* end confdefs.h. */
17537
17538 int
17539 main ()
17540 {
17541
17542 #ifndef __xlC__
17543 choke me
17544 #endif
17545
17546 ;
17547 return 0;
17548 }
17549 _ACEOF
17550 rm -f conftest.$ac_objext
17551 if { (ac_try="$ac_compile"
17552 case "(($ac_try" in
17553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17554 *) ac_try_echo=$ac_try;;
17555 esac
17556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17557 (eval "$ac_compile") 2>conftest.er1
17558 ac_status=$?
17559 grep -v '^ *+' conftest.er1 >conftest.err
17560 rm -f conftest.er1
17561 cat conftest.err >&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); } && {
17564 test -z "$ac_cxx_werror_flag" ||
17565 test ! -s conftest.err
17566 } && test -s conftest.$ac_objext; then
17567 bakefile_cv_cxx_compiler___xlC__=yes
17568 else
17569 echo "$as_me: failed program was:" >&5
17570 sed 's/^/| /' conftest.$ac_ext >&5
17571
17572 bakefile_cv_cxx_compiler___xlC__=no
17573
17574 fi
17575
17576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17577
17578
17579 fi
17580 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17581 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17582 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17583 :; XLCXX=yes
17584 else
17585 :;
17586 fi
17587 ac_ext=c
17588 ac_cpp='$CPP $CPPFLAGS'
17589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17592
17593
17594
17595 fi
17596 ;;
17597
17598 IRIX*)
17599
17600
17601 ac_ext=cpp
17602 ac_cpp='$CXXCPP $CPPFLAGS'
17603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17606
17607 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17608 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17609 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17610 echo $ECHO_N "(cached) $ECHO_C" >&6
17611 else
17612 cat >conftest.$ac_ext <<_ACEOF
17613 /* confdefs.h. */
17614 _ACEOF
17615 cat confdefs.h >>conftest.$ac_ext
17616 cat >>conftest.$ac_ext <<_ACEOF
17617 /* end confdefs.h. */
17618
17619 int
17620 main ()
17621 {
17622
17623 #ifndef _SGI_COMPILER_VERSION
17624 choke me
17625 #endif
17626
17627 ;
17628 return 0;
17629 }
17630 _ACEOF
17631 rm -f conftest.$ac_objext
17632 if { (ac_try="$ac_compile"
17633 case "(($ac_try" in
17634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17635 *) ac_try_echo=$ac_try;;
17636 esac
17637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17638 (eval "$ac_compile") 2>conftest.er1
17639 ac_status=$?
17640 grep -v '^ *+' conftest.er1 >conftest.err
17641 rm -f conftest.er1
17642 cat conftest.err >&5
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); } && {
17645 test -z "$ac_cxx_werror_flag" ||
17646 test ! -s conftest.err
17647 } && test -s conftest.$ac_objext; then
17648 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17649 else
17650 echo "$as_me: failed program was:" >&5
17651 sed 's/^/| /' conftest.$ac_ext >&5
17652
17653 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17654
17655 fi
17656
17657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17658
17659
17660 fi
17661 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17662 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17663 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17664 :; SGICXX=yes
17665 else
17666 :;
17667 fi
17668 ac_ext=c
17669 ac_cpp='$CPP $CPPFLAGS'
17670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17673
17674
17675
17676 ;;
17677
17678 Linux*)
17679 if test "$INTELCXX" != "yes"; then
17680
17681
17682 ac_ext=cpp
17683 ac_cpp='$CXXCPP $CPPFLAGS'
17684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17687
17688 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17689 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17690 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17691 echo $ECHO_N "(cached) $ECHO_C" >&6
17692 else
17693 cat >conftest.$ac_ext <<_ACEOF
17694 /* confdefs.h. */
17695 _ACEOF
17696 cat confdefs.h >>conftest.$ac_ext
17697 cat >>conftest.$ac_ext <<_ACEOF
17698 /* end confdefs.h. */
17699
17700 int
17701 main ()
17702 {
17703
17704 #ifndef __SUNPRO_CC
17705 choke me
17706 #endif
17707
17708 ;
17709 return 0;
17710 }
17711 _ACEOF
17712 rm -f conftest.$ac_objext
17713 if { (ac_try="$ac_compile"
17714 case "(($ac_try" in
17715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17716 *) ac_try_echo=$ac_try;;
17717 esac
17718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17719 (eval "$ac_compile") 2>conftest.er1
17720 ac_status=$?
17721 grep -v '^ *+' conftest.er1 >conftest.err
17722 rm -f conftest.er1
17723 cat conftest.err >&5
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); } && {
17726 test -z "$ac_cxx_werror_flag" ||
17727 test ! -s conftest.err
17728 } && test -s conftest.$ac_objext; then
17729 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17730 else
17731 echo "$as_me: failed program was:" >&5
17732 sed 's/^/| /' conftest.$ac_ext >&5
17733
17734 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17735
17736 fi
17737
17738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17739
17740
17741 fi
17742 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17743 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17744 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17745 :; SUNCXX=yes
17746 else
17747 :;
17748 fi
17749 ac_ext=c
17750 ac_cpp='$CPP $CPPFLAGS'
17751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17754
17755
17756
17757 fi
17758 ;;
17759
17760 HP-UX*)
17761
17762
17763 ac_ext=cpp
17764 ac_cpp='$CXXCPP $CPPFLAGS'
17765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17768
17769 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17770 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17771 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17772 echo $ECHO_N "(cached) $ECHO_C" >&6
17773 else
17774 cat >conftest.$ac_ext <<_ACEOF
17775 /* confdefs.h. */
17776 _ACEOF
17777 cat confdefs.h >>conftest.$ac_ext
17778 cat >>conftest.$ac_ext <<_ACEOF
17779 /* end confdefs.h. */
17780
17781 int
17782 main ()
17783 {
17784
17785 #ifndef __HP_aCC
17786 choke me
17787 #endif
17788
17789 ;
17790 return 0;
17791 }
17792 _ACEOF
17793 rm -f conftest.$ac_objext
17794 if { (ac_try="$ac_compile"
17795 case "(($ac_try" in
17796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17797 *) ac_try_echo=$ac_try;;
17798 esac
17799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17800 (eval "$ac_compile") 2>conftest.er1
17801 ac_status=$?
17802 grep -v '^ *+' conftest.er1 >conftest.err
17803 rm -f conftest.er1
17804 cat conftest.err >&5
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } && {
17807 test -z "$ac_cxx_werror_flag" ||
17808 test ! -s conftest.err
17809 } && test -s conftest.$ac_objext; then
17810 bakefile_cv_cxx_compiler___HP_aCC=yes
17811 else
17812 echo "$as_me: failed program was:" >&5
17813 sed 's/^/| /' conftest.$ac_ext >&5
17814
17815 bakefile_cv_cxx_compiler___HP_aCC=no
17816
17817 fi
17818
17819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17820
17821
17822 fi
17823 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17824 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17825 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17826 :; HPCXX=yes
17827 else
17828 :;
17829 fi
17830 ac_ext=c
17831 ac_cpp='$CPP $CPPFLAGS'
17832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17835
17836
17837
17838 ;;
17839
17840 OSF1)
17841
17842
17843 ac_ext=cpp
17844 ac_cpp='$CXXCPP $CPPFLAGS'
17845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17848
17849 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17850 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17851 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17852 echo $ECHO_N "(cached) $ECHO_C" >&6
17853 else
17854 cat >conftest.$ac_ext <<_ACEOF
17855 /* confdefs.h. */
17856 _ACEOF
17857 cat confdefs.h >>conftest.$ac_ext
17858 cat >>conftest.$ac_ext <<_ACEOF
17859 /* end confdefs.h. */
17860
17861 int
17862 main ()
17863 {
17864
17865 #ifndef __DECCXX
17866 choke me
17867 #endif
17868
17869 ;
17870 return 0;
17871 }
17872 _ACEOF
17873 rm -f conftest.$ac_objext
17874 if { (ac_try="$ac_compile"
17875 case "(($ac_try" in
17876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17877 *) ac_try_echo=$ac_try;;
17878 esac
17879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17880 (eval "$ac_compile") 2>conftest.er1
17881 ac_status=$?
17882 grep -v '^ *+' conftest.er1 >conftest.err
17883 rm -f conftest.er1
17884 cat conftest.err >&5
17885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); } && {
17887 test -z "$ac_cxx_werror_flag" ||
17888 test ! -s conftest.err
17889 } && test -s conftest.$ac_objext; then
17890 bakefile_cv_cxx_compiler___DECCXX=yes
17891 else
17892 echo "$as_me: failed program was:" >&5
17893 sed 's/^/| /' conftest.$ac_ext >&5
17894
17895 bakefile_cv_cxx_compiler___DECCXX=no
17896
17897 fi
17898
17899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17900
17901
17902 fi
17903 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17904 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17905 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17906 :; COMPAQCXX=yes
17907 else
17908 :;
17909 fi
17910 ac_ext=c
17911 ac_cpp='$CPP $CPPFLAGS'
17912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17915
17916
17917
17918 ;;
17919
17920 SunOS)
17921
17922
17923 ac_ext=cpp
17924 ac_cpp='$CXXCPP $CPPFLAGS'
17925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17928
17929 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17930 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17931 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17932 echo $ECHO_N "(cached) $ECHO_C" >&6
17933 else
17934 cat >conftest.$ac_ext <<_ACEOF
17935 /* confdefs.h. */
17936 _ACEOF
17937 cat confdefs.h >>conftest.$ac_ext
17938 cat >>conftest.$ac_ext <<_ACEOF
17939 /* end confdefs.h. */
17940
17941 int
17942 main ()
17943 {
17944
17945 #ifndef __SUNPRO_CC
17946 choke me
17947 #endif
17948
17949 ;
17950 return 0;
17951 }
17952 _ACEOF
17953 rm -f conftest.$ac_objext
17954 if { (ac_try="$ac_compile"
17955 case "(($ac_try" in
17956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17957 *) ac_try_echo=$ac_try;;
17958 esac
17959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17960 (eval "$ac_compile") 2>conftest.er1
17961 ac_status=$?
17962 grep -v '^ *+' conftest.er1 >conftest.err
17963 rm -f conftest.er1
17964 cat conftest.err >&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); } && {
17967 test -z "$ac_cxx_werror_flag" ||
17968 test ! -s conftest.err
17969 } && test -s conftest.$ac_objext; then
17970 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17971 else
17972 echo "$as_me: failed program was:" >&5
17973 sed 's/^/| /' conftest.$ac_ext >&5
17974
17975 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17976
17977 fi
17978
17979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17980
17981
17982 fi
17983 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17984 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17985 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17986 :; SUNCXX=yes
17987 else
17988 :;
17989 fi
17990 ac_ext=c
17991 ac_cpp='$CPP $CPPFLAGS'
17992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17995
17996
17997
17998 ;;
17999 esac
18000 fi
18001
18002
18003
18004 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18005 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18006 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18007 { (exit 1); exit 1; }; }
18008 fi
18009
18010 if test "x$SUNCXX" != xyes; then
18011 if test -n "$ac_tool_prefix"; then
18012 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18013 set dummy ${ac_tool_prefix}ar; ac_word=$2
18014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18016 if test "${ac_cv_prog_AR+set}" = set; then
18017 echo $ECHO_N "(cached) $ECHO_C" >&6
18018 else
18019 if test -n "$AR"; then
18020 ac_cv_prog_AR="$AR" # Let the user override the test.
18021 else
18022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18023 for as_dir in $PATH
18024 do
18025 IFS=$as_save_IFS
18026 test -z "$as_dir" && as_dir=.
18027 for ac_exec_ext in '' $ac_executable_extensions; do
18028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18029 ac_cv_prog_AR="${ac_tool_prefix}ar"
18030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18031 break 2
18032 fi
18033 done
18034 done
18035 IFS=$as_save_IFS
18036
18037 fi
18038 fi
18039 AR=$ac_cv_prog_AR
18040 if test -n "$AR"; then
18041 { echo "$as_me:$LINENO: result: $AR" >&5
18042 echo "${ECHO_T}$AR" >&6; }
18043 else
18044 { echo "$as_me:$LINENO: result: no" >&5
18045 echo "${ECHO_T}no" >&6; }
18046 fi
18047
18048
18049 fi
18050 if test -z "$ac_cv_prog_AR"; then
18051 ac_ct_AR=$AR
18052 # Extract the first word of "ar", so it can be a program name with args.
18053 set dummy ar; ac_word=$2
18054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18056 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18057 echo $ECHO_N "(cached) $ECHO_C" >&6
18058 else
18059 if test -n "$ac_ct_AR"; then
18060 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18061 else
18062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18063 for as_dir in $PATH
18064 do
18065 IFS=$as_save_IFS
18066 test -z "$as_dir" && as_dir=.
18067 for ac_exec_ext in '' $ac_executable_extensions; do
18068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18069 ac_cv_prog_ac_ct_AR="ar"
18070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18071 break 2
18072 fi
18073 done
18074 done
18075 IFS=$as_save_IFS
18076
18077 fi
18078 fi
18079 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18080 if test -n "$ac_ct_AR"; then
18081 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18082 echo "${ECHO_T}$ac_ct_AR" >&6; }
18083 else
18084 { echo "$as_me:$LINENO: result: no" >&5
18085 echo "${ECHO_T}no" >&6; }
18086 fi
18087
18088 if test "x$ac_ct_AR" = x; then
18089 AR=""
18090 else
18091 case $cross_compiling:$ac_tool_warned in
18092 yes:)
18093 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18094 whose name does not start with the host triplet. If you think this
18095 configuration is useful to you, please write to autoconf@gnu.org." >&5
18096 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18097 whose name does not start with the host triplet. If you think this
18098 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18099 ac_tool_warned=yes ;;
18100 esac
18101 AR=$ac_ct_AR
18102 fi
18103 else
18104 AR="$ac_cv_prog_AR"
18105 fi
18106
18107 if test "x$AR" = "x" ; then
18108 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18109 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18110 { (exit 1); exit 1; }; }
18111 fi
18112 fi
18113
18114 retest_macosx_linking=no
18115
18116 #if test "$wxUSE_MAC" = 1; then
18117 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18118 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18119 # Implicitly turn on the new --with-macosx-sdk using the default
18120 # SDK which provides the behavior this option has always had.
18121 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18122 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18123 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18124 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18125 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18126 wxUSE_MACOSX_SDK=yes
18127 fi
18128 else
18129 # Complain to user if he specified an argument to --enable-universal_binary
18130 # and also 1) specified --with-macosx-sdk using the default (yes) or
18131 # 2) specified --with-macosx-sdk using a path or 3) specified
18132 # --without-macosx-sdk (no).
18133 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18134 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18135 See \`config.log' for more details." >&5
18136 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18137 See \`config.log' for more details." >&2;}
18138 { (exit 1); exit 1; }; }
18139 else
18140 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18141 # special-case the empty string because the below test simply
18142 # converts "no" to the empty string anyway.
18143 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18144 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18145 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18146 fi
18147 fi
18148 OSX_UNIV_OPTS="-arch ppc -arch i386"
18149 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18150 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18151 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18152 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18153 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18154 retest_macosx_linking=yes
18155
18156 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18157 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18158 bk_use_pch=no
18159 fi
18160 #fi
18161
18162 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18163 wxUSE_MACOSX_SDK=
18164 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18165 # TODO: Search for most recent SDK and use it.
18166 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18167 fi
18168
18169
18170 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18171 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18172 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18173 if ! test -d "$wxUSE_MACOSX_SDK"; then
18174 { { echo "$as_me:$LINENO: error: not found
18175 See \`config.log' for more details." >&5
18176 echo "$as_me: error: not found
18177 See \`config.log' for more details." >&2;}
18178 { (exit 1); exit 1; }; }
18179 else
18180 { echo "$as_me:$LINENO: result: exists" >&5
18181 echo "${ECHO_T}exists" >&6; }
18182 fi
18183 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18184 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18185 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18186 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18187 retest_macosx_linking=yes
18188 fi
18189
18190 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18191 wxUSE_MACOSX_VERSION_MIN=
18192 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18193 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18194 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18195 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18196
18197 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/'`
18198
18199 # If that failed, try again with the new key
18200 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18201
18202 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/'`
18203
18204 fi
18205
18206 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18207 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18208 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18209 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18210 else
18211 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18212 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18213 wxUSE_MACOSX_VERSION_MIN=
18214 fi
18215 else
18216 wxUSE_MACOSX_VERSION_MIN=
18217 fi
18218 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18219 if test "$wxUSE_MAC" = 1; then
18220 # otherwise configure stops on leopard for universal_binary
18221 wxUSE_MACOSX_VERSION_MIN=10.4
18222 fi
18223 fi
18224
18225 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18226 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18227 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18228 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18229 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18230 retest_macosx_linking=yes
18231 fi
18232
18233 if test "x$retest_macosx_linking" = "xyes"; then
18234 ac_ext=c
18235 ac_cpp='$CPP $CPPFLAGS'
18236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18239
18240 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18241 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18242 cat >conftest.$ac_ext <<_ACEOF
18243 /* confdefs.h. */
18244 _ACEOF
18245 cat confdefs.h >>conftest.$ac_ext
18246 cat >>conftest.$ac_ext <<_ACEOF
18247 /* end confdefs.h. */
18248
18249 int
18250 main ()
18251 {
18252
18253 ;
18254 return 0;
18255 }
18256 _ACEOF
18257 rm -f conftest.$ac_objext conftest$ac_exeext
18258 if { (ac_try="$ac_link"
18259 case "(($ac_try" in
18260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18261 *) ac_try_echo=$ac_try;;
18262 esac
18263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18264 (eval "$ac_link") 2>conftest.er1
18265 ac_status=$?
18266 grep -v '^ *+' conftest.er1 >conftest.err
18267 rm -f conftest.er1
18268 cat conftest.err >&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); } && {
18271 test -z "$ac_c_werror_flag" ||
18272 test ! -s conftest.err
18273 } && test -s conftest$ac_exeext &&
18274 $as_test_x conftest$ac_exeext; then
18275 { echo "$as_me:$LINENO: result: yes" >&5
18276 echo "${ECHO_T}yes" >&6; }
18277 else
18278 echo "$as_me: failed program was:" >&5
18279 sed 's/^/| /' conftest.$ac_ext >&5
18280
18281 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18282 See \`config.log' for more details." >&5
18283 echo "$as_me: error: no. Try a different SDK
18284 See \`config.log' for more details." >&2;}
18285 { (exit 1); exit 1; }; }; exit 1
18286 fi
18287
18288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18289 conftest$ac_exeext conftest.$ac_ext
18290 ac_ext=c
18291 ac_cpp='$CPP $CPPFLAGS'
18292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18295
18296
18297 ac_ext=cpp
18298 ac_cpp='$CXXCPP $CPPFLAGS'
18299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18302
18303 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18304 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18305 cat >conftest.$ac_ext <<_ACEOF
18306 /* confdefs.h. */
18307 _ACEOF
18308 cat confdefs.h >>conftest.$ac_ext
18309 cat >>conftest.$ac_ext <<_ACEOF
18310 /* end confdefs.h. */
18311
18312 int
18313 main ()
18314 {
18315
18316 ;
18317 return 0;
18318 }
18319 _ACEOF
18320 rm -f conftest.$ac_objext conftest$ac_exeext
18321 if { (ac_try="$ac_link"
18322 case "(($ac_try" in
18323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18324 *) ac_try_echo=$ac_try;;
18325 esac
18326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18327 (eval "$ac_link") 2>conftest.er1
18328 ac_status=$?
18329 grep -v '^ *+' conftest.er1 >conftest.err
18330 rm -f conftest.er1
18331 cat conftest.err >&5
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); } && {
18334 test -z "$ac_cxx_werror_flag" ||
18335 test ! -s conftest.err
18336 } && test -s conftest$ac_exeext &&
18337 $as_test_x conftest$ac_exeext; then
18338 { echo "$as_me:$LINENO: result: yes" >&5
18339 echo "${ECHO_T}yes" >&6; }
18340 else
18341 echo "$as_me: failed program was:" >&5
18342 sed 's/^/| /' conftest.$ac_ext >&5
18343
18344 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18345 See \`config.log' for more details." >&5
18346 echo "$as_me: error: no. Try a different SDK
18347 See \`config.log' for more details." >&2;}
18348 { (exit 1); exit 1; }; }; exit 1
18349 fi
18350
18351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18352 conftest$ac_exeext conftest.$ac_ext
18353 ac_ext=c
18354 ac_cpp='$CPP $CPPFLAGS'
18355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18358
18359 fi
18360
18361
18362 case "${host}" in
18363
18364 *-*-darwin* )
18365 INSTALL_PROGRAM="cp -fp"
18366 INSTALL_DATA="cp -fp"
18367 ;;
18368 *)
18369 ;;
18370 esac
18371
18372
18373 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18374 CXXFLAGS="-qunique $CXXFLAGS"
18375 fi
18376
18377 case "${host}" in
18378 powerpc-*-darwin* )
18379 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18380 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18381 cat >conftest.$ac_ext <<_ACEOF
18382 /* confdefs.h. */
18383 _ACEOF
18384 cat confdefs.h >>conftest.$ac_ext
18385 cat >>conftest.$ac_ext <<_ACEOF
18386 /* end confdefs.h. */
18387
18388 int
18389 main ()
18390 {
18391 #ifndef __POWERPC__
18392 choke me for lack of PowerPC
18393 #endif
18394
18395 ;
18396 return 0;
18397 }
18398 _ACEOF
18399 rm -f conftest.$ac_objext
18400 if { (ac_try="$ac_compile"
18401 case "(($ac_try" in
18402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18403 *) ac_try_echo=$ac_try;;
18404 esac
18405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18406 (eval "$ac_compile") 2>conftest.er1
18407 ac_status=$?
18408 grep -v '^ *+' conftest.er1 >conftest.err
18409 rm -f conftest.er1
18410 cat conftest.err >&5
18411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18412 (exit $ac_status); } && {
18413 test -z "$ac_c_werror_flag" ||
18414 test ! -s conftest.err
18415 } && test -s conftest.$ac_objext; then
18416 { echo "$as_me:$LINENO: result: yes" >&5
18417 echo "${ECHO_T}yes" >&6; }
18418 else
18419 echo "$as_me: failed program was:" >&5
18420 sed 's/^/| /' conftest.$ac_ext >&5
18421
18422 { echo "$as_me:$LINENO: result: no" >&5
18423 echo "${ECHO_T}no" >&6; }
18424 cat >>confdefs.h <<\_ACEOF
18425 #define __POWERPC__ 1
18426 _ACEOF
18427
18428
18429 fi
18430
18431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18432 ;;
18433 esac
18434
18435 case "${host}" in
18436 *-*-darwin* )
18437 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18438 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18439 cat >conftest.$ac_ext <<_ACEOF
18440 /* confdefs.h. */
18441 _ACEOF
18442 cat confdefs.h >>conftest.$ac_ext
18443 cat >>conftest.$ac_ext <<_ACEOF
18444 /* end confdefs.h. */
18445 #include <CoreFoundation/CFBase.h>
18446
18447 int
18448 main ()
18449 {
18450
18451 ;
18452 return 0;
18453 }
18454 _ACEOF
18455 rm -f conftest.$ac_objext
18456 if { (ac_try="$ac_compile"
18457 case "(($ac_try" in
18458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18459 *) ac_try_echo=$ac_try;;
18460 esac
18461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18462 (eval "$ac_compile") 2>conftest.er1
18463 ac_status=$?
18464 grep -v '^ *+' conftest.er1 >conftest.err
18465 rm -f conftest.er1
18466 cat conftest.err >&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); } && {
18469 test -z "$ac_c_werror_flag" ||
18470 test ! -s conftest.err
18471 } && test -s conftest.$ac_objext; then
18472 { echo "$as_me:$LINENO: result: yes" >&5
18473 echo "${ECHO_T}yes" >&6; }
18474 else
18475 echo "$as_me: failed program was:" >&5
18476 sed 's/^/| /' conftest.$ac_ext >&5
18477
18478 { echo "$as_me:$LINENO: result: no" >&5
18479 echo "${ECHO_T}no" >&6; }
18480 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18481 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18482 cat >conftest.$ac_ext <<_ACEOF
18483 /* confdefs.h. */
18484 _ACEOF
18485 cat confdefs.h >>conftest.$ac_ext
18486 cat >>conftest.$ac_ext <<_ACEOF
18487 /* end confdefs.h. */
18488 #define __CF_USE_FRAMEWORK_INCLUDES__
18489 #include <CoreFoundation/CFBase.h>
18490
18491 int
18492 main ()
18493 {
18494
18495 ;
18496 return 0;
18497 }
18498 _ACEOF
18499 rm -f conftest.$ac_objext
18500 if { (ac_try="$ac_compile"
18501 case "(($ac_try" in
18502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18503 *) ac_try_echo=$ac_try;;
18504 esac
18505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18506 (eval "$ac_compile") 2>conftest.er1
18507 ac_status=$?
18508 grep -v '^ *+' conftest.er1 >conftest.err
18509 rm -f conftest.er1
18510 cat conftest.err >&5
18511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18512 (exit $ac_status); } && {
18513 test -z "$ac_c_werror_flag" ||
18514 test ! -s conftest.err
18515 } && test -s conftest.$ac_objext; then
18516 { echo "$as_me:$LINENO: result: yes" >&5
18517 echo "${ECHO_T}yes" >&6; }
18518 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18519 else
18520 echo "$as_me: failed program was:" >&5
18521 sed 's/^/| /' conftest.$ac_ext >&5
18522
18523 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18524 See \`config.log' for more details." >&5
18525 echo "$as_me: error: no. CoreFoundation not available.
18526 See \`config.log' for more details." >&2;}
18527 { (exit 1); exit 1; }; }
18528
18529 fi
18530
18531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18532
18533
18534 fi
18535
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18537 ;;
18538 esac
18539
18540 wants_win32=0
18541 doesnt_want_win32=0
18542 case "${host}" in
18543 *-*-cygwin*)
18544 if test "$wxUSE_MSW" = 1 ; then
18545 wants_win32=1
18546 else
18547 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18548 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18549 if test "${wx_cv_nocygwin+set}" = set; then
18550 echo $ECHO_N "(cached) $ECHO_C" >&6
18551 else
18552
18553 cat >conftest.$ac_ext <<_ACEOF
18554 /* confdefs.h. */
18555 _ACEOF
18556 cat confdefs.h >>conftest.$ac_ext
18557 cat >>conftest.$ac_ext <<_ACEOF
18558 /* end confdefs.h. */
18559
18560 int
18561 main ()
18562 {
18563
18564 #ifdef __MINGW32__
18565 choke me
18566 #endif
18567
18568 ;
18569 return 0;
18570 }
18571 _ACEOF
18572 rm -f conftest.$ac_objext
18573 if { (ac_try="$ac_compile"
18574 case "(($ac_try" in
18575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18576 *) ac_try_echo=$ac_try;;
18577 esac
18578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18579 (eval "$ac_compile") 2>conftest.er1
18580 ac_status=$?
18581 grep -v '^ *+' conftest.er1 >conftest.err
18582 rm -f conftest.er1
18583 cat conftest.err >&5
18584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18585 (exit $ac_status); } && {
18586 test -z "$ac_c_werror_flag" ||
18587 test ! -s conftest.err
18588 } && test -s conftest.$ac_objext; then
18589 wx_cv_nocygwin=no
18590 else
18591 echo "$as_me: failed program was:" >&5
18592 sed 's/^/| /' conftest.$ac_ext >&5
18593
18594 wx_cv_nocygwin=yes
18595
18596 fi
18597
18598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18599
18600
18601 fi
18602 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18603 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18604
18605 if test "$wx_cv_nocygwin" = "yes"; then
18606 wants_win32=1
18607 else
18608 doesnt_want_win32=1
18609 fi
18610 fi
18611 if test "$wants_win32" = 1 ; then
18612 BAKEFILE_FORCE_PLATFORM=win32
18613 fi
18614 ;;
18615 *-*-mingw*)
18616 wants_win32=1
18617 ;;
18618 esac
18619
18620 if test "$wxUSE_WINE" = "yes"; then
18621 wants_win32=1
18622 LDFLAGS_GUI="-mwindows"
18623 fi
18624
18625 if test "$wants_win32" = 1 ; then
18626 USE_UNIX=0
18627 USE_WIN32=1
18628 cat >>confdefs.h <<\_ACEOF
18629 #define __WIN32__ 1
18630 _ACEOF
18631
18632 cat >>confdefs.h <<\_ACEOF
18633 #define __WIN95__ 1
18634 _ACEOF
18635
18636 cat >>confdefs.h <<\_ACEOF
18637 #define __WINDOWS__ 1
18638 _ACEOF
18639
18640 cat >>confdefs.h <<\_ACEOF
18641 #define __GNUWIN32__ 1
18642 _ACEOF
18643
18644 cat >>confdefs.h <<\_ACEOF
18645 #define STRICT 1
18646 _ACEOF
18647
18648 fi
18649 if test "$doesnt_want_win32" = 1 ; then
18650 USE_UNIX=1
18651 USE_WIN32=0
18652 fi
18653
18654 if test "$USE_UNIX" = 1 ; then
18655 wxUSE_UNIX=yes
18656 cat >>confdefs.h <<\_ACEOF
18657 #define __UNIX__ 1
18658 _ACEOF
18659
18660 fi
18661
18662 case "${host}" in
18663 *-pc-os2_emx | *-pc-os2-emx )
18664 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18665 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18666 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18667 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18668 echo $ECHO_N "(cached) $ECHO_C" >&6
18669 else
18670 ac_check_lib_save_LIBS=$LIBS
18671 LIBS="-lcExt $LIBS"
18672 cat >conftest.$ac_ext <<_ACEOF
18673 /* confdefs.h. */
18674 _ACEOF
18675 cat confdefs.h >>conftest.$ac_ext
18676 cat >>conftest.$ac_ext <<_ACEOF
18677 /* end confdefs.h. */
18678
18679 /* Override any GCC internal prototype to avoid an error.
18680 Use char because int might match the return type of a GCC
18681 builtin and then its argument prototype would still apply. */
18682 #ifdef __cplusplus
18683 extern "C"
18684 #endif
18685 char drand48 ();
18686 int
18687 main ()
18688 {
18689 return drand48 ();
18690 ;
18691 return 0;
18692 }
18693 _ACEOF
18694 rm -f conftest.$ac_objext conftest$ac_exeext
18695 if { (ac_try="$ac_link"
18696 case "(($ac_try" in
18697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18698 *) ac_try_echo=$ac_try;;
18699 esac
18700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18701 (eval "$ac_link") 2>conftest.er1
18702 ac_status=$?
18703 grep -v '^ *+' conftest.er1 >conftest.err
18704 rm -f conftest.er1
18705 cat conftest.err >&5
18706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707 (exit $ac_status); } && {
18708 test -z "$ac_c_werror_flag" ||
18709 test ! -s conftest.err
18710 } && test -s conftest$ac_exeext &&
18711 $as_test_x conftest$ac_exeext; then
18712 ac_cv_lib_cExt_drand48=yes
18713 else
18714 echo "$as_me: failed program was:" >&5
18715 sed 's/^/| /' conftest.$ac_ext >&5
18716
18717 ac_cv_lib_cExt_drand48=no
18718 fi
18719
18720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18721 conftest$ac_exeext conftest.$ac_ext
18722 LIBS=$ac_check_lib_save_LIBS
18723 fi
18724 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18725 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18726 if test $ac_cv_lib_cExt_drand48 = yes; then
18727 LIBS="$LIBS -lcExt"
18728 fi
18729
18730 else
18731 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18732 fi
18733 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18734 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18735 if test "${wx_cv_gccversion+set}" = set; then
18736 echo $ECHO_N "(cached) $ECHO_C" >&6
18737 else
18738
18739 if test "$cross_compiling" = yes; then
18740 wx_cv_gccversion="EMX2"
18741
18742 else
18743 cat >conftest.$ac_ext <<_ACEOF
18744 /* confdefs.h. */
18745 _ACEOF
18746 cat confdefs.h >>conftest.$ac_ext
18747 cat >>conftest.$ac_ext <<_ACEOF
18748 /* end confdefs.h. */
18749
18750 #include <stdio.h>
18751
18752 int main()
18753 {
18754 FILE *f=fopen("conftestval", "w");
18755 if (!f) exit(1);
18756 fprintf(f,
18757 #if (__GNUC__ < 3)
18758 "EMX2"
18759 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18760 "EMX3"
18761 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18762 "Innotek5"
18763 #else
18764 "Innotek6"
18765 #endif
18766 );
18767 exit(0);
18768 }
18769
18770 _ACEOF
18771 rm -f conftest$ac_exeext
18772 if { (ac_try="$ac_link"
18773 case "(($ac_try" in
18774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18775 *) ac_try_echo=$ac_try;;
18776 esac
18777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18778 (eval "$ac_link") 2>&5
18779 ac_status=$?
18780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18781 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18782 { (case "(($ac_try" in
18783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18784 *) ac_try_echo=$ac_try;;
18785 esac
18786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18787 (eval "$ac_try") 2>&5
18788 ac_status=$?
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); }; }; then
18791 wx_cv_gccversion=`cat conftestval`
18792 else
18793 echo "$as_me: program exited with status $ac_status" >&5
18794 echo "$as_me: failed program was:" >&5
18795 sed 's/^/| /' conftest.$ac_ext >&5
18796
18797 ( exit $ac_status )
18798 wx_cv_gccversion="EMX2"
18799 fi
18800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18801 fi
18802
18803
18804
18805 fi
18806 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18807 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18808 if test "$wx_cv_gccversion" = "EMX2"; then
18809 LIBS="$LIBS -lstdcpp"
18810 LDFLAGS="$LDFLAGS -Zsysv-signals"
18811 else
18812 if test "$wx_cv_gccversion" = "EMX3"; then
18813 LIBS="$LIBS -lstdcxx -lgcc"
18814 LDFLAGS="$LDFLAGS -Zsysv-signals"
18815 else
18816 LIBS="$LIBS -lstdc++"
18817 fi
18818 fi
18819 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18820 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18821 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18822 wxUSE_OMF=yes
18823 enable_omf=yes
18824 fi
18825 ;;
18826 *)
18827
18828 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18829 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18830 if test "${ac_cv_string_strcasecmp+set}" = set; then
18831 echo $ECHO_N "(cached) $ECHO_C" >&6
18832 else
18833
18834 cat >conftest.$ac_ext <<_ACEOF
18835 /* confdefs.h. */
18836 _ACEOF
18837 cat confdefs.h >>conftest.$ac_ext
18838 cat >>conftest.$ac_ext <<_ACEOF
18839 /* end confdefs.h. */
18840
18841 #include <string.h>
18842
18843 int
18844 main ()
18845 {
18846
18847 strcasecmp("foo", "bar");
18848
18849 ;
18850 return 0;
18851 }
18852 _ACEOF
18853 rm -f conftest.$ac_objext conftest$ac_exeext
18854 if { (ac_try="$ac_link"
18855 case "(($ac_try" in
18856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18857 *) ac_try_echo=$ac_try;;
18858 esac
18859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18860 (eval "$ac_link") 2>conftest.er1
18861 ac_status=$?
18862 grep -v '^ *+' conftest.er1 >conftest.err
18863 rm -f conftest.er1
18864 cat conftest.err >&5
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); } && {
18867 test -z "$ac_c_werror_flag" ||
18868 test ! -s conftest.err
18869 } && test -s conftest$ac_exeext &&
18870 $as_test_x conftest$ac_exeext; then
18871 ac_cv_string_strcasecmp=yes
18872 else
18873 echo "$as_me: failed program was:" >&5
18874 sed 's/^/| /' conftest.$ac_ext >&5
18875
18876 ac_cv_string_strcasecmp=no
18877
18878 fi
18879
18880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18881 conftest$ac_exeext conftest.$ac_ext
18882
18883 fi
18884 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18885 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18886
18887 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18888 cat >>confdefs.h <<\_ACEOF
18889 #define HAVE_STRCASECMP_IN_STRING_H 1
18890 _ACEOF
18891
18892 else
18893 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18894 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18895 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18896 echo $ECHO_N "(cached) $ECHO_C" >&6
18897 else
18898
18899 cat >conftest.$ac_ext <<_ACEOF
18900 /* confdefs.h. */
18901 _ACEOF
18902 cat confdefs.h >>conftest.$ac_ext
18903 cat >>conftest.$ac_ext <<_ACEOF
18904 /* end confdefs.h. */
18905
18906 #include <strings.h>
18907
18908 int
18909 main ()
18910 {
18911
18912 strcasecmp("foo", "bar");
18913
18914 ;
18915 return 0;
18916 }
18917 _ACEOF
18918 rm -f conftest.$ac_objext conftest$ac_exeext
18919 if { (ac_try="$ac_link"
18920 case "(($ac_try" in
18921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18922 *) ac_try_echo=$ac_try;;
18923 esac
18924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18925 (eval "$ac_link") 2>conftest.er1
18926 ac_status=$?
18927 grep -v '^ *+' conftest.er1 >conftest.err
18928 rm -f conftest.er1
18929 cat conftest.err >&5
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } && {
18932 test -z "$ac_c_werror_flag" ||
18933 test ! -s conftest.err
18934 } && test -s conftest$ac_exeext &&
18935 $as_test_x conftest$ac_exeext; then
18936 ac_cv_strings_strcasecmp=yes
18937 else
18938 echo "$as_me: failed program was:" >&5
18939 sed 's/^/| /' conftest.$ac_ext >&5
18940
18941 ac_cv_strings_strcasecmp=no
18942
18943 fi
18944
18945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18946 conftest$ac_exeext conftest.$ac_ext
18947
18948 fi
18949 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18950 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18951
18952 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18953 cat >>confdefs.h <<\_ACEOF
18954 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18955 _ACEOF
18956
18957 else
18958 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18959 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18960 { (exit 1); exit 1; }; }
18961 fi
18962 fi
18963
18964 ;;
18965 esac
18966
18967
18968 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18969 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18970 if test "${ac_cv_header_stdc+set}" = set; then
18971 echo $ECHO_N "(cached) $ECHO_C" >&6
18972 else
18973 cat >conftest.$ac_ext <<_ACEOF
18974 /* confdefs.h. */
18975 _ACEOF
18976 cat confdefs.h >>conftest.$ac_ext
18977 cat >>conftest.$ac_ext <<_ACEOF
18978 /* end confdefs.h. */
18979 #include <stdlib.h>
18980 #include <stdarg.h>
18981 #include <string.h>
18982 #include <float.h>
18983
18984 int
18985 main ()
18986 {
18987
18988 ;
18989 return 0;
18990 }
18991 _ACEOF
18992 rm -f conftest.$ac_objext
18993 if { (ac_try="$ac_compile"
18994 case "(($ac_try" in
18995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18996 *) ac_try_echo=$ac_try;;
18997 esac
18998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18999 (eval "$ac_compile") 2>conftest.er1
19000 ac_status=$?
19001 grep -v '^ *+' conftest.er1 >conftest.err
19002 rm -f conftest.er1
19003 cat conftest.err >&5
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); } && {
19006 test -z "$ac_c_werror_flag" ||
19007 test ! -s conftest.err
19008 } && test -s conftest.$ac_objext; then
19009 ac_cv_header_stdc=yes
19010 else
19011 echo "$as_me: failed program was:" >&5
19012 sed 's/^/| /' conftest.$ac_ext >&5
19013
19014 ac_cv_header_stdc=no
19015 fi
19016
19017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19018
19019 if test $ac_cv_header_stdc = yes; then
19020 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19021 cat >conftest.$ac_ext <<_ACEOF
19022 /* confdefs.h. */
19023 _ACEOF
19024 cat confdefs.h >>conftest.$ac_ext
19025 cat >>conftest.$ac_ext <<_ACEOF
19026 /* end confdefs.h. */
19027 #include <string.h>
19028
19029 _ACEOF
19030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19031 $EGREP "memchr" >/dev/null 2>&1; then
19032 :
19033 else
19034 ac_cv_header_stdc=no
19035 fi
19036 rm -f conftest*
19037
19038 fi
19039
19040 if test $ac_cv_header_stdc = yes; then
19041 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19042 cat >conftest.$ac_ext <<_ACEOF
19043 /* confdefs.h. */
19044 _ACEOF
19045 cat confdefs.h >>conftest.$ac_ext
19046 cat >>conftest.$ac_ext <<_ACEOF
19047 /* end confdefs.h. */
19048 #include <stdlib.h>
19049
19050 _ACEOF
19051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19052 $EGREP "free" >/dev/null 2>&1; then
19053 :
19054 else
19055 ac_cv_header_stdc=no
19056 fi
19057 rm -f conftest*
19058
19059 fi
19060
19061 if test $ac_cv_header_stdc = yes; then
19062 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19063 if test "$cross_compiling" = yes; then
19064 :
19065 else
19066 cat >conftest.$ac_ext <<_ACEOF
19067 /* confdefs.h. */
19068 _ACEOF
19069 cat confdefs.h >>conftest.$ac_ext
19070 cat >>conftest.$ac_ext <<_ACEOF
19071 /* end confdefs.h. */
19072 #include <ctype.h>
19073 #include <stdlib.h>
19074 #if ((' ' & 0x0FF) == 0x020)
19075 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19076 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19077 #else
19078 # define ISLOWER(c) \
19079 (('a' <= (c) && (c) <= 'i') \
19080 || ('j' <= (c) && (c) <= 'r') \
19081 || ('s' <= (c) && (c) <= 'z'))
19082 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19083 #endif
19084
19085 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19086 int
19087 main ()
19088 {
19089 int i;
19090 for (i = 0; i < 256; i++)
19091 if (XOR (islower (i), ISLOWER (i))
19092 || toupper (i) != TOUPPER (i))
19093 return 2;
19094 return 0;
19095 }
19096 _ACEOF
19097 rm -f conftest$ac_exeext
19098 if { (ac_try="$ac_link"
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_link") 2>&5
19105 ac_status=$?
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19108 { (case "(($ac_try" in
19109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19110 *) ac_try_echo=$ac_try;;
19111 esac
19112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19113 (eval "$ac_try") 2>&5
19114 ac_status=$?
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); }; }; then
19117 :
19118 else
19119 echo "$as_me: program exited with status $ac_status" >&5
19120 echo "$as_me: failed program was:" >&5
19121 sed 's/^/| /' conftest.$ac_ext >&5
19122
19123 ( exit $ac_status )
19124 ac_cv_header_stdc=no
19125 fi
19126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19127 fi
19128
19129
19130 fi
19131 fi
19132 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19133 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19134 if test $ac_cv_header_stdc = yes; then
19135
19136 cat >>confdefs.h <<\_ACEOF
19137 #define STDC_HEADERS 1
19138 _ACEOF
19139
19140 fi
19141
19142 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19153 inttypes.h stdint.h unistd.h
19154 do
19155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19156 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19158 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19159 echo $ECHO_N "(cached) $ECHO_C" >&6
19160 else
19161 cat >conftest.$ac_ext <<_ACEOF
19162 /* confdefs.h. */
19163 _ACEOF
19164 cat confdefs.h >>conftest.$ac_ext
19165 cat >>conftest.$ac_ext <<_ACEOF
19166 /* end confdefs.h. */
19167 $ac_includes_default
19168
19169 #include <$ac_header>
19170 _ACEOF
19171 rm -f conftest.$ac_objext
19172 if { (ac_try="$ac_compile"
19173 case "(($ac_try" in
19174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19175 *) ac_try_echo=$ac_try;;
19176 esac
19177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19178 (eval "$ac_compile") 2>conftest.er1
19179 ac_status=$?
19180 grep -v '^ *+' conftest.er1 >conftest.err
19181 rm -f conftest.er1
19182 cat conftest.err >&5
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); } && {
19185 test -z "$ac_c_werror_flag" ||
19186 test ! -s conftest.err
19187 } && test -s conftest.$ac_objext; then
19188 eval "$as_ac_Header=yes"
19189 else
19190 echo "$as_me: failed program was:" >&5
19191 sed 's/^/| /' conftest.$ac_ext >&5
19192
19193 eval "$as_ac_Header=no"
19194 fi
19195
19196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19197 fi
19198 ac_res=`eval echo '${'$as_ac_Header'}'`
19199 { echo "$as_me:$LINENO: result: $ac_res" >&5
19200 echo "${ECHO_T}$ac_res" >&6; }
19201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19202 cat >>confdefs.h <<_ACEOF
19203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19204 _ACEOF
19205
19206 fi
19207
19208 done
19209
19210
19211
19212
19213 for ac_header in langinfo.h wchar.h
19214 do
19215 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19216 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19218 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19219 echo $ECHO_N "(cached) $ECHO_C" >&6
19220 else
19221 cat >conftest.$ac_ext <<_ACEOF
19222 /* confdefs.h. */
19223 _ACEOF
19224 cat confdefs.h >>conftest.$ac_ext
19225 cat >>conftest.$ac_ext <<_ACEOF
19226 /* end confdefs.h. */
19227 $ac_includes_default
19228
19229 #include <$ac_header>
19230 _ACEOF
19231 rm -f conftest.$ac_objext
19232 if { (ac_try="$ac_compile"
19233 case "(($ac_try" in
19234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19235 *) ac_try_echo=$ac_try;;
19236 esac
19237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19238 (eval "$ac_compile") 2>conftest.er1
19239 ac_status=$?
19240 grep -v '^ *+' conftest.er1 >conftest.err
19241 rm -f conftest.er1
19242 cat conftest.err >&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); } && {
19245 test -z "$ac_c_werror_flag" ||
19246 test ! -s conftest.err
19247 } && test -s conftest.$ac_objext; then
19248 eval "$as_ac_Header=yes"
19249 else
19250 echo "$as_me: failed program was:" >&5
19251 sed 's/^/| /' conftest.$ac_ext >&5
19252
19253 eval "$as_ac_Header=no"
19254 fi
19255
19256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19257 fi
19258 ac_res=`eval echo '${'$as_ac_Header'}'`
19259 { echo "$as_me:$LINENO: result: $ac_res" >&5
19260 echo "${ECHO_T}$ac_res" >&6; }
19261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19262 cat >>confdefs.h <<_ACEOF
19263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19264 _ACEOF
19265
19266 fi
19267
19268 done
19269
19270
19271 if test "$ac_cv_header_wchar_h" != "yes"; then
19272
19273 for ac_header in wcstr.h
19274 do
19275 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19276 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19278 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19279 echo $ECHO_N "(cached) $ECHO_C" >&6
19280 else
19281 cat >conftest.$ac_ext <<_ACEOF
19282 /* confdefs.h. */
19283 _ACEOF
19284 cat confdefs.h >>conftest.$ac_ext
19285 cat >>conftest.$ac_ext <<_ACEOF
19286 /* end confdefs.h. */
19287 $ac_includes_default
19288
19289 #include <$ac_header>
19290 _ACEOF
19291 rm -f conftest.$ac_objext
19292 if { (ac_try="$ac_compile"
19293 case "(($ac_try" in
19294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19295 *) ac_try_echo=$ac_try;;
19296 esac
19297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19298 (eval "$ac_compile") 2>conftest.er1
19299 ac_status=$?
19300 grep -v '^ *+' conftest.er1 >conftest.err
19301 rm -f conftest.er1
19302 cat conftest.err >&5
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); } && {
19305 test -z "$ac_c_werror_flag" ||
19306 test ! -s conftest.err
19307 } && test -s conftest.$ac_objext; then
19308 eval "$as_ac_Header=yes"
19309 else
19310 echo "$as_me: failed program was:" >&5
19311 sed 's/^/| /' conftest.$ac_ext >&5
19312
19313 eval "$as_ac_Header=no"
19314 fi
19315
19316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19317 fi
19318 ac_res=`eval echo '${'$as_ac_Header'}'`
19319 { echo "$as_me:$LINENO: result: $ac_res" >&5
19320 echo "${ECHO_T}$ac_res" >&6; }
19321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19322 cat >>confdefs.h <<_ACEOF
19323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19324 _ACEOF
19325
19326 fi
19327
19328 done
19329
19330 fi
19331
19332 case "${host}" in
19333 *-pc-os2_emx | *-pc-os2-emx )
19334 if test $ac_cv_header_langinfo_h = "yes" \
19335 -a \( "$wx_cv_gccversion" = "EMX2" \
19336 -o "$wx_cv_gccversion" = "EMX3" \
19337 -o "$wx_cv_gccversion" = "Innotek5" \); then
19338 LIBS="$LIBS -lintl"
19339 fi
19340 ;;
19341 esac
19342
19343 if test "$USE_UNIX" = 1 ; then
19344
19345 for ac_header in sys/select.h
19346 do
19347 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19348 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19350 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19351 echo $ECHO_N "(cached) $ECHO_C" >&6
19352 else
19353 cat >conftest.$ac_ext <<_ACEOF
19354 /* confdefs.h. */
19355 _ACEOF
19356 cat confdefs.h >>conftest.$ac_ext
19357 cat >>conftest.$ac_ext <<_ACEOF
19358 /* end confdefs.h. */
19359 $ac_includes_default
19360
19361 #include <$ac_header>
19362 _ACEOF
19363 rm -f conftest.$ac_objext
19364 if { (ac_try="$ac_compile"
19365 case "(($ac_try" in
19366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19367 *) ac_try_echo=$ac_try;;
19368 esac
19369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19370 (eval "$ac_compile") 2>conftest.er1
19371 ac_status=$?
19372 grep -v '^ *+' conftest.er1 >conftest.err
19373 rm -f conftest.er1
19374 cat conftest.err >&5
19375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19376 (exit $ac_status); } && {
19377 test -z "$ac_c_werror_flag" ||
19378 test ! -s conftest.err
19379 } && test -s conftest.$ac_objext; then
19380 eval "$as_ac_Header=yes"
19381 else
19382 echo "$as_me: failed program was:" >&5
19383 sed 's/^/| /' conftest.$ac_ext >&5
19384
19385 eval "$as_ac_Header=no"
19386 fi
19387
19388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19389 fi
19390 ac_res=`eval echo '${'$as_ac_Header'}'`
19391 { echo "$as_me:$LINENO: result: $ac_res" >&5
19392 echo "${ECHO_T}$ac_res" >&6; }
19393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19394 cat >>confdefs.h <<_ACEOF
19395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19396 _ACEOF
19397
19398 fi
19399
19400 done
19401
19402 fi
19403
19404
19405 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19406 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19407 if test "${ac_cv_c_const+set}" = set; then
19408 echo $ECHO_N "(cached) $ECHO_C" >&6
19409 else
19410 cat >conftest.$ac_ext <<_ACEOF
19411 /* confdefs.h. */
19412 _ACEOF
19413 cat confdefs.h >>conftest.$ac_ext
19414 cat >>conftest.$ac_ext <<_ACEOF
19415 /* end confdefs.h. */
19416
19417 int
19418 main ()
19419 {
19420 /* FIXME: Include the comments suggested by Paul. */
19421 #ifndef __cplusplus
19422 /* Ultrix mips cc rejects this. */
19423 typedef int charset[2];
19424 const charset cs;
19425 /* SunOS 4.1.1 cc rejects this. */
19426 char const *const *pcpcc;
19427 char **ppc;
19428 /* NEC SVR4.0.2 mips cc rejects this. */
19429 struct point {int x, y;};
19430 static struct point const zero = {0,0};
19431 /* AIX XL C 1.02.0.0 rejects this.
19432 It does not let you subtract one const X* pointer from another in
19433 an arm of an if-expression whose if-part is not a constant
19434 expression */
19435 const char *g = "string";
19436 pcpcc = &g + (g ? g-g : 0);
19437 /* HPUX 7.0 cc rejects these. */
19438 ++pcpcc;
19439 ppc = (char**) pcpcc;
19440 pcpcc = (char const *const *) ppc;
19441 { /* SCO 3.2v4 cc rejects this. */
19442 char *t;
19443 char const *s = 0 ? (char *) 0 : (char const *) 0;
19444
19445 *t++ = 0;
19446 if (s) return 0;
19447 }
19448 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19449 int x[] = {25, 17};
19450 const int *foo = &x[0];
19451 ++foo;
19452 }
19453 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19454 typedef const int *iptr;
19455 iptr p = 0;
19456 ++p;
19457 }
19458 { /* AIX XL C 1.02.0.0 rejects this saying
19459 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19460 struct s { int j; const int *ap[3]; };
19461 struct s *b; b->j = 5;
19462 }
19463 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19464 const int foo = 10;
19465 if (!foo) return 0;
19466 }
19467 return !cs[0] && !zero.x;
19468 #endif
19469
19470 ;
19471 return 0;
19472 }
19473 _ACEOF
19474 rm -f conftest.$ac_objext
19475 if { (ac_try="$ac_compile"
19476 case "(($ac_try" in
19477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19478 *) ac_try_echo=$ac_try;;
19479 esac
19480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19481 (eval "$ac_compile") 2>conftest.er1
19482 ac_status=$?
19483 grep -v '^ *+' conftest.er1 >conftest.err
19484 rm -f conftest.er1
19485 cat conftest.err >&5
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); } && {
19488 test -z "$ac_c_werror_flag" ||
19489 test ! -s conftest.err
19490 } && test -s conftest.$ac_objext; then
19491 ac_cv_c_const=yes
19492 else
19493 echo "$as_me: failed program was:" >&5
19494 sed 's/^/| /' conftest.$ac_ext >&5
19495
19496 ac_cv_c_const=no
19497 fi
19498
19499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19500 fi
19501 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19502 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19503 if test $ac_cv_c_const = no; then
19504
19505 cat >>confdefs.h <<\_ACEOF
19506 #define const
19507 _ACEOF
19508
19509 fi
19510
19511 { echo "$as_me:$LINENO: checking for inline" >&5
19512 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19513 if test "${ac_cv_c_inline+set}" = set; then
19514 echo $ECHO_N "(cached) $ECHO_C" >&6
19515 else
19516 ac_cv_c_inline=no
19517 for ac_kw in inline __inline__ __inline; do
19518 cat >conftest.$ac_ext <<_ACEOF
19519 /* confdefs.h. */
19520 _ACEOF
19521 cat confdefs.h >>conftest.$ac_ext
19522 cat >>conftest.$ac_ext <<_ACEOF
19523 /* end confdefs.h. */
19524 #ifndef __cplusplus
19525 typedef int foo_t;
19526 static $ac_kw foo_t static_foo () {return 0; }
19527 $ac_kw foo_t foo () {return 0; }
19528 #endif
19529
19530 _ACEOF
19531 rm -f conftest.$ac_objext
19532 if { (ac_try="$ac_compile"
19533 case "(($ac_try" in
19534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19535 *) ac_try_echo=$ac_try;;
19536 esac
19537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19538 (eval "$ac_compile") 2>conftest.er1
19539 ac_status=$?
19540 grep -v '^ *+' conftest.er1 >conftest.err
19541 rm -f conftest.er1
19542 cat conftest.err >&5
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); } && {
19545 test -z "$ac_c_werror_flag" ||
19546 test ! -s conftest.err
19547 } && test -s conftest.$ac_objext; then
19548 ac_cv_c_inline=$ac_kw
19549 else
19550 echo "$as_me: failed program was:" >&5
19551 sed 's/^/| /' conftest.$ac_ext >&5
19552
19553
19554 fi
19555
19556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19557 test "$ac_cv_c_inline" != no && break
19558 done
19559
19560 fi
19561 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19562 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19563
19564
19565 case $ac_cv_c_inline in
19566 inline | yes) ;;
19567 *)
19568 case $ac_cv_c_inline in
19569 no) ac_val=;;
19570 *) ac_val=$ac_cv_c_inline;;
19571 esac
19572 cat >>confdefs.h <<_ACEOF
19573 #ifndef __cplusplus
19574 #define inline $ac_val
19575 #endif
19576 _ACEOF
19577 ;;
19578 esac
19579
19580
19581 { echo "$as_me:$LINENO: checking for short" >&5
19582 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19583 if test "${ac_cv_type_short+set}" = set; then
19584 echo $ECHO_N "(cached) $ECHO_C" >&6
19585 else
19586 cat >conftest.$ac_ext <<_ACEOF
19587 /* confdefs.h. */
19588 _ACEOF
19589 cat confdefs.h >>conftest.$ac_ext
19590 cat >>conftest.$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19592 $ac_includes_default
19593 typedef short ac__type_new_;
19594 int
19595 main ()
19596 {
19597 if ((ac__type_new_ *) 0)
19598 return 0;
19599 if (sizeof (ac__type_new_))
19600 return 0;
19601 ;
19602 return 0;
19603 }
19604 _ACEOF
19605 rm -f conftest.$ac_objext
19606 if { (ac_try="$ac_compile"
19607 case "(($ac_try" in
19608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19609 *) ac_try_echo=$ac_try;;
19610 esac
19611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19612 (eval "$ac_compile") 2>conftest.er1
19613 ac_status=$?
19614 grep -v '^ *+' conftest.er1 >conftest.err
19615 rm -f conftest.er1
19616 cat conftest.err >&5
19617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19618 (exit $ac_status); } && {
19619 test -z "$ac_c_werror_flag" ||
19620 test ! -s conftest.err
19621 } && test -s conftest.$ac_objext; then
19622 ac_cv_type_short=yes
19623 else
19624 echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.$ac_ext >&5
19626
19627 ac_cv_type_short=no
19628 fi
19629
19630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19631 fi
19632 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19633 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19634
19635 # The cast to long int works around a bug in the HP C Compiler
19636 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19637 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19638 # This bug is HP SR number 8606223364.
19639 { echo "$as_me:$LINENO: checking size of short" >&5
19640 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19641 if test "${ac_cv_sizeof_short+set}" = set; then
19642 echo $ECHO_N "(cached) $ECHO_C" >&6
19643 else
19644 if test "$cross_compiling" = yes; then
19645 # Depending upon the size, compute the lo and hi bounds.
19646 cat >conftest.$ac_ext <<_ACEOF
19647 /* confdefs.h. */
19648 _ACEOF
19649 cat confdefs.h >>conftest.$ac_ext
19650 cat >>conftest.$ac_ext <<_ACEOF
19651 /* end confdefs.h. */
19652 $ac_includes_default
19653 typedef short ac__type_sizeof_;
19654 int
19655 main ()
19656 {
19657 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19658 test_array [0] = 0
19659
19660 ;
19661 return 0;
19662 }
19663 _ACEOF
19664 rm -f conftest.$ac_objext
19665 if { (ac_try="$ac_compile"
19666 case "(($ac_try" in
19667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19668 *) ac_try_echo=$ac_try;;
19669 esac
19670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19671 (eval "$ac_compile") 2>conftest.er1
19672 ac_status=$?
19673 grep -v '^ *+' conftest.er1 >conftest.err
19674 rm -f conftest.er1
19675 cat conftest.err >&5
19676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677 (exit $ac_status); } && {
19678 test -z "$ac_c_werror_flag" ||
19679 test ! -s conftest.err
19680 } && test -s conftest.$ac_objext; then
19681 ac_lo=0 ac_mid=0
19682 while :; do
19683 cat >conftest.$ac_ext <<_ACEOF
19684 /* confdefs.h. */
19685 _ACEOF
19686 cat confdefs.h >>conftest.$ac_ext
19687 cat >>conftest.$ac_ext <<_ACEOF
19688 /* end confdefs.h. */
19689 $ac_includes_default
19690 typedef short ac__type_sizeof_;
19691 int
19692 main ()
19693 {
19694 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19695 test_array [0] = 0
19696
19697 ;
19698 return 0;
19699 }
19700 _ACEOF
19701 rm -f conftest.$ac_objext
19702 if { (ac_try="$ac_compile"
19703 case "(($ac_try" in
19704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19705 *) ac_try_echo=$ac_try;;
19706 esac
19707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19708 (eval "$ac_compile") 2>conftest.er1
19709 ac_status=$?
19710 grep -v '^ *+' conftest.er1 >conftest.err
19711 rm -f conftest.er1
19712 cat conftest.err >&5
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); } && {
19715 test -z "$ac_c_werror_flag" ||
19716 test ! -s conftest.err
19717 } && test -s conftest.$ac_objext; then
19718 ac_hi=$ac_mid; break
19719 else
19720 echo "$as_me: failed program was:" >&5
19721 sed 's/^/| /' conftest.$ac_ext >&5
19722
19723 ac_lo=`expr $ac_mid + 1`
19724 if test $ac_lo -le $ac_mid; then
19725 ac_lo= ac_hi=
19726 break
19727 fi
19728 ac_mid=`expr 2 '*' $ac_mid + 1`
19729 fi
19730
19731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19732 done
19733 else
19734 echo "$as_me: failed program was:" >&5
19735 sed 's/^/| /' conftest.$ac_ext >&5
19736
19737 cat >conftest.$ac_ext <<_ACEOF
19738 /* confdefs.h. */
19739 _ACEOF
19740 cat confdefs.h >>conftest.$ac_ext
19741 cat >>conftest.$ac_ext <<_ACEOF
19742 /* end confdefs.h. */
19743 $ac_includes_default
19744 typedef short ac__type_sizeof_;
19745 int
19746 main ()
19747 {
19748 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19749 test_array [0] = 0
19750
19751 ;
19752 return 0;
19753 }
19754 _ACEOF
19755 rm -f conftest.$ac_objext
19756 if { (ac_try="$ac_compile"
19757 case "(($ac_try" in
19758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19759 *) ac_try_echo=$ac_try;;
19760 esac
19761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19762 (eval "$ac_compile") 2>conftest.er1
19763 ac_status=$?
19764 grep -v '^ *+' conftest.er1 >conftest.err
19765 rm -f conftest.er1
19766 cat conftest.err >&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); } && {
19769 test -z "$ac_c_werror_flag" ||
19770 test ! -s conftest.err
19771 } && test -s conftest.$ac_objext; then
19772 ac_hi=-1 ac_mid=-1
19773 while :; do
19774 cat >conftest.$ac_ext <<_ACEOF
19775 /* confdefs.h. */
19776 _ACEOF
19777 cat confdefs.h >>conftest.$ac_ext
19778 cat >>conftest.$ac_ext <<_ACEOF
19779 /* end confdefs.h. */
19780 $ac_includes_default
19781 typedef short ac__type_sizeof_;
19782 int
19783 main ()
19784 {
19785 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19786 test_array [0] = 0
19787
19788 ;
19789 return 0;
19790 }
19791 _ACEOF
19792 rm -f conftest.$ac_objext
19793 if { (ac_try="$ac_compile"
19794 case "(($ac_try" in
19795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19796 *) ac_try_echo=$ac_try;;
19797 esac
19798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19799 (eval "$ac_compile") 2>conftest.er1
19800 ac_status=$?
19801 grep -v '^ *+' conftest.er1 >conftest.err
19802 rm -f conftest.er1
19803 cat conftest.err >&5
19804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19805 (exit $ac_status); } && {
19806 test -z "$ac_c_werror_flag" ||
19807 test ! -s conftest.err
19808 } && test -s conftest.$ac_objext; then
19809 ac_lo=$ac_mid; break
19810 else
19811 echo "$as_me: failed program was:" >&5
19812 sed 's/^/| /' conftest.$ac_ext >&5
19813
19814 ac_hi=`expr '(' $ac_mid ')' - 1`
19815 if test $ac_mid -le $ac_hi; then
19816 ac_lo= ac_hi=
19817 break
19818 fi
19819 ac_mid=`expr 2 '*' $ac_mid`
19820 fi
19821
19822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19823 done
19824 else
19825 echo "$as_me: failed program was:" >&5
19826 sed 's/^/| /' conftest.$ac_ext >&5
19827
19828 ac_lo= ac_hi=
19829 fi
19830
19831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19832 fi
19833
19834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19835 # Binary search between lo and hi bounds.
19836 while test "x$ac_lo" != "x$ac_hi"; do
19837 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19838 cat >conftest.$ac_ext <<_ACEOF
19839 /* confdefs.h. */
19840 _ACEOF
19841 cat confdefs.h >>conftest.$ac_ext
19842 cat >>conftest.$ac_ext <<_ACEOF
19843 /* end confdefs.h. */
19844 $ac_includes_default
19845 typedef short ac__type_sizeof_;
19846 int
19847 main ()
19848 {
19849 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19850 test_array [0] = 0
19851
19852 ;
19853 return 0;
19854 }
19855 _ACEOF
19856 rm -f conftest.$ac_objext
19857 if { (ac_try="$ac_compile"
19858 case "(($ac_try" in
19859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19860 *) ac_try_echo=$ac_try;;
19861 esac
19862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19863 (eval "$ac_compile") 2>conftest.er1
19864 ac_status=$?
19865 grep -v '^ *+' conftest.er1 >conftest.err
19866 rm -f conftest.er1
19867 cat conftest.err >&5
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); } && {
19870 test -z "$ac_c_werror_flag" ||
19871 test ! -s conftest.err
19872 } && test -s conftest.$ac_objext; then
19873 ac_hi=$ac_mid
19874 else
19875 echo "$as_me: failed program was:" >&5
19876 sed 's/^/| /' conftest.$ac_ext >&5
19877
19878 ac_lo=`expr '(' $ac_mid ')' + 1`
19879 fi
19880
19881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19882 done
19883 case $ac_lo in
19884 ?*) ac_cv_sizeof_short=$ac_lo;;
19885 '') if test "$ac_cv_type_short" = yes; then
19886 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19887 See \`config.log' for more details." >&5
19888 echo "$as_me: error: cannot compute sizeof (short)
19889 See \`config.log' for more details." >&2;}
19890 { (exit 77); exit 77; }; }
19891 else
19892 ac_cv_sizeof_short=0
19893 fi ;;
19894 esac
19895 else
19896 cat >conftest.$ac_ext <<_ACEOF
19897 /* confdefs.h. */
19898 _ACEOF
19899 cat confdefs.h >>conftest.$ac_ext
19900 cat >>conftest.$ac_ext <<_ACEOF
19901 /* end confdefs.h. */
19902 $ac_includes_default
19903 typedef short ac__type_sizeof_;
19904 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19905 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19906 #include <stdio.h>
19907 #include <stdlib.h>
19908 int
19909 main ()
19910 {
19911
19912 FILE *f = fopen ("conftest.val", "w");
19913 if (! f)
19914 return 1;
19915 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19916 {
19917 long int i = longval ();
19918 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19919 return 1;
19920 fprintf (f, "%ld\n", i);
19921 }
19922 else
19923 {
19924 unsigned long int i = ulongval ();
19925 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19926 return 1;
19927 fprintf (f, "%lu\n", i);
19928 }
19929 return ferror (f) || fclose (f) != 0;
19930
19931 ;
19932 return 0;
19933 }
19934 _ACEOF
19935 rm -f conftest$ac_exeext
19936 if { (ac_try="$ac_link"
19937 case "(($ac_try" in
19938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19939 *) ac_try_echo=$ac_try;;
19940 esac
19941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19942 (eval "$ac_link") 2>&5
19943 ac_status=$?
19944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
19952 ac_status=$?
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); }; }; then
19955 ac_cv_sizeof_short=`cat conftest.val`
19956 else
19957 echo "$as_me: program exited with status $ac_status" >&5
19958 echo "$as_me: failed program was:" >&5
19959 sed 's/^/| /' conftest.$ac_ext >&5
19960
19961 ( exit $ac_status )
19962 if test "$ac_cv_type_short" = yes; then
19963 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19964 See \`config.log' for more details." >&5
19965 echo "$as_me: error: cannot compute sizeof (short)
19966 See \`config.log' for more details." >&2;}
19967 { (exit 77); exit 77; }; }
19968 else
19969 ac_cv_sizeof_short=0
19970 fi
19971 fi
19972 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19973 fi
19974 rm -f conftest.val
19975 fi
19976 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19977 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19978
19979
19980
19981 cat >>confdefs.h <<_ACEOF
19982 #define SIZEOF_SHORT $ac_cv_sizeof_short
19983 _ACEOF
19984
19985
19986 { echo "$as_me:$LINENO: checking for void *" >&5
19987 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19988 if test "${ac_cv_type_void_p+set}" = set; then
19989 echo $ECHO_N "(cached) $ECHO_C" >&6
19990 else
19991 cat >conftest.$ac_ext <<_ACEOF
19992 /* confdefs.h. */
19993 _ACEOF
19994 cat confdefs.h >>conftest.$ac_ext
19995 cat >>conftest.$ac_ext <<_ACEOF
19996 /* end confdefs.h. */
19997 $ac_includes_default
19998 typedef void * ac__type_new_;
19999 int
20000 main ()
20001 {
20002 if ((ac__type_new_ *) 0)
20003 return 0;
20004 if (sizeof (ac__type_new_))
20005 return 0;
20006 ;
20007 return 0;
20008 }
20009 _ACEOF
20010 rm -f conftest.$ac_objext
20011 if { (ac_try="$ac_compile"
20012 case "(($ac_try" in
20013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20014 *) ac_try_echo=$ac_try;;
20015 esac
20016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20017 (eval "$ac_compile") 2>conftest.er1
20018 ac_status=$?
20019 grep -v '^ *+' conftest.er1 >conftest.err
20020 rm -f conftest.er1
20021 cat conftest.err >&5
20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023 (exit $ac_status); } && {
20024 test -z "$ac_c_werror_flag" ||
20025 test ! -s conftest.err
20026 } && test -s conftest.$ac_objext; then
20027 ac_cv_type_void_p=yes
20028 else
20029 echo "$as_me: failed program was:" >&5
20030 sed 's/^/| /' conftest.$ac_ext >&5
20031
20032 ac_cv_type_void_p=no
20033 fi
20034
20035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20036 fi
20037 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20038 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20039
20040 # The cast to long int works around a bug in the HP C Compiler
20041 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20042 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20043 # This bug is HP SR number 8606223364.
20044 { echo "$as_me:$LINENO: checking size of void *" >&5
20045 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20046 if test "${ac_cv_sizeof_void_p+set}" = set; then
20047 echo $ECHO_N "(cached) $ECHO_C" >&6
20048 else
20049 if test "$cross_compiling" = yes; then
20050 # Depending upon the size, compute the lo and hi bounds.
20051 cat >conftest.$ac_ext <<_ACEOF
20052 /* confdefs.h. */
20053 _ACEOF
20054 cat confdefs.h >>conftest.$ac_ext
20055 cat >>conftest.$ac_ext <<_ACEOF
20056 /* end confdefs.h. */
20057 $ac_includes_default
20058 typedef void * ac__type_sizeof_;
20059 int
20060 main ()
20061 {
20062 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20063 test_array [0] = 0
20064
20065 ;
20066 return 0;
20067 }
20068 _ACEOF
20069 rm -f conftest.$ac_objext
20070 if { (ac_try="$ac_compile"
20071 case "(($ac_try" in
20072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20073 *) ac_try_echo=$ac_try;;
20074 esac
20075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20076 (eval "$ac_compile") 2>conftest.er1
20077 ac_status=$?
20078 grep -v '^ *+' conftest.er1 >conftest.err
20079 rm -f conftest.er1
20080 cat conftest.err >&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); } && {
20083 test -z "$ac_c_werror_flag" ||
20084 test ! -s conftest.err
20085 } && test -s conftest.$ac_objext; then
20086 ac_lo=0 ac_mid=0
20087 while :; do
20088 cat >conftest.$ac_ext <<_ACEOF
20089 /* confdefs.h. */
20090 _ACEOF
20091 cat confdefs.h >>conftest.$ac_ext
20092 cat >>conftest.$ac_ext <<_ACEOF
20093 /* end confdefs.h. */
20094 $ac_includes_default
20095 typedef void * ac__type_sizeof_;
20096 int
20097 main ()
20098 {
20099 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20100 test_array [0] = 0
20101
20102 ;
20103 return 0;
20104 }
20105 _ACEOF
20106 rm -f conftest.$ac_objext
20107 if { (ac_try="$ac_compile"
20108 case "(($ac_try" in
20109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20110 *) ac_try_echo=$ac_try;;
20111 esac
20112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20113 (eval "$ac_compile") 2>conftest.er1
20114 ac_status=$?
20115 grep -v '^ *+' conftest.er1 >conftest.err
20116 rm -f conftest.er1
20117 cat conftest.err >&5
20118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119 (exit $ac_status); } && {
20120 test -z "$ac_c_werror_flag" ||
20121 test ! -s conftest.err
20122 } && test -s conftest.$ac_objext; then
20123 ac_hi=$ac_mid; break
20124 else
20125 echo "$as_me: failed program was:" >&5
20126 sed 's/^/| /' conftest.$ac_ext >&5
20127
20128 ac_lo=`expr $ac_mid + 1`
20129 if test $ac_lo -le $ac_mid; then
20130 ac_lo= ac_hi=
20131 break
20132 fi
20133 ac_mid=`expr 2 '*' $ac_mid + 1`
20134 fi
20135
20136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20137 done
20138 else
20139 echo "$as_me: failed program was:" >&5
20140 sed 's/^/| /' conftest.$ac_ext >&5
20141
20142 cat >conftest.$ac_ext <<_ACEOF
20143 /* confdefs.h. */
20144 _ACEOF
20145 cat confdefs.h >>conftest.$ac_ext
20146 cat >>conftest.$ac_ext <<_ACEOF
20147 /* end confdefs.h. */
20148 $ac_includes_default
20149 typedef void * ac__type_sizeof_;
20150 int
20151 main ()
20152 {
20153 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20154 test_array [0] = 0
20155
20156 ;
20157 return 0;
20158 }
20159 _ACEOF
20160 rm -f conftest.$ac_objext
20161 if { (ac_try="$ac_compile"
20162 case "(($ac_try" in
20163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20164 *) ac_try_echo=$ac_try;;
20165 esac
20166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20167 (eval "$ac_compile") 2>conftest.er1
20168 ac_status=$?
20169 grep -v '^ *+' conftest.er1 >conftest.err
20170 rm -f conftest.er1
20171 cat conftest.err >&5
20172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173 (exit $ac_status); } && {
20174 test -z "$ac_c_werror_flag" ||
20175 test ! -s conftest.err
20176 } && test -s conftest.$ac_objext; then
20177 ac_hi=-1 ac_mid=-1
20178 while :; do
20179 cat >conftest.$ac_ext <<_ACEOF
20180 /* confdefs.h. */
20181 _ACEOF
20182 cat confdefs.h >>conftest.$ac_ext
20183 cat >>conftest.$ac_ext <<_ACEOF
20184 /* end confdefs.h. */
20185 $ac_includes_default
20186 typedef void * ac__type_sizeof_;
20187 int
20188 main ()
20189 {
20190 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20191 test_array [0] = 0
20192
20193 ;
20194 return 0;
20195 }
20196 _ACEOF
20197 rm -f conftest.$ac_objext
20198 if { (ac_try="$ac_compile"
20199 case "(($ac_try" in
20200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20201 *) ac_try_echo=$ac_try;;
20202 esac
20203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20204 (eval "$ac_compile") 2>conftest.er1
20205 ac_status=$?
20206 grep -v '^ *+' conftest.er1 >conftest.err
20207 rm -f conftest.er1
20208 cat conftest.err >&5
20209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20210 (exit $ac_status); } && {
20211 test -z "$ac_c_werror_flag" ||
20212 test ! -s conftest.err
20213 } && test -s conftest.$ac_objext; then
20214 ac_lo=$ac_mid; break
20215 else
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.$ac_ext >&5
20218
20219 ac_hi=`expr '(' $ac_mid ')' - 1`
20220 if test $ac_mid -le $ac_hi; then
20221 ac_lo= ac_hi=
20222 break
20223 fi
20224 ac_mid=`expr 2 '*' $ac_mid`
20225 fi
20226
20227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20228 done
20229 else
20230 echo "$as_me: failed program was:" >&5
20231 sed 's/^/| /' conftest.$ac_ext >&5
20232
20233 ac_lo= ac_hi=
20234 fi
20235
20236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20237 fi
20238
20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20240 # Binary search between lo and hi bounds.
20241 while test "x$ac_lo" != "x$ac_hi"; do
20242 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20243 cat >conftest.$ac_ext <<_ACEOF
20244 /* confdefs.h. */
20245 _ACEOF
20246 cat confdefs.h >>conftest.$ac_ext
20247 cat >>conftest.$ac_ext <<_ACEOF
20248 /* end confdefs.h. */
20249 $ac_includes_default
20250 typedef void * ac__type_sizeof_;
20251 int
20252 main ()
20253 {
20254 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20255 test_array [0] = 0
20256
20257 ;
20258 return 0;
20259 }
20260 _ACEOF
20261 rm -f conftest.$ac_objext
20262 if { (ac_try="$ac_compile"
20263 case "(($ac_try" in
20264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20265 *) ac_try_echo=$ac_try;;
20266 esac
20267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20268 (eval "$ac_compile") 2>conftest.er1
20269 ac_status=$?
20270 grep -v '^ *+' conftest.er1 >conftest.err
20271 rm -f conftest.er1
20272 cat conftest.err >&5
20273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274 (exit $ac_status); } && {
20275 test -z "$ac_c_werror_flag" ||
20276 test ! -s conftest.err
20277 } && test -s conftest.$ac_objext; then
20278 ac_hi=$ac_mid
20279 else
20280 echo "$as_me: failed program was:" >&5
20281 sed 's/^/| /' conftest.$ac_ext >&5
20282
20283 ac_lo=`expr '(' $ac_mid ')' + 1`
20284 fi
20285
20286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20287 done
20288 case $ac_lo in
20289 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20290 '') if test "$ac_cv_type_void_p" = yes; then
20291 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20292 See \`config.log' for more details." >&5
20293 echo "$as_me: error: cannot compute sizeof (void *)
20294 See \`config.log' for more details." >&2;}
20295 { (exit 77); exit 77; }; }
20296 else
20297 ac_cv_sizeof_void_p=0
20298 fi ;;
20299 esac
20300 else
20301 cat >conftest.$ac_ext <<_ACEOF
20302 /* confdefs.h. */
20303 _ACEOF
20304 cat confdefs.h >>conftest.$ac_ext
20305 cat >>conftest.$ac_ext <<_ACEOF
20306 /* end confdefs.h. */
20307 $ac_includes_default
20308 typedef void * ac__type_sizeof_;
20309 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20310 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20311 #include <stdio.h>
20312 #include <stdlib.h>
20313 int
20314 main ()
20315 {
20316
20317 FILE *f = fopen ("conftest.val", "w");
20318 if (! f)
20319 return 1;
20320 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20321 {
20322 long int i = longval ();
20323 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20324 return 1;
20325 fprintf (f, "%ld\n", i);
20326 }
20327 else
20328 {
20329 unsigned long int i = ulongval ();
20330 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20331 return 1;
20332 fprintf (f, "%lu\n", i);
20333 }
20334 return ferror (f) || fclose (f) != 0;
20335
20336 ;
20337 return 0;
20338 }
20339 _ACEOF
20340 rm -f conftest$ac_exeext
20341 if { (ac_try="$ac_link"
20342 case "(($ac_try" in
20343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20344 *) ac_try_echo=$ac_try;;
20345 esac
20346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20347 (eval "$ac_link") 2>&5
20348 ac_status=$?
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
20357 ac_status=$?
20358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359 (exit $ac_status); }; }; then
20360 ac_cv_sizeof_void_p=`cat conftest.val`
20361 else
20362 echo "$as_me: program exited with status $ac_status" >&5
20363 echo "$as_me: failed program was:" >&5
20364 sed 's/^/| /' conftest.$ac_ext >&5
20365
20366 ( exit $ac_status )
20367 if test "$ac_cv_type_void_p" = yes; then
20368 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20369 See \`config.log' for more details." >&5
20370 echo "$as_me: error: cannot compute sizeof (void *)
20371 See \`config.log' for more details." >&2;}
20372 { (exit 77); exit 77; }; }
20373 else
20374 ac_cv_sizeof_void_p=0
20375 fi
20376 fi
20377 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20378 fi
20379 rm -f conftest.val
20380 fi
20381 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20382 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20383
20384
20385
20386 cat >>confdefs.h <<_ACEOF
20387 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20388 _ACEOF
20389
20390
20391 { echo "$as_me:$LINENO: checking for int" >&5
20392 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20393 if test "${ac_cv_type_int+set}" = set; then
20394 echo $ECHO_N "(cached) $ECHO_C" >&6
20395 else
20396 cat >conftest.$ac_ext <<_ACEOF
20397 /* confdefs.h. */
20398 _ACEOF
20399 cat confdefs.h >>conftest.$ac_ext
20400 cat >>conftest.$ac_ext <<_ACEOF
20401 /* end confdefs.h. */
20402 $ac_includes_default
20403 typedef int ac__type_new_;
20404 int
20405 main ()
20406 {
20407 if ((ac__type_new_ *) 0)
20408 return 0;
20409 if (sizeof (ac__type_new_))
20410 return 0;
20411 ;
20412 return 0;
20413 }
20414 _ACEOF
20415 rm -f conftest.$ac_objext
20416 if { (ac_try="$ac_compile"
20417 case "(($ac_try" in
20418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20419 *) ac_try_echo=$ac_try;;
20420 esac
20421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20422 (eval "$ac_compile") 2>conftest.er1
20423 ac_status=$?
20424 grep -v '^ *+' conftest.er1 >conftest.err
20425 rm -f conftest.er1
20426 cat conftest.err >&5
20427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428 (exit $ac_status); } && {
20429 test -z "$ac_c_werror_flag" ||
20430 test ! -s conftest.err
20431 } && test -s conftest.$ac_objext; then
20432 ac_cv_type_int=yes
20433 else
20434 echo "$as_me: failed program was:" >&5
20435 sed 's/^/| /' conftest.$ac_ext >&5
20436
20437 ac_cv_type_int=no
20438 fi
20439
20440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20441 fi
20442 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20443 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20444
20445 # The cast to long int works around a bug in the HP C Compiler
20446 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20447 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20448 # This bug is HP SR number 8606223364.
20449 { echo "$as_me:$LINENO: checking size of int" >&5
20450 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20451 if test "${ac_cv_sizeof_int+set}" = set; then
20452 echo $ECHO_N "(cached) $ECHO_C" >&6
20453 else
20454 if test "$cross_compiling" = yes; then
20455 # Depending upon the size, compute the lo and hi bounds.
20456 cat >conftest.$ac_ext <<_ACEOF
20457 /* confdefs.h. */
20458 _ACEOF
20459 cat confdefs.h >>conftest.$ac_ext
20460 cat >>conftest.$ac_ext <<_ACEOF
20461 /* end confdefs.h. */
20462 $ac_includes_default
20463 typedef int ac__type_sizeof_;
20464 int
20465 main ()
20466 {
20467 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20468 test_array [0] = 0
20469
20470 ;
20471 return 0;
20472 }
20473 _ACEOF
20474 rm -f conftest.$ac_objext
20475 if { (ac_try="$ac_compile"
20476 case "(($ac_try" in
20477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20478 *) ac_try_echo=$ac_try;;
20479 esac
20480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20481 (eval "$ac_compile") 2>conftest.er1
20482 ac_status=$?
20483 grep -v '^ *+' conftest.er1 >conftest.err
20484 rm -f conftest.er1
20485 cat conftest.err >&5
20486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487 (exit $ac_status); } && {
20488 test -z "$ac_c_werror_flag" ||
20489 test ! -s conftest.err
20490 } && test -s conftest.$ac_objext; then
20491 ac_lo=0 ac_mid=0
20492 while :; do
20493 cat >conftest.$ac_ext <<_ACEOF
20494 /* confdefs.h. */
20495 _ACEOF
20496 cat confdefs.h >>conftest.$ac_ext
20497 cat >>conftest.$ac_ext <<_ACEOF
20498 /* end confdefs.h. */
20499 $ac_includes_default
20500 typedef int ac__type_sizeof_;
20501 int
20502 main ()
20503 {
20504 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20505 test_array [0] = 0
20506
20507 ;
20508 return 0;
20509 }
20510 _ACEOF
20511 rm -f conftest.$ac_objext
20512 if { (ac_try="$ac_compile"
20513 case "(($ac_try" in
20514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20515 *) ac_try_echo=$ac_try;;
20516 esac
20517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20518 (eval "$ac_compile") 2>conftest.er1
20519 ac_status=$?
20520 grep -v '^ *+' conftest.er1 >conftest.err
20521 rm -f conftest.er1
20522 cat conftest.err >&5
20523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20524 (exit $ac_status); } && {
20525 test -z "$ac_c_werror_flag" ||
20526 test ! -s conftest.err
20527 } && test -s conftest.$ac_objext; then
20528 ac_hi=$ac_mid; break
20529 else
20530 echo "$as_me: failed program was:" >&5
20531 sed 's/^/| /' conftest.$ac_ext >&5
20532
20533 ac_lo=`expr $ac_mid + 1`
20534 if test $ac_lo -le $ac_mid; then
20535 ac_lo= ac_hi=
20536 break
20537 fi
20538 ac_mid=`expr 2 '*' $ac_mid + 1`
20539 fi
20540
20541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20542 done
20543 else
20544 echo "$as_me: failed program was:" >&5
20545 sed 's/^/| /' conftest.$ac_ext >&5
20546
20547 cat >conftest.$ac_ext <<_ACEOF
20548 /* confdefs.h. */
20549 _ACEOF
20550 cat confdefs.h >>conftest.$ac_ext
20551 cat >>conftest.$ac_ext <<_ACEOF
20552 /* end confdefs.h. */
20553 $ac_includes_default
20554 typedef int ac__type_sizeof_;
20555 int
20556 main ()
20557 {
20558 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20559 test_array [0] = 0
20560
20561 ;
20562 return 0;
20563 }
20564 _ACEOF
20565 rm -f conftest.$ac_objext
20566 if { (ac_try="$ac_compile"
20567 case "(($ac_try" in
20568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20569 *) ac_try_echo=$ac_try;;
20570 esac
20571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20572 (eval "$ac_compile") 2>conftest.er1
20573 ac_status=$?
20574 grep -v '^ *+' conftest.er1 >conftest.err
20575 rm -f conftest.er1
20576 cat conftest.err >&5
20577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20578 (exit $ac_status); } && {
20579 test -z "$ac_c_werror_flag" ||
20580 test ! -s conftest.err
20581 } && test -s conftest.$ac_objext; then
20582 ac_hi=-1 ac_mid=-1
20583 while :; do
20584 cat >conftest.$ac_ext <<_ACEOF
20585 /* confdefs.h. */
20586 _ACEOF
20587 cat confdefs.h >>conftest.$ac_ext
20588 cat >>conftest.$ac_ext <<_ACEOF
20589 /* end confdefs.h. */
20590 $ac_includes_default
20591 typedef int ac__type_sizeof_;
20592 int
20593 main ()
20594 {
20595 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20596 test_array [0] = 0
20597
20598 ;
20599 return 0;
20600 }
20601 _ACEOF
20602 rm -f conftest.$ac_objext
20603 if { (ac_try="$ac_compile"
20604 case "(($ac_try" in
20605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20606 *) ac_try_echo=$ac_try;;
20607 esac
20608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20609 (eval "$ac_compile") 2>conftest.er1
20610 ac_status=$?
20611 grep -v '^ *+' conftest.er1 >conftest.err
20612 rm -f conftest.er1
20613 cat conftest.err >&5
20614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20615 (exit $ac_status); } && {
20616 test -z "$ac_c_werror_flag" ||
20617 test ! -s conftest.err
20618 } && test -s conftest.$ac_objext; then
20619 ac_lo=$ac_mid; break
20620 else
20621 echo "$as_me: failed program was:" >&5
20622 sed 's/^/| /' conftest.$ac_ext >&5
20623
20624 ac_hi=`expr '(' $ac_mid ')' - 1`
20625 if test $ac_mid -le $ac_hi; then
20626 ac_lo= ac_hi=
20627 break
20628 fi
20629 ac_mid=`expr 2 '*' $ac_mid`
20630 fi
20631
20632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20633 done
20634 else
20635 echo "$as_me: failed program was:" >&5
20636 sed 's/^/| /' conftest.$ac_ext >&5
20637
20638 ac_lo= ac_hi=
20639 fi
20640
20641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20642 fi
20643
20644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20645 # Binary search between lo and hi bounds.
20646 while test "x$ac_lo" != "x$ac_hi"; do
20647 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20648 cat >conftest.$ac_ext <<_ACEOF
20649 /* confdefs.h. */
20650 _ACEOF
20651 cat confdefs.h >>conftest.$ac_ext
20652 cat >>conftest.$ac_ext <<_ACEOF
20653 /* end confdefs.h. */
20654 $ac_includes_default
20655 typedef int ac__type_sizeof_;
20656 int
20657 main ()
20658 {
20659 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20660 test_array [0] = 0
20661
20662 ;
20663 return 0;
20664 }
20665 _ACEOF
20666 rm -f conftest.$ac_objext
20667 if { (ac_try="$ac_compile"
20668 case "(($ac_try" in
20669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20670 *) ac_try_echo=$ac_try;;
20671 esac
20672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20673 (eval "$ac_compile") 2>conftest.er1
20674 ac_status=$?
20675 grep -v '^ *+' conftest.er1 >conftest.err
20676 rm -f conftest.er1
20677 cat conftest.err >&5
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); } && {
20680 test -z "$ac_c_werror_flag" ||
20681 test ! -s conftest.err
20682 } && test -s conftest.$ac_objext; then
20683 ac_hi=$ac_mid
20684 else
20685 echo "$as_me: failed program was:" >&5
20686 sed 's/^/| /' conftest.$ac_ext >&5
20687
20688 ac_lo=`expr '(' $ac_mid ')' + 1`
20689 fi
20690
20691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20692 done
20693 case $ac_lo in
20694 ?*) ac_cv_sizeof_int=$ac_lo;;
20695 '') if test "$ac_cv_type_int" = yes; then
20696 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20697 See \`config.log' for more details." >&5
20698 echo "$as_me: error: cannot compute sizeof (int)
20699 See \`config.log' for more details." >&2;}
20700 { (exit 77); exit 77; }; }
20701 else
20702 ac_cv_sizeof_int=0
20703 fi ;;
20704 esac
20705 else
20706 cat >conftest.$ac_ext <<_ACEOF
20707 /* confdefs.h. */
20708 _ACEOF
20709 cat confdefs.h >>conftest.$ac_ext
20710 cat >>conftest.$ac_ext <<_ACEOF
20711 /* end confdefs.h. */
20712 $ac_includes_default
20713 typedef int ac__type_sizeof_;
20714 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20715 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20716 #include <stdio.h>
20717 #include <stdlib.h>
20718 int
20719 main ()
20720 {
20721
20722 FILE *f = fopen ("conftest.val", "w");
20723 if (! f)
20724 return 1;
20725 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20726 {
20727 long int i = longval ();
20728 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20729 return 1;
20730 fprintf (f, "%ld\n", i);
20731 }
20732 else
20733 {
20734 unsigned long int i = ulongval ();
20735 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20736 return 1;
20737 fprintf (f, "%lu\n", i);
20738 }
20739 return ferror (f) || fclose (f) != 0;
20740
20741 ;
20742 return 0;
20743 }
20744 _ACEOF
20745 rm -f conftest$ac_exeext
20746 if { (ac_try="$ac_link"
20747 case "(($ac_try" in
20748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20749 *) ac_try_echo=$ac_try;;
20750 esac
20751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20752 (eval "$ac_link") 2>&5
20753 ac_status=$?
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
20762 ac_status=$?
20763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20764 (exit $ac_status); }; }; then
20765 ac_cv_sizeof_int=`cat conftest.val`
20766 else
20767 echo "$as_me: program exited with status $ac_status" >&5
20768 echo "$as_me: failed program was:" >&5
20769 sed 's/^/| /' conftest.$ac_ext >&5
20770
20771 ( exit $ac_status )
20772 if test "$ac_cv_type_int" = yes; then
20773 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20774 See \`config.log' for more details." >&5
20775 echo "$as_me: error: cannot compute sizeof (int)
20776 See \`config.log' for more details." >&2;}
20777 { (exit 77); exit 77; }; }
20778 else
20779 ac_cv_sizeof_int=0
20780 fi
20781 fi
20782 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20783 fi
20784 rm -f conftest.val
20785 fi
20786 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20787 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20788
20789
20790
20791 cat >>confdefs.h <<_ACEOF
20792 #define SIZEOF_INT $ac_cv_sizeof_int
20793 _ACEOF
20794
20795
20796 { echo "$as_me:$LINENO: checking for long" >&5
20797 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20798 if test "${ac_cv_type_long+set}" = set; then
20799 echo $ECHO_N "(cached) $ECHO_C" >&6
20800 else
20801 cat >conftest.$ac_ext <<_ACEOF
20802 /* confdefs.h. */
20803 _ACEOF
20804 cat confdefs.h >>conftest.$ac_ext
20805 cat >>conftest.$ac_ext <<_ACEOF
20806 /* end confdefs.h. */
20807 $ac_includes_default
20808 typedef long ac__type_new_;
20809 int
20810 main ()
20811 {
20812 if ((ac__type_new_ *) 0)
20813 return 0;
20814 if (sizeof (ac__type_new_))
20815 return 0;
20816 ;
20817 return 0;
20818 }
20819 _ACEOF
20820 rm -f conftest.$ac_objext
20821 if { (ac_try="$ac_compile"
20822 case "(($ac_try" in
20823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20824 *) ac_try_echo=$ac_try;;
20825 esac
20826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20827 (eval "$ac_compile") 2>conftest.er1
20828 ac_status=$?
20829 grep -v '^ *+' conftest.er1 >conftest.err
20830 rm -f conftest.er1
20831 cat conftest.err >&5
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); } && {
20834 test -z "$ac_c_werror_flag" ||
20835 test ! -s conftest.err
20836 } && test -s conftest.$ac_objext; then
20837 ac_cv_type_long=yes
20838 else
20839 echo "$as_me: failed program was:" >&5
20840 sed 's/^/| /' conftest.$ac_ext >&5
20841
20842 ac_cv_type_long=no
20843 fi
20844
20845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20846 fi
20847 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20848 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20849
20850 # The cast to long int works around a bug in the HP C Compiler
20851 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20852 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20853 # This bug is HP SR number 8606223364.
20854 { echo "$as_me:$LINENO: checking size of long" >&5
20855 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20856 if test "${ac_cv_sizeof_long+set}" = set; then
20857 echo $ECHO_N "(cached) $ECHO_C" >&6
20858 else
20859 if test "$cross_compiling" = yes; then
20860 # Depending upon the size, compute the lo and hi bounds.
20861 cat >conftest.$ac_ext <<_ACEOF
20862 /* confdefs.h. */
20863 _ACEOF
20864 cat confdefs.h >>conftest.$ac_ext
20865 cat >>conftest.$ac_ext <<_ACEOF
20866 /* end confdefs.h. */
20867 $ac_includes_default
20868 typedef long ac__type_sizeof_;
20869 int
20870 main ()
20871 {
20872 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20873 test_array [0] = 0
20874
20875 ;
20876 return 0;
20877 }
20878 _ACEOF
20879 rm -f conftest.$ac_objext
20880 if { (ac_try="$ac_compile"
20881 case "(($ac_try" in
20882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20883 *) ac_try_echo=$ac_try;;
20884 esac
20885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20886 (eval "$ac_compile") 2>conftest.er1
20887 ac_status=$?
20888 grep -v '^ *+' conftest.er1 >conftest.err
20889 rm -f conftest.er1
20890 cat conftest.err >&5
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); } && {
20893 test -z "$ac_c_werror_flag" ||
20894 test ! -s conftest.err
20895 } && test -s conftest.$ac_objext; then
20896 ac_lo=0 ac_mid=0
20897 while :; do
20898 cat >conftest.$ac_ext <<_ACEOF
20899 /* confdefs.h. */
20900 _ACEOF
20901 cat confdefs.h >>conftest.$ac_ext
20902 cat >>conftest.$ac_ext <<_ACEOF
20903 /* end confdefs.h. */
20904 $ac_includes_default
20905 typedef long ac__type_sizeof_;
20906 int
20907 main ()
20908 {
20909 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20910 test_array [0] = 0
20911
20912 ;
20913 return 0;
20914 }
20915 _ACEOF
20916 rm -f conftest.$ac_objext
20917 if { (ac_try="$ac_compile"
20918 case "(($ac_try" in
20919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20920 *) ac_try_echo=$ac_try;;
20921 esac
20922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20923 (eval "$ac_compile") 2>conftest.er1
20924 ac_status=$?
20925 grep -v '^ *+' conftest.er1 >conftest.err
20926 rm -f conftest.er1
20927 cat conftest.err >&5
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); } && {
20930 test -z "$ac_c_werror_flag" ||
20931 test ! -s conftest.err
20932 } && test -s conftest.$ac_objext; then
20933 ac_hi=$ac_mid; break
20934 else
20935 echo "$as_me: failed program was:" >&5
20936 sed 's/^/| /' conftest.$ac_ext >&5
20937
20938 ac_lo=`expr $ac_mid + 1`
20939 if test $ac_lo -le $ac_mid; then
20940 ac_lo= ac_hi=
20941 break
20942 fi
20943 ac_mid=`expr 2 '*' $ac_mid + 1`
20944 fi
20945
20946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20947 done
20948 else
20949 echo "$as_me: failed program was:" >&5
20950 sed 's/^/| /' conftest.$ac_ext >&5
20951
20952 cat >conftest.$ac_ext <<_ACEOF
20953 /* confdefs.h. */
20954 _ACEOF
20955 cat confdefs.h >>conftest.$ac_ext
20956 cat >>conftest.$ac_ext <<_ACEOF
20957 /* end confdefs.h. */
20958 $ac_includes_default
20959 typedef long ac__type_sizeof_;
20960 int
20961 main ()
20962 {
20963 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20964 test_array [0] = 0
20965
20966 ;
20967 return 0;
20968 }
20969 _ACEOF
20970 rm -f conftest.$ac_objext
20971 if { (ac_try="$ac_compile"
20972 case "(($ac_try" in
20973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20974 *) ac_try_echo=$ac_try;;
20975 esac
20976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20977 (eval "$ac_compile") 2>conftest.er1
20978 ac_status=$?
20979 grep -v '^ *+' conftest.er1 >conftest.err
20980 rm -f conftest.er1
20981 cat conftest.err >&5
20982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983 (exit $ac_status); } && {
20984 test -z "$ac_c_werror_flag" ||
20985 test ! -s conftest.err
20986 } && test -s conftest.$ac_objext; then
20987 ac_hi=-1 ac_mid=-1
20988 while :; do
20989 cat >conftest.$ac_ext <<_ACEOF
20990 /* confdefs.h. */
20991 _ACEOF
20992 cat confdefs.h >>conftest.$ac_ext
20993 cat >>conftest.$ac_ext <<_ACEOF
20994 /* end confdefs.h. */
20995 $ac_includes_default
20996 typedef long ac__type_sizeof_;
20997 int
20998 main ()
20999 {
21000 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21001 test_array [0] = 0
21002
21003 ;
21004 return 0;
21005 }
21006 _ACEOF
21007 rm -f conftest.$ac_objext
21008 if { (ac_try="$ac_compile"
21009 case "(($ac_try" in
21010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21011 *) ac_try_echo=$ac_try;;
21012 esac
21013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21014 (eval "$ac_compile") 2>conftest.er1
21015 ac_status=$?
21016 grep -v '^ *+' conftest.er1 >conftest.err
21017 rm -f conftest.er1
21018 cat conftest.err >&5
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); } && {
21021 test -z "$ac_c_werror_flag" ||
21022 test ! -s conftest.err
21023 } && test -s conftest.$ac_objext; then
21024 ac_lo=$ac_mid; break
21025 else
21026 echo "$as_me: failed program was:" >&5
21027 sed 's/^/| /' conftest.$ac_ext >&5
21028
21029 ac_hi=`expr '(' $ac_mid ')' - 1`
21030 if test $ac_mid -le $ac_hi; then
21031 ac_lo= ac_hi=
21032 break
21033 fi
21034 ac_mid=`expr 2 '*' $ac_mid`
21035 fi
21036
21037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21038 done
21039 else
21040 echo "$as_me: failed program was:" >&5
21041 sed 's/^/| /' conftest.$ac_ext >&5
21042
21043 ac_lo= ac_hi=
21044 fi
21045
21046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21047 fi
21048
21049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21050 # Binary search between lo and hi bounds.
21051 while test "x$ac_lo" != "x$ac_hi"; do
21052 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21053 cat >conftest.$ac_ext <<_ACEOF
21054 /* confdefs.h. */
21055 _ACEOF
21056 cat confdefs.h >>conftest.$ac_ext
21057 cat >>conftest.$ac_ext <<_ACEOF
21058 /* end confdefs.h. */
21059 $ac_includes_default
21060 typedef long ac__type_sizeof_;
21061 int
21062 main ()
21063 {
21064 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21065 test_array [0] = 0
21066
21067 ;
21068 return 0;
21069 }
21070 _ACEOF
21071 rm -f conftest.$ac_objext
21072 if { (ac_try="$ac_compile"
21073 case "(($ac_try" in
21074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21075 *) ac_try_echo=$ac_try;;
21076 esac
21077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21078 (eval "$ac_compile") 2>conftest.er1
21079 ac_status=$?
21080 grep -v '^ *+' conftest.er1 >conftest.err
21081 rm -f conftest.er1
21082 cat conftest.err >&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); } && {
21085 test -z "$ac_c_werror_flag" ||
21086 test ! -s conftest.err
21087 } && test -s conftest.$ac_objext; then
21088 ac_hi=$ac_mid
21089 else
21090 echo "$as_me: failed program was:" >&5
21091 sed 's/^/| /' conftest.$ac_ext >&5
21092
21093 ac_lo=`expr '(' $ac_mid ')' + 1`
21094 fi
21095
21096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21097 done
21098 case $ac_lo in
21099 ?*) ac_cv_sizeof_long=$ac_lo;;
21100 '') if test "$ac_cv_type_long" = yes; then
21101 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21102 See \`config.log' for more details." >&5
21103 echo "$as_me: error: cannot compute sizeof (long)
21104 See \`config.log' for more details." >&2;}
21105 { (exit 77); exit 77; }; }
21106 else
21107 ac_cv_sizeof_long=0
21108 fi ;;
21109 esac
21110 else
21111 cat >conftest.$ac_ext <<_ACEOF
21112 /* confdefs.h. */
21113 _ACEOF
21114 cat confdefs.h >>conftest.$ac_ext
21115 cat >>conftest.$ac_ext <<_ACEOF
21116 /* end confdefs.h. */
21117 $ac_includes_default
21118 typedef long ac__type_sizeof_;
21119 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21120 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21121 #include <stdio.h>
21122 #include <stdlib.h>
21123 int
21124 main ()
21125 {
21126
21127 FILE *f = fopen ("conftest.val", "w");
21128 if (! f)
21129 return 1;
21130 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21131 {
21132 long int i = longval ();
21133 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21134 return 1;
21135 fprintf (f, "%ld\n", i);
21136 }
21137 else
21138 {
21139 unsigned long int i = ulongval ();
21140 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21141 return 1;
21142 fprintf (f, "%lu\n", i);
21143 }
21144 return ferror (f) || fclose (f) != 0;
21145
21146 ;
21147 return 0;
21148 }
21149 _ACEOF
21150 rm -f conftest$ac_exeext
21151 if { (ac_try="$ac_link"
21152 case "(($ac_try" in
21153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21154 *) ac_try_echo=$ac_try;;
21155 esac
21156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21157 (eval "$ac_link") 2>&5
21158 ac_status=$?
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21161 { (case "(($ac_try" in
21162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21163 *) ac_try_echo=$ac_try;;
21164 esac
21165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21166 (eval "$ac_try") 2>&5
21167 ac_status=$?
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); }; }; then
21170 ac_cv_sizeof_long=`cat conftest.val`
21171 else
21172 echo "$as_me: program exited with status $ac_status" >&5
21173 echo "$as_me: failed program was:" >&5
21174 sed 's/^/| /' conftest.$ac_ext >&5
21175
21176 ( exit $ac_status )
21177 if test "$ac_cv_type_long" = yes; then
21178 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21179 See \`config.log' for more details." >&5
21180 echo "$as_me: error: cannot compute sizeof (long)
21181 See \`config.log' for more details." >&2;}
21182 { (exit 77); exit 77; }; }
21183 else
21184 ac_cv_sizeof_long=0
21185 fi
21186 fi
21187 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21188 fi
21189 rm -f conftest.val
21190 fi
21191 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21192 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21193
21194
21195
21196 cat >>confdefs.h <<_ACEOF
21197 #define SIZEOF_LONG $ac_cv_sizeof_long
21198 _ACEOF
21199
21200
21201 { echo "$as_me:$LINENO: checking for size_t" >&5
21202 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21203 if test "${ac_cv_type_size_t+set}" = set; then
21204 echo $ECHO_N "(cached) $ECHO_C" >&6
21205 else
21206 cat >conftest.$ac_ext <<_ACEOF
21207 /* confdefs.h. */
21208 _ACEOF
21209 cat confdefs.h >>conftest.$ac_ext
21210 cat >>conftest.$ac_ext <<_ACEOF
21211 /* end confdefs.h. */
21212 $ac_includes_default
21213 typedef size_t ac__type_new_;
21214 int
21215 main ()
21216 {
21217 if ((ac__type_new_ *) 0)
21218 return 0;
21219 if (sizeof (ac__type_new_))
21220 return 0;
21221 ;
21222 return 0;
21223 }
21224 _ACEOF
21225 rm -f conftest.$ac_objext
21226 if { (ac_try="$ac_compile"
21227 case "(($ac_try" in
21228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21229 *) ac_try_echo=$ac_try;;
21230 esac
21231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21232 (eval "$ac_compile") 2>conftest.er1
21233 ac_status=$?
21234 grep -v '^ *+' conftest.er1 >conftest.err
21235 rm -f conftest.er1
21236 cat conftest.err >&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); } && {
21239 test -z "$ac_c_werror_flag" ||
21240 test ! -s conftest.err
21241 } && test -s conftest.$ac_objext; then
21242 ac_cv_type_size_t=yes
21243 else
21244 echo "$as_me: failed program was:" >&5
21245 sed 's/^/| /' conftest.$ac_ext >&5
21246
21247 ac_cv_type_size_t=no
21248 fi
21249
21250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21251 fi
21252 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21253 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21254
21255 # The cast to long int works around a bug in the HP C Compiler
21256 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21257 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21258 # This bug is HP SR number 8606223364.
21259 { echo "$as_me:$LINENO: checking size of size_t" >&5
21260 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21261 if test "${ac_cv_sizeof_size_t+set}" = set; then
21262 echo $ECHO_N "(cached) $ECHO_C" >&6
21263 else
21264 if test "$cross_compiling" = yes; then
21265 # Depending upon the size, compute the lo and hi bounds.
21266 cat >conftest.$ac_ext <<_ACEOF
21267 /* confdefs.h. */
21268 _ACEOF
21269 cat confdefs.h >>conftest.$ac_ext
21270 cat >>conftest.$ac_ext <<_ACEOF
21271 /* end confdefs.h. */
21272 $ac_includes_default
21273 typedef size_t ac__type_sizeof_;
21274 int
21275 main ()
21276 {
21277 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21278 test_array [0] = 0
21279
21280 ;
21281 return 0;
21282 }
21283 _ACEOF
21284 rm -f conftest.$ac_objext
21285 if { (ac_try="$ac_compile"
21286 case "(($ac_try" in
21287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21288 *) ac_try_echo=$ac_try;;
21289 esac
21290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21291 (eval "$ac_compile") 2>conftest.er1
21292 ac_status=$?
21293 grep -v '^ *+' conftest.er1 >conftest.err
21294 rm -f conftest.er1
21295 cat conftest.err >&5
21296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297 (exit $ac_status); } && {
21298 test -z "$ac_c_werror_flag" ||
21299 test ! -s conftest.err
21300 } && test -s conftest.$ac_objext; then
21301 ac_lo=0 ac_mid=0
21302 while :; do
21303 cat >conftest.$ac_ext <<_ACEOF
21304 /* confdefs.h. */
21305 _ACEOF
21306 cat confdefs.h >>conftest.$ac_ext
21307 cat >>conftest.$ac_ext <<_ACEOF
21308 /* end confdefs.h. */
21309 $ac_includes_default
21310 typedef size_t ac__type_sizeof_;
21311 int
21312 main ()
21313 {
21314 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21315 test_array [0] = 0
21316
21317 ;
21318 return 0;
21319 }
21320 _ACEOF
21321 rm -f conftest.$ac_objext
21322 if { (ac_try="$ac_compile"
21323 case "(($ac_try" in
21324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21325 *) ac_try_echo=$ac_try;;
21326 esac
21327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21328 (eval "$ac_compile") 2>conftest.er1
21329 ac_status=$?
21330 grep -v '^ *+' conftest.er1 >conftest.err
21331 rm -f conftest.er1
21332 cat conftest.err >&5
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); } && {
21335 test -z "$ac_c_werror_flag" ||
21336 test ! -s conftest.err
21337 } && test -s conftest.$ac_objext; then
21338 ac_hi=$ac_mid; break
21339 else
21340 echo "$as_me: failed program was:" >&5
21341 sed 's/^/| /' conftest.$ac_ext >&5
21342
21343 ac_lo=`expr $ac_mid + 1`
21344 if test $ac_lo -le $ac_mid; then
21345 ac_lo= ac_hi=
21346 break
21347 fi
21348 ac_mid=`expr 2 '*' $ac_mid + 1`
21349 fi
21350
21351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21352 done
21353 else
21354 echo "$as_me: failed program was:" >&5
21355 sed 's/^/| /' conftest.$ac_ext >&5
21356
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 size_t ac__type_sizeof_;
21365 int
21366 main ()
21367 {
21368 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21369 test_array [0] = 0
21370
21371 ;
21372 return 0;
21373 }
21374 _ACEOF
21375 rm -f conftest.$ac_objext
21376 if { (ac_try="$ac_compile"
21377 case "(($ac_try" in
21378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21379 *) ac_try_echo=$ac_try;;
21380 esac
21381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21382 (eval "$ac_compile") 2>conftest.er1
21383 ac_status=$?
21384 grep -v '^ *+' conftest.er1 >conftest.err
21385 rm -f conftest.er1
21386 cat conftest.err >&5
21387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21388 (exit $ac_status); } && {
21389 test -z "$ac_c_werror_flag" ||
21390 test ! -s conftest.err
21391 } && test -s conftest.$ac_objext; then
21392 ac_hi=-1 ac_mid=-1
21393 while :; do
21394 cat >conftest.$ac_ext <<_ACEOF
21395 /* confdefs.h. */
21396 _ACEOF
21397 cat confdefs.h >>conftest.$ac_ext
21398 cat >>conftest.$ac_ext <<_ACEOF
21399 /* end confdefs.h. */
21400 $ac_includes_default
21401 typedef size_t ac__type_sizeof_;
21402 int
21403 main ()
21404 {
21405 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21406 test_array [0] = 0
21407
21408 ;
21409 return 0;
21410 }
21411 _ACEOF
21412 rm -f conftest.$ac_objext
21413 if { (ac_try="$ac_compile"
21414 case "(($ac_try" in
21415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21416 *) ac_try_echo=$ac_try;;
21417 esac
21418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21419 (eval "$ac_compile") 2>conftest.er1
21420 ac_status=$?
21421 grep -v '^ *+' conftest.er1 >conftest.err
21422 rm -f conftest.er1
21423 cat conftest.err >&5
21424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21425 (exit $ac_status); } && {
21426 test -z "$ac_c_werror_flag" ||
21427 test ! -s conftest.err
21428 } && test -s conftest.$ac_objext; then
21429 ac_lo=$ac_mid; break
21430 else
21431 echo "$as_me: failed program was:" >&5
21432 sed 's/^/| /' conftest.$ac_ext >&5
21433
21434 ac_hi=`expr '(' $ac_mid ')' - 1`
21435 if test $ac_mid -le $ac_hi; then
21436 ac_lo= ac_hi=
21437 break
21438 fi
21439 ac_mid=`expr 2 '*' $ac_mid`
21440 fi
21441
21442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21443 done
21444 else
21445 echo "$as_me: failed program was:" >&5
21446 sed 's/^/| /' conftest.$ac_ext >&5
21447
21448 ac_lo= ac_hi=
21449 fi
21450
21451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21452 fi
21453
21454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21455 # Binary search between lo and hi bounds.
21456 while test "x$ac_lo" != "x$ac_hi"; do
21457 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21458 cat >conftest.$ac_ext <<_ACEOF
21459 /* confdefs.h. */
21460 _ACEOF
21461 cat confdefs.h >>conftest.$ac_ext
21462 cat >>conftest.$ac_ext <<_ACEOF
21463 /* end confdefs.h. */
21464 $ac_includes_default
21465 typedef size_t ac__type_sizeof_;
21466 int
21467 main ()
21468 {
21469 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21470 test_array [0] = 0
21471
21472 ;
21473 return 0;
21474 }
21475 _ACEOF
21476 rm -f conftest.$ac_objext
21477 if { (ac_try="$ac_compile"
21478 case "(($ac_try" in
21479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21480 *) ac_try_echo=$ac_try;;
21481 esac
21482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21483 (eval "$ac_compile") 2>conftest.er1
21484 ac_status=$?
21485 grep -v '^ *+' conftest.er1 >conftest.err
21486 rm -f conftest.er1
21487 cat conftest.err >&5
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); } && {
21490 test -z "$ac_c_werror_flag" ||
21491 test ! -s conftest.err
21492 } && test -s conftest.$ac_objext; then
21493 ac_hi=$ac_mid
21494 else
21495 echo "$as_me: failed program was:" >&5
21496 sed 's/^/| /' conftest.$ac_ext >&5
21497
21498 ac_lo=`expr '(' $ac_mid ')' + 1`
21499 fi
21500
21501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21502 done
21503 case $ac_lo in
21504 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21505 '') if test "$ac_cv_type_size_t" = yes; then
21506 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21507 See \`config.log' for more details." >&5
21508 echo "$as_me: error: cannot compute sizeof (size_t)
21509 See \`config.log' for more details." >&2;}
21510 { (exit 77); exit 77; }; }
21511 else
21512 ac_cv_sizeof_size_t=0
21513 fi ;;
21514 esac
21515 else
21516 cat >conftest.$ac_ext <<_ACEOF
21517 /* confdefs.h. */
21518 _ACEOF
21519 cat confdefs.h >>conftest.$ac_ext
21520 cat >>conftest.$ac_ext <<_ACEOF
21521 /* end confdefs.h. */
21522 $ac_includes_default
21523 typedef size_t ac__type_sizeof_;
21524 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21525 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21526 #include <stdio.h>
21527 #include <stdlib.h>
21528 int
21529 main ()
21530 {
21531
21532 FILE *f = fopen ("conftest.val", "w");
21533 if (! f)
21534 return 1;
21535 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21536 {
21537 long int i = longval ();
21538 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21539 return 1;
21540 fprintf (f, "%ld\n", i);
21541 }
21542 else
21543 {
21544 unsigned long int i = ulongval ();
21545 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21546 return 1;
21547 fprintf (f, "%lu\n", i);
21548 }
21549 return ferror (f) || fclose (f) != 0;
21550
21551 ;
21552 return 0;
21553 }
21554 _ACEOF
21555 rm -f conftest$ac_exeext
21556 if { (ac_try="$ac_link"
21557 case "(($ac_try" in
21558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21559 *) ac_try_echo=$ac_try;;
21560 esac
21561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21562 (eval "$ac_link") 2>&5
21563 ac_status=$?
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21566 { (case "(($ac_try" in
21567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21568 *) ac_try_echo=$ac_try;;
21569 esac
21570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21571 (eval "$ac_try") 2>&5
21572 ac_status=$?
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); }; }; then
21575 ac_cv_sizeof_size_t=`cat conftest.val`
21576 else
21577 echo "$as_me: program exited with status $ac_status" >&5
21578 echo "$as_me: failed program was:" >&5
21579 sed 's/^/| /' conftest.$ac_ext >&5
21580
21581 ( exit $ac_status )
21582 if test "$ac_cv_type_size_t" = yes; then
21583 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21584 See \`config.log' for more details." >&5
21585 echo "$as_me: error: cannot compute sizeof (size_t)
21586 See \`config.log' for more details." >&2;}
21587 { (exit 77); exit 77; }; }
21588 else
21589 ac_cv_sizeof_size_t=0
21590 fi
21591 fi
21592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21593 fi
21594 rm -f conftest.val
21595 fi
21596 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21597 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21598
21599
21600
21601 cat >>confdefs.h <<_ACEOF
21602 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21603 _ACEOF
21604
21605
21606
21607 case "${host}" in
21608 arm-*-linux* )
21609 { echo "$as_me:$LINENO: checking for long long" >&5
21610 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21611 if test "${ac_cv_type_long_long+set}" = set; then
21612 echo $ECHO_N "(cached) $ECHO_C" >&6
21613 else
21614 cat >conftest.$ac_ext <<_ACEOF
21615 /* confdefs.h. */
21616 _ACEOF
21617 cat confdefs.h >>conftest.$ac_ext
21618 cat >>conftest.$ac_ext <<_ACEOF
21619 /* end confdefs.h. */
21620 $ac_includes_default
21621 typedef long long ac__type_new_;
21622 int
21623 main ()
21624 {
21625 if ((ac__type_new_ *) 0)
21626 return 0;
21627 if (sizeof (ac__type_new_))
21628 return 0;
21629 ;
21630 return 0;
21631 }
21632 _ACEOF
21633 rm -f conftest.$ac_objext
21634 if { (ac_try="$ac_compile"
21635 case "(($ac_try" in
21636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21637 *) ac_try_echo=$ac_try;;
21638 esac
21639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21640 (eval "$ac_compile") 2>conftest.er1
21641 ac_status=$?
21642 grep -v '^ *+' conftest.er1 >conftest.err
21643 rm -f conftest.er1
21644 cat conftest.err >&5
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); } && {
21647 test -z "$ac_c_werror_flag" ||
21648 test ! -s conftest.err
21649 } && test -s conftest.$ac_objext; then
21650 ac_cv_type_long_long=yes
21651 else
21652 echo "$as_me: failed program was:" >&5
21653 sed 's/^/| /' conftest.$ac_ext >&5
21654
21655 ac_cv_type_long_long=no
21656 fi
21657
21658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21659 fi
21660 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21661 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21662
21663 # The cast to long int works around a bug in the HP C Compiler
21664 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21665 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21666 # This bug is HP SR number 8606223364.
21667 { echo "$as_me:$LINENO: checking size of long long" >&5
21668 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21669 if test "${ac_cv_sizeof_long_long+set}" = set; then
21670 echo $ECHO_N "(cached) $ECHO_C" >&6
21671 else
21672 if test "$cross_compiling" = yes; then
21673 # Depending upon the size, compute the lo and hi bounds.
21674 cat >conftest.$ac_ext <<_ACEOF
21675 /* confdefs.h. */
21676 _ACEOF
21677 cat confdefs.h >>conftest.$ac_ext
21678 cat >>conftest.$ac_ext <<_ACEOF
21679 /* end confdefs.h. */
21680 $ac_includes_default
21681 typedef long long ac__type_sizeof_;
21682 int
21683 main ()
21684 {
21685 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21686 test_array [0] = 0
21687
21688 ;
21689 return 0;
21690 }
21691 _ACEOF
21692 rm -f conftest.$ac_objext
21693 if { (ac_try="$ac_compile"
21694 case "(($ac_try" in
21695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21696 *) ac_try_echo=$ac_try;;
21697 esac
21698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21699 (eval "$ac_compile") 2>conftest.er1
21700 ac_status=$?
21701 grep -v '^ *+' conftest.er1 >conftest.err
21702 rm -f conftest.er1
21703 cat conftest.err >&5
21704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21705 (exit $ac_status); } && {
21706 test -z "$ac_c_werror_flag" ||
21707 test ! -s conftest.err
21708 } && test -s conftest.$ac_objext; then
21709 ac_lo=0 ac_mid=0
21710 while :; do
21711 cat >conftest.$ac_ext <<_ACEOF
21712 /* confdefs.h. */
21713 _ACEOF
21714 cat confdefs.h >>conftest.$ac_ext
21715 cat >>conftest.$ac_ext <<_ACEOF
21716 /* end confdefs.h. */
21717 $ac_includes_default
21718 typedef long long ac__type_sizeof_;
21719 int
21720 main ()
21721 {
21722 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21723 test_array [0] = 0
21724
21725 ;
21726 return 0;
21727 }
21728 _ACEOF
21729 rm -f conftest.$ac_objext
21730 if { (ac_try="$ac_compile"
21731 case "(($ac_try" in
21732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21733 *) ac_try_echo=$ac_try;;
21734 esac
21735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21736 (eval "$ac_compile") 2>conftest.er1
21737 ac_status=$?
21738 grep -v '^ *+' conftest.er1 >conftest.err
21739 rm -f conftest.er1
21740 cat conftest.err >&5
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); } && {
21743 test -z "$ac_c_werror_flag" ||
21744 test ! -s conftest.err
21745 } && test -s conftest.$ac_objext; then
21746 ac_hi=$ac_mid; break
21747 else
21748 echo "$as_me: failed program was:" >&5
21749 sed 's/^/| /' conftest.$ac_ext >&5
21750
21751 ac_lo=`expr $ac_mid + 1`
21752 if test $ac_lo -le $ac_mid; then
21753 ac_lo= ac_hi=
21754 break
21755 fi
21756 ac_mid=`expr 2 '*' $ac_mid + 1`
21757 fi
21758
21759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21760 done
21761 else
21762 echo "$as_me: failed program was:" >&5
21763 sed 's/^/| /' conftest.$ac_ext >&5
21764
21765 cat >conftest.$ac_ext <<_ACEOF
21766 /* confdefs.h. */
21767 _ACEOF
21768 cat confdefs.h >>conftest.$ac_ext
21769 cat >>conftest.$ac_ext <<_ACEOF
21770 /* end confdefs.h. */
21771 $ac_includes_default
21772 typedef long long ac__type_sizeof_;
21773 int
21774 main ()
21775 {
21776 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21777 test_array [0] = 0
21778
21779 ;
21780 return 0;
21781 }
21782 _ACEOF
21783 rm -f conftest.$ac_objext
21784 if { (ac_try="$ac_compile"
21785 case "(($ac_try" in
21786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21787 *) ac_try_echo=$ac_try;;
21788 esac
21789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21790 (eval "$ac_compile") 2>conftest.er1
21791 ac_status=$?
21792 grep -v '^ *+' conftest.er1 >conftest.err
21793 rm -f conftest.er1
21794 cat conftest.err >&5
21795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21796 (exit $ac_status); } && {
21797 test -z "$ac_c_werror_flag" ||
21798 test ! -s conftest.err
21799 } && test -s conftest.$ac_objext; then
21800 ac_hi=-1 ac_mid=-1
21801 while :; do
21802 cat >conftest.$ac_ext <<_ACEOF
21803 /* confdefs.h. */
21804 _ACEOF
21805 cat confdefs.h >>conftest.$ac_ext
21806 cat >>conftest.$ac_ext <<_ACEOF
21807 /* end confdefs.h. */
21808 $ac_includes_default
21809 typedef long long ac__type_sizeof_;
21810 int
21811 main ()
21812 {
21813 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21814 test_array [0] = 0
21815
21816 ;
21817 return 0;
21818 }
21819 _ACEOF
21820 rm -f conftest.$ac_objext
21821 if { (ac_try="$ac_compile"
21822 case "(($ac_try" in
21823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21824 *) ac_try_echo=$ac_try;;
21825 esac
21826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21827 (eval "$ac_compile") 2>conftest.er1
21828 ac_status=$?
21829 grep -v '^ *+' conftest.er1 >conftest.err
21830 rm -f conftest.er1
21831 cat conftest.err >&5
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); } && {
21834 test -z "$ac_c_werror_flag" ||
21835 test ! -s conftest.err
21836 } && test -s conftest.$ac_objext; then
21837 ac_lo=$ac_mid; break
21838 else
21839 echo "$as_me: failed program was:" >&5
21840 sed 's/^/| /' conftest.$ac_ext >&5
21841
21842 ac_hi=`expr '(' $ac_mid ')' - 1`
21843 if test $ac_mid -le $ac_hi; then
21844 ac_lo= ac_hi=
21845 break
21846 fi
21847 ac_mid=`expr 2 '*' $ac_mid`
21848 fi
21849
21850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21851 done
21852 else
21853 echo "$as_me: failed program was:" >&5
21854 sed 's/^/| /' conftest.$ac_ext >&5
21855
21856 ac_lo= ac_hi=
21857 fi
21858
21859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21860 fi
21861
21862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21863 # Binary search between lo and hi bounds.
21864 while test "x$ac_lo" != "x$ac_hi"; do
21865 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21866 cat >conftest.$ac_ext <<_ACEOF
21867 /* confdefs.h. */
21868 _ACEOF
21869 cat confdefs.h >>conftest.$ac_ext
21870 cat >>conftest.$ac_ext <<_ACEOF
21871 /* end confdefs.h. */
21872 $ac_includes_default
21873 typedef long long ac__type_sizeof_;
21874 int
21875 main ()
21876 {
21877 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21878 test_array [0] = 0
21879
21880 ;
21881 return 0;
21882 }
21883 _ACEOF
21884 rm -f conftest.$ac_objext
21885 if { (ac_try="$ac_compile"
21886 case "(($ac_try" in
21887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21888 *) ac_try_echo=$ac_try;;
21889 esac
21890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21891 (eval "$ac_compile") 2>conftest.er1
21892 ac_status=$?
21893 grep -v '^ *+' conftest.er1 >conftest.err
21894 rm -f conftest.er1
21895 cat conftest.err >&5
21896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21897 (exit $ac_status); } && {
21898 test -z "$ac_c_werror_flag" ||
21899 test ! -s conftest.err
21900 } && test -s conftest.$ac_objext; then
21901 ac_hi=$ac_mid
21902 else
21903 echo "$as_me: failed program was:" >&5
21904 sed 's/^/| /' conftest.$ac_ext >&5
21905
21906 ac_lo=`expr '(' $ac_mid ')' + 1`
21907 fi
21908
21909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21910 done
21911 case $ac_lo in
21912 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21913 '') if test "$ac_cv_type_long_long" = yes; then
21914 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21915 See \`config.log' for more details." >&5
21916 echo "$as_me: error: cannot compute sizeof (long long)
21917 See \`config.log' for more details." >&2;}
21918 { (exit 77); exit 77; }; }
21919 else
21920 ac_cv_sizeof_long_long=0
21921 fi ;;
21922 esac
21923 else
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 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21933 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21934 #include <stdio.h>
21935 #include <stdlib.h>
21936 int
21937 main ()
21938 {
21939
21940 FILE *f = fopen ("conftest.val", "w");
21941 if (! f)
21942 return 1;
21943 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21944 {
21945 long int i = longval ();
21946 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21947 return 1;
21948 fprintf (f, "%ld\n", i);
21949 }
21950 else
21951 {
21952 unsigned long int i = ulongval ();
21953 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21954 return 1;
21955 fprintf (f, "%lu\n", i);
21956 }
21957 return ferror (f) || fclose (f) != 0;
21958
21959 ;
21960 return 0;
21961 }
21962 _ACEOF
21963 rm -f conftest$ac_exeext
21964 if { (ac_try="$ac_link"
21965 case "(($ac_try" in
21966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21967 *) ac_try_echo=$ac_try;;
21968 esac
21969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21970 (eval "$ac_link") 2>&5
21971 ac_status=$?
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21974 { (case "(($ac_try" in
21975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21976 *) ac_try_echo=$ac_try;;
21977 esac
21978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21979 (eval "$ac_try") 2>&5
21980 ac_status=$?
21981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21982 (exit $ac_status); }; }; then
21983 ac_cv_sizeof_long_long=`cat conftest.val`
21984 else
21985 echo "$as_me: program exited with status $ac_status" >&5
21986 echo "$as_me: failed program was:" >&5
21987 sed 's/^/| /' conftest.$ac_ext >&5
21988
21989 ( exit $ac_status )
21990 if test "$ac_cv_type_long_long" = yes; then
21991 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21992 See \`config.log' for more details." >&5
21993 echo "$as_me: error: cannot compute sizeof (long long)
21994 See \`config.log' for more details." >&2;}
21995 { (exit 77); exit 77; }; }
21996 else
21997 ac_cv_sizeof_long_long=0
21998 fi
21999 fi
22000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22001 fi
22002 rm -f conftest.val
22003 fi
22004 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22005 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22006
22007
22008
22009 cat >>confdefs.h <<_ACEOF
22010 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22011 _ACEOF
22012
22013
22014 ;;
22015 *-hp-hpux* )
22016 { echo "$as_me:$LINENO: checking for long long" >&5
22017 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22018 if test "${ac_cv_type_long_long+set}" = set; then
22019 echo $ECHO_N "(cached) $ECHO_C" >&6
22020 else
22021 cat >conftest.$ac_ext <<_ACEOF
22022 /* confdefs.h. */
22023 _ACEOF
22024 cat confdefs.h >>conftest.$ac_ext
22025 cat >>conftest.$ac_ext <<_ACEOF
22026 /* end confdefs.h. */
22027 $ac_includes_default
22028 typedef long long ac__type_new_;
22029 int
22030 main ()
22031 {
22032 if ((ac__type_new_ *) 0)
22033 return 0;
22034 if (sizeof (ac__type_new_))
22035 return 0;
22036 ;
22037 return 0;
22038 }
22039 _ACEOF
22040 rm -f conftest.$ac_objext
22041 if { (ac_try="$ac_compile"
22042 case "(($ac_try" in
22043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22044 *) ac_try_echo=$ac_try;;
22045 esac
22046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22047 (eval "$ac_compile") 2>conftest.er1
22048 ac_status=$?
22049 grep -v '^ *+' conftest.er1 >conftest.err
22050 rm -f conftest.er1
22051 cat conftest.err >&5
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); } && {
22054 test -z "$ac_c_werror_flag" ||
22055 test ! -s conftest.err
22056 } && test -s conftest.$ac_objext; then
22057 ac_cv_type_long_long=yes
22058 else
22059 echo "$as_me: failed program was:" >&5
22060 sed 's/^/| /' conftest.$ac_ext >&5
22061
22062 ac_cv_type_long_long=no
22063 fi
22064
22065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22066 fi
22067 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22068 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22069
22070 # The cast to long int works around a bug in the HP C Compiler
22071 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22072 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22073 # This bug is HP SR number 8606223364.
22074 { echo "$as_me:$LINENO: checking size of long long" >&5
22075 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22076 if test "${ac_cv_sizeof_long_long+set}" = set; then
22077 echo $ECHO_N "(cached) $ECHO_C" >&6
22078 else
22079 if test "$cross_compiling" = yes; then
22080 # Depending upon the size, compute the lo and hi bounds.
22081 cat >conftest.$ac_ext <<_ACEOF
22082 /* confdefs.h. */
22083 _ACEOF
22084 cat confdefs.h >>conftest.$ac_ext
22085 cat >>conftest.$ac_ext <<_ACEOF
22086 /* end confdefs.h. */
22087 $ac_includes_default
22088 typedef long long ac__type_sizeof_;
22089 int
22090 main ()
22091 {
22092 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22093 test_array [0] = 0
22094
22095 ;
22096 return 0;
22097 }
22098 _ACEOF
22099 rm -f conftest.$ac_objext
22100 if { (ac_try="$ac_compile"
22101 case "(($ac_try" in
22102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22103 *) ac_try_echo=$ac_try;;
22104 esac
22105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22106 (eval "$ac_compile") 2>conftest.er1
22107 ac_status=$?
22108 grep -v '^ *+' conftest.er1 >conftest.err
22109 rm -f conftest.er1
22110 cat conftest.err >&5
22111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22112 (exit $ac_status); } && {
22113 test -z "$ac_c_werror_flag" ||
22114 test ! -s conftest.err
22115 } && test -s conftest.$ac_objext; then
22116 ac_lo=0 ac_mid=0
22117 while :; do
22118 cat >conftest.$ac_ext <<_ACEOF
22119 /* confdefs.h. */
22120 _ACEOF
22121 cat confdefs.h >>conftest.$ac_ext
22122 cat >>conftest.$ac_ext <<_ACEOF
22123 /* end confdefs.h. */
22124 $ac_includes_default
22125 typedef long long ac__type_sizeof_;
22126 int
22127 main ()
22128 {
22129 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22130 test_array [0] = 0
22131
22132 ;
22133 return 0;
22134 }
22135 _ACEOF
22136 rm -f conftest.$ac_objext
22137 if { (ac_try="$ac_compile"
22138 case "(($ac_try" in
22139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22140 *) ac_try_echo=$ac_try;;
22141 esac
22142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22143 (eval "$ac_compile") 2>conftest.er1
22144 ac_status=$?
22145 grep -v '^ *+' conftest.er1 >conftest.err
22146 rm -f conftest.er1
22147 cat conftest.err >&5
22148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22149 (exit $ac_status); } && {
22150 test -z "$ac_c_werror_flag" ||
22151 test ! -s conftest.err
22152 } && test -s conftest.$ac_objext; then
22153 ac_hi=$ac_mid; break
22154 else
22155 echo "$as_me: failed program was:" >&5
22156 sed 's/^/| /' conftest.$ac_ext >&5
22157
22158 ac_lo=`expr $ac_mid + 1`
22159 if test $ac_lo -le $ac_mid; then
22160 ac_lo= ac_hi=
22161 break
22162 fi
22163 ac_mid=`expr 2 '*' $ac_mid + 1`
22164 fi
22165
22166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22167 done
22168 else
22169 echo "$as_me: failed program was:" >&5
22170 sed 's/^/| /' conftest.$ac_ext >&5
22171
22172 cat >conftest.$ac_ext <<_ACEOF
22173 /* confdefs.h. */
22174 _ACEOF
22175 cat confdefs.h >>conftest.$ac_ext
22176 cat >>conftest.$ac_ext <<_ACEOF
22177 /* end confdefs.h. */
22178 $ac_includes_default
22179 typedef long long ac__type_sizeof_;
22180 int
22181 main ()
22182 {
22183 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22184 test_array [0] = 0
22185
22186 ;
22187 return 0;
22188 }
22189 _ACEOF
22190 rm -f conftest.$ac_objext
22191 if { (ac_try="$ac_compile"
22192 case "(($ac_try" in
22193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22194 *) ac_try_echo=$ac_try;;
22195 esac
22196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22197 (eval "$ac_compile") 2>conftest.er1
22198 ac_status=$?
22199 grep -v '^ *+' conftest.er1 >conftest.err
22200 rm -f conftest.er1
22201 cat conftest.err >&5
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); } && {
22204 test -z "$ac_c_werror_flag" ||
22205 test ! -s conftest.err
22206 } && test -s conftest.$ac_objext; then
22207 ac_hi=-1 ac_mid=-1
22208 while :; do
22209 cat >conftest.$ac_ext <<_ACEOF
22210 /* confdefs.h. */
22211 _ACEOF
22212 cat confdefs.h >>conftest.$ac_ext
22213 cat >>conftest.$ac_ext <<_ACEOF
22214 /* end confdefs.h. */
22215 $ac_includes_default
22216 typedef long long ac__type_sizeof_;
22217 int
22218 main ()
22219 {
22220 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22221 test_array [0] = 0
22222
22223 ;
22224 return 0;
22225 }
22226 _ACEOF
22227 rm -f conftest.$ac_objext
22228 if { (ac_try="$ac_compile"
22229 case "(($ac_try" in
22230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22231 *) ac_try_echo=$ac_try;;
22232 esac
22233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22234 (eval "$ac_compile") 2>conftest.er1
22235 ac_status=$?
22236 grep -v '^ *+' conftest.er1 >conftest.err
22237 rm -f conftest.er1
22238 cat conftest.err >&5
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); } && {
22241 test -z "$ac_c_werror_flag" ||
22242 test ! -s conftest.err
22243 } && test -s conftest.$ac_objext; then
22244 ac_lo=$ac_mid; break
22245 else
22246 echo "$as_me: failed program was:" >&5
22247 sed 's/^/| /' conftest.$ac_ext >&5
22248
22249 ac_hi=`expr '(' $ac_mid ')' - 1`
22250 if test $ac_mid -le $ac_hi; then
22251 ac_lo= ac_hi=
22252 break
22253 fi
22254 ac_mid=`expr 2 '*' $ac_mid`
22255 fi
22256
22257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22258 done
22259 else
22260 echo "$as_me: failed program was:" >&5
22261 sed 's/^/| /' conftest.$ac_ext >&5
22262
22263 ac_lo= ac_hi=
22264 fi
22265
22266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22267 fi
22268
22269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22270 # Binary search between lo and hi bounds.
22271 while test "x$ac_lo" != "x$ac_hi"; do
22272 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22273 cat >conftest.$ac_ext <<_ACEOF
22274 /* confdefs.h. */
22275 _ACEOF
22276 cat confdefs.h >>conftest.$ac_ext
22277 cat >>conftest.$ac_ext <<_ACEOF
22278 /* end confdefs.h. */
22279 $ac_includes_default
22280 typedef long long ac__type_sizeof_;
22281 int
22282 main ()
22283 {
22284 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22285 test_array [0] = 0
22286
22287 ;
22288 return 0;
22289 }
22290 _ACEOF
22291 rm -f conftest.$ac_objext
22292 if { (ac_try="$ac_compile"
22293 case "(($ac_try" in
22294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22295 *) ac_try_echo=$ac_try;;
22296 esac
22297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22298 (eval "$ac_compile") 2>conftest.er1
22299 ac_status=$?
22300 grep -v '^ *+' conftest.er1 >conftest.err
22301 rm -f conftest.er1
22302 cat conftest.err >&5
22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304 (exit $ac_status); } && {
22305 test -z "$ac_c_werror_flag" ||
22306 test ! -s conftest.err
22307 } && test -s conftest.$ac_objext; then
22308 ac_hi=$ac_mid
22309 else
22310 echo "$as_me: failed program was:" >&5
22311 sed 's/^/| /' conftest.$ac_ext >&5
22312
22313 ac_lo=`expr '(' $ac_mid ')' + 1`
22314 fi
22315
22316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22317 done
22318 case $ac_lo in
22319 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22320 '') if test "$ac_cv_type_long_long" = yes; then
22321 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22322 See \`config.log' for more details." >&5
22323 echo "$as_me: error: cannot compute sizeof (long long)
22324 See \`config.log' for more details." >&2;}
22325 { (exit 77); exit 77; }; }
22326 else
22327 ac_cv_sizeof_long_long=0
22328 fi ;;
22329 esac
22330 else
22331 cat >conftest.$ac_ext <<_ACEOF
22332 /* confdefs.h. */
22333 _ACEOF
22334 cat confdefs.h >>conftest.$ac_ext
22335 cat >>conftest.$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22337 $ac_includes_default
22338 typedef long long ac__type_sizeof_;
22339 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22340 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22341 #include <stdio.h>
22342 #include <stdlib.h>
22343 int
22344 main ()
22345 {
22346
22347 FILE *f = fopen ("conftest.val", "w");
22348 if (! f)
22349 return 1;
22350 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22351 {
22352 long int i = longval ();
22353 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22354 return 1;
22355 fprintf (f, "%ld\n", i);
22356 }
22357 else
22358 {
22359 unsigned long int i = ulongval ();
22360 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22361 return 1;
22362 fprintf (f, "%lu\n", i);
22363 }
22364 return ferror (f) || fclose (f) != 0;
22365
22366 ;
22367 return 0;
22368 }
22369 _ACEOF
22370 rm -f conftest$ac_exeext
22371 if { (ac_try="$ac_link"
22372 case "(($ac_try" in
22373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22374 *) ac_try_echo=$ac_try;;
22375 esac
22376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22377 (eval "$ac_link") 2>&5
22378 ac_status=$?
22379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22380 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22381 { (case "(($ac_try" in
22382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22383 *) ac_try_echo=$ac_try;;
22384 esac
22385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22386 (eval "$ac_try") 2>&5
22387 ac_status=$?
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); }; }; then
22390 ac_cv_sizeof_long_long=`cat conftest.val`
22391 else
22392 echo "$as_me: program exited with status $ac_status" >&5
22393 echo "$as_me: failed program was:" >&5
22394 sed 's/^/| /' conftest.$ac_ext >&5
22395
22396 ( exit $ac_status )
22397 if test "$ac_cv_type_long_long" = yes; then
22398 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22399 See \`config.log' for more details." >&5
22400 echo "$as_me: error: cannot compute sizeof (long long)
22401 See \`config.log' for more details." >&2;}
22402 { (exit 77); exit 77; }; }
22403 else
22404 ac_cv_sizeof_long_long=0
22405 fi
22406 fi
22407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22408 fi
22409 rm -f conftest.val
22410 fi
22411 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22412 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22413
22414
22415
22416 cat >>confdefs.h <<_ACEOF
22417 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22418 _ACEOF
22419
22420
22421 if test "$ac_cv_sizeof_long_long" != 0; then
22422 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22423 fi
22424 ;;
22425 * )
22426 { echo "$as_me:$LINENO: checking for long long" >&5
22427 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22428 if test "${ac_cv_type_long_long+set}" = set; then
22429 echo $ECHO_N "(cached) $ECHO_C" >&6
22430 else
22431 cat >conftest.$ac_ext <<_ACEOF
22432 /* confdefs.h. */
22433 _ACEOF
22434 cat confdefs.h >>conftest.$ac_ext
22435 cat >>conftest.$ac_ext <<_ACEOF
22436 /* end confdefs.h. */
22437 $ac_includes_default
22438 typedef long long ac__type_new_;
22439 int
22440 main ()
22441 {
22442 if ((ac__type_new_ *) 0)
22443 return 0;
22444 if (sizeof (ac__type_new_))
22445 return 0;
22446 ;
22447 return 0;
22448 }
22449 _ACEOF
22450 rm -f conftest.$ac_objext
22451 if { (ac_try="$ac_compile"
22452 case "(($ac_try" in
22453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22454 *) ac_try_echo=$ac_try;;
22455 esac
22456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22457 (eval "$ac_compile") 2>conftest.er1
22458 ac_status=$?
22459 grep -v '^ *+' conftest.er1 >conftest.err
22460 rm -f conftest.er1
22461 cat conftest.err >&5
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); } && {
22464 test -z "$ac_c_werror_flag" ||
22465 test ! -s conftest.err
22466 } && test -s conftest.$ac_objext; then
22467 ac_cv_type_long_long=yes
22468 else
22469 echo "$as_me: failed program was:" >&5
22470 sed 's/^/| /' conftest.$ac_ext >&5
22471
22472 ac_cv_type_long_long=no
22473 fi
22474
22475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22476 fi
22477 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22478 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22479
22480 # The cast to long int works around a bug in the HP C Compiler
22481 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22482 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22483 # This bug is HP SR number 8606223364.
22484 { echo "$as_me:$LINENO: checking size of long long" >&5
22485 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22486 if test "${ac_cv_sizeof_long_long+set}" = set; then
22487 echo $ECHO_N "(cached) $ECHO_C" >&6
22488 else
22489 if test "$cross_compiling" = yes; then
22490 # Depending upon the size, compute the lo and hi bounds.
22491 cat >conftest.$ac_ext <<_ACEOF
22492 /* confdefs.h. */
22493 _ACEOF
22494 cat confdefs.h >>conftest.$ac_ext
22495 cat >>conftest.$ac_ext <<_ACEOF
22496 /* end confdefs.h. */
22497 $ac_includes_default
22498 typedef long long ac__type_sizeof_;
22499 int
22500 main ()
22501 {
22502 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22503 test_array [0] = 0
22504
22505 ;
22506 return 0;
22507 }
22508 _ACEOF
22509 rm -f conftest.$ac_objext
22510 if { (ac_try="$ac_compile"
22511 case "(($ac_try" in
22512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22513 *) ac_try_echo=$ac_try;;
22514 esac
22515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22516 (eval "$ac_compile") 2>conftest.er1
22517 ac_status=$?
22518 grep -v '^ *+' conftest.er1 >conftest.err
22519 rm -f conftest.er1
22520 cat conftest.err >&5
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); } && {
22523 test -z "$ac_c_werror_flag" ||
22524 test ! -s conftest.err
22525 } && test -s conftest.$ac_objext; then
22526 ac_lo=0 ac_mid=0
22527 while :; do
22528 cat >conftest.$ac_ext <<_ACEOF
22529 /* confdefs.h. */
22530 _ACEOF
22531 cat confdefs.h >>conftest.$ac_ext
22532 cat >>conftest.$ac_ext <<_ACEOF
22533 /* end confdefs.h. */
22534 $ac_includes_default
22535 typedef long long ac__type_sizeof_;
22536 int
22537 main ()
22538 {
22539 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22540 test_array [0] = 0
22541
22542 ;
22543 return 0;
22544 }
22545 _ACEOF
22546 rm -f conftest.$ac_objext
22547 if { (ac_try="$ac_compile"
22548 case "(($ac_try" in
22549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22550 *) ac_try_echo=$ac_try;;
22551 esac
22552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22553 (eval "$ac_compile") 2>conftest.er1
22554 ac_status=$?
22555 grep -v '^ *+' conftest.er1 >conftest.err
22556 rm -f conftest.er1
22557 cat conftest.err >&5
22558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22559 (exit $ac_status); } && {
22560 test -z "$ac_c_werror_flag" ||
22561 test ! -s conftest.err
22562 } && test -s conftest.$ac_objext; then
22563 ac_hi=$ac_mid; break
22564 else
22565 echo "$as_me: failed program was:" >&5
22566 sed 's/^/| /' conftest.$ac_ext >&5
22567
22568 ac_lo=`expr $ac_mid + 1`
22569 if test $ac_lo -le $ac_mid; then
22570 ac_lo= ac_hi=
22571 break
22572 fi
22573 ac_mid=`expr 2 '*' $ac_mid + 1`
22574 fi
22575
22576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22577 done
22578 else
22579 echo "$as_me: failed program was:" >&5
22580 sed 's/^/| /' conftest.$ac_ext >&5
22581
22582 cat >conftest.$ac_ext <<_ACEOF
22583 /* confdefs.h. */
22584 _ACEOF
22585 cat confdefs.h >>conftest.$ac_ext
22586 cat >>conftest.$ac_ext <<_ACEOF
22587 /* end confdefs.h. */
22588 $ac_includes_default
22589 typedef long long ac__type_sizeof_;
22590 int
22591 main ()
22592 {
22593 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22594 test_array [0] = 0
22595
22596 ;
22597 return 0;
22598 }
22599 _ACEOF
22600 rm -f conftest.$ac_objext
22601 if { (ac_try="$ac_compile"
22602 case "(($ac_try" in
22603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22604 *) ac_try_echo=$ac_try;;
22605 esac
22606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22607 (eval "$ac_compile") 2>conftest.er1
22608 ac_status=$?
22609 grep -v '^ *+' conftest.er1 >conftest.err
22610 rm -f conftest.er1
22611 cat conftest.err >&5
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); } && {
22614 test -z "$ac_c_werror_flag" ||
22615 test ! -s conftest.err
22616 } && test -s conftest.$ac_objext; then
22617 ac_hi=-1 ac_mid=-1
22618 while :; do
22619 cat >conftest.$ac_ext <<_ACEOF
22620 /* confdefs.h. */
22621 _ACEOF
22622 cat confdefs.h >>conftest.$ac_ext
22623 cat >>conftest.$ac_ext <<_ACEOF
22624 /* end confdefs.h. */
22625 $ac_includes_default
22626 typedef long long ac__type_sizeof_;
22627 int
22628 main ()
22629 {
22630 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22631 test_array [0] = 0
22632
22633 ;
22634 return 0;
22635 }
22636 _ACEOF
22637 rm -f conftest.$ac_objext
22638 if { (ac_try="$ac_compile"
22639 case "(($ac_try" in
22640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22641 *) ac_try_echo=$ac_try;;
22642 esac
22643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22644 (eval "$ac_compile") 2>conftest.er1
22645 ac_status=$?
22646 grep -v '^ *+' conftest.er1 >conftest.err
22647 rm -f conftest.er1
22648 cat conftest.err >&5
22649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650 (exit $ac_status); } && {
22651 test -z "$ac_c_werror_flag" ||
22652 test ! -s conftest.err
22653 } && test -s conftest.$ac_objext; then
22654 ac_lo=$ac_mid; break
22655 else
22656 echo "$as_me: failed program was:" >&5
22657 sed 's/^/| /' conftest.$ac_ext >&5
22658
22659 ac_hi=`expr '(' $ac_mid ')' - 1`
22660 if test $ac_mid -le $ac_hi; then
22661 ac_lo= ac_hi=
22662 break
22663 fi
22664 ac_mid=`expr 2 '*' $ac_mid`
22665 fi
22666
22667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22668 done
22669 else
22670 echo "$as_me: failed program was:" >&5
22671 sed 's/^/| /' conftest.$ac_ext >&5
22672
22673 ac_lo= ac_hi=
22674 fi
22675
22676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22677 fi
22678
22679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22680 # Binary search between lo and hi bounds.
22681 while test "x$ac_lo" != "x$ac_hi"; do
22682 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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 $ac_includes_default
22690 typedef long long ac__type_sizeof_;
22691 int
22692 main ()
22693 {
22694 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22695 test_array [0] = 0
22696
22697 ;
22698 return 0;
22699 }
22700 _ACEOF
22701 rm -f conftest.$ac_objext
22702 if { (ac_try="$ac_compile"
22703 case "(($ac_try" in
22704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22705 *) ac_try_echo=$ac_try;;
22706 esac
22707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22708 (eval "$ac_compile") 2>conftest.er1
22709 ac_status=$?
22710 grep -v '^ *+' conftest.er1 >conftest.err
22711 rm -f conftest.er1
22712 cat conftest.err >&5
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); } && {
22715 test -z "$ac_c_werror_flag" ||
22716 test ! -s conftest.err
22717 } && test -s conftest.$ac_objext; then
22718 ac_hi=$ac_mid
22719 else
22720 echo "$as_me: failed program was:" >&5
22721 sed 's/^/| /' conftest.$ac_ext >&5
22722
22723 ac_lo=`expr '(' $ac_mid ')' + 1`
22724 fi
22725
22726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22727 done
22728 case $ac_lo in
22729 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22730 '') if test "$ac_cv_type_long_long" = yes; then
22731 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22732 See \`config.log' for more details." >&5
22733 echo "$as_me: error: cannot compute sizeof (long long)
22734 See \`config.log' for more details." >&2;}
22735 { (exit 77); exit 77; }; }
22736 else
22737 ac_cv_sizeof_long_long=0
22738 fi ;;
22739 esac
22740 else
22741 cat >conftest.$ac_ext <<_ACEOF
22742 /* confdefs.h. */
22743 _ACEOF
22744 cat confdefs.h >>conftest.$ac_ext
22745 cat >>conftest.$ac_ext <<_ACEOF
22746 /* end confdefs.h. */
22747 $ac_includes_default
22748 typedef long long ac__type_sizeof_;
22749 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22750 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22751 #include <stdio.h>
22752 #include <stdlib.h>
22753 int
22754 main ()
22755 {
22756
22757 FILE *f = fopen ("conftest.val", "w");
22758 if (! f)
22759 return 1;
22760 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22761 {
22762 long int i = longval ();
22763 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22764 return 1;
22765 fprintf (f, "%ld\n", i);
22766 }
22767 else
22768 {
22769 unsigned long int i = ulongval ();
22770 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22771 return 1;
22772 fprintf (f, "%lu\n", i);
22773 }
22774 return ferror (f) || fclose (f) != 0;
22775
22776 ;
22777 return 0;
22778 }
22779 _ACEOF
22780 rm -f conftest$ac_exeext
22781 if { (ac_try="$ac_link"
22782 case "(($ac_try" in
22783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22784 *) ac_try_echo=$ac_try;;
22785 esac
22786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22787 (eval "$ac_link") 2>&5
22788 ac_status=$?
22789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22790 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22791 { (case "(($ac_try" in
22792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22793 *) ac_try_echo=$ac_try;;
22794 esac
22795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22796 (eval "$ac_try") 2>&5
22797 ac_status=$?
22798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22799 (exit $ac_status); }; }; then
22800 ac_cv_sizeof_long_long=`cat conftest.val`
22801 else
22802 echo "$as_me: program exited with status $ac_status" >&5
22803 echo "$as_me: failed program was:" >&5
22804 sed 's/^/| /' conftest.$ac_ext >&5
22805
22806 ( exit $ac_status )
22807 if test "$ac_cv_type_long_long" = yes; then
22808 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22809 See \`config.log' for more details." >&5
22810 echo "$as_me: error: cannot compute sizeof (long long)
22811 See \`config.log' for more details." >&2;}
22812 { (exit 77); exit 77; }; }
22813 else
22814 ac_cv_sizeof_long_long=0
22815 fi
22816 fi
22817 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22818 fi
22819 rm -f conftest.val
22820 fi
22821 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22822 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22823
22824
22825
22826 cat >>confdefs.h <<_ACEOF
22827 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22828 _ACEOF
22829
22830
22831 esac
22832
22833 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22834 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22835 if test "${ac_cv_type_wchar_t+set}" = set; then
22836 echo $ECHO_N "(cached) $ECHO_C" >&6
22837 else
22838 cat >conftest.$ac_ext <<_ACEOF
22839 /* confdefs.h. */
22840 _ACEOF
22841 cat confdefs.h >>conftest.$ac_ext
22842 cat >>conftest.$ac_ext <<_ACEOF
22843 /* end confdefs.h. */
22844
22845 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22846 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22847 # error "fake wchar_t"
22848 #endif
22849 #ifdef HAVE_WCHAR_H
22850 # ifdef __CYGWIN__
22851 # include <stddef.h>
22852 # endif
22853 # include <wchar.h>
22854 #endif
22855 #ifdef HAVE_STDLIB_H
22856 # include <stdlib.h>
22857 #endif
22858 #include <stdio.h>
22859
22860
22861
22862 typedef wchar_t ac__type_new_;
22863 int
22864 main ()
22865 {
22866 if ((ac__type_new_ *) 0)
22867 return 0;
22868 if (sizeof (ac__type_new_))
22869 return 0;
22870 ;
22871 return 0;
22872 }
22873 _ACEOF
22874 rm -f conftest.$ac_objext
22875 if { (ac_try="$ac_compile"
22876 case "(($ac_try" in
22877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22878 *) ac_try_echo=$ac_try;;
22879 esac
22880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22881 (eval "$ac_compile") 2>conftest.er1
22882 ac_status=$?
22883 grep -v '^ *+' conftest.er1 >conftest.err
22884 rm -f conftest.er1
22885 cat conftest.err >&5
22886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887 (exit $ac_status); } && {
22888 test -z "$ac_c_werror_flag" ||
22889 test ! -s conftest.err
22890 } && test -s conftest.$ac_objext; then
22891 ac_cv_type_wchar_t=yes
22892 else
22893 echo "$as_me: failed program was:" >&5
22894 sed 's/^/| /' conftest.$ac_ext >&5
22895
22896 ac_cv_type_wchar_t=no
22897 fi
22898
22899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22900 fi
22901 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22902 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22903
22904 # The cast to long int works around a bug in the HP C Compiler
22905 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22906 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22907 # This bug is HP SR number 8606223364.
22908 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22909 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22910 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22911 echo $ECHO_N "(cached) $ECHO_C" >&6
22912 else
22913 if test "$cross_compiling" = yes; then
22914 # Depending upon the size, compute the lo and hi bounds.
22915 cat >conftest.$ac_ext <<_ACEOF
22916 /* confdefs.h. */
22917 _ACEOF
22918 cat confdefs.h >>conftest.$ac_ext
22919 cat >>conftest.$ac_ext <<_ACEOF
22920 /* end confdefs.h. */
22921
22922 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22923 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22924 # error "fake wchar_t"
22925 #endif
22926 #ifdef HAVE_WCHAR_H
22927 # ifdef __CYGWIN__
22928 # include <stddef.h>
22929 # endif
22930 # include <wchar.h>
22931 #endif
22932 #ifdef HAVE_STDLIB_H
22933 # include <stdlib.h>
22934 #endif
22935 #include <stdio.h>
22936
22937
22938
22939 typedef wchar_t ac__type_sizeof_;
22940 int
22941 main ()
22942 {
22943 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22944 test_array [0] = 0
22945
22946 ;
22947 return 0;
22948 }
22949 _ACEOF
22950 rm -f conftest.$ac_objext
22951 if { (ac_try="$ac_compile"
22952 case "(($ac_try" in
22953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22954 *) ac_try_echo=$ac_try;;
22955 esac
22956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22957 (eval "$ac_compile") 2>conftest.er1
22958 ac_status=$?
22959 grep -v '^ *+' conftest.er1 >conftest.err
22960 rm -f conftest.er1
22961 cat conftest.err >&5
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); } && {
22964 test -z "$ac_c_werror_flag" ||
22965 test ! -s conftest.err
22966 } && test -s conftest.$ac_objext; then
22967 ac_lo=0 ac_mid=0
22968 while :; do
22969 cat >conftest.$ac_ext <<_ACEOF
22970 /* confdefs.h. */
22971 _ACEOF
22972 cat confdefs.h >>conftest.$ac_ext
22973 cat >>conftest.$ac_ext <<_ACEOF
22974 /* end confdefs.h. */
22975
22976 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22977 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22978 # error "fake wchar_t"
22979 #endif
22980 #ifdef HAVE_WCHAR_H
22981 # ifdef __CYGWIN__
22982 # include <stddef.h>
22983 # endif
22984 # include <wchar.h>
22985 #endif
22986 #ifdef HAVE_STDLIB_H
22987 # include <stdlib.h>
22988 #endif
22989 #include <stdio.h>
22990
22991
22992
22993 typedef wchar_t ac__type_sizeof_;
22994 int
22995 main ()
22996 {
22997 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22998 test_array [0] = 0
22999
23000 ;
23001 return 0;
23002 }
23003 _ACEOF
23004 rm -f conftest.$ac_objext
23005 if { (ac_try="$ac_compile"
23006 case "(($ac_try" in
23007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23008 *) ac_try_echo=$ac_try;;
23009 esac
23010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23011 (eval "$ac_compile") 2>conftest.er1
23012 ac_status=$?
23013 grep -v '^ *+' conftest.er1 >conftest.err
23014 rm -f conftest.er1
23015 cat conftest.err >&5
23016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23017 (exit $ac_status); } && {
23018 test -z "$ac_c_werror_flag" ||
23019 test ! -s conftest.err
23020 } && test -s conftest.$ac_objext; then
23021 ac_hi=$ac_mid; break
23022 else
23023 echo "$as_me: failed program was:" >&5
23024 sed 's/^/| /' conftest.$ac_ext >&5
23025
23026 ac_lo=`expr $ac_mid + 1`
23027 if test $ac_lo -le $ac_mid; then
23028 ac_lo= ac_hi=
23029 break
23030 fi
23031 ac_mid=`expr 2 '*' $ac_mid + 1`
23032 fi
23033
23034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23035 done
23036 else
23037 echo "$as_me: failed program was:" >&5
23038 sed 's/^/| /' conftest.$ac_ext >&5
23039
23040 cat >conftest.$ac_ext <<_ACEOF
23041 /* confdefs.h. */
23042 _ACEOF
23043 cat confdefs.h >>conftest.$ac_ext
23044 cat >>conftest.$ac_ext <<_ACEOF
23045 /* end confdefs.h. */
23046
23047 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23048 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23049 # error "fake wchar_t"
23050 #endif
23051 #ifdef HAVE_WCHAR_H
23052 # ifdef __CYGWIN__
23053 # include <stddef.h>
23054 # endif
23055 # include <wchar.h>
23056 #endif
23057 #ifdef HAVE_STDLIB_H
23058 # include <stdlib.h>
23059 #endif
23060 #include <stdio.h>
23061
23062
23063
23064 typedef wchar_t ac__type_sizeof_;
23065 int
23066 main ()
23067 {
23068 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23069 test_array [0] = 0
23070
23071 ;
23072 return 0;
23073 }
23074 _ACEOF
23075 rm -f conftest.$ac_objext
23076 if { (ac_try="$ac_compile"
23077 case "(($ac_try" in
23078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23079 *) ac_try_echo=$ac_try;;
23080 esac
23081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23082 (eval "$ac_compile") 2>conftest.er1
23083 ac_status=$?
23084 grep -v '^ *+' conftest.er1 >conftest.err
23085 rm -f conftest.er1
23086 cat conftest.err >&5
23087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23088 (exit $ac_status); } && {
23089 test -z "$ac_c_werror_flag" ||
23090 test ! -s conftest.err
23091 } && test -s conftest.$ac_objext; then
23092 ac_hi=-1 ac_mid=-1
23093 while :; do
23094 cat >conftest.$ac_ext <<_ACEOF
23095 /* confdefs.h. */
23096 _ACEOF
23097 cat confdefs.h >>conftest.$ac_ext
23098 cat >>conftest.$ac_ext <<_ACEOF
23099 /* end confdefs.h. */
23100
23101 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23102 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23103 # error "fake wchar_t"
23104 #endif
23105 #ifdef HAVE_WCHAR_H
23106 # ifdef __CYGWIN__
23107 # include <stddef.h>
23108 # endif
23109 # include <wchar.h>
23110 #endif
23111 #ifdef HAVE_STDLIB_H
23112 # include <stdlib.h>
23113 #endif
23114 #include <stdio.h>
23115
23116
23117
23118 typedef wchar_t ac__type_sizeof_;
23119 int
23120 main ()
23121 {
23122 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23123 test_array [0] = 0
23124
23125 ;
23126 return 0;
23127 }
23128 _ACEOF
23129 rm -f conftest.$ac_objext
23130 if { (ac_try="$ac_compile"
23131 case "(($ac_try" in
23132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23133 *) ac_try_echo=$ac_try;;
23134 esac
23135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23136 (eval "$ac_compile") 2>conftest.er1
23137 ac_status=$?
23138 grep -v '^ *+' conftest.er1 >conftest.err
23139 rm -f conftest.er1
23140 cat conftest.err >&5
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); } && {
23143 test -z "$ac_c_werror_flag" ||
23144 test ! -s conftest.err
23145 } && test -s conftest.$ac_objext; then
23146 ac_lo=$ac_mid; break
23147 else
23148 echo "$as_me: failed program was:" >&5
23149 sed 's/^/| /' conftest.$ac_ext >&5
23150
23151 ac_hi=`expr '(' $ac_mid ')' - 1`
23152 if test $ac_mid -le $ac_hi; then
23153 ac_lo= ac_hi=
23154 break
23155 fi
23156 ac_mid=`expr 2 '*' $ac_mid`
23157 fi
23158
23159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23160 done
23161 else
23162 echo "$as_me: failed program was:" >&5
23163 sed 's/^/| /' conftest.$ac_ext >&5
23164
23165 ac_lo= ac_hi=
23166 fi
23167
23168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23169 fi
23170
23171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23172 # Binary search between lo and hi bounds.
23173 while test "x$ac_lo" != "x$ac_hi"; do
23174 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23175 cat >conftest.$ac_ext <<_ACEOF
23176 /* confdefs.h. */
23177 _ACEOF
23178 cat confdefs.h >>conftest.$ac_ext
23179 cat >>conftest.$ac_ext <<_ACEOF
23180 /* end confdefs.h. */
23181
23182 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23183 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23184 # error "fake wchar_t"
23185 #endif
23186 #ifdef HAVE_WCHAR_H
23187 # ifdef __CYGWIN__
23188 # include <stddef.h>
23189 # endif
23190 # include <wchar.h>
23191 #endif
23192 #ifdef HAVE_STDLIB_H
23193 # include <stdlib.h>
23194 #endif
23195 #include <stdio.h>
23196
23197
23198
23199 typedef wchar_t ac__type_sizeof_;
23200 int
23201 main ()
23202 {
23203 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23204 test_array [0] = 0
23205
23206 ;
23207 return 0;
23208 }
23209 _ACEOF
23210 rm -f conftest.$ac_objext
23211 if { (ac_try="$ac_compile"
23212 case "(($ac_try" in
23213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23214 *) ac_try_echo=$ac_try;;
23215 esac
23216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23217 (eval "$ac_compile") 2>conftest.er1
23218 ac_status=$?
23219 grep -v '^ *+' conftest.er1 >conftest.err
23220 rm -f conftest.er1
23221 cat conftest.err >&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); } && {
23224 test -z "$ac_c_werror_flag" ||
23225 test ! -s conftest.err
23226 } && test -s conftest.$ac_objext; then
23227 ac_hi=$ac_mid
23228 else
23229 echo "$as_me: failed program was:" >&5
23230 sed 's/^/| /' conftest.$ac_ext >&5
23231
23232 ac_lo=`expr '(' $ac_mid ')' + 1`
23233 fi
23234
23235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23236 done
23237 case $ac_lo in
23238 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23239 '') if test "$ac_cv_type_wchar_t" = yes; then
23240 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23241 See \`config.log' for more details." >&5
23242 echo "$as_me: error: cannot compute sizeof (wchar_t)
23243 See \`config.log' for more details." >&2;}
23244 { (exit 77); exit 77; }; }
23245 else
23246 ac_cv_sizeof_wchar_t=0
23247 fi ;;
23248 esac
23249 else
23250 cat >conftest.$ac_ext <<_ACEOF
23251 /* confdefs.h. */
23252 _ACEOF
23253 cat confdefs.h >>conftest.$ac_ext
23254 cat >>conftest.$ac_ext <<_ACEOF
23255 /* end confdefs.h. */
23256
23257 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23258 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23259 # error "fake wchar_t"
23260 #endif
23261 #ifdef HAVE_WCHAR_H
23262 # ifdef __CYGWIN__
23263 # include <stddef.h>
23264 # endif
23265 # include <wchar.h>
23266 #endif
23267 #ifdef HAVE_STDLIB_H
23268 # include <stdlib.h>
23269 #endif
23270 #include <stdio.h>
23271
23272
23273
23274 typedef wchar_t ac__type_sizeof_;
23275 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23276 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23277 #include <stdio.h>
23278 #include <stdlib.h>
23279 int
23280 main ()
23281 {
23282
23283 FILE *f = fopen ("conftest.val", "w");
23284 if (! f)
23285 return 1;
23286 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23287 {
23288 long int i = longval ();
23289 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23290 return 1;
23291 fprintf (f, "%ld\n", i);
23292 }
23293 else
23294 {
23295 unsigned long int i = ulongval ();
23296 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23297 return 1;
23298 fprintf (f, "%lu\n", i);
23299 }
23300 return ferror (f) || fclose (f) != 0;
23301
23302 ;
23303 return 0;
23304 }
23305 _ACEOF
23306 rm -f conftest$ac_exeext
23307 if { (ac_try="$ac_link"
23308 case "(($ac_try" in
23309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23310 *) ac_try_echo=$ac_try;;
23311 esac
23312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23313 (eval "$ac_link") 2>&5
23314 ac_status=$?
23315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23316 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23317 { (case "(($ac_try" in
23318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23319 *) ac_try_echo=$ac_try;;
23320 esac
23321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23322 (eval "$ac_try") 2>&5
23323 ac_status=$?
23324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23325 (exit $ac_status); }; }; then
23326 ac_cv_sizeof_wchar_t=`cat conftest.val`
23327 else
23328 echo "$as_me: program exited with status $ac_status" >&5
23329 echo "$as_me: failed program was:" >&5
23330 sed 's/^/| /' conftest.$ac_ext >&5
23331
23332 ( exit $ac_status )
23333 if test "$ac_cv_type_wchar_t" = yes; then
23334 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23335 See \`config.log' for more details." >&5
23336 echo "$as_me: error: cannot compute sizeof (wchar_t)
23337 See \`config.log' for more details." >&2;}
23338 { (exit 77); exit 77; }; }
23339 else
23340 ac_cv_sizeof_wchar_t=0
23341 fi
23342 fi
23343 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23344 fi
23345 rm -f conftest.val
23346 fi
23347 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23348 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23349
23350
23351
23352 cat >>confdefs.h <<_ACEOF
23353 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23354 _ACEOF
23355
23356
23357 if test "$ac_cv_sizeof_wchar_t" != 0; then
23358 wxUSE_WCHAR_T=yes
23359 else
23360 wxUSE_WCHAR_T=no
23361 fi
23362
23363 { echo "$as_me:$LINENO: checking for va_copy" >&5
23364 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23365 if test "${wx_cv_func_va_copy+set}" = set; then
23366 echo $ECHO_N "(cached) $ECHO_C" >&6
23367 else
23368
23369 ac_ext=cpp
23370 ac_cpp='$CXXCPP $CPPFLAGS'
23371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23374
23375 cat >conftest.$ac_ext <<_ACEOF
23376
23377 #include <stdarg.h>
23378 void foo(char *f, ...)
23379 {
23380 va_list ap1, ap2;
23381 va_start(ap1, f);
23382 va_copy(ap2, ap1);
23383 va_end(ap2);
23384 va_end(ap1);
23385 }
23386 int main()
23387 {
23388 foo("hi", 17);
23389 return 0;
23390 }
23391 _ACEOF
23392 rm -f conftest.$ac_objext conftest$ac_exeext
23393 if { (ac_try="$ac_link"
23394 case "(($ac_try" in
23395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23396 *) ac_try_echo=$ac_try;;
23397 esac
23398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23399 (eval "$ac_link") 2>conftest.er1
23400 ac_status=$?
23401 grep -v '^ *+' conftest.er1 >conftest.err
23402 rm -f conftest.er1
23403 cat conftest.err >&5
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); } && {
23406 test -z "$ac_cxx_werror_flag" ||
23407 test ! -s conftest.err
23408 } && test -s conftest$ac_exeext &&
23409 $as_test_x conftest$ac_exeext; then
23410 wx_cv_func_va_copy=yes
23411 else
23412 echo "$as_me: failed program was:" >&5
23413 sed 's/^/| /' conftest.$ac_ext >&5
23414
23415 wx_cv_func_va_copy=no
23416
23417 fi
23418
23419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23420 conftest$ac_exeext conftest.$ac_ext
23421 ac_ext=c
23422 ac_cpp='$CPP $CPPFLAGS'
23423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23426
23427
23428
23429 fi
23430 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23431 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23432
23433 if test $wx_cv_func_va_copy = "yes"; then
23434 cat >>confdefs.h <<\_ACEOF
23435 #define HAVE_VA_COPY 1
23436 _ACEOF
23437
23438 else
23439 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23440 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23441 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23442 echo $ECHO_N "(cached) $ECHO_C" >&6
23443 else
23444
23445 if test "$cross_compiling" = yes; then
23446 wx_cv_type_va_list_lvalue=yes
23447
23448 else
23449 cat >conftest.$ac_ext <<_ACEOF
23450
23451 #include <stdarg.h>
23452 int foo(char *f, ...)
23453 {
23454 va_list ap1, ap2;
23455 va_start(ap1, f);
23456 ap2 = ap1;
23457 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23458 return 1;
23459 va_end(ap2);
23460 va_end(ap1);
23461 return 0;
23462 }
23463 int main()
23464 {
23465 return foo("hi", 17);
23466 }
23467 _ACEOF
23468 rm -f conftest$ac_exeext
23469 if { (ac_try="$ac_link"
23470 case "(($ac_try" in
23471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23472 *) ac_try_echo=$ac_try;;
23473 esac
23474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23475 (eval "$ac_link") 2>&5
23476 ac_status=$?
23477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23479 { (case "(($ac_try" in
23480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23481 *) ac_try_echo=$ac_try;;
23482 esac
23483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23484 (eval "$ac_try") 2>&5
23485 ac_status=$?
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); }; }; then
23488 wx_cv_type_va_list_lvalue=yes
23489 else
23490 echo "$as_me: program exited with status $ac_status" >&5
23491 echo "$as_me: failed program was:" >&5
23492 sed 's/^/| /' conftest.$ac_ext >&5
23493
23494 ( exit $ac_status )
23495 wx_cv_type_va_list_lvalue=no
23496 fi
23497 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23498 fi
23499
23500
23501
23502
23503 fi
23504 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23505 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23506
23507 if test $wx_cv_type_va_list_lvalue != "yes"; then
23508 cat >>confdefs.h <<\_ACEOF
23509 #define VA_LIST_IS_ARRAY 1
23510 _ACEOF
23511
23512 fi
23513 fi
23514
23515 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23516
23517 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23518 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23519 if test "${wx_cv_have_variadic_macros+set}" = set; then
23520 echo $ECHO_N "(cached) $ECHO_C" >&6
23521 else
23522
23523 ac_ext=cpp
23524 ac_cpp='$CXXCPP $CPPFLAGS'
23525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23528
23529 cat >conftest.$ac_ext <<_ACEOF
23530 /* confdefs.h. */
23531 _ACEOF
23532 cat confdefs.h >>conftest.$ac_ext
23533 cat >>conftest.$ac_ext <<_ACEOF
23534 /* end confdefs.h. */
23535
23536 #include <stdio.h>
23537 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23538
23539 int
23540 main ()
23541 {
23542
23543 test("%s %d %p", "test", 1, 0);
23544
23545
23546 ;
23547 return 0;
23548 }
23549 _ACEOF
23550 rm -f conftest.$ac_objext
23551 if { (ac_try="$ac_compile"
23552 case "(($ac_try" in
23553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23554 *) ac_try_echo=$ac_try;;
23555 esac
23556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23557 (eval "$ac_compile") 2>conftest.er1
23558 ac_status=$?
23559 grep -v '^ *+' conftest.er1 >conftest.err
23560 rm -f conftest.er1
23561 cat conftest.err >&5
23562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563 (exit $ac_status); } && {
23564 test -z "$ac_cxx_werror_flag" ||
23565 test ! -s conftest.err
23566 } && test -s conftest.$ac_objext; then
23567 wx_cv_have_variadic_macros=yes
23568 else
23569 echo "$as_me: failed program was:" >&5
23570 sed 's/^/| /' conftest.$ac_ext >&5
23571
23572 wx_cv_have_variadic_macros=no
23573
23574 fi
23575
23576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23577 ac_ext=c
23578 ac_cpp='$CPP $CPPFLAGS'
23579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23582
23583
23584
23585 fi
23586 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23587 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23588
23589 if test $wx_cv_have_variadic_macros = "yes"; then
23590 cat >>confdefs.h <<\_ACEOF
23591 #define HAVE_VARIADIC_MACROS 1
23592 _ACEOF
23593
23594 fi
23595
23596 fi
23597
23598 LARGEFILE_CPPFLAGS=
23599 # Check whether --enable-largefile was given.
23600 if test "${enable_largefile+set}" = set; then
23601 enableval=$enable_largefile;
23602 fi
23603
23604 if test "$enable_largefile" != no; then
23605 wx_largefile=no
23606
23607 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23608 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23609 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23610 echo $ECHO_N "(cached) $ECHO_C" >&6
23611 else
23612
23613 cat >conftest.$ac_ext <<_ACEOF
23614 /* confdefs.h. */
23615 _ACEOF
23616 cat confdefs.h >>conftest.$ac_ext
23617 cat >>conftest.$ac_ext <<_ACEOF
23618 /* end confdefs.h. */
23619 #define _FILE_OFFSET_BITS 64
23620 #include <sys/types.h>
23621 int
23622 main ()
23623 {
23624 typedef struct {
23625 unsigned int field: sizeof(off_t) == 8;
23626 } wxlf;
23627
23628 ;
23629 return 0;
23630 }
23631 _ACEOF
23632 rm -f conftest.$ac_objext
23633 if { (ac_try="$ac_compile"
23634 case "(($ac_try" in
23635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23636 *) ac_try_echo=$ac_try;;
23637 esac
23638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23639 (eval "$ac_compile") 2>conftest.er1
23640 ac_status=$?
23641 grep -v '^ *+' conftest.er1 >conftest.err
23642 rm -f conftest.er1
23643 cat conftest.err >&5
23644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645 (exit $ac_status); } && {
23646 test -z "$ac_c_werror_flag" ||
23647 test ! -s conftest.err
23648 } && test -s conftest.$ac_objext; then
23649 ac_cv_sys_file_offset_bits=64
23650 else
23651 echo "$as_me: failed program was:" >&5
23652 sed 's/^/| /' conftest.$ac_ext >&5
23653
23654 ac_cv_sys_file_offset_bits=no
23655 fi
23656
23657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23658
23659
23660 fi
23661 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23662 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23663
23664 if test "$ac_cv_sys_file_offset_bits" != no; then
23665 wx_largefile=yes
23666 cat >>confdefs.h <<_ACEOF
23667 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23668 _ACEOF
23669
23670 fi
23671
23672 if test "x$wx_largefile" != "xyes"; then
23673
23674 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23675 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23676 if test "${ac_cv_sys_large_files+set}" = set; then
23677 echo $ECHO_N "(cached) $ECHO_C" >&6
23678 else
23679
23680 cat >conftest.$ac_ext <<_ACEOF
23681 /* confdefs.h. */
23682 _ACEOF
23683 cat confdefs.h >>conftest.$ac_ext
23684 cat >>conftest.$ac_ext <<_ACEOF
23685 /* end confdefs.h. */
23686 #define _LARGE_FILES 1
23687 #include <sys/types.h>
23688 int
23689 main ()
23690 {
23691 typedef struct {
23692 unsigned int field: sizeof(off_t) == 8;
23693 } wxlf;
23694
23695 ;
23696 return 0;
23697 }
23698 _ACEOF
23699 rm -f conftest.$ac_objext
23700 if { (ac_try="$ac_compile"
23701 case "(($ac_try" in
23702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23703 *) ac_try_echo=$ac_try;;
23704 esac
23705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23706 (eval "$ac_compile") 2>conftest.er1
23707 ac_status=$?
23708 grep -v '^ *+' conftest.er1 >conftest.err
23709 rm -f conftest.er1
23710 cat conftest.err >&5
23711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23712 (exit $ac_status); } && {
23713 test -z "$ac_c_werror_flag" ||
23714 test ! -s conftest.err
23715 } && test -s conftest.$ac_objext; then
23716 ac_cv_sys_large_files=1
23717 else
23718 echo "$as_me: failed program was:" >&5
23719 sed 's/^/| /' conftest.$ac_ext >&5
23720
23721 ac_cv_sys_large_files=no
23722 fi
23723
23724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23725
23726
23727 fi
23728 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23729 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23730
23731 if test "$ac_cv_sys_large_files" != no; then
23732 wx_largefile=yes
23733 cat >>confdefs.h <<_ACEOF
23734 #define _LARGE_FILES $ac_cv_sys_large_files
23735 _ACEOF
23736
23737 fi
23738
23739 fi
23740
23741 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23742 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23743 if test "x$wx_largefile" = "xyes"; then
23744 cat >>confdefs.h <<\_ACEOF
23745 #define HAVE_LARGEFILE_SUPPORT 1
23746 _ACEOF
23747
23748 fi
23749 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23750 echo "${ECHO_T}$wx_largefile" >&6; }
23751 fi
23752
23753 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23754 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23755 elif test "$ac_cv_sys_large_files" = 1; then
23756 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23757 fi
23758
23759 if test -n "$LARGEFILE_CPPFLAGS"; then
23760 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23761
23762 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23763 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23764 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23765 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23766 echo $ECHO_N "(cached) $ECHO_C" >&6
23767 else
23768
23769 ac_ext=cpp
23770 ac_cpp='$CXXCPP $CPPFLAGS'
23771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23774
23775 cat >conftest.$ac_ext <<_ACEOF
23776 /* confdefs.h. */
23777 _ACEOF
23778 cat confdefs.h >>conftest.$ac_ext
23779 cat >>conftest.$ac_ext <<_ACEOF
23780 /* end confdefs.h. */
23781
23782 int
23783 main ()
23784 {
23785
23786 #ifndef __STDC_EXT__
23787 choke me
23788 #endif
23789
23790 ;
23791 return 0;
23792 }
23793 _ACEOF
23794 rm -f conftest.$ac_objext
23795 if { (ac_try="$ac_compile"
23796 case "(($ac_try" in
23797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23798 *) ac_try_echo=$ac_try;;
23799 esac
23800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23801 (eval "$ac_compile") 2>conftest.er1
23802 ac_status=$?
23803 grep -v '^ *+' conftest.er1 >conftest.err
23804 rm -f conftest.er1
23805 cat conftest.err >&5
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); } && {
23808 test -z "$ac_cxx_werror_flag" ||
23809 test ! -s conftest.err
23810 } && test -s conftest.$ac_objext; then
23811 wx_cv_STDC_EXT_required=no
23812 else
23813 echo "$as_me: failed program was:" >&5
23814 sed 's/^/| /' conftest.$ac_ext >&5
23815
23816 wx_cv_STDC_EXT_required=yes
23817
23818 fi
23819
23820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23821 ac_ext=c
23822 ac_cpp='$CPP $CPPFLAGS'
23823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23826
23827
23828
23829 fi
23830 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23831 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23832 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23833 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23834 fi
23835 fi
23836 fi
23837
23838 ac_ext=cpp
23839 ac_cpp='$CXXCPP $CPPFLAGS'
23840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23843
23844 old_CPPFLAGS="$CPPFLAGS"
23845 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23846 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23847 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23848 if test "${ac_cv_sys_largefile_source+set}" = set; then
23849 echo $ECHO_N "(cached) $ECHO_C" >&6
23850 else
23851 while :; do
23852 cat >conftest.$ac_ext <<_ACEOF
23853 /* confdefs.h. */
23854 _ACEOF
23855 cat confdefs.h >>conftest.$ac_ext
23856 cat >>conftest.$ac_ext <<_ACEOF
23857 /* end confdefs.h. */
23858 #include <sys/types.h> /* for off_t */
23859 #include <stdio.h>
23860 int
23861 main ()
23862 {
23863 int (*fp) (FILE *, off_t, int) = fseeko;
23864 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23865 ;
23866 return 0;
23867 }
23868 _ACEOF
23869 rm -f conftest.$ac_objext conftest$ac_exeext
23870 if { (ac_try="$ac_link"
23871 case "(($ac_try" in
23872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23873 *) ac_try_echo=$ac_try;;
23874 esac
23875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23876 (eval "$ac_link") 2>conftest.er1
23877 ac_status=$?
23878 grep -v '^ *+' conftest.er1 >conftest.err
23879 rm -f conftest.er1
23880 cat conftest.err >&5
23881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23882 (exit $ac_status); } && {
23883 test -z "$ac_cxx_werror_flag" ||
23884 test ! -s conftest.err
23885 } && test -s conftest$ac_exeext &&
23886 $as_test_x conftest$ac_exeext; then
23887 ac_cv_sys_largefile_source=no; break
23888 else
23889 echo "$as_me: failed program was:" >&5
23890 sed 's/^/| /' conftest.$ac_ext >&5
23891
23892
23893 fi
23894
23895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23896 conftest$ac_exeext conftest.$ac_ext
23897 cat >conftest.$ac_ext <<_ACEOF
23898 /* confdefs.h. */
23899 _ACEOF
23900 cat confdefs.h >>conftest.$ac_ext
23901 cat >>conftest.$ac_ext <<_ACEOF
23902 /* end confdefs.h. */
23903 #define _LARGEFILE_SOURCE 1
23904 #include <sys/types.h> /* for off_t */
23905 #include <stdio.h>
23906 int
23907 main ()
23908 {
23909 int (*fp) (FILE *, off_t, int) = fseeko;
23910 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23911 ;
23912 return 0;
23913 }
23914 _ACEOF
23915 rm -f conftest.$ac_objext conftest$ac_exeext
23916 if { (ac_try="$ac_link"
23917 case "(($ac_try" in
23918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23919 *) ac_try_echo=$ac_try;;
23920 esac
23921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23922 (eval "$ac_link") 2>conftest.er1
23923 ac_status=$?
23924 grep -v '^ *+' conftest.er1 >conftest.err
23925 rm -f conftest.er1
23926 cat conftest.err >&5
23927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23928 (exit $ac_status); } && {
23929 test -z "$ac_cxx_werror_flag" ||
23930 test ! -s conftest.err
23931 } && test -s conftest$ac_exeext &&
23932 $as_test_x conftest$ac_exeext; then
23933 ac_cv_sys_largefile_source=1; break
23934 else
23935 echo "$as_me: failed program was:" >&5
23936 sed 's/^/| /' conftest.$ac_ext >&5
23937
23938
23939 fi
23940
23941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23942 conftest$ac_exeext conftest.$ac_ext
23943 ac_cv_sys_largefile_source=unknown
23944 break
23945 done
23946 fi
23947 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23948 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23949 case $ac_cv_sys_largefile_source in #(
23950 no | unknown) ;;
23951 *)
23952 cat >>confdefs.h <<_ACEOF
23953 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23954 _ACEOF
23955 ;;
23956 esac
23957 rm -f conftest*
23958
23959 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23960 # in glibc 2.1.3, but that breaks too many other things.
23961 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23962 if test $ac_cv_sys_largefile_source != unknown; then
23963
23964 cat >>confdefs.h <<\_ACEOF
23965 #define HAVE_FSEEKO 1
23966 _ACEOF
23967
23968 fi
23969
23970 CPPFLAGS="$old_CPPFLAGS"
23971 ac_ext=c
23972 ac_cpp='$CPP $CPPFLAGS'
23973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23976
23977 if test "$ac_cv_sys_largefile_source" != no; then
23978 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23979 fi
23980
23981 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23982 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23983 if test "${ac_cv_c_bigendian+set}" = set; then
23984 echo $ECHO_N "(cached) $ECHO_C" >&6
23985 else
23986 ac_cv_c_bigendian=unknown
23987 # See if sys/param.h defines the BYTE_ORDER macro.
23988 cat >conftest.$ac_ext <<_ACEOF
23989 /* confdefs.h. */
23990 _ACEOF
23991 cat confdefs.h >>conftest.$ac_ext
23992 cat >>conftest.$ac_ext <<_ACEOF
23993 /* end confdefs.h. */
23994 #include <sys/types.h>
23995 #include <sys/param.h>
23996 int
23997 main ()
23998 {
23999
24000 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24001 bogus endian macros
24002 #endif
24003 ;
24004 return 0;
24005 }
24006 _ACEOF
24007 rm -f conftest.$ac_objext
24008 if { (ac_try="$ac_compile"
24009 case "(($ac_try" in
24010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24011 *) ac_try_echo=$ac_try;;
24012 esac
24013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24014 (eval "$ac_compile") 2>conftest.er1
24015 ac_status=$?
24016 grep -v '^ *+' conftest.er1 >conftest.err
24017 rm -f conftest.er1
24018 cat conftest.err >&5
24019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24020 (exit $ac_status); } && {
24021 test -z "$ac_c_werror_flag" ||
24022 test ! -s conftest.err
24023 } && test -s conftest.$ac_objext; then
24024 # It does; now see whether it defined to BIG_ENDIAN or not.
24025 cat >conftest.$ac_ext <<_ACEOF
24026 /* confdefs.h. */
24027 _ACEOF
24028 cat confdefs.h >>conftest.$ac_ext
24029 cat >>conftest.$ac_ext <<_ACEOF
24030 /* end confdefs.h. */
24031 #include <sys/types.h>
24032 #include <sys/param.h>
24033 int
24034 main ()
24035 {
24036
24037 #if BYTE_ORDER != BIG_ENDIAN
24038 not big endian
24039 #endif
24040 ;
24041 return 0;
24042 }
24043 _ACEOF
24044 rm -f conftest.$ac_objext
24045 if { (ac_try="$ac_compile"
24046 case "(($ac_try" in
24047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24048 *) ac_try_echo=$ac_try;;
24049 esac
24050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24051 (eval "$ac_compile") 2>conftest.er1
24052 ac_status=$?
24053 grep -v '^ *+' conftest.er1 >conftest.err
24054 rm -f conftest.er1
24055 cat conftest.err >&5
24056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24057 (exit $ac_status); } && {
24058 test -z "$ac_c_werror_flag" ||
24059 test ! -s conftest.err
24060 } && test -s conftest.$ac_objext; then
24061 ac_cv_c_bigendian=yes
24062 else
24063 echo "$as_me: failed program was:" >&5
24064 sed 's/^/| /' conftest.$ac_ext >&5
24065
24066 ac_cv_c_bigendian=no
24067 fi
24068
24069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24070 else
24071 echo "$as_me: failed program was:" >&5
24072 sed 's/^/| /' conftest.$ac_ext >&5
24073
24074
24075 fi
24076
24077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24078 if test $ac_cv_c_bigendian = unknown; then
24079 if test "$cross_compiling" = yes; then
24080 ac_cv_c_bigendian=unknown
24081 else
24082 cat >conftest.$ac_ext <<_ACEOF
24083 /* confdefs.h. */
24084 _ACEOF
24085 cat confdefs.h >>conftest.$ac_ext
24086 cat >>conftest.$ac_ext <<_ACEOF
24087 /* end confdefs.h. */
24088 main () {
24089 /* Are we little or big endian? From Harbison&Steele. */
24090 union
24091 {
24092 long l;
24093 char c[sizeof (long)];
24094 } u;
24095 u.l = 1;
24096 exit (u.c[sizeof (long) - 1] == 1);
24097 }
24098 _ACEOF
24099 rm -f conftest$ac_exeext
24100 if { (ac_try="$ac_link"
24101 case "(($ac_try" in
24102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24103 *) ac_try_echo=$ac_try;;
24104 esac
24105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24106 (eval "$ac_link") 2>&5
24107 ac_status=$?
24108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24110 { (case "(($ac_try" in
24111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24112 *) ac_try_echo=$ac_try;;
24113 esac
24114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24115 (eval "$ac_try") 2>&5
24116 ac_status=$?
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); }; }; then
24119 ac_cv_c_bigendian=no
24120 else
24121 echo "$as_me: program exited with status $ac_status" >&5
24122 echo "$as_me: failed program was:" >&5
24123 sed 's/^/| /' conftest.$ac_ext >&5
24124
24125 ( exit $ac_status )
24126 ac_cv_c_bigendian=yes
24127 fi
24128 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24129 fi
24130
24131
24132 fi
24133 fi
24134 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24135 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24136 if test $ac_cv_c_bigendian = unknown; then
24137 { 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
24138 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;}
24139 fi
24140 if test $ac_cv_c_bigendian = yes; then
24141 cat >>confdefs.h <<\_ACEOF
24142 #define WORDS_BIGENDIAN 1
24143 _ACEOF
24144
24145 fi
24146
24147
24148
24149
24150 ac_ext=cpp
24151 ac_cpp='$CXXCPP $CPPFLAGS'
24152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24155
24156
24157
24158 for ac_header in iostream
24159 do
24160 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24161 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24163 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24164 echo $ECHO_N "(cached) $ECHO_C" >&6
24165 else
24166 cat >conftest.$ac_ext <<_ACEOF
24167 /* confdefs.h. */
24168 _ACEOF
24169 cat confdefs.h >>conftest.$ac_ext
24170 cat >>conftest.$ac_ext <<_ACEOF
24171 /* end confdefs.h. */
24172
24173
24174 #include <$ac_header>
24175 _ACEOF
24176 rm -f conftest.$ac_objext
24177 if { (ac_try="$ac_compile"
24178 case "(($ac_try" in
24179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24180 *) ac_try_echo=$ac_try;;
24181 esac
24182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24183 (eval "$ac_compile") 2>conftest.er1
24184 ac_status=$?
24185 grep -v '^ *+' conftest.er1 >conftest.err
24186 rm -f conftest.er1
24187 cat conftest.err >&5
24188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24189 (exit $ac_status); } && {
24190 test -z "$ac_cxx_werror_flag" ||
24191 test ! -s conftest.err
24192 } && test -s conftest.$ac_objext; then
24193 eval "$as_ac_Header=yes"
24194 else
24195 echo "$as_me: failed program was:" >&5
24196 sed 's/^/| /' conftest.$ac_ext >&5
24197
24198 eval "$as_ac_Header=no"
24199 fi
24200
24201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24202 fi
24203 ac_res=`eval echo '${'$as_ac_Header'}'`
24204 { echo "$as_me:$LINENO: result: $ac_res" >&5
24205 echo "${ECHO_T}$ac_res" >&6; }
24206 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24207 cat >>confdefs.h <<_ACEOF
24208 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24209 _ACEOF
24210
24211 fi
24212
24213 done
24214
24215
24216 if test "$ac_cv_header_iostream" = "yes" ; then
24217 :
24218 else
24219 cat >>confdefs.h <<\_ACEOF
24220 #define wxUSE_IOSTREAMH 1
24221 _ACEOF
24222
24223 fi
24224
24225 ac_ext=c
24226 ac_cpp='$CPP $CPPFLAGS'
24227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24230
24231
24232
24233
24234 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24235 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24236 if test "${wx_cv_explicit+set}" = set; then
24237 echo $ECHO_N "(cached) $ECHO_C" >&6
24238 else
24239
24240
24241 ac_ext=cpp
24242 ac_cpp='$CXXCPP $CPPFLAGS'
24243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24246
24247
24248 cat >conftest.$ac_ext <<_ACEOF
24249 /* confdefs.h. */
24250 _ACEOF
24251 cat confdefs.h >>conftest.$ac_ext
24252 cat >>conftest.$ac_ext <<_ACEOF
24253 /* end confdefs.h. */
24254
24255 class Foo { public: explicit Foo(int) {} };
24256
24257 int
24258 main ()
24259 {
24260
24261 return 0;
24262
24263 ;
24264 return 0;
24265 }
24266 _ACEOF
24267 rm -f conftest.$ac_objext
24268 if { (ac_try="$ac_compile"
24269 case "(($ac_try" in
24270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24271 *) ac_try_echo=$ac_try;;
24272 esac
24273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24274 (eval "$ac_compile") 2>conftest.er1
24275 ac_status=$?
24276 grep -v '^ *+' conftest.er1 >conftest.err
24277 rm -f conftest.er1
24278 cat conftest.err >&5
24279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24280 (exit $ac_status); } && {
24281 test -z "$ac_cxx_werror_flag" ||
24282 test ! -s conftest.err
24283 } && test -s conftest.$ac_objext; then
24284
24285 cat >conftest.$ac_ext <<_ACEOF
24286 /* confdefs.h. */
24287 _ACEOF
24288 cat confdefs.h >>conftest.$ac_ext
24289 cat >>conftest.$ac_ext <<_ACEOF
24290 /* end confdefs.h. */
24291
24292 class Foo { public: explicit Foo(int) {} };
24293 static void TakeFoo(const Foo& foo) { }
24294
24295 int
24296 main ()
24297 {
24298
24299 TakeFoo(17);
24300 return 0;
24301
24302 ;
24303 return 0;
24304 }
24305 _ACEOF
24306 rm -f conftest.$ac_objext
24307 if { (ac_try="$ac_compile"
24308 case "(($ac_try" in
24309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24310 *) ac_try_echo=$ac_try;;
24311 esac
24312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24313 (eval "$ac_compile") 2>conftest.er1
24314 ac_status=$?
24315 grep -v '^ *+' conftest.er1 >conftest.err
24316 rm -f conftest.er1
24317 cat conftest.err >&5
24318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24319 (exit $ac_status); } && {
24320 test -z "$ac_cxx_werror_flag" ||
24321 test ! -s conftest.err
24322 } && test -s conftest.$ac_objext; then
24323 wx_cv_explicit=no
24324 else
24325 echo "$as_me: failed program was:" >&5
24326 sed 's/^/| /' conftest.$ac_ext >&5
24327
24328 wx_cv_explicit=yes
24329
24330 fi
24331
24332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24333
24334 else
24335 echo "$as_me: failed program was:" >&5
24336 sed 's/^/| /' conftest.$ac_ext >&5
24337
24338 wx_cv_explicit=no
24339
24340 fi
24341
24342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24343
24344 ac_ext=c
24345 ac_cpp='$CPP $CPPFLAGS'
24346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24349
24350
24351 fi
24352 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24353 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24354
24355 if test "$wx_cv_explicit" = "yes"; then
24356 cat >>confdefs.h <<\_ACEOF
24357 #define HAVE_EXPLICIT 1
24358 _ACEOF
24359
24360 fi
24361
24362
24363 if test "x$SUNCXX" = xyes; then
24364 CXXFLAGS="-features=tmplife $CXXFLAGS"
24365 fi
24366
24367 if test "x$SUNCC" = xyes; then
24368 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24369 fi
24370
24371 if test "x$SGICC" = "xyes"; then
24372 CFLAGS="-woff 3970 $CFLAGS"
24373 fi
24374 if test "x$SGICXX" = "xyes"; then
24375 CXXFLAGS="-woff 3970 $CXXFLAGS"
24376 fi
24377
24378 if test "x$HPCC" = "xyes"; then
24379 CFLAGS="+W 2011,2450 $CFLAGS"
24380 fi
24381 if test "x$HPCXX" = "xyes"; then
24382 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24383 fi
24384
24385 if test "x$COMPAQCXX" = "xyes"; then
24386 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24387 fi
24388
24389 ac_ext=cpp
24390 ac_cpp='$CXXCPP $CPPFLAGS'
24391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24394
24395
24396 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24397 if test "$wxUSE_UNICODE" = "yes"; then
24398 std_string="std::wstring"
24399 char_type="wchar_t"
24400 else
24401 std_string="std::string"
24402 char_type="char"
24403 fi
24404
24405 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24406 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24407 if test "${wx_cv_class_stdstring+set}" = set; then
24408 echo $ECHO_N "(cached) $ECHO_C" >&6
24409 else
24410
24411 cat >conftest.$ac_ext <<_ACEOF
24412 /* confdefs.h. */
24413 _ACEOF
24414 cat confdefs.h >>conftest.$ac_ext
24415 cat >>conftest.$ac_ext <<_ACEOF
24416 /* end confdefs.h. */
24417 #include <string>
24418 int
24419 main ()
24420 {
24421 $std_string foo;
24422 ;
24423 return 0;
24424 }
24425 _ACEOF
24426 rm -f conftest.$ac_objext
24427 if { (ac_try="$ac_compile"
24428 case "(($ac_try" in
24429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24430 *) ac_try_echo=$ac_try;;
24431 esac
24432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24433 (eval "$ac_compile") 2>conftest.er1
24434 ac_status=$?
24435 grep -v '^ *+' conftest.er1 >conftest.err
24436 rm -f conftest.er1
24437 cat conftest.err >&5
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); } && {
24440 test -z "$ac_cxx_werror_flag" ||
24441 test ! -s conftest.err
24442 } && test -s conftest.$ac_objext; then
24443 wx_cv_class_stdstring=yes
24444 else
24445 echo "$as_me: failed program was:" >&5
24446 sed 's/^/| /' conftest.$ac_ext >&5
24447
24448 wx_cv_class_stdstring=no
24449
24450 fi
24451
24452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24453
24454
24455 fi
24456 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24457 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24458
24459 if test "$wx_cv_class_stdstring" = yes; then
24460 if test "$wxUSE_UNICODE" = "yes"; then
24461 cat >>confdefs.h <<\_ACEOF
24462 #define HAVE_STD_WSTRING 1
24463 _ACEOF
24464
24465 fi
24466 else
24467 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24468 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24469 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24470 echo $ECHO_N "(cached) $ECHO_C" >&6
24471 else
24472
24473 cat >conftest.$ac_ext <<_ACEOF
24474 /* confdefs.h. */
24475 _ACEOF
24476 cat confdefs.h >>conftest.$ac_ext
24477 cat >>conftest.$ac_ext <<_ACEOF
24478 /* end confdefs.h. */
24479
24480 #ifdef HAVE_WCHAR_H
24481 # ifdef __CYGWIN__
24482 # include <stddef.h>
24483 # endif
24484 # include <wchar.h>
24485 #endif
24486 #ifdef HAVE_STDLIB_H
24487 # include <stdlib.h>
24488 #endif
24489 #include <stdio.h>
24490 #include <string>
24491
24492 int
24493 main ()
24494 {
24495 std::basic_string<$char_type> foo;
24496 const $char_type* dummy = foo.c_str();
24497 ;
24498 return 0;
24499 }
24500 _ACEOF
24501 rm -f conftest.$ac_objext
24502 if { (ac_try="$ac_compile"
24503 case "(($ac_try" in
24504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24505 *) ac_try_echo=$ac_try;;
24506 esac
24507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24508 (eval "$ac_compile") 2>conftest.er1
24509 ac_status=$?
24510 grep -v '^ *+' conftest.er1 >conftest.err
24511 rm -f conftest.er1
24512 cat conftest.err >&5
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); } && {
24515 test -z "$ac_cxx_werror_flag" ||
24516 test ! -s conftest.err
24517 } && test -s conftest.$ac_objext; then
24518 wx_cv_class_stdbasicstring=yes
24519 else
24520 echo "$as_me: failed program was:" >&5
24521 sed 's/^/| /' conftest.$ac_ext >&5
24522
24523 wx_cv_class_stdbasicstring=no
24524
24525 fi
24526
24527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24528
24529
24530 fi
24531 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24532 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24533
24534 if test "$wx_cv_class_stdbasicstring" != yes; then
24535 if test "$wxUSE_STL" = "yes"; then
24536 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24537 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24538 { (exit 1); exit 1; }; }
24539 elif test "$wxUSE_STD_STRING" = "yes"; then
24540 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24541 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24542 { (exit 1); exit 1; }; }
24543 else
24544 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24545 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24546 wxUSE_STD_STRING=no
24547 fi
24548 fi
24549 fi
24550 fi
24551
24552 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24553 { echo "$as_me:$LINENO: checking for std::istream" >&5
24554 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24555 if test "${ac_cv_type_std__istream+set}" = set; then
24556 echo $ECHO_N "(cached) $ECHO_C" >&6
24557 else
24558 cat >conftest.$ac_ext <<_ACEOF
24559 /* confdefs.h. */
24560 _ACEOF
24561 cat confdefs.h >>conftest.$ac_ext
24562 cat >>conftest.$ac_ext <<_ACEOF
24563 /* end confdefs.h. */
24564 #include <iostream>
24565
24566 typedef std::istream ac__type_new_;
24567 int
24568 main ()
24569 {
24570 if ((ac__type_new_ *) 0)
24571 return 0;
24572 if (sizeof (ac__type_new_))
24573 return 0;
24574 ;
24575 return 0;
24576 }
24577 _ACEOF
24578 rm -f conftest.$ac_objext
24579 if { (ac_try="$ac_compile"
24580 case "(($ac_try" in
24581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24582 *) ac_try_echo=$ac_try;;
24583 esac
24584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24585 (eval "$ac_compile") 2>conftest.er1
24586 ac_status=$?
24587 grep -v '^ *+' conftest.er1 >conftest.err
24588 rm -f conftest.er1
24589 cat conftest.err >&5
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); } && {
24592 test -z "$ac_cxx_werror_flag" ||
24593 test ! -s conftest.err
24594 } && test -s conftest.$ac_objext; then
24595 ac_cv_type_std__istream=yes
24596 else
24597 echo "$as_me: failed program was:" >&5
24598 sed 's/^/| /' conftest.$ac_ext >&5
24599
24600 ac_cv_type_std__istream=no
24601 fi
24602
24603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24604 fi
24605 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24606 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24607 if test $ac_cv_type_std__istream = yes; then
24608
24609 cat >>confdefs.h <<_ACEOF
24610 #define HAVE_STD__ISTREAM 1
24611 _ACEOF
24612
24613
24614 else
24615 wxUSE_STD_IOSTREAM=no
24616 fi
24617 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24618 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24619 if test "${ac_cv_type_std__ostream+set}" = set; then
24620 echo $ECHO_N "(cached) $ECHO_C" >&6
24621 else
24622 cat >conftest.$ac_ext <<_ACEOF
24623 /* confdefs.h. */
24624 _ACEOF
24625 cat confdefs.h >>conftest.$ac_ext
24626 cat >>conftest.$ac_ext <<_ACEOF
24627 /* end confdefs.h. */
24628 #include <iostream>
24629
24630 typedef std::ostream ac__type_new_;
24631 int
24632 main ()
24633 {
24634 if ((ac__type_new_ *) 0)
24635 return 0;
24636 if (sizeof (ac__type_new_))
24637 return 0;
24638 ;
24639 return 0;
24640 }
24641 _ACEOF
24642 rm -f conftest.$ac_objext
24643 if { (ac_try="$ac_compile"
24644 case "(($ac_try" in
24645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24646 *) ac_try_echo=$ac_try;;
24647 esac
24648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24649 (eval "$ac_compile") 2>conftest.er1
24650 ac_status=$?
24651 grep -v '^ *+' conftest.er1 >conftest.err
24652 rm -f conftest.er1
24653 cat conftest.err >&5
24654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24655 (exit $ac_status); } && {
24656 test -z "$ac_cxx_werror_flag" ||
24657 test ! -s conftest.err
24658 } && test -s conftest.$ac_objext; then
24659 ac_cv_type_std__ostream=yes
24660 else
24661 echo "$as_me: failed program was:" >&5
24662 sed 's/^/| /' conftest.$ac_ext >&5
24663
24664 ac_cv_type_std__ostream=no
24665 fi
24666
24667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24668 fi
24669 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24670 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24671 if test $ac_cv_type_std__ostream = yes; then
24672
24673 cat >>confdefs.h <<_ACEOF
24674 #define HAVE_STD__OSTREAM 1
24675 _ACEOF
24676
24677
24678 else
24679 wxUSE_STD_IOSTREAM=no
24680 fi
24681
24682
24683 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24684 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24685 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24686 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24687 { (exit 1); exit 1; }; }
24688 else
24689 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24690 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24691 fi
24692 fi
24693 fi
24694
24695 if test "$wxUSE_STL" = "yes"; then
24696 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24697 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24698 if test "${wx_cv_lib_stl+set}" = set; then
24699 echo $ECHO_N "(cached) $ECHO_C" >&6
24700 else
24701 cat >conftest.$ac_ext <<_ACEOF
24702 /* confdefs.h. */
24703 _ACEOF
24704 cat confdefs.h >>conftest.$ac_ext
24705 cat >>conftest.$ac_ext <<_ACEOF
24706 /* end confdefs.h. */
24707 #include <string>
24708 #include <functional>
24709 #include <algorithm>
24710 #include <vector>
24711 #include <list>
24712 int
24713 main ()
24714 {
24715 std::vector<int> moo;
24716 std::list<int> foo;
24717 std::vector<int>::iterator it =
24718 std::find_if(moo.begin(), moo.end(),
24719 std::bind2nd(std::less<int>(), 3));
24720 ;
24721 return 0;
24722 }
24723 _ACEOF
24724 rm -f conftest.$ac_objext
24725 if { (ac_try="$ac_compile"
24726 case "(($ac_try" in
24727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24728 *) ac_try_echo=$ac_try;;
24729 esac
24730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24731 (eval "$ac_compile") 2>conftest.er1
24732 ac_status=$?
24733 grep -v '^ *+' conftest.er1 >conftest.err
24734 rm -f conftest.er1
24735 cat conftest.err >&5
24736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24737 (exit $ac_status); } && {
24738 test -z "$ac_cxx_werror_flag" ||
24739 test ! -s conftest.err
24740 } && test -s conftest.$ac_objext; then
24741 wx_cv_lib_stl=yes
24742 else
24743 echo "$as_me: failed program was:" >&5
24744 sed 's/^/| /' conftest.$ac_ext >&5
24745
24746 wx_cv_lib_stl=no
24747
24748 fi
24749
24750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24751
24752 fi
24753 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24754 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24755
24756 if test "$wx_cv_lib_stl" != yes; then
24757 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24758 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24759 { (exit 1); exit 1; }; }
24760 fi
24761
24762 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24763 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24764 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24765 echo $ECHO_N "(cached) $ECHO_C" >&6
24766 else
24767 cat >conftest.$ac_ext <<_ACEOF
24768 /* confdefs.h. */
24769 _ACEOF
24770 cat confdefs.h >>conftest.$ac_ext
24771 cat >>conftest.$ac_ext <<_ACEOF
24772 /* end confdefs.h. */
24773 #include <string>
24774 int
24775 main ()
24776 {
24777 std::string foo, bar;
24778 foo.compare(bar);
24779 foo.compare(1, 1, bar);
24780 foo.compare(1, 1, bar, 1, 1);
24781 foo.compare("");
24782 foo.compare(1, 1, "");
24783 foo.compare(1, 1, "", 2);
24784 ;
24785 return 0;
24786 }
24787 _ACEOF
24788 rm -f conftest.$ac_objext
24789 if { (ac_try="$ac_compile"
24790 case "(($ac_try" in
24791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24792 *) ac_try_echo=$ac_try;;
24793 esac
24794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24795 (eval "$ac_compile") 2>conftest.er1
24796 ac_status=$?
24797 grep -v '^ *+' conftest.er1 >conftest.err
24798 rm -f conftest.er1
24799 cat conftest.err >&5
24800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24801 (exit $ac_status); } && {
24802 test -z "$ac_cxx_werror_flag" ||
24803 test ! -s conftest.err
24804 } && test -s conftest.$ac_objext; then
24805 wx_cv_func_stdstring_compare=yes
24806 else
24807 echo "$as_me: failed program was:" >&5
24808 sed 's/^/| /' conftest.$ac_ext >&5
24809
24810 wx_cv_func_stdstring_compare=no
24811
24812 fi
24813
24814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24815
24816 fi
24817 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24818 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24819
24820 if test "$wx_cv_func_stdstring_compare" = yes; then
24821 cat >>confdefs.h <<\_ACEOF
24822 #define HAVE_STD_STRING_COMPARE 1
24823 _ACEOF
24824
24825 fi
24826
24827 if test "$wx_cv_class_gnuhashmapset" = yes; then
24828 cat >>confdefs.h <<\_ACEOF
24829 #define HAVE_EXT_HASH_MAP 1
24830 _ACEOF
24831
24832 cat >>confdefs.h <<\_ACEOF
24833 #define HAVE_GNU_CXX_HASH_MAP 1
24834 _ACEOF
24835
24836 fi
24837
24838 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24839 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24840 if test "${ac_cv_header_unordered_map+set}" = set; then
24841 echo $ECHO_N "(cached) $ECHO_C" >&6
24842 else
24843 cat >conftest.$ac_ext <<_ACEOF
24844 /* confdefs.h. */
24845 _ACEOF
24846 cat confdefs.h >>conftest.$ac_ext
24847 cat >>conftest.$ac_ext <<_ACEOF
24848 /* end confdefs.h. */
24849
24850
24851
24852 #include <unordered_map>
24853 _ACEOF
24854 rm -f conftest.$ac_objext
24855 if { (ac_try="$ac_compile"
24856 case "(($ac_try" in
24857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24858 *) ac_try_echo=$ac_try;;
24859 esac
24860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24861 (eval "$ac_compile") 2>conftest.er1
24862 ac_status=$?
24863 grep -v '^ *+' conftest.er1 >conftest.err
24864 rm -f conftest.er1
24865 cat conftest.err >&5
24866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24867 (exit $ac_status); } && {
24868 test -z "$ac_cxx_werror_flag" ||
24869 test ! -s conftest.err
24870 } && test -s conftest.$ac_objext; then
24871 ac_cv_header_unordered_map=yes
24872 else
24873 echo "$as_me: failed program was:" >&5
24874 sed 's/^/| /' conftest.$ac_ext >&5
24875
24876 ac_cv_header_unordered_map=no
24877 fi
24878
24879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24880 fi
24881 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24882 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24883 if test $ac_cv_header_unordered_map = yes; then
24884 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24885 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24886 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24887 echo $ECHO_N "(cached) $ECHO_C" >&6
24888 else
24889 cat >conftest.$ac_ext <<_ACEOF
24890 /* confdefs.h. */
24891 _ACEOF
24892 cat confdefs.h >>conftest.$ac_ext
24893 cat >>conftest.$ac_ext <<_ACEOF
24894 /* end confdefs.h. */
24895 #include <unordered_map>
24896 #include <unordered_set>
24897 int
24898 main ()
24899 {
24900 std::unordered_map<double*, char*> test1;
24901 std::unordered_set<char*> test2;
24902 ;
24903 return 0;
24904 }
24905 _ACEOF
24906 rm -f conftest.$ac_objext
24907 if { (ac_try="$ac_compile"
24908 case "(($ac_try" in
24909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24910 *) ac_try_echo=$ac_try;;
24911 esac
24912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24913 (eval "$ac_compile") 2>conftest.er1
24914 ac_status=$?
24915 grep -v '^ *+' conftest.er1 >conftest.err
24916 rm -f conftest.er1
24917 cat conftest.err >&5
24918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24919 (exit $ac_status); } && {
24920 test -z "$ac_cxx_werror_flag" ||
24921 test ! -s conftest.err
24922 } && test -s conftest.$ac_objext; then
24923 wx_cv_class_stdunorderedmapset=yes
24924 else
24925 echo "$as_me: failed program was:" >&5
24926 sed 's/^/| /' conftest.$ac_ext >&5
24927
24928 wx_cv_class_stdunorderedmapset=no
24929 fi
24930
24931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24932
24933
24934 fi
24935 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24936 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24937 fi
24938
24939
24940
24941 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24942 cat >>confdefs.h <<\_ACEOF
24943 #define HAVE_STD_UNORDERED_MAP 1
24944 _ACEOF
24945
24946 cat >>confdefs.h <<\_ACEOF
24947 #define HAVE_STD_UNORDERED_SET 1
24948 _ACEOF
24949
24950 else
24951 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24952 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24953 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24954 echo $ECHO_N "(cached) $ECHO_C" >&6
24955 else
24956 cat >conftest.$ac_ext <<_ACEOF
24957 /* confdefs.h. */
24958 _ACEOF
24959 cat confdefs.h >>conftest.$ac_ext
24960 cat >>conftest.$ac_ext <<_ACEOF
24961 /* end confdefs.h. */
24962
24963
24964
24965 #include <tr1/unordered_map>
24966 _ACEOF
24967 rm -f conftest.$ac_objext
24968 if { (ac_try="$ac_compile"
24969 case "(($ac_try" in
24970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24971 *) ac_try_echo=$ac_try;;
24972 esac
24973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24974 (eval "$ac_compile") 2>conftest.er1
24975 ac_status=$?
24976 grep -v '^ *+' conftest.er1 >conftest.err
24977 rm -f conftest.er1
24978 cat conftest.err >&5
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); } && {
24981 test -z "$ac_cxx_werror_flag" ||
24982 test ! -s conftest.err
24983 } && test -s conftest.$ac_objext; then
24984 ac_cv_header_tr1_unordered_map=yes
24985 else
24986 echo "$as_me: failed program was:" >&5
24987 sed 's/^/| /' conftest.$ac_ext >&5
24988
24989 ac_cv_header_tr1_unordered_map=no
24990 fi
24991
24992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24993 fi
24994 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24995 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24996 if test $ac_cv_header_tr1_unordered_map = yes; then
24997 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24998 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24999 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25000 echo $ECHO_N "(cached) $ECHO_C" >&6
25001 else
25002 cat >conftest.$ac_ext <<_ACEOF
25003 /* confdefs.h. */
25004 _ACEOF
25005 cat confdefs.h >>conftest.$ac_ext
25006 cat >>conftest.$ac_ext <<_ACEOF
25007 /* end confdefs.h. */
25008 #include <tr1/unordered_map>
25009 #include <tr1/unordered_set>
25010 int
25011 main ()
25012 {
25013 std::tr1::unordered_map<double*, char*> test1;
25014 std::tr1::unordered_set<char*> test2;
25015 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25016 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25017 #endif
25018 ;
25019 return 0;
25020 }
25021 _ACEOF
25022 rm -f conftest.$ac_objext
25023 if { (ac_try="$ac_compile"
25024 case "(($ac_try" in
25025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25026 *) ac_try_echo=$ac_try;;
25027 esac
25028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25029 (eval "$ac_compile") 2>conftest.er1
25030 ac_status=$?
25031 grep -v '^ *+' conftest.er1 >conftest.err
25032 rm -f conftest.er1
25033 cat conftest.err >&5
25034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25035 (exit $ac_status); } && {
25036 test -z "$ac_cxx_werror_flag" ||
25037 test ! -s conftest.err
25038 } && test -s conftest.$ac_objext; then
25039 wx_cv_class_tr1unorderedmapset=yes
25040 else
25041 echo "$as_me: failed program was:" >&5
25042 sed 's/^/| /' conftest.$ac_ext >&5
25043
25044 wx_cv_class_tr1unorderedmapset=no
25045 fi
25046
25047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25048
25049
25050 fi
25051 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25052 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25053 fi
25054
25055
25056
25057 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25058 cat >>confdefs.h <<\_ACEOF
25059 #define HAVE_TR1_UNORDERED_MAP 1
25060 _ACEOF
25061
25062 cat >>confdefs.h <<\_ACEOF
25063 #define HAVE_TR1_UNORDERED_SET 1
25064 _ACEOF
25065
25066 else
25067 { echo "$as_me:$LINENO: checking for hash_map" >&5
25068 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25069 if test "${ac_cv_header_hash_map+set}" = set; then
25070 echo $ECHO_N "(cached) $ECHO_C" >&6
25071 else
25072 cat >conftest.$ac_ext <<_ACEOF
25073 /* confdefs.h. */
25074 _ACEOF
25075 cat confdefs.h >>conftest.$ac_ext
25076 cat >>conftest.$ac_ext <<_ACEOF
25077 /* end confdefs.h. */
25078
25079
25080
25081 #include <hash_map>
25082 _ACEOF
25083 rm -f conftest.$ac_objext
25084 if { (ac_try="$ac_compile"
25085 case "(($ac_try" in
25086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25087 *) ac_try_echo=$ac_try;;
25088 esac
25089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25090 (eval "$ac_compile") 2>conftest.er1
25091 ac_status=$?
25092 grep -v '^ *+' conftest.er1 >conftest.err
25093 rm -f conftest.er1
25094 cat conftest.err >&5
25095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25096 (exit $ac_status); } && {
25097 test -z "$ac_cxx_werror_flag" ||
25098 test ! -s conftest.err
25099 } && test -s conftest.$ac_objext; then
25100 ac_cv_header_hash_map=yes
25101 else
25102 echo "$as_me: failed program was:" >&5
25103 sed 's/^/| /' conftest.$ac_ext >&5
25104
25105 ac_cv_header_hash_map=no
25106 fi
25107
25108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25109 fi
25110 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25111 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25112 if test $ac_cv_header_hash_map = yes; then
25113 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25114 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25115 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25116 echo $ECHO_N "(cached) $ECHO_C" >&6
25117 else
25118 cat >conftest.$ac_ext <<_ACEOF
25119 /* confdefs.h. */
25120 _ACEOF
25121 cat confdefs.h >>conftest.$ac_ext
25122 cat >>conftest.$ac_ext <<_ACEOF
25123 /* end confdefs.h. */
25124 #include <hash_map>
25125 #include <hash_set>
25126 int
25127 main ()
25128 {
25129 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25130 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25131 ;
25132 return 0;
25133 }
25134 _ACEOF
25135 rm -f conftest.$ac_objext
25136 if { (ac_try="$ac_compile"
25137 case "(($ac_try" in
25138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25139 *) ac_try_echo=$ac_try;;
25140 esac
25141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25142 (eval "$ac_compile") 2>conftest.er1
25143 ac_status=$?
25144 grep -v '^ *+' conftest.er1 >conftest.err
25145 rm -f conftest.er1
25146 cat conftest.err >&5
25147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25148 (exit $ac_status); } && {
25149 test -z "$ac_cxx_werror_flag" ||
25150 test ! -s conftest.err
25151 } && test -s conftest.$ac_objext; then
25152 wx_cv_class_stdhashmapset=yes
25153 else
25154 echo "$as_me: failed program was:" >&5
25155 sed 's/^/| /' conftest.$ac_ext >&5
25156
25157 wx_cv_class_stdhashmapset=no
25158 fi
25159
25160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25161
25162
25163 fi
25164 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25165 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25166 fi
25167
25168
25169
25170 if test "$wx_cv_class_stdhashmapset" = yes; then
25171 cat >>confdefs.h <<\_ACEOF
25172 #define HAVE_HASH_MAP 1
25173 _ACEOF
25174
25175 cat >>confdefs.h <<\_ACEOF
25176 #define HAVE_STD_HASH_MAP 1
25177 _ACEOF
25178
25179 fi
25180
25181 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25182 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25183 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25184 echo $ECHO_N "(cached) $ECHO_C" >&6
25185 else
25186 cat >conftest.$ac_ext <<_ACEOF
25187 /* confdefs.h. */
25188 _ACEOF
25189 cat confdefs.h >>conftest.$ac_ext
25190 cat >>conftest.$ac_ext <<_ACEOF
25191 /* end confdefs.h. */
25192
25193
25194
25195 #include <ext/hash_map>
25196 _ACEOF
25197 rm -f conftest.$ac_objext
25198 if { (ac_try="$ac_compile"
25199 case "(($ac_try" in
25200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25201 *) ac_try_echo=$ac_try;;
25202 esac
25203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25204 (eval "$ac_compile") 2>conftest.er1
25205 ac_status=$?
25206 grep -v '^ *+' conftest.er1 >conftest.err
25207 rm -f conftest.er1
25208 cat conftest.err >&5
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); } && {
25211 test -z "$ac_cxx_werror_flag" ||
25212 test ! -s conftest.err
25213 } && test -s conftest.$ac_objext; then
25214 ac_cv_header_ext_hash_map=yes
25215 else
25216 echo "$as_me: failed program was:" >&5
25217 sed 's/^/| /' conftest.$ac_ext >&5
25218
25219 ac_cv_header_ext_hash_map=no
25220 fi
25221
25222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25223 fi
25224 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25225 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25226 if test $ac_cv_header_ext_hash_map = yes; then
25227 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25228 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25229 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25230 echo $ECHO_N "(cached) $ECHO_C" >&6
25231 else
25232 cat >conftest.$ac_ext <<_ACEOF
25233 /* confdefs.h. */
25234 _ACEOF
25235 cat confdefs.h >>conftest.$ac_ext
25236 cat >>conftest.$ac_ext <<_ACEOF
25237 /* end confdefs.h. */
25238 #include <ext/hash_map>
25239 #include <ext/hash_set>
25240 int
25241 main ()
25242 {
25243 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25244 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25245 ;
25246 return 0;
25247 }
25248 _ACEOF
25249 rm -f conftest.$ac_objext
25250 if { (ac_try="$ac_compile"
25251 case "(($ac_try" in
25252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25253 *) ac_try_echo=$ac_try;;
25254 esac
25255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25256 (eval "$ac_compile") 2>conftest.er1
25257 ac_status=$?
25258 grep -v '^ *+' conftest.er1 >conftest.err
25259 rm -f conftest.er1
25260 cat conftest.err >&5
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); } && {
25263 test -z "$ac_cxx_werror_flag" ||
25264 test ! -s conftest.err
25265 } && test -s conftest.$ac_objext; then
25266 wx_cv_class_gnuhashmapset=yes
25267 else
25268 echo "$as_me: failed program was:" >&5
25269 sed 's/^/| /' conftest.$ac_ext >&5
25270
25271 wx_cv_class_gnuhashmapset=no
25272 fi
25273
25274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25275
25276
25277 fi
25278 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25279 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25280 fi
25281
25282
25283
25284 fi
25285 fi
25286 fi
25287
25288
25289
25290 if test -n "$GCC"; then
25291 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25292 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25293 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25294 echo $ECHO_N "(cached) $ECHO_C" >&6
25295 else
25296
25297 cat >conftest.$ac_ext <<_ACEOF
25298 /* confdefs.h. */
25299 _ACEOF
25300 cat confdefs.h >>conftest.$ac_ext
25301 cat >>conftest.$ac_ext <<_ACEOF
25302 /* end confdefs.h. */
25303
25304 int
25305 main ()
25306 {
25307
25308 unsigned int value=0;
25309 /* wxAtomicInc doesn't use return value here */
25310 __sync_fetch_and_add(&value, 2);
25311 __sync_sub_and_fetch(&value, 1);
25312 /* but wxAtomicDec does, so mimic that: */
25313 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25314
25315 ;
25316 return 0;
25317 }
25318 _ACEOF
25319 rm -f conftest.$ac_objext conftest$ac_exeext
25320 if { (ac_try="$ac_link"
25321 case "(($ac_try" in
25322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25323 *) ac_try_echo=$ac_try;;
25324 esac
25325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25326 (eval "$ac_link") 2>conftest.er1
25327 ac_status=$?
25328 grep -v '^ *+' conftest.er1 >conftest.err
25329 rm -f conftest.er1
25330 cat conftest.err >&5
25331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332 (exit $ac_status); } && {
25333 test -z "$ac_cxx_werror_flag" ||
25334 test ! -s conftest.err
25335 } && test -s conftest$ac_exeext &&
25336 $as_test_x conftest$ac_exeext; then
25337 wx_cv_cc_gcc_atomic_builtins=yes
25338 else
25339 echo "$as_me: failed program was:" >&5
25340 sed 's/^/| /' conftest.$ac_ext >&5
25341
25342 wx_cv_cc_gcc_atomic_builtins=no
25343 fi
25344
25345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25346 conftest$ac_exeext conftest.$ac_ext
25347
25348 fi
25349
25350 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25351 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25352 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25353 cat >>confdefs.h <<\_ACEOF
25354 #define HAVE_GCC_ATOMIC_BUILTINS 1
25355 _ACEOF
25356
25357 fi
25358 fi
25359
25360
25361 ac_ext=c
25362 ac_cpp='$CPP $CPPFLAGS'
25363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25366
25367
25368
25369 SEARCH_INCLUDE="\
25370 /usr/local/include \
25371 /usr/local/X11/include \
25372 /usr/local/include/X11 \
25373 /usr/local/X11R6/include \
25374 /usr/local/include/X11R6 \
25375 \
25376 /usr/Motif-2.1/include \
25377 /usr/Motif-1.2/include \
25378 /usr/include/Motif1.2 \
25379 \
25380 /usr/dt/include \
25381 /usr/openwin/include \
25382 \
25383 /usr/include/Xm \
25384 \
25385 /usr/X11R6/include \
25386 /usr/X11R6.4/include \
25387 \
25388 /usr/include/X11R6 \
25389 \
25390 /usr/X11/include \
25391 /usr/include/X11 \
25392 \
25393 /usr/XFree86/include/X11 \
25394 /usr/pkg/include \
25395 \
25396 /usr/local/X1R5/include \
25397 /usr/local/include/X11R5 \
25398 /usr/X11R5/include \
25399 /usr/include/X11R5 \
25400 \
25401 /usr/local/X11R4/include \
25402 /usr/local/include/X11R4 \
25403 /usr/X11R4/include \
25404 /usr/include/X11R4 \
25405 \
25406 /usr/openwin/share/include"
25407
25408 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25409 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25410
25411 case "${host}" in
25412 *-*-irix6* )
25413 if test "${wx_cv_std_libpath+set}" = set; then
25414 echo $ECHO_N "(cached) $ECHO_C" >&6
25415 else
25416
25417 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25418 for e in a so sl dylib dll.a; do
25419 libc="$d/libc.$e"
25420 if test -f $libc; then
25421 save_LIBS="$LIBS"
25422 LIBS="$libc"
25423 cat >conftest.$ac_ext <<_ACEOF
25424 int main() { return 0; }
25425 _ACEOF
25426 rm -f conftest.$ac_objext conftest$ac_exeext
25427 if { (ac_try="$ac_link"
25428 case "(($ac_try" in
25429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25430 *) ac_try_echo=$ac_try;;
25431 esac
25432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25433 (eval "$ac_link") 2>conftest.er1
25434 ac_status=$?
25435 grep -v '^ *+' conftest.er1 >conftest.err
25436 rm -f conftest.er1
25437 cat conftest.err >&5
25438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25439 (exit $ac_status); } && {
25440 test -z "$ac_c_werror_flag" ||
25441 test ! -s conftest.err
25442 } && test -s conftest$ac_exeext &&
25443 $as_test_x conftest$ac_exeext; then
25444 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25445 else
25446 echo "$as_me: failed program was:" >&5
25447 sed 's/^/| /' conftest.$ac_ext >&5
25448
25449
25450 fi
25451
25452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25453 conftest$ac_exeext conftest.$ac_ext
25454 LIBS="$save_LIBS"
25455 if test "x$wx_cv_std_libpath" != "x"; then
25456 break 2
25457 fi
25458 fi
25459 done
25460 done
25461 if test "x$wx_cv_std_libpath" = "x"; then
25462 wx_cv_std_libpath="lib"
25463 fi
25464
25465
25466 fi
25467
25468 ;;
25469
25470 *-*-solaris2* )
25471 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25472 wx_cv_std_libpath="lib/64"
25473 else
25474 wx_cv_std_libpath="lib"
25475 fi
25476 ;;
25477
25478 *-*-linux* )
25479 if test "$ac_cv_sizeof_void_p" = 8 -a \
25480 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25481 wx_cv_std_libpath="lib64"
25482 else
25483 wx_cv_std_libpath="lib"
25484 fi
25485 ;;
25486
25487 *)
25488 wx_cv_std_libpath="lib";
25489 ;;
25490 esac
25491
25492 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25493 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25494
25495 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25496
25497 if test "$build" != "$host" -a "$GCC" = yes; then
25498 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25499 cross_root=`dirname $cross_root`
25500 cross_root=`dirname $cross_root`
25501
25502 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25503 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25504 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25505
25506 if test -z "$PKG_CONFIG_PATH"; then
25507 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25508 export PKG_CONFIG_PATH
25509 fi
25510
25511 if test -z "$x_includes" -o "$x_includes" = NONE; then
25512
25513 ac_find_includes=
25514 for ac_dir in $SEARCH_INCLUDE /usr/include;
25515 do
25516 if test -f "$ac_dir/X11/Intrinsic.h"; then
25517 ac_find_includes=$ac_dir
25518 break
25519 fi
25520 done
25521
25522 x_includes=$ac_find_includes
25523 fi
25524 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25525
25526 ac_find_libraries=
25527 for ac_dir in $SEARCH_LIB;
25528 do
25529 for ac_extension in a so sl dylib dll.a; do
25530 if test -f "$ac_dir/libXt.$ac_extension"; then
25531 ac_find_libraries=$ac_dir
25532 break 2
25533 fi
25534 done
25535 done
25536
25537 x_libraries=$ac_find_libraries
25538 fi
25539 fi
25540 fi
25541
25542
25543 cat >confcache <<\_ACEOF
25544 # This file is a shell script that caches the results of configure
25545 # tests run on this system so they can be shared between configure
25546 # scripts and configure runs, see configure's option --config-cache.
25547 # It is not useful on other systems. If it contains results you don't
25548 # want to keep, you may remove or edit it.
25549 #
25550 # config.status only pays attention to the cache file if you give it
25551 # the --recheck option to rerun configure.
25552 #
25553 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25554 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25555 # following values.
25556
25557 _ACEOF
25558
25559 # The following way of writing the cache mishandles newlines in values,
25560 # but we know of no workaround that is simple, portable, and efficient.
25561 # So, we kill variables containing newlines.
25562 # Ultrix sh set writes to stderr and can't be redirected directly,
25563 # and sets the high bit in the cache file unless we assign to the vars.
25564 (
25565 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25566 eval ac_val=\$$ac_var
25567 case $ac_val in #(
25568 *${as_nl}*)
25569 case $ac_var in #(
25570 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25571 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25572 esac
25573 case $ac_var in #(
25574 _ | IFS | as_nl) ;; #(
25575 *) $as_unset $ac_var ;;
25576 esac ;;
25577 esac
25578 done
25579
25580 (set) 2>&1 |
25581 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25582 *${as_nl}ac_space=\ *)
25583 # `set' does not quote correctly, so add quotes (double-quote
25584 # substitution turns \\\\ into \\, and sed turns \\ into \).
25585 sed -n \
25586 "s/'/'\\\\''/g;
25587 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25588 ;; #(
25589 *)
25590 # `set' quotes correctly as required by POSIX, so do not add quotes.
25591 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25592 ;;
25593 esac |
25594 sort
25595 ) |
25596 sed '
25597 /^ac_cv_env_/b end
25598 t clear
25599 :clear
25600 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25601 t end
25602 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25603 :end' >>confcache
25604 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25605 if test -w "$cache_file"; then
25606 test "x$cache_file" != "x/dev/null" &&
25607 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25608 echo "$as_me: updating cache $cache_file" >&6;}
25609 cat confcache >$cache_file
25610 else
25611 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25612 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25613 fi
25614 fi
25615 rm -f confcache
25616
25617 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25618 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25619 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25620 if test "${wx_cv_lib_glibc21+set}" = set; then
25621 echo $ECHO_N "(cached) $ECHO_C" >&6
25622 else
25623
25624 cat >conftest.$ac_ext <<_ACEOF
25625 /* confdefs.h. */
25626 _ACEOF
25627 cat confdefs.h >>conftest.$ac_ext
25628 cat >>conftest.$ac_ext <<_ACEOF
25629 /* end confdefs.h. */
25630 #include <features.h>
25631 int
25632 main ()
25633 {
25634
25635 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25636 not glibc 2.1
25637 #endif
25638
25639 ;
25640 return 0;
25641 }
25642 _ACEOF
25643 rm -f conftest.$ac_objext
25644 if { (ac_try="$ac_compile"
25645 case "(($ac_try" in
25646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25647 *) ac_try_echo=$ac_try;;
25648 esac
25649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25650 (eval "$ac_compile") 2>conftest.er1
25651 ac_status=$?
25652 grep -v '^ *+' conftest.er1 >conftest.err
25653 rm -f conftest.er1
25654 cat conftest.err >&5
25655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25656 (exit $ac_status); } && {
25657 test -z "$ac_c_werror_flag" ||
25658 test ! -s conftest.err
25659 } && test -s conftest.$ac_objext; then
25660
25661 wx_cv_lib_glibc21=yes
25662
25663 else
25664 echo "$as_me: failed program was:" >&5
25665 sed 's/^/| /' conftest.$ac_ext >&5
25666
25667
25668 wx_cv_lib_glibc21=no
25669
25670
25671 fi
25672
25673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25674
25675 fi
25676 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25677 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25678 if test "$wx_cv_lib_glibc21" = "yes"; then
25679 cat >>confdefs.h <<\_ACEOF
25680 #define wxHAVE_GLIBC2 1
25681 _ACEOF
25682
25683 fi
25684 fi
25685
25686 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25687 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25688 cat >>confdefs.h <<\_ACEOF
25689 #define _GNU_SOURCE 1
25690 _ACEOF
25691
25692 fi
25693 fi
25694
25695 have_cos=0
25696 have_floor=0
25697
25698 for ac_func in cos
25699 do
25700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25701 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25703 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25704 echo $ECHO_N "(cached) $ECHO_C" >&6
25705 else
25706 cat >conftest.$ac_ext <<_ACEOF
25707 /* confdefs.h. */
25708 _ACEOF
25709 cat confdefs.h >>conftest.$ac_ext
25710 cat >>conftest.$ac_ext <<_ACEOF
25711 /* end confdefs.h. */
25712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25714 #define $ac_func innocuous_$ac_func
25715
25716 /* System header to define __stub macros and hopefully few prototypes,
25717 which can conflict with char $ac_func (); below.
25718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25719 <limits.h> exists even on freestanding compilers. */
25720
25721 #ifdef __STDC__
25722 # include <limits.h>
25723 #else
25724 # include <assert.h>
25725 #endif
25726
25727 #undef $ac_func
25728
25729 /* Override any GCC internal prototype to avoid an error.
25730 Use char because int might match the return type of a GCC
25731 builtin and then its argument prototype would still apply. */
25732 #ifdef __cplusplus
25733 extern "C"
25734 #endif
25735 char $ac_func ();
25736 /* The GNU C library defines this for functions which it implements
25737 to always fail with ENOSYS. Some functions are actually named
25738 something starting with __ and the normal name is an alias. */
25739 #if defined __stub_$ac_func || defined __stub___$ac_func
25740 choke me
25741 #endif
25742
25743 int
25744 main ()
25745 {
25746 return $ac_func ();
25747 ;
25748 return 0;
25749 }
25750 _ACEOF
25751 rm -f conftest.$ac_objext conftest$ac_exeext
25752 if { (ac_try="$ac_link"
25753 case "(($ac_try" in
25754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25755 *) ac_try_echo=$ac_try;;
25756 esac
25757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25758 (eval "$ac_link") 2>conftest.er1
25759 ac_status=$?
25760 grep -v '^ *+' conftest.er1 >conftest.err
25761 rm -f conftest.er1
25762 cat conftest.err >&5
25763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764 (exit $ac_status); } && {
25765 test -z "$ac_c_werror_flag" ||
25766 test ! -s conftest.err
25767 } && test -s conftest$ac_exeext &&
25768 $as_test_x conftest$ac_exeext; then
25769 eval "$as_ac_var=yes"
25770 else
25771 echo "$as_me: failed program was:" >&5
25772 sed 's/^/| /' conftest.$ac_ext >&5
25773
25774 eval "$as_ac_var=no"
25775 fi
25776
25777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25778 conftest$ac_exeext conftest.$ac_ext
25779 fi
25780 ac_res=`eval echo '${'$as_ac_var'}'`
25781 { echo "$as_me:$LINENO: result: $ac_res" >&5
25782 echo "${ECHO_T}$ac_res" >&6; }
25783 if test `eval echo '${'$as_ac_var'}'` = yes; then
25784 cat >>confdefs.h <<_ACEOF
25785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25786 _ACEOF
25787 have_cos=1
25788 fi
25789 done
25790
25791
25792 for ac_func in floor
25793 do
25794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25795 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25797 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25798 echo $ECHO_N "(cached) $ECHO_C" >&6
25799 else
25800 cat >conftest.$ac_ext <<_ACEOF
25801 /* confdefs.h. */
25802 _ACEOF
25803 cat confdefs.h >>conftest.$ac_ext
25804 cat >>conftest.$ac_ext <<_ACEOF
25805 /* end confdefs.h. */
25806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25808 #define $ac_func innocuous_$ac_func
25809
25810 /* System header to define __stub macros and hopefully few prototypes,
25811 which can conflict with char $ac_func (); below.
25812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25813 <limits.h> exists even on freestanding compilers. */
25814
25815 #ifdef __STDC__
25816 # include <limits.h>
25817 #else
25818 # include <assert.h>
25819 #endif
25820
25821 #undef $ac_func
25822
25823 /* Override any GCC internal prototype to avoid an error.
25824 Use char because int might match the return type of a GCC
25825 builtin and then its argument prototype would still apply. */
25826 #ifdef __cplusplus
25827 extern "C"
25828 #endif
25829 char $ac_func ();
25830 /* The GNU C library defines this for functions which it implements
25831 to always fail with ENOSYS. Some functions are actually named
25832 something starting with __ and the normal name is an alias. */
25833 #if defined __stub_$ac_func || defined __stub___$ac_func
25834 choke me
25835 #endif
25836
25837 int
25838 main ()
25839 {
25840 return $ac_func ();
25841 ;
25842 return 0;
25843 }
25844 _ACEOF
25845 rm -f conftest.$ac_objext conftest$ac_exeext
25846 if { (ac_try="$ac_link"
25847 case "(($ac_try" in
25848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25849 *) ac_try_echo=$ac_try;;
25850 esac
25851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25852 (eval "$ac_link") 2>conftest.er1
25853 ac_status=$?
25854 grep -v '^ *+' conftest.er1 >conftest.err
25855 rm -f conftest.er1
25856 cat conftest.err >&5
25857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858 (exit $ac_status); } && {
25859 test -z "$ac_c_werror_flag" ||
25860 test ! -s conftest.err
25861 } && test -s conftest$ac_exeext &&
25862 $as_test_x conftest$ac_exeext; then
25863 eval "$as_ac_var=yes"
25864 else
25865 echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.$ac_ext >&5
25867
25868 eval "$as_ac_var=no"
25869 fi
25870
25871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25872 conftest$ac_exeext conftest.$ac_ext
25873 fi
25874 ac_res=`eval echo '${'$as_ac_var'}'`
25875 { echo "$as_me:$LINENO: result: $ac_res" >&5
25876 echo "${ECHO_T}$ac_res" >&6; }
25877 if test `eval echo '${'$as_ac_var'}'` = yes; then
25878 cat >>confdefs.h <<_ACEOF
25879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25880 _ACEOF
25881 have_floor=1
25882 fi
25883 done
25884
25885 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25886 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25887 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25888 { echo "$as_me:$LINENO: result: yes" >&5
25889 echo "${ECHO_T}yes" >&6; }
25890 else
25891 { echo "$as_me:$LINENO: result: no" >&5
25892 echo "${ECHO_T}no" >&6; }
25893 LIBS="$LIBS -lm"
25894 # use different functions to avoid configure caching
25895 have_sin=0
25896 have_ceil=0
25897
25898 for ac_func in sin
25899 do
25900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25901 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25903 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25904 echo $ECHO_N "(cached) $ECHO_C" >&6
25905 else
25906 cat >conftest.$ac_ext <<_ACEOF
25907 /* confdefs.h. */
25908 _ACEOF
25909 cat confdefs.h >>conftest.$ac_ext
25910 cat >>conftest.$ac_ext <<_ACEOF
25911 /* end confdefs.h. */
25912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25914 #define $ac_func innocuous_$ac_func
25915
25916 /* System header to define __stub macros and hopefully few prototypes,
25917 which can conflict with char $ac_func (); below.
25918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25919 <limits.h> exists even on freestanding compilers. */
25920
25921 #ifdef __STDC__
25922 # include <limits.h>
25923 #else
25924 # include <assert.h>
25925 #endif
25926
25927 #undef $ac_func
25928
25929 /* Override any GCC internal prototype to avoid an error.
25930 Use char because int might match the return type of a GCC
25931 builtin and then its argument prototype would still apply. */
25932 #ifdef __cplusplus
25933 extern "C"
25934 #endif
25935 char $ac_func ();
25936 /* The GNU C library defines this for functions which it implements
25937 to always fail with ENOSYS. Some functions are actually named
25938 something starting with __ and the normal name is an alias. */
25939 #if defined __stub_$ac_func || defined __stub___$ac_func
25940 choke me
25941 #endif
25942
25943 int
25944 main ()
25945 {
25946 return $ac_func ();
25947 ;
25948 return 0;
25949 }
25950 _ACEOF
25951 rm -f conftest.$ac_objext conftest$ac_exeext
25952 if { (ac_try="$ac_link"
25953 case "(($ac_try" in
25954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25955 *) ac_try_echo=$ac_try;;
25956 esac
25957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25958 (eval "$ac_link") 2>conftest.er1
25959 ac_status=$?
25960 grep -v '^ *+' conftest.er1 >conftest.err
25961 rm -f conftest.er1
25962 cat conftest.err >&5
25963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25964 (exit $ac_status); } && {
25965 test -z "$ac_c_werror_flag" ||
25966 test ! -s conftest.err
25967 } && test -s conftest$ac_exeext &&
25968 $as_test_x conftest$ac_exeext; then
25969 eval "$as_ac_var=yes"
25970 else
25971 echo "$as_me: failed program was:" >&5
25972 sed 's/^/| /' conftest.$ac_ext >&5
25973
25974 eval "$as_ac_var=no"
25975 fi
25976
25977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25978 conftest$ac_exeext conftest.$ac_ext
25979 fi
25980 ac_res=`eval echo '${'$as_ac_var'}'`
25981 { echo "$as_me:$LINENO: result: $ac_res" >&5
25982 echo "${ECHO_T}$ac_res" >&6; }
25983 if test `eval echo '${'$as_ac_var'}'` = yes; then
25984 cat >>confdefs.h <<_ACEOF
25985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25986 _ACEOF
25987 have_sin=1
25988 fi
25989 done
25990
25991
25992 for ac_func in ceil
25993 do
25994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25995 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25997 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25998 echo $ECHO_N "(cached) $ECHO_C" >&6
25999 else
26000 cat >conftest.$ac_ext <<_ACEOF
26001 /* confdefs.h. */
26002 _ACEOF
26003 cat confdefs.h >>conftest.$ac_ext
26004 cat >>conftest.$ac_ext <<_ACEOF
26005 /* end confdefs.h. */
26006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26008 #define $ac_func innocuous_$ac_func
26009
26010 /* System header to define __stub macros and hopefully few prototypes,
26011 which can conflict with char $ac_func (); below.
26012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26013 <limits.h> exists even on freestanding compilers. */
26014
26015 #ifdef __STDC__
26016 # include <limits.h>
26017 #else
26018 # include <assert.h>
26019 #endif
26020
26021 #undef $ac_func
26022
26023 /* Override any GCC internal prototype to avoid an error.
26024 Use char because int might match the return type of a GCC
26025 builtin and then its argument prototype would still apply. */
26026 #ifdef __cplusplus
26027 extern "C"
26028 #endif
26029 char $ac_func ();
26030 /* The GNU C library defines this for functions which it implements
26031 to always fail with ENOSYS. Some functions are actually named
26032 something starting with __ and the normal name is an alias. */
26033 #if defined __stub_$ac_func || defined __stub___$ac_func
26034 choke me
26035 #endif
26036
26037 int
26038 main ()
26039 {
26040 return $ac_func ();
26041 ;
26042 return 0;
26043 }
26044 _ACEOF
26045 rm -f conftest.$ac_objext conftest$ac_exeext
26046 if { (ac_try="$ac_link"
26047 case "(($ac_try" in
26048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26049 *) ac_try_echo=$ac_try;;
26050 esac
26051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26052 (eval "$ac_link") 2>conftest.er1
26053 ac_status=$?
26054 grep -v '^ *+' conftest.er1 >conftest.err
26055 rm -f conftest.er1
26056 cat conftest.err >&5
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); } && {
26059 test -z "$ac_c_werror_flag" ||
26060 test ! -s conftest.err
26061 } && test -s conftest$ac_exeext &&
26062 $as_test_x conftest$ac_exeext; then
26063 eval "$as_ac_var=yes"
26064 else
26065 echo "$as_me: failed program was:" >&5
26066 sed 's/^/| /' conftest.$ac_ext >&5
26067
26068 eval "$as_ac_var=no"
26069 fi
26070
26071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26072 conftest$ac_exeext conftest.$ac_ext
26073 fi
26074 ac_res=`eval echo '${'$as_ac_var'}'`
26075 { echo "$as_me:$LINENO: result: $ac_res" >&5
26076 echo "${ECHO_T}$ac_res" >&6; }
26077 if test `eval echo '${'$as_ac_var'}'` = yes; then
26078 cat >>confdefs.h <<_ACEOF
26079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26080 _ACEOF
26081 have_ceil=1
26082 fi
26083 done
26084
26085 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26086 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26087 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26088 { echo "$as_me:$LINENO: result: yes" >&5
26089 echo "${ECHO_T}yes" >&6; }
26090 else
26091 { echo "$as_me:$LINENO: result: no" >&5
26092 echo "${ECHO_T}no" >&6; }
26093 # not sure we should warn the user, crash, etc.
26094 fi
26095 fi
26096
26097 ac_ext=cpp
26098 ac_cpp='$CXXCPP $CPPFLAGS'
26099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26102
26103 if test "wxUSE_UNICODE" = "yes"; then
26104
26105 for wx_func in wcstoull
26106 do
26107 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26108 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26109 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26110 echo $ECHO_N "(cached) $ECHO_C" >&6
26111 else
26112
26113 cat >conftest.$ac_ext <<_ACEOF
26114
26115 /* confdefs.h. */
26116 _ACEOF
26117 cat confdefs.h >>conftest.$ac_ext
26118 cat >>conftest.$ac_ext <<_ACEOF
26119 /* end confdefs.h. */
26120
26121
26122 $ac_includes_default
26123
26124 int
26125 main ()
26126 {
26127
26128 #ifndef $wx_func
26129 &$wx_func;
26130 #endif
26131
26132
26133 ;
26134 return 0;
26135 }
26136
26137 _ACEOF
26138 rm -f conftest.$ac_objext conftest$ac_exeext
26139 if { (ac_try="$ac_link"
26140 case "(($ac_try" in
26141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26142 *) ac_try_echo=$ac_try;;
26143 esac
26144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26145 (eval "$ac_link") 2>conftest.er1
26146 ac_status=$?
26147 grep -v '^ *+' conftest.er1 >conftest.err
26148 rm -f conftest.er1
26149 cat conftest.err >&5
26150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26151 (exit $ac_status); } && {
26152 test -z "$ac_cxx_werror_flag" ||
26153 test ! -s conftest.err
26154 } && test -s conftest$ac_exeext &&
26155 $as_test_x conftest$ac_exeext; then
26156 eval wx_cv_func_$wx_func=yes
26157 else
26158 echo "$as_me: failed program was:" >&5
26159 sed 's/^/| /' conftest.$ac_ext >&5
26160
26161 eval wx_cv_func_$wx_func=no
26162 fi
26163
26164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26165 conftest$ac_exeext conftest.$ac_ext
26166
26167 fi
26168 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26169 { echo "$as_me:$LINENO: result: $ac_res" >&5
26170 echo "${ECHO_T}$ac_res" >&6; }
26171
26172 if eval test \$wx_cv_func_$wx_func = yes
26173 then
26174 cat >>confdefs.h <<_ACEOF
26175 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26176 _ACEOF
26177
26178
26179 else
26180 :
26181
26182 fi
26183 done
26184
26185 else
26186
26187 for wx_func in strtoull
26188 do
26189 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26190 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26191 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26192 echo $ECHO_N "(cached) $ECHO_C" >&6
26193 else
26194
26195 cat >conftest.$ac_ext <<_ACEOF
26196
26197 /* confdefs.h. */
26198 _ACEOF
26199 cat confdefs.h >>conftest.$ac_ext
26200 cat >>conftest.$ac_ext <<_ACEOF
26201 /* end confdefs.h. */
26202
26203
26204 $ac_includes_default
26205
26206 int
26207 main ()
26208 {
26209
26210 #ifndef $wx_func
26211 &$wx_func;
26212 #endif
26213
26214
26215 ;
26216 return 0;
26217 }
26218
26219 _ACEOF
26220 rm -f conftest.$ac_objext conftest$ac_exeext
26221 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
26228 ac_status=$?
26229 grep -v '^ *+' conftest.er1 >conftest.err
26230 rm -f conftest.er1
26231 cat conftest.err >&5
26232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26233 (exit $ac_status); } && {
26234 test -z "$ac_cxx_werror_flag" ||
26235 test ! -s conftest.err
26236 } && test -s conftest$ac_exeext &&
26237 $as_test_x conftest$ac_exeext; then
26238 eval wx_cv_func_$wx_func=yes
26239 else
26240 echo "$as_me: failed program was:" >&5
26241 sed 's/^/| /' conftest.$ac_ext >&5
26242
26243 eval wx_cv_func_$wx_func=no
26244 fi
26245
26246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26247 conftest$ac_exeext conftest.$ac_ext
26248
26249 fi
26250 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26251 { echo "$as_me:$LINENO: result: $ac_res" >&5
26252 echo "${ECHO_T}$ac_res" >&6; }
26253
26254 if eval test \$wx_cv_func_$wx_func = yes
26255 then
26256 cat >>confdefs.h <<_ACEOF
26257 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26258 _ACEOF
26259
26260
26261 else
26262 :
26263
26264 fi
26265 done
26266
26267 fi
26268 ac_ext=c
26269 ac_cpp='$CPP $CPPFLAGS'
26270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26273
26274
26275
26276
26277 if test "$wxUSE_REGEX" != "no"; then
26278 cat >>confdefs.h <<\_ACEOF
26279 #define wxUSE_REGEX 1
26280 _ACEOF
26281
26282
26283 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26284 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26285 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26286 wxUSE_REGEX=builtin
26287 fi
26288
26289 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26290 { echo "$as_me:$LINENO: checking for regex.h" >&5
26291 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26292 if test "${ac_cv_header_regex_h+set}" = set; then
26293 echo $ECHO_N "(cached) $ECHO_C" >&6
26294 else
26295 cat >conftest.$ac_ext <<_ACEOF
26296 /* confdefs.h. */
26297 _ACEOF
26298 cat confdefs.h >>conftest.$ac_ext
26299 cat >>conftest.$ac_ext <<_ACEOF
26300 /* end confdefs.h. */
26301
26302
26303 #include <regex.h>
26304 _ACEOF
26305 rm -f conftest.$ac_objext
26306 if { (ac_try="$ac_compile"
26307 case "(($ac_try" in
26308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26309 *) ac_try_echo=$ac_try;;
26310 esac
26311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26312 (eval "$ac_compile") 2>conftest.er1
26313 ac_status=$?
26314 grep -v '^ *+' conftest.er1 >conftest.err
26315 rm -f conftest.er1
26316 cat conftest.err >&5
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); } && {
26319 test -z "$ac_c_werror_flag" ||
26320 test ! -s conftest.err
26321 } && test -s conftest.$ac_objext; then
26322 ac_cv_header_regex_h=yes
26323 else
26324 echo "$as_me: failed program was:" >&5
26325 sed 's/^/| /' conftest.$ac_ext >&5
26326
26327 ac_cv_header_regex_h=no
26328 fi
26329
26330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26331 fi
26332 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26333 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26334 if test $ac_cv_header_regex_h = yes; then
26335
26336
26337 for ac_func in regcomp re_search
26338 do
26339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26340 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26342 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26343 echo $ECHO_N "(cached) $ECHO_C" >&6
26344 else
26345 cat >conftest.$ac_ext <<_ACEOF
26346 /* confdefs.h. */
26347 _ACEOF
26348 cat confdefs.h >>conftest.$ac_ext
26349 cat >>conftest.$ac_ext <<_ACEOF
26350 /* end confdefs.h. */
26351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26353 #define $ac_func innocuous_$ac_func
26354
26355 /* System header to define __stub macros and hopefully few prototypes,
26356 which can conflict with char $ac_func (); below.
26357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26358 <limits.h> exists even on freestanding compilers. */
26359
26360 #ifdef __STDC__
26361 # include <limits.h>
26362 #else
26363 # include <assert.h>
26364 #endif
26365
26366 #undef $ac_func
26367
26368 /* Override any GCC internal prototype to avoid an error.
26369 Use char because int might match the return type of a GCC
26370 builtin and then its argument prototype would still apply. */
26371 #ifdef __cplusplus
26372 extern "C"
26373 #endif
26374 char $ac_func ();
26375 /* The GNU C library defines this for functions which it implements
26376 to always fail with ENOSYS. Some functions are actually named
26377 something starting with __ and the normal name is an alias. */
26378 #if defined __stub_$ac_func || defined __stub___$ac_func
26379 choke me
26380 #endif
26381
26382 int
26383 main ()
26384 {
26385 return $ac_func ();
26386 ;
26387 return 0;
26388 }
26389 _ACEOF
26390 rm -f conftest.$ac_objext conftest$ac_exeext
26391 if { (ac_try="$ac_link"
26392 case "(($ac_try" in
26393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26394 *) ac_try_echo=$ac_try;;
26395 esac
26396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26397 (eval "$ac_link") 2>conftest.er1
26398 ac_status=$?
26399 grep -v '^ *+' conftest.er1 >conftest.err
26400 rm -f conftest.er1
26401 cat conftest.err >&5
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); } && {
26404 test -z "$ac_c_werror_flag" ||
26405 test ! -s conftest.err
26406 } && test -s conftest$ac_exeext &&
26407 $as_test_x conftest$ac_exeext; then
26408 eval "$as_ac_var=yes"
26409 else
26410 echo "$as_me: failed program was:" >&5
26411 sed 's/^/| /' conftest.$ac_ext >&5
26412
26413 eval "$as_ac_var=no"
26414 fi
26415
26416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26417 conftest$ac_exeext conftest.$ac_ext
26418 fi
26419 ac_res=`eval echo '${'$as_ac_var'}'`
26420 { echo "$as_me:$LINENO: result: $ac_res" >&5
26421 echo "${ECHO_T}$ac_res" >&6; }
26422 if test `eval echo '${'$as_ac_var'}'` = yes; then
26423 cat >>confdefs.h <<_ACEOF
26424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26425 _ACEOF
26426
26427 fi
26428 done
26429
26430 fi
26431
26432
26433
26434 if test "x$ac_cv_func_regcomp" != "xyes"; then
26435 if test "$wxUSE_REGEX" = "sys" ; then
26436 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26437 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26438 { (exit 1); exit 1; }; }
26439 else
26440 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26441 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26442 wxUSE_REGEX=builtin
26443 fi
26444 else
26445 wxUSE_REGEX=sys
26446 cat >>confdefs.h <<\_ACEOF
26447 #define WX_NO_REGEX_ADVANCED 1
26448 _ACEOF
26449
26450 fi
26451 fi
26452 fi
26453
26454
26455 ZLIB_LINK=
26456 if test "$wxUSE_ZLIB" != "no" ; then
26457 cat >>confdefs.h <<\_ACEOF
26458 #define wxUSE_ZLIB 1
26459 _ACEOF
26460
26461
26462 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26463 if test "$USE_DARWIN" = 1; then
26464 system_zlib_h_ok="yes"
26465 else
26466 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26467 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26468 if test "${ac_cv_header_zlib_h+set}" = set; then
26469 echo $ECHO_N "(cached) $ECHO_C" >&6
26470 else
26471 if test "$cross_compiling" = yes; then
26472 unset ac_cv_header_zlib_h
26473
26474 else
26475 cat >conftest.$ac_ext <<_ACEOF
26476 /* confdefs.h. */
26477 _ACEOF
26478 cat confdefs.h >>conftest.$ac_ext
26479 cat >>conftest.$ac_ext <<_ACEOF
26480 /* end confdefs.h. */
26481
26482 #include <zlib.h>
26483 #include <stdio.h>
26484
26485 int main()
26486 {
26487 FILE *f=fopen("conftestval", "w");
26488 if (!f) exit(1);
26489 fprintf(f, "%s",
26490 ZLIB_VERSION[0] == '1' &&
26491 (ZLIB_VERSION[2] > '1' ||
26492 (ZLIB_VERSION[2] == '1' &&
26493 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26494 exit(0);
26495 }
26496
26497 _ACEOF
26498 rm -f conftest$ac_exeext
26499 if { (ac_try="$ac_link"
26500 case "(($ac_try" in
26501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26502 *) ac_try_echo=$ac_try;;
26503 esac
26504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26505 (eval "$ac_link") 2>&5
26506 ac_status=$?
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26509 { (case "(($ac_try" in
26510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26511 *) ac_try_echo=$ac_try;;
26512 esac
26513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26514 (eval "$ac_try") 2>&5
26515 ac_status=$?
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); }; }; then
26518 ac_cv_header_zlib_h=`cat conftestval`
26519 else
26520 echo "$as_me: program exited with status $ac_status" >&5
26521 echo "$as_me: failed program was:" >&5
26522 sed 's/^/| /' conftest.$ac_ext >&5
26523
26524 ( exit $ac_status )
26525 ac_cv_header_zlib_h=no
26526 fi
26527 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26528 fi
26529
26530
26531
26532 fi
26533 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26534 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26535 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26536 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26537 if test "${ac_cv_header_zlib_h+set}" = set; then
26538 echo $ECHO_N "(cached) $ECHO_C" >&6
26539 else
26540 cat >conftest.$ac_ext <<_ACEOF
26541 /* confdefs.h. */
26542 _ACEOF
26543 cat confdefs.h >>conftest.$ac_ext
26544 cat >>conftest.$ac_ext <<_ACEOF
26545 /* end confdefs.h. */
26546
26547
26548 #include <zlib.h>
26549 _ACEOF
26550 rm -f conftest.$ac_objext
26551 if { (ac_try="$ac_compile"
26552 case "(($ac_try" in
26553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26554 *) ac_try_echo=$ac_try;;
26555 esac
26556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26557 (eval "$ac_compile") 2>conftest.er1
26558 ac_status=$?
26559 grep -v '^ *+' conftest.er1 >conftest.err
26560 rm -f conftest.er1
26561 cat conftest.err >&5
26562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26563 (exit $ac_status); } && {
26564 test -z "$ac_c_werror_flag" ||
26565 test ! -s conftest.err
26566 } && test -s conftest.$ac_objext; then
26567 ac_cv_header_zlib_h=yes
26568 else
26569 echo "$as_me: failed program was:" >&5
26570 sed 's/^/| /' conftest.$ac_ext >&5
26571
26572 ac_cv_header_zlib_h=no
26573 fi
26574
26575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26576 fi
26577 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26578 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26579
26580
26581
26582 system_zlib_h_ok=$ac_cv_header_zlib_h
26583 fi
26584
26585 if test "$system_zlib_h_ok" = "yes"; then
26586 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26587 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26588 if test "${ac_cv_lib_z_deflate+set}" = set; then
26589 echo $ECHO_N "(cached) $ECHO_C" >&6
26590 else
26591 ac_check_lib_save_LIBS=$LIBS
26592 LIBS="-lz $LIBS"
26593 cat >conftest.$ac_ext <<_ACEOF
26594 /* confdefs.h. */
26595 _ACEOF
26596 cat confdefs.h >>conftest.$ac_ext
26597 cat >>conftest.$ac_ext <<_ACEOF
26598 /* end confdefs.h. */
26599
26600 /* Override any GCC internal prototype to avoid an error.
26601 Use char because int might match the return type of a GCC
26602 builtin and then its argument prototype would still apply. */
26603 #ifdef __cplusplus
26604 extern "C"
26605 #endif
26606 char deflate ();
26607 int
26608 main ()
26609 {
26610 return deflate ();
26611 ;
26612 return 0;
26613 }
26614 _ACEOF
26615 rm -f conftest.$ac_objext conftest$ac_exeext
26616 if { (ac_try="$ac_link"
26617 case "(($ac_try" in
26618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26619 *) ac_try_echo=$ac_try;;
26620 esac
26621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26622 (eval "$ac_link") 2>conftest.er1
26623 ac_status=$?
26624 grep -v '^ *+' conftest.er1 >conftest.err
26625 rm -f conftest.er1
26626 cat conftest.err >&5
26627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26628 (exit $ac_status); } && {
26629 test -z "$ac_c_werror_flag" ||
26630 test ! -s conftest.err
26631 } && test -s conftest$ac_exeext &&
26632 $as_test_x conftest$ac_exeext; then
26633 ac_cv_lib_z_deflate=yes
26634 else
26635 echo "$as_me: failed program was:" >&5
26636 sed 's/^/| /' conftest.$ac_ext >&5
26637
26638 ac_cv_lib_z_deflate=no
26639 fi
26640
26641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26642 conftest$ac_exeext conftest.$ac_ext
26643 LIBS=$ac_check_lib_save_LIBS
26644 fi
26645 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26646 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26647 if test $ac_cv_lib_z_deflate = yes; then
26648 ZLIB_LINK=" -lz"
26649 fi
26650
26651 fi
26652
26653 if test "x$ZLIB_LINK" = "x" ; then
26654 if test "$wxUSE_ZLIB" = "sys" ; then
26655 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26656 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26657 { (exit 1); exit 1; }; }
26658 else
26659 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26660 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26661 wxUSE_ZLIB=builtin
26662 fi
26663 else
26664 wxUSE_ZLIB=sys
26665 fi
26666 fi
26667 fi
26668
26669
26670 PNG_LINK=
26671 if test "$wxUSE_LIBPNG" != "no" ; then
26672 cat >>confdefs.h <<\_ACEOF
26673 #define wxUSE_LIBPNG 1
26674 _ACEOF
26675
26676
26677 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26678 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26679 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26680 wxUSE_LIBPNG=sys
26681 fi
26682
26683 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26684 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26685 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26686 wxUSE_LIBPNG=builtin
26687 fi
26688
26689 if test "$wxUSE_MGL" != 1 ; then
26690 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26691 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26692 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26693 if test "${ac_cv_header_png_h+set}" = set; then
26694 echo $ECHO_N "(cached) $ECHO_C" >&6
26695 else
26696 if test "$cross_compiling" = yes; then
26697 unset ac_cv_header_png_h
26698
26699 else
26700 cat >conftest.$ac_ext <<_ACEOF
26701 /* confdefs.h. */
26702 _ACEOF
26703 cat confdefs.h >>conftest.$ac_ext
26704 cat >>conftest.$ac_ext <<_ACEOF
26705 /* end confdefs.h. */
26706
26707 #include <png.h>
26708 #include <stdio.h>
26709
26710 int main()
26711 {
26712 FILE *f=fopen("conftestval", "w");
26713 if (!f) exit(1);
26714 fprintf(f, "%s",
26715 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26716 exit(0);
26717 }
26718
26719 _ACEOF
26720 rm -f conftest$ac_exeext
26721 if { (ac_try="$ac_link"
26722 case "(($ac_try" in
26723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26724 *) ac_try_echo=$ac_try;;
26725 esac
26726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26727 (eval "$ac_link") 2>&5
26728 ac_status=$?
26729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26730 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26731 { (case "(($ac_try" in
26732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26733 *) ac_try_echo=$ac_try;;
26734 esac
26735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26736 (eval "$ac_try") 2>&5
26737 ac_status=$?
26738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26739 (exit $ac_status); }; }; then
26740 ac_cv_header_png_h=`cat conftestval`
26741 else
26742 echo "$as_me: program exited with status $ac_status" >&5
26743 echo "$as_me: failed program was:" >&5
26744 sed 's/^/| /' conftest.$ac_ext >&5
26745
26746 ( exit $ac_status )
26747 ac_cv_header_png_h=no
26748 fi
26749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26750 fi
26751
26752
26753
26754 fi
26755 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26756 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26757 { echo "$as_me:$LINENO: checking for png.h" >&5
26758 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26759 if test "${ac_cv_header_png_h+set}" = set; then
26760 echo $ECHO_N "(cached) $ECHO_C" >&6
26761 else
26762 cat >conftest.$ac_ext <<_ACEOF
26763 /* confdefs.h. */
26764 _ACEOF
26765 cat confdefs.h >>conftest.$ac_ext
26766 cat >>conftest.$ac_ext <<_ACEOF
26767 /* end confdefs.h. */
26768
26769
26770 #include <png.h>
26771 _ACEOF
26772 rm -f conftest.$ac_objext
26773 if { (ac_try="$ac_compile"
26774 case "(($ac_try" in
26775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26776 *) ac_try_echo=$ac_try;;
26777 esac
26778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26779 (eval "$ac_compile") 2>conftest.er1
26780 ac_status=$?
26781 grep -v '^ *+' conftest.er1 >conftest.err
26782 rm -f conftest.er1
26783 cat conftest.err >&5
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); } && {
26786 test -z "$ac_c_werror_flag" ||
26787 test ! -s conftest.err
26788 } && test -s conftest.$ac_objext; then
26789 ac_cv_header_png_h=yes
26790 else
26791 echo "$as_me: failed program was:" >&5
26792 sed 's/^/| /' conftest.$ac_ext >&5
26793
26794 ac_cv_header_png_h=no
26795 fi
26796
26797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26798 fi
26799 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26800 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26801
26802
26803
26804 if test "$ac_cv_header_png_h" = "yes"; then
26805 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26806 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26807 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26808 echo $ECHO_N "(cached) $ECHO_C" >&6
26809 else
26810 ac_check_lib_save_LIBS=$LIBS
26811 LIBS="-lpng -lz -lm $LIBS"
26812 cat >conftest.$ac_ext <<_ACEOF
26813 /* confdefs.h. */
26814 _ACEOF
26815 cat confdefs.h >>conftest.$ac_ext
26816 cat >>conftest.$ac_ext <<_ACEOF
26817 /* end confdefs.h. */
26818
26819 /* Override any GCC internal prototype to avoid an error.
26820 Use char because int might match the return type of a GCC
26821 builtin and then its argument prototype would still apply. */
26822 #ifdef __cplusplus
26823 extern "C"
26824 #endif
26825 char png_check_sig ();
26826 int
26827 main ()
26828 {
26829 return png_check_sig ();
26830 ;
26831 return 0;
26832 }
26833 _ACEOF
26834 rm -f conftest.$ac_objext conftest$ac_exeext
26835 if { (ac_try="$ac_link"
26836 case "(($ac_try" in
26837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26838 *) ac_try_echo=$ac_try;;
26839 esac
26840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26841 (eval "$ac_link") 2>conftest.er1
26842 ac_status=$?
26843 grep -v '^ *+' conftest.er1 >conftest.err
26844 rm -f conftest.er1
26845 cat conftest.err >&5
26846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26847 (exit $ac_status); } && {
26848 test -z "$ac_c_werror_flag" ||
26849 test ! -s conftest.err
26850 } && test -s conftest$ac_exeext &&
26851 $as_test_x conftest$ac_exeext; then
26852 ac_cv_lib_png_png_check_sig=yes
26853 else
26854 echo "$as_me: failed program was:" >&5
26855 sed 's/^/| /' conftest.$ac_ext >&5
26856
26857 ac_cv_lib_png_png_check_sig=no
26858 fi
26859
26860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26861 conftest$ac_exeext conftest.$ac_ext
26862 LIBS=$ac_check_lib_save_LIBS
26863 fi
26864 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26865 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26866 if test $ac_cv_lib_png_png_check_sig = yes; then
26867 PNG_LINK=" -lpng -lz"
26868 fi
26869
26870 fi
26871
26872 if test "x$PNG_LINK" = "x" ; then
26873 if test "$wxUSE_LIBPNG" = "sys" ; then
26874 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26875 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26876 { (exit 1); exit 1; }; }
26877 else
26878 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26879 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26880 wxUSE_LIBPNG=builtin
26881 fi
26882 else
26883 wxUSE_LIBPNG=sys
26884 fi
26885 fi
26886 fi
26887 fi
26888
26889
26890 JPEG_LINK=
26891 if test "$wxUSE_LIBJPEG" != "no" ; then
26892 cat >>confdefs.h <<\_ACEOF
26893 #define wxUSE_LIBJPEG 1
26894 _ACEOF
26895
26896
26897 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26898 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26899 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26900 wxUSE_LIBJPEG=sys
26901 fi
26902
26903 if test "$wxUSE_MGL" != 1 ; then
26904 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26905 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26906 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26907 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26908 echo $ECHO_N "(cached) $ECHO_C" >&6
26909 else
26910 cat >conftest.$ac_ext <<_ACEOF
26911 /* confdefs.h. */
26912 _ACEOF
26913 cat confdefs.h >>conftest.$ac_ext
26914 cat >>conftest.$ac_ext <<_ACEOF
26915 /* end confdefs.h. */
26916
26917 #undef HAVE_STDLIB_H
26918 #include <stdio.h>
26919 #include <jpeglib.h>
26920
26921 int
26922 main ()
26923 {
26924
26925
26926 ;
26927 return 0;
26928 }
26929 _ACEOF
26930 rm -f conftest.$ac_objext
26931 if { (ac_try="$ac_compile"
26932 case "(($ac_try" in
26933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26934 *) ac_try_echo=$ac_try;;
26935 esac
26936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26937 (eval "$ac_compile") 2>conftest.er1
26938 ac_status=$?
26939 grep -v '^ *+' conftest.er1 >conftest.err
26940 rm -f conftest.er1
26941 cat conftest.err >&5
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); } && {
26944 test -z "$ac_c_werror_flag" ||
26945 test ! -s conftest.err
26946 } && test -s conftest.$ac_objext; then
26947 ac_cv_header_jpeglib_h=yes
26948 else
26949 echo "$as_me: failed program was:" >&5
26950 sed 's/^/| /' conftest.$ac_ext >&5
26951
26952 ac_cv_header_jpeglib_h=no
26953
26954 fi
26955
26956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26957
26958 fi
26959
26960 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26961 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26962
26963 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26964 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26965 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26966 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26967 echo $ECHO_N "(cached) $ECHO_C" >&6
26968 else
26969 ac_check_lib_save_LIBS=$LIBS
26970 LIBS="-ljpeg $LIBS"
26971 cat >conftest.$ac_ext <<_ACEOF
26972 /* confdefs.h. */
26973 _ACEOF
26974 cat confdefs.h >>conftest.$ac_ext
26975 cat >>conftest.$ac_ext <<_ACEOF
26976 /* end confdefs.h. */
26977
26978 /* Override any GCC internal prototype to avoid an error.
26979 Use char because int might match the return type of a GCC
26980 builtin and then its argument prototype would still apply. */
26981 #ifdef __cplusplus
26982 extern "C"
26983 #endif
26984 char jpeg_read_header ();
26985 int
26986 main ()
26987 {
26988 return jpeg_read_header ();
26989 ;
26990 return 0;
26991 }
26992 _ACEOF
26993 rm -f conftest.$ac_objext conftest$ac_exeext
26994 if { (ac_try="$ac_link"
26995 case "(($ac_try" in
26996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26997 *) ac_try_echo=$ac_try;;
26998 esac
26999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27000 (eval "$ac_link") 2>conftest.er1
27001 ac_status=$?
27002 grep -v '^ *+' conftest.er1 >conftest.err
27003 rm -f conftest.er1
27004 cat conftest.err >&5
27005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27006 (exit $ac_status); } && {
27007 test -z "$ac_c_werror_flag" ||
27008 test ! -s conftest.err
27009 } && test -s conftest$ac_exeext &&
27010 $as_test_x conftest$ac_exeext; then
27011 ac_cv_lib_jpeg_jpeg_read_header=yes
27012 else
27013 echo "$as_me: failed program was:" >&5
27014 sed 's/^/| /' conftest.$ac_ext >&5
27015
27016 ac_cv_lib_jpeg_jpeg_read_header=no
27017 fi
27018
27019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27020 conftest$ac_exeext conftest.$ac_ext
27021 LIBS=$ac_check_lib_save_LIBS
27022 fi
27023 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27024 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27025 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27026 JPEG_LINK=" -ljpeg"
27027 fi
27028
27029 fi
27030
27031 if test "x$JPEG_LINK" = "x" ; then
27032 if test "$wxUSE_LIBJPEG" = "sys" ; then
27033 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27034 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27035 { (exit 1); exit 1; }; }
27036 else
27037 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27038 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27039 wxUSE_LIBJPEG=builtin
27040 fi
27041 else
27042 wxUSE_LIBJPEG=sys
27043
27044 if test "$wxUSE_MSW" = 1; then
27045 { echo "$as_me:$LINENO: checking for boolean" >&5
27046 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27047 if test "${ac_cv_type_boolean+set}" = set; then
27048 echo $ECHO_N "(cached) $ECHO_C" >&6
27049 else
27050 cat >conftest.$ac_ext <<_ACEOF
27051 /* confdefs.h. */
27052 _ACEOF
27053 cat confdefs.h >>conftest.$ac_ext
27054 cat >>conftest.$ac_ext <<_ACEOF
27055 /* end confdefs.h. */
27056 #include <windows.h>
27057
27058 typedef boolean ac__type_new_;
27059 int
27060 main ()
27061 {
27062 if ((ac__type_new_ *) 0)
27063 return 0;
27064 if (sizeof (ac__type_new_))
27065 return 0;
27066 ;
27067 return 0;
27068 }
27069 _ACEOF
27070 rm -f conftest.$ac_objext
27071 if { (ac_try="$ac_compile"
27072 case "(($ac_try" in
27073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27074 *) ac_try_echo=$ac_try;;
27075 esac
27076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27077 (eval "$ac_compile") 2>conftest.er1
27078 ac_status=$?
27079 grep -v '^ *+' conftest.er1 >conftest.err
27080 rm -f conftest.er1
27081 cat conftest.err >&5
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); } && {
27084 test -z "$ac_c_werror_flag" ||
27085 test ! -s conftest.err
27086 } && test -s conftest.$ac_objext; then
27087 ac_cv_type_boolean=yes
27088 else
27089 echo "$as_me: failed program was:" >&5
27090 sed 's/^/| /' conftest.$ac_ext >&5
27091
27092 ac_cv_type_boolean=no
27093 fi
27094
27095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27096 fi
27097 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27098 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27099 if test $ac_cv_type_boolean = yes; then
27100
27101 cat >>confdefs.h <<_ACEOF
27102 #define HAVE_BOOLEAN 1
27103 _ACEOF
27104
27105
27106 { echo "$as_me:$LINENO: checking for boolean" >&5
27107 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27108 if test "${ac_cv_type_boolean+set}" = set; then
27109 echo $ECHO_N "(cached) $ECHO_C" >&6
27110 else
27111 cat >conftest.$ac_ext <<_ACEOF
27112 /* confdefs.h. */
27113 _ACEOF
27114 cat confdefs.h >>conftest.$ac_ext
27115 cat >>conftest.$ac_ext <<_ACEOF
27116 /* end confdefs.h. */
27117
27118 #undef HAVE_BOOLEAN
27119 #include <stdio.h>
27120 #include <jpeglib.h>
27121
27122
27123 typedef boolean ac__type_new_;
27124 int
27125 main ()
27126 {
27127 if ((ac__type_new_ *) 0)
27128 return 0;
27129 if (sizeof (ac__type_new_))
27130 return 0;
27131 ;
27132 return 0;
27133 }
27134 _ACEOF
27135 rm -f conftest.$ac_objext
27136 if { (ac_try="$ac_compile"
27137 case "(($ac_try" in
27138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27139 *) ac_try_echo=$ac_try;;
27140 esac
27141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27142 (eval "$ac_compile") 2>conftest.er1
27143 ac_status=$?
27144 grep -v '^ *+' conftest.er1 >conftest.err
27145 rm -f conftest.er1
27146 cat conftest.err >&5
27147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27148 (exit $ac_status); } && {
27149 test -z "$ac_c_werror_flag" ||
27150 test ! -s conftest.err
27151 } && test -s conftest.$ac_objext; then
27152 ac_cv_type_boolean=yes
27153 else
27154 echo "$as_me: failed program was:" >&5
27155 sed 's/^/| /' conftest.$ac_ext >&5
27156
27157 ac_cv_type_boolean=no
27158 fi
27159
27160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27161 fi
27162 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27163 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27164
27165 # The cast to long int works around a bug in the HP C Compiler
27166 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27167 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27168 # This bug is HP SR number 8606223364.
27169 { echo "$as_me:$LINENO: checking size of boolean" >&5
27170 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27171 if test "${ac_cv_sizeof_boolean+set}" = set; then
27172 echo $ECHO_N "(cached) $ECHO_C" >&6
27173 else
27174 if test "$cross_compiling" = yes; then
27175 # Depending upon the size, compute the lo and hi bounds.
27176 cat >conftest.$ac_ext <<_ACEOF
27177 /* confdefs.h. */
27178 _ACEOF
27179 cat confdefs.h >>conftest.$ac_ext
27180 cat >>conftest.$ac_ext <<_ACEOF
27181 /* end confdefs.h. */
27182
27183 #undef HAVE_BOOLEAN
27184 #include <stdio.h>
27185 #include <jpeglib.h>
27186
27187
27188 typedef boolean ac__type_sizeof_;
27189 int
27190 main ()
27191 {
27192 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27193 test_array [0] = 0
27194
27195 ;
27196 return 0;
27197 }
27198 _ACEOF
27199 rm -f conftest.$ac_objext
27200 if { (ac_try="$ac_compile"
27201 case "(($ac_try" in
27202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27203 *) ac_try_echo=$ac_try;;
27204 esac
27205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27206 (eval "$ac_compile") 2>conftest.er1
27207 ac_status=$?
27208 grep -v '^ *+' conftest.er1 >conftest.err
27209 rm -f conftest.er1
27210 cat conftest.err >&5
27211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27212 (exit $ac_status); } && {
27213 test -z "$ac_c_werror_flag" ||
27214 test ! -s conftest.err
27215 } && test -s conftest.$ac_objext; then
27216 ac_lo=0 ac_mid=0
27217 while :; do
27218 cat >conftest.$ac_ext <<_ACEOF
27219 /* confdefs.h. */
27220 _ACEOF
27221 cat confdefs.h >>conftest.$ac_ext
27222 cat >>conftest.$ac_ext <<_ACEOF
27223 /* end confdefs.h. */
27224
27225 #undef HAVE_BOOLEAN
27226 #include <stdio.h>
27227 #include <jpeglib.h>
27228
27229
27230 typedef boolean ac__type_sizeof_;
27231 int
27232 main ()
27233 {
27234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27235 test_array [0] = 0
27236
27237 ;
27238 return 0;
27239 }
27240 _ACEOF
27241 rm -f conftest.$ac_objext
27242 if { (ac_try="$ac_compile"
27243 case "(($ac_try" in
27244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27245 *) ac_try_echo=$ac_try;;
27246 esac
27247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27248 (eval "$ac_compile") 2>conftest.er1
27249 ac_status=$?
27250 grep -v '^ *+' conftest.er1 >conftest.err
27251 rm -f conftest.er1
27252 cat conftest.err >&5
27253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27254 (exit $ac_status); } && {
27255 test -z "$ac_c_werror_flag" ||
27256 test ! -s conftest.err
27257 } && test -s conftest.$ac_objext; then
27258 ac_hi=$ac_mid; break
27259 else
27260 echo "$as_me: failed program was:" >&5
27261 sed 's/^/| /' conftest.$ac_ext >&5
27262
27263 ac_lo=`expr $ac_mid + 1`
27264 if test $ac_lo -le $ac_mid; then
27265 ac_lo= ac_hi=
27266 break
27267 fi
27268 ac_mid=`expr 2 '*' $ac_mid + 1`
27269 fi
27270
27271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27272 done
27273 else
27274 echo "$as_me: failed program was:" >&5
27275 sed 's/^/| /' conftest.$ac_ext >&5
27276
27277 cat >conftest.$ac_ext <<_ACEOF
27278 /* confdefs.h. */
27279 _ACEOF
27280 cat confdefs.h >>conftest.$ac_ext
27281 cat >>conftest.$ac_ext <<_ACEOF
27282 /* end confdefs.h. */
27283
27284 #undef HAVE_BOOLEAN
27285 #include <stdio.h>
27286 #include <jpeglib.h>
27287
27288
27289 typedef boolean ac__type_sizeof_;
27290 int
27291 main ()
27292 {
27293 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27294 test_array [0] = 0
27295
27296 ;
27297 return 0;
27298 }
27299 _ACEOF
27300 rm -f conftest.$ac_objext
27301 if { (ac_try="$ac_compile"
27302 case "(($ac_try" in
27303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27304 *) ac_try_echo=$ac_try;;
27305 esac
27306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27307 (eval "$ac_compile") 2>conftest.er1
27308 ac_status=$?
27309 grep -v '^ *+' conftest.er1 >conftest.err
27310 rm -f conftest.er1
27311 cat conftest.err >&5
27312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27313 (exit $ac_status); } && {
27314 test -z "$ac_c_werror_flag" ||
27315 test ! -s conftest.err
27316 } && test -s conftest.$ac_objext; then
27317 ac_hi=-1 ac_mid=-1
27318 while :; do
27319 cat >conftest.$ac_ext <<_ACEOF
27320 /* confdefs.h. */
27321 _ACEOF
27322 cat confdefs.h >>conftest.$ac_ext
27323 cat >>conftest.$ac_ext <<_ACEOF
27324 /* end confdefs.h. */
27325
27326 #undef HAVE_BOOLEAN
27327 #include <stdio.h>
27328 #include <jpeglib.h>
27329
27330
27331 typedef boolean ac__type_sizeof_;
27332 int
27333 main ()
27334 {
27335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27336 test_array [0] = 0
27337
27338 ;
27339 return 0;
27340 }
27341 _ACEOF
27342 rm -f conftest.$ac_objext
27343 if { (ac_try="$ac_compile"
27344 case "(($ac_try" in
27345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27346 *) ac_try_echo=$ac_try;;
27347 esac
27348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27349 (eval "$ac_compile") 2>conftest.er1
27350 ac_status=$?
27351 grep -v '^ *+' conftest.er1 >conftest.err
27352 rm -f conftest.er1
27353 cat conftest.err >&5
27354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27355 (exit $ac_status); } && {
27356 test -z "$ac_c_werror_flag" ||
27357 test ! -s conftest.err
27358 } && test -s conftest.$ac_objext; then
27359 ac_lo=$ac_mid; break
27360 else
27361 echo "$as_me: failed program was:" >&5
27362 sed 's/^/| /' conftest.$ac_ext >&5
27363
27364 ac_hi=`expr '(' $ac_mid ')' - 1`
27365 if test $ac_mid -le $ac_hi; then
27366 ac_lo= ac_hi=
27367 break
27368 fi
27369 ac_mid=`expr 2 '*' $ac_mid`
27370 fi
27371
27372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27373 done
27374 else
27375 echo "$as_me: failed program was:" >&5
27376 sed 's/^/| /' conftest.$ac_ext >&5
27377
27378 ac_lo= ac_hi=
27379 fi
27380
27381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27382 fi
27383
27384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27385 # Binary search between lo and hi bounds.
27386 while test "x$ac_lo" != "x$ac_hi"; do
27387 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27388 cat >conftest.$ac_ext <<_ACEOF
27389 /* confdefs.h. */
27390 _ACEOF
27391 cat confdefs.h >>conftest.$ac_ext
27392 cat >>conftest.$ac_ext <<_ACEOF
27393 /* end confdefs.h. */
27394
27395 #undef HAVE_BOOLEAN
27396 #include <stdio.h>
27397 #include <jpeglib.h>
27398
27399
27400 typedef boolean ac__type_sizeof_;
27401 int
27402 main ()
27403 {
27404 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27405 test_array [0] = 0
27406
27407 ;
27408 return 0;
27409 }
27410 _ACEOF
27411 rm -f conftest.$ac_objext
27412 if { (ac_try="$ac_compile"
27413 case "(($ac_try" in
27414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27415 *) ac_try_echo=$ac_try;;
27416 esac
27417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27418 (eval "$ac_compile") 2>conftest.er1
27419 ac_status=$?
27420 grep -v '^ *+' conftest.er1 >conftest.err
27421 rm -f conftest.er1
27422 cat conftest.err >&5
27423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424 (exit $ac_status); } && {
27425 test -z "$ac_c_werror_flag" ||
27426 test ! -s conftest.err
27427 } && test -s conftest.$ac_objext; then
27428 ac_hi=$ac_mid
27429 else
27430 echo "$as_me: failed program was:" >&5
27431 sed 's/^/| /' conftest.$ac_ext >&5
27432
27433 ac_lo=`expr '(' $ac_mid ')' + 1`
27434 fi
27435
27436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27437 done
27438 case $ac_lo in
27439 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27440 '') if test "$ac_cv_type_boolean" = yes; then
27441 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27442 See \`config.log' for more details." >&5
27443 echo "$as_me: error: cannot compute sizeof (boolean)
27444 See \`config.log' for more details." >&2;}
27445 { (exit 77); exit 77; }; }
27446 else
27447 ac_cv_sizeof_boolean=0
27448 fi ;;
27449 esac
27450 else
27451 cat >conftest.$ac_ext <<_ACEOF
27452 /* confdefs.h. */
27453 _ACEOF
27454 cat confdefs.h >>conftest.$ac_ext
27455 cat >>conftest.$ac_ext <<_ACEOF
27456 /* end confdefs.h. */
27457
27458 #undef HAVE_BOOLEAN
27459 #include <stdio.h>
27460 #include <jpeglib.h>
27461
27462
27463 typedef boolean ac__type_sizeof_;
27464 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27465 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27466 #include <stdio.h>
27467 #include <stdlib.h>
27468 int
27469 main ()
27470 {
27471
27472 FILE *f = fopen ("conftest.val", "w");
27473 if (! f)
27474 return 1;
27475 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27476 {
27477 long int i = longval ();
27478 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27479 return 1;
27480 fprintf (f, "%ld\n", i);
27481 }
27482 else
27483 {
27484 unsigned long int i = ulongval ();
27485 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27486 return 1;
27487 fprintf (f, "%lu\n", i);
27488 }
27489 return ferror (f) || fclose (f) != 0;
27490
27491 ;
27492 return 0;
27493 }
27494 _ACEOF
27495 rm -f conftest$ac_exeext
27496 if { (ac_try="$ac_link"
27497 case "(($ac_try" in
27498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27499 *) ac_try_echo=$ac_try;;
27500 esac
27501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27502 (eval "$ac_link") 2>&5
27503 ac_status=$?
27504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27505 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27506 { (case "(($ac_try" in
27507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27508 *) ac_try_echo=$ac_try;;
27509 esac
27510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27511 (eval "$ac_try") 2>&5
27512 ac_status=$?
27513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27514 (exit $ac_status); }; }; then
27515 ac_cv_sizeof_boolean=`cat conftest.val`
27516 else
27517 echo "$as_me: program exited with status $ac_status" >&5
27518 echo "$as_me: failed program was:" >&5
27519 sed 's/^/| /' conftest.$ac_ext >&5
27520
27521 ( exit $ac_status )
27522 if test "$ac_cv_type_boolean" = yes; then
27523 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27524 See \`config.log' for more details." >&5
27525 echo "$as_me: error: cannot compute sizeof (boolean)
27526 See \`config.log' for more details." >&2;}
27527 { (exit 77); exit 77; }; }
27528 else
27529 ac_cv_sizeof_boolean=0
27530 fi
27531 fi
27532 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27533 fi
27534 rm -f conftest.val
27535 fi
27536 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27537 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27538
27539
27540
27541 cat >>confdefs.h <<_ACEOF
27542 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27543 _ACEOF
27544
27545
27546 cat >>confdefs.h <<_ACEOF
27547 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27548 _ACEOF
27549
27550
27551 fi
27552
27553 fi
27554 fi
27555 fi
27556 fi
27557 fi
27558
27559
27560 TIFF_LINK=
27561 TIFF_PREREQ_LINKS=-lm
27562 if test "$wxUSE_LIBTIFF" != "no" ; then
27563 cat >>confdefs.h <<\_ACEOF
27564 #define wxUSE_LIBTIFF 1
27565 _ACEOF
27566
27567
27568 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27569 if test "$wxUSE_LIBJPEG" = "sys"; then
27570 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27571 fi
27572 if test "$wxUSE_ZLIB" = "sys"; then
27573 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27574 fi
27575 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27576 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27577 if test "${ac_cv_header_tiffio_h+set}" = set; then
27578 echo $ECHO_N "(cached) $ECHO_C" >&6
27579 else
27580 cat >conftest.$ac_ext <<_ACEOF
27581 /* confdefs.h. */
27582 _ACEOF
27583 cat confdefs.h >>conftest.$ac_ext
27584 cat >>conftest.$ac_ext <<_ACEOF
27585 /* end confdefs.h. */
27586
27587
27588
27589 #include <tiffio.h>
27590 _ACEOF
27591 rm -f conftest.$ac_objext
27592 if { (ac_try="$ac_compile"
27593 case "(($ac_try" in
27594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27595 *) ac_try_echo=$ac_try;;
27596 esac
27597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27598 (eval "$ac_compile") 2>conftest.er1
27599 ac_status=$?
27600 grep -v '^ *+' conftest.er1 >conftest.err
27601 rm -f conftest.er1
27602 cat conftest.err >&5
27603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27604 (exit $ac_status); } && {
27605 test -z "$ac_c_werror_flag" ||
27606 test ! -s conftest.err
27607 } && test -s conftest.$ac_objext; then
27608 ac_cv_header_tiffio_h=yes
27609 else
27610 echo "$as_me: failed program was:" >&5
27611 sed 's/^/| /' conftest.$ac_ext >&5
27612
27613 ac_cv_header_tiffio_h=no
27614 fi
27615
27616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27617 fi
27618 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27619 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27620 if test $ac_cv_header_tiffio_h = yes; then
27621
27622 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27623 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27624 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27625 echo $ECHO_N "(cached) $ECHO_C" >&6
27626 else
27627 ac_check_lib_save_LIBS=$LIBS
27628 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27629 cat >conftest.$ac_ext <<_ACEOF
27630 /* confdefs.h. */
27631 _ACEOF
27632 cat confdefs.h >>conftest.$ac_ext
27633 cat >>conftest.$ac_ext <<_ACEOF
27634 /* end confdefs.h. */
27635
27636 /* Override any GCC internal prototype to avoid an error.
27637 Use char because int might match the return type of a GCC
27638 builtin and then its argument prototype would still apply. */
27639 #ifdef __cplusplus
27640 extern "C"
27641 #endif
27642 char TIFFError ();
27643 int
27644 main ()
27645 {
27646 return TIFFError ();
27647 ;
27648 return 0;
27649 }
27650 _ACEOF
27651 rm -f conftest.$ac_objext conftest$ac_exeext
27652 if { (ac_try="$ac_link"
27653 case "(($ac_try" in
27654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27655 *) ac_try_echo=$ac_try;;
27656 esac
27657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27658 (eval "$ac_link") 2>conftest.er1
27659 ac_status=$?
27660 grep -v '^ *+' conftest.er1 >conftest.err
27661 rm -f conftest.er1
27662 cat conftest.err >&5
27663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27664 (exit $ac_status); } && {
27665 test -z "$ac_c_werror_flag" ||
27666 test ! -s conftest.err
27667 } && test -s conftest$ac_exeext &&
27668 $as_test_x conftest$ac_exeext; then
27669 ac_cv_lib_tiff_TIFFError=yes
27670 else
27671 echo "$as_me: failed program was:" >&5
27672 sed 's/^/| /' conftest.$ac_ext >&5
27673
27674 ac_cv_lib_tiff_TIFFError=no
27675 fi
27676
27677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27678 conftest$ac_exeext conftest.$ac_ext
27679 LIBS=$ac_check_lib_save_LIBS
27680 fi
27681 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27682 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27683 if test $ac_cv_lib_tiff_TIFFError = yes; then
27684 TIFF_LINK=" -ltiff"
27685 fi
27686
27687
27688 fi
27689
27690
27691
27692 if test "x$TIFF_LINK" = "x" ; then
27693 if test "$wxUSE_LIBTIFF" = "sys" ; then
27694 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27695 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27696 { (exit 1); exit 1; }; }
27697 else
27698 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27699 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27700 wxUSE_LIBTIFF=builtin
27701 fi
27702 else
27703 wxUSE_LIBTIFF=sys
27704 fi
27705 fi
27706 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27707 if test "$wxUSE_LIBJPEG" = "no"; then
27708 ac_configure_args="$ac_configure_args --disable-jpeg"
27709 fi
27710 subdirs="$subdirs src/tiff"
27711
27712 fi
27713 fi
27714
27715
27716 if test "$wxUSE_WCHAR_T" != "yes"; then
27717 if test "$wxUSE_EXPAT" != "no"; then
27718 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27719 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27720 wxUSE_EXPAT=no
27721 fi
27722 if test "$wxUSE_XML" != "no"; then
27723 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27724 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27725 wxUSE_XML=no
27726 fi
27727 fi
27728
27729 if test "$wxUSE_EXPAT" != "no"; then
27730 wxUSE_XML=yes
27731 cat >>confdefs.h <<\_ACEOF
27732 #define wxUSE_EXPAT 1
27733 _ACEOF
27734
27735 cat >>confdefs.h <<\_ACEOF
27736 #define wxUSE_XML 1
27737 _ACEOF
27738
27739
27740 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27741 { echo "$as_me:$LINENO: checking for expat.h" >&5
27742 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27743 if test "${ac_cv_header_expat_h+set}" = set; then
27744 echo $ECHO_N "(cached) $ECHO_C" >&6
27745 else
27746 cat >conftest.$ac_ext <<_ACEOF
27747 /* confdefs.h. */
27748 _ACEOF
27749 cat confdefs.h >>conftest.$ac_ext
27750 cat >>conftest.$ac_ext <<_ACEOF
27751 /* end confdefs.h. */
27752
27753
27754 #include <expat.h>
27755 _ACEOF
27756 rm -f conftest.$ac_objext
27757 if { (ac_try="$ac_compile"
27758 case "(($ac_try" in
27759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27760 *) ac_try_echo=$ac_try;;
27761 esac
27762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27763 (eval "$ac_compile") 2>conftest.er1
27764 ac_status=$?
27765 grep -v '^ *+' conftest.er1 >conftest.err
27766 rm -f conftest.er1
27767 cat conftest.err >&5
27768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27769 (exit $ac_status); } && {
27770 test -z "$ac_c_werror_flag" ||
27771 test ! -s conftest.err
27772 } && test -s conftest.$ac_objext; then
27773 ac_cv_header_expat_h=yes
27774 else
27775 echo "$as_me: failed program was:" >&5
27776 sed 's/^/| /' conftest.$ac_ext >&5
27777
27778 ac_cv_header_expat_h=no
27779 fi
27780
27781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27782 fi
27783 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27784 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27785 if test $ac_cv_header_expat_h = yes; then
27786 found_expat_h=1
27787 fi
27788
27789
27790 if test "x$found_expat_h" = "x1"; then
27791 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27792 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27793 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27794 echo $ECHO_N "(cached) $ECHO_C" >&6
27795 else
27796
27797 ac_ext=cpp
27798 ac_cpp='$CXXCPP $CPPFLAGS'
27799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27802
27803 cat >conftest.$ac_ext <<_ACEOF
27804 /* confdefs.h. */
27805 _ACEOF
27806 cat confdefs.h >>conftest.$ac_ext
27807 cat >>conftest.$ac_ext <<_ACEOF
27808 /* end confdefs.h. */
27809 #include <expat.h>
27810 int
27811 main ()
27812 {
27813
27814 ;
27815 return 0;
27816 }
27817 _ACEOF
27818 rm -f conftest.$ac_objext
27819 if { (ac_try="$ac_compile"
27820 case "(($ac_try" in
27821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27822 *) ac_try_echo=$ac_try;;
27823 esac
27824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27825 (eval "$ac_compile") 2>conftest.er1
27826 ac_status=$?
27827 grep -v '^ *+' conftest.er1 >conftest.err
27828 rm -f conftest.er1
27829 cat conftest.err >&5
27830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27831 (exit $ac_status); } && {
27832 test -z "$ac_cxx_werror_flag" ||
27833 test ! -s conftest.err
27834 } && test -s conftest.$ac_objext; then
27835 wx_cv_expat_is_not_broken=yes
27836 else
27837 echo "$as_me: failed program was:" >&5
27838 sed 's/^/| /' conftest.$ac_ext >&5
27839
27840 wx_cv_expat_is_not_broken=no
27841
27842 fi
27843
27844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27845 ac_ext=c
27846 ac_cpp='$CPP $CPPFLAGS'
27847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27850
27851
27852
27853 fi
27854 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27855 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27856 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27857 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27858 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27859 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27860 echo $ECHO_N "(cached) $ECHO_C" >&6
27861 else
27862 ac_check_lib_save_LIBS=$LIBS
27863 LIBS="-lexpat $LIBS"
27864 cat >conftest.$ac_ext <<_ACEOF
27865 /* confdefs.h. */
27866 _ACEOF
27867 cat confdefs.h >>conftest.$ac_ext
27868 cat >>conftest.$ac_ext <<_ACEOF
27869 /* end confdefs.h. */
27870
27871 /* Override any GCC internal prototype to avoid an error.
27872 Use char because int might match the return type of a GCC
27873 builtin and then its argument prototype would still apply. */
27874 #ifdef __cplusplus
27875 extern "C"
27876 #endif
27877 char XML_ParserCreate ();
27878 int
27879 main ()
27880 {
27881 return XML_ParserCreate ();
27882 ;
27883 return 0;
27884 }
27885 _ACEOF
27886 rm -f conftest.$ac_objext conftest$ac_exeext
27887 if { (ac_try="$ac_link"
27888 case "(($ac_try" in
27889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27890 *) ac_try_echo=$ac_try;;
27891 esac
27892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27893 (eval "$ac_link") 2>conftest.er1
27894 ac_status=$?
27895 grep -v '^ *+' conftest.er1 >conftest.err
27896 rm -f conftest.er1
27897 cat conftest.err >&5
27898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27899 (exit $ac_status); } && {
27900 test -z "$ac_c_werror_flag" ||
27901 test ! -s conftest.err
27902 } && test -s conftest$ac_exeext &&
27903 $as_test_x conftest$ac_exeext; then
27904 ac_cv_lib_expat_XML_ParserCreate=yes
27905 else
27906 echo "$as_me: failed program was:" >&5
27907 sed 's/^/| /' conftest.$ac_ext >&5
27908
27909 ac_cv_lib_expat_XML_ParserCreate=no
27910 fi
27911
27912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27913 conftest$ac_exeext conftest.$ac_ext
27914 LIBS=$ac_check_lib_save_LIBS
27915 fi
27916 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27917 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27918 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27919 EXPAT_LINK=" -lexpat"
27920 fi
27921
27922 fi
27923 fi
27924 if test "x$EXPAT_LINK" = "x" ; then
27925 if test "$wxUSE_EXPAT" = "sys" ; then
27926 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27927 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27928 { (exit 1); exit 1; }; }
27929 else
27930 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27931 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27932 wxUSE_EXPAT=builtin
27933 fi
27934 else
27935 wxUSE_EXPAT=sys
27936 fi
27937 fi
27938 if test "$wxUSE_EXPAT" = "builtin" ; then
27939 subdirs="$subdirs src/expat"
27940
27941 fi
27942 fi
27943
27944
27945
27946 if test "$wxUSE_LIBMSPACK" != "no"; then
27947 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27948 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27949 if test "${ac_cv_header_mspack_h+set}" = set; then
27950 echo $ECHO_N "(cached) $ECHO_C" >&6
27951 else
27952 cat >conftest.$ac_ext <<_ACEOF
27953 /* confdefs.h. */
27954 _ACEOF
27955 cat confdefs.h >>conftest.$ac_ext
27956 cat >>conftest.$ac_ext <<_ACEOF
27957 /* end confdefs.h. */
27958
27959
27960 #include <mspack.h>
27961 _ACEOF
27962 rm -f conftest.$ac_objext
27963 if { (ac_try="$ac_compile"
27964 case "(($ac_try" in
27965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27966 *) ac_try_echo=$ac_try;;
27967 esac
27968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27969 (eval "$ac_compile") 2>conftest.er1
27970 ac_status=$?
27971 grep -v '^ *+' conftest.er1 >conftest.err
27972 rm -f conftest.er1
27973 cat conftest.err >&5
27974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27975 (exit $ac_status); } && {
27976 test -z "$ac_c_werror_flag" ||
27977 test ! -s conftest.err
27978 } && test -s conftest.$ac_objext; then
27979 ac_cv_header_mspack_h=yes
27980 else
27981 echo "$as_me: failed program was:" >&5
27982 sed 's/^/| /' conftest.$ac_ext >&5
27983
27984 ac_cv_header_mspack_h=no
27985 fi
27986
27987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27988 fi
27989 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27990 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27991 if test $ac_cv_header_mspack_h = yes; then
27992 found_mspack_h=1
27993 fi
27994
27995
27996 if test "x$found_mspack_h" = "x1"; then
27997 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27998 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27999 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28000 echo $ECHO_N "(cached) $ECHO_C" >&6
28001 else
28002 ac_check_lib_save_LIBS=$LIBS
28003 LIBS="-lmspack $LIBS"
28004 cat >conftest.$ac_ext <<_ACEOF
28005 /* confdefs.h. */
28006 _ACEOF
28007 cat confdefs.h >>conftest.$ac_ext
28008 cat >>conftest.$ac_ext <<_ACEOF
28009 /* end confdefs.h. */
28010
28011 /* Override any GCC internal prototype to avoid an error.
28012 Use char because int might match the return type of a GCC
28013 builtin and then its argument prototype would still apply. */
28014 #ifdef __cplusplus
28015 extern "C"
28016 #endif
28017 char mspack_create_chm_decompressor ();
28018 int
28019 main ()
28020 {
28021 return mspack_create_chm_decompressor ();
28022 ;
28023 return 0;
28024 }
28025 _ACEOF
28026 rm -f conftest.$ac_objext conftest$ac_exeext
28027 if { (ac_try="$ac_link"
28028 case "(($ac_try" in
28029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28030 *) ac_try_echo=$ac_try;;
28031 esac
28032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28033 (eval "$ac_link") 2>conftest.er1
28034 ac_status=$?
28035 grep -v '^ *+' conftest.er1 >conftest.err
28036 rm -f conftest.er1
28037 cat conftest.err >&5
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); } && {
28040 test -z "$ac_c_werror_flag" ||
28041 test ! -s conftest.err
28042 } && test -s conftest$ac_exeext &&
28043 $as_test_x conftest$ac_exeext; then
28044 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28045 else
28046 echo "$as_me: failed program was:" >&5
28047 sed 's/^/| /' conftest.$ac_ext >&5
28048
28049 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28050 fi
28051
28052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28053 conftest$ac_exeext conftest.$ac_ext
28054 LIBS=$ac_check_lib_save_LIBS
28055 fi
28056 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28057 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28058 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28059 MSPACK_LINK=" -lmspack"
28060 fi
28061
28062 fi
28063 if test "x$MSPACK_LINK" = "x" ; then
28064 wxUSE_LIBMSPACK=no
28065 fi
28066 fi
28067
28068 if test "$wxUSE_LIBMSPACK" != "no"; then
28069 cat >>confdefs.h <<\_ACEOF
28070 #define wxUSE_LIBMSPACK 1
28071 _ACEOF
28072
28073 fi
28074
28075
28076
28077 AFMINSTALL=
28078 WIN32INSTALL=
28079
28080 TOOLKIT=
28081 TOOLKIT_INCLUDE=
28082 WIDGET_SET=
28083
28084 if test "$USE_WIN32" = 1 ; then
28085
28086 for ac_header in w32api.h
28087 do
28088 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28089 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28091 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28092 echo $ECHO_N "(cached) $ECHO_C" >&6
28093 else
28094 cat >conftest.$ac_ext <<_ACEOF
28095 /* confdefs.h. */
28096 _ACEOF
28097 cat confdefs.h >>conftest.$ac_ext
28098 cat >>conftest.$ac_ext <<_ACEOF
28099 /* end confdefs.h. */
28100
28101
28102 #include <$ac_header>
28103 _ACEOF
28104 rm -f conftest.$ac_objext
28105 if { (ac_try="$ac_compile"
28106 case "(($ac_try" in
28107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28108 *) ac_try_echo=$ac_try;;
28109 esac
28110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28111 (eval "$ac_compile") 2>conftest.er1
28112 ac_status=$?
28113 grep -v '^ *+' conftest.er1 >conftest.err
28114 rm -f conftest.er1
28115 cat conftest.err >&5
28116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28117 (exit $ac_status); } && {
28118 test -z "$ac_c_werror_flag" ||
28119 test ! -s conftest.err
28120 } && test -s conftest.$ac_objext; then
28121 eval "$as_ac_Header=yes"
28122 else
28123 echo "$as_me: failed program was:" >&5
28124 sed 's/^/| /' conftest.$ac_ext >&5
28125
28126 eval "$as_ac_Header=no"
28127 fi
28128
28129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28130 fi
28131 ac_res=`eval echo '${'$as_ac_Header'}'`
28132 { echo "$as_me:$LINENO: result: $ac_res" >&5
28133 echo "${ECHO_T}$ac_res" >&6; }
28134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28135 cat >>confdefs.h <<_ACEOF
28136 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28137 _ACEOF
28138
28139 fi
28140
28141 done
28142
28143 { echo "$as_me:$LINENO: checking for windows.h" >&5
28144 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28145 if test "${ac_cv_header_windows_h+set}" = set; then
28146 echo $ECHO_N "(cached) $ECHO_C" >&6
28147 else
28148 cat >conftest.$ac_ext <<_ACEOF
28149 /* confdefs.h. */
28150 _ACEOF
28151 cat confdefs.h >>conftest.$ac_ext
28152 cat >>conftest.$ac_ext <<_ACEOF
28153 /* end confdefs.h. */
28154
28155
28156 #include <windows.h>
28157 _ACEOF
28158 rm -f conftest.$ac_objext
28159 if { (ac_try="$ac_compile"
28160 case "(($ac_try" in
28161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28162 *) ac_try_echo=$ac_try;;
28163 esac
28164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28165 (eval "$ac_compile") 2>conftest.er1
28166 ac_status=$?
28167 grep -v '^ *+' conftest.er1 >conftest.err
28168 rm -f conftest.er1
28169 cat conftest.err >&5
28170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28171 (exit $ac_status); } && {
28172 test -z "$ac_c_werror_flag" ||
28173 test ! -s conftest.err
28174 } && test -s conftest.$ac_objext; then
28175 ac_cv_header_windows_h=yes
28176 else
28177 echo "$as_me: failed program was:" >&5
28178 sed 's/^/| /' conftest.$ac_ext >&5
28179
28180 ac_cv_header_windows_h=no
28181 fi
28182
28183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28184 fi
28185 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28186 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28187 if test $ac_cv_header_windows_h = yes; then
28188 :
28189 else
28190
28191 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28192 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28193 { (exit 1); exit 1; }; }
28194
28195 fi
28196
28197
28198
28199 case "${host}" in
28200 x86_64-*-mingw32* )
28201 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28202 ;;
28203 * )
28204 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28205 ;;
28206 esac
28207 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28208 LIBS="$LIBS -loleacc"
28209 fi
28210
28211 case "${host}" in
28212 *-*-cygwin* )
28213 LIBS="$LIBS -lkernel32 -luser32"
28214 esac
28215
28216 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28217 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28218
28219 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28220
28221 WIN32INSTALL=win32install
28222
28223 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28224 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28225 if test "${ac_cv_header_pbt_h+set}" = set; then
28226 echo $ECHO_N "(cached) $ECHO_C" >&6
28227 else
28228 cat >conftest.$ac_ext <<_ACEOF
28229 /* confdefs.h. */
28230 _ACEOF
28231 cat confdefs.h >>conftest.$ac_ext
28232 cat >>conftest.$ac_ext <<_ACEOF
28233 /* end confdefs.h. */
28234
28235
28236 #include <pbt.h>
28237 _ACEOF
28238 rm -f conftest.$ac_objext
28239 if { (ac_try="$ac_compile"
28240 case "(($ac_try" in
28241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28242 *) ac_try_echo=$ac_try;;
28243 esac
28244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28245 (eval "$ac_compile") 2>conftest.er1
28246 ac_status=$?
28247 grep -v '^ *+' conftest.er1 >conftest.err
28248 rm -f conftest.er1
28249 cat conftest.err >&5
28250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28251 (exit $ac_status); } && {
28252 test -z "$ac_c_werror_flag" ||
28253 test ! -s conftest.err
28254 } && test -s conftest.$ac_objext; then
28255 ac_cv_header_pbt_h=yes
28256 else
28257 echo "$as_me: failed program was:" >&5
28258 sed 's/^/| /' conftest.$ac_ext >&5
28259
28260 ac_cv_header_pbt_h=no
28261 fi
28262
28263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28264 fi
28265 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28266 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28267 if test $ac_cv_header_pbt_h = yes; then
28268 :
28269 else
28270 cat >>confdefs.h <<\_ACEOF
28271 #define NEED_PBT_H 1
28272 _ACEOF
28273
28274 fi
28275
28276
28277 fi
28278
28279 if test "$wxUSE_GUI" = "yes"; then
28280 USE_GUI=1
28281
28282 GUI_TK_LIBRARY=
28283
28284 WXGTK12=
28285 WXGTK127=
28286 WXGTK2=
28287 WXGPE=
28288
28289 if test "$wxUSE_COCOA" = 1 ; then
28290 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28291 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28292 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28293 wxUSE_PRINTING_ARCHITECTURE=no
28294 fi
28295 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28296 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28297 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28298 wxUSE_DRAG_AND_DROP=no
28299 fi
28300 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28301 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28302 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28303 wxUSE_DRAGIMAGE=no
28304 fi
28305 fi
28306
28307 if test "$wxUSE_MSW" = 1 ; then
28308 TOOLKIT=MSW
28309 GUIDIST=MSW_DIST
28310
28311 case "${host}" in
28312 *-*-mingw32* )
28313 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28314 esac
28315 fi
28316
28317 if test "$wxUSE_GTK" = 1; then
28318 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28319 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28320
28321 gtk_version_cached=1
28322 if test "${wx_cv_lib_gtk+set}" = set; then
28323 echo $ECHO_N "(cached) $ECHO_C" >&6
28324 else
28325
28326 gtk_version_cached=0
28327 { echo "$as_me:$LINENO: result: " >&5
28328 echo "${ECHO_T}" >&6; }
28329
28330 GTK_MODULES=
28331 if test "$wxUSE_THREADS" = "yes"; then
28332 GTK_MODULES=gthread
28333 fi
28334
28335 wx_cv_lib_gtk=
28336 if test "x$wxGTK_VERSION" != "x1"
28337 then
28338 case "${host}" in
28339 *-*-solaris2* )
28340 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28341 enable_gtktest=no
28342 fi
28343 esac
28344
28345 # Check whether --enable-gtktest was given.
28346 if test "${enable_gtktest+set}" = set; then
28347 enableval=$enable_gtktest;
28348 else
28349 enable_gtktest=yes
28350 fi
28351
28352
28353 pkg_config_args=gtk+-2.0
28354 for module in . $GTK_MODULES
28355 do
28356 case "$module" in
28357 gthread)
28358 pkg_config_args="$pkg_config_args gthread-2.0"
28359 ;;
28360 esac
28361 done
28362
28363 no_gtk=""
28364
28365 # Extract the first word of "pkg-config", so it can be a program name with args.
28366 set dummy pkg-config; ac_word=$2
28367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28369 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28370 echo $ECHO_N "(cached) $ECHO_C" >&6
28371 else
28372 case $PKG_CONFIG in
28373 [\\/]* | ?:[\\/]*)
28374 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28375 ;;
28376 *)
28377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28378 for as_dir in $PATH
28379 do
28380 IFS=$as_save_IFS
28381 test -z "$as_dir" && as_dir=.
28382 for ac_exec_ext in '' $ac_executable_extensions; do
28383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28384 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28386 break 2
28387 fi
28388 done
28389 done
28390 IFS=$as_save_IFS
28391
28392 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28393 ;;
28394 esac
28395 fi
28396 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28397 if test -n "$PKG_CONFIG"; then
28398 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28399 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28400 else
28401 { echo "$as_me:$LINENO: result: no" >&5
28402 echo "${ECHO_T}no" >&6; }
28403 fi
28404
28405
28406
28407 if test x$PKG_CONFIG != xno ; then
28408 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28409 :
28410 else
28411 echo "*** pkg-config too old; version 0.7 or better required."
28412 no_gtk=yes
28413 PKG_CONFIG=no
28414 fi
28415 else
28416 no_gtk=yes
28417 fi
28418
28419 min_gtk_version=2.4.0
28420 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28421 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28422
28423 if test x$PKG_CONFIG != xno ; then
28424 ## don't try to run the test against uninstalled libtool libs
28425 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28426 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28427 enable_gtktest=no
28428 fi
28429
28430 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28431 :
28432 else
28433 no_gtk=yes
28434 fi
28435 fi
28436
28437 if test x"$no_gtk" = x ; then
28438 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28439 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28440 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28441 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28442 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28443 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28444 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28446 if test "x$enable_gtktest" = "xyes" ; then
28447 ac_save_CFLAGS="$CFLAGS"
28448 ac_save_LIBS="$LIBS"
28449 CFLAGS="$CFLAGS $GTK_CFLAGS"
28450 LIBS="$GTK_LIBS $LIBS"
28451 rm -f conf.gtktest
28452 if test "$cross_compiling" = yes; then
28453 echo $ac_n "cross compiling; assumed OK... $ac_c"
28454 else
28455 cat >conftest.$ac_ext <<_ACEOF
28456 /* confdefs.h. */
28457 _ACEOF
28458 cat confdefs.h >>conftest.$ac_ext
28459 cat >>conftest.$ac_ext <<_ACEOF
28460 /* end confdefs.h. */
28461
28462 #include <gtk/gtk.h>
28463 #include <stdio.h>
28464 #include <stdlib.h>
28465
28466 int
28467 main ()
28468 {
28469 int major, minor, micro;
28470 char *tmp_version;
28471
28472 system ("touch conf.gtktest");
28473
28474 /* HP/UX 9 (%@#!) writes to sscanf strings */
28475 tmp_version = g_strdup("$min_gtk_version");
28476 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28477 printf("%s, bad version string\n", "$min_gtk_version");
28478 exit(1);
28479 }
28480
28481 if ((gtk_major_version != $gtk_config_major_version) ||
28482 (gtk_minor_version != $gtk_config_minor_version) ||
28483 (gtk_micro_version != $gtk_config_micro_version))
28484 {
28485 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28486 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28487 gtk_major_version, gtk_minor_version, gtk_micro_version);
28488 printf ("*** was found! If pkg-config was correct, then it is best\n");
28489 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28490 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28491 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28492 printf("*** required on your system.\n");
28493 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28494 printf("*** to point to the correct configuration files\n");
28495 }
28496 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28497 (gtk_minor_version != GTK_MINOR_VERSION) ||
28498 (gtk_micro_version != GTK_MICRO_VERSION))
28499 {
28500 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28501 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28502 printf("*** library (version %d.%d.%d)\n",
28503 gtk_major_version, gtk_minor_version, gtk_micro_version);
28504 }
28505 else
28506 {
28507 if ((gtk_major_version > major) ||
28508 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28509 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28510 {
28511 return 0;
28512 }
28513 else
28514 {
28515 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28516 gtk_major_version, gtk_minor_version, gtk_micro_version);
28517 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28518 major, minor, micro);
28519 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28520 printf("***\n");
28521 printf("*** If you have already installed a sufficiently new version, this error\n");
28522 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28523 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28524 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28525 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28526 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28527 printf("*** so that the correct libraries are found at run-time))\n");
28528 }
28529 }
28530 return 1;
28531 }
28532
28533 _ACEOF
28534 rm -f conftest$ac_exeext
28535 if { (ac_try="$ac_link"
28536 case "(($ac_try" in
28537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28538 *) ac_try_echo=$ac_try;;
28539 esac
28540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28541 (eval "$ac_link") 2>&5
28542 ac_status=$?
28543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28544 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28545 { (case "(($ac_try" in
28546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28547 *) ac_try_echo=$ac_try;;
28548 esac
28549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28550 (eval "$ac_try") 2>&5
28551 ac_status=$?
28552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28553 (exit $ac_status); }; }; then
28554 :
28555 else
28556 echo "$as_me: program exited with status $ac_status" >&5
28557 echo "$as_me: failed program was:" >&5
28558 sed 's/^/| /' conftest.$ac_ext >&5
28559
28560 ( exit $ac_status )
28561 no_gtk=yes
28562 fi
28563 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28564 fi
28565
28566
28567 CFLAGS="$ac_save_CFLAGS"
28568 LIBS="$ac_save_LIBS"
28569 fi
28570 fi
28571 if test "x$no_gtk" = x ; then
28572 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28573 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28574 wx_cv_lib_gtk=2.0
28575 else
28576 { echo "$as_me:$LINENO: result: no" >&5
28577 echo "${ECHO_T}no" >&6; }
28578 if test "$PKG_CONFIG" = "no" ; then
28579 echo "*** A new enough version of pkg-config was not found."
28580 echo "*** See http://pkgconfig.sourceforge.net"
28581 else
28582 if test -f conf.gtktest ; then
28583 :
28584 else
28585 echo "*** Could not run GTK+ test program, checking why..."
28586 ac_save_CFLAGS="$CFLAGS"
28587 ac_save_LIBS="$LIBS"
28588 CFLAGS="$CFLAGS $GTK_CFLAGS"
28589 LIBS="$LIBS $GTK_LIBS"
28590 cat >conftest.$ac_ext <<_ACEOF
28591 /* confdefs.h. */
28592 _ACEOF
28593 cat confdefs.h >>conftest.$ac_ext
28594 cat >>conftest.$ac_ext <<_ACEOF
28595 /* end confdefs.h. */
28596
28597 #include <gtk/gtk.h>
28598 #include <stdio.h>
28599
28600 int
28601 main ()
28602 {
28603 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28604 ;
28605 return 0;
28606 }
28607 _ACEOF
28608 rm -f conftest.$ac_objext conftest$ac_exeext
28609 if { (ac_try="$ac_link"
28610 case "(($ac_try" in
28611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28612 *) ac_try_echo=$ac_try;;
28613 esac
28614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28615 (eval "$ac_link") 2>conftest.er1
28616 ac_status=$?
28617 grep -v '^ *+' conftest.er1 >conftest.err
28618 rm -f conftest.er1
28619 cat conftest.err >&5
28620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28621 (exit $ac_status); } && {
28622 test -z "$ac_c_werror_flag" ||
28623 test ! -s conftest.err
28624 } && test -s conftest$ac_exeext &&
28625 $as_test_x conftest$ac_exeext; then
28626 echo "*** The test program compiled, but did not run. This usually means"
28627 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28628 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28629 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28630 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28631 echo "*** is required on your system"
28632 echo "***"
28633 echo "*** If you have an old version installed, it is best to remove it, although"
28634 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28635 else
28636 echo "$as_me: failed program was:" >&5
28637 sed 's/^/| /' conftest.$ac_ext >&5
28638
28639 echo "*** The test program failed to compile or link. See the file config.log for the"
28640 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28641 fi
28642
28643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28644 conftest$ac_exeext conftest.$ac_ext
28645 CFLAGS="$ac_save_CFLAGS"
28646 LIBS="$ac_save_LIBS"
28647 fi
28648 fi
28649 GTK_CFLAGS=""
28650 GTK_LIBS=""
28651 :
28652 fi
28653
28654
28655 rm -f conf.gtktest
28656
28657
28658 case "${host}" in
28659 *-*-solaris2* )
28660 if test "$wxUSE_SHARED" != "yes"; then
28661 GTK_LIBS="$GTK_LIBS -lX11"
28662 fi
28663 esac
28664 fi
28665
28666 if test -z "$wx_cv_lib_gtk"; then
28667 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28668
28669 # Check whether --with-gtk-prefix was given.
28670 if test "${with_gtk_prefix+set}" = set; then
28671 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28672 else
28673 gtk_config_prefix=""
28674 fi
28675
28676
28677 # Check whether --with-gtk-exec-prefix was given.
28678 if test "${with_gtk_exec_prefix+set}" = set; then
28679 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28680 else
28681 gtk_config_exec_prefix=""
28682 fi
28683
28684 # Check whether --enable-gtktest was given.
28685 if test "${enable_gtktest+set}" = set; then
28686 enableval=$enable_gtktest;
28687 else
28688 enable_gtktest=yes
28689 fi
28690
28691
28692 for module in . $GTK_MODULES
28693 do
28694 case "$module" in
28695 gthread)
28696 gtk_config_args="$gtk_config_args gthread"
28697 ;;
28698 esac
28699 done
28700
28701 if test x$gtk_config_exec_prefix != x ; then
28702 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28703 if test x${GTK_CONFIG+set} != xset ; then
28704 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28705 fi
28706 fi
28707 if test x$gtk_config_prefix != x ; then
28708 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28709 if test x${GTK_CONFIG+set} != xset ; then
28710 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28711 fi
28712 fi
28713
28714 # Extract the first word of "gtk-config", so it can be a program name with args.
28715 set dummy gtk-config; ac_word=$2
28716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28718 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28719 echo $ECHO_N "(cached) $ECHO_C" >&6
28720 else
28721 case $GTK_CONFIG in
28722 [\\/]* | ?:[\\/]*)
28723 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28724 ;;
28725 *)
28726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28727 for as_dir in $PATH
28728 do
28729 IFS=$as_save_IFS
28730 test -z "$as_dir" && as_dir=.
28731 for ac_exec_ext in '' $ac_executable_extensions; do
28732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28733 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28735 break 2
28736 fi
28737 done
28738 done
28739 IFS=$as_save_IFS
28740
28741 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28742 ;;
28743 esac
28744 fi
28745 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28746 if test -n "$GTK_CONFIG"; then
28747 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28748 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28749 else
28750 { echo "$as_me:$LINENO: result: no" >&5
28751 echo "${ECHO_T}no" >&6; }
28752 fi
28753
28754
28755 min_gtk_version=1.2.7
28756 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28757 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28758 no_gtk=""
28759 if test "$GTK_CONFIG" = "no" ; then
28760 no_gtk=yes
28761 else
28762 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28763 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28764 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28765 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28766 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28767 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28768 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28769 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28770 if test "x$enable_gtktest" = "xyes" ; then
28771 ac_save_CFLAGS="$CFLAGS"
28772 ac_save_LIBS="$LIBS"
28773 CFLAGS="$CFLAGS $GTK_CFLAGS"
28774 LIBS="$GTK_LIBS $LIBS"
28775 rm -f conf.gtktest
28776 if test "$cross_compiling" = yes; then
28777 echo $ac_n "cross compiling; assumed OK... $ac_c"
28778 else
28779 cat >conftest.$ac_ext <<_ACEOF
28780 /* confdefs.h. */
28781 _ACEOF
28782 cat confdefs.h >>conftest.$ac_ext
28783 cat >>conftest.$ac_ext <<_ACEOF
28784 /* end confdefs.h. */
28785
28786 #include <gtk/gtk.h>
28787 #include <stdio.h>
28788 #include <stdlib.h>
28789
28790 int
28791 main ()
28792 {
28793 int major, minor, micro;
28794 char *tmp_version;
28795
28796 system ("touch conf.gtktest");
28797
28798 /* HP/UX 9 (%@#!) writes to sscanf strings */
28799 tmp_version = g_strdup("$min_gtk_version");
28800 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28801 printf("%s, bad version string\n", "$min_gtk_version");
28802 exit(1);
28803 }
28804
28805 if ((gtk_major_version != $gtk_config_major_version) ||
28806 (gtk_minor_version != $gtk_config_minor_version) ||
28807 (gtk_micro_version != $gtk_config_micro_version))
28808 {
28809 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28810 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28811 gtk_major_version, gtk_minor_version, gtk_micro_version);
28812 printf ("*** was found! If gtk-config was correct, then it is best\n");
28813 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28814 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28815 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28816 printf("*** required on your system.\n");
28817 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28818 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28819 printf("*** before re-running configure\n");
28820 }
28821 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28822 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28823 (gtk_minor_version != GTK_MINOR_VERSION) ||
28824 (gtk_micro_version != GTK_MICRO_VERSION))
28825 {
28826 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28827 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28828 printf("*** library (version %d.%d.%d)\n",
28829 gtk_major_version, gtk_minor_version, gtk_micro_version);
28830 }
28831 #endif /* defined (GTK_MAJOR_VERSION) ... */
28832 else
28833 {
28834 if ((gtk_major_version > major) ||
28835 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28836 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28837 {
28838 return 0;
28839 }
28840 else
28841 {
28842 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28843 gtk_major_version, gtk_minor_version, gtk_micro_version);
28844 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28845 major, minor, micro);
28846 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28847 printf("***\n");
28848 printf("*** If you have already installed a sufficiently new version, this error\n");
28849 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28850 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28851 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28852 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28853 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28854 printf("*** so that the correct libraries are found at run-time))\n");
28855 }
28856 }
28857 return 1;
28858 }
28859
28860 _ACEOF
28861 rm -f conftest$ac_exeext
28862 if { (ac_try="$ac_link"
28863 case "(($ac_try" in
28864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28865 *) ac_try_echo=$ac_try;;
28866 esac
28867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28868 (eval "$ac_link") 2>&5
28869 ac_status=$?
28870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28871 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28872 { (case "(($ac_try" in
28873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28874 *) ac_try_echo=$ac_try;;
28875 esac
28876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28877 (eval "$ac_try") 2>&5
28878 ac_status=$?
28879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28880 (exit $ac_status); }; }; then
28881 :
28882 else
28883 echo "$as_me: program exited with status $ac_status" >&5
28884 echo "$as_me: failed program was:" >&5
28885 sed 's/^/| /' conftest.$ac_ext >&5
28886
28887 ( exit $ac_status )
28888 no_gtk=yes
28889 fi
28890 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28891 fi
28892
28893
28894 CFLAGS="$ac_save_CFLAGS"
28895 LIBS="$ac_save_LIBS"
28896 fi
28897 fi
28898 if test "x$no_gtk" = x ; then
28899 { echo "$as_me:$LINENO: result: yes" >&5
28900 echo "${ECHO_T}yes" >&6; }
28901 wx_cv_lib_gtk=1.2.7
28902 else
28903 { echo "$as_me:$LINENO: result: no" >&5
28904 echo "${ECHO_T}no" >&6; }
28905 if test "$GTK_CONFIG" = "no" ; then
28906 echo "*** The gtk-config script installed by GTK could not be found"
28907 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28908 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28909 echo "*** full path to gtk-config."
28910 else
28911 if test -f conf.gtktest ; then
28912 :
28913 else
28914 echo "*** Could not run GTK test program, checking why..."
28915 CFLAGS="$CFLAGS $GTK_CFLAGS"
28916 LIBS="$LIBS $GTK_LIBS"
28917 cat >conftest.$ac_ext <<_ACEOF
28918 /* confdefs.h. */
28919 _ACEOF
28920 cat confdefs.h >>conftest.$ac_ext
28921 cat >>conftest.$ac_ext <<_ACEOF
28922 /* end confdefs.h. */
28923
28924 #include <gtk/gtk.h>
28925 #include <stdio.h>
28926
28927 int
28928 main ()
28929 {
28930 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28931 ;
28932 return 0;
28933 }
28934 _ACEOF
28935 rm -f conftest.$ac_objext conftest$ac_exeext
28936 if { (ac_try="$ac_link"
28937 case "(($ac_try" in
28938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28939 *) ac_try_echo=$ac_try;;
28940 esac
28941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28942 (eval "$ac_link") 2>conftest.er1
28943 ac_status=$?
28944 grep -v '^ *+' conftest.er1 >conftest.err
28945 rm -f conftest.er1
28946 cat conftest.err >&5
28947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28948 (exit $ac_status); } && {
28949 test -z "$ac_c_werror_flag" ||
28950 test ! -s conftest.err
28951 } && test -s conftest$ac_exeext &&
28952 $as_test_x conftest$ac_exeext; then
28953 echo "*** The test program compiled, but did not run. This usually means"
28954 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28955 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28956 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28957 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28958 echo "*** is required on your system"
28959 echo "***"
28960 echo "*** If you have an old version installed, it is best to remove it, although"
28961 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28962 echo "***"
28963 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28964 echo "*** came with the system with the command"
28965 echo "***"
28966 echo "*** rpm --erase --nodeps gtk gtk-devel"
28967 else
28968 echo "$as_me: failed program was:" >&5
28969 sed 's/^/| /' conftest.$ac_ext >&5
28970
28971 echo "*** The test program failed to compile or link. See the file config.log for the"
28972 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28973 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28974 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28975 fi
28976
28977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28978 conftest$ac_exeext conftest.$ac_ext
28979 CFLAGS="$ac_save_CFLAGS"
28980 LIBS="$ac_save_LIBS"
28981 fi
28982 fi
28983 GTK_CFLAGS=""
28984 GTK_LIBS=""
28985 :
28986 fi
28987
28988
28989 rm -f conf.gtktest
28990
28991
28992 if test -z "$wx_cv_lib_gtk"; then
28993
28994 # Check whether --with-gtk-prefix was given.
28995 if test "${with_gtk_prefix+set}" = set; then
28996 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28997 else
28998 gtk_config_prefix=""
28999 fi
29000
29001
29002 # Check whether --with-gtk-exec-prefix was given.
29003 if test "${with_gtk_exec_prefix+set}" = set; then
29004 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29005 else
29006 gtk_config_exec_prefix=""
29007 fi
29008
29009 # Check whether --enable-gtktest was given.
29010 if test "${enable_gtktest+set}" = set; then
29011 enableval=$enable_gtktest;
29012 else
29013 enable_gtktest=yes
29014 fi
29015
29016
29017 for module in . $GTK_MODULES
29018 do
29019 case "$module" in
29020 gthread)
29021 gtk_config_args="$gtk_config_args gthread"
29022 ;;
29023 esac
29024 done
29025
29026 if test x$gtk_config_exec_prefix != x ; then
29027 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29028 if test x${GTK_CONFIG+set} != xset ; then
29029 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29030 fi
29031 fi
29032 if test x$gtk_config_prefix != x ; then
29033 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29034 if test x${GTK_CONFIG+set} != xset ; then
29035 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29036 fi
29037 fi
29038
29039 # Extract the first word of "gtk-config", so it can be a program name with args.
29040 set dummy gtk-config; ac_word=$2
29041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29043 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29044 echo $ECHO_N "(cached) $ECHO_C" >&6
29045 else
29046 case $GTK_CONFIG in
29047 [\\/]* | ?:[\\/]*)
29048 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29049 ;;
29050 *)
29051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29052 for as_dir in $PATH
29053 do
29054 IFS=$as_save_IFS
29055 test -z "$as_dir" && as_dir=.
29056 for ac_exec_ext in '' $ac_executable_extensions; do
29057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29058 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29060 break 2
29061 fi
29062 done
29063 done
29064 IFS=$as_save_IFS
29065
29066 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29067 ;;
29068 esac
29069 fi
29070 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29071 if test -n "$GTK_CONFIG"; then
29072 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29073 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29074 else
29075 { echo "$as_me:$LINENO: result: no" >&5
29076 echo "${ECHO_T}no" >&6; }
29077 fi
29078
29079
29080 min_gtk_version=1.2.3
29081 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29082 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29083 no_gtk=""
29084 if test "$GTK_CONFIG" = "no" ; then
29085 no_gtk=yes
29086 else
29087 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29088 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29089 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29090 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29091 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29092 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29093 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29094 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29095 if test "x$enable_gtktest" = "xyes" ; then
29096 ac_save_CFLAGS="$CFLAGS"
29097 ac_save_LIBS="$LIBS"
29098 CFLAGS="$CFLAGS $GTK_CFLAGS"
29099 LIBS="$GTK_LIBS $LIBS"
29100 rm -f conf.gtktest
29101 if test "$cross_compiling" = yes; then
29102 echo $ac_n "cross compiling; assumed OK... $ac_c"
29103 else
29104 cat >conftest.$ac_ext <<_ACEOF
29105 /* confdefs.h. */
29106 _ACEOF
29107 cat confdefs.h >>conftest.$ac_ext
29108 cat >>conftest.$ac_ext <<_ACEOF
29109 /* end confdefs.h. */
29110
29111 #include <gtk/gtk.h>
29112 #include <stdio.h>
29113 #include <stdlib.h>
29114
29115 int
29116 main ()
29117 {
29118 int major, minor, micro;
29119 char *tmp_version;
29120
29121 system ("touch conf.gtktest");
29122
29123 /* HP/UX 9 (%@#!) writes to sscanf strings */
29124 tmp_version = g_strdup("$min_gtk_version");
29125 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29126 printf("%s, bad version string\n", "$min_gtk_version");
29127 exit(1);
29128 }
29129
29130 if ((gtk_major_version != $gtk_config_major_version) ||
29131 (gtk_minor_version != $gtk_config_minor_version) ||
29132 (gtk_micro_version != $gtk_config_micro_version))
29133 {
29134 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29135 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29136 gtk_major_version, gtk_minor_version, gtk_micro_version);
29137 printf ("*** was found! If gtk-config was correct, then it is best\n");
29138 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29139 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29140 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29141 printf("*** required on your system.\n");
29142 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29143 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29144 printf("*** before re-running configure\n");
29145 }
29146 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29147 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29148 (gtk_minor_version != GTK_MINOR_VERSION) ||
29149 (gtk_micro_version != GTK_MICRO_VERSION))
29150 {
29151 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29152 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29153 printf("*** library (version %d.%d.%d)\n",
29154 gtk_major_version, gtk_minor_version, gtk_micro_version);
29155 }
29156 #endif /* defined (GTK_MAJOR_VERSION) ... */
29157 else
29158 {
29159 if ((gtk_major_version > major) ||
29160 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29161 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29162 {
29163 return 0;
29164 }
29165 else
29166 {
29167 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29168 gtk_major_version, gtk_minor_version, gtk_micro_version);
29169 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29170 major, minor, micro);
29171 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29172 printf("***\n");
29173 printf("*** If you have already installed a sufficiently new version, this error\n");
29174 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29175 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29176 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29177 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29178 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29179 printf("*** so that the correct libraries are found at run-time))\n");
29180 }
29181 }
29182 return 1;
29183 }
29184
29185 _ACEOF
29186 rm -f conftest$ac_exeext
29187 if { (ac_try="$ac_link"
29188 case "(($ac_try" in
29189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29190 *) ac_try_echo=$ac_try;;
29191 esac
29192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29193 (eval "$ac_link") 2>&5
29194 ac_status=$?
29195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29196 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29197 { (case "(($ac_try" in
29198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29199 *) ac_try_echo=$ac_try;;
29200 esac
29201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29202 (eval "$ac_try") 2>&5
29203 ac_status=$?
29204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29205 (exit $ac_status); }; }; then
29206 :
29207 else
29208 echo "$as_me: program exited with status $ac_status" >&5
29209 echo "$as_me: failed program was:" >&5
29210 sed 's/^/| /' conftest.$ac_ext >&5
29211
29212 ( exit $ac_status )
29213 no_gtk=yes
29214 fi
29215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29216 fi
29217
29218
29219 CFLAGS="$ac_save_CFLAGS"
29220 LIBS="$ac_save_LIBS"
29221 fi
29222 fi
29223 if test "x$no_gtk" = x ; then
29224 { echo "$as_me:$LINENO: result: yes" >&5
29225 echo "${ECHO_T}yes" >&6; }
29226 wx_cv_lib_gtk=1.2.3
29227 else
29228 { echo "$as_me:$LINENO: result: no" >&5
29229 echo "${ECHO_T}no" >&6; }
29230 if test "$GTK_CONFIG" = "no" ; then
29231 echo "*** The gtk-config script installed by GTK could not be found"
29232 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29233 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29234 echo "*** full path to gtk-config."
29235 else
29236 if test -f conf.gtktest ; then
29237 :
29238 else
29239 echo "*** Could not run GTK test program, checking why..."
29240 CFLAGS="$CFLAGS $GTK_CFLAGS"
29241 LIBS="$LIBS $GTK_LIBS"
29242 cat >conftest.$ac_ext <<_ACEOF
29243 /* confdefs.h. */
29244 _ACEOF
29245 cat confdefs.h >>conftest.$ac_ext
29246 cat >>conftest.$ac_ext <<_ACEOF
29247 /* end confdefs.h. */
29248
29249 #include <gtk/gtk.h>
29250 #include <stdio.h>
29251
29252 int
29253 main ()
29254 {
29255 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29256 ;
29257 return 0;
29258 }
29259 _ACEOF
29260 rm -f conftest.$ac_objext conftest$ac_exeext
29261 if { (ac_try="$ac_link"
29262 case "(($ac_try" in
29263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29264 *) ac_try_echo=$ac_try;;
29265 esac
29266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29267 (eval "$ac_link") 2>conftest.er1
29268 ac_status=$?
29269 grep -v '^ *+' conftest.er1 >conftest.err
29270 rm -f conftest.er1
29271 cat conftest.err >&5
29272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29273 (exit $ac_status); } && {
29274 test -z "$ac_c_werror_flag" ||
29275 test ! -s conftest.err
29276 } && test -s conftest$ac_exeext &&
29277 $as_test_x conftest$ac_exeext; then
29278 echo "*** The test program compiled, but did not run. This usually means"
29279 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29280 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29281 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29282 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29283 echo "*** is required on your system"
29284 echo "***"
29285 echo "*** If you have an old version installed, it is best to remove it, although"
29286 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29287 echo "***"
29288 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29289 echo "*** came with the system with the command"
29290 echo "***"
29291 echo "*** rpm --erase --nodeps gtk gtk-devel"
29292 else
29293 echo "$as_me: failed program was:" >&5
29294 sed 's/^/| /' conftest.$ac_ext >&5
29295
29296 echo "*** The test program failed to compile or link. See the file config.log for the"
29297 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29298 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29299 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29300 fi
29301
29302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29303 conftest$ac_exeext conftest.$ac_ext
29304 CFLAGS="$ac_save_CFLAGS"
29305 LIBS="$ac_save_LIBS"
29306 fi
29307 fi
29308 GTK_CFLAGS=""
29309 GTK_LIBS=""
29310 :
29311 fi
29312
29313
29314 rm -f conf.gtktest
29315
29316 fi
29317 fi
29318 fi
29319
29320 if test -z "$wx_cv_lib_gtk"; then
29321 wx_cv_lib_gtk=none
29322 else
29323 wx_cv_cflags_gtk=$GTK_CFLAGS
29324 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29325 fi
29326
29327
29328 fi
29329
29330
29331 if test "$gtk_version_cached" = 1; then
29332 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29333 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29334 fi
29335
29336 case "$wx_cv_lib_gtk" in
29337 2.0) WXGTK2=1
29338 TOOLKIT_VERSION=2
29339 ;;
29340 1.2.7) WXGTK127=1
29341 WXGTK12=1
29342 ;;
29343 1.2.3) WXGTK12=1
29344 ;;
29345 *) { { echo "$as_me:$LINENO: error:
29346 The development files for GTK+ were not found. For GTK+ 2, please
29347 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29348 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29349 and that the version is 1.2.3 or above. Also check that the
29350 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29351 --libs' are in the LD_LIBRARY_PATH or equivalent.
29352 " >&5
29353 echo "$as_me: error:
29354 The development files for GTK+ were not found. For GTK+ 2, please
29355 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29356 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29357 and that the version is 1.2.3 or above. Also check that the
29358 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29359 --libs' are in the LD_LIBRARY_PATH or equivalent.
29360 " >&2;}
29361 { (exit 1); exit 1; }; }
29362 ;;
29363 esac
29364
29365 if test "$WXGTK2" = 1; then
29366 save_CFLAGS="$CFLAGS"
29367 save_LIBS="$LIBS"
29368 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29369 LIBS="$LIBS $wx_cv_libs_gtk"
29370
29371 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29372 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29373 cat >conftest.$ac_ext <<_ACEOF
29374 /* confdefs.h. */
29375 _ACEOF
29376 cat confdefs.h >>conftest.$ac_ext
29377 cat >>conftest.$ac_ext <<_ACEOF
29378 /* end confdefs.h. */
29379
29380 #include <gtk/gtk.h>
29381
29382 int
29383 main ()
29384 {
29385
29386 #if !GTK_CHECK_VERSION(2,10,0)
29387 Not GTK+ 2.10
29388 #endif
29389
29390 ;
29391 return 0;
29392 }
29393 _ACEOF
29394 rm -f conftest.$ac_objext
29395 if { (ac_try="$ac_compile"
29396 case "(($ac_try" in
29397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29398 *) ac_try_echo=$ac_try;;
29399 esac
29400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29401 (eval "$ac_compile") 2>conftest.er1
29402 ac_status=$?
29403 grep -v '^ *+' conftest.er1 >conftest.err
29404 rm -f conftest.er1
29405 cat conftest.err >&5
29406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29407 (exit $ac_status); } && {
29408 test -z "$ac_c_werror_flag" ||
29409 test ! -s conftest.err
29410 } && test -s conftest.$ac_objext; then
29411
29412 cat >>confdefs.h <<\_ACEOF
29413 #define __WXGTK210__ 1
29414 _ACEOF
29415
29416 cat >>confdefs.h <<\_ACEOF
29417 #define __WXGTK26__ 1
29418 _ACEOF
29419
29420 { echo "$as_me:$LINENO: result: yes" >&5
29421 echo "${ECHO_T}yes" >&6; }
29422 ac_wxgtk210=1
29423
29424 else
29425 echo "$as_me: failed program was:" >&5
29426 sed 's/^/| /' conftest.$ac_ext >&5
29427
29428
29429 { echo "$as_me:$LINENO: result: no" >&5
29430 echo "${ECHO_T}no" >&6; }
29431 ac_wxgtk210=0
29432
29433 fi
29434
29435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29436
29437 if test "$ac_wxgtk210" = 0; then
29438 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29439 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29440 cat >conftest.$ac_ext <<_ACEOF
29441 /* confdefs.h. */
29442 _ACEOF
29443 cat confdefs.h >>conftest.$ac_ext
29444 cat >>conftest.$ac_ext <<_ACEOF
29445 /* end confdefs.h. */
29446
29447 #include <gtk/gtk.h>
29448
29449 int
29450 main ()
29451 {
29452
29453 #if !GTK_CHECK_VERSION(2,6,0)
29454 Not GTK+ 2.6
29455 #endif
29456
29457 ;
29458 return 0;
29459 }
29460 _ACEOF
29461 rm -f conftest.$ac_objext
29462 if { (ac_try="$ac_compile"
29463 case "(($ac_try" in
29464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29465 *) ac_try_echo=$ac_try;;
29466 esac
29467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29468 (eval "$ac_compile") 2>conftest.er1
29469 ac_status=$?
29470 grep -v '^ *+' conftest.er1 >conftest.err
29471 rm -f conftest.er1
29472 cat conftest.err >&5
29473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29474 (exit $ac_status); } && {
29475 test -z "$ac_c_werror_flag" ||
29476 test ! -s conftest.err
29477 } && test -s conftest.$ac_objext; then
29478
29479 cat >>confdefs.h <<\_ACEOF
29480 #define __WXGTK26__ 1
29481 _ACEOF
29482
29483 { echo "$as_me:$LINENO: result: yes" >&5
29484 echo "${ECHO_T}yes" >&6; }
29485 ac_wxgtk26=1
29486
29487 else
29488 echo "$as_me: failed program was:" >&5
29489 sed 's/^/| /' conftest.$ac_ext >&5
29490
29491
29492 { echo "$as_me:$LINENO: result: no" >&5
29493 echo "${ECHO_T}no" >&6; }
29494 ac_wxgtk26=0
29495
29496 fi
29497
29498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29499 fi
29500
29501 CFLAGS="$save_CFLAGS"
29502 LIBS="$save_LIBS"
29503 else
29504 if test "$wxUSE_UNICODE" = "yes"; then
29505 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29506 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29507 wxUSE_UNICODE=no
29508 fi
29509
29510 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29511 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29512 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29513 echo $ECHO_N "(cached) $ECHO_C" >&6
29514 else
29515 ac_check_lib_save_LIBS=$LIBS
29516 LIBS="-lgdk $LIBS"
29517 cat >conftest.$ac_ext <<_ACEOF
29518 /* confdefs.h. */
29519 _ACEOF
29520 cat confdefs.h >>conftest.$ac_ext
29521 cat >>conftest.$ac_ext <<_ACEOF
29522 /* end confdefs.h. */
29523
29524 /* Override any GCC internal prototype to avoid an error.
29525 Use char because int might match the return type of a GCC
29526 builtin and then its argument prototype would still apply. */
29527 #ifdef __cplusplus
29528 extern "C"
29529 #endif
29530 char gdk_im_open ();
29531 int
29532 main ()
29533 {
29534 return gdk_im_open ();
29535 ;
29536 return 0;
29537 }
29538 _ACEOF
29539 rm -f conftest.$ac_objext conftest$ac_exeext
29540 if { (ac_try="$ac_link"
29541 case "(($ac_try" in
29542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29543 *) ac_try_echo=$ac_try;;
29544 esac
29545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29546 (eval "$ac_link") 2>conftest.er1
29547 ac_status=$?
29548 grep -v '^ *+' conftest.er1 >conftest.err
29549 rm -f conftest.er1
29550 cat conftest.err >&5
29551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29552 (exit $ac_status); } && {
29553 test -z "$ac_c_werror_flag" ||
29554 test ! -s conftest.err
29555 } && test -s conftest$ac_exeext &&
29556 $as_test_x conftest$ac_exeext; then
29557 ac_cv_lib_gdk_gdk_im_open=yes
29558 else
29559 echo "$as_me: failed program was:" >&5
29560 sed 's/^/| /' conftest.$ac_ext >&5
29561
29562 ac_cv_lib_gdk_gdk_im_open=no
29563 fi
29564
29565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29566 conftest$ac_exeext conftest.$ac_ext
29567 LIBS=$ac_check_lib_save_LIBS
29568 fi
29569 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29570 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29571 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29572 cat >>confdefs.h <<\_ACEOF
29573 #define HAVE_XIM 1
29574 _ACEOF
29575
29576 fi
29577
29578
29579 if test "$USE_DARWIN" != 1; then
29580
29581 for ac_func in poll
29582 do
29583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29584 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29586 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29587 echo $ECHO_N "(cached) $ECHO_C" >&6
29588 else
29589 cat >conftest.$ac_ext <<_ACEOF
29590 /* confdefs.h. */
29591 _ACEOF
29592 cat confdefs.h >>conftest.$ac_ext
29593 cat >>conftest.$ac_ext <<_ACEOF
29594 /* end confdefs.h. */
29595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29597 #define $ac_func innocuous_$ac_func
29598
29599 /* System header to define __stub macros and hopefully few prototypes,
29600 which can conflict with char $ac_func (); below.
29601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29602 <limits.h> exists even on freestanding compilers. */
29603
29604 #ifdef __STDC__
29605 # include <limits.h>
29606 #else
29607 # include <assert.h>
29608 #endif
29609
29610 #undef $ac_func
29611
29612 /* Override any GCC internal prototype to avoid an error.
29613 Use char because int might match the return type of a GCC
29614 builtin and then its argument prototype would still apply. */
29615 #ifdef __cplusplus
29616 extern "C"
29617 #endif
29618 char $ac_func ();
29619 /* The GNU C library defines this for functions which it implements
29620 to always fail with ENOSYS. Some functions are actually named
29621 something starting with __ and the normal name is an alias. */
29622 #if defined __stub_$ac_func || defined __stub___$ac_func
29623 choke me
29624 #endif
29625
29626 int
29627 main ()
29628 {
29629 return $ac_func ();
29630 ;
29631 return 0;
29632 }
29633 _ACEOF
29634 rm -f conftest.$ac_objext conftest$ac_exeext
29635 if { (ac_try="$ac_link"
29636 case "(($ac_try" in
29637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29638 *) ac_try_echo=$ac_try;;
29639 esac
29640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29641 (eval "$ac_link") 2>conftest.er1
29642 ac_status=$?
29643 grep -v '^ *+' conftest.er1 >conftest.err
29644 rm -f conftest.er1
29645 cat conftest.err >&5
29646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29647 (exit $ac_status); } && {
29648 test -z "$ac_c_werror_flag" ||
29649 test ! -s conftest.err
29650 } && test -s conftest$ac_exeext &&
29651 $as_test_x conftest$ac_exeext; then
29652 eval "$as_ac_var=yes"
29653 else
29654 echo "$as_me: failed program was:" >&5
29655 sed 's/^/| /' conftest.$ac_ext >&5
29656
29657 eval "$as_ac_var=no"
29658 fi
29659
29660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29661 conftest$ac_exeext conftest.$ac_ext
29662 fi
29663 ac_res=`eval echo '${'$as_ac_var'}'`
29664 { echo "$as_me:$LINENO: result: $ac_res" >&5
29665 echo "${ECHO_T}$ac_res" >&6; }
29666 if test `eval echo '${'$as_ac_var'}'` = yes; then
29667 cat >>confdefs.h <<_ACEOF
29668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29669 _ACEOF
29670
29671 fi
29672 done
29673
29674 fi
29675 fi
29676
29677 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29678 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29679
29680 AFMINSTALL=afminstall
29681 TOOLKIT=GTK
29682 GUIDIST=GTK_DIST
29683
29684 if test "$wxUSE_GPE" = "yes"; then
29685 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29686 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29687
29688 ac_find_libraries=
29689 for ac_dir in $SEARCH_LIB;
29690 do
29691 for ac_extension in a so sl dylib dll.a; do
29692 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29693 ac_find_libraries=$ac_dir
29694 break 2
29695 fi
29696 done
29697 done
29698
29699 if test "$ac_find_libraries" != "" ; then
29700
29701 if test "$ac_find_libraries" = "default location"; then
29702 ac_path_to_link=""
29703 else
29704 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29705 result=$?
29706 if test $result = 0; then
29707 ac_path_to_link=""
29708 else
29709 ac_path_to_link=" -L$ac_find_libraries"
29710 fi
29711 fi
29712
29713 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29714 WXGPE=1
29715 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29716 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29717 else
29718 { echo "$as_me:$LINENO: result: not found" >&5
29719 echo "${ECHO_T}not found" >&6; }
29720 fi
29721
29722 fi
29723 fi
29724
29725 if test "$wxUSE_MGL" = 1; then
29726 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29727 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29728 if test "x$MGL_ROOT" = x ; then
29729 { echo "$as_me:$LINENO: result: not found" >&5
29730 echo "${ECHO_T}not found" >&6; }
29731 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29732 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29733 { (exit 1); exit 1; }; }
29734 else
29735 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29736 echo "${ECHO_T}$MGL_ROOT" >&6; }
29737 fi
29738
29739 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29740 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29741 case "${host}" in
29742 *-*-linux* )
29743 if test "x$wxUSE_SHARED" = xyes ; then
29744 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29745 else
29746 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29747 fi
29748 ;;
29749 *-pc-msdosdjgpp )
29750 mgl_os_candidates="dos32/dj2"
29751 ;;
29752 *)
29753 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29754 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29755 { (exit 1); exit 1; }; }
29756 esac
29757
29758 mgl_lib_type=""
29759 mgl_os=""
29760
29761 for mgl_os_i in $mgl_os_candidates ; do
29762 if test "x$mgl_os" = x ; then
29763 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29764 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29765 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29766 mgl_lib_type=debug
29767 mgl_os=$mgl_os_i
29768 fi
29769 fi
29770 if test "x$mgl_lib_type" = x ; then
29771 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29772 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29773 mgl_lib_type=release
29774 mgl_os=$mgl_os_i
29775 fi
29776 fi
29777 fi
29778 done
29779
29780 if test "x$mgl_os" = x ; then
29781 { echo "$as_me:$LINENO: result: not found" >&5
29782 echo "${ECHO_T}not found" >&6; }
29783 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29784 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29785 { (exit 1); exit 1; }; }
29786 fi
29787 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29788 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29789
29790 wxUSE_UNIVERSAL="yes"
29791
29792 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29793 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29794
29795 AFMINSTALL=afminstall
29796 TOOLKIT=MGL
29797 GUIDIST=MGL_DIST
29798 fi
29799
29800 if test "$wxUSE_DFB" = 1; then
29801
29802
29803 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29804 if test -n "$ac_tool_prefix"; then
29805 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29806 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29809 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29810 echo $ECHO_N "(cached) $ECHO_C" >&6
29811 else
29812 case $PKG_CONFIG in
29813 [\\/]* | ?:[\\/]*)
29814 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29815 ;;
29816 *)
29817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29818 for as_dir in $PATH
29819 do
29820 IFS=$as_save_IFS
29821 test -z "$as_dir" && as_dir=.
29822 for ac_exec_ext in '' $ac_executable_extensions; do
29823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29824 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29826 break 2
29827 fi
29828 done
29829 done
29830 IFS=$as_save_IFS
29831
29832 ;;
29833 esac
29834 fi
29835 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29836 if test -n "$PKG_CONFIG"; then
29837 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29838 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29839 else
29840 { echo "$as_me:$LINENO: result: no" >&5
29841 echo "${ECHO_T}no" >&6; }
29842 fi
29843
29844
29845 fi
29846 if test -z "$ac_cv_path_PKG_CONFIG"; then
29847 ac_pt_PKG_CONFIG=$PKG_CONFIG
29848 # Extract the first word of "pkg-config", so it can be a program name with args.
29849 set dummy pkg-config; ac_word=$2
29850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29852 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29853 echo $ECHO_N "(cached) $ECHO_C" >&6
29854 else
29855 case $ac_pt_PKG_CONFIG in
29856 [\\/]* | ?:[\\/]*)
29857 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29858 ;;
29859 *)
29860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29861 for as_dir in $PATH
29862 do
29863 IFS=$as_save_IFS
29864 test -z "$as_dir" && as_dir=.
29865 for ac_exec_ext in '' $ac_executable_extensions; do
29866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29867 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29869 break 2
29870 fi
29871 done
29872 done
29873 IFS=$as_save_IFS
29874
29875 ;;
29876 esac
29877 fi
29878 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29879 if test -n "$ac_pt_PKG_CONFIG"; then
29880 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29881 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29882 else
29883 { echo "$as_me:$LINENO: result: no" >&5
29884 echo "${ECHO_T}no" >&6; }
29885 fi
29886
29887 if test "x$ac_pt_PKG_CONFIG" = x; then
29888 PKG_CONFIG=""
29889 else
29890 case $cross_compiling:$ac_tool_warned in
29891 yes:)
29892 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29893 whose name does not start with the host triplet. If you think this
29894 configuration is useful to you, please write to autoconf@gnu.org." >&5
29895 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29896 whose name does not start with the host triplet. If you think this
29897 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29898 ac_tool_warned=yes ;;
29899 esac
29900 PKG_CONFIG=$ac_pt_PKG_CONFIG
29901 fi
29902 else
29903 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29904 fi
29905
29906 fi
29907 if test -n "$PKG_CONFIG"; then
29908 _pkg_min_version=0.9.0
29909 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29910 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29911 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29912 { echo "$as_me:$LINENO: result: yes" >&5
29913 echo "${ECHO_T}yes" >&6; }
29914 else
29915 { echo "$as_me:$LINENO: result: no" >&5
29916 echo "${ECHO_T}no" >&6; }
29917 PKG_CONFIG=""
29918 fi
29919
29920 fi
29921
29922
29923 pkg_failed=no
29924 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29925 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29926
29927 if test -n "$PKG_CONFIG"; then
29928 if test -n "$DIRECTFB_CFLAGS"; then
29929 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29930 else
29931 if test -n "$PKG_CONFIG" && \
29932 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29933 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29934 ac_status=$?
29935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29936 (exit $ac_status); }; then
29937 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29938 else
29939 pkg_failed=yes
29940 fi
29941 fi
29942 else
29943 pkg_failed=untried
29944 fi
29945 if test -n "$PKG_CONFIG"; then
29946 if test -n "$DIRECTFB_LIBS"; then
29947 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29948 else
29949 if test -n "$PKG_CONFIG" && \
29950 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29951 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29952 ac_status=$?
29953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29954 (exit $ac_status); }; then
29955 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29956 else
29957 pkg_failed=yes
29958 fi
29959 fi
29960 else
29961 pkg_failed=untried
29962 fi
29963
29964
29965
29966 if test $pkg_failed = yes; then
29967
29968 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29969 _pkg_short_errors_supported=yes
29970 else
29971 _pkg_short_errors_supported=no
29972 fi
29973 if test $_pkg_short_errors_supported = yes; then
29974 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29975 else
29976 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29977 fi
29978 # Put the nasty error message in config.log where it belongs
29979 echo "$DIRECTFB_PKG_ERRORS" >&5
29980
29981
29982 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29983 echo "$as_me: error: DirectFB not found." >&2;}
29984 { (exit 1); exit 1; }; }
29985
29986
29987 elif test $pkg_failed = untried; then
29988
29989 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29990 echo "$as_me: error: DirectFB not found." >&2;}
29991 { (exit 1); exit 1; }; }
29992
29993
29994 else
29995 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29996 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29997 { echo "$as_me:$LINENO: result: yes" >&5
29998 echo "${ECHO_T}yes" >&6; }
29999
30000 wxUSE_UNIVERSAL="yes"
30001 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30002 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30003 TOOLKIT=DFB
30004 GUIDIST=DFB_DIST
30005
30006 fi
30007 fi
30008
30009 if test "$wxUSE_MICROWIN" = 1; then
30010 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30011 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30012 if test "x$MICROWINDOWS" = x ; then
30013 { echo "$as_me:$LINENO: result: not found" >&5
30014 echo "${ECHO_T}not found" >&6; }
30015 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30016 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30017 { (exit 1); exit 1; }; }
30018 else
30019 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30020 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30021 fi
30022
30023 if test -f $MICROWINDOWS/lib/libmwin.a; then
30024 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30025 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30026 else
30027 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30028 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30029 { (exit 1); exit 1; }; }
30030 fi
30031
30032 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30033 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30034
30035 wxUSE_UNIVERSAL="yes"
30036
30037 AFMINSTALL=afminstall
30038 TOOLKIT=MICROWIN
30039 GUIDIST=MICROWIN_DIST
30040
30041 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30042 fi
30043
30044 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30045 { echo "$as_me:$LINENO: checking for X" >&5
30046 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30047
30048
30049 # Check whether --with-x was given.
30050 if test "${with_x+set}" = set; then
30051 withval=$with_x;
30052 fi
30053
30054 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30055 if test "x$with_x" = xno; then
30056 # The user explicitly disabled X.
30057 have_x=disabled
30058 else
30059 case $x_includes,$x_libraries in #(
30060 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30061 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30062 { (exit 1); exit 1; }; };; #(
30063 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30064 echo $ECHO_N "(cached) $ECHO_C" >&6
30065 else
30066 # One or both of the vars are not set, and there is no cached value.
30067 ac_x_includes=no ac_x_libraries=no
30068 rm -f -r conftest.dir
30069 if mkdir conftest.dir; then
30070 cd conftest.dir
30071 cat >Imakefile <<'_ACEOF'
30072 incroot:
30073 @echo incroot='${INCROOT}'
30074 usrlibdir:
30075 @echo usrlibdir='${USRLIBDIR}'
30076 libdir:
30077 @echo libdir='${LIBDIR}'
30078 _ACEOF
30079 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30080 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30081 for ac_var in incroot usrlibdir libdir; do
30082 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30083 done
30084 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30085 for ac_extension in a so sl; do
30086 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30087 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30088 ac_im_usrlibdir=$ac_im_libdir; break
30089 fi
30090 done
30091 # Screen out bogus values from the imake configuration. They are
30092 # bogus both because they are the default anyway, and because
30093 # using them would break gcc on systems where it needs fixed includes.
30094 case $ac_im_incroot in
30095 /usr/include) ac_x_includes= ;;
30096 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30097 esac
30098 case $ac_im_usrlibdir in
30099 /usr/lib | /lib) ;;
30100 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30101 esac
30102 fi
30103 cd ..
30104 rm -f -r conftest.dir
30105 fi
30106
30107 # Standard set of common directories for X headers.
30108 # Check X11 before X11Rn because it is often a symlink to the current release.
30109 ac_x_header_dirs='
30110 /usr/X11/include
30111 /usr/X11R6/include
30112 /usr/X11R5/include
30113 /usr/X11R4/include
30114
30115 /usr/include/X11
30116 /usr/include/X11R6
30117 /usr/include/X11R5
30118 /usr/include/X11R4
30119
30120 /usr/local/X11/include
30121 /usr/local/X11R6/include
30122 /usr/local/X11R5/include
30123 /usr/local/X11R4/include
30124
30125 /usr/local/include/X11
30126 /usr/local/include/X11R6
30127 /usr/local/include/X11R5
30128 /usr/local/include/X11R4
30129
30130 /usr/X386/include
30131 /usr/x386/include
30132 /usr/XFree86/include/X11
30133
30134 /usr/include
30135 /usr/local/include
30136 /usr/unsupported/include
30137 /usr/athena/include
30138 /usr/local/x11r5/include
30139 /usr/lpp/Xamples/include
30140
30141 /usr/openwin/include
30142 /usr/openwin/share/include'
30143
30144 if test "$ac_x_includes" = no; then
30145 # Guess where to find include files, by looking for Xlib.h.
30146 # First, try using that file with no special directory specified.
30147 cat >conftest.$ac_ext <<_ACEOF
30148 /* confdefs.h. */
30149 _ACEOF
30150 cat confdefs.h >>conftest.$ac_ext
30151 cat >>conftest.$ac_ext <<_ACEOF
30152 /* end confdefs.h. */
30153 #include <X11/Xlib.h>
30154 _ACEOF
30155 if { (ac_try="$ac_cpp conftest.$ac_ext"
30156 case "(($ac_try" in
30157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30158 *) ac_try_echo=$ac_try;;
30159 esac
30160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30161 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30162 ac_status=$?
30163 grep -v '^ *+' conftest.er1 >conftest.err
30164 rm -f conftest.er1
30165 cat conftest.err >&5
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); } >/dev/null && {
30168 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30169 test ! -s conftest.err
30170 }; then
30171 # We can compile using X headers with no special include directory.
30172 ac_x_includes=
30173 else
30174 echo "$as_me: failed program was:" >&5
30175 sed 's/^/| /' conftest.$ac_ext >&5
30176
30177 for ac_dir in $ac_x_header_dirs; do
30178 if test -r "$ac_dir/X11/Xlib.h"; then
30179 ac_x_includes=$ac_dir
30180 break
30181 fi
30182 done
30183 fi
30184
30185 rm -f conftest.err conftest.$ac_ext
30186 fi # $ac_x_includes = no
30187
30188 if test "$ac_x_libraries" = no; then
30189 # Check for the libraries.
30190 # See if we find them without any special options.
30191 # Don't add to $LIBS permanently.
30192 ac_save_LIBS=$LIBS
30193 LIBS="-lX11 $LIBS"
30194 cat >conftest.$ac_ext <<_ACEOF
30195 /* confdefs.h. */
30196 _ACEOF
30197 cat confdefs.h >>conftest.$ac_ext
30198 cat >>conftest.$ac_ext <<_ACEOF
30199 /* end confdefs.h. */
30200 #include <X11/Xlib.h>
30201 int
30202 main ()
30203 {
30204 XrmInitialize ()
30205 ;
30206 return 0;
30207 }
30208 _ACEOF
30209 rm -f conftest.$ac_objext conftest$ac_exeext
30210 if { (ac_try="$ac_link"
30211 case "(($ac_try" in
30212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30213 *) ac_try_echo=$ac_try;;
30214 esac
30215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30216 (eval "$ac_link") 2>conftest.er1
30217 ac_status=$?
30218 grep -v '^ *+' conftest.er1 >conftest.err
30219 rm -f conftest.er1
30220 cat conftest.err >&5
30221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30222 (exit $ac_status); } && {
30223 test -z "$ac_c_werror_flag" ||
30224 test ! -s conftest.err
30225 } && test -s conftest$ac_exeext &&
30226 $as_test_x conftest$ac_exeext; then
30227 LIBS=$ac_save_LIBS
30228 # We can link X programs with no special library path.
30229 ac_x_libraries=
30230 else
30231 echo "$as_me: failed program was:" >&5
30232 sed 's/^/| /' conftest.$ac_ext >&5
30233
30234 LIBS=$ac_save_LIBS
30235 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30236 do
30237 # Don't even attempt the hair of trying to link an X program!
30238 for ac_extension in a so sl; do
30239 if test -r "$ac_dir/libX11.$ac_extension"; then
30240 ac_x_libraries=$ac_dir
30241 break 2
30242 fi
30243 done
30244 done
30245 fi
30246
30247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30248 conftest$ac_exeext conftest.$ac_ext
30249 fi # $ac_x_libraries = no
30250
30251 case $ac_x_includes,$ac_x_libraries in #(
30252 no,* | *,no | *\'*)
30253 # Didn't find X, or a directory has "'" in its name.
30254 ac_cv_have_x="have_x=no";; #(
30255 *)
30256 # Record where we found X for the cache.
30257 ac_cv_have_x="have_x=yes\
30258 ac_x_includes='$ac_x_includes'\
30259 ac_x_libraries='$ac_x_libraries'"
30260 esac
30261 fi
30262 ;; #(
30263 *) have_x=yes;;
30264 esac
30265 eval "$ac_cv_have_x"
30266 fi # $with_x != no
30267
30268 if test "$have_x" != yes; then
30269 { echo "$as_me:$LINENO: result: $have_x" >&5
30270 echo "${ECHO_T}$have_x" >&6; }
30271 no_x=yes
30272 else
30273 # If each of the values was on the command line, it overrides each guess.
30274 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30275 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30276 # Update the cache value to reflect the command line values.
30277 ac_cv_have_x="have_x=yes\
30278 ac_x_includes='$x_includes'\
30279 ac_x_libraries='$x_libraries'"
30280 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30281 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30282 fi
30283
30284 if test "$no_x" = yes; then
30285 # Not all programs may use this symbol, but it does not hurt to define it.
30286
30287 cat >>confdefs.h <<\_ACEOF
30288 #define X_DISPLAY_MISSING 1
30289 _ACEOF
30290
30291 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30292 else
30293 if test -n "$x_includes"; then
30294 X_CFLAGS="$X_CFLAGS -I$x_includes"
30295 fi
30296
30297 # It would also be nice to do this for all -L options, not just this one.
30298 if test -n "$x_libraries"; then
30299 X_LIBS="$X_LIBS -L$x_libraries"
30300 # For Solaris; some versions of Sun CC require a space after -R and
30301 # others require no space. Words are not sufficient . . . .
30302 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30303 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30304 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30305 ac_xsave_c_werror_flag=$ac_c_werror_flag
30306 ac_c_werror_flag=yes
30307 cat >conftest.$ac_ext <<_ACEOF
30308 /* confdefs.h. */
30309 _ACEOF
30310 cat confdefs.h >>conftest.$ac_ext
30311 cat >>conftest.$ac_ext <<_ACEOF
30312 /* end confdefs.h. */
30313
30314 int
30315 main ()
30316 {
30317
30318 ;
30319 return 0;
30320 }
30321 _ACEOF
30322 rm -f conftest.$ac_objext conftest$ac_exeext
30323 if { (ac_try="$ac_link"
30324 case "(($ac_try" in
30325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30326 *) ac_try_echo=$ac_try;;
30327 esac
30328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30329 (eval "$ac_link") 2>conftest.er1
30330 ac_status=$?
30331 grep -v '^ *+' conftest.er1 >conftest.err
30332 rm -f conftest.er1
30333 cat conftest.err >&5
30334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30335 (exit $ac_status); } && {
30336 test -z "$ac_c_werror_flag" ||
30337 test ! -s conftest.err
30338 } && test -s conftest$ac_exeext &&
30339 $as_test_x conftest$ac_exeext; then
30340 { echo "$as_me:$LINENO: result: no" >&5
30341 echo "${ECHO_T}no" >&6; }
30342 X_LIBS="$X_LIBS -R$x_libraries"
30343 else
30344 echo "$as_me: failed program was:" >&5
30345 sed 's/^/| /' conftest.$ac_ext >&5
30346
30347 LIBS="$ac_xsave_LIBS -R $x_libraries"
30348 cat >conftest.$ac_ext <<_ACEOF
30349 /* confdefs.h. */
30350 _ACEOF
30351 cat confdefs.h >>conftest.$ac_ext
30352 cat >>conftest.$ac_ext <<_ACEOF
30353 /* end confdefs.h. */
30354
30355 int
30356 main ()
30357 {
30358
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 { echo "$as_me:$LINENO: result: yes" >&5
30382 echo "${ECHO_T}yes" >&6; }
30383 X_LIBS="$X_LIBS -R $x_libraries"
30384 else
30385 echo "$as_me: failed program was:" >&5
30386 sed 's/^/| /' conftest.$ac_ext >&5
30387
30388 { echo "$as_me:$LINENO: result: neither works" >&5
30389 echo "${ECHO_T}neither works" >&6; }
30390 fi
30391
30392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30393 conftest$ac_exeext conftest.$ac_ext
30394 fi
30395
30396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30397 conftest$ac_exeext conftest.$ac_ext
30398 ac_c_werror_flag=$ac_xsave_c_werror_flag
30399 LIBS=$ac_xsave_LIBS
30400 fi
30401
30402 # Check for system-dependent libraries X programs must link with.
30403 # Do this before checking for the system-independent R6 libraries
30404 # (-lICE), since we may need -lsocket or whatever for X linking.
30405
30406 if test "$ISC" = yes; then
30407 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30408 else
30409 # Martyn Johnson says this is needed for Ultrix, if the X
30410 # libraries were built with DECnet support. And Karl Berry says
30411 # the Alpha needs dnet_stub (dnet does not exist).
30412 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30413 cat >conftest.$ac_ext <<_ACEOF
30414 /* confdefs.h. */
30415 _ACEOF
30416 cat confdefs.h >>conftest.$ac_ext
30417 cat >>conftest.$ac_ext <<_ACEOF
30418 /* end confdefs.h. */
30419
30420 /* Override any GCC internal prototype to avoid an error.
30421 Use char because int might match the return type of a GCC
30422 builtin and then its argument prototype would still apply. */
30423 #ifdef __cplusplus
30424 extern "C"
30425 #endif
30426 char XOpenDisplay ();
30427 int
30428 main ()
30429 {
30430 return XOpenDisplay ();
30431 ;
30432 return 0;
30433 }
30434 _ACEOF
30435 rm -f conftest.$ac_objext conftest$ac_exeext
30436 if { (ac_try="$ac_link"
30437 case "(($ac_try" in
30438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30439 *) ac_try_echo=$ac_try;;
30440 esac
30441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30442 (eval "$ac_link") 2>conftest.er1
30443 ac_status=$?
30444 grep -v '^ *+' conftest.er1 >conftest.err
30445 rm -f conftest.er1
30446 cat conftest.err >&5
30447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30448 (exit $ac_status); } && {
30449 test -z "$ac_c_werror_flag" ||
30450 test ! -s conftest.err
30451 } && test -s conftest$ac_exeext &&
30452 $as_test_x conftest$ac_exeext; then
30453 :
30454 else
30455 echo "$as_me: failed program was:" >&5
30456 sed 's/^/| /' conftest.$ac_ext >&5
30457
30458 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30459 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30460 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30461 echo $ECHO_N "(cached) $ECHO_C" >&6
30462 else
30463 ac_check_lib_save_LIBS=$LIBS
30464 LIBS="-ldnet $LIBS"
30465 cat >conftest.$ac_ext <<_ACEOF
30466 /* confdefs.h. */
30467 _ACEOF
30468 cat confdefs.h >>conftest.$ac_ext
30469 cat >>conftest.$ac_ext <<_ACEOF
30470 /* end confdefs.h. */
30471
30472 /* Override any GCC internal prototype to avoid an error.
30473 Use char because int might match the return type of a GCC
30474 builtin and then its argument prototype would still apply. */
30475 #ifdef __cplusplus
30476 extern "C"
30477 #endif
30478 char dnet_ntoa ();
30479 int
30480 main ()
30481 {
30482 return dnet_ntoa ();
30483 ;
30484 return 0;
30485 }
30486 _ACEOF
30487 rm -f conftest.$ac_objext conftest$ac_exeext
30488 if { (ac_try="$ac_link"
30489 case "(($ac_try" in
30490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30491 *) ac_try_echo=$ac_try;;
30492 esac
30493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30494 (eval "$ac_link") 2>conftest.er1
30495 ac_status=$?
30496 grep -v '^ *+' conftest.er1 >conftest.err
30497 rm -f conftest.er1
30498 cat conftest.err >&5
30499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30500 (exit $ac_status); } && {
30501 test -z "$ac_c_werror_flag" ||
30502 test ! -s conftest.err
30503 } && test -s conftest$ac_exeext &&
30504 $as_test_x conftest$ac_exeext; then
30505 ac_cv_lib_dnet_dnet_ntoa=yes
30506 else
30507 echo "$as_me: failed program was:" >&5
30508 sed 's/^/| /' conftest.$ac_ext >&5
30509
30510 ac_cv_lib_dnet_dnet_ntoa=no
30511 fi
30512
30513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30514 conftest$ac_exeext conftest.$ac_ext
30515 LIBS=$ac_check_lib_save_LIBS
30516 fi
30517 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30518 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30519 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30520 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30521 fi
30522
30523 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30524 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30525 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30526 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30527 echo $ECHO_N "(cached) $ECHO_C" >&6
30528 else
30529 ac_check_lib_save_LIBS=$LIBS
30530 LIBS="-ldnet_stub $LIBS"
30531 cat >conftest.$ac_ext <<_ACEOF
30532 /* confdefs.h. */
30533 _ACEOF
30534 cat confdefs.h >>conftest.$ac_ext
30535 cat >>conftest.$ac_ext <<_ACEOF
30536 /* end confdefs.h. */
30537
30538 /* Override any GCC internal prototype to avoid an error.
30539 Use char because int might match the return type of a GCC
30540 builtin and then its argument prototype would still apply. */
30541 #ifdef __cplusplus
30542 extern "C"
30543 #endif
30544 char dnet_ntoa ();
30545 int
30546 main ()
30547 {
30548 return dnet_ntoa ();
30549 ;
30550 return 0;
30551 }
30552 _ACEOF
30553 rm -f conftest.$ac_objext conftest$ac_exeext
30554 if { (ac_try="$ac_link"
30555 case "(($ac_try" in
30556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30557 *) ac_try_echo=$ac_try;;
30558 esac
30559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30560 (eval "$ac_link") 2>conftest.er1
30561 ac_status=$?
30562 grep -v '^ *+' conftest.er1 >conftest.err
30563 rm -f conftest.er1
30564 cat conftest.err >&5
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); } && {
30567 test -z "$ac_c_werror_flag" ||
30568 test ! -s conftest.err
30569 } && test -s conftest$ac_exeext &&
30570 $as_test_x conftest$ac_exeext; then
30571 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30572 else
30573 echo "$as_me: failed program was:" >&5
30574 sed 's/^/| /' conftest.$ac_ext >&5
30575
30576 ac_cv_lib_dnet_stub_dnet_ntoa=no
30577 fi
30578
30579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30580 conftest$ac_exeext conftest.$ac_ext
30581 LIBS=$ac_check_lib_save_LIBS
30582 fi
30583 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30584 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30585 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30586 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30587 fi
30588
30589 fi
30590 fi
30591
30592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30593 conftest$ac_exeext conftest.$ac_ext
30594 LIBS="$ac_xsave_LIBS"
30595
30596 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30597 # to get the SysV transport functions.
30598 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30599 # needs -lnsl.
30600 # The nsl library prevents programs from opening the X display
30601 # on Irix 5.2, according to T.E. Dickey.
30602 # The functions gethostbyname, getservbyname, and inet_addr are
30603 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30604 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30605 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30606 if test "${ac_cv_func_gethostbyname+set}" = set; then
30607 echo $ECHO_N "(cached) $ECHO_C" >&6
30608 else
30609 cat >conftest.$ac_ext <<_ACEOF
30610 /* confdefs.h. */
30611 _ACEOF
30612 cat confdefs.h >>conftest.$ac_ext
30613 cat >>conftest.$ac_ext <<_ACEOF
30614 /* end confdefs.h. */
30615 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30617 #define gethostbyname innocuous_gethostbyname
30618
30619 /* System header to define __stub macros and hopefully few prototypes,
30620 which can conflict with char gethostbyname (); below.
30621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30622 <limits.h> exists even on freestanding compilers. */
30623
30624 #ifdef __STDC__
30625 # include <limits.h>
30626 #else
30627 # include <assert.h>
30628 #endif
30629
30630 #undef gethostbyname
30631
30632 /* Override any GCC internal prototype to avoid an error.
30633 Use char because int might match the return type of a GCC
30634 builtin and then its argument prototype would still apply. */
30635 #ifdef __cplusplus
30636 extern "C"
30637 #endif
30638 char gethostbyname ();
30639 /* The GNU C library defines this for functions which it implements
30640 to always fail with ENOSYS. Some functions are actually named
30641 something starting with __ and the normal name is an alias. */
30642 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30643 choke me
30644 #endif
30645
30646 int
30647 main ()
30648 {
30649 return gethostbyname ();
30650 ;
30651 return 0;
30652 }
30653 _ACEOF
30654 rm -f conftest.$ac_objext conftest$ac_exeext
30655 if { (ac_try="$ac_link"
30656 case "(($ac_try" in
30657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30658 *) ac_try_echo=$ac_try;;
30659 esac
30660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30661 (eval "$ac_link") 2>conftest.er1
30662 ac_status=$?
30663 grep -v '^ *+' conftest.er1 >conftest.err
30664 rm -f conftest.er1
30665 cat conftest.err >&5
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); } && {
30668 test -z "$ac_c_werror_flag" ||
30669 test ! -s conftest.err
30670 } && test -s conftest$ac_exeext &&
30671 $as_test_x conftest$ac_exeext; then
30672 ac_cv_func_gethostbyname=yes
30673 else
30674 echo "$as_me: failed program was:" >&5
30675 sed 's/^/| /' conftest.$ac_ext >&5
30676
30677 ac_cv_func_gethostbyname=no
30678 fi
30679
30680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30681 conftest$ac_exeext conftest.$ac_ext
30682 fi
30683 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30684 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30685
30686 if test $ac_cv_func_gethostbyname = no; then
30687 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30688 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30689 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30690 echo $ECHO_N "(cached) $ECHO_C" >&6
30691 else
30692 ac_check_lib_save_LIBS=$LIBS
30693 LIBS="-lnsl $LIBS"
30694 cat >conftest.$ac_ext <<_ACEOF
30695 /* confdefs.h. */
30696 _ACEOF
30697 cat confdefs.h >>conftest.$ac_ext
30698 cat >>conftest.$ac_ext <<_ACEOF
30699 /* end confdefs.h. */
30700
30701 /* Override any GCC internal prototype to avoid an error.
30702 Use char because int might match the return type of a GCC
30703 builtin and then its argument prototype would still apply. */
30704 #ifdef __cplusplus
30705 extern "C"
30706 #endif
30707 char gethostbyname ();
30708 int
30709 main ()
30710 {
30711 return gethostbyname ();
30712 ;
30713 return 0;
30714 }
30715 _ACEOF
30716 rm -f conftest.$ac_objext conftest$ac_exeext
30717 if { (ac_try="$ac_link"
30718 case "(($ac_try" in
30719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30720 *) ac_try_echo=$ac_try;;
30721 esac
30722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30723 (eval "$ac_link") 2>conftest.er1
30724 ac_status=$?
30725 grep -v '^ *+' conftest.er1 >conftest.err
30726 rm -f conftest.er1
30727 cat conftest.err >&5
30728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30729 (exit $ac_status); } && {
30730 test -z "$ac_c_werror_flag" ||
30731 test ! -s conftest.err
30732 } && test -s conftest$ac_exeext &&
30733 $as_test_x conftest$ac_exeext; then
30734 ac_cv_lib_nsl_gethostbyname=yes
30735 else
30736 echo "$as_me: failed program was:" >&5
30737 sed 's/^/| /' conftest.$ac_ext >&5
30738
30739 ac_cv_lib_nsl_gethostbyname=no
30740 fi
30741
30742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30743 conftest$ac_exeext conftest.$ac_ext
30744 LIBS=$ac_check_lib_save_LIBS
30745 fi
30746 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30747 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30748 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30749 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30750 fi
30751
30752 if test $ac_cv_lib_nsl_gethostbyname = no; then
30753 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30754 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30755 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30756 echo $ECHO_N "(cached) $ECHO_C" >&6
30757 else
30758 ac_check_lib_save_LIBS=$LIBS
30759 LIBS="-lbsd $LIBS"
30760 cat >conftest.$ac_ext <<_ACEOF
30761 /* confdefs.h. */
30762 _ACEOF
30763 cat confdefs.h >>conftest.$ac_ext
30764 cat >>conftest.$ac_ext <<_ACEOF
30765 /* end confdefs.h. */
30766
30767 /* Override any GCC internal prototype to avoid an error.
30768 Use char because int might match the return type of a GCC
30769 builtin and then its argument prototype would still apply. */
30770 #ifdef __cplusplus
30771 extern "C"
30772 #endif
30773 char gethostbyname ();
30774 int
30775 main ()
30776 {
30777 return gethostbyname ();
30778 ;
30779 return 0;
30780 }
30781 _ACEOF
30782 rm -f conftest.$ac_objext conftest$ac_exeext
30783 if { (ac_try="$ac_link"
30784 case "(($ac_try" in
30785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30786 *) ac_try_echo=$ac_try;;
30787 esac
30788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30789 (eval "$ac_link") 2>conftest.er1
30790 ac_status=$?
30791 grep -v '^ *+' conftest.er1 >conftest.err
30792 rm -f conftest.er1
30793 cat conftest.err >&5
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); } && {
30796 test -z "$ac_c_werror_flag" ||
30797 test ! -s conftest.err
30798 } && test -s conftest$ac_exeext &&
30799 $as_test_x conftest$ac_exeext; then
30800 ac_cv_lib_bsd_gethostbyname=yes
30801 else
30802 echo "$as_me: failed program was:" >&5
30803 sed 's/^/| /' conftest.$ac_ext >&5
30804
30805 ac_cv_lib_bsd_gethostbyname=no
30806 fi
30807
30808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30809 conftest$ac_exeext conftest.$ac_ext
30810 LIBS=$ac_check_lib_save_LIBS
30811 fi
30812 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30813 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30814 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30815 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30816 fi
30817
30818 fi
30819 fi
30820
30821 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30822 # socket/setsockopt and other routines are undefined under SCO ODT
30823 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30824 # on later versions), says Simon Leinen: it contains gethostby*
30825 # variants that don't use the name server (or something). -lsocket
30826 # must be given before -lnsl if both are needed. We assume that
30827 # if connect needs -lnsl, so does gethostbyname.
30828 { echo "$as_me:$LINENO: checking for connect" >&5
30829 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30830 if test "${ac_cv_func_connect+set}" = set; then
30831 echo $ECHO_N "(cached) $ECHO_C" >&6
30832 else
30833 cat >conftest.$ac_ext <<_ACEOF
30834 /* confdefs.h. */
30835 _ACEOF
30836 cat confdefs.h >>conftest.$ac_ext
30837 cat >>conftest.$ac_ext <<_ACEOF
30838 /* end confdefs.h. */
30839 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30841 #define connect innocuous_connect
30842
30843 /* System header to define __stub macros and hopefully few prototypes,
30844 which can conflict with char connect (); below.
30845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30846 <limits.h> exists even on freestanding compilers. */
30847
30848 #ifdef __STDC__
30849 # include <limits.h>
30850 #else
30851 # include <assert.h>
30852 #endif
30853
30854 #undef connect
30855
30856 /* Override any GCC internal prototype to avoid an error.
30857 Use char because int might match the return type of a GCC
30858 builtin and then its argument prototype would still apply. */
30859 #ifdef __cplusplus
30860 extern "C"
30861 #endif
30862 char connect ();
30863 /* The GNU C library defines this for functions which it implements
30864 to always fail with ENOSYS. Some functions are actually named
30865 something starting with __ and the normal name is an alias. */
30866 #if defined __stub_connect || defined __stub___connect
30867 choke me
30868 #endif
30869
30870 int
30871 main ()
30872 {
30873 return connect ();
30874 ;
30875 return 0;
30876 }
30877 _ACEOF
30878 rm -f conftest.$ac_objext conftest$ac_exeext
30879 if { (ac_try="$ac_link"
30880 case "(($ac_try" in
30881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30882 *) ac_try_echo=$ac_try;;
30883 esac
30884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30885 (eval "$ac_link") 2>conftest.er1
30886 ac_status=$?
30887 grep -v '^ *+' conftest.er1 >conftest.err
30888 rm -f conftest.er1
30889 cat conftest.err >&5
30890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30891 (exit $ac_status); } && {
30892 test -z "$ac_c_werror_flag" ||
30893 test ! -s conftest.err
30894 } && test -s conftest$ac_exeext &&
30895 $as_test_x conftest$ac_exeext; then
30896 ac_cv_func_connect=yes
30897 else
30898 echo "$as_me: failed program was:" >&5
30899 sed 's/^/| /' conftest.$ac_ext >&5
30900
30901 ac_cv_func_connect=no
30902 fi
30903
30904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30905 conftest$ac_exeext conftest.$ac_ext
30906 fi
30907 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30908 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30909
30910 if test $ac_cv_func_connect = no; then
30911 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30912 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30913 if test "${ac_cv_lib_socket_connect+set}" = set; then
30914 echo $ECHO_N "(cached) $ECHO_C" >&6
30915 else
30916 ac_check_lib_save_LIBS=$LIBS
30917 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30918 cat >conftest.$ac_ext <<_ACEOF
30919 /* confdefs.h. */
30920 _ACEOF
30921 cat confdefs.h >>conftest.$ac_ext
30922 cat >>conftest.$ac_ext <<_ACEOF
30923 /* end confdefs.h. */
30924
30925 /* Override any GCC internal prototype to avoid an error.
30926 Use char because int might match the return type of a GCC
30927 builtin and then its argument prototype would still apply. */
30928 #ifdef __cplusplus
30929 extern "C"
30930 #endif
30931 char connect ();
30932 int
30933 main ()
30934 {
30935 return connect ();
30936 ;
30937 return 0;
30938 }
30939 _ACEOF
30940 rm -f conftest.$ac_objext conftest$ac_exeext
30941 if { (ac_try="$ac_link"
30942 case "(($ac_try" in
30943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30944 *) ac_try_echo=$ac_try;;
30945 esac
30946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30947 (eval "$ac_link") 2>conftest.er1
30948 ac_status=$?
30949 grep -v '^ *+' conftest.er1 >conftest.err
30950 rm -f conftest.er1
30951 cat conftest.err >&5
30952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30953 (exit $ac_status); } && {
30954 test -z "$ac_c_werror_flag" ||
30955 test ! -s conftest.err
30956 } && test -s conftest$ac_exeext &&
30957 $as_test_x conftest$ac_exeext; then
30958 ac_cv_lib_socket_connect=yes
30959 else
30960 echo "$as_me: failed program was:" >&5
30961 sed 's/^/| /' conftest.$ac_ext >&5
30962
30963 ac_cv_lib_socket_connect=no
30964 fi
30965
30966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30967 conftest$ac_exeext conftest.$ac_ext
30968 LIBS=$ac_check_lib_save_LIBS
30969 fi
30970 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30971 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30972 if test $ac_cv_lib_socket_connect = yes; then
30973 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30974 fi
30975
30976 fi
30977
30978 # Guillermo Gomez says -lposix is necessary on A/UX.
30979 { echo "$as_me:$LINENO: checking for remove" >&5
30980 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30981 if test "${ac_cv_func_remove+set}" = set; then
30982 echo $ECHO_N "(cached) $ECHO_C" >&6
30983 else
30984 cat >conftest.$ac_ext <<_ACEOF
30985 /* confdefs.h. */
30986 _ACEOF
30987 cat confdefs.h >>conftest.$ac_ext
30988 cat >>conftest.$ac_ext <<_ACEOF
30989 /* end confdefs.h. */
30990 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30992 #define remove innocuous_remove
30993
30994 /* System header to define __stub macros and hopefully few prototypes,
30995 which can conflict with char remove (); below.
30996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30997 <limits.h> exists even on freestanding compilers. */
30998
30999 #ifdef __STDC__
31000 # include <limits.h>
31001 #else
31002 # include <assert.h>
31003 #endif
31004
31005 #undef remove
31006
31007 /* Override any GCC internal prototype to avoid an error.
31008 Use char because int might match the return type of a GCC
31009 builtin and then its argument prototype would still apply. */
31010 #ifdef __cplusplus
31011 extern "C"
31012 #endif
31013 char remove ();
31014 /* The GNU C library defines this for functions which it implements
31015 to always fail with ENOSYS. Some functions are actually named
31016 something starting with __ and the normal name is an alias. */
31017 #if defined __stub_remove || defined __stub___remove
31018 choke me
31019 #endif
31020
31021 int
31022 main ()
31023 {
31024 return remove ();
31025 ;
31026 return 0;
31027 }
31028 _ACEOF
31029 rm -f conftest.$ac_objext conftest$ac_exeext
31030 if { (ac_try="$ac_link"
31031 case "(($ac_try" in
31032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31033 *) ac_try_echo=$ac_try;;
31034 esac
31035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31036 (eval "$ac_link") 2>conftest.er1
31037 ac_status=$?
31038 grep -v '^ *+' conftest.er1 >conftest.err
31039 rm -f conftest.er1
31040 cat conftest.err >&5
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); } && {
31043 test -z "$ac_c_werror_flag" ||
31044 test ! -s conftest.err
31045 } && test -s conftest$ac_exeext &&
31046 $as_test_x conftest$ac_exeext; then
31047 ac_cv_func_remove=yes
31048 else
31049 echo "$as_me: failed program was:" >&5
31050 sed 's/^/| /' conftest.$ac_ext >&5
31051
31052 ac_cv_func_remove=no
31053 fi
31054
31055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31056 conftest$ac_exeext conftest.$ac_ext
31057 fi
31058 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31059 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31060
31061 if test $ac_cv_func_remove = no; then
31062 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31063 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31064 if test "${ac_cv_lib_posix_remove+set}" = set; then
31065 echo $ECHO_N "(cached) $ECHO_C" >&6
31066 else
31067 ac_check_lib_save_LIBS=$LIBS
31068 LIBS="-lposix $LIBS"
31069 cat >conftest.$ac_ext <<_ACEOF
31070 /* confdefs.h. */
31071 _ACEOF
31072 cat confdefs.h >>conftest.$ac_ext
31073 cat >>conftest.$ac_ext <<_ACEOF
31074 /* end confdefs.h. */
31075
31076 /* Override any GCC internal prototype to avoid an error.
31077 Use char because int might match the return type of a GCC
31078 builtin and then its argument prototype would still apply. */
31079 #ifdef __cplusplus
31080 extern "C"
31081 #endif
31082 char remove ();
31083 int
31084 main ()
31085 {
31086 return remove ();
31087 ;
31088 return 0;
31089 }
31090 _ACEOF
31091 rm -f conftest.$ac_objext conftest$ac_exeext
31092 if { (ac_try="$ac_link"
31093 case "(($ac_try" in
31094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31095 *) ac_try_echo=$ac_try;;
31096 esac
31097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31098 (eval "$ac_link") 2>conftest.er1
31099 ac_status=$?
31100 grep -v '^ *+' conftest.er1 >conftest.err
31101 rm -f conftest.er1
31102 cat conftest.err >&5
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); } && {
31105 test -z "$ac_c_werror_flag" ||
31106 test ! -s conftest.err
31107 } && test -s conftest$ac_exeext &&
31108 $as_test_x conftest$ac_exeext; then
31109 ac_cv_lib_posix_remove=yes
31110 else
31111 echo "$as_me: failed program was:" >&5
31112 sed 's/^/| /' conftest.$ac_ext >&5
31113
31114 ac_cv_lib_posix_remove=no
31115 fi
31116
31117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31118 conftest$ac_exeext conftest.$ac_ext
31119 LIBS=$ac_check_lib_save_LIBS
31120 fi
31121 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31122 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31123 if test $ac_cv_lib_posix_remove = yes; then
31124 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31125 fi
31126
31127 fi
31128
31129 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31130 { echo "$as_me:$LINENO: checking for shmat" >&5
31131 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31132 if test "${ac_cv_func_shmat+set}" = set; then
31133 echo $ECHO_N "(cached) $ECHO_C" >&6
31134 else
31135 cat >conftest.$ac_ext <<_ACEOF
31136 /* confdefs.h. */
31137 _ACEOF
31138 cat confdefs.h >>conftest.$ac_ext
31139 cat >>conftest.$ac_ext <<_ACEOF
31140 /* end confdefs.h. */
31141 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31143 #define shmat innocuous_shmat
31144
31145 /* System header to define __stub macros and hopefully few prototypes,
31146 which can conflict with char shmat (); below.
31147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31148 <limits.h> exists even on freestanding compilers. */
31149
31150 #ifdef __STDC__
31151 # include <limits.h>
31152 #else
31153 # include <assert.h>
31154 #endif
31155
31156 #undef shmat
31157
31158 /* Override any GCC internal prototype to avoid an error.
31159 Use char because int might match the return type of a GCC
31160 builtin and then its argument prototype would still apply. */
31161 #ifdef __cplusplus
31162 extern "C"
31163 #endif
31164 char shmat ();
31165 /* The GNU C library defines this for functions which it implements
31166 to always fail with ENOSYS. Some functions are actually named
31167 something starting with __ and the normal name is an alias. */
31168 #if defined __stub_shmat || defined __stub___shmat
31169 choke me
31170 #endif
31171
31172 int
31173 main ()
31174 {
31175 return shmat ();
31176 ;
31177 return 0;
31178 }
31179 _ACEOF
31180 rm -f conftest.$ac_objext conftest$ac_exeext
31181 if { (ac_try="$ac_link"
31182 case "(($ac_try" in
31183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31184 *) ac_try_echo=$ac_try;;
31185 esac
31186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31187 (eval "$ac_link") 2>conftest.er1
31188 ac_status=$?
31189 grep -v '^ *+' conftest.er1 >conftest.err
31190 rm -f conftest.er1
31191 cat conftest.err >&5
31192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31193 (exit $ac_status); } && {
31194 test -z "$ac_c_werror_flag" ||
31195 test ! -s conftest.err
31196 } && test -s conftest$ac_exeext &&
31197 $as_test_x conftest$ac_exeext; then
31198 ac_cv_func_shmat=yes
31199 else
31200 echo "$as_me: failed program was:" >&5
31201 sed 's/^/| /' conftest.$ac_ext >&5
31202
31203 ac_cv_func_shmat=no
31204 fi
31205
31206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31207 conftest$ac_exeext conftest.$ac_ext
31208 fi
31209 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31210 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31211
31212 if test $ac_cv_func_shmat = no; then
31213 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31214 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31215 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31216 echo $ECHO_N "(cached) $ECHO_C" >&6
31217 else
31218 ac_check_lib_save_LIBS=$LIBS
31219 LIBS="-lipc $LIBS"
31220 cat >conftest.$ac_ext <<_ACEOF
31221 /* confdefs.h. */
31222 _ACEOF
31223 cat confdefs.h >>conftest.$ac_ext
31224 cat >>conftest.$ac_ext <<_ACEOF
31225 /* end confdefs.h. */
31226
31227 /* Override any GCC internal prototype to avoid an error.
31228 Use char because int might match the return type of a GCC
31229 builtin and then its argument prototype would still apply. */
31230 #ifdef __cplusplus
31231 extern "C"
31232 #endif
31233 char shmat ();
31234 int
31235 main ()
31236 {
31237 return shmat ();
31238 ;
31239 return 0;
31240 }
31241 _ACEOF
31242 rm -f conftest.$ac_objext conftest$ac_exeext
31243 if { (ac_try="$ac_link"
31244 case "(($ac_try" in
31245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31246 *) ac_try_echo=$ac_try;;
31247 esac
31248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31249 (eval "$ac_link") 2>conftest.er1
31250 ac_status=$?
31251 grep -v '^ *+' conftest.er1 >conftest.err
31252 rm -f conftest.er1
31253 cat conftest.err >&5
31254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31255 (exit $ac_status); } && {
31256 test -z "$ac_c_werror_flag" ||
31257 test ! -s conftest.err
31258 } && test -s conftest$ac_exeext &&
31259 $as_test_x conftest$ac_exeext; then
31260 ac_cv_lib_ipc_shmat=yes
31261 else
31262 echo "$as_me: failed program was:" >&5
31263 sed 's/^/| /' conftest.$ac_ext >&5
31264
31265 ac_cv_lib_ipc_shmat=no
31266 fi
31267
31268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31269 conftest$ac_exeext conftest.$ac_ext
31270 LIBS=$ac_check_lib_save_LIBS
31271 fi
31272 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31273 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31274 if test $ac_cv_lib_ipc_shmat = yes; then
31275 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31276 fi
31277
31278 fi
31279 fi
31280
31281 # Check for libraries that X11R6 Xt/Xaw programs need.
31282 ac_save_LDFLAGS=$LDFLAGS
31283 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31284 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31285 # check for ICE first), but we must link in the order -lSM -lICE or
31286 # we get undefined symbols. So assume we have SM if we have ICE.
31287 # These have to be linked with before -lX11, unlike the other
31288 # libraries we check for below, so use a different variable.
31289 # John Interrante, Karl Berry
31290 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31291 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31292 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31293 echo $ECHO_N "(cached) $ECHO_C" >&6
31294 else
31295 ac_check_lib_save_LIBS=$LIBS
31296 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31297 cat >conftest.$ac_ext <<_ACEOF
31298 /* confdefs.h. */
31299 _ACEOF
31300 cat confdefs.h >>conftest.$ac_ext
31301 cat >>conftest.$ac_ext <<_ACEOF
31302 /* end confdefs.h. */
31303
31304 /* Override any GCC internal prototype to avoid an error.
31305 Use char because int might match the return type of a GCC
31306 builtin and then its argument prototype would still apply. */
31307 #ifdef __cplusplus
31308 extern "C"
31309 #endif
31310 char IceConnectionNumber ();
31311 int
31312 main ()
31313 {
31314 return IceConnectionNumber ();
31315 ;
31316 return 0;
31317 }
31318 _ACEOF
31319 rm -f conftest.$ac_objext conftest$ac_exeext
31320 if { (ac_try="$ac_link"
31321 case "(($ac_try" in
31322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31323 *) ac_try_echo=$ac_try;;
31324 esac
31325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31326 (eval "$ac_link") 2>conftest.er1
31327 ac_status=$?
31328 grep -v '^ *+' conftest.er1 >conftest.err
31329 rm -f conftest.er1
31330 cat conftest.err >&5
31331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31332 (exit $ac_status); } && {
31333 test -z "$ac_c_werror_flag" ||
31334 test ! -s conftest.err
31335 } && test -s conftest$ac_exeext &&
31336 $as_test_x conftest$ac_exeext; then
31337 ac_cv_lib_ICE_IceConnectionNumber=yes
31338 else
31339 echo "$as_me: failed program was:" >&5
31340 sed 's/^/| /' conftest.$ac_ext >&5
31341
31342 ac_cv_lib_ICE_IceConnectionNumber=no
31343 fi
31344
31345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31346 conftest$ac_exeext conftest.$ac_ext
31347 LIBS=$ac_check_lib_save_LIBS
31348 fi
31349 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31350 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31351 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31352 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31353 fi
31354
31355 LDFLAGS=$ac_save_LDFLAGS
31356
31357 fi
31358
31359
31360 if test "$no_x" = "yes"; then
31361 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31362 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31363 { (exit 1); exit 1; }; }
31364 fi
31365
31366 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31367 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31368 AFMINSTALL=afminstall
31369 COMPILED_X_PROGRAM=0
31370
31371 fi
31372
31373 if test "$wxUSE_X11" = 1; then
31374 if test "$wxUSE_NANOX" = "yes"; then
31375 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31376 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31377 if test "x$MICROWIN" = x ; then
31378 { echo "$as_me:$LINENO: result: not found" >&5
31379 echo "${ECHO_T}not found" >&6; }
31380 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31381 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31382 { (exit 1); exit 1; }; }
31383 else
31384 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31385 echo "${ECHO_T}$MICROWIN" >&6; }
31386 cat >>confdefs.h <<\_ACEOF
31387 #define wxUSE_NANOX 1
31388 _ACEOF
31389
31390 fi
31391 fi
31392
31393 if test "$wxUSE_UNICODE" = "yes"; then
31394
31395
31396 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31397 if test -n "$ac_tool_prefix"; then
31398 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31399 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31402 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31403 echo $ECHO_N "(cached) $ECHO_C" >&6
31404 else
31405 case $PKG_CONFIG in
31406 [\\/]* | ?:[\\/]*)
31407 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31408 ;;
31409 *)
31410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31411 for as_dir in $PATH
31412 do
31413 IFS=$as_save_IFS
31414 test -z "$as_dir" && as_dir=.
31415 for ac_exec_ext in '' $ac_executable_extensions; do
31416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31417 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31419 break 2
31420 fi
31421 done
31422 done
31423 IFS=$as_save_IFS
31424
31425 ;;
31426 esac
31427 fi
31428 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31429 if test -n "$PKG_CONFIG"; then
31430 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31431 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31432 else
31433 { echo "$as_me:$LINENO: result: no" >&5
31434 echo "${ECHO_T}no" >&6; }
31435 fi
31436
31437
31438 fi
31439 if test -z "$ac_cv_path_PKG_CONFIG"; then
31440 ac_pt_PKG_CONFIG=$PKG_CONFIG
31441 # Extract the first word of "pkg-config", so it can be a program name with args.
31442 set dummy pkg-config; ac_word=$2
31443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31445 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31446 echo $ECHO_N "(cached) $ECHO_C" >&6
31447 else
31448 case $ac_pt_PKG_CONFIG in
31449 [\\/]* | ?:[\\/]*)
31450 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31451 ;;
31452 *)
31453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31454 for as_dir in $PATH
31455 do
31456 IFS=$as_save_IFS
31457 test -z "$as_dir" && as_dir=.
31458 for ac_exec_ext in '' $ac_executable_extensions; do
31459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31460 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31462 break 2
31463 fi
31464 done
31465 done
31466 IFS=$as_save_IFS
31467
31468 ;;
31469 esac
31470 fi
31471 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31472 if test -n "$ac_pt_PKG_CONFIG"; then
31473 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31474 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31475 else
31476 { echo "$as_me:$LINENO: result: no" >&5
31477 echo "${ECHO_T}no" >&6; }
31478 fi
31479
31480 if test "x$ac_pt_PKG_CONFIG" = x; then
31481 PKG_CONFIG=""
31482 else
31483 case $cross_compiling:$ac_tool_warned in
31484 yes:)
31485 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31486 whose name does not start with the host triplet. If you think this
31487 configuration is useful to you, please write to autoconf@gnu.org." >&5
31488 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31489 whose name does not start with the host triplet. If you think this
31490 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31491 ac_tool_warned=yes ;;
31492 esac
31493 PKG_CONFIG=$ac_pt_PKG_CONFIG
31494 fi
31495 else
31496 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31497 fi
31498
31499 fi
31500 if test -n "$PKG_CONFIG"; then
31501 _pkg_min_version=0.9.0
31502 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31503 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31504 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31505 { echo "$as_me:$LINENO: result: yes" >&5
31506 echo "${ECHO_T}yes" >&6; }
31507 else
31508 { echo "$as_me:$LINENO: result: no" >&5
31509 echo "${ECHO_T}no" >&6; }
31510 PKG_CONFIG=""
31511 fi
31512
31513 fi
31514
31515
31516 pkg_failed=no
31517 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31518 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31519
31520 if test -n "$PKG_CONFIG"; then
31521 if test -n "$PANGOX_CFLAGS"; then
31522 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31523 else
31524 if test -n "$PKG_CONFIG" && \
31525 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31526 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31527 ac_status=$?
31528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31529 (exit $ac_status); }; then
31530 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31531 else
31532 pkg_failed=yes
31533 fi
31534 fi
31535 else
31536 pkg_failed=untried
31537 fi
31538 if test -n "$PKG_CONFIG"; then
31539 if test -n "$PANGOX_LIBS"; then
31540 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31541 else
31542 if test -n "$PKG_CONFIG" && \
31543 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31544 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31545 ac_status=$?
31546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31547 (exit $ac_status); }; then
31548 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31549 else
31550 pkg_failed=yes
31551 fi
31552 fi
31553 else
31554 pkg_failed=untried
31555 fi
31556
31557
31558
31559 if test $pkg_failed = yes; then
31560
31561 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31562 _pkg_short_errors_supported=yes
31563 else
31564 _pkg_short_errors_supported=no
31565 fi
31566 if test $_pkg_short_errors_supported = yes; then
31567 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31568 else
31569 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31570 fi
31571 # Put the nasty error message in config.log where it belongs
31572 echo "$PANGOX_PKG_ERRORS" >&5
31573
31574
31575 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31576 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31577 { (exit 1); exit 1; }; }
31578
31579
31580 elif test $pkg_failed = untried; then
31581
31582 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31583 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31584 { (exit 1); exit 1; }; }
31585
31586
31587 else
31588 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31589 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31590 { echo "$as_me:$LINENO: result: yes" >&5
31591 echo "${ECHO_T}yes" >&6; }
31592
31593 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31594 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31595 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31596
31597 fi
31598
31599 pkg_failed=no
31600 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31601 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31602
31603 if test -n "$PKG_CONFIG"; then
31604 if test -n "$PANGOFT2_CFLAGS"; then
31605 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31606 else
31607 if test -n "$PKG_CONFIG" && \
31608 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31609 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31610 ac_status=$?
31611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31612 (exit $ac_status); }; then
31613 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31614 else
31615 pkg_failed=yes
31616 fi
31617 fi
31618 else
31619 pkg_failed=untried
31620 fi
31621 if test -n "$PKG_CONFIG"; then
31622 if test -n "$PANGOFT2_LIBS"; then
31623 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31624 else
31625 if test -n "$PKG_CONFIG" && \
31626 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31627 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31628 ac_status=$?
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); }; then
31631 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31632 else
31633 pkg_failed=yes
31634 fi
31635 fi
31636 else
31637 pkg_failed=untried
31638 fi
31639
31640
31641
31642 if test $pkg_failed = yes; then
31643
31644 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31645 _pkg_short_errors_supported=yes
31646 else
31647 _pkg_short_errors_supported=no
31648 fi
31649 if test $_pkg_short_errors_supported = yes; then
31650 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31651 else
31652 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31653 fi
31654 # Put the nasty error message in config.log where it belongs
31655 echo "$PANGOFT2_PKG_ERRORS" >&5
31656
31657
31658 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31659 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31660 wxUSE_PRINTING_ARCHITECTURE="no"
31661
31662
31663 elif test $pkg_failed = untried; then
31664
31665 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31666 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31667 wxUSE_PRINTING_ARCHITECTURE="no"
31668
31669
31670 else
31671 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31672 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31673 { echo "$as_me:$LINENO: result: yes" >&5
31674 echo "${ECHO_T}yes" >&6; }
31675
31676 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31677 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31678 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31679
31680 fi
31681
31682 pkg_failed=no
31683 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31684 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31685
31686 if test -n "$PKG_CONFIG"; then
31687 if test -n "$PANGOXFT_CFLAGS"; then
31688 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31689 else
31690 if test -n "$PKG_CONFIG" && \
31691 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31692 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31693 ac_status=$?
31694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31695 (exit $ac_status); }; then
31696 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31697 else
31698 pkg_failed=yes
31699 fi
31700 fi
31701 else
31702 pkg_failed=untried
31703 fi
31704 if test -n "$PKG_CONFIG"; then
31705 if test -n "$PANGOXFT_LIBS"; then
31706 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31707 else
31708 if test -n "$PKG_CONFIG" && \
31709 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31710 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31711 ac_status=$?
31712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31713 (exit $ac_status); }; then
31714 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31715 else
31716 pkg_failed=yes
31717 fi
31718 fi
31719 else
31720 pkg_failed=untried
31721 fi
31722
31723
31724
31725 if test $pkg_failed = yes; then
31726
31727 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31728 _pkg_short_errors_supported=yes
31729 else
31730 _pkg_short_errors_supported=no
31731 fi
31732 if test $_pkg_short_errors_supported = yes; then
31733 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31734 else
31735 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31736 fi
31737 # Put the nasty error message in config.log where it belongs
31738 echo "$PANGOXFT_PKG_ERRORS" >&5
31739
31740
31741 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31742 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31743
31744
31745 elif test $pkg_failed = untried; then
31746
31747 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31748 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31749
31750
31751 else
31752 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31753 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31754 { echo "$as_me:$LINENO: result: yes" >&5
31755 echo "${ECHO_T}yes" >&6; }
31756
31757 cat >>confdefs.h <<\_ACEOF
31758 #define HAVE_PANGO_XFT 1
31759 _ACEOF
31760
31761 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31762 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31763 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31764
31765 fi
31766 save_LIBS="$LIBS"
31767 LIBS="$LIBS $PANGOX_LIBS"
31768
31769 for ac_func in pango_font_family_is_monospace
31770 do
31771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31772 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31774 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31775 echo $ECHO_N "(cached) $ECHO_C" >&6
31776 else
31777 cat >conftest.$ac_ext <<_ACEOF
31778 /* confdefs.h. */
31779 _ACEOF
31780 cat confdefs.h >>conftest.$ac_ext
31781 cat >>conftest.$ac_ext <<_ACEOF
31782 /* end confdefs.h. */
31783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31785 #define $ac_func innocuous_$ac_func
31786
31787 /* System header to define __stub macros and hopefully few prototypes,
31788 which can conflict with char $ac_func (); below.
31789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31790 <limits.h> exists even on freestanding compilers. */
31791
31792 #ifdef __STDC__
31793 # include <limits.h>
31794 #else
31795 # include <assert.h>
31796 #endif
31797
31798 #undef $ac_func
31799
31800 /* Override any GCC internal prototype to avoid an error.
31801 Use char because int might match the return type of a GCC
31802 builtin and then its argument prototype would still apply. */
31803 #ifdef __cplusplus
31804 extern "C"
31805 #endif
31806 char $ac_func ();
31807 /* The GNU C library defines this for functions which it implements
31808 to always fail with ENOSYS. Some functions are actually named
31809 something starting with __ and the normal name is an alias. */
31810 #if defined __stub_$ac_func || defined __stub___$ac_func
31811 choke me
31812 #endif
31813
31814 int
31815 main ()
31816 {
31817 return $ac_func ();
31818 ;
31819 return 0;
31820 }
31821 _ACEOF
31822 rm -f conftest.$ac_objext conftest$ac_exeext
31823 if { (ac_try="$ac_link"
31824 case "(($ac_try" in
31825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31826 *) ac_try_echo=$ac_try;;
31827 esac
31828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31829 (eval "$ac_link") 2>conftest.er1
31830 ac_status=$?
31831 grep -v '^ *+' conftest.er1 >conftest.err
31832 rm -f conftest.er1
31833 cat conftest.err >&5
31834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31835 (exit $ac_status); } && {
31836 test -z "$ac_c_werror_flag" ||
31837 test ! -s conftest.err
31838 } && test -s conftest$ac_exeext &&
31839 $as_test_x conftest$ac_exeext; then
31840 eval "$as_ac_var=yes"
31841 else
31842 echo "$as_me: failed program was:" >&5
31843 sed 's/^/| /' conftest.$ac_ext >&5
31844
31845 eval "$as_ac_var=no"
31846 fi
31847
31848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31849 conftest$ac_exeext conftest.$ac_ext
31850 fi
31851 ac_res=`eval echo '${'$as_ac_var'}'`
31852 { echo "$as_me:$LINENO: result: $ac_res" >&5
31853 echo "${ECHO_T}$ac_res" >&6; }
31854 if test `eval echo '${'$as_ac_var'}'` = yes; then
31855 cat >>confdefs.h <<_ACEOF
31856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31857 _ACEOF
31858
31859 fi
31860 done
31861
31862 LIBS="$save_LIBS"
31863 fi
31864
31865 wxUSE_UNIVERSAL="yes"
31866
31867 if test "$wxUSE_NANOX" = "yes"; then
31868 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31869 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"
31870 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31871 else
31872 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31873 fi
31874
31875 TOOLKIT=X11
31876 GUIDIST=X11_DIST
31877 fi
31878
31879 if test "$wxUSE_MOTIF" = 1; then
31880 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31881 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31882
31883 ac_find_includes=
31884 for ac_dir in $SEARCH_INCLUDE /usr/include;
31885 do
31886 if test -f "$ac_dir/Xm/Xm.h"; then
31887 ac_find_includes=$ac_dir
31888 break
31889 fi
31890 done
31891
31892 if test "$ac_find_includes" != "" ; then
31893 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31894 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31895
31896 if test "x$ac_find_includes" = "x/usr/include"; then
31897 ac_path_to_include=""
31898 else
31899 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31900 result=$?
31901 if test $result = 0; then
31902 ac_path_to_include=""
31903 else
31904 ac_path_to_include=" -I$ac_find_includes"
31905 fi
31906 fi
31907
31908 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31909 else
31910 save_CFLAGS=$CFLAGS
31911 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31912
31913 cat >conftest.$ac_ext <<_ACEOF
31914 /* confdefs.h. */
31915 _ACEOF
31916 cat confdefs.h >>conftest.$ac_ext
31917 cat >>conftest.$ac_ext <<_ACEOF
31918 /* end confdefs.h. */
31919
31920 #include <Xm/Xm.h>
31921
31922 int
31923 main ()
31924 {
31925
31926 int version;
31927 version = xmUseVersion;
31928
31929 ;
31930 return 0;
31931 }
31932 _ACEOF
31933 rm -f conftest.$ac_objext
31934 if { (ac_try="$ac_compile"
31935 case "(($ac_try" in
31936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31937 *) ac_try_echo=$ac_try;;
31938 esac
31939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31940 (eval "$ac_compile") 2>conftest.er1
31941 ac_status=$?
31942 grep -v '^ *+' conftest.er1 >conftest.err
31943 rm -f conftest.er1
31944 cat conftest.err >&5
31945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31946 (exit $ac_status); } && {
31947 test -z "$ac_c_werror_flag" ||
31948 test ! -s conftest.err
31949 } && test -s conftest.$ac_objext; then
31950
31951 { echo "$as_me:$LINENO: result: found in default search path" >&5
31952 echo "${ECHO_T}found in default search path" >&6; }
31953 COMPILED_X_PROGRAM=1
31954
31955 else
31956 echo "$as_me: failed program was:" >&5
31957 sed 's/^/| /' conftest.$ac_ext >&5
31958
31959
31960 { echo "$as_me:$LINENO: result: no" >&5
31961 echo "${ECHO_T}no" >&6; }
31962 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31963 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31964 { (exit 1); exit 1; }; }
31965
31966
31967 fi
31968
31969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31970
31971 CFLAGS=$save_CFLAGS
31972 fi
31973
31974
31975 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31976 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31977
31978 ac_find_libraries=
31979 for ac_dir in $SEARCH_LIB;
31980 do
31981 for ac_extension in a so sl dylib dll.a; do
31982 if test -f "$ac_dir/libXm.$ac_extension"; then
31983 ac_find_libraries=$ac_dir
31984 break 2
31985 fi
31986 done
31987 done
31988
31989
31990 if test "x$ac_find_libraries" != "x" ; then
31991 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31992 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31993
31994
31995 if test "$ac_find_libraries" = "default location"; then
31996 ac_path_to_link=""
31997 else
31998 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31999 result=$?
32000 if test $result = 0; then
32001 ac_path_to_link=""
32002 else
32003 ac_path_to_link=" -L$ac_find_libraries"
32004 fi
32005 fi
32006
32007 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32008 else
32009 save_CFLAGS=$CFLAGS
32010 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32011 save_LIBS="$LIBS"
32012 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32013
32014 cat >conftest.$ac_ext <<_ACEOF
32015 /* confdefs.h. */
32016 _ACEOF
32017 cat confdefs.h >>conftest.$ac_ext
32018 cat >>conftest.$ac_ext <<_ACEOF
32019 /* end confdefs.h. */
32020
32021 #include <Xm/Xm.h>
32022
32023 int
32024 main ()
32025 {
32026
32027 int version;
32028 version = xmUseVersion;
32029
32030 ;
32031 return 0;
32032 }
32033 _ACEOF
32034 rm -f conftest.$ac_objext conftest$ac_exeext
32035 if { (ac_try="$ac_link"
32036 case "(($ac_try" in
32037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32038 *) ac_try_echo=$ac_try;;
32039 esac
32040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32041 (eval "$ac_link") 2>conftest.er1
32042 ac_status=$?
32043 grep -v '^ *+' conftest.er1 >conftest.err
32044 rm -f conftest.er1
32045 cat conftest.err >&5
32046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32047 (exit $ac_status); } && {
32048 test -z "$ac_c_werror_flag" ||
32049 test ! -s conftest.err
32050 } && test -s conftest$ac_exeext &&
32051 $as_test_x conftest$ac_exeext; then
32052
32053 { echo "$as_me:$LINENO: result: found in default search path" >&5
32054 echo "${ECHO_T}found in default search path" >&6; }
32055 COMPILED_X_PROGRAM=1
32056
32057 else
32058 echo "$as_me: failed program was:" >&5
32059 sed 's/^/| /' conftest.$ac_ext >&5
32060
32061
32062 { echo "$as_me:$LINENO: result: no" >&5
32063 echo "${ECHO_T}no" >&6; }
32064 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32065 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32066 { (exit 1); exit 1; }; }
32067
32068
32069 fi
32070
32071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32072 conftest$ac_exeext conftest.$ac_ext
32073
32074 CFLAGS=$save_CFLAGS
32075 LIBS="$save_LIBS"
32076 fi
32077
32078 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32079 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32080 libp_link=""
32081 libsm_ice_link=""
32082 libs_found=0
32083 for libp in "" " -lXp"; do
32084 if test "$libs_found" = 0; then
32085 for libsm_ice in "" " -lSM -lICE"; do
32086 if test "$libs_found" = 0; then
32087 save_LIBS="$LIBS"
32088 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32089 save_CFLAGS=$CFLAGS
32090 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32091
32092 cat >conftest.$ac_ext <<_ACEOF
32093 /* confdefs.h. */
32094 _ACEOF
32095 cat confdefs.h >>conftest.$ac_ext
32096 cat >>conftest.$ac_ext <<_ACEOF
32097 /* end confdefs.h. */
32098
32099 #include <Xm/Xm.h>
32100 #include <Xm/List.h>
32101
32102 int
32103 main ()
32104 {
32105
32106 XmString string = NULL;
32107 Widget w = NULL;
32108 int position = 0;
32109 XmListAddItem(w, string, position);
32110
32111 ;
32112 return 0;
32113 }
32114 _ACEOF
32115 rm -f conftest.$ac_objext conftest$ac_exeext
32116 if { (ac_try="$ac_link"
32117 case "(($ac_try" in
32118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32119 *) ac_try_echo=$ac_try;;
32120 esac
32121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32122 (eval "$ac_link") 2>conftest.er1
32123 ac_status=$?
32124 grep -v '^ *+' conftest.er1 >conftest.err
32125 rm -f conftest.er1
32126 cat conftest.err >&5
32127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32128 (exit $ac_status); } && {
32129 test -z "$ac_c_werror_flag" ||
32130 test ! -s conftest.err
32131 } && test -s conftest$ac_exeext &&
32132 $as_test_x conftest$ac_exeext; then
32133
32134 libp_link="$libp"
32135 libsm_ice_link="$libsm_ice"
32136 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32137 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32138 libs_found=1
32139
32140 else
32141 echo "$as_me: failed program was:" >&5
32142 sed 's/^/| /' conftest.$ac_ext >&5
32143
32144
32145
32146 fi
32147
32148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32149 conftest$ac_exeext conftest.$ac_ext
32150
32151 LIBS="$save_LIBS"
32152 CFLAGS=$save_CFLAGS
32153 fi
32154 done
32155 fi
32156 done
32157
32158 if test "$libs_found" = 0; then
32159 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32160 echo "${ECHO_T}can't find the right libraries" >&6; }
32161 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32162 echo "$as_me: error: can't link a simple motif program" >&2;}
32163 { (exit 1); exit 1; }; }
32164 fi
32165
32166 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32167 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32168 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32169 echo $ECHO_N "(cached) $ECHO_C" >&6
32170 else
32171 ac_check_lib_save_LIBS=$LIBS
32172 LIBS="-lSgm $LIBS"
32173 cat >conftest.$ac_ext <<_ACEOF
32174 /* confdefs.h. */
32175 _ACEOF
32176 cat confdefs.h >>conftest.$ac_ext
32177 cat >>conftest.$ac_ext <<_ACEOF
32178 /* end confdefs.h. */
32179
32180 /* Override any GCC internal prototype to avoid an error.
32181 Use char because int might match the return type of a GCC
32182 builtin and then its argument prototype would still apply. */
32183 #ifdef __cplusplus
32184 extern "C"
32185 #endif
32186 char SgCreateList ();
32187 int
32188 main ()
32189 {
32190 return SgCreateList ();
32191 ;
32192 return 0;
32193 }
32194 _ACEOF
32195 rm -f conftest.$ac_objext conftest$ac_exeext
32196 if { (ac_try="$ac_link"
32197 case "(($ac_try" in
32198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32199 *) ac_try_echo=$ac_try;;
32200 esac
32201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32202 (eval "$ac_link") 2>conftest.er1
32203 ac_status=$?
32204 grep -v '^ *+' conftest.er1 >conftest.err
32205 rm -f conftest.er1
32206 cat conftest.err >&5
32207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208 (exit $ac_status); } && {
32209 test -z "$ac_c_werror_flag" ||
32210 test ! -s conftest.err
32211 } && test -s conftest$ac_exeext &&
32212 $as_test_x conftest$ac_exeext; then
32213 ac_cv_lib_Sgm_SgCreateList=yes
32214 else
32215 echo "$as_me: failed program was:" >&5
32216 sed 's/^/| /' conftest.$ac_ext >&5
32217
32218 ac_cv_lib_Sgm_SgCreateList=no
32219 fi
32220
32221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32222 conftest$ac_exeext conftest.$ac_ext
32223 LIBS=$ac_check_lib_save_LIBS
32224 fi
32225 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32226 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32227 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32228 libsgm_link=" -lSgm"
32229 fi
32230
32231
32232 save_CFLAGS=$CFLAGS
32233 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32234
32235 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32236 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32237 if test "${wx_cv_lib_motif2+set}" = set; then
32238 echo $ECHO_N "(cached) $ECHO_C" >&6
32239 else
32240 cat >conftest.$ac_ext <<_ACEOF
32241 /* confdefs.h. */
32242 _ACEOF
32243 cat confdefs.h >>conftest.$ac_ext
32244 cat >>conftest.$ac_ext <<_ACEOF
32245 /* end confdefs.h. */
32246
32247 #include <Xm/Xm.h>
32248
32249 int
32250 main ()
32251 {
32252
32253 #if XmVersion < 2000
32254 Not Motif 2
32255 #endif
32256
32257 ;
32258 return 0;
32259 }
32260 _ACEOF
32261 rm -f conftest.$ac_objext
32262 if { (ac_try="$ac_compile"
32263 case "(($ac_try" in
32264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32265 *) ac_try_echo=$ac_try;;
32266 esac
32267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32268 (eval "$ac_compile") 2>conftest.er1
32269 ac_status=$?
32270 grep -v '^ *+' conftest.er1 >conftest.err
32271 rm -f conftest.er1
32272 cat conftest.err >&5
32273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32274 (exit $ac_status); } && {
32275 test -z "$ac_c_werror_flag" ||
32276 test ! -s conftest.err
32277 } && test -s conftest.$ac_objext; then
32278 wx_cv_lib_motif2="yes"
32279 else
32280 echo "$as_me: failed program was:" >&5
32281 sed 's/^/| /' conftest.$ac_ext >&5
32282
32283 wx_cv_lib_motif2="no"
32284 fi
32285
32286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32287 fi
32288 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32289 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32290 if test "$wx_cv_lib_motif2" = "yes"; then
32291 cat >>confdefs.h <<\_ACEOF
32292 #define __WXMOTIF20__ 1
32293 _ACEOF
32294
32295 else
32296 cat >>confdefs.h <<\_ACEOF
32297 #define __WXMOTIF20__ 0
32298 _ACEOF
32299
32300 fi
32301
32302 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32303 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32304 if test "${wx_cv_lib_lesstif+set}" = set; then
32305 echo $ECHO_N "(cached) $ECHO_C" >&6
32306 else
32307 cat >conftest.$ac_ext <<_ACEOF
32308 /* confdefs.h. */
32309 _ACEOF
32310 cat confdefs.h >>conftest.$ac_ext
32311 cat >>conftest.$ac_ext <<_ACEOF
32312 /* end confdefs.h. */
32313
32314 #include <Xm/Xm.h>
32315
32316 int
32317 main ()
32318 {
32319
32320 #if !defined(LesstifVersion) || LesstifVersion <= 0
32321 Not Lesstif
32322 #endif
32323
32324 ;
32325 return 0;
32326 }
32327 _ACEOF
32328 rm -f conftest.$ac_objext
32329 if { (ac_try="$ac_compile"
32330 case "(($ac_try" in
32331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32332 *) ac_try_echo=$ac_try;;
32333 esac
32334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32335 (eval "$ac_compile") 2>conftest.er1
32336 ac_status=$?
32337 grep -v '^ *+' conftest.er1 >conftest.err
32338 rm -f conftest.er1
32339 cat conftest.err >&5
32340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32341 (exit $ac_status); } && {
32342 test -z "$ac_c_werror_flag" ||
32343 test ! -s conftest.err
32344 } && test -s conftest.$ac_objext; then
32345 wx_cv_lib_lesstif="yes"
32346 else
32347 echo "$as_me: failed program was:" >&5
32348 sed 's/^/| /' conftest.$ac_ext >&5
32349
32350 wx_cv_lib_lesstif="no"
32351 fi
32352
32353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32354
32355 fi
32356 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32357 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32358 if test "$wx_cv_lib_lesstif" = "yes"; then
32359 cat >>confdefs.h <<\_ACEOF
32360 #define __WXLESSTIF__ 1
32361 _ACEOF
32362
32363 else
32364 cat >>confdefs.h <<\_ACEOF
32365 #define __WXLESSTIF__ 0
32366 _ACEOF
32367
32368 fi
32369
32370 CFLAGS=$save_CFLAGS
32371
32372 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32373 TOOLKIT=MOTIF
32374 GUIDIST=MOTIF_DIST
32375 fi
32376
32377 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32378 if test "$wxUSE_LIBXPM" = "sys"; then
32379 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32380 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32381
32382 ac_find_libraries=
32383 for ac_dir in $SEARCH_LIB;
32384 do
32385 for ac_extension in a so sl dylib dll.a; do
32386 if test -f "$ac_dir/libXpm.$ac_extension"; then
32387 ac_find_libraries=$ac_dir
32388 break 2
32389 fi
32390 done
32391 done
32392
32393 if test "$ac_find_libraries" != "" ; then
32394
32395 if test "$ac_find_libraries" = "default location"; then
32396 ac_path_to_link=""
32397 else
32398 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32399 result=$?
32400 if test $result = 0; then
32401 ac_path_to_link=""
32402 else
32403 ac_path_to_link=" -L$ac_find_libraries"
32404 fi
32405 fi
32406
32407 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32408 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32409 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32410
32411 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32412 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32413 if test "${wx_cv_x11_xpm_h+set}" = set; then
32414 echo $ECHO_N "(cached) $ECHO_C" >&6
32415 else
32416
32417 save_CFLAGS=$CFLAGS
32418 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32419
32420 cat >conftest.$ac_ext <<_ACEOF
32421 /* confdefs.h. */
32422 _ACEOF
32423 cat confdefs.h >>conftest.$ac_ext
32424 cat >>conftest.$ac_ext <<_ACEOF
32425 /* end confdefs.h. */
32426
32427 #include <X11/xpm.h>
32428
32429 int
32430 main ()
32431 {
32432
32433 int version;
32434 version = XpmLibraryVersion();
32435
32436 ;
32437 return 0;
32438 }
32439 _ACEOF
32440 rm -f conftest.$ac_objext
32441 if { (ac_try="$ac_compile"
32442 case "(($ac_try" in
32443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32444 *) ac_try_echo=$ac_try;;
32445 esac
32446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32447 (eval "$ac_compile") 2>conftest.er1
32448 ac_status=$?
32449 grep -v '^ *+' conftest.er1 >conftest.err
32450 rm -f conftest.er1
32451 cat conftest.err >&5
32452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32453 (exit $ac_status); } && {
32454 test -z "$ac_c_werror_flag" ||
32455 test ! -s conftest.err
32456 } && test -s conftest.$ac_objext; then
32457 wx_cv_x11_xpm_h=yes
32458 else
32459 echo "$as_me: failed program was:" >&5
32460 sed 's/^/| /' conftest.$ac_ext >&5
32461
32462 wx_cv_x11_xpm_h=no
32463
32464 fi
32465
32466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32467
32468 CFLAGS=$save_CFLAGS
32469
32470
32471 fi
32472 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32473 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32474
32475 if test $wx_cv_x11_xpm_h = "yes"; then
32476 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32477 cat >>confdefs.h <<\_ACEOF
32478 #define wxHAVE_LIB_XPM 1
32479 _ACEOF
32480
32481 else
32482 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32483 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32484 fi
32485 fi
32486
32487 fi
32488
32489 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32490 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32491 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32492 echo $ECHO_N "(cached) $ECHO_C" >&6
32493 else
32494 ac_check_lib_save_LIBS=$LIBS
32495 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32496 cat >conftest.$ac_ext <<_ACEOF
32497 /* confdefs.h. */
32498 _ACEOF
32499 cat confdefs.h >>conftest.$ac_ext
32500 cat >>conftest.$ac_ext <<_ACEOF
32501 /* end confdefs.h. */
32502
32503 /* Override any GCC internal prototype to avoid an error.
32504 Use char because int might match the return type of a GCC
32505 builtin and then its argument prototype would still apply. */
32506 #ifdef __cplusplus
32507 extern "C"
32508 #endif
32509 char XShapeQueryExtension ();
32510 int
32511 main ()
32512 {
32513 return XShapeQueryExtension ();
32514 ;
32515 return 0;
32516 }
32517 _ACEOF
32518 rm -f conftest.$ac_objext conftest$ac_exeext
32519 if { (ac_try="$ac_link"
32520 case "(($ac_try" in
32521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32522 *) ac_try_echo=$ac_try;;
32523 esac
32524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32525 (eval "$ac_link") 2>conftest.er1
32526 ac_status=$?
32527 grep -v '^ *+' conftest.er1 >conftest.err
32528 rm -f conftest.er1
32529 cat conftest.err >&5
32530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32531 (exit $ac_status); } && {
32532 test -z "$ac_c_werror_flag" ||
32533 test ! -s conftest.err
32534 } && test -s conftest$ac_exeext &&
32535 $as_test_x conftest$ac_exeext; then
32536 ac_cv_lib_Xext_XShapeQueryExtension=yes
32537 else
32538 echo "$as_me: failed program was:" >&5
32539 sed 's/^/| /' conftest.$ac_ext >&5
32540
32541 ac_cv_lib_Xext_XShapeQueryExtension=no
32542 fi
32543
32544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32545 conftest$ac_exeext conftest.$ac_ext
32546 LIBS=$ac_check_lib_save_LIBS
32547 fi
32548 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32549 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32550 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32551
32552 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32553 wxHAVE_XEXT_LIB=1
32554
32555 fi
32556
32557
32558 if test "$wxHAVE_XEXT_LIB" = 1; then
32559 save_CFLAGS="$CFLAGS"
32560 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32561
32562 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32563 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32564 cat >conftest.$ac_ext <<_ACEOF
32565 /* confdefs.h. */
32566 _ACEOF
32567 cat confdefs.h >>conftest.$ac_ext
32568 cat >>conftest.$ac_ext <<_ACEOF
32569 /* end confdefs.h. */
32570
32571 #include <X11/Xlib.h>
32572 #include <X11/extensions/shape.h>
32573
32574 int
32575 main ()
32576 {
32577
32578 int dummy1, dummy2;
32579 XShapeQueryExtension((Display*)NULL,
32580 (int*)NULL, (int*)NULL);
32581
32582 ;
32583 return 0;
32584 }
32585 _ACEOF
32586 rm -f conftest.$ac_objext
32587 if { (ac_try="$ac_compile"
32588 case "(($ac_try" in
32589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32590 *) ac_try_echo=$ac_try;;
32591 esac
32592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32593 (eval "$ac_compile") 2>conftest.er1
32594 ac_status=$?
32595 grep -v '^ *+' conftest.er1 >conftest.err
32596 rm -f conftest.er1
32597 cat conftest.err >&5
32598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32599 (exit $ac_status); } && {
32600 test -z "$ac_c_werror_flag" ||
32601 test ! -s conftest.err
32602 } && test -s conftest.$ac_objext; then
32603
32604 cat >>confdefs.h <<\_ACEOF
32605 #define HAVE_XSHAPE 1
32606 _ACEOF
32607
32608 { echo "$as_me:$LINENO: result: found" >&5
32609 echo "${ECHO_T}found" >&6; }
32610
32611 else
32612 echo "$as_me: failed program was:" >&5
32613 sed 's/^/| /' conftest.$ac_ext >&5
32614
32615
32616 { echo "$as_me:$LINENO: result: not found" >&5
32617 echo "${ECHO_T}not found" >&6; }
32618
32619 fi
32620
32621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32622 CFLAGS="$save_CFLAGS"
32623
32624 fi
32625 fi
32626
32627 if test "$wxUSE_OSX_CARBON" = 1; then
32628 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32629 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32630 if test "$GCC" = yes; then
32631 { echo "$as_me:$LINENO: result: gcc" >&5
32632 echo "${ECHO_T}gcc" >&6; }
32633 CPPFLAGS_PASCAL="-fpascal-strings"
32634 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32635 { echo "$as_me:$LINENO: result: xlc" >&5
32636 echo "${ECHO_T}xlc" >&6; }
32637 CPPFLAGS_PASCAL="-qmacpstr"
32638 else
32639 { echo "$as_me:$LINENO: result: none" >&5
32640 echo "${ECHO_T}none" >&6; }
32641 fi
32642
32643 if test "x$wxUSE_UNIX" = "xyes"; then
32644 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32645 else
32646 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32647 fi
32648
32649 TOOLKIT=OSX_CARBON
32650 GUIDIST=OSX_CARBON_DIST
32651 WXBASEPORT="_carbon"
32652 fi
32653
32654 if test "$wxUSE_OSX_COCOA" = 1; then
32655 TOOLKIT=OSX_COCOA
32656 GUIDIST=OSX_COCOA_DIST
32657 fi
32658
32659 if test "$wxUSE_COCOA" = 1; then
32660 TOOLKIT=COCOA
32661 GUIDIST=COCOA_DIST
32662 fi
32663
32664 if test "$wxUSE_PM" = 1; then
32665 TOOLKIT=PM
32666 GUIDIST=PM_DIST
32667 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32668 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32669 if test "${wx_cv_spbcdata+set}" = set; then
32670 echo $ECHO_N "(cached) $ECHO_C" >&6
32671 else
32672
32673 cat >conftest.$ac_ext <<_ACEOF
32674 /* confdefs.h. */
32675 _ACEOF
32676 cat confdefs.h >>conftest.$ac_ext
32677 cat >>conftest.$ac_ext <<_ACEOF
32678 /* end confdefs.h. */
32679
32680 #define INCL_PM
32681 #include <os2.h>
32682
32683 int
32684 main ()
32685 {
32686
32687 SPBCDATA test;
32688
32689 ;
32690 return 0;
32691 }
32692 _ACEOF
32693 rm -f conftest.$ac_objext
32694 if { (ac_try="$ac_compile"
32695 case "(($ac_try" in
32696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32697 *) ac_try_echo=$ac_try;;
32698 esac
32699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32700 (eval "$ac_compile") 2>conftest.er1
32701 ac_status=$?
32702 grep -v '^ *+' conftest.er1 >conftest.err
32703 rm -f conftest.er1
32704 cat conftest.err >&5
32705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32706 (exit $ac_status); } && {
32707 test -z "$ac_c_werror_flag" ||
32708 test ! -s conftest.err
32709 } && test -s conftest.$ac_objext; then
32710 wx_cv_spbcdata=yes
32711 else
32712 echo "$as_me: failed program was:" >&5
32713 sed 's/^/| /' conftest.$ac_ext >&5
32714
32715 wx_cv_spbcdata=no
32716
32717 fi
32718
32719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32720
32721
32722 fi
32723 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32724 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32725
32726 if test $wx_cv_spbcdata = "yes"; then
32727 cat >>confdefs.h <<\_ACEOF
32728 #define HAVE_SPBCDATA 1
32729 _ACEOF
32730
32731 fi
32732 fi
32733
32734 if test "$TOOLKIT" = "PM" ; then
32735 TOOLKIT_DIR="os2"
32736 else
32737 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32738 fi
32739
32740 if test "$wxUSE_UNIVERSAL" = "yes"; then
32741 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32742 WIDGET_SET=univ
32743 fi
32744
32745 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32746 DISTDIR="wx\$(TOOLKIT)"
32747 else
32748 USE_GUI=0
32749
32750 TOOLKIT_DIR="base"
32751
32752 if test "$USE_WIN32" = 1 ; then
32753 TOOLKIT="MSW"
32754 fi
32755
32756 GUIDIST="BASE_DIST"
32757 DISTDIR="wxBase"
32758 fi
32759
32760
32761
32762 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32763 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32764 wxUSE_UNICODE_UTF8=yes
32765 elif test "$USE_OS2" = 1 ; then
32766 wxUSE_UNICODE_UTF8=yes
32767 else
32768 wxUSE_UNICODE_UTF8=no
32769 fi
32770 fi
32771
32772
32773 if test "$wxUSE_GUI" = "yes"; then
32774 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32775
32776 for ac_header in X11/Xlib.h
32777 do
32778 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32779 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32781 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32782 echo $ECHO_N "(cached) $ECHO_C" >&6
32783 else
32784 cat >conftest.$ac_ext <<_ACEOF
32785 /* confdefs.h. */
32786 _ACEOF
32787 cat confdefs.h >>conftest.$ac_ext
32788 cat >>conftest.$ac_ext <<_ACEOF
32789 /* end confdefs.h. */
32790
32791
32792 #include <$ac_header>
32793 _ACEOF
32794 rm -f conftest.$ac_objext
32795 if { (ac_try="$ac_compile"
32796 case "(($ac_try" in
32797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32798 *) ac_try_echo=$ac_try;;
32799 esac
32800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32801 (eval "$ac_compile") 2>conftest.er1
32802 ac_status=$?
32803 grep -v '^ *+' conftest.er1 >conftest.err
32804 rm -f conftest.er1
32805 cat conftest.err >&5
32806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32807 (exit $ac_status); } && {
32808 test -z "$ac_c_werror_flag" ||
32809 test ! -s conftest.err
32810 } && test -s conftest.$ac_objext; then
32811 eval "$as_ac_Header=yes"
32812 else
32813 echo "$as_me: failed program was:" >&5
32814 sed 's/^/| /' conftest.$ac_ext >&5
32815
32816 eval "$as_ac_Header=no"
32817 fi
32818
32819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32820 fi
32821 ac_res=`eval echo '${'$as_ac_Header'}'`
32822 { echo "$as_me:$LINENO: result: $ac_res" >&5
32823 echo "${ECHO_T}$ac_res" >&6; }
32824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32825 cat >>confdefs.h <<_ACEOF
32826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32827 _ACEOF
32828
32829 fi
32830
32831 done
32832
32833
32834 for ac_header in X11/XKBlib.h
32835 do
32836 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32837 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32839 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32840 echo $ECHO_N "(cached) $ECHO_C" >&6
32841 else
32842 cat >conftest.$ac_ext <<_ACEOF
32843 /* confdefs.h. */
32844 _ACEOF
32845 cat confdefs.h >>conftest.$ac_ext
32846 cat >>conftest.$ac_ext <<_ACEOF
32847 /* end confdefs.h. */
32848
32849 #if HAVE_X11_XLIB_H
32850 #include <X11/Xlib.h>
32851 #endif
32852
32853
32854 #include <$ac_header>
32855 _ACEOF
32856 rm -f conftest.$ac_objext
32857 if { (ac_try="$ac_compile"
32858 case "(($ac_try" in
32859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32860 *) ac_try_echo=$ac_try;;
32861 esac
32862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32863 (eval "$ac_compile") 2>conftest.er1
32864 ac_status=$?
32865 grep -v '^ *+' conftest.er1 >conftest.err
32866 rm -f conftest.er1
32867 cat conftest.err >&5
32868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32869 (exit $ac_status); } && {
32870 test -z "$ac_c_werror_flag" ||
32871 test ! -s conftest.err
32872 } && test -s conftest.$ac_objext; then
32873 eval "$as_ac_Header=yes"
32874 else
32875 echo "$as_me: failed program was:" >&5
32876 sed 's/^/| /' conftest.$ac_ext >&5
32877
32878 eval "$as_ac_Header=no"
32879 fi
32880
32881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32882 fi
32883 ac_res=`eval echo '${'$as_ac_Header'}'`
32884 { echo "$as_me:$LINENO: result: $ac_res" >&5
32885 echo "${ECHO_T}$ac_res" >&6; }
32886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32887 cat >>confdefs.h <<_ACEOF
32888 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32889 _ACEOF
32890
32891 fi
32892
32893 done
32894
32895 fi
32896 fi
32897
32898
32899
32900 if test "$wxUSE_DISPLAY" = "yes"; then
32901 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32902 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32903 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32904
32905 ac_find_libraries=
32906 for ac_dir in $SEARCH_LIB;
32907 do
32908 for ac_extension in a so sl dylib dll.a; do
32909 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32910 ac_find_libraries=$ac_dir
32911 break 2
32912 fi
32913 done
32914 done
32915
32916 if test "$ac_find_libraries" != "" ; then
32917
32918 if test "$ac_find_libraries" = "default location"; then
32919 ac_path_to_link=""
32920 else
32921 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32922 result=$?
32923 if test $result = 0; then
32924 ac_path_to_link=""
32925 else
32926 ac_path_to_link=" -L$ac_find_libraries"
32927 fi
32928 fi
32929
32930 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32931 LDFLAGS="$LDFLAGS $ac_path_to_link"
32932 fi
32933 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32934 { echo "$as_me:$LINENO: result: yes" >&5
32935 echo "${ECHO_T}yes" >&6; }
32936
32937 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32938 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32939
32940 ac_find_libraries=
32941 for ac_dir in $SEARCH_LIB;
32942 do
32943 for ac_extension in a so sl dylib dll.a; do
32944 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32945 ac_find_libraries=$ac_dir
32946 break 2
32947 fi
32948 done
32949 done
32950
32951 if test "$ac_find_libraries" != "" ; then
32952 { echo "$as_me:$LINENO: result: yes" >&5
32953 echo "${ECHO_T}yes" >&6; }
32954
32955 for ac_header in X11/extensions/xf86vmode.h
32956 do
32957 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32958 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32961 echo $ECHO_N "(cached) $ECHO_C" >&6
32962 else
32963 cat >conftest.$ac_ext <<_ACEOF
32964 /* confdefs.h. */
32965 _ACEOF
32966 cat confdefs.h >>conftest.$ac_ext
32967 cat >>conftest.$ac_ext <<_ACEOF
32968 /* end confdefs.h. */
32969
32970 #if HAVE_X11_XLIB_H
32971 #include <X11/Xlib.h>
32972 #endif
32973
32974
32975 #include <$ac_header>
32976 _ACEOF
32977 rm -f conftest.$ac_objext
32978 if { (ac_try="$ac_compile"
32979 case "(($ac_try" in
32980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32981 *) ac_try_echo=$ac_try;;
32982 esac
32983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32984 (eval "$ac_compile") 2>conftest.er1
32985 ac_status=$?
32986 grep -v '^ *+' conftest.er1 >conftest.err
32987 rm -f conftest.er1
32988 cat conftest.err >&5
32989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32990 (exit $ac_status); } && {
32991 test -z "$ac_c_werror_flag" ||
32992 test ! -s conftest.err
32993 } && test -s conftest.$ac_objext; then
32994 eval "$as_ac_Header=yes"
32995 else
32996 echo "$as_me: failed program was:" >&5
32997 sed 's/^/| /' conftest.$ac_ext >&5
32998
32999 eval "$as_ac_Header=no"
33000 fi
33001
33002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33003 fi
33004 ac_res=`eval echo '${'$as_ac_Header'}'`
33005 { echo "$as_me:$LINENO: result: $ac_res" >&5
33006 echo "${ECHO_T}$ac_res" >&6; }
33007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33008 cat >>confdefs.h <<_ACEOF
33009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33010 _ACEOF
33011
33012 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33013
33014 fi
33015
33016 done
33017
33018 else
33019 { echo "$as_me:$LINENO: result: no" >&5
33020 echo "${ECHO_T}no" >&6; }
33021 fi
33022
33023 else
33024 { echo "$as_me:$LINENO: result: no" >&5
33025 echo "${ECHO_T}no" >&6; }
33026 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33027 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33028 wxUSE_DISPLAY="no"
33029 fi
33030 elif test "$wxUSE_MSW" = 1; then
33031 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33032 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33033 if test "${ac_cv_header_ddraw_h+set}" = set; then
33034 echo $ECHO_N "(cached) $ECHO_C" >&6
33035 else
33036 cat >conftest.$ac_ext <<_ACEOF
33037 /* confdefs.h. */
33038 _ACEOF
33039 cat confdefs.h >>conftest.$ac_ext
33040 cat >>conftest.$ac_ext <<_ACEOF
33041 /* end confdefs.h. */
33042 #include <windows.h>
33043
33044 #include <ddraw.h>
33045 _ACEOF
33046 rm -f conftest.$ac_objext
33047 if { (ac_try="$ac_compile"
33048 case "(($ac_try" in
33049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33050 *) ac_try_echo=$ac_try;;
33051 esac
33052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33053 (eval "$ac_compile") 2>conftest.er1
33054 ac_status=$?
33055 grep -v '^ *+' conftest.er1 >conftest.err
33056 rm -f conftest.er1
33057 cat conftest.err >&5
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); } && {
33060 test -z "$ac_c_werror_flag" ||
33061 test ! -s conftest.err
33062 } && test -s conftest.$ac_objext; then
33063 ac_cv_header_ddraw_h=yes
33064 else
33065 echo "$as_me: failed program was:" >&5
33066 sed 's/^/| /' conftest.$ac_ext >&5
33067
33068 ac_cv_header_ddraw_h=no
33069 fi
33070
33071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33072 fi
33073 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33074 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33075
33076
33077 fi
33078 fi
33079
33080 if test "$wxUSE_DETECT_SM" = "yes"; then
33081 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33082 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33083 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33084
33085 ac_find_libraries=
33086 for ac_dir in $SEARCH_LIB;
33087 do
33088 for ac_extension in a so sl dylib dll.a; do
33089 if test -f "$ac_dir/libSM.$ac_extension"; then
33090 ac_find_libraries=$ac_dir
33091 break 2
33092 fi
33093 done
33094 done
33095
33096 if test "$ac_find_libraries" != "" ; then
33097
33098 if test "$ac_find_libraries" = "default location"; then
33099 ac_path_to_link=""
33100 else
33101 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33102 result=$?
33103 if test $result = 0; then
33104 ac_path_to_link=""
33105 else
33106 ac_path_to_link=" -L$ac_find_libraries"
33107 fi
33108 fi
33109
33110 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33111 LDFLAGS="$LDFLAGS $ac_path_to_link"
33112 fi
33113 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33114 { echo "$as_me:$LINENO: result: yes" >&5
33115 echo "${ECHO_T}yes" >&6; }
33116 else
33117 { echo "$as_me:$LINENO: result: no" >&5
33118 echo "${ECHO_T}no" >&6; }
33119 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33120 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33121 wxUSE_DETECT_SM="no"
33122 fi
33123 else
33124 wxUSE_DETECT_SM="no"
33125 fi
33126 fi
33127
33128
33129
33130 USE_OPENGL=0
33131 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33132 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
33133 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33134 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33135 wxUSE_OPENGL="no"
33136 elif test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33137 OPENGL_LIBS="-framework OpenGL -framework AGL"
33138 elif test "$wxUSE_MSW" = 1; then
33139 OPENGL_LIBS="-lopengl32 -lglu32"
33140 else
33141 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33142 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33143
33144 ac_find_includes=
33145 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33146 do
33147 if test -f "$ac_dir/GL/gl.h"; then
33148 ac_find_includes=$ac_dir
33149 break
33150 fi
33151 done
33152
33153 if test "$ac_find_includes" != "" ; then
33154 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33155 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33156
33157 if test "x$ac_find_includes" = "x/usr/include"; then
33158 ac_path_to_include=""
33159 else
33160 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33161 result=$?
33162 if test $result = 0; then
33163 ac_path_to_include=""
33164 else
33165 ac_path_to_include=" -I$ac_find_includes"
33166 fi
33167 fi
33168
33169 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33170 else
33171 { echo "$as_me:$LINENO: result: not found" >&5
33172 echo "${ECHO_T}not found" >&6; }
33173 fi
33174
33175 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33176 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33177 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33178 echo $ECHO_N "(cached) $ECHO_C" >&6
33179 else
33180 cat >conftest.$ac_ext <<_ACEOF
33181 /* confdefs.h. */
33182 _ACEOF
33183 cat confdefs.h >>conftest.$ac_ext
33184 cat >>conftest.$ac_ext <<_ACEOF
33185 /* end confdefs.h. */
33186
33187
33188 #include <GL/gl.h>
33189 _ACEOF
33190 rm -f conftest.$ac_objext
33191 if { (ac_try="$ac_compile"
33192 case "(($ac_try" in
33193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33194 *) ac_try_echo=$ac_try;;
33195 esac
33196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33197 (eval "$ac_compile") 2>conftest.er1
33198 ac_status=$?
33199 grep -v '^ *+' conftest.er1 >conftest.err
33200 rm -f conftest.er1
33201 cat conftest.err >&5
33202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33203 (exit $ac_status); } && {
33204 test -z "$ac_c_werror_flag" ||
33205 test ! -s conftest.err
33206 } && test -s conftest.$ac_objext; then
33207 ac_cv_header_GL_gl_h=yes
33208 else
33209 echo "$as_me: failed program was:" >&5
33210 sed 's/^/| /' conftest.$ac_ext >&5
33211
33212 ac_cv_header_GL_gl_h=no
33213 fi
33214
33215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33216 fi
33217 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33218 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33219 if test $ac_cv_header_GL_gl_h = yes; then
33220
33221 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33222 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33223 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33224 echo $ECHO_N "(cached) $ECHO_C" >&6
33225 else
33226 cat >conftest.$ac_ext <<_ACEOF
33227 /* confdefs.h. */
33228 _ACEOF
33229 cat confdefs.h >>conftest.$ac_ext
33230 cat >>conftest.$ac_ext <<_ACEOF
33231 /* end confdefs.h. */
33232
33233
33234 #include <GL/glu.h>
33235 _ACEOF
33236 rm -f conftest.$ac_objext
33237 if { (ac_try="$ac_compile"
33238 case "(($ac_try" in
33239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33240 *) ac_try_echo=$ac_try;;
33241 esac
33242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33243 (eval "$ac_compile") 2>conftest.er1
33244 ac_status=$?
33245 grep -v '^ *+' conftest.er1 >conftest.err
33246 rm -f conftest.er1
33247 cat conftest.err >&5
33248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33249 (exit $ac_status); } && {
33250 test -z "$ac_c_werror_flag" ||
33251 test ! -s conftest.err
33252 } && test -s conftest.$ac_objext; then
33253 ac_cv_header_GL_glu_h=yes
33254 else
33255 echo "$as_me: failed program was:" >&5
33256 sed 's/^/| /' conftest.$ac_ext >&5
33257
33258 ac_cv_header_GL_glu_h=no
33259 fi
33260
33261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33262 fi
33263 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33264 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33265 if test $ac_cv_header_GL_glu_h = yes; then
33266
33267 found_gl=0
33268
33269 { echo "$as_me:$LINENO: checking for -lGL" >&5
33270 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33271
33272 ac_find_libraries=
33273 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33274 do
33275 for ac_extension in a so sl dylib dll.a; do
33276 if test -f "$ac_dir/libGL.$ac_extension"; then
33277 ac_find_libraries=$ac_dir
33278 break 2
33279 fi
33280 done
33281 done
33282
33283 if test "$ac_find_libraries" != "" ; then
33284 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33285 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33286
33287
33288 if test "$ac_find_libraries" = "default location"; then
33289 ac_path_to_link=""
33290 else
33291 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33292 result=$?
33293 if test $result = 0; then
33294 ac_path_to_link=""
33295 else
33296 ac_path_to_link=" -L$ac_find_libraries"
33297 fi
33298 fi
33299
33300 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33301 LDFLAGS_GL="$ac_path_to_link"
33302 fi
33303
33304 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33305 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33306
33307 ac_find_libraries=
33308 for ac_dir in $SEARCH_LIB;
33309 do
33310 for ac_extension in a so sl dylib dll.a; do
33311 if test -f "$ac_dir/libGLU.$ac_extension"; then
33312 ac_find_libraries=$ac_dir
33313 break 2
33314 fi
33315 done
33316 done
33317
33318 if test "$ac_find_libraries" != "" ; then
33319
33320 if test "$ac_find_libraries" = "default location"; then
33321 ac_path_to_link=""
33322 else
33323 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33324 result=$?
33325 if test $result = 0; then
33326 ac_path_to_link=""
33327 else
33328 ac_path_to_link=" -L$ac_find_libraries"
33329 fi
33330 fi
33331
33332 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33333 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33334 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33335 fi
33336
33337 found_gl=1
33338 OPENGL_LIBS="-lGL -lGLU"
33339 { echo "$as_me:$LINENO: result: yes" >&5
33340 echo "${ECHO_T}yes" >&6; }
33341 else
33342 { echo "$as_me:$LINENO: result: no" >&5
33343 echo "${ECHO_T}no" >&6; }
33344 fi
33345 else
33346 { echo "$as_me:$LINENO: result: no" >&5
33347 echo "${ECHO_T}no" >&6; }
33348 fi
33349
33350 if test "$found_gl" != 1; then
33351 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33352 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33353
33354 ac_find_libraries=
33355 for ac_dir in $SEARCH_LIB;
33356 do
33357 for ac_extension in a so sl dylib dll.a; do
33358 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33359 ac_find_libraries=$ac_dir
33360 break 2
33361 fi
33362 done
33363 done
33364
33365 if test "$ac_find_libraries" != "" ; then
33366
33367 if test "$ac_find_libraries" = "default location"; then
33368 ac_path_to_link=""
33369 else
33370 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33371 result=$?
33372 if test $result = 0; then
33373 ac_path_to_link=""
33374 else
33375 ac_path_to_link=" -L$ac_find_libraries"
33376 fi
33377 fi
33378
33379 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33380 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33381 { echo "$as_me:$LINENO: result: yes" >&5
33382 echo "${ECHO_T}yes" >&6; }
33383 else
33384 { echo "$as_me:$LINENO: result: no" >&5
33385 echo "${ECHO_T}no" >&6; }
33386 fi
33387 fi
33388
33389 fi
33390
33391
33392
33393 fi
33394
33395
33396
33397 if test "x$OPENGL_LIBS" = "x"; then
33398 if test "$wxUSE_OPENGL" = "yes"; then
33399 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33400 echo "$as_me: error: OpenGL libraries not available" >&2;}
33401 { (exit 1); exit 1; }; }
33402 else
33403 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33404 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33405 wxUSE_OPENGL=no
33406 USE_OPENGL=0
33407 fi
33408 else
33409 wxUSE_OPENGL=yes
33410 fi
33411 fi
33412
33413 if test "$wxUSE_OPENGL" = "yes"; then
33414 USE_OPENGL=1
33415 cat >>confdefs.h <<\_ACEOF
33416 #define wxUSE_OPENGL 1
33417 _ACEOF
33418
33419 cat >>confdefs.h <<\_ACEOF
33420 #define wxUSE_GLCANVAS 1
33421 _ACEOF
33422
33423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33424 fi
33425 fi
33426
33427
33428 if test -n "$TOOLKIT" ; then
33429 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33430 fi
33431
33432
33433
33434 if test "$wxUSE_SHARED" = "yes"; then
33435 case "${host}" in
33436 *-pc-msdosdjgpp )
33437 wxUSE_SHARED=no
33438 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33439 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33440 ;;
33441 esac
33442 fi
33443
33444 if test "$wxUSE_SHARED" = "yes"; then
33445
33446
33447 case "${host}" in
33448 *-*-cygwin* | *-*-mingw* )
33449 wx_cv_version_script=no
33450 ;;
33451
33452 *)
33453 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33454 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33455 if test "${wx_cv_version_script+set}" = set; then
33456 echo $ECHO_N "(cached) $ECHO_C" >&6
33457 else
33458
33459 echo "VER_1 { *; };" >conftest.sym
33460 echo "int main() { return 0; }" >conftest.cpp
33461
33462 if { ac_try='
33463 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33464 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33466 (eval $ac_try) 2>&5
33467 ac_status=$?
33468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33469 (exit $ac_status); }; } ; then
33470 if test -s conftest.stderr ; then
33471 wx_cv_version_script=no
33472 else
33473 wx_cv_version_script=yes
33474 fi
33475 else
33476 wx_cv_version_script=no
33477 fi
33478
33479 if test $wx_cv_version_script = yes
33480 then
33481 echo "struct B { virtual ~B() { } }; \
33482 struct D : public B { }; \
33483 void F() { D d; }" > conftest.cpp
33484
33485 if { ac_try='
33486 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33487 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33489 (eval $ac_try) 2>&5
33490 ac_status=$?
33491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33492 (exit $ac_status); }; } &&
33493 { ac_try='
33494 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33495 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33497 (eval $ac_try) 2>&5
33498 ac_status=$?
33499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33500 (exit $ac_status); }; }
33501 then
33502 if { ac_try='
33503 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33504 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33506 (eval $ac_try) 2>&5
33507 ac_status=$?
33508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33509 (exit $ac_status); }; }
33510 then
33511 wx_cv_version_script=yes
33512 else
33513 wx_cv_version_script=no
33514 fi
33515 fi
33516 fi
33517
33518 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33519 rm -f conftest1.output conftest2.output conftest3.output
33520
33521 fi
33522 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33523 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33524
33525 if test $wx_cv_version_script = yes ; then
33526 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33527 fi
33528 ;;
33529 esac
33530
33531
33532 if test "$wxUSE_VISIBILITY" != "no"; then
33533
33534
33535 if test -n "$GCC"; then
33536 CFLAGS_VISIBILITY="-fvisibility=hidden"
33537 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33538 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33539 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33540 if test "${wx_cv_cc_visibility+set}" = set; then
33541 echo $ECHO_N "(cached) $ECHO_C" >&6
33542 else
33543
33544 wx_save_CXXFLAGS="$CXXFLAGS"
33545 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33546 ac_ext=cpp
33547 ac_cpp='$CXXCPP $CPPFLAGS'
33548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33551
33552 cat >conftest.$ac_ext <<_ACEOF
33553 /* confdefs.h. */
33554 _ACEOF
33555 cat confdefs.h >>conftest.$ac_ext
33556 cat >>conftest.$ac_ext <<_ACEOF
33557 /* end confdefs.h. */
33558
33559 /* we need gcc >= 4.0, older versions with visibility support
33560 didn't have class visibility: */
33561 #if defined(__GNUC__) && __GNUC__ < 4
33562 error this gcc is too old;
33563 #endif
33564
33565 /* visibility only makes sense for ELF shared libs: */
33566 #if !defined(__ELF__) && !defined(__APPLE__)
33567 error this platform has no visibility;
33568 #endif
33569
33570 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33571 extern __attribute__((__visibility__("default"))) int exportedvar;
33572 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33573 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33574 class __attribute__((__visibility__("default"))) Foo {
33575 Foo() {}
33576 };
33577
33578 int
33579 main ()
33580 {
33581
33582 ;
33583 return 0;
33584 }
33585 _ACEOF
33586 rm -f conftest.$ac_objext
33587 if { (ac_try="$ac_compile"
33588 case "(($ac_try" in
33589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33590 *) ac_try_echo=$ac_try;;
33591 esac
33592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33593 (eval "$ac_compile") 2>conftest.er1
33594 ac_status=$?
33595 grep -v '^ *+' conftest.er1 >conftest.err
33596 rm -f conftest.er1
33597 cat conftest.err >&5
33598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33599 (exit $ac_status); } && {
33600 test -z "$ac_cxx_werror_flag" ||
33601 test ! -s conftest.err
33602 } && test -s conftest.$ac_objext; then
33603 wx_cv_cc_visibility=yes
33604 else
33605 echo "$as_me: failed program was:" >&5
33606 sed 's/^/| /' conftest.$ac_ext >&5
33607
33608 wx_cv_cc_visibility=no
33609 fi
33610
33611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33612 ac_ext=c
33613 ac_cpp='$CPP $CPPFLAGS'
33614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33617
33618 CXXFLAGS="$wx_save_CXXFLAGS"
33619 fi
33620
33621 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33622 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33623 if test $wx_cv_cc_visibility = yes; then
33624 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33625 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33626 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33627 echo $ECHO_N "(cached) $ECHO_C" >&6
33628 else
33629
33630 wx_save_CXXFLAGS="$CXXFLAGS"
33631 wx_save_LDFLAGS="$LDFLAGS"
33632 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33633 LDFLAGS="$LDFLAGS -shared -fPIC"
33634 ac_ext=cpp
33635 ac_cpp='$CXXCPP $CPPFLAGS'
33636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33639
33640 cat >conftest.$ac_ext <<_ACEOF
33641 /* confdefs.h. */
33642 _ACEOF
33643 cat confdefs.h >>conftest.$ac_ext
33644 cat >>conftest.$ac_ext <<_ACEOF
33645 /* end confdefs.h. */
33646
33647 #include <string>
33648
33649 int
33650 main ()
33651 {
33652
33653 std::string s("hello");
33654 return s.length();
33655
33656 ;
33657 return 0;
33658 }
33659 _ACEOF
33660 rm -f conftest.$ac_objext conftest$ac_exeext
33661 if { (ac_try="$ac_link"
33662 case "(($ac_try" in
33663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33664 *) ac_try_echo=$ac_try;;
33665 esac
33666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33667 (eval "$ac_link") 2>conftest.er1
33668 ac_status=$?
33669 grep -v '^ *+' conftest.er1 >conftest.err
33670 rm -f conftest.er1
33671 cat conftest.err >&5
33672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33673 (exit $ac_status); } && {
33674 test -z "$ac_cxx_werror_flag" ||
33675 test ! -s conftest.err
33676 } && test -s conftest$ac_exeext &&
33677 $as_test_x conftest$ac_exeext; then
33678 wx_cv_cc_broken_libstdcxx_visibility=no
33679 else
33680 echo "$as_me: failed program was:" >&5
33681 sed 's/^/| /' conftest.$ac_ext >&5
33682
33683 wx_cv_cc_broken_libstdcxx_visibility=yes
33684 fi
33685
33686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33687 conftest$ac_exeext conftest.$ac_ext
33688 ac_ext=c
33689 ac_cpp='$CPP $CPPFLAGS'
33690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33693
33694 CXXFLAGS="$wx_save_CXXFLAGS"
33695 LDFLAGS="$wx_save_LDFLAGS"
33696 fi
33697
33698 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33699 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33700
33701 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33702 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33703 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33704 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33705 echo $ECHO_N "(cached) $ECHO_C" >&6
33706 else
33707
33708 ac_ext=cpp
33709 ac_cpp='$CXXCPP $CPPFLAGS'
33710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33713
33714 cat >conftest.$ac_ext <<_ACEOF
33715 /* confdefs.h. */
33716 _ACEOF
33717 cat confdefs.h >>conftest.$ac_ext
33718 cat >>conftest.$ac_ext <<_ACEOF
33719 /* end confdefs.h. */
33720
33721 #pragma GCC visibility push(default)
33722 #include <string>
33723 #pragma GCC visibility pop
33724
33725 int
33726 main ()
33727 {
33728
33729 std::string s("hello");
33730 return s.length();
33731
33732 ;
33733 return 0;
33734 }
33735 _ACEOF
33736 rm -f conftest.$ac_objext conftest$ac_exeext
33737 if { (ac_try="$ac_link"
33738 case "(($ac_try" in
33739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33740 *) ac_try_echo=$ac_try;;
33741 esac
33742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33743 (eval "$ac_link") 2>conftest.er1
33744 ac_status=$?
33745 grep -v '^ *+' conftest.er1 >conftest.err
33746 rm -f conftest.er1
33747 cat conftest.err >&5
33748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33749 (exit $ac_status); } && {
33750 test -z "$ac_cxx_werror_flag" ||
33751 test ! -s conftest.err
33752 } && test -s conftest$ac_exeext &&
33753 $as_test_x conftest$ac_exeext; then
33754 wx_cv_cc_visibility_workaround=no
33755 else
33756 echo "$as_me: failed program was:" >&5
33757 sed 's/^/| /' conftest.$ac_ext >&5
33758
33759 wx_cv_cc_visibility_workaround=yes
33760 fi
33761
33762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33763 conftest$ac_exeext conftest.$ac_ext
33764 ac_ext=c
33765 ac_cpp='$CPP $CPPFLAGS'
33766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33769
33770
33771 fi
33772
33773 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33774 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33775
33776 if test $wx_cv_cc_visibility_workaround = no; then
33777 wx_cv_cc_visibility=no
33778 fi
33779 fi
33780 fi
33781
33782 if test $wx_cv_cc_visibility = yes; then
33783 cat >>confdefs.h <<\_ACEOF
33784 #define HAVE_VISIBILITY 1
33785 _ACEOF
33786
33787 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33788 cat >>confdefs.h <<\_ACEOF
33789 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33790 _ACEOF
33791
33792 fi
33793 else
33794 CFLAGS_VISIBILITY=""
33795 CXXFLAGS_VISIBILITY=""
33796 fi
33797
33798
33799 fi
33800
33801 fi
33802
33803 if test "x$SUNCXX" = xyes; then
33804 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33805 WXCONFIG_RPATH="-R\$libdir"
33806 else
33807 case "${host}" in
33808 *-*-linux* | *-*-gnu* )
33809 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33810 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33811 ;;
33812
33813 *-*-solaris2* )
33814
33815 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33816
33817 saveLdflags="$LDFLAGS"
33818 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33819 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33820 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33821 cat >conftest.$ac_ext <<_ACEOF
33822 /* confdefs.h. */
33823 _ACEOF
33824 cat confdefs.h >>conftest.$ac_ext
33825 cat >>conftest.$ac_ext <<_ACEOF
33826 /* end confdefs.h. */
33827
33828 int
33829 main ()
33830 {
33831
33832 ;
33833 return 0;
33834 }
33835 _ACEOF
33836 rm -f conftest.$ac_objext conftest$ac_exeext
33837 if { (ac_try="$ac_link"
33838 case "(($ac_try" in
33839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33840 *) ac_try_echo=$ac_try;;
33841 esac
33842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33843 (eval "$ac_link") 2>conftest.er1
33844 ac_status=$?
33845 grep -v '^ *+' conftest.er1 >conftest.err
33846 rm -f conftest.er1
33847 cat conftest.err >&5
33848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33849 (exit $ac_status); } && {
33850 test -z "$ac_c_werror_flag" ||
33851 test ! -s conftest.err
33852 } && test -s conftest$ac_exeext &&
33853 $as_test_x conftest$ac_exeext; then
33854
33855 { echo "$as_me:$LINENO: result: yes" >&5
33856 echo "${ECHO_T}yes" >&6; }
33857 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33858 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33859
33860 else
33861 echo "$as_me: failed program was:" >&5
33862 sed 's/^/| /' conftest.$ac_ext >&5
33863
33864
33865 { echo "$as_me:$LINENO: result: no" >&5
33866 echo "${ECHO_T}no" >&6; }
33867 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33868 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33869 LDFLAGS="$saveLdflags -Wl,-R,/"
33870 cat >conftest.$ac_ext <<_ACEOF
33871 /* confdefs.h. */
33872 _ACEOF
33873 cat confdefs.h >>conftest.$ac_ext
33874 cat >>conftest.$ac_ext <<_ACEOF
33875 /* end confdefs.h. */
33876
33877 int
33878 main ()
33879 {
33880
33881 ;
33882 return 0;
33883 }
33884 _ACEOF
33885 rm -f conftest.$ac_objext conftest$ac_exeext
33886 if { (ac_try="$ac_link"
33887 case "(($ac_try" in
33888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33889 *) ac_try_echo=$ac_try;;
33890 esac
33891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33892 (eval "$ac_link") 2>conftest.er1
33893 ac_status=$?
33894 grep -v '^ *+' conftest.er1 >conftest.err
33895 rm -f conftest.er1
33896 cat conftest.err >&5
33897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33898 (exit $ac_status); } && {
33899 test -z "$ac_c_werror_flag" ||
33900 test ! -s conftest.err
33901 } && test -s conftest$ac_exeext &&
33902 $as_test_x conftest$ac_exeext; then
33903
33904 { echo "$as_me:$LINENO: result: yes" >&5
33905 echo "${ECHO_T}yes" >&6; }
33906 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33907 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33908
33909 else
33910 echo "$as_me: failed program was:" >&5
33911 sed 's/^/| /' conftest.$ac_ext >&5
33912
33913
33914 { echo "$as_me:$LINENO: result: no" >&5
33915 echo "${ECHO_T}no" >&6; }
33916
33917 fi
33918
33919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33920 conftest$ac_exeext conftest.$ac_ext
33921
33922 fi
33923
33924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33925 conftest$ac_exeext conftest.$ac_ext
33926 LDFLAGS="$saveLdflags"
33927 ;;
33928
33929 *-*-darwin* )
33930 install_name_tool=`which install_name_tool`
33931 if test "$install_name_tool" -a -x "$install_name_tool"; then
33932 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33933 cat <<EOF >change-install-names
33934 #!/bin/sh
33935 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33936 inst_cmd="install_name_tool "
33937 for i in \${libnames} ; do
33938 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33939 done
33940 \${inst_cmd} \${3}
33941 EOF
33942 chmod +x change-install-names
33943 fi
33944 ;;
33945
33946 *-*-cygwin* | *-*-mingw32* )
33947 ;;
33948
33949 *-*-hpux* )
33950 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33951 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33952 ;;
33953
33954 esac
33955 fi
33956
33957 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33958
33959 if test $wxUSE_RPATH = "no"; then
33960 SAMPLES_RPATH_FLAG=''
33961 SAMPLES_RPATH_POSTLINK=''
33962 WXCONFIG_RPATH=''
33963 fi
33964
33965 SHARED=1
33966
33967 else
33968
33969 config_linkage_component="-static"
33970 SHARED=0
33971
33972 fi
33973
33974
33975 UNICODE=0
33976 lib_unicode_suffix=
33977 WX_CHARTYPE="ansi"
33978 if test "$wxUSE_UNICODE" = "yes"; then
33979 lib_unicode_suffix=u
33980 WX_CHARTYPE="unicode"
33981 UNICODE=1
33982 fi
33983
33984 lib_debug_suffix=
33985 WX_DEBUGTYPE="release"
33986 DEBUG_FLAG=0
33987 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33988 lib_debug_suffix=d
33989 WX_DEBUGTYPE="debug"
33990 DEBUG_FLAG=1
33991 fi
33992
33993 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33994 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33995
33996 DEBUG_INFO=0
33997 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33998 DEBUG_INFO=1
33999 fi
34000
34001 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34002
34003 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34004
34005 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34006
34007 if test "$cross_compiling" = "yes"; then
34008 HOST_SUFFIX="-$host_alias"
34009 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
34010 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
34011 fi
34012
34013 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34014 if test "${TOOLKIT_DIR}" = "os2"; then
34015 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34016 else
34017 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34018 fi
34019
34020
34021
34022 if test "$wxUSE_COCOA" = 1; then
34023
34024 ac_ext=c
34025 ac_cpp='$CPP $CPPFLAGS'
34026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34029
34030 ac_ext=m
34031
34032 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34033 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34034 cat >conftest.$ac_ext <<_ACEOF
34035 /* confdefs.h. */
34036 _ACEOF
34037 cat confdefs.h >>conftest.$ac_ext
34038 cat >>conftest.$ac_ext <<_ACEOF
34039 /* end confdefs.h. */
34040 #include <AppKit/NSEvent.h>
34041 #include <CoreFoundation/CoreFoundation.h>
34042
34043 int
34044 main ()
34045 {
34046
34047 ;
34048 return 0;
34049 }
34050 _ACEOF
34051 rm -f conftest.$ac_objext
34052 if { (ac_try="$ac_compile"
34053 case "(($ac_try" in
34054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34055 *) ac_try_echo=$ac_try;;
34056 esac
34057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34058 (eval "$ac_compile") 2>conftest.er1
34059 ac_status=$?
34060 grep -v '^ *+' conftest.er1 >conftest.err
34061 rm -f conftest.er1
34062 cat conftest.err >&5
34063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34064 (exit $ac_status); } && {
34065 test -z "$ac_c_werror_flag" ||
34066 test ! -s conftest.err
34067 } && test -s conftest.$ac_objext; then
34068 { echo "$as_me:$LINENO: result: no" >&5
34069 echo "${ECHO_T}no" >&6; }
34070 else
34071 echo "$as_me: failed program was:" >&5
34072 sed 's/^/| /' conftest.$ac_ext >&5
34073
34074 { echo "$as_me:$LINENO: result: yes" >&5
34075 echo "${ECHO_T}yes" >&6; }
34076 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34077 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34078 cat >conftest.$ac_ext <<_ACEOF
34079 /* confdefs.h. */
34080 _ACEOF
34081 cat confdefs.h >>conftest.$ac_ext
34082 cat >>conftest.$ac_ext <<_ACEOF
34083 /* end confdefs.h. */
34084 #define __Point__ 1
34085 #include <AppKit/NSEvent.h>
34086 #include <CoreFoundation/CoreFoundation.h>
34087
34088 int
34089 main ()
34090 {
34091
34092 ;
34093 return 0;
34094 }
34095 _ACEOF
34096 rm -f conftest.$ac_objext
34097 if { (ac_try="$ac_compile"
34098 case "(($ac_try" in
34099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34100 *) ac_try_echo=$ac_try;;
34101 esac
34102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34103 (eval "$ac_compile") 2>conftest.er1
34104 ac_status=$?
34105 grep -v '^ *+' conftest.er1 >conftest.err
34106 rm -f conftest.er1
34107 cat conftest.err >&5
34108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34109 (exit $ac_status); } && {
34110 test -z "$ac_c_werror_flag" ||
34111 test ! -s conftest.err
34112 } && test -s conftest.$ac_objext; then
34113 { echo "$as_me:$LINENO: result: yes" >&5
34114 echo "${ECHO_T}yes" >&6; }
34115 cat >>confdefs.h <<\_ACEOF
34116 #define __Point__ 1
34117 _ACEOF
34118
34119
34120 else
34121 echo "$as_me: failed program was:" >&5
34122 sed 's/^/| /' conftest.$ac_ext >&5
34123
34124 { { echo "$as_me:$LINENO: error: no
34125 See \`config.log' for more details." >&5
34126 echo "$as_me: error: no
34127 See \`config.log' for more details." >&2;}
34128 { (exit 1); exit 1; }; }
34129
34130 fi
34131
34132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34133
34134 fi
34135
34136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34137 ac_ext=c
34138 ac_cpp='$CPP $CPPFLAGS'
34139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34142
34143 fi
34144
34145
34146 { echo "$as_me:$LINENO: checking for mode_t" >&5
34147 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34148 if test "${ac_cv_type_mode_t+set}" = set; then
34149 echo $ECHO_N "(cached) $ECHO_C" >&6
34150 else
34151 cat >conftest.$ac_ext <<_ACEOF
34152 /* confdefs.h. */
34153 _ACEOF
34154 cat confdefs.h >>conftest.$ac_ext
34155 cat >>conftest.$ac_ext <<_ACEOF
34156 /* end confdefs.h. */
34157 $ac_includes_default
34158 typedef mode_t ac__type_new_;
34159 int
34160 main ()
34161 {
34162 if ((ac__type_new_ *) 0)
34163 return 0;
34164 if (sizeof (ac__type_new_))
34165 return 0;
34166 ;
34167 return 0;
34168 }
34169 _ACEOF
34170 rm -f conftest.$ac_objext
34171 if { (ac_try="$ac_compile"
34172 case "(($ac_try" in
34173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34174 *) ac_try_echo=$ac_try;;
34175 esac
34176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34177 (eval "$ac_compile") 2>conftest.er1
34178 ac_status=$?
34179 grep -v '^ *+' conftest.er1 >conftest.err
34180 rm -f conftest.er1
34181 cat conftest.err >&5
34182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34183 (exit $ac_status); } && {
34184 test -z "$ac_c_werror_flag" ||
34185 test ! -s conftest.err
34186 } && test -s conftest.$ac_objext; then
34187 ac_cv_type_mode_t=yes
34188 else
34189 echo "$as_me: failed program was:" >&5
34190 sed 's/^/| /' conftest.$ac_ext >&5
34191
34192 ac_cv_type_mode_t=no
34193 fi
34194
34195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34196 fi
34197 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34198 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34199 if test $ac_cv_type_mode_t = yes; then
34200 :
34201 else
34202
34203 cat >>confdefs.h <<_ACEOF
34204 #define mode_t int
34205 _ACEOF
34206
34207 fi
34208
34209 { echo "$as_me:$LINENO: checking for off_t" >&5
34210 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34211 if test "${ac_cv_type_off_t+set}" = set; then
34212 echo $ECHO_N "(cached) $ECHO_C" >&6
34213 else
34214 cat >conftest.$ac_ext <<_ACEOF
34215 /* confdefs.h. */
34216 _ACEOF
34217 cat confdefs.h >>conftest.$ac_ext
34218 cat >>conftest.$ac_ext <<_ACEOF
34219 /* end confdefs.h. */
34220 $ac_includes_default
34221 typedef off_t ac__type_new_;
34222 int
34223 main ()
34224 {
34225 if ((ac__type_new_ *) 0)
34226 return 0;
34227 if (sizeof (ac__type_new_))
34228 return 0;
34229 ;
34230 return 0;
34231 }
34232 _ACEOF
34233 rm -f conftest.$ac_objext
34234 if { (ac_try="$ac_compile"
34235 case "(($ac_try" in
34236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34237 *) ac_try_echo=$ac_try;;
34238 esac
34239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34240 (eval "$ac_compile") 2>conftest.er1
34241 ac_status=$?
34242 grep -v '^ *+' conftest.er1 >conftest.err
34243 rm -f conftest.er1
34244 cat conftest.err >&5
34245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34246 (exit $ac_status); } && {
34247 test -z "$ac_c_werror_flag" ||
34248 test ! -s conftest.err
34249 } && test -s conftest.$ac_objext; then
34250 ac_cv_type_off_t=yes
34251 else
34252 echo "$as_me: failed program was:" >&5
34253 sed 's/^/| /' conftest.$ac_ext >&5
34254
34255 ac_cv_type_off_t=no
34256 fi
34257
34258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34259 fi
34260 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34261 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34262 if test $ac_cv_type_off_t = yes; then
34263 :
34264 else
34265
34266 cat >>confdefs.h <<_ACEOF
34267 #define off_t long int
34268 _ACEOF
34269
34270 fi
34271
34272 { echo "$as_me:$LINENO: checking for pid_t" >&5
34273 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34274 if test "${ac_cv_type_pid_t+set}" = set; then
34275 echo $ECHO_N "(cached) $ECHO_C" >&6
34276 else
34277 cat >conftest.$ac_ext <<_ACEOF
34278 /* confdefs.h. */
34279 _ACEOF
34280 cat confdefs.h >>conftest.$ac_ext
34281 cat >>conftest.$ac_ext <<_ACEOF
34282 /* end confdefs.h. */
34283 $ac_includes_default
34284 typedef pid_t ac__type_new_;
34285 int
34286 main ()
34287 {
34288 if ((ac__type_new_ *) 0)
34289 return 0;
34290 if (sizeof (ac__type_new_))
34291 return 0;
34292 ;
34293 return 0;
34294 }
34295 _ACEOF
34296 rm -f conftest.$ac_objext
34297 if { (ac_try="$ac_compile"
34298 case "(($ac_try" in
34299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34300 *) ac_try_echo=$ac_try;;
34301 esac
34302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34303 (eval "$ac_compile") 2>conftest.er1
34304 ac_status=$?
34305 grep -v '^ *+' conftest.er1 >conftest.err
34306 rm -f conftest.er1
34307 cat conftest.err >&5
34308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34309 (exit $ac_status); } && {
34310 test -z "$ac_c_werror_flag" ||
34311 test ! -s conftest.err
34312 } && test -s conftest.$ac_objext; then
34313 ac_cv_type_pid_t=yes
34314 else
34315 echo "$as_me: failed program was:" >&5
34316 sed 's/^/| /' conftest.$ac_ext >&5
34317
34318 ac_cv_type_pid_t=no
34319 fi
34320
34321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34322 fi
34323 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34324 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34325 if test $ac_cv_type_pid_t = yes; then
34326 :
34327 else
34328
34329 cat >>confdefs.h <<_ACEOF
34330 #define pid_t int
34331 _ACEOF
34332
34333 fi
34334
34335 { echo "$as_me:$LINENO: checking for size_t" >&5
34336 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34337 if test "${ac_cv_type_size_t+set}" = set; then
34338 echo $ECHO_N "(cached) $ECHO_C" >&6
34339 else
34340 cat >conftest.$ac_ext <<_ACEOF
34341 /* confdefs.h. */
34342 _ACEOF
34343 cat confdefs.h >>conftest.$ac_ext
34344 cat >>conftest.$ac_ext <<_ACEOF
34345 /* end confdefs.h. */
34346 $ac_includes_default
34347 typedef size_t ac__type_new_;
34348 int
34349 main ()
34350 {
34351 if ((ac__type_new_ *) 0)
34352 return 0;
34353 if (sizeof (ac__type_new_))
34354 return 0;
34355 ;
34356 return 0;
34357 }
34358 _ACEOF
34359 rm -f conftest.$ac_objext
34360 if { (ac_try="$ac_compile"
34361 case "(($ac_try" in
34362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34363 *) ac_try_echo=$ac_try;;
34364 esac
34365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34366 (eval "$ac_compile") 2>conftest.er1
34367 ac_status=$?
34368 grep -v '^ *+' conftest.er1 >conftest.err
34369 rm -f conftest.er1
34370 cat conftest.err >&5
34371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34372 (exit $ac_status); } && {
34373 test -z "$ac_c_werror_flag" ||
34374 test ! -s conftest.err
34375 } && test -s conftest.$ac_objext; then
34376 ac_cv_type_size_t=yes
34377 else
34378 echo "$as_me: failed program was:" >&5
34379 sed 's/^/| /' conftest.$ac_ext >&5
34380
34381 ac_cv_type_size_t=no
34382 fi
34383
34384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34385 fi
34386 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34387 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34388 if test $ac_cv_type_size_t = yes; then
34389 :
34390 else
34391
34392 cat >>confdefs.h <<_ACEOF
34393 #define size_t unsigned int
34394 _ACEOF
34395
34396 fi
34397
34398
34399 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34400 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34401 if test "${ac_cv_type_ssize_t+set}" = set; then
34402 echo $ECHO_N "(cached) $ECHO_C" >&6
34403 else
34404 cat >conftest.$ac_ext <<_ACEOF
34405 /* confdefs.h. */
34406 _ACEOF
34407 cat confdefs.h >>conftest.$ac_ext
34408 cat >>conftest.$ac_ext <<_ACEOF
34409 /* end confdefs.h. */
34410 $ac_includes_default
34411 typedef ssize_t ac__type_new_;
34412 int
34413 main ()
34414 {
34415 if ((ac__type_new_ *) 0)
34416 return 0;
34417 if (sizeof (ac__type_new_))
34418 return 0;
34419 ;
34420 return 0;
34421 }
34422 _ACEOF
34423 rm -f conftest.$ac_objext
34424 if { (ac_try="$ac_compile"
34425 case "(($ac_try" in
34426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34427 *) ac_try_echo=$ac_try;;
34428 esac
34429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34430 (eval "$ac_compile") 2>conftest.er1
34431 ac_status=$?
34432 grep -v '^ *+' conftest.er1 >conftest.err
34433 rm -f conftest.er1
34434 cat conftest.err >&5
34435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34436 (exit $ac_status); } && {
34437 test -z "$ac_c_werror_flag" ||
34438 test ! -s conftest.err
34439 } && test -s conftest.$ac_objext; then
34440 ac_cv_type_ssize_t=yes
34441 else
34442 echo "$as_me: failed program was:" >&5
34443 sed 's/^/| /' conftest.$ac_ext >&5
34444
34445 ac_cv_type_ssize_t=no
34446 fi
34447
34448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34449 fi
34450 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34451 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34452 if test $ac_cv_type_ssize_t = yes; then
34453
34454 cat >>confdefs.h <<_ACEOF
34455 #define HAVE_SSIZE_T 1
34456 _ACEOF
34457
34458
34459 fi
34460
34461
34462 ac_ext=cpp
34463 ac_cpp='$CXXCPP $CPPFLAGS'
34464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34467 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34468 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34469 if test "${wx_cv_size_t_is_uint+set}" = set; then
34470 echo $ECHO_N "(cached) $ECHO_C" >&6
34471 else
34472
34473 cat >conftest.$ac_ext <<_ACEOF
34474 /* confdefs.h. */
34475 _ACEOF
34476 cat confdefs.h >>conftest.$ac_ext
34477 cat >>conftest.$ac_ext <<_ACEOF
34478 /* end confdefs.h. */
34479 #include <stddef.h>
34480 int
34481 main ()
34482 {
34483
34484 return 0; }
34485
34486 struct Foo { void foo(size_t); void foo(unsigned int); };
34487
34488 int bar() {
34489
34490 ;
34491 return 0;
34492 }
34493 _ACEOF
34494 rm -f conftest.$ac_objext
34495 if { (ac_try="$ac_compile"
34496 case "(($ac_try" in
34497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34498 *) ac_try_echo=$ac_try;;
34499 esac
34500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34501 (eval "$ac_compile") 2>conftest.er1
34502 ac_status=$?
34503 grep -v '^ *+' conftest.er1 >conftest.err
34504 rm -f conftest.er1
34505 cat conftest.err >&5
34506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34507 (exit $ac_status); } && {
34508 test -z "$ac_cxx_werror_flag" ||
34509 test ! -s conftest.err
34510 } && test -s conftest.$ac_objext; then
34511 wx_cv_size_t_is_uint=no
34512 else
34513 echo "$as_me: failed program was:" >&5
34514 sed 's/^/| /' conftest.$ac_ext >&5
34515
34516 wx_cv_size_t_is_uint=yes
34517
34518 fi
34519
34520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34521
34522
34523 fi
34524 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34525 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34526
34527 if test "$wx_cv_size_t_is_uint" = "yes"; then
34528 cat >>confdefs.h <<\_ACEOF
34529 #define wxSIZE_T_IS_UINT 1
34530 _ACEOF
34531
34532 else
34533 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34534 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34535 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34536 echo $ECHO_N "(cached) $ECHO_C" >&6
34537 else
34538 cat >conftest.$ac_ext <<_ACEOF
34539 /* confdefs.h. */
34540 _ACEOF
34541 cat confdefs.h >>conftest.$ac_ext
34542 cat >>conftest.$ac_ext <<_ACEOF
34543 /* end confdefs.h. */
34544 #include <stddef.h>
34545 int
34546 main ()
34547 {
34548
34549 return 0; }
34550
34551 struct Foo { void foo(size_t); void foo(unsigned long); };
34552
34553 int bar() {
34554
34555 ;
34556 return 0;
34557 }
34558 _ACEOF
34559 rm -f conftest.$ac_objext
34560 if { (ac_try="$ac_compile"
34561 case "(($ac_try" in
34562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34563 *) ac_try_echo=$ac_try;;
34564 esac
34565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34566 (eval "$ac_compile") 2>conftest.er1
34567 ac_status=$?
34568 grep -v '^ *+' conftest.er1 >conftest.err
34569 rm -f conftest.er1
34570 cat conftest.err >&5
34571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34572 (exit $ac_status); } && {
34573 test -z "$ac_cxx_werror_flag" ||
34574 test ! -s conftest.err
34575 } && test -s conftest.$ac_objext; then
34576 wx_cv_size_t_is_ulong=no
34577 else
34578 echo "$as_me: failed program was:" >&5
34579 sed 's/^/| /' conftest.$ac_ext >&5
34580
34581 wx_cv_size_t_is_ulong=yes
34582
34583 fi
34584
34585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34586
34587 fi
34588 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34589 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34590
34591 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34592 cat >>confdefs.h <<\_ACEOF
34593 #define wxSIZE_T_IS_ULONG 1
34594 _ACEOF
34595
34596 fi
34597 fi
34598
34599 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34600 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34601 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34602 echo $ECHO_N "(cached) $ECHO_C" >&6
34603 else
34604 cat >conftest.$ac_ext <<_ACEOF
34605 /* confdefs.h. */
34606 _ACEOF
34607 cat confdefs.h >>conftest.$ac_ext
34608 cat >>conftest.$ac_ext <<_ACEOF
34609 /* end confdefs.h. */
34610 #include <wchar.h>
34611 int
34612 main ()
34613 {
34614
34615 return 0; }
34616
34617 struct Foo { void foo(wchar_t);
34618 void foo(unsigned short);
34619 void foo(unsigned int);
34620 void foo(unsigned long); };
34621
34622 int bar() {
34623
34624 ;
34625 return 0;
34626 }
34627 _ACEOF
34628 rm -f conftest.$ac_objext
34629 if { (ac_try="$ac_compile"
34630 case "(($ac_try" in
34631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34632 *) ac_try_echo=$ac_try;;
34633 esac
34634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34635 (eval "$ac_compile") 2>conftest.er1
34636 ac_status=$?
34637 grep -v '^ *+' conftest.er1 >conftest.err
34638 rm -f conftest.er1
34639 cat conftest.err >&5
34640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34641 (exit $ac_status); } && {
34642 test -z "$ac_cxx_werror_flag" ||
34643 test ! -s conftest.err
34644 } && test -s conftest.$ac_objext; then
34645 wx_cv_wchar_t_is_separate_type=yes
34646 else
34647 echo "$as_me: failed program was:" >&5
34648 sed 's/^/| /' conftest.$ac_ext >&5
34649
34650 wx_cv_wchar_t_is_separate_type=no
34651
34652 fi
34653
34654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34655
34656 fi
34657 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34658 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34659
34660 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34661 cat >>confdefs.h <<\_ACEOF
34662 #define wxWCHAR_T_IS_REAL_TYPE 1
34663 _ACEOF
34664
34665 else
34666 cat >>confdefs.h <<\_ACEOF
34667 #define wxWCHAR_T_IS_REAL_TYPE 0
34668 _ACEOF
34669
34670 fi
34671
34672 ac_ext=c
34673 ac_cpp='$CPP $CPPFLAGS'
34674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34677
34678
34679 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34680 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34681 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34682 echo $ECHO_N "(cached) $ECHO_C" >&6
34683 else
34684
34685 cat >conftest.$ac_ext <<_ACEOF
34686 /* confdefs.h. */
34687 _ACEOF
34688 cat confdefs.h >>conftest.$ac_ext
34689 cat >>conftest.$ac_ext <<_ACEOF
34690 /* end confdefs.h. */
34691 #include <pwd.h>
34692 int
34693 main ()
34694 {
34695
34696 char *p;
34697 struct passwd *pw;
34698 p = pw->pw_gecos;
34699
34700 ;
34701 return 0;
34702 }
34703 _ACEOF
34704 rm -f conftest.$ac_objext
34705 if { (ac_try="$ac_compile"
34706 case "(($ac_try" in
34707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34708 *) ac_try_echo=$ac_try;;
34709 esac
34710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34711 (eval "$ac_compile") 2>conftest.er1
34712 ac_status=$?
34713 grep -v '^ *+' conftest.er1 >conftest.err
34714 rm -f conftest.er1
34715 cat conftest.err >&5
34716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34717 (exit $ac_status); } && {
34718 test -z "$ac_c_werror_flag" ||
34719 test ! -s conftest.err
34720 } && test -s conftest.$ac_objext; then
34721
34722 wx_cv_struct_pw_gecos=yes
34723
34724 else
34725 echo "$as_me: failed program was:" >&5
34726 sed 's/^/| /' conftest.$ac_ext >&5
34727
34728
34729 wx_cv_struct_pw_gecos=no
34730
34731
34732 fi
34733
34734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34735
34736
34737 fi
34738 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34739 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34740
34741 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34742 cat >>confdefs.h <<\_ACEOF
34743 #define HAVE_PW_GECOS 1
34744 _ACEOF
34745
34746 fi
34747
34748
34749 if test "$wxUSE_WCHAR_T" = "yes"; then
34750 cat >>confdefs.h <<\_ACEOF
34751 #define wxUSE_WCHAR_T 1
34752 _ACEOF
34753
34754
34755 WCSLEN_FOUND=0
34756 WCHAR_LINK=
34757
34758 for ac_func in wcslen
34759 do
34760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34761 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34763 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34764 echo $ECHO_N "(cached) $ECHO_C" >&6
34765 else
34766 cat >conftest.$ac_ext <<_ACEOF
34767 /* confdefs.h. */
34768 _ACEOF
34769 cat confdefs.h >>conftest.$ac_ext
34770 cat >>conftest.$ac_ext <<_ACEOF
34771 /* end confdefs.h. */
34772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34774 #define $ac_func innocuous_$ac_func
34775
34776 /* System header to define __stub macros and hopefully few prototypes,
34777 which can conflict with char $ac_func (); below.
34778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34779 <limits.h> exists even on freestanding compilers. */
34780
34781 #ifdef __STDC__
34782 # include <limits.h>
34783 #else
34784 # include <assert.h>
34785 #endif
34786
34787 #undef $ac_func
34788
34789 /* Override any GCC internal prototype to avoid an error.
34790 Use char because int might match the return type of a GCC
34791 builtin and then its argument prototype would still apply. */
34792 #ifdef __cplusplus
34793 extern "C"
34794 #endif
34795 char $ac_func ();
34796 /* The GNU C library defines this for functions which it implements
34797 to always fail with ENOSYS. Some functions are actually named
34798 something starting with __ and the normal name is an alias. */
34799 #if defined __stub_$ac_func || defined __stub___$ac_func
34800 choke me
34801 #endif
34802
34803 int
34804 main ()
34805 {
34806 return $ac_func ();
34807 ;
34808 return 0;
34809 }
34810 _ACEOF
34811 rm -f conftest.$ac_objext conftest$ac_exeext
34812 if { (ac_try="$ac_link"
34813 case "(($ac_try" in
34814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34815 *) ac_try_echo=$ac_try;;
34816 esac
34817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34818 (eval "$ac_link") 2>conftest.er1
34819 ac_status=$?
34820 grep -v '^ *+' conftest.er1 >conftest.err
34821 rm -f conftest.er1
34822 cat conftest.err >&5
34823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34824 (exit $ac_status); } && {
34825 test -z "$ac_c_werror_flag" ||
34826 test ! -s conftest.err
34827 } && test -s conftest$ac_exeext &&
34828 $as_test_x conftest$ac_exeext; then
34829 eval "$as_ac_var=yes"
34830 else
34831 echo "$as_me: failed program was:" >&5
34832 sed 's/^/| /' conftest.$ac_ext >&5
34833
34834 eval "$as_ac_var=no"
34835 fi
34836
34837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34838 conftest$ac_exeext conftest.$ac_ext
34839 fi
34840 ac_res=`eval echo '${'$as_ac_var'}'`
34841 { echo "$as_me:$LINENO: result: $ac_res" >&5
34842 echo "${ECHO_T}$ac_res" >&6; }
34843 if test `eval echo '${'$as_ac_var'}'` = yes; then
34844 cat >>confdefs.h <<_ACEOF
34845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34846 _ACEOF
34847 WCSLEN_FOUND=1
34848 fi
34849 done
34850
34851
34852 if test "$WCSLEN_FOUND" = 0; then
34853 if test "$TOOLKIT" = "MSW"; then
34854 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34855 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34856 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34857 echo $ECHO_N "(cached) $ECHO_C" >&6
34858 else
34859 ac_check_lib_save_LIBS=$LIBS
34860 LIBS="-lmsvcrt $LIBS"
34861 cat >conftest.$ac_ext <<_ACEOF
34862 /* confdefs.h. */
34863 _ACEOF
34864 cat confdefs.h >>conftest.$ac_ext
34865 cat >>conftest.$ac_ext <<_ACEOF
34866 /* end confdefs.h. */
34867
34868 /* Override any GCC internal prototype to avoid an error.
34869 Use char because int might match the return type of a GCC
34870 builtin and then its argument prototype would still apply. */
34871 #ifdef __cplusplus
34872 extern "C"
34873 #endif
34874 char wcslen ();
34875 int
34876 main ()
34877 {
34878 return wcslen ();
34879 ;
34880 return 0;
34881 }
34882 _ACEOF
34883 rm -f conftest.$ac_objext conftest$ac_exeext
34884 if { (ac_try="$ac_link"
34885 case "(($ac_try" in
34886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34887 *) ac_try_echo=$ac_try;;
34888 esac
34889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34890 (eval "$ac_link") 2>conftest.er1
34891 ac_status=$?
34892 grep -v '^ *+' conftest.er1 >conftest.err
34893 rm -f conftest.er1
34894 cat conftest.err >&5
34895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34896 (exit $ac_status); } && {
34897 test -z "$ac_c_werror_flag" ||
34898 test ! -s conftest.err
34899 } && test -s conftest$ac_exeext &&
34900 $as_test_x conftest$ac_exeext; then
34901 ac_cv_lib_msvcrt_wcslen=yes
34902 else
34903 echo "$as_me: failed program was:" >&5
34904 sed 's/^/| /' conftest.$ac_ext >&5
34905
34906 ac_cv_lib_msvcrt_wcslen=no
34907 fi
34908
34909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34910 conftest$ac_exeext conftest.$ac_ext
34911 LIBS=$ac_check_lib_save_LIBS
34912 fi
34913 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34914 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34915 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34916 WCHAR_OK=1
34917 fi
34918
34919 else
34920 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34921 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34922 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34923 echo $ECHO_N "(cached) $ECHO_C" >&6
34924 else
34925 ac_check_lib_save_LIBS=$LIBS
34926 LIBS="-lw $LIBS"
34927 cat >conftest.$ac_ext <<_ACEOF
34928 /* confdefs.h. */
34929 _ACEOF
34930 cat confdefs.h >>conftest.$ac_ext
34931 cat >>conftest.$ac_ext <<_ACEOF
34932 /* end confdefs.h. */
34933
34934 /* Override any GCC internal prototype to avoid an error.
34935 Use char because int might match the return type of a GCC
34936 builtin and then its argument prototype would still apply. */
34937 #ifdef __cplusplus
34938 extern "C"
34939 #endif
34940 char wcslen ();
34941 int
34942 main ()
34943 {
34944 return wcslen ();
34945 ;
34946 return 0;
34947 }
34948 _ACEOF
34949 rm -f conftest.$ac_objext conftest$ac_exeext
34950 if { (ac_try="$ac_link"
34951 case "(($ac_try" in
34952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34953 *) ac_try_echo=$ac_try;;
34954 esac
34955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34956 (eval "$ac_link") 2>conftest.er1
34957 ac_status=$?
34958 grep -v '^ *+' conftest.er1 >conftest.err
34959 rm -f conftest.er1
34960 cat conftest.err >&5
34961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34962 (exit $ac_status); } && {
34963 test -z "$ac_c_werror_flag" ||
34964 test ! -s conftest.err
34965 } && test -s conftest$ac_exeext &&
34966 $as_test_x conftest$ac_exeext; then
34967 ac_cv_lib_w_wcslen=yes
34968 else
34969 echo "$as_me: failed program was:" >&5
34970 sed 's/^/| /' conftest.$ac_ext >&5
34971
34972 ac_cv_lib_w_wcslen=no
34973 fi
34974
34975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34976 conftest$ac_exeext conftest.$ac_ext
34977 LIBS=$ac_check_lib_save_LIBS
34978 fi
34979 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34980 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34981 if test $ac_cv_lib_w_wcslen = yes; then
34982
34983 WCHAR_LINK=" -lw"
34984 WCSLEN_FOUND=1
34985
34986 fi
34987
34988 fi
34989 fi
34990
34991 if test "$WCSLEN_FOUND" = 1; then
34992 cat >>confdefs.h <<\_ACEOF
34993 #define HAVE_WCSLEN 1
34994 _ACEOF
34995
34996 fi
34997
34998
34999 for ac_func in wcsdup
35000 do
35001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35002 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35004 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35005 echo $ECHO_N "(cached) $ECHO_C" >&6
35006 else
35007 cat >conftest.$ac_ext <<_ACEOF
35008 /* confdefs.h. */
35009 _ACEOF
35010 cat confdefs.h >>conftest.$ac_ext
35011 cat >>conftest.$ac_ext <<_ACEOF
35012 /* end confdefs.h. */
35013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35015 #define $ac_func innocuous_$ac_func
35016
35017 /* System header to define __stub macros and hopefully few prototypes,
35018 which can conflict with char $ac_func (); below.
35019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35020 <limits.h> exists even on freestanding compilers. */
35021
35022 #ifdef __STDC__
35023 # include <limits.h>
35024 #else
35025 # include <assert.h>
35026 #endif
35027
35028 #undef $ac_func
35029
35030 /* Override any GCC internal prototype to avoid an error.
35031 Use char because int might match the return type of a GCC
35032 builtin and then its argument prototype would still apply. */
35033 #ifdef __cplusplus
35034 extern "C"
35035 #endif
35036 char $ac_func ();
35037 /* The GNU C library defines this for functions which it implements
35038 to always fail with ENOSYS. Some functions are actually named
35039 something starting with __ and the normal name is an alias. */
35040 #if defined __stub_$ac_func || defined __stub___$ac_func
35041 choke me
35042 #endif
35043
35044 int
35045 main ()
35046 {
35047 return $ac_func ();
35048 ;
35049 return 0;
35050 }
35051 _ACEOF
35052 rm -f conftest.$ac_objext conftest$ac_exeext
35053 if { (ac_try="$ac_link"
35054 case "(($ac_try" in
35055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35056 *) ac_try_echo=$ac_try;;
35057 esac
35058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35059 (eval "$ac_link") 2>conftest.er1
35060 ac_status=$?
35061 grep -v '^ *+' conftest.er1 >conftest.err
35062 rm -f conftest.er1
35063 cat conftest.err >&5
35064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35065 (exit $ac_status); } && {
35066 test -z "$ac_c_werror_flag" ||
35067 test ! -s conftest.err
35068 } && test -s conftest$ac_exeext &&
35069 $as_test_x conftest$ac_exeext; then
35070 eval "$as_ac_var=yes"
35071 else
35072 echo "$as_me: failed program was:" >&5
35073 sed 's/^/| /' conftest.$ac_ext >&5
35074
35075 eval "$as_ac_var=no"
35076 fi
35077
35078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35079 conftest$ac_exeext conftest.$ac_ext
35080 fi
35081 ac_res=`eval echo '${'$as_ac_var'}'`
35082 { echo "$as_me:$LINENO: result: $ac_res" >&5
35083 echo "${ECHO_T}$ac_res" >&6; }
35084 if test `eval echo '${'$as_ac_var'}'` = yes; then
35085 cat >>confdefs.h <<_ACEOF
35086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35087 _ACEOF
35088
35089 fi
35090 done
35091
35092
35093 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35094 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35095 fi
35096
35097 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35098 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35099 if test "${ac_cv_type_mbstate_t+set}" = set; then
35100 echo $ECHO_N "(cached) $ECHO_C" >&6
35101 else
35102 cat >conftest.$ac_ext <<_ACEOF
35103 /* confdefs.h. */
35104 _ACEOF
35105 cat confdefs.h >>conftest.$ac_ext
35106 cat >>conftest.$ac_ext <<_ACEOF
35107 /* end confdefs.h. */
35108 #include <wchar.h>
35109
35110 typedef mbstate_t ac__type_new_;
35111 int
35112 main ()
35113 {
35114 if ((ac__type_new_ *) 0)
35115 return 0;
35116 if (sizeof (ac__type_new_))
35117 return 0;
35118 ;
35119 return 0;
35120 }
35121 _ACEOF
35122 rm -f conftest.$ac_objext
35123 if { (ac_try="$ac_compile"
35124 case "(($ac_try" in
35125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35126 *) ac_try_echo=$ac_try;;
35127 esac
35128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35129 (eval "$ac_compile") 2>conftest.er1
35130 ac_status=$?
35131 grep -v '^ *+' conftest.er1 >conftest.err
35132 rm -f conftest.er1
35133 cat conftest.err >&5
35134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35135 (exit $ac_status); } && {
35136 test -z "$ac_c_werror_flag" ||
35137 test ! -s conftest.err
35138 } && test -s conftest.$ac_objext; then
35139 ac_cv_type_mbstate_t=yes
35140 else
35141 echo "$as_me: failed program was:" >&5
35142 sed 's/^/| /' conftest.$ac_ext >&5
35143
35144 ac_cv_type_mbstate_t=no
35145 fi
35146
35147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35148 fi
35149 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35150 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35151 if test $ac_cv_type_mbstate_t = yes; then
35152
35153 cat >>confdefs.h <<_ACEOF
35154 #define HAVE_MBSTATE_T 1
35155 _ACEOF
35156
35157
35158 for ac_func in wcsrtombs
35159 do
35160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35161 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35163 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35164 echo $ECHO_N "(cached) $ECHO_C" >&6
35165 else
35166 cat >conftest.$ac_ext <<_ACEOF
35167 /* confdefs.h. */
35168 _ACEOF
35169 cat confdefs.h >>conftest.$ac_ext
35170 cat >>conftest.$ac_ext <<_ACEOF
35171 /* end confdefs.h. */
35172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35174 #define $ac_func innocuous_$ac_func
35175
35176 /* System header to define __stub macros and hopefully few prototypes,
35177 which can conflict with char $ac_func (); below.
35178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35179 <limits.h> exists even on freestanding compilers. */
35180
35181 #ifdef __STDC__
35182 # include <limits.h>
35183 #else
35184 # include <assert.h>
35185 #endif
35186
35187 #undef $ac_func
35188
35189 /* Override any GCC internal prototype to avoid an error.
35190 Use char because int might match the return type of a GCC
35191 builtin and then its argument prototype would still apply. */
35192 #ifdef __cplusplus
35193 extern "C"
35194 #endif
35195 char $ac_func ();
35196 /* The GNU C library defines this for functions which it implements
35197 to always fail with ENOSYS. Some functions are actually named
35198 something starting with __ and the normal name is an alias. */
35199 #if defined __stub_$ac_func || defined __stub___$ac_func
35200 choke me
35201 #endif
35202
35203 int
35204 main ()
35205 {
35206 return $ac_func ();
35207 ;
35208 return 0;
35209 }
35210 _ACEOF
35211 rm -f conftest.$ac_objext conftest$ac_exeext
35212 if { (ac_try="$ac_link"
35213 case "(($ac_try" in
35214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35215 *) ac_try_echo=$ac_try;;
35216 esac
35217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35218 (eval "$ac_link") 2>conftest.er1
35219 ac_status=$?
35220 grep -v '^ *+' conftest.er1 >conftest.err
35221 rm -f conftest.er1
35222 cat conftest.err >&5
35223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35224 (exit $ac_status); } && {
35225 test -z "$ac_c_werror_flag" ||
35226 test ! -s conftest.err
35227 } && test -s conftest$ac_exeext &&
35228 $as_test_x conftest$ac_exeext; then
35229 eval "$as_ac_var=yes"
35230 else
35231 echo "$as_me: failed program was:" >&5
35232 sed 's/^/| /' conftest.$ac_ext >&5
35233
35234 eval "$as_ac_var=no"
35235 fi
35236
35237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35238 conftest$ac_exeext conftest.$ac_ext
35239 fi
35240 ac_res=`eval echo '${'$as_ac_var'}'`
35241 { echo "$as_me:$LINENO: result: $ac_res" >&5
35242 echo "${ECHO_T}$ac_res" >&6; }
35243 if test `eval echo '${'$as_ac_var'}'` = yes; then
35244 cat >>confdefs.h <<_ACEOF
35245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35246 _ACEOF
35247
35248 fi
35249 done
35250
35251 fi
35252
35253 else
35254 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35255 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35256 fi
35257
35258
35259
35260
35261 for ac_func in snprintf vsnprintf vsscanf
35262 do
35263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35264 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35266 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35267 echo $ECHO_N "(cached) $ECHO_C" >&6
35268 else
35269 cat >conftest.$ac_ext <<_ACEOF
35270 /* confdefs.h. */
35271 _ACEOF
35272 cat confdefs.h >>conftest.$ac_ext
35273 cat >>conftest.$ac_ext <<_ACEOF
35274 /* end confdefs.h. */
35275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35277 #define $ac_func innocuous_$ac_func
35278
35279 /* System header to define __stub macros and hopefully few prototypes,
35280 which can conflict with char $ac_func (); below.
35281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35282 <limits.h> exists even on freestanding compilers. */
35283
35284 #ifdef __STDC__
35285 # include <limits.h>
35286 #else
35287 # include <assert.h>
35288 #endif
35289
35290 #undef $ac_func
35291
35292 /* Override any GCC internal prototype to avoid an error.
35293 Use char because int might match the return type of a GCC
35294 builtin and then its argument prototype would still apply. */
35295 #ifdef __cplusplus
35296 extern "C"
35297 #endif
35298 char $ac_func ();
35299 /* The GNU C library defines this for functions which it implements
35300 to always fail with ENOSYS. Some functions are actually named
35301 something starting with __ and the normal name is an alias. */
35302 #if defined __stub_$ac_func || defined __stub___$ac_func
35303 choke me
35304 #endif
35305
35306 int
35307 main ()
35308 {
35309 return $ac_func ();
35310 ;
35311 return 0;
35312 }
35313 _ACEOF
35314 rm -f conftest.$ac_objext conftest$ac_exeext
35315 if { (ac_try="$ac_link"
35316 case "(($ac_try" in
35317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35318 *) ac_try_echo=$ac_try;;
35319 esac
35320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35321 (eval "$ac_link") 2>conftest.er1
35322 ac_status=$?
35323 grep -v '^ *+' conftest.er1 >conftest.err
35324 rm -f conftest.er1
35325 cat conftest.err >&5
35326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35327 (exit $ac_status); } && {
35328 test -z "$ac_c_werror_flag" ||
35329 test ! -s conftest.err
35330 } && test -s conftest$ac_exeext &&
35331 $as_test_x conftest$ac_exeext; then
35332 eval "$as_ac_var=yes"
35333 else
35334 echo "$as_me: failed program was:" >&5
35335 sed 's/^/| /' conftest.$ac_ext >&5
35336
35337 eval "$as_ac_var=no"
35338 fi
35339
35340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35341 conftest$ac_exeext conftest.$ac_ext
35342 fi
35343 ac_res=`eval echo '${'$as_ac_var'}'`
35344 { echo "$as_me:$LINENO: result: $ac_res" >&5
35345 echo "${ECHO_T}$ac_res" >&6; }
35346 if test `eval echo '${'$as_ac_var'}'` = yes; then
35347 cat >>confdefs.h <<_ACEOF
35348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35349 _ACEOF
35350
35351 fi
35352 done
35353
35354
35355 ac_ext=cpp
35356 ac_cpp='$CXXCPP $CPPFLAGS'
35357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35360
35361 if test "$ac_cv_func_vsnprintf" = "yes"; then
35362 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35363 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35364 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35365 echo $ECHO_N "(cached) $ECHO_C" >&6
35366 else
35367
35368 cat >conftest.$ac_ext <<_ACEOF
35369 /* confdefs.h. */
35370 _ACEOF
35371 cat confdefs.h >>conftest.$ac_ext
35372 cat >>conftest.$ac_ext <<_ACEOF
35373 /* end confdefs.h. */
35374
35375 #include <stdio.h>
35376 #include <stdarg.h>
35377 #ifdef __MSL__
35378 #if __MSL__ >= 0x6000
35379 namespace std {}
35380 using namespace std;
35381 #endif
35382 #endif
35383
35384 int
35385 main ()
35386 {
35387
35388 char *buf;
35389 va_list ap;
35390 vsnprintf(buf, 10u, "%s", ap);
35391
35392 ;
35393 return 0;
35394 }
35395 _ACEOF
35396 rm -f conftest.$ac_objext
35397 if { (ac_try="$ac_compile"
35398 case "(($ac_try" in
35399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35400 *) ac_try_echo=$ac_try;;
35401 esac
35402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35403 (eval "$ac_compile") 2>conftest.er1
35404 ac_status=$?
35405 grep -v '^ *+' conftest.er1 >conftest.err
35406 rm -f conftest.er1
35407 cat conftest.err >&5
35408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35409 (exit $ac_status); } && {
35410 test -z "$ac_cxx_werror_flag" ||
35411 test ! -s conftest.err
35412 } && test -s conftest.$ac_objext; then
35413 wx_cv_func_vsnprintf_decl=yes
35414 else
35415 echo "$as_me: failed program was:" >&5
35416 sed 's/^/| /' conftest.$ac_ext >&5
35417
35418 wx_cv_func_vsnprintf_decl=no
35419
35420 fi
35421
35422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35423
35424
35425 fi
35426 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35427 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35428
35429 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35430 cat >>confdefs.h <<\_ACEOF
35431 #define HAVE_VSNPRINTF_DECL 1
35432 _ACEOF
35433
35434
35435 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35436 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35437 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35438 echo $ECHO_N "(cached) $ECHO_C" >&6
35439 else
35440
35441 cat >conftest.$ac_ext <<_ACEOF
35442 /* confdefs.h. */
35443 _ACEOF
35444 cat confdefs.h >>conftest.$ac_ext
35445 cat >>conftest.$ac_ext <<_ACEOF
35446 /* end confdefs.h. */
35447
35448 #include <stdio.h>
35449 #include <stdarg.h>
35450 #ifdef __MSL__
35451 #if __MSL__ >= 0x6000
35452 namespace std {}
35453 using namespace std;
35454 #endif
35455 #endif
35456
35457 int
35458 main ()
35459 {
35460
35461 char *buf;
35462 va_list ap;
35463 const char *fmt = "%s";
35464 vsnprintf(buf, 10u, fmt, ap);
35465
35466 ;
35467 return 0;
35468 }
35469 _ACEOF
35470 rm -f conftest.$ac_objext
35471 if { (ac_try="$ac_compile"
35472 case "(($ac_try" in
35473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35474 *) ac_try_echo=$ac_try;;
35475 esac
35476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35477 (eval "$ac_compile") 2>conftest.er1
35478 ac_status=$?
35479 grep -v '^ *+' conftest.er1 >conftest.err
35480 rm -f conftest.er1
35481 cat conftest.err >&5
35482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35483 (exit $ac_status); } && {
35484 test -z "$ac_cxx_werror_flag" ||
35485 test ! -s conftest.err
35486 } && test -s conftest.$ac_objext; then
35487 wx_cv_func_broken_vsnprintf_decl=no
35488 else
35489 echo "$as_me: failed program was:" >&5
35490 sed 's/^/| /' conftest.$ac_ext >&5
35491
35492 wx_cv_func_broken_vsnprintf_decl=yes
35493
35494 fi
35495
35496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35497
35498
35499 fi
35500 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35501 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35502
35503 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35504 cat >>confdefs.h <<\_ACEOF
35505 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35506 _ACEOF
35507
35508 fi
35509 fi
35510 fi
35511
35512 if test "$ac_cv_func_snprintf" = "yes"; then
35513 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35514 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35515 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35516 echo $ECHO_N "(cached) $ECHO_C" >&6
35517 else
35518
35519 cat >conftest.$ac_ext <<_ACEOF
35520 /* confdefs.h. */
35521 _ACEOF
35522 cat confdefs.h >>conftest.$ac_ext
35523 cat >>conftest.$ac_ext <<_ACEOF
35524 /* end confdefs.h. */
35525
35526 #include <stdio.h>
35527 #include <stdarg.h>
35528 #ifdef __MSL__
35529 #if __MSL__ >= 0x6000
35530 namespace std {}
35531 using namespace std;
35532 #endif
35533 #endif
35534
35535 int
35536 main ()
35537 {
35538
35539 char *buf;
35540 snprintf(buf, 10u, "%s", "wx");
35541
35542 ;
35543 return 0;
35544 }
35545 _ACEOF
35546 rm -f conftest.$ac_objext
35547 if { (ac_try="$ac_compile"
35548 case "(($ac_try" in
35549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35550 *) ac_try_echo=$ac_try;;
35551 esac
35552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35553 (eval "$ac_compile") 2>conftest.er1
35554 ac_status=$?
35555 grep -v '^ *+' conftest.er1 >conftest.err
35556 rm -f conftest.er1
35557 cat conftest.err >&5
35558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35559 (exit $ac_status); } && {
35560 test -z "$ac_cxx_werror_flag" ||
35561 test ! -s conftest.err
35562 } && test -s conftest.$ac_objext; then
35563 wx_cv_func_snprintf_decl=yes
35564 else
35565 echo "$as_me: failed program was:" >&5
35566 sed 's/^/| /' conftest.$ac_ext >&5
35567
35568 wx_cv_func_snprintf_decl=no
35569
35570 fi
35571
35572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35573
35574
35575 fi
35576 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35577 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35578
35579 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35580 cat >>confdefs.h <<\_ACEOF
35581 #define HAVE_SNPRINTF_DECL 1
35582 _ACEOF
35583
35584 fi
35585
35586 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35587
35588 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35589 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35590 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35591 echo $ECHO_N "(cached) $ECHO_C" >&6
35592 else
35593
35594 if test "$cross_compiling" = yes; then
35595
35596 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35597 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35598 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35599 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35600 wx_cv_func_snprintf_pos_params=no
35601
35602
35603 else
35604 cat >conftest.$ac_ext <<_ACEOF
35605 /* confdefs.h. */
35606 _ACEOF
35607 cat confdefs.h >>conftest.$ac_ext
35608 cat >>conftest.$ac_ext <<_ACEOF
35609 /* end confdefs.h. */
35610
35611 #include <stdio.h>
35612
35613 int main (void)
35614 {
35615 char buffer[128];
35616 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35617 if (strcmp ("2 3 1", buffer) == 0)
35618 exit (0);
35619 exit (1);
35620 }
35621
35622 _ACEOF
35623 rm -f conftest$ac_exeext
35624 if { (ac_try="$ac_link"
35625 case "(($ac_try" in
35626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35627 *) ac_try_echo=$ac_try;;
35628 esac
35629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35630 (eval "$ac_link") 2>&5
35631 ac_status=$?
35632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35633 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35634 { (case "(($ac_try" in
35635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35636 *) ac_try_echo=$ac_try;;
35637 esac
35638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35639 (eval "$ac_try") 2>&5
35640 ac_status=$?
35641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35642 (exit $ac_status); }; }; then
35643 wx_cv_func_snprintf_pos_params=no
35644 else
35645 echo "$as_me: program exited with status $ac_status" >&5
35646 echo "$as_me: failed program was:" >&5
35647 sed 's/^/| /' conftest.$ac_ext >&5
35648
35649 ( exit $ac_status )
35650 wx_cv_func_snprintf_pos_params=yes
35651 fi
35652 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35653 fi
35654
35655
35656
35657
35658 fi
35659 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35660 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35661
35662 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35663 cat >>confdefs.h <<\_ACEOF
35664 #define HAVE_UNIX98_PRINTF 1
35665 _ACEOF
35666
35667 fi
35668 fi
35669 fi
35670
35671 if test "$ac_cv_func_vsscanf" = "yes"; then
35672 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35673 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35674 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35675 echo $ECHO_N "(cached) $ECHO_C" >&6
35676 else
35677
35678 cat >conftest.$ac_ext <<_ACEOF
35679 /* confdefs.h. */
35680 _ACEOF
35681 cat confdefs.h >>conftest.$ac_ext
35682 cat >>conftest.$ac_ext <<_ACEOF
35683 /* end confdefs.h. */
35684
35685 #include <stdio.h>
35686 #include <stdarg.h>
35687 #ifdef __MSL__
35688 #if __MSL__ >= 0x6000
35689 namespace std {}
35690 using namespace std;
35691 #endif
35692 #endif
35693
35694 int
35695 main ()
35696 {
35697
35698 char *buf;
35699 va_list args;
35700 vsscanf(buf, "%s", args);
35701
35702 ;
35703 return 0;
35704 }
35705 _ACEOF
35706 rm -f conftest.$ac_objext
35707 if { (ac_try="$ac_compile"
35708 case "(($ac_try" in
35709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35710 *) ac_try_echo=$ac_try;;
35711 esac
35712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35713 (eval "$ac_compile") 2>conftest.er1
35714 ac_status=$?
35715 grep -v '^ *+' conftest.er1 >conftest.err
35716 rm -f conftest.er1
35717 cat conftest.err >&5
35718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35719 (exit $ac_status); } && {
35720 test -z "$ac_cxx_werror_flag" ||
35721 test ! -s conftest.err
35722 } && test -s conftest.$ac_objext; then
35723 wx_cv_func_vsscanf_decl=yes
35724 else
35725 echo "$as_me: failed program was:" >&5
35726 sed 's/^/| /' conftest.$ac_ext >&5
35727
35728 wx_cv_func_vsscanf_decl=no
35729
35730 fi
35731
35732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35733
35734
35735 fi
35736 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35737 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35738
35739 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35740 cat >>confdefs.h <<\_ACEOF
35741 #define HAVE_VSSCANF_DECL 1
35742 _ACEOF
35743
35744 fi
35745 fi
35746 ac_ext=c
35747 ac_cpp='$CPP $CPPFLAGS'
35748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35751
35752
35753 if test "$wxUSE_UNICODE" = yes; then
35754
35755 wchar_headers="#include <stdio.h>
35756 #include <wchar.h>"
35757 case "${host}" in
35758 *-*-solaris2* )
35759
35760 for ac_header in widec.h
35761 do
35762 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35763 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35765 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35766 echo $ECHO_N "(cached) $ECHO_C" >&6
35767 else
35768 cat >conftest.$ac_ext <<_ACEOF
35769 /* confdefs.h. */
35770 _ACEOF
35771 cat confdefs.h >>conftest.$ac_ext
35772 cat >>conftest.$ac_ext <<_ACEOF
35773 /* end confdefs.h. */
35774 $ac_includes_default
35775
35776 #include <$ac_header>
35777 _ACEOF
35778 rm -f conftest.$ac_objext
35779 if { (ac_try="$ac_compile"
35780 case "(($ac_try" in
35781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35782 *) ac_try_echo=$ac_try;;
35783 esac
35784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35785 (eval "$ac_compile") 2>conftest.er1
35786 ac_status=$?
35787 grep -v '^ *+' conftest.er1 >conftest.err
35788 rm -f conftest.er1
35789 cat conftest.err >&5
35790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35791 (exit $ac_status); } && {
35792 test -z "$ac_c_werror_flag" ||
35793 test ! -s conftest.err
35794 } && test -s conftest.$ac_objext; then
35795 eval "$as_ac_Header=yes"
35796 else
35797 echo "$as_me: failed program was:" >&5
35798 sed 's/^/| /' conftest.$ac_ext >&5
35799
35800 eval "$as_ac_Header=no"
35801 fi
35802
35803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35804 fi
35805 ac_res=`eval echo '${'$as_ac_Header'}'`
35806 { echo "$as_me:$LINENO: result: $ac_res" >&5
35807 echo "${ECHO_T}$ac_res" >&6; }
35808 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35809 cat >>confdefs.h <<_ACEOF
35810 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35811 _ACEOF
35812
35813 fi
35814
35815 done
35816
35817 if test "$ac_cv_header_widec_h" = "yes"; then
35818 wchar_headers="$wchar_headers
35819 #include <widec.h>"
35820 fi
35821 esac
35822
35823
35824 for wx_func in putws fputws wprintf vswprintf vswscanf
35825 do
35826 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35827 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35828 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35829 echo $ECHO_N "(cached) $ECHO_C" >&6
35830 else
35831
35832 cat >conftest.$ac_ext <<_ACEOF
35833
35834 /* confdefs.h. */
35835 _ACEOF
35836 cat confdefs.h >>conftest.$ac_ext
35837 cat >>conftest.$ac_ext <<_ACEOF
35838 /* end confdefs.h. */
35839
35840 $wchar_headers
35841 $ac_includes_default
35842
35843 int
35844 main ()
35845 {
35846
35847 #ifndef $wx_func
35848 &$wx_func;
35849 #endif
35850
35851
35852 ;
35853 return 0;
35854 }
35855
35856 _ACEOF
35857 rm -f conftest.$ac_objext conftest$ac_exeext
35858 if { (ac_try="$ac_link"
35859 case "(($ac_try" in
35860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35861 *) ac_try_echo=$ac_try;;
35862 esac
35863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35864 (eval "$ac_link") 2>conftest.er1
35865 ac_status=$?
35866 grep -v '^ *+' conftest.er1 >conftest.err
35867 rm -f conftest.er1
35868 cat conftest.err >&5
35869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35870 (exit $ac_status); } && {
35871 test -z "$ac_c_werror_flag" ||
35872 test ! -s conftest.err
35873 } && test -s conftest$ac_exeext &&
35874 $as_test_x conftest$ac_exeext; then
35875 eval wx_cv_func_$wx_func=yes
35876 else
35877 echo "$as_me: failed program was:" >&5
35878 sed 's/^/| /' conftest.$ac_ext >&5
35879
35880 eval wx_cv_func_$wx_func=no
35881 fi
35882
35883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35884 conftest$ac_exeext conftest.$ac_ext
35885
35886 fi
35887 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35888 { echo "$as_me:$LINENO: result: $ac_res" >&5
35889 echo "${ECHO_T}$ac_res" >&6; }
35890
35891 if eval test \$wx_cv_func_$wx_func = yes
35892 then
35893 cat >>confdefs.h <<_ACEOF
35894 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35895 _ACEOF
35896
35897
35898 else
35899 :
35900
35901 fi
35902 done
35903
35904
35905 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35906 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35907 cat >conftest.$ac_ext <<_ACEOF
35908 /* confdefs.h. */
35909 _ACEOF
35910 cat confdefs.h >>conftest.$ac_ext
35911 cat >>conftest.$ac_ext <<_ACEOF
35912 /* end confdefs.h. */
35913 #include <wchar.h>
35914 int
35915 main ()
35916 {
35917 &_vsnwprintf;
35918 ;
35919 return 0;
35920 }
35921 _ACEOF
35922 rm -f conftest.$ac_objext
35923 if { (ac_try="$ac_compile"
35924 case "(($ac_try" in
35925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35926 *) ac_try_echo=$ac_try;;
35927 esac
35928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35929 (eval "$ac_compile") 2>conftest.er1
35930 ac_status=$?
35931 grep -v '^ *+' conftest.er1 >conftest.err
35932 rm -f conftest.er1
35933 cat conftest.err >&5
35934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35935 (exit $ac_status); } && {
35936 test -z "$ac_c_werror_flag" ||
35937 test ! -s conftest.err
35938 } && test -s conftest.$ac_objext; then
35939 { echo "$as_me:$LINENO: result: yes" >&5
35940 echo "${ECHO_T}yes" >&6; }
35941 cat >>confdefs.h <<\_ACEOF
35942 #define HAVE__VSNWPRINTF 1
35943 _ACEOF
35944
35945 else
35946 echo "$as_me: failed program was:" >&5
35947 sed 's/^/| /' conftest.$ac_ext >&5
35948
35949 { echo "$as_me:$LINENO: result: no" >&5
35950 echo "${ECHO_T}no" >&6; }
35951 fi
35952
35953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35954 fi
35955
35956 if test "$wxUSE_FILE" = "yes"; then
35957
35958 for wx_func in fsync
35959 do
35960 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35961 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35962 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35963 echo $ECHO_N "(cached) $ECHO_C" >&6
35964 else
35965
35966 cat >conftest.$ac_ext <<_ACEOF
35967
35968 /* confdefs.h. */
35969 _ACEOF
35970 cat confdefs.h >>conftest.$ac_ext
35971 cat >>conftest.$ac_ext <<_ACEOF
35972 /* end confdefs.h. */
35973
35974
35975 $ac_includes_default
35976
35977 int
35978 main ()
35979 {
35980
35981 #ifndef $wx_func
35982 &$wx_func;
35983 #endif
35984
35985
35986 ;
35987 return 0;
35988 }
35989
35990 _ACEOF
35991 rm -f conftest.$ac_objext conftest$ac_exeext
35992 if { (ac_try="$ac_link"
35993 case "(($ac_try" in
35994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35995 *) ac_try_echo=$ac_try;;
35996 esac
35997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35998 (eval "$ac_link") 2>conftest.er1
35999 ac_status=$?
36000 grep -v '^ *+' conftest.er1 >conftest.err
36001 rm -f conftest.er1
36002 cat conftest.err >&5
36003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36004 (exit $ac_status); } && {
36005 test -z "$ac_c_werror_flag" ||
36006 test ! -s conftest.err
36007 } && test -s conftest$ac_exeext &&
36008 $as_test_x conftest$ac_exeext; then
36009 eval wx_cv_func_$wx_func=yes
36010 else
36011 echo "$as_me: failed program was:" >&5
36012 sed 's/^/| /' conftest.$ac_ext >&5
36013
36014 eval wx_cv_func_$wx_func=no
36015 fi
36016
36017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36018 conftest$ac_exeext conftest.$ac_ext
36019
36020 fi
36021 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36022 { echo "$as_me:$LINENO: result: $ac_res" >&5
36023 echo "${ECHO_T}$ac_res" >&6; }
36024
36025 if eval test \$wx_cv_func_$wx_func = yes
36026 then
36027 cat >>confdefs.h <<_ACEOF
36028 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36029 _ACEOF
36030
36031
36032 else
36033 :
36034
36035 fi
36036 done
36037
36038 fi
36039
36040 ac_ext=cpp
36041 ac_cpp='$CXXCPP $CPPFLAGS'
36042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36045
36046
36047 for wx_func in round
36048 do
36049 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36050 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36051 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36052 echo $ECHO_N "(cached) $ECHO_C" >&6
36053 else
36054
36055 cat >conftest.$ac_ext <<_ACEOF
36056
36057 /* confdefs.h. */
36058 _ACEOF
36059 cat confdefs.h >>conftest.$ac_ext
36060 cat >>conftest.$ac_ext <<_ACEOF
36061 /* end confdefs.h. */
36062
36063 #include <math.h>
36064 $ac_includes_default
36065
36066 int
36067 main ()
36068 {
36069
36070 #ifndef $wx_func
36071 &$wx_func;
36072 #endif
36073
36074
36075 ;
36076 return 0;
36077 }
36078
36079 _ACEOF
36080 rm -f conftest.$ac_objext conftest$ac_exeext
36081 if { (ac_try="$ac_link"
36082 case "(($ac_try" in
36083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36084 *) ac_try_echo=$ac_try;;
36085 esac
36086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36087 (eval "$ac_link") 2>conftest.er1
36088 ac_status=$?
36089 grep -v '^ *+' conftest.er1 >conftest.err
36090 rm -f conftest.er1
36091 cat conftest.err >&5
36092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36093 (exit $ac_status); } && {
36094 test -z "$ac_cxx_werror_flag" ||
36095 test ! -s conftest.err
36096 } && test -s conftest$ac_exeext &&
36097 $as_test_x conftest$ac_exeext; then
36098 eval wx_cv_func_$wx_func=yes
36099 else
36100 echo "$as_me: failed program was:" >&5
36101 sed 's/^/| /' conftest.$ac_ext >&5
36102
36103 eval wx_cv_func_$wx_func=no
36104 fi
36105
36106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36107 conftest$ac_exeext conftest.$ac_ext
36108
36109 fi
36110 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36111 { echo "$as_me:$LINENO: result: $ac_res" >&5
36112 echo "${ECHO_T}$ac_res" >&6; }
36113
36114 if eval test \$wx_cv_func_$wx_func = yes
36115 then
36116 cat >>confdefs.h <<_ACEOF
36117 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36118 _ACEOF
36119
36120
36121 else
36122 :
36123
36124 fi
36125 done
36126
36127 ac_ext=c
36128 ac_cpp='$CPP $CPPFLAGS'
36129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36132
36133
36134 if test "$TOOLKIT" != "MSW"; then
36135
36136 if test "$wxUSE_LIBICONV" != "no" ; then
36137
36138
36139
36140 # Check whether --with-libiconv-prefix was given.
36141 if test "${with_libiconv_prefix+set}" = set; then
36142 withval=$with_libiconv_prefix;
36143 for dir in `echo "$withval" | tr : ' '`; do
36144 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36145 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36146 done
36147
36148 fi
36149
36150
36151 { echo "$as_me:$LINENO: checking for iconv" >&5
36152 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36153 if test "${am_cv_func_iconv+set}" = set; then
36154 echo $ECHO_N "(cached) $ECHO_C" >&6
36155 else
36156
36157 am_cv_func_iconv="no, consider installing GNU libiconv"
36158 am_cv_lib_iconv=no
36159 cat >conftest.$ac_ext <<_ACEOF
36160 /* confdefs.h. */
36161 _ACEOF
36162 cat confdefs.h >>conftest.$ac_ext
36163 cat >>conftest.$ac_ext <<_ACEOF
36164 /* end confdefs.h. */
36165 #include <stdlib.h>
36166 #include <iconv.h>
36167 int
36168 main ()
36169 {
36170 iconv_t cd = iconv_open("","");
36171 iconv(cd,NULL,NULL,NULL,NULL);
36172 iconv_close(cd);
36173 ;
36174 return 0;
36175 }
36176 _ACEOF
36177 rm -f conftest.$ac_objext conftest$ac_exeext
36178 if { (ac_try="$ac_link"
36179 case "(($ac_try" in
36180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36181 *) ac_try_echo=$ac_try;;
36182 esac
36183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36184 (eval "$ac_link") 2>conftest.er1
36185 ac_status=$?
36186 grep -v '^ *+' conftest.er1 >conftest.err
36187 rm -f conftest.er1
36188 cat conftest.err >&5
36189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36190 (exit $ac_status); } && {
36191 test -z "$ac_c_werror_flag" ||
36192 test ! -s conftest.err
36193 } && test -s conftest$ac_exeext &&
36194 $as_test_x conftest$ac_exeext; then
36195 am_cv_func_iconv=yes
36196 else
36197 echo "$as_me: failed program was:" >&5
36198 sed 's/^/| /' conftest.$ac_ext >&5
36199
36200
36201 fi
36202
36203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36204 conftest$ac_exeext conftest.$ac_ext
36205 if test "$am_cv_func_iconv" != yes; then
36206 am_save_LIBS="$LIBS"
36207 LIBS="$LIBS -liconv"
36208 cat >conftest.$ac_ext <<_ACEOF
36209 /* confdefs.h. */
36210 _ACEOF
36211 cat confdefs.h >>conftest.$ac_ext
36212 cat >>conftest.$ac_ext <<_ACEOF
36213 /* end confdefs.h. */
36214 #include <stdlib.h>
36215 #include <iconv.h>
36216 int
36217 main ()
36218 {
36219 iconv_t cd = iconv_open("","");
36220 iconv(cd,NULL,NULL,NULL,NULL);
36221 iconv_close(cd);
36222 ;
36223 return 0;
36224 }
36225 _ACEOF
36226 rm -f conftest.$ac_objext conftest$ac_exeext
36227 if { (ac_try="$ac_link"
36228 case "(($ac_try" in
36229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36230 *) ac_try_echo=$ac_try;;
36231 esac
36232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36233 (eval "$ac_link") 2>conftest.er1
36234 ac_status=$?
36235 grep -v '^ *+' conftest.er1 >conftest.err
36236 rm -f conftest.er1
36237 cat conftest.err >&5
36238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36239 (exit $ac_status); } && {
36240 test -z "$ac_c_werror_flag" ||
36241 test ! -s conftest.err
36242 } && test -s conftest$ac_exeext &&
36243 $as_test_x conftest$ac_exeext; then
36244 am_cv_lib_iconv=yes
36245 am_cv_func_iconv=yes
36246 else
36247 echo "$as_me: failed program was:" >&5
36248 sed 's/^/| /' conftest.$ac_ext >&5
36249
36250
36251 fi
36252
36253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36254 conftest$ac_exeext conftest.$ac_ext
36255 LIBS="$am_save_LIBS"
36256 fi
36257
36258 fi
36259 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36260 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36261 if test "$am_cv_func_iconv" = yes; then
36262
36263 cat >>confdefs.h <<\_ACEOF
36264 #define HAVE_ICONV 1
36265 _ACEOF
36266
36267 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36268 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36269 if test "${wx_cv_func_iconv_const+set}" = set; then
36270 echo $ECHO_N "(cached) $ECHO_C" >&6
36271 else
36272 cat >conftest.$ac_ext <<_ACEOF
36273 /* confdefs.h. */
36274 _ACEOF
36275 cat confdefs.h >>conftest.$ac_ext
36276 cat >>conftest.$ac_ext <<_ACEOF
36277 /* end confdefs.h. */
36278
36279 #include <stdlib.h>
36280 #include <iconv.h>
36281 extern
36282 #ifdef __cplusplus
36283 "C"
36284 #endif
36285 #if defined(__STDC__) || defined(__cplusplus)
36286 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36287 #else
36288 size_t iconv();
36289 #endif
36290
36291 int
36292 main ()
36293 {
36294
36295 ;
36296 return 0;
36297 }
36298 _ACEOF
36299 rm -f conftest.$ac_objext
36300 if { (ac_try="$ac_compile"
36301 case "(($ac_try" in
36302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36303 *) ac_try_echo=$ac_try;;
36304 esac
36305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36306 (eval "$ac_compile") 2>conftest.er1
36307 ac_status=$?
36308 grep -v '^ *+' conftest.er1 >conftest.err
36309 rm -f conftest.er1
36310 cat conftest.err >&5
36311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36312 (exit $ac_status); } && {
36313 test -z "$ac_c_werror_flag" ||
36314 test ! -s conftest.err
36315 } && test -s conftest.$ac_objext; then
36316 wx_cv_func_iconv_const="no"
36317 else
36318 echo "$as_me: failed program was:" >&5
36319 sed 's/^/| /' conftest.$ac_ext >&5
36320
36321 wx_cv_func_iconv_const="yes"
36322
36323 fi
36324
36325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36326
36327 fi
36328 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36329 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36330
36331 iconv_const=
36332 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36333 iconv_const="const"
36334 fi
36335
36336
36337 cat >>confdefs.h <<_ACEOF
36338 #define ICONV_CONST $iconv_const
36339 _ACEOF
36340
36341 fi
36342 LIBICONV=
36343 if test "$am_cv_lib_iconv" = yes; then
36344 LIBICONV="-liconv"
36345 fi
36346
36347
36348 LIBS="$LIBICONV $LIBS"
36349 fi
36350
36351 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36352
36353 for ac_func in sigaction
36354 do
36355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36356 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36358 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36359 echo $ECHO_N "(cached) $ECHO_C" >&6
36360 else
36361 cat >conftest.$ac_ext <<_ACEOF
36362 /* confdefs.h. */
36363 _ACEOF
36364 cat confdefs.h >>conftest.$ac_ext
36365 cat >>conftest.$ac_ext <<_ACEOF
36366 /* end confdefs.h. */
36367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36369 #define $ac_func innocuous_$ac_func
36370
36371 /* System header to define __stub macros and hopefully few prototypes,
36372 which can conflict with char $ac_func (); below.
36373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36374 <limits.h> exists even on freestanding compilers. */
36375
36376 #ifdef __STDC__
36377 # include <limits.h>
36378 #else
36379 # include <assert.h>
36380 #endif
36381
36382 #undef $ac_func
36383
36384 /* Override any GCC internal prototype to avoid an error.
36385 Use char because int might match the return type of a GCC
36386 builtin and then its argument prototype would still apply. */
36387 #ifdef __cplusplus
36388 extern "C"
36389 #endif
36390 char $ac_func ();
36391 /* The GNU C library defines this for functions which it implements
36392 to always fail with ENOSYS. Some functions are actually named
36393 something starting with __ and the normal name is an alias. */
36394 #if defined __stub_$ac_func || defined __stub___$ac_func
36395 choke me
36396 #endif
36397
36398 int
36399 main ()
36400 {
36401 return $ac_func ();
36402 ;
36403 return 0;
36404 }
36405 _ACEOF
36406 rm -f conftest.$ac_objext conftest$ac_exeext
36407 if { (ac_try="$ac_link"
36408 case "(($ac_try" in
36409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36410 *) ac_try_echo=$ac_try;;
36411 esac
36412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36413 (eval "$ac_link") 2>conftest.er1
36414 ac_status=$?
36415 grep -v '^ *+' conftest.er1 >conftest.err
36416 rm -f conftest.er1
36417 cat conftest.err >&5
36418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36419 (exit $ac_status); } && {
36420 test -z "$ac_c_werror_flag" ||
36421 test ! -s conftest.err
36422 } && test -s conftest$ac_exeext &&
36423 $as_test_x conftest$ac_exeext; then
36424 eval "$as_ac_var=yes"
36425 else
36426 echo "$as_me: failed program was:" >&5
36427 sed 's/^/| /' conftest.$ac_ext >&5
36428
36429 eval "$as_ac_var=no"
36430 fi
36431
36432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36433 conftest$ac_exeext conftest.$ac_ext
36434 fi
36435 ac_res=`eval echo '${'$as_ac_var'}'`
36436 { echo "$as_me:$LINENO: result: $ac_res" >&5
36437 echo "${ECHO_T}$ac_res" >&6; }
36438 if test `eval echo '${'$as_ac_var'}'` = yes; then
36439 cat >>confdefs.h <<_ACEOF
36440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36441 _ACEOF
36442
36443 fi
36444 done
36445
36446
36447 if test "$ac_cv_func_sigaction" = "no"; then
36448 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36449 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36450 wxUSE_ON_FATAL_EXCEPTION=no
36451 fi
36452
36453 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36454 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36455 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36456 if test "${wx_cv_type_sa_handler+set}" = set; then
36457 echo $ECHO_N "(cached) $ECHO_C" >&6
36458 else
36459
36460 ac_ext=cpp
36461 ac_cpp='$CXXCPP $CPPFLAGS'
36462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36465
36466 cat >conftest.$ac_ext <<_ACEOF
36467 /* confdefs.h. */
36468 _ACEOF
36469 cat confdefs.h >>conftest.$ac_ext
36470 cat >>conftest.$ac_ext <<_ACEOF
36471 /* end confdefs.h. */
36472 #include <signal.h>
36473 int
36474 main ()
36475 {
36476
36477 extern void testSigHandler(int);
36478
36479 struct sigaction sa;
36480 sa.sa_handler = testSigHandler;
36481
36482 ;
36483 return 0;
36484 }
36485 _ACEOF
36486 rm -f conftest.$ac_objext
36487 if { (ac_try="$ac_compile"
36488 case "(($ac_try" in
36489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36490 *) ac_try_echo=$ac_try;;
36491 esac
36492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36493 (eval "$ac_compile") 2>conftest.er1
36494 ac_status=$?
36495 grep -v '^ *+' conftest.er1 >conftest.err
36496 rm -f conftest.er1
36497 cat conftest.err >&5
36498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36499 (exit $ac_status); } && {
36500 test -z "$ac_cxx_werror_flag" ||
36501 test ! -s conftest.err
36502 } && test -s conftest.$ac_objext; then
36503
36504 wx_cv_type_sa_handler=int
36505
36506 else
36507 echo "$as_me: failed program was:" >&5
36508 sed 's/^/| /' conftest.$ac_ext >&5
36509
36510
36511 wx_cv_type_sa_handler=void
36512
36513 fi
36514
36515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36516 ac_ext=c
36517 ac_cpp='$CPP $CPPFLAGS'
36518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36521
36522
36523 fi
36524 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36525 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36526
36527 cat >>confdefs.h <<_ACEOF
36528 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36529 _ACEOF
36530
36531 fi
36532 fi
36533
36534 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36535 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36536 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36537 if test "${wx_cv_func_backtrace+set}" = set; then
36538 echo $ECHO_N "(cached) $ECHO_C" >&6
36539 else
36540
36541 ac_ext=cpp
36542 ac_cpp='$CXXCPP $CPPFLAGS'
36543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36546
36547 cat >conftest.$ac_ext <<_ACEOF
36548 /* confdefs.h. */
36549 _ACEOF
36550 cat confdefs.h >>conftest.$ac_ext
36551 cat >>conftest.$ac_ext <<_ACEOF
36552 /* end confdefs.h. */
36553 #include <execinfo.h>
36554 int
36555 main ()
36556 {
36557
36558 void *trace[1];
36559 char **messages;
36560
36561 backtrace(trace, 1);
36562 messages = backtrace_symbols(trace, 1);
36563
36564 ;
36565 return 0;
36566 }
36567 _ACEOF
36568 rm -f conftest.$ac_objext
36569 if { (ac_try="$ac_compile"
36570 case "(($ac_try" in
36571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36572 *) ac_try_echo=$ac_try;;
36573 esac
36574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36575 (eval "$ac_compile") 2>conftest.er1
36576 ac_status=$?
36577 grep -v '^ *+' conftest.er1 >conftest.err
36578 rm -f conftest.er1
36579 cat conftest.err >&5
36580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36581 (exit $ac_status); } && {
36582 test -z "$ac_cxx_werror_flag" ||
36583 test ! -s conftest.err
36584 } && test -s conftest.$ac_objext; then
36585 wx_cv_func_backtrace=yes
36586 else
36587 echo "$as_me: failed program was:" >&5
36588 sed 's/^/| /' conftest.$ac_ext >&5
36589
36590 wx_cv_func_backtrace=no
36591
36592 fi
36593
36594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36595 ac_ext=c
36596 ac_cpp='$CPP $CPPFLAGS'
36597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36600
36601
36602
36603 fi
36604 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36605 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36606
36607
36608 if test "$wx_cv_func_backtrace" = "no"; then
36609 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36610 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36611 wxUSE_STACKWALKER=no
36612 else
36613 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36614 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36615 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36616 echo $ECHO_N "(cached) $ECHO_C" >&6
36617 else
36618
36619 ac_ext=cpp
36620 ac_cpp='$CXXCPP $CPPFLAGS'
36621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36624
36625 cat >conftest.$ac_ext <<_ACEOF
36626 /* confdefs.h. */
36627 _ACEOF
36628 cat confdefs.h >>conftest.$ac_ext
36629 cat >>conftest.$ac_ext <<_ACEOF
36630 /* end confdefs.h. */
36631 #include <cxxabi.h>
36632 int
36633 main ()
36634 {
36635
36636 int rc;
36637 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36638
36639 ;
36640 return 0;
36641 }
36642 _ACEOF
36643 rm -f conftest.$ac_objext conftest$ac_exeext
36644 if { (ac_try="$ac_link"
36645 case "(($ac_try" in
36646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36647 *) ac_try_echo=$ac_try;;
36648 esac
36649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36650 (eval "$ac_link") 2>conftest.er1
36651 ac_status=$?
36652 grep -v '^ *+' conftest.er1 >conftest.err
36653 rm -f conftest.er1
36654 cat conftest.err >&5
36655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36656 (exit $ac_status); } && {
36657 test -z "$ac_cxx_werror_flag" ||
36658 test ! -s conftest.err
36659 } && test -s conftest$ac_exeext &&
36660 $as_test_x conftest$ac_exeext; then
36661 wx_cv_func_cxa_demangle=yes
36662 else
36663 echo "$as_me: failed program was:" >&5
36664 sed 's/^/| /' conftest.$ac_ext >&5
36665
36666 wx_cv_func_cxa_demangle=no
36667
36668 fi
36669
36670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36671 conftest$ac_exeext conftest.$ac_ext
36672 ac_ext=c
36673 ac_cpp='$CPP $CPPFLAGS'
36674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36677
36678
36679
36680 fi
36681 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36682 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36683
36684 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36685 cat >>confdefs.h <<\_ACEOF
36686 #define HAVE_CXA_DEMANGLE 1
36687 _ACEOF
36688
36689 fi
36690 fi
36691 fi
36692
36693 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36694 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36695 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36696 wxUSE_STACKWALKER=no
36697 fi
36698
36699
36700
36701
36702 for ac_func in mkstemp mktemp
36703 do
36704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36705 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36707 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36708 echo $ECHO_N "(cached) $ECHO_C" >&6
36709 else
36710 cat >conftest.$ac_ext <<_ACEOF
36711 /* confdefs.h. */
36712 _ACEOF
36713 cat confdefs.h >>conftest.$ac_ext
36714 cat >>conftest.$ac_ext <<_ACEOF
36715 /* end confdefs.h. */
36716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36718 #define $ac_func innocuous_$ac_func
36719
36720 /* System header to define __stub macros and hopefully few prototypes,
36721 which can conflict with char $ac_func (); below.
36722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36723 <limits.h> exists even on freestanding compilers. */
36724
36725 #ifdef __STDC__
36726 # include <limits.h>
36727 #else
36728 # include <assert.h>
36729 #endif
36730
36731 #undef $ac_func
36732
36733 /* Override any GCC internal prototype to avoid an error.
36734 Use char because int might match the return type of a GCC
36735 builtin and then its argument prototype would still apply. */
36736 #ifdef __cplusplus
36737 extern "C"
36738 #endif
36739 char $ac_func ();
36740 /* The GNU C library defines this for functions which it implements
36741 to always fail with ENOSYS. Some functions are actually named
36742 something starting with __ and the normal name is an alias. */
36743 #if defined __stub_$ac_func || defined __stub___$ac_func
36744 choke me
36745 #endif
36746
36747 int
36748 main ()
36749 {
36750 return $ac_func ();
36751 ;
36752 return 0;
36753 }
36754 _ACEOF
36755 rm -f conftest.$ac_objext conftest$ac_exeext
36756 if { (ac_try="$ac_link"
36757 case "(($ac_try" in
36758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36759 *) ac_try_echo=$ac_try;;
36760 esac
36761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36762 (eval "$ac_link") 2>conftest.er1
36763 ac_status=$?
36764 grep -v '^ *+' conftest.er1 >conftest.err
36765 rm -f conftest.er1
36766 cat conftest.err >&5
36767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36768 (exit $ac_status); } && {
36769 test -z "$ac_c_werror_flag" ||
36770 test ! -s conftest.err
36771 } && test -s conftest$ac_exeext &&
36772 $as_test_x conftest$ac_exeext; then
36773 eval "$as_ac_var=yes"
36774 else
36775 echo "$as_me: failed program was:" >&5
36776 sed 's/^/| /' conftest.$ac_ext >&5
36777
36778 eval "$as_ac_var=no"
36779 fi
36780
36781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36782 conftest$ac_exeext conftest.$ac_ext
36783 fi
36784 ac_res=`eval echo '${'$as_ac_var'}'`
36785 { echo "$as_me:$LINENO: result: $ac_res" >&5
36786 echo "${ECHO_T}$ac_res" >&6; }
36787 if test `eval echo '${'$as_ac_var'}'` = yes; then
36788 cat >>confdefs.h <<_ACEOF
36789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36790 _ACEOF
36791 break
36792 fi
36793 done
36794
36795
36796 { echo "$as_me:$LINENO: checking for statfs" >&5
36797 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36798 if test "${wx_cv_func_statfs+set}" = set; then
36799 echo $ECHO_N "(cached) $ECHO_C" >&6
36800 else
36801 cat >conftest.$ac_ext <<_ACEOF
36802 /* confdefs.h. */
36803 _ACEOF
36804 cat confdefs.h >>conftest.$ac_ext
36805 cat >>conftest.$ac_ext <<_ACEOF
36806 /* end confdefs.h. */
36807
36808 #if defined(__BSD__)
36809 #include <sys/param.h>
36810 #include <sys/mount.h>
36811 #else
36812 #include <sys/vfs.h>
36813 #endif
36814
36815 int
36816 main ()
36817 {
36818
36819 long l;
36820 struct statfs fs;
36821 statfs("/", &fs);
36822 l = fs.f_bsize;
36823 l += fs.f_blocks;
36824 l += fs.f_bavail;
36825
36826 ;
36827 return 0;
36828 }
36829 _ACEOF
36830 rm -f conftest.$ac_objext
36831 if { (ac_try="$ac_compile"
36832 case "(($ac_try" in
36833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36834 *) ac_try_echo=$ac_try;;
36835 esac
36836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36837 (eval "$ac_compile") 2>conftest.er1
36838 ac_status=$?
36839 grep -v '^ *+' conftest.er1 >conftest.err
36840 rm -f conftest.er1
36841 cat conftest.err >&5
36842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36843 (exit $ac_status); } && {
36844 test -z "$ac_c_werror_flag" ||
36845 test ! -s conftest.err
36846 } && test -s conftest.$ac_objext; then
36847 wx_cv_func_statfs=yes
36848 else
36849 echo "$as_me: failed program was:" >&5
36850 sed 's/^/| /' conftest.$ac_ext >&5
36851
36852 wx_cv_func_statfs=no
36853
36854 fi
36855
36856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36857
36858 fi
36859 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36860 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36861
36862 if test "$wx_cv_func_statfs" = "yes"; then
36863 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36864 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36865 if test "${wx_cv_func_statfs_decl+set}" = set; then
36866 echo $ECHO_N "(cached) $ECHO_C" >&6
36867 else
36868 ac_ext=cpp
36869 ac_cpp='$CXXCPP $CPPFLAGS'
36870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36873
36874 cat >conftest.$ac_ext <<_ACEOF
36875 /* confdefs.h. */
36876 _ACEOF
36877 cat confdefs.h >>conftest.$ac_ext
36878 cat >>conftest.$ac_ext <<_ACEOF
36879 /* end confdefs.h. */
36880
36881 #if defined(__BSD__)
36882 #include <sys/param.h>
36883 #include <sys/mount.h>
36884 #else
36885 #include <sys/vfs.h>
36886 #endif
36887
36888 int
36889 main ()
36890 {
36891
36892 struct statfs fs;
36893 statfs("", &fs);
36894
36895 ;
36896 return 0;
36897 }
36898 _ACEOF
36899 rm -f conftest.$ac_objext
36900 if { (ac_try="$ac_compile"
36901 case "(($ac_try" in
36902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36903 *) ac_try_echo=$ac_try;;
36904 esac
36905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36906 (eval "$ac_compile") 2>conftest.er1
36907 ac_status=$?
36908 grep -v '^ *+' conftest.er1 >conftest.err
36909 rm -f conftest.er1
36910 cat conftest.err >&5
36911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36912 (exit $ac_status); } && {
36913 test -z "$ac_cxx_werror_flag" ||
36914 test ! -s conftest.err
36915 } && test -s conftest.$ac_objext; then
36916 wx_cv_func_statfs_decl=yes
36917 else
36918 echo "$as_me: failed program was:" >&5
36919 sed 's/^/| /' conftest.$ac_ext >&5
36920
36921 wx_cv_func_statfs_decl=no
36922
36923 fi
36924
36925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36926 ac_ext=c
36927 ac_cpp='$CPP $CPPFLAGS'
36928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36931
36932
36933 fi
36934 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36935 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36936
36937 if test "$wx_cv_func_statfs_decl" = "yes"; then
36938 cat >>confdefs.h <<\_ACEOF
36939 #define HAVE_STATFS_DECL 1
36940 _ACEOF
36941
36942 fi
36943
36944 wx_cv_type_statvfs_t="struct statfs"
36945 cat >>confdefs.h <<\_ACEOF
36946 #define HAVE_STATFS 1
36947 _ACEOF
36948
36949 else
36950 { echo "$as_me:$LINENO: checking for statvfs" >&5
36951 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36952 if test "${wx_cv_func_statvfs+set}" = set; then
36953 echo $ECHO_N "(cached) $ECHO_C" >&6
36954 else
36955 cat >conftest.$ac_ext <<_ACEOF
36956 /* confdefs.h. */
36957 _ACEOF
36958 cat confdefs.h >>conftest.$ac_ext
36959 cat >>conftest.$ac_ext <<_ACEOF
36960 /* end confdefs.h. */
36961
36962 #include <stddef.h>
36963 #include <sys/statvfs.h>
36964
36965 int
36966 main ()
36967 {
36968
36969 statvfs("/", NULL);
36970
36971 ;
36972 return 0;
36973 }
36974 _ACEOF
36975 rm -f conftest.$ac_objext
36976 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
36992 wx_cv_func_statvfs=yes
36993 else
36994 echo "$as_me: failed program was:" >&5
36995 sed 's/^/| /' conftest.$ac_ext >&5
36996
36997 wx_cv_func_statvfs=no
36998
36999 fi
37000
37001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37002
37003 fi
37004 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37005 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37006
37007 if test "$wx_cv_func_statvfs" = "yes"; then
37008 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37009 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37010 if test "${wx_cv_type_statvfs_t+set}" = set; then
37011 echo $ECHO_N "(cached) $ECHO_C" >&6
37012 else
37013 ac_ext=cpp
37014 ac_cpp='$CXXCPP $CPPFLAGS'
37015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37018
37019 cat >conftest.$ac_ext <<_ACEOF
37020 /* confdefs.h. */
37021 _ACEOF
37022 cat confdefs.h >>conftest.$ac_ext
37023 cat >>conftest.$ac_ext <<_ACEOF
37024 /* end confdefs.h. */
37025
37026 #include <sys/statvfs.h>
37027
37028 int
37029 main ()
37030 {
37031
37032 long l;
37033 statvfs_t fs;
37034 statvfs("/", &fs);
37035 l = fs.f_bsize;
37036 l += fs.f_blocks;
37037 l += fs.f_bavail;
37038
37039 ;
37040 return 0;
37041 }
37042 _ACEOF
37043 rm -f conftest.$ac_objext
37044 if { (ac_try="$ac_compile"
37045 case "(($ac_try" in
37046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37047 *) ac_try_echo=$ac_try;;
37048 esac
37049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37050 (eval "$ac_compile") 2>conftest.er1
37051 ac_status=$?
37052 grep -v '^ *+' conftest.er1 >conftest.err
37053 rm -f conftest.er1
37054 cat conftest.err >&5
37055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37056 (exit $ac_status); } && {
37057 test -z "$ac_cxx_werror_flag" ||
37058 test ! -s conftest.err
37059 } && test -s conftest.$ac_objext; then
37060 wx_cv_type_statvfs_t=statvfs_t
37061 else
37062 echo "$as_me: failed program was:" >&5
37063 sed 's/^/| /' conftest.$ac_ext >&5
37064
37065
37066 cat >conftest.$ac_ext <<_ACEOF
37067 /* confdefs.h. */
37068 _ACEOF
37069 cat confdefs.h >>conftest.$ac_ext
37070 cat >>conftest.$ac_ext <<_ACEOF
37071 /* end confdefs.h. */
37072
37073 #include <sys/statvfs.h>
37074
37075 int
37076 main ()
37077 {
37078
37079 long l;
37080 struct statvfs fs;
37081 statvfs("/", &fs);
37082 l = fs.f_bsize;
37083 l += fs.f_blocks;
37084 l += fs.f_bavail;
37085
37086 ;
37087 return 0;
37088 }
37089 _ACEOF
37090 rm -f conftest.$ac_objext
37091 if { (ac_try="$ac_compile"
37092 case "(($ac_try" in
37093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37094 *) ac_try_echo=$ac_try;;
37095 esac
37096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37097 (eval "$ac_compile") 2>conftest.er1
37098 ac_status=$?
37099 grep -v '^ *+' conftest.er1 >conftest.err
37100 rm -f conftest.er1
37101 cat conftest.err >&5
37102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37103 (exit $ac_status); } && {
37104 test -z "$ac_cxx_werror_flag" ||
37105 test ! -s conftest.err
37106 } && test -s conftest.$ac_objext; then
37107 wx_cv_type_statvfs_t="struct statvfs"
37108 else
37109 echo "$as_me: failed program was:" >&5
37110 sed 's/^/| /' conftest.$ac_ext >&5
37111
37112 wx_cv_type_statvfs_t="unknown"
37113
37114 fi
37115
37116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37117
37118
37119 fi
37120
37121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37122 ac_ext=c
37123 ac_cpp='$CPP $CPPFLAGS'
37124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37127
37128
37129 fi
37130 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37131 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37132
37133 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37134 cat >>confdefs.h <<\_ACEOF
37135 #define HAVE_STATVFS 1
37136 _ACEOF
37137
37138 fi
37139 else
37140 wx_cv_type_statvfs_t="unknown"
37141 fi
37142 fi
37143
37144 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37145 cat >>confdefs.h <<_ACEOF
37146 #define WX_STATFS_T $wx_cv_type_statvfs_t
37147 _ACEOF
37148
37149 else
37150 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37151 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37152 fi
37153
37154 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37155
37156
37157 for ac_func in fcntl flock
37158 do
37159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37160 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37162 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37163 echo $ECHO_N "(cached) $ECHO_C" >&6
37164 else
37165 cat >conftest.$ac_ext <<_ACEOF
37166 /* confdefs.h. */
37167 _ACEOF
37168 cat confdefs.h >>conftest.$ac_ext
37169 cat >>conftest.$ac_ext <<_ACEOF
37170 /* end confdefs.h. */
37171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37173 #define $ac_func innocuous_$ac_func
37174
37175 /* System header to define __stub macros and hopefully few prototypes,
37176 which can conflict with char $ac_func (); below.
37177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37178 <limits.h> exists even on freestanding compilers. */
37179
37180 #ifdef __STDC__
37181 # include <limits.h>
37182 #else
37183 # include <assert.h>
37184 #endif
37185
37186 #undef $ac_func
37187
37188 /* Override any GCC internal prototype to avoid an error.
37189 Use char because int might match the return type of a GCC
37190 builtin and then its argument prototype would still apply. */
37191 #ifdef __cplusplus
37192 extern "C"
37193 #endif
37194 char $ac_func ();
37195 /* The GNU C library defines this for functions which it implements
37196 to always fail with ENOSYS. Some functions are actually named
37197 something starting with __ and the normal name is an alias. */
37198 #if defined __stub_$ac_func || defined __stub___$ac_func
37199 choke me
37200 #endif
37201
37202 int
37203 main ()
37204 {
37205 return $ac_func ();
37206 ;
37207 return 0;
37208 }
37209 _ACEOF
37210 rm -f conftest.$ac_objext conftest$ac_exeext
37211 if { (ac_try="$ac_link"
37212 case "(($ac_try" in
37213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37214 *) ac_try_echo=$ac_try;;
37215 esac
37216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37217 (eval "$ac_link") 2>conftest.er1
37218 ac_status=$?
37219 grep -v '^ *+' conftest.er1 >conftest.err
37220 rm -f conftest.er1
37221 cat conftest.err >&5
37222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37223 (exit $ac_status); } && {
37224 test -z "$ac_c_werror_flag" ||
37225 test ! -s conftest.err
37226 } && test -s conftest$ac_exeext &&
37227 $as_test_x conftest$ac_exeext; then
37228 eval "$as_ac_var=yes"
37229 else
37230 echo "$as_me: failed program was:" >&5
37231 sed 's/^/| /' conftest.$ac_ext >&5
37232
37233 eval "$as_ac_var=no"
37234 fi
37235
37236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37237 conftest$ac_exeext conftest.$ac_ext
37238 fi
37239 ac_res=`eval echo '${'$as_ac_var'}'`
37240 { echo "$as_me:$LINENO: result: $ac_res" >&5
37241 echo "${ECHO_T}$ac_res" >&6; }
37242 if test `eval echo '${'$as_ac_var'}'` = yes; then
37243 cat >>confdefs.h <<_ACEOF
37244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37245 _ACEOF
37246 break
37247 fi
37248 done
37249
37250
37251 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37252 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37253 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37254 wxUSE_SNGLINST_CHECKER=no
37255 fi
37256 fi
37257
37258
37259
37260 for ac_func in setenv putenv
37261 do
37262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37263 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37265 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37266 echo $ECHO_N "(cached) $ECHO_C" >&6
37267 else
37268 cat >conftest.$ac_ext <<_ACEOF
37269 /* confdefs.h. */
37270 _ACEOF
37271 cat confdefs.h >>conftest.$ac_ext
37272 cat >>conftest.$ac_ext <<_ACEOF
37273 /* end confdefs.h. */
37274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37276 #define $ac_func innocuous_$ac_func
37277
37278 /* System header to define __stub macros and hopefully few prototypes,
37279 which can conflict with char $ac_func (); below.
37280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37281 <limits.h> exists even on freestanding compilers. */
37282
37283 #ifdef __STDC__
37284 # include <limits.h>
37285 #else
37286 # include <assert.h>
37287 #endif
37288
37289 #undef $ac_func
37290
37291 /* Override any GCC internal prototype to avoid an error.
37292 Use char because int might match the return type of a GCC
37293 builtin and then its argument prototype would still apply. */
37294 #ifdef __cplusplus
37295 extern "C"
37296 #endif
37297 char $ac_func ();
37298 /* The GNU C library defines this for functions which it implements
37299 to always fail with ENOSYS. Some functions are actually named
37300 something starting with __ and the normal name is an alias. */
37301 #if defined __stub_$ac_func || defined __stub___$ac_func
37302 choke me
37303 #endif
37304
37305 int
37306 main ()
37307 {
37308 return $ac_func ();
37309 ;
37310 return 0;
37311 }
37312 _ACEOF
37313 rm -f conftest.$ac_objext conftest$ac_exeext
37314 if { (ac_try="$ac_link"
37315 case "(($ac_try" in
37316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37317 *) ac_try_echo=$ac_try;;
37318 esac
37319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37320 (eval "$ac_link") 2>conftest.er1
37321 ac_status=$?
37322 grep -v '^ *+' conftest.er1 >conftest.err
37323 rm -f conftest.er1
37324 cat conftest.err >&5
37325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37326 (exit $ac_status); } && {
37327 test -z "$ac_c_werror_flag" ||
37328 test ! -s conftest.err
37329 } && test -s conftest$ac_exeext &&
37330 $as_test_x conftest$ac_exeext; then
37331 eval "$as_ac_var=yes"
37332 else
37333 echo "$as_me: failed program was:" >&5
37334 sed 's/^/| /' conftest.$ac_ext >&5
37335
37336 eval "$as_ac_var=no"
37337 fi
37338
37339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37340 conftest$ac_exeext conftest.$ac_ext
37341 fi
37342 ac_res=`eval echo '${'$as_ac_var'}'`
37343 { echo "$as_me:$LINENO: result: $ac_res" >&5
37344 echo "${ECHO_T}$ac_res" >&6; }
37345 if test `eval echo '${'$as_ac_var'}'` = yes; then
37346 cat >>confdefs.h <<_ACEOF
37347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37348 _ACEOF
37349 break
37350 fi
37351 done
37352
37353 if test "$ac_cv_func_setenv" = "yes"; then
37354
37355 for ac_func in unsetenv
37356 do
37357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37358 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37360 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37361 echo $ECHO_N "(cached) $ECHO_C" >&6
37362 else
37363 cat >conftest.$ac_ext <<_ACEOF
37364 /* confdefs.h. */
37365 _ACEOF
37366 cat confdefs.h >>conftest.$ac_ext
37367 cat >>conftest.$ac_ext <<_ACEOF
37368 /* end confdefs.h. */
37369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37371 #define $ac_func innocuous_$ac_func
37372
37373 /* System header to define __stub macros and hopefully few prototypes,
37374 which can conflict with char $ac_func (); below.
37375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37376 <limits.h> exists even on freestanding compilers. */
37377
37378 #ifdef __STDC__
37379 # include <limits.h>
37380 #else
37381 # include <assert.h>
37382 #endif
37383
37384 #undef $ac_func
37385
37386 /* Override any GCC internal prototype to avoid an error.
37387 Use char because int might match the return type of a GCC
37388 builtin and then its argument prototype would still apply. */
37389 #ifdef __cplusplus
37390 extern "C"
37391 #endif
37392 char $ac_func ();
37393 /* The GNU C library defines this for functions which it implements
37394 to always fail with ENOSYS. Some functions are actually named
37395 something starting with __ and the normal name is an alias. */
37396 #if defined __stub_$ac_func || defined __stub___$ac_func
37397 choke me
37398 #endif
37399
37400 int
37401 main ()
37402 {
37403 return $ac_func ();
37404 ;
37405 return 0;
37406 }
37407 _ACEOF
37408 rm -f conftest.$ac_objext conftest$ac_exeext
37409 if { (ac_try="$ac_link"
37410 case "(($ac_try" in
37411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37412 *) ac_try_echo=$ac_try;;
37413 esac
37414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37415 (eval "$ac_link") 2>conftest.er1
37416 ac_status=$?
37417 grep -v '^ *+' conftest.er1 >conftest.err
37418 rm -f conftest.er1
37419 cat conftest.err >&5
37420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37421 (exit $ac_status); } && {
37422 test -z "$ac_c_werror_flag" ||
37423 test ! -s conftest.err
37424 } && test -s conftest$ac_exeext &&
37425 $as_test_x conftest$ac_exeext; then
37426 eval "$as_ac_var=yes"
37427 else
37428 echo "$as_me: failed program was:" >&5
37429 sed 's/^/| /' conftest.$ac_ext >&5
37430
37431 eval "$as_ac_var=no"
37432 fi
37433
37434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37435 conftest$ac_exeext conftest.$ac_ext
37436 fi
37437 ac_res=`eval echo '${'$as_ac_var'}'`
37438 { echo "$as_me:$LINENO: result: $ac_res" >&5
37439 echo "${ECHO_T}$ac_res" >&6; }
37440 if test `eval echo '${'$as_ac_var'}'` = yes; then
37441 cat >>confdefs.h <<_ACEOF
37442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37443 _ACEOF
37444
37445 fi
37446 done
37447
37448 fi
37449
37450 HAVE_SOME_SLEEP_FUNC=0
37451 if test "$USE_BEOS" = 1; then
37452 cat >>confdefs.h <<\_ACEOF
37453 #define HAVE_SLEEP 1
37454 _ACEOF
37455
37456 HAVE_SOME_SLEEP_FUNC=1
37457 fi
37458
37459 if test "$USE_DARWIN" = 1; then
37460 cat >>confdefs.h <<\_ACEOF
37461 #define HAVE_USLEEP 1
37462 _ACEOF
37463
37464 HAVE_SOME_SLEEP_FUNC=1
37465 fi
37466
37467 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37468 POSIX4_LINK=
37469
37470 for ac_func in nanosleep
37471 do
37472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37473 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37475 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37476 echo $ECHO_N "(cached) $ECHO_C" >&6
37477 else
37478 cat >conftest.$ac_ext <<_ACEOF
37479 /* confdefs.h. */
37480 _ACEOF
37481 cat confdefs.h >>conftest.$ac_ext
37482 cat >>conftest.$ac_ext <<_ACEOF
37483 /* end confdefs.h. */
37484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37486 #define $ac_func innocuous_$ac_func
37487
37488 /* System header to define __stub macros and hopefully few prototypes,
37489 which can conflict with char $ac_func (); below.
37490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37491 <limits.h> exists even on freestanding compilers. */
37492
37493 #ifdef __STDC__
37494 # include <limits.h>
37495 #else
37496 # include <assert.h>
37497 #endif
37498
37499 #undef $ac_func
37500
37501 /* Override any GCC internal prototype to avoid an error.
37502 Use char because int might match the return type of a GCC
37503 builtin and then its argument prototype would still apply. */
37504 #ifdef __cplusplus
37505 extern "C"
37506 #endif
37507 char $ac_func ();
37508 /* The GNU C library defines this for functions which it implements
37509 to always fail with ENOSYS. Some functions are actually named
37510 something starting with __ and the normal name is an alias. */
37511 #if defined __stub_$ac_func || defined __stub___$ac_func
37512 choke me
37513 #endif
37514
37515 int
37516 main ()
37517 {
37518 return $ac_func ();
37519 ;
37520 return 0;
37521 }
37522 _ACEOF
37523 rm -f conftest.$ac_objext conftest$ac_exeext
37524 if { (ac_try="$ac_link"
37525 case "(($ac_try" in
37526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37527 *) ac_try_echo=$ac_try;;
37528 esac
37529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37530 (eval "$ac_link") 2>conftest.er1
37531 ac_status=$?
37532 grep -v '^ *+' conftest.er1 >conftest.err
37533 rm -f conftest.er1
37534 cat conftest.err >&5
37535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37536 (exit $ac_status); } && {
37537 test -z "$ac_c_werror_flag" ||
37538 test ! -s conftest.err
37539 } && test -s conftest$ac_exeext &&
37540 $as_test_x conftest$ac_exeext; then
37541 eval "$as_ac_var=yes"
37542 else
37543 echo "$as_me: failed program was:" >&5
37544 sed 's/^/| /' conftest.$ac_ext >&5
37545
37546 eval "$as_ac_var=no"
37547 fi
37548
37549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37550 conftest$ac_exeext conftest.$ac_ext
37551 fi
37552 ac_res=`eval echo '${'$as_ac_var'}'`
37553 { echo "$as_me:$LINENO: result: $ac_res" >&5
37554 echo "${ECHO_T}$ac_res" >&6; }
37555 if test `eval echo '${'$as_ac_var'}'` = yes; then
37556 cat >>confdefs.h <<_ACEOF
37557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37558 _ACEOF
37559 cat >>confdefs.h <<\_ACEOF
37560 #define HAVE_NANOSLEEP 1
37561 _ACEOF
37562
37563 else
37564
37565 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37566 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37567 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37568 echo $ECHO_N "(cached) $ECHO_C" >&6
37569 else
37570 ac_check_lib_save_LIBS=$LIBS
37571 LIBS="-lposix4 $LIBS"
37572 cat >conftest.$ac_ext <<_ACEOF
37573 /* confdefs.h. */
37574 _ACEOF
37575 cat confdefs.h >>conftest.$ac_ext
37576 cat >>conftest.$ac_ext <<_ACEOF
37577 /* end confdefs.h. */
37578
37579 /* Override any GCC internal prototype to avoid an error.
37580 Use char because int might match the return type of a GCC
37581 builtin and then its argument prototype would still apply. */
37582 #ifdef __cplusplus
37583 extern "C"
37584 #endif
37585 char nanosleep ();
37586 int
37587 main ()
37588 {
37589 return nanosleep ();
37590 ;
37591 return 0;
37592 }
37593 _ACEOF
37594 rm -f conftest.$ac_objext conftest$ac_exeext
37595 if { (ac_try="$ac_link"
37596 case "(($ac_try" in
37597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37598 *) ac_try_echo=$ac_try;;
37599 esac
37600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37601 (eval "$ac_link") 2>conftest.er1
37602 ac_status=$?
37603 grep -v '^ *+' conftest.er1 >conftest.err
37604 rm -f conftest.er1
37605 cat conftest.err >&5
37606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37607 (exit $ac_status); } && {
37608 test -z "$ac_c_werror_flag" ||
37609 test ! -s conftest.err
37610 } && test -s conftest$ac_exeext &&
37611 $as_test_x conftest$ac_exeext; then
37612 ac_cv_lib_posix4_nanosleep=yes
37613 else
37614 echo "$as_me: failed program was:" >&5
37615 sed 's/^/| /' conftest.$ac_ext >&5
37616
37617 ac_cv_lib_posix4_nanosleep=no
37618 fi
37619
37620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37621 conftest$ac_exeext conftest.$ac_ext
37622 LIBS=$ac_check_lib_save_LIBS
37623 fi
37624 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37625 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37626 if test $ac_cv_lib_posix4_nanosleep = yes; then
37627
37628 cat >>confdefs.h <<\_ACEOF
37629 #define HAVE_NANOSLEEP 1
37630 _ACEOF
37631
37632 POSIX4_LINK=" -lposix4"
37633
37634 else
37635
37636
37637 for wx_func in usleep
37638 do
37639 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37640 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37641 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37642 echo $ECHO_N "(cached) $ECHO_C" >&6
37643 else
37644
37645 cat >conftest.$ac_ext <<_ACEOF
37646
37647 /* confdefs.h. */
37648 _ACEOF
37649 cat confdefs.h >>conftest.$ac_ext
37650 cat >>conftest.$ac_ext <<_ACEOF
37651 /* end confdefs.h. */
37652
37653
37654 $ac_includes_default
37655
37656 int
37657 main ()
37658 {
37659
37660 #ifndef $wx_func
37661 &$wx_func;
37662 #endif
37663
37664
37665 ;
37666 return 0;
37667 }
37668
37669 _ACEOF
37670 rm -f conftest.$ac_objext conftest$ac_exeext
37671 if { (ac_try="$ac_link"
37672 case "(($ac_try" in
37673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37674 *) ac_try_echo=$ac_try;;
37675 esac
37676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37677 (eval "$ac_link") 2>conftest.er1
37678 ac_status=$?
37679 grep -v '^ *+' conftest.er1 >conftest.err
37680 rm -f conftest.er1
37681 cat conftest.err >&5
37682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37683 (exit $ac_status); } && {
37684 test -z "$ac_c_werror_flag" ||
37685 test ! -s conftest.err
37686 } && test -s conftest$ac_exeext &&
37687 $as_test_x conftest$ac_exeext; then
37688 eval wx_cv_func_$wx_func=yes
37689 else
37690 echo "$as_me: failed program was:" >&5
37691 sed 's/^/| /' conftest.$ac_ext >&5
37692
37693 eval wx_cv_func_$wx_func=no
37694 fi
37695
37696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37697 conftest$ac_exeext conftest.$ac_ext
37698
37699 fi
37700 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37701 { echo "$as_me:$LINENO: result: $ac_res" >&5
37702 echo "${ECHO_T}$ac_res" >&6; }
37703
37704 if eval test \$wx_cv_func_$wx_func = yes
37705 then
37706 cat >>confdefs.h <<_ACEOF
37707 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37708 _ACEOF
37709
37710
37711 else
37712 :
37713 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37714 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37715
37716 fi
37717 done
37718
37719
37720
37721 fi
37722
37723
37724
37725 fi
37726 done
37727
37728 fi
37729
37730
37731 for wx_func in uname
37732 do
37733 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37734 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37735 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37736 echo $ECHO_N "(cached) $ECHO_C" >&6
37737 else
37738
37739 cat >conftest.$ac_ext <<_ACEOF
37740
37741 /* confdefs.h. */
37742 _ACEOF
37743 cat confdefs.h >>conftest.$ac_ext
37744 cat >>conftest.$ac_ext <<_ACEOF
37745 /* end confdefs.h. */
37746
37747 #include <sys/utsname.h>
37748 $ac_includes_default
37749
37750 int
37751 main ()
37752 {
37753
37754 #ifndef $wx_func
37755 &$wx_func;
37756 #endif
37757
37758
37759 ;
37760 return 0;
37761 }
37762
37763 _ACEOF
37764 rm -f conftest.$ac_objext conftest$ac_exeext
37765 if { (ac_try="$ac_link"
37766 case "(($ac_try" in
37767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37768 *) ac_try_echo=$ac_try;;
37769 esac
37770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37771 (eval "$ac_link") 2>conftest.er1
37772 ac_status=$?
37773 grep -v '^ *+' conftest.er1 >conftest.err
37774 rm -f conftest.er1
37775 cat conftest.err >&5
37776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37777 (exit $ac_status); } && {
37778 test -z "$ac_c_werror_flag" ||
37779 test ! -s conftest.err
37780 } && test -s conftest$ac_exeext &&
37781 $as_test_x conftest$ac_exeext; then
37782 eval wx_cv_func_$wx_func=yes
37783 else
37784 echo "$as_me: failed program was:" >&5
37785 sed 's/^/| /' conftest.$ac_ext >&5
37786
37787 eval wx_cv_func_$wx_func=no
37788 fi
37789
37790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37791 conftest$ac_exeext conftest.$ac_ext
37792
37793 fi
37794 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37795 { echo "$as_me:$LINENO: result: $ac_res" >&5
37796 echo "${ECHO_T}$ac_res" >&6; }
37797
37798 if eval test \$wx_cv_func_$wx_func = yes
37799 then
37800 cat >>confdefs.h <<_ACEOF
37801 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37802 _ACEOF
37803
37804
37805 else
37806 :
37807
37808 fi
37809 done
37810
37811 if test "$wx_cv_func_uname" != yes; then
37812
37813 for wx_func in gethostname
37814 do
37815 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37816 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37817 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37818 echo $ECHO_N "(cached) $ECHO_C" >&6
37819 else
37820
37821 cat >conftest.$ac_ext <<_ACEOF
37822
37823 /* confdefs.h. */
37824 _ACEOF
37825 cat confdefs.h >>conftest.$ac_ext
37826 cat >>conftest.$ac_ext <<_ACEOF
37827 /* end confdefs.h. */
37828
37829
37830 $ac_includes_default
37831
37832 int
37833 main ()
37834 {
37835
37836 #ifndef $wx_func
37837 &$wx_func;
37838 #endif
37839
37840
37841 ;
37842 return 0;
37843 }
37844
37845 _ACEOF
37846 rm -f conftest.$ac_objext conftest$ac_exeext
37847 if { (ac_try="$ac_link"
37848 case "(($ac_try" in
37849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37850 *) ac_try_echo=$ac_try;;
37851 esac
37852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37853 (eval "$ac_link") 2>conftest.er1
37854 ac_status=$?
37855 grep -v '^ *+' conftest.er1 >conftest.err
37856 rm -f conftest.er1
37857 cat conftest.err >&5
37858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37859 (exit $ac_status); } && {
37860 test -z "$ac_c_werror_flag" ||
37861 test ! -s conftest.err
37862 } && test -s conftest$ac_exeext &&
37863 $as_test_x conftest$ac_exeext; then
37864 eval wx_cv_func_$wx_func=yes
37865 else
37866 echo "$as_me: failed program was:" >&5
37867 sed 's/^/| /' conftest.$ac_ext >&5
37868
37869 eval wx_cv_func_$wx_func=no
37870 fi
37871
37872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37873 conftest$ac_exeext conftest.$ac_ext
37874
37875 fi
37876 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37877 { echo "$as_me:$LINENO: result: $ac_res" >&5
37878 echo "${ECHO_T}$ac_res" >&6; }
37879
37880 if eval test \$wx_cv_func_$wx_func = yes
37881 then
37882 cat >>confdefs.h <<_ACEOF
37883 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37884 _ACEOF
37885
37886
37887 else
37888 :
37889
37890 fi
37891 done
37892
37893 fi
37894
37895
37896 for wx_func in strtok_r
37897 do
37898 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37899 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37900 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37901 echo $ECHO_N "(cached) $ECHO_C" >&6
37902 else
37903
37904 cat >conftest.$ac_ext <<_ACEOF
37905
37906 /* confdefs.h. */
37907 _ACEOF
37908 cat confdefs.h >>conftest.$ac_ext
37909 cat >>conftest.$ac_ext <<_ACEOF
37910 /* end confdefs.h. */
37911
37912 #define _REENTRANT
37913 $ac_includes_default
37914
37915 int
37916 main ()
37917 {
37918
37919 #ifndef $wx_func
37920 &$wx_func;
37921 #endif
37922
37923
37924 ;
37925 return 0;
37926 }
37927
37928 _ACEOF
37929 rm -f conftest.$ac_objext conftest$ac_exeext
37930 if { (ac_try="$ac_link"
37931 case "(($ac_try" in
37932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37933 *) ac_try_echo=$ac_try;;
37934 esac
37935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37936 (eval "$ac_link") 2>conftest.er1
37937 ac_status=$?
37938 grep -v '^ *+' conftest.er1 >conftest.err
37939 rm -f conftest.er1
37940 cat conftest.err >&5
37941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37942 (exit $ac_status); } && {
37943 test -z "$ac_c_werror_flag" ||
37944 test ! -s conftest.err
37945 } && test -s conftest$ac_exeext &&
37946 $as_test_x conftest$ac_exeext; then
37947 eval wx_cv_func_$wx_func=yes
37948 else
37949 echo "$as_me: failed program was:" >&5
37950 sed 's/^/| /' conftest.$ac_ext >&5
37951
37952 eval wx_cv_func_$wx_func=no
37953 fi
37954
37955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37956 conftest$ac_exeext conftest.$ac_ext
37957
37958 fi
37959 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37960 { echo "$as_me:$LINENO: result: $ac_res" >&5
37961 echo "${ECHO_T}$ac_res" >&6; }
37962
37963 if eval test \$wx_cv_func_$wx_func = yes
37964 then
37965 cat >>confdefs.h <<_ACEOF
37966 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37967 _ACEOF
37968
37969
37970 else
37971 :
37972
37973 fi
37974 done
37975
37976
37977 INET_LINK=
37978
37979 for ac_func in inet_addr
37980 do
37981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37982 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37984 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37985 echo $ECHO_N "(cached) $ECHO_C" >&6
37986 else
37987 cat >conftest.$ac_ext <<_ACEOF
37988 /* confdefs.h. */
37989 _ACEOF
37990 cat confdefs.h >>conftest.$ac_ext
37991 cat >>conftest.$ac_ext <<_ACEOF
37992 /* end confdefs.h. */
37993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37995 #define $ac_func innocuous_$ac_func
37996
37997 /* System header to define __stub macros and hopefully few prototypes,
37998 which can conflict with char $ac_func (); below.
37999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38000 <limits.h> exists even on freestanding compilers. */
38001
38002 #ifdef __STDC__
38003 # include <limits.h>
38004 #else
38005 # include <assert.h>
38006 #endif
38007
38008 #undef $ac_func
38009
38010 /* Override any GCC internal prototype to avoid an error.
38011 Use char because int might match the return type of a GCC
38012 builtin and then its argument prototype would still apply. */
38013 #ifdef __cplusplus
38014 extern "C"
38015 #endif
38016 char $ac_func ();
38017 /* The GNU C library defines this for functions which it implements
38018 to always fail with ENOSYS. Some functions are actually named
38019 something starting with __ and the normal name is an alias. */
38020 #if defined __stub_$ac_func || defined __stub___$ac_func
38021 choke me
38022 #endif
38023
38024 int
38025 main ()
38026 {
38027 return $ac_func ();
38028 ;
38029 return 0;
38030 }
38031 _ACEOF
38032 rm -f conftest.$ac_objext conftest$ac_exeext
38033 if { (ac_try="$ac_link"
38034 case "(($ac_try" in
38035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38036 *) ac_try_echo=$ac_try;;
38037 esac
38038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38039 (eval "$ac_link") 2>conftest.er1
38040 ac_status=$?
38041 grep -v '^ *+' conftest.er1 >conftest.err
38042 rm -f conftest.er1
38043 cat conftest.err >&5
38044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38045 (exit $ac_status); } && {
38046 test -z "$ac_c_werror_flag" ||
38047 test ! -s conftest.err
38048 } && test -s conftest$ac_exeext &&
38049 $as_test_x conftest$ac_exeext; then
38050 eval "$as_ac_var=yes"
38051 else
38052 echo "$as_me: failed program was:" >&5
38053 sed 's/^/| /' conftest.$ac_ext >&5
38054
38055 eval "$as_ac_var=no"
38056 fi
38057
38058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38059 conftest$ac_exeext conftest.$ac_ext
38060 fi
38061 ac_res=`eval echo '${'$as_ac_var'}'`
38062 { echo "$as_me:$LINENO: result: $ac_res" >&5
38063 echo "${ECHO_T}$ac_res" >&6; }
38064 if test `eval echo '${'$as_ac_var'}'` = yes; then
38065 cat >>confdefs.h <<_ACEOF
38066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38067 _ACEOF
38068 cat >>confdefs.h <<\_ACEOF
38069 #define HAVE_INET_ADDR 1
38070 _ACEOF
38071
38072 else
38073
38074 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38075 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38076 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38077 echo $ECHO_N "(cached) $ECHO_C" >&6
38078 else
38079 ac_check_lib_save_LIBS=$LIBS
38080 LIBS="-lnsl $LIBS"
38081 cat >conftest.$ac_ext <<_ACEOF
38082 /* confdefs.h. */
38083 _ACEOF
38084 cat confdefs.h >>conftest.$ac_ext
38085 cat >>conftest.$ac_ext <<_ACEOF
38086 /* end confdefs.h. */
38087
38088 /* Override any GCC internal prototype to avoid an error.
38089 Use char because int might match the return type of a GCC
38090 builtin and then its argument prototype would still apply. */
38091 #ifdef __cplusplus
38092 extern "C"
38093 #endif
38094 char inet_addr ();
38095 int
38096 main ()
38097 {
38098 return inet_addr ();
38099 ;
38100 return 0;
38101 }
38102 _ACEOF
38103 rm -f conftest.$ac_objext conftest$ac_exeext
38104 if { (ac_try="$ac_link"
38105 case "(($ac_try" in
38106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38107 *) ac_try_echo=$ac_try;;
38108 esac
38109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38110 (eval "$ac_link") 2>conftest.er1
38111 ac_status=$?
38112 grep -v '^ *+' conftest.er1 >conftest.err
38113 rm -f conftest.er1
38114 cat conftest.err >&5
38115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38116 (exit $ac_status); } && {
38117 test -z "$ac_c_werror_flag" ||
38118 test ! -s conftest.err
38119 } && test -s conftest$ac_exeext &&
38120 $as_test_x conftest$ac_exeext; then
38121 ac_cv_lib_nsl_inet_addr=yes
38122 else
38123 echo "$as_me: failed program was:" >&5
38124 sed 's/^/| /' conftest.$ac_ext >&5
38125
38126 ac_cv_lib_nsl_inet_addr=no
38127 fi
38128
38129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38130 conftest$ac_exeext conftest.$ac_ext
38131 LIBS=$ac_check_lib_save_LIBS
38132 fi
38133 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38134 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38135 if test $ac_cv_lib_nsl_inet_addr = yes; then
38136 INET_LINK="nsl"
38137 else
38138
38139 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38140 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38141 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38142 echo $ECHO_N "(cached) $ECHO_C" >&6
38143 else
38144 ac_check_lib_save_LIBS=$LIBS
38145 LIBS="-lresolv $LIBS"
38146 cat >conftest.$ac_ext <<_ACEOF
38147 /* confdefs.h. */
38148 _ACEOF
38149 cat confdefs.h >>conftest.$ac_ext
38150 cat >>conftest.$ac_ext <<_ACEOF
38151 /* end confdefs.h. */
38152
38153 /* Override any GCC internal prototype to avoid an error.
38154 Use char because int might match the return type of a GCC
38155 builtin and then its argument prototype would still apply. */
38156 #ifdef __cplusplus
38157 extern "C"
38158 #endif
38159 char inet_addr ();
38160 int
38161 main ()
38162 {
38163 return inet_addr ();
38164 ;
38165 return 0;
38166 }
38167 _ACEOF
38168 rm -f conftest.$ac_objext conftest$ac_exeext
38169 if { (ac_try="$ac_link"
38170 case "(($ac_try" in
38171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38172 *) ac_try_echo=$ac_try;;
38173 esac
38174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38175 (eval "$ac_link") 2>conftest.er1
38176 ac_status=$?
38177 grep -v '^ *+' conftest.er1 >conftest.err
38178 rm -f conftest.er1
38179 cat conftest.err >&5
38180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38181 (exit $ac_status); } && {
38182 test -z "$ac_c_werror_flag" ||
38183 test ! -s conftest.err
38184 } && test -s conftest$ac_exeext &&
38185 $as_test_x conftest$ac_exeext; then
38186 ac_cv_lib_resolv_inet_addr=yes
38187 else
38188 echo "$as_me: failed program was:" >&5
38189 sed 's/^/| /' conftest.$ac_ext >&5
38190
38191 ac_cv_lib_resolv_inet_addr=no
38192 fi
38193
38194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38195 conftest$ac_exeext conftest.$ac_ext
38196 LIBS=$ac_check_lib_save_LIBS
38197 fi
38198 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38199 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38200 if test $ac_cv_lib_resolv_inet_addr = yes; then
38201 INET_LINK="resolv"
38202 else
38203
38204 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38205 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38206 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38207 echo $ECHO_N "(cached) $ECHO_C" >&6
38208 else
38209 ac_check_lib_save_LIBS=$LIBS
38210 LIBS="-lsocket $LIBS"
38211 cat >conftest.$ac_ext <<_ACEOF
38212 /* confdefs.h. */
38213 _ACEOF
38214 cat confdefs.h >>conftest.$ac_ext
38215 cat >>conftest.$ac_ext <<_ACEOF
38216 /* end confdefs.h. */
38217
38218 /* Override any GCC internal prototype to avoid an error.
38219 Use char because int might match the return type of a GCC
38220 builtin and then its argument prototype would still apply. */
38221 #ifdef __cplusplus
38222 extern "C"
38223 #endif
38224 char inet_addr ();
38225 int
38226 main ()
38227 {
38228 return inet_addr ();
38229 ;
38230 return 0;
38231 }
38232 _ACEOF
38233 rm -f conftest.$ac_objext conftest$ac_exeext
38234 if { (ac_try="$ac_link"
38235 case "(($ac_try" in
38236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38237 *) ac_try_echo=$ac_try;;
38238 esac
38239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38240 (eval "$ac_link") 2>conftest.er1
38241 ac_status=$?
38242 grep -v '^ *+' conftest.er1 >conftest.err
38243 rm -f conftest.er1
38244 cat conftest.err >&5
38245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38246 (exit $ac_status); } && {
38247 test -z "$ac_c_werror_flag" ||
38248 test ! -s conftest.err
38249 } && test -s conftest$ac_exeext &&
38250 $as_test_x conftest$ac_exeext; then
38251 ac_cv_lib_socket_inet_addr=yes
38252 else
38253 echo "$as_me: failed program was:" >&5
38254 sed 's/^/| /' conftest.$ac_ext >&5
38255
38256 ac_cv_lib_socket_inet_addr=no
38257 fi
38258
38259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38260 conftest$ac_exeext conftest.$ac_ext
38261 LIBS=$ac_check_lib_save_LIBS
38262 fi
38263 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38264 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38265 if test $ac_cv_lib_socket_inet_addr = yes; then
38266 INET_LINK="socket"
38267
38268 fi
38269
38270
38271
38272 fi
38273
38274
38275
38276 fi
38277
38278
38279
38280 fi
38281 done
38282
38283
38284
38285 for ac_func in inet_aton
38286 do
38287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38288 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38290 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38291 echo $ECHO_N "(cached) $ECHO_C" >&6
38292 else
38293 cat >conftest.$ac_ext <<_ACEOF
38294 /* confdefs.h. */
38295 _ACEOF
38296 cat confdefs.h >>conftest.$ac_ext
38297 cat >>conftest.$ac_ext <<_ACEOF
38298 /* end confdefs.h. */
38299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38301 #define $ac_func innocuous_$ac_func
38302
38303 /* System header to define __stub macros and hopefully few prototypes,
38304 which can conflict with char $ac_func (); below.
38305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38306 <limits.h> exists even on freestanding compilers. */
38307
38308 #ifdef __STDC__
38309 # include <limits.h>
38310 #else
38311 # include <assert.h>
38312 #endif
38313
38314 #undef $ac_func
38315
38316 /* Override any GCC internal prototype to avoid an error.
38317 Use char because int might match the return type of a GCC
38318 builtin and then its argument prototype would still apply. */
38319 #ifdef __cplusplus
38320 extern "C"
38321 #endif
38322 char $ac_func ();
38323 /* The GNU C library defines this for functions which it implements
38324 to always fail with ENOSYS. Some functions are actually named
38325 something starting with __ and the normal name is an alias. */
38326 #if defined __stub_$ac_func || defined __stub___$ac_func
38327 choke me
38328 #endif
38329
38330 int
38331 main ()
38332 {
38333 return $ac_func ();
38334 ;
38335 return 0;
38336 }
38337 _ACEOF
38338 rm -f conftest.$ac_objext conftest$ac_exeext
38339 if { (ac_try="$ac_link"
38340 case "(($ac_try" in
38341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38342 *) ac_try_echo=$ac_try;;
38343 esac
38344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38345 (eval "$ac_link") 2>conftest.er1
38346 ac_status=$?
38347 grep -v '^ *+' conftest.er1 >conftest.err
38348 rm -f conftest.er1
38349 cat conftest.err >&5
38350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38351 (exit $ac_status); } && {
38352 test -z "$ac_c_werror_flag" ||
38353 test ! -s conftest.err
38354 } && test -s conftest$ac_exeext &&
38355 $as_test_x conftest$ac_exeext; then
38356 eval "$as_ac_var=yes"
38357 else
38358 echo "$as_me: failed program was:" >&5
38359 sed 's/^/| /' conftest.$ac_ext >&5
38360
38361 eval "$as_ac_var=no"
38362 fi
38363
38364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38365 conftest$ac_exeext conftest.$ac_ext
38366 fi
38367 ac_res=`eval echo '${'$as_ac_var'}'`
38368 { echo "$as_me:$LINENO: result: $ac_res" >&5
38369 echo "${ECHO_T}$ac_res" >&6; }
38370 if test `eval echo '${'$as_ac_var'}'` = yes; then
38371 cat >>confdefs.h <<_ACEOF
38372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38373 _ACEOF
38374 cat >>confdefs.h <<\_ACEOF
38375 #define HAVE_INET_ATON 1
38376 _ACEOF
38377
38378 else
38379
38380 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38381 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38382 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38383 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38384 echo $ECHO_N "(cached) $ECHO_C" >&6
38385 else
38386 ac_check_lib_save_LIBS=$LIBS
38387 LIBS="-l$INET_LINK $LIBS"
38388 cat >conftest.$ac_ext <<_ACEOF
38389 /* confdefs.h. */
38390 _ACEOF
38391 cat confdefs.h >>conftest.$ac_ext
38392 cat >>conftest.$ac_ext <<_ACEOF
38393 /* end confdefs.h. */
38394
38395 /* Override any GCC internal prototype to avoid an error.
38396 Use char because int might match the return type of a GCC
38397 builtin and then its argument prototype would still apply. */
38398 #ifdef __cplusplus
38399 extern "C"
38400 #endif
38401 char inet_aton ();
38402 int
38403 main ()
38404 {
38405 return inet_aton ();
38406 ;
38407 return 0;
38408 }
38409 _ACEOF
38410 rm -f conftest.$ac_objext conftest$ac_exeext
38411 if { (ac_try="$ac_link"
38412 case "(($ac_try" in
38413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38414 *) ac_try_echo=$ac_try;;
38415 esac
38416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38417 (eval "$ac_link") 2>conftest.er1
38418 ac_status=$?
38419 grep -v '^ *+' conftest.er1 >conftest.err
38420 rm -f conftest.er1
38421 cat conftest.err >&5
38422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38423 (exit $ac_status); } && {
38424 test -z "$ac_c_werror_flag" ||
38425 test ! -s conftest.err
38426 } && test -s conftest$ac_exeext &&
38427 $as_test_x conftest$ac_exeext; then
38428 eval "$as_ac_Lib=yes"
38429 else
38430 echo "$as_me: failed program was:" >&5
38431 sed 's/^/| /' conftest.$ac_ext >&5
38432
38433 eval "$as_ac_Lib=no"
38434 fi
38435
38436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38437 conftest$ac_exeext conftest.$ac_ext
38438 LIBS=$ac_check_lib_save_LIBS
38439 fi
38440 ac_res=`eval echo '${'$as_ac_Lib'}'`
38441 { echo "$as_me:$LINENO: result: $ac_res" >&5
38442 echo "${ECHO_T}$ac_res" >&6; }
38443 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38444 cat >>confdefs.h <<\_ACEOF
38445 #define HAVE_INET_ATON 1
38446 _ACEOF
38447
38448 fi
38449
38450
38451 fi
38452 done
38453
38454
38455 if test "x$INET_LINK" != "x"; then
38456 cat >>confdefs.h <<\_ACEOF
38457 #define HAVE_INET_ADDR 1
38458 _ACEOF
38459
38460 INET_LINK=" -l$INET_LINK"
38461 fi
38462
38463
38464 for wx_func in fdopen
38465 do
38466 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38467 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38468 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38469 echo $ECHO_N "(cached) $ECHO_C" >&6
38470 else
38471
38472 cat >conftest.$ac_ext <<_ACEOF
38473
38474 /* confdefs.h. */
38475 _ACEOF
38476 cat confdefs.h >>conftest.$ac_ext
38477 cat >>conftest.$ac_ext <<_ACEOF
38478 /* end confdefs.h. */
38479
38480
38481 $ac_includes_default
38482
38483 int
38484 main ()
38485 {
38486
38487 #ifndef $wx_func
38488 &$wx_func;
38489 #endif
38490
38491
38492 ;
38493 return 0;
38494 }
38495
38496 _ACEOF
38497 rm -f conftest.$ac_objext conftest$ac_exeext
38498 if { (ac_try="$ac_link"
38499 case "(($ac_try" in
38500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38501 *) ac_try_echo=$ac_try;;
38502 esac
38503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38504 (eval "$ac_link") 2>conftest.er1
38505 ac_status=$?
38506 grep -v '^ *+' conftest.er1 >conftest.err
38507 rm -f conftest.er1
38508 cat conftest.err >&5
38509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38510 (exit $ac_status); } && {
38511 test -z "$ac_c_werror_flag" ||
38512 test ! -s conftest.err
38513 } && test -s conftest$ac_exeext &&
38514 $as_test_x conftest$ac_exeext; then
38515 eval wx_cv_func_$wx_func=yes
38516 else
38517 echo "$as_me: failed program was:" >&5
38518 sed 's/^/| /' conftest.$ac_ext >&5
38519
38520 eval wx_cv_func_$wx_func=no
38521 fi
38522
38523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38524 conftest$ac_exeext conftest.$ac_ext
38525
38526 fi
38527 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38528 { echo "$as_me:$LINENO: result: $ac_res" >&5
38529 echo "${ECHO_T}$ac_res" >&6; }
38530
38531 if eval test \$wx_cv_func_$wx_func = yes
38532 then
38533 cat >>confdefs.h <<_ACEOF
38534 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38535 _ACEOF
38536
38537
38538 else
38539 :
38540
38541 fi
38542 done
38543
38544
38545 if test "$wxUSE_TARSTREAM" = "yes"; then
38546
38547 for wx_func in sysconf
38548 do
38549 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38550 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38551 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38552 echo $ECHO_N "(cached) $ECHO_C" >&6
38553 else
38554
38555 cat >conftest.$ac_ext <<_ACEOF
38556
38557 /* confdefs.h. */
38558 _ACEOF
38559 cat confdefs.h >>conftest.$ac_ext
38560 cat >>conftest.$ac_ext <<_ACEOF
38561 /* end confdefs.h. */
38562
38563
38564 $ac_includes_default
38565
38566 int
38567 main ()
38568 {
38569
38570 #ifndef $wx_func
38571 &$wx_func;
38572 #endif
38573
38574
38575 ;
38576 return 0;
38577 }
38578
38579 _ACEOF
38580 rm -f conftest.$ac_objext conftest$ac_exeext
38581 if { (ac_try="$ac_link"
38582 case "(($ac_try" in
38583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38584 *) ac_try_echo=$ac_try;;
38585 esac
38586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38587 (eval "$ac_link") 2>conftest.er1
38588 ac_status=$?
38589 grep -v '^ *+' conftest.er1 >conftest.err
38590 rm -f conftest.er1
38591 cat conftest.err >&5
38592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38593 (exit $ac_status); } && {
38594 test -z "$ac_c_werror_flag" ||
38595 test ! -s conftest.err
38596 } && test -s conftest$ac_exeext &&
38597 $as_test_x conftest$ac_exeext; then
38598 eval wx_cv_func_$wx_func=yes
38599 else
38600 echo "$as_me: failed program was:" >&5
38601 sed 's/^/| /' conftest.$ac_ext >&5
38602
38603 eval wx_cv_func_$wx_func=no
38604 fi
38605
38606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38607 conftest$ac_exeext conftest.$ac_ext
38608
38609 fi
38610 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38611 { echo "$as_me:$LINENO: result: $ac_res" >&5
38612 echo "${ECHO_T}$ac_res" >&6; }
38613
38614 if eval test \$wx_cv_func_$wx_func = yes
38615 then
38616 cat >>confdefs.h <<_ACEOF
38617 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38618 _ACEOF
38619
38620
38621 else
38622 :
38623
38624 fi
38625 done
38626
38627
38628
38629 for wx_func in getpwuid_r
38630 do
38631 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38632 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38633 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38634 echo $ECHO_N "(cached) $ECHO_C" >&6
38635 else
38636
38637 cat >conftest.$ac_ext <<_ACEOF
38638
38639 /* confdefs.h. */
38640 _ACEOF
38641 cat confdefs.h >>conftest.$ac_ext
38642 cat >>conftest.$ac_ext <<_ACEOF
38643 /* end confdefs.h. */
38644
38645
38646 #define _REENTRANT
38647 #include <pwd.h>
38648
38649 $ac_includes_default
38650
38651 int
38652 main ()
38653 {
38654
38655 #ifndef $wx_func
38656 &$wx_func;
38657 #endif
38658
38659 struct passwd pw, *ppw;
38660 char buf[1024];
38661 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38662
38663
38664 ;
38665 return 0;
38666 }
38667
38668 _ACEOF
38669 rm -f conftest.$ac_objext conftest$ac_exeext
38670 if { (ac_try="$ac_link"
38671 case "(($ac_try" in
38672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38673 *) ac_try_echo=$ac_try;;
38674 esac
38675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38676 (eval "$ac_link") 2>conftest.er1
38677 ac_status=$?
38678 grep -v '^ *+' conftest.er1 >conftest.err
38679 rm -f conftest.er1
38680 cat conftest.err >&5
38681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38682 (exit $ac_status); } && {
38683 test -z "$ac_c_werror_flag" ||
38684 test ! -s conftest.err
38685 } && test -s conftest$ac_exeext &&
38686 $as_test_x conftest$ac_exeext; then
38687 eval wx_cv_func_$wx_func=yes
38688 else
38689 echo "$as_me: failed program was:" >&5
38690 sed 's/^/| /' conftest.$ac_ext >&5
38691
38692 eval wx_cv_func_$wx_func=no
38693 fi
38694
38695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38696 conftest$ac_exeext conftest.$ac_ext
38697
38698 fi
38699 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38700 { echo "$as_me:$LINENO: result: $ac_res" >&5
38701 echo "${ECHO_T}$ac_res" >&6; }
38702
38703 if eval test \$wx_cv_func_$wx_func = yes
38704 then
38705 cat >>confdefs.h <<_ACEOF
38706 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38707 _ACEOF
38708
38709
38710 else
38711 :
38712
38713 fi
38714 done
38715
38716
38717
38718 for wx_func in getgrgid_r
38719 do
38720 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38721 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38722 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38723 echo $ECHO_N "(cached) $ECHO_C" >&6
38724 else
38725
38726 cat >conftest.$ac_ext <<_ACEOF
38727
38728 /* confdefs.h. */
38729 _ACEOF
38730 cat confdefs.h >>conftest.$ac_ext
38731 cat >>conftest.$ac_ext <<_ACEOF
38732 /* end confdefs.h. */
38733
38734
38735 #define _REENTRANT
38736 #include <grp.h>
38737
38738 $ac_includes_default
38739
38740 int
38741 main ()
38742 {
38743
38744 #ifndef $wx_func
38745 &$wx_func;
38746 #endif
38747
38748 struct group grp, *pgrp;
38749 char buf[1024];
38750 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38751
38752
38753 ;
38754 return 0;
38755 }
38756
38757 _ACEOF
38758 rm -f conftest.$ac_objext conftest$ac_exeext
38759 if { (ac_try="$ac_link"
38760 case "(($ac_try" in
38761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38762 *) ac_try_echo=$ac_try;;
38763 esac
38764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38765 (eval "$ac_link") 2>conftest.er1
38766 ac_status=$?
38767 grep -v '^ *+' conftest.er1 >conftest.err
38768 rm -f conftest.er1
38769 cat conftest.err >&5
38770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38771 (exit $ac_status); } && {
38772 test -z "$ac_c_werror_flag" ||
38773 test ! -s conftest.err
38774 } && test -s conftest$ac_exeext &&
38775 $as_test_x conftest$ac_exeext; then
38776 eval wx_cv_func_$wx_func=yes
38777 else
38778 echo "$as_me: failed program was:" >&5
38779 sed 's/^/| /' conftest.$ac_ext >&5
38780
38781 eval wx_cv_func_$wx_func=no
38782 fi
38783
38784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38785 conftest$ac_exeext conftest.$ac_ext
38786
38787 fi
38788 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38789 { echo "$as_me:$LINENO: result: $ac_res" >&5
38790 echo "${ECHO_T}$ac_res" >&6; }
38791
38792 if eval test \$wx_cv_func_$wx_func = yes
38793 then
38794 cat >>confdefs.h <<_ACEOF
38795 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38796 _ACEOF
38797
38798
38799 else
38800 :
38801
38802 fi
38803 done
38804
38805 fi
38806
38807 fi
38808
38809
38810
38811 cat >confcache <<\_ACEOF
38812 # This file is a shell script that caches the results of configure
38813 # tests run on this system so they can be shared between configure
38814 # scripts and configure runs, see configure's option --config-cache.
38815 # It is not useful on other systems. If it contains results you don't
38816 # want to keep, you may remove or edit it.
38817 #
38818 # config.status only pays attention to the cache file if you give it
38819 # the --recheck option to rerun configure.
38820 #
38821 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38822 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38823 # following values.
38824
38825 _ACEOF
38826
38827 # The following way of writing the cache mishandles newlines in values,
38828 # but we know of no workaround that is simple, portable, and efficient.
38829 # So, we kill variables containing newlines.
38830 # Ultrix sh set writes to stderr and can't be redirected directly,
38831 # and sets the high bit in the cache file unless we assign to the vars.
38832 (
38833 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38834 eval ac_val=\$$ac_var
38835 case $ac_val in #(
38836 *${as_nl}*)
38837 case $ac_var in #(
38838 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38839 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38840 esac
38841 case $ac_var in #(
38842 _ | IFS | as_nl) ;; #(
38843 *) $as_unset $ac_var ;;
38844 esac ;;
38845 esac
38846 done
38847
38848 (set) 2>&1 |
38849 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38850 *${as_nl}ac_space=\ *)
38851 # `set' does not quote correctly, so add quotes (double-quote
38852 # substitution turns \\\\ into \\, and sed turns \\ into \).
38853 sed -n \
38854 "s/'/'\\\\''/g;
38855 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38856 ;; #(
38857 *)
38858 # `set' quotes correctly as required by POSIX, so do not add quotes.
38859 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38860 ;;
38861 esac |
38862 sort
38863 ) |
38864 sed '
38865 /^ac_cv_env_/b end
38866 t clear
38867 :clear
38868 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38869 t end
38870 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38871 :end' >>confcache
38872 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38873 if test -w "$cache_file"; then
38874 test "x$cache_file" != "x/dev/null" &&
38875 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38876 echo "$as_me: updating cache $cache_file" >&6;}
38877 cat confcache >$cache_file
38878 else
38879 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38880 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38881 fi
38882 fi
38883 rm -f confcache
38884
38885
38886 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38887
38888
38889 THREADS_LINK=
38890 THREADS_CFLAGS=
38891
38892 if test "$wxUSE_THREADS" = "yes" ; then
38893 if test "$USE_BEOS" = 1; then
38894 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38895 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38896 wxUSE_THREADS="no"
38897 fi
38898 fi
38899
38900 if test "$wxUSE_THREADS" = "yes" ; then
38901
38902
38903 THREAD_OPTS="-pthread"
38904 if test "x$SUNCXX" = xyes; then
38905 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38906 fi
38907
38908 case "${host}" in
38909 *-*-solaris2* | *-*-sunos4* )
38910 if test "x$GCC" = "xyes"; then
38911 THREAD_OPTS="-pthreads $THREAD_OPTS"
38912 fi
38913 ;;
38914 *-*-freebsd*)
38915 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38916 ;;
38917 *-*-darwin* | *-*-cygwin* )
38918 THREAD_OPTS=""
38919 ;;
38920 *-*-aix*)
38921 THREAD_OPTS="pthreads"
38922 ;;
38923 *-hp-hpux* )
38924 if test "x$GCC" = "xyes"; then
38925 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38926 THREAD_OPTS=""
38927 else
38928 THREAD_OPTS="-mt"
38929 fi
38930 ;;
38931
38932 *-*-irix* )
38933 if test "x$GCC" = "xyes"; then
38934 THREAD_OPTS=""
38935 fi
38936 ;;
38937
38938 *-*-*UnixWare*)
38939 if test "x$GCC" != "xyes"; then
38940 THREAD_OPTS="-Ethread"
38941 fi
38942 ;;
38943 esac
38944
38945 THREAD_OPTS="$THREAD_OPTS pthread none"
38946
38947 THREADS_OK=no
38948 for flag in $THREAD_OPTS; do
38949 case $flag in
38950 none)
38951 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38952 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38953 ;;
38954
38955 -*)
38956 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38957 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38958 THREADS_CFLAGS="$flag"
38959 ;;
38960
38961 *)
38962 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38963 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38964 THREADS_LINK="-l$flag"
38965 ;;
38966 esac
38967
38968 save_LIBS="$LIBS"
38969 save_CFLAGS="$CFLAGS"
38970 LIBS="$THREADS_LINK $LIBS"
38971 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38972
38973 cat >conftest.$ac_ext <<_ACEOF
38974 /* confdefs.h. */
38975 _ACEOF
38976 cat confdefs.h >>conftest.$ac_ext
38977 cat >>conftest.$ac_ext <<_ACEOF
38978 /* end confdefs.h. */
38979 #include <pthread.h>
38980 int
38981 main ()
38982 {
38983 pthread_create(0,0,0,0);
38984 ;
38985 return 0;
38986 }
38987 _ACEOF
38988 rm -f conftest.$ac_objext conftest$ac_exeext
38989 if { (ac_try="$ac_link"
38990 case "(($ac_try" in
38991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38992 *) ac_try_echo=$ac_try;;
38993 esac
38994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38995 (eval "$ac_link") 2>conftest.er1
38996 ac_status=$?
38997 grep -v '^ *+' conftest.er1 >conftest.err
38998 rm -f conftest.er1
38999 cat conftest.err >&5
39000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39001 (exit $ac_status); } && {
39002 test -z "$ac_c_werror_flag" ||
39003 test ! -s conftest.err
39004 } && test -s conftest$ac_exeext &&
39005 $as_test_x conftest$ac_exeext; then
39006 THREADS_OK=yes
39007 else
39008 echo "$as_me: failed program was:" >&5
39009 sed 's/^/| /' conftest.$ac_ext >&5
39010
39011
39012 fi
39013
39014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39015 conftest$ac_exeext conftest.$ac_ext
39016
39017 LIBS="$save_LIBS"
39018 CFLAGS="$save_CFLAGS"
39019
39020 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39021 echo "${ECHO_T}$THREADS_OK" >&6; }
39022 if test "x$THREADS_OK" = "xyes"; then
39023 break;
39024 fi
39025
39026 THREADS_LINK=""
39027 THREADS_CFLAGS=""
39028 done
39029
39030 if test "x$THREADS_OK" != "xyes"; then
39031 wxUSE_THREADS=no
39032 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39033 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39034 else
39035 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39036 LIBS="$THREADS_LINK $LIBS"
39037
39038 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39039 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39040 flag=no
39041 case "${host}" in
39042 *-aix*)
39043 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39044 flag="-D_THREAD_SAFE"
39045 ;;
39046 *-freebsd*)
39047 flag="-D_THREAD_SAFE"
39048 ;;
39049 *-hp-hpux* )
39050 flag="-D_REENTRANT"
39051 if test "x$GCC" != "xyes"; then
39052 flag="$flag -D_RWSTD_MULTI_THREAD"
39053 fi
39054 ;;
39055 *solaris* | alpha*-osf*)
39056 flag="-D_REENTRANT"
39057 ;;
39058 esac
39059 { echo "$as_me:$LINENO: result: ${flag}" >&5
39060 echo "${ECHO_T}${flag}" >&6; }
39061 if test "x$flag" != xno; then
39062 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39063 fi
39064
39065 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39066 fi
39067 fi
39068
39069 if test "$wxUSE_THREADS" = "yes" ; then
39070
39071 for ac_func in thr_setconcurrency
39072 do
39073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39074 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39076 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39077 echo $ECHO_N "(cached) $ECHO_C" >&6
39078 else
39079 cat >conftest.$ac_ext <<_ACEOF
39080 /* confdefs.h. */
39081 _ACEOF
39082 cat confdefs.h >>conftest.$ac_ext
39083 cat >>conftest.$ac_ext <<_ACEOF
39084 /* end confdefs.h. */
39085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39087 #define $ac_func innocuous_$ac_func
39088
39089 /* System header to define __stub macros and hopefully few prototypes,
39090 which can conflict with char $ac_func (); below.
39091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39092 <limits.h> exists even on freestanding compilers. */
39093
39094 #ifdef __STDC__
39095 # include <limits.h>
39096 #else
39097 # include <assert.h>
39098 #endif
39099
39100 #undef $ac_func
39101
39102 /* Override any GCC internal prototype to avoid an error.
39103 Use char because int might match the return type of a GCC
39104 builtin and then its argument prototype would still apply. */
39105 #ifdef __cplusplus
39106 extern "C"
39107 #endif
39108 char $ac_func ();
39109 /* The GNU C library defines this for functions which it implements
39110 to always fail with ENOSYS. Some functions are actually named
39111 something starting with __ and the normal name is an alias. */
39112 #if defined __stub_$ac_func || defined __stub___$ac_func
39113 choke me
39114 #endif
39115
39116 int
39117 main ()
39118 {
39119 return $ac_func ();
39120 ;
39121 return 0;
39122 }
39123 _ACEOF
39124 rm -f conftest.$ac_objext conftest$ac_exeext
39125 if { (ac_try="$ac_link"
39126 case "(($ac_try" in
39127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39128 *) ac_try_echo=$ac_try;;
39129 esac
39130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39131 (eval "$ac_link") 2>conftest.er1
39132 ac_status=$?
39133 grep -v '^ *+' conftest.er1 >conftest.err
39134 rm -f conftest.er1
39135 cat conftest.err >&5
39136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39137 (exit $ac_status); } && {
39138 test -z "$ac_c_werror_flag" ||
39139 test ! -s conftest.err
39140 } && test -s conftest$ac_exeext &&
39141 $as_test_x conftest$ac_exeext; then
39142 eval "$as_ac_var=yes"
39143 else
39144 echo "$as_me: failed program was:" >&5
39145 sed 's/^/| /' conftest.$ac_ext >&5
39146
39147 eval "$as_ac_var=no"
39148 fi
39149
39150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39151 conftest$ac_exeext conftest.$ac_ext
39152 fi
39153 ac_res=`eval echo '${'$as_ac_var'}'`
39154 { echo "$as_me:$LINENO: result: $ac_res" >&5
39155 echo "${ECHO_T}$ac_res" >&6; }
39156 if test `eval echo '${'$as_ac_var'}'` = yes; then
39157 cat >>confdefs.h <<_ACEOF
39158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39159 _ACEOF
39160
39161 fi
39162 done
39163
39164
39165 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39166 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39167 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39168 echo $ECHO_N "(cached) $ECHO_C" >&6
39169 else
39170
39171 ac_ext=cpp
39172 ac_cpp='$CXXCPP $CPPFLAGS'
39173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39176
39177 cat >conftest.$ac_ext <<_ACEOF
39178 /* confdefs.h. */
39179 _ACEOF
39180 cat confdefs.h >>conftest.$ac_ext
39181 cat >>conftest.$ac_ext <<_ACEOF
39182 /* end confdefs.h. */
39183 #include <pthread.h>
39184 void ThreadCleanupFunc(void *p);
39185
39186 int
39187 main ()
39188 {
39189
39190 void *p;
39191 pthread_cleanup_push(ThreadCleanupFunc, p);
39192 pthread_cleanup_pop(0);
39193
39194 ;
39195 return 0;
39196 }
39197 _ACEOF
39198 rm -f conftest.$ac_objext
39199 if { (ac_try="$ac_compile"
39200 case "(($ac_try" in
39201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39202 *) ac_try_echo=$ac_try;;
39203 esac
39204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39205 (eval "$ac_compile") 2>conftest.er1
39206 ac_status=$?
39207 grep -v '^ *+' conftest.er1 >conftest.err
39208 rm -f conftest.er1
39209 cat conftest.err >&5
39210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39211 (exit $ac_status); } && {
39212 test -z "$ac_cxx_werror_flag" ||
39213 test ! -s conftest.err
39214 } && test -s conftest.$ac_objext; then
39215
39216 wx_cv_func_pthread_cleanup=yes
39217
39218 else
39219 echo "$as_me: failed program was:" >&5
39220 sed 's/^/| /' conftest.$ac_ext >&5
39221
39222
39223 wx_cv_func_pthread_cleanup=no
39224
39225
39226 fi
39227
39228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39229 ac_ext=c
39230 ac_cpp='$CPP $CPPFLAGS'
39231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39234
39235
39236 fi
39237 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39238 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39239 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39240 cat >>confdefs.h <<\_ACEOF
39241 #define wxHAVE_PTHREAD_CLEANUP 1
39242 _ACEOF
39243
39244 fi
39245
39246
39247 for ac_header in sched.h
39248 do
39249 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39250 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39252 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39253 echo $ECHO_N "(cached) $ECHO_C" >&6
39254 else
39255 cat >conftest.$ac_ext <<_ACEOF
39256 /* confdefs.h. */
39257 _ACEOF
39258 cat confdefs.h >>conftest.$ac_ext
39259 cat >>conftest.$ac_ext <<_ACEOF
39260 /* end confdefs.h. */
39261 $ac_includes_default
39262
39263 #include <$ac_header>
39264 _ACEOF
39265 rm -f conftest.$ac_objext
39266 if { (ac_try="$ac_compile"
39267 case "(($ac_try" in
39268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39269 *) ac_try_echo=$ac_try;;
39270 esac
39271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39272 (eval "$ac_compile") 2>conftest.er1
39273 ac_status=$?
39274 grep -v '^ *+' conftest.er1 >conftest.err
39275 rm -f conftest.er1
39276 cat conftest.err >&5
39277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39278 (exit $ac_status); } && {
39279 test -z "$ac_c_werror_flag" ||
39280 test ! -s conftest.err
39281 } && test -s conftest.$ac_objext; then
39282 eval "$as_ac_Header=yes"
39283 else
39284 echo "$as_me: failed program was:" >&5
39285 sed 's/^/| /' conftest.$ac_ext >&5
39286
39287 eval "$as_ac_Header=no"
39288 fi
39289
39290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39291 fi
39292 ac_res=`eval echo '${'$as_ac_Header'}'`
39293 { echo "$as_me:$LINENO: result: $ac_res" >&5
39294 echo "${ECHO_T}$ac_res" >&6; }
39295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39296 cat >>confdefs.h <<_ACEOF
39297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39298 _ACEOF
39299
39300 fi
39301
39302 done
39303
39304 if test "$ac_cv_header_sched_h" = "yes"; then
39305 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39306 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39307 if test "${ac_cv_func_sched_yield+set}" = set; then
39308 echo $ECHO_N "(cached) $ECHO_C" >&6
39309 else
39310 cat >conftest.$ac_ext <<_ACEOF
39311 /* confdefs.h. */
39312 _ACEOF
39313 cat confdefs.h >>conftest.$ac_ext
39314 cat >>conftest.$ac_ext <<_ACEOF
39315 /* end confdefs.h. */
39316 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39318 #define sched_yield innocuous_sched_yield
39319
39320 /* System header to define __stub macros and hopefully few prototypes,
39321 which can conflict with char sched_yield (); below.
39322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39323 <limits.h> exists even on freestanding compilers. */
39324
39325 #ifdef __STDC__
39326 # include <limits.h>
39327 #else
39328 # include <assert.h>
39329 #endif
39330
39331 #undef sched_yield
39332
39333 /* Override any GCC internal prototype to avoid an error.
39334 Use char because int might match the return type of a GCC
39335 builtin and then its argument prototype would still apply. */
39336 #ifdef __cplusplus
39337 extern "C"
39338 #endif
39339 char sched_yield ();
39340 /* The GNU C library defines this for functions which it implements
39341 to always fail with ENOSYS. Some functions are actually named
39342 something starting with __ and the normal name is an alias. */
39343 #if defined __stub_sched_yield || defined __stub___sched_yield
39344 choke me
39345 #endif
39346
39347 int
39348 main ()
39349 {
39350 return sched_yield ();
39351 ;
39352 return 0;
39353 }
39354 _ACEOF
39355 rm -f conftest.$ac_objext conftest$ac_exeext
39356 if { (ac_try="$ac_link"
39357 case "(($ac_try" in
39358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39359 *) ac_try_echo=$ac_try;;
39360 esac
39361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39362 (eval "$ac_link") 2>conftest.er1
39363 ac_status=$?
39364 grep -v '^ *+' conftest.er1 >conftest.err
39365 rm -f conftest.er1
39366 cat conftest.err >&5
39367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39368 (exit $ac_status); } && {
39369 test -z "$ac_c_werror_flag" ||
39370 test ! -s conftest.err
39371 } && test -s conftest$ac_exeext &&
39372 $as_test_x conftest$ac_exeext; then
39373 ac_cv_func_sched_yield=yes
39374 else
39375 echo "$as_me: failed program was:" >&5
39376 sed 's/^/| /' conftest.$ac_ext >&5
39377
39378 ac_cv_func_sched_yield=no
39379 fi
39380
39381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39382 conftest$ac_exeext conftest.$ac_ext
39383 fi
39384 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39385 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39386 if test $ac_cv_func_sched_yield = yes; then
39387 cat >>confdefs.h <<\_ACEOF
39388 #define HAVE_SCHED_YIELD 1
39389 _ACEOF
39390
39391 else
39392
39393 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39394 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39395 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39396 echo $ECHO_N "(cached) $ECHO_C" >&6
39397 else
39398 ac_check_lib_save_LIBS=$LIBS
39399 LIBS="-lposix4 $LIBS"
39400 cat >conftest.$ac_ext <<_ACEOF
39401 /* confdefs.h. */
39402 _ACEOF
39403 cat confdefs.h >>conftest.$ac_ext
39404 cat >>conftest.$ac_ext <<_ACEOF
39405 /* end confdefs.h. */
39406
39407 /* Override any GCC internal prototype to avoid an error.
39408 Use char because int might match the return type of a GCC
39409 builtin and then its argument prototype would still apply. */
39410 #ifdef __cplusplus
39411 extern "C"
39412 #endif
39413 char sched_yield ();
39414 int
39415 main ()
39416 {
39417 return sched_yield ();
39418 ;
39419 return 0;
39420 }
39421 _ACEOF
39422 rm -f conftest.$ac_objext conftest$ac_exeext
39423 if { (ac_try="$ac_link"
39424 case "(($ac_try" in
39425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39426 *) ac_try_echo=$ac_try;;
39427 esac
39428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39429 (eval "$ac_link") 2>conftest.er1
39430 ac_status=$?
39431 grep -v '^ *+' conftest.er1 >conftest.err
39432 rm -f conftest.er1
39433 cat conftest.err >&5
39434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39435 (exit $ac_status); } && {
39436 test -z "$ac_c_werror_flag" ||
39437 test ! -s conftest.err
39438 } && test -s conftest$ac_exeext &&
39439 $as_test_x conftest$ac_exeext; then
39440 ac_cv_lib_posix4_sched_yield=yes
39441 else
39442 echo "$as_me: failed program was:" >&5
39443 sed 's/^/| /' conftest.$ac_ext >&5
39444
39445 ac_cv_lib_posix4_sched_yield=no
39446 fi
39447
39448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39449 conftest$ac_exeext conftest.$ac_ext
39450 LIBS=$ac_check_lib_save_LIBS
39451 fi
39452 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39453 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39454 if test $ac_cv_lib_posix4_sched_yield = yes; then
39455 cat >>confdefs.h <<\_ACEOF
39456 #define HAVE_SCHED_YIELD 1
39457 _ACEOF
39458 POSIX4_LINK=" -lposix4"
39459 else
39460 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39461 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39462
39463 fi
39464
39465
39466
39467 fi
39468
39469 fi
39470
39471 HAVE_PRIOR_FUNCS=0
39472 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39473 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39474 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39475 echo $ECHO_N "(cached) $ECHO_C" >&6
39476 else
39477 cat >conftest.$ac_ext <<_ACEOF
39478 /* confdefs.h. */
39479 _ACEOF
39480 cat confdefs.h >>conftest.$ac_ext
39481 cat >>conftest.$ac_ext <<_ACEOF
39482 /* end confdefs.h. */
39483 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39485 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39486
39487 /* System header to define __stub macros and hopefully few prototypes,
39488 which can conflict with char pthread_attr_getschedpolicy (); below.
39489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39490 <limits.h> exists even on freestanding compilers. */
39491
39492 #ifdef __STDC__
39493 # include <limits.h>
39494 #else
39495 # include <assert.h>
39496 #endif
39497
39498 #undef pthread_attr_getschedpolicy
39499
39500 /* Override any GCC internal prototype to avoid an error.
39501 Use char because int might match the return type of a GCC
39502 builtin and then its argument prototype would still apply. */
39503 #ifdef __cplusplus
39504 extern "C"
39505 #endif
39506 char pthread_attr_getschedpolicy ();
39507 /* The GNU C library defines this for functions which it implements
39508 to always fail with ENOSYS. Some functions are actually named
39509 something starting with __ and the normal name is an alias. */
39510 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39511 choke me
39512 #endif
39513
39514 int
39515 main ()
39516 {
39517 return pthread_attr_getschedpolicy ();
39518 ;
39519 return 0;
39520 }
39521 _ACEOF
39522 rm -f conftest.$ac_objext conftest$ac_exeext
39523 if { (ac_try="$ac_link"
39524 case "(($ac_try" in
39525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39526 *) ac_try_echo=$ac_try;;
39527 esac
39528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39529 (eval "$ac_link") 2>conftest.er1
39530 ac_status=$?
39531 grep -v '^ *+' conftest.er1 >conftest.err
39532 rm -f conftest.er1
39533 cat conftest.err >&5
39534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39535 (exit $ac_status); } && {
39536 test -z "$ac_c_werror_flag" ||
39537 test ! -s conftest.err
39538 } && test -s conftest$ac_exeext &&
39539 $as_test_x conftest$ac_exeext; then
39540 ac_cv_func_pthread_attr_getschedpolicy=yes
39541 else
39542 echo "$as_me: failed program was:" >&5
39543 sed 's/^/| /' conftest.$ac_ext >&5
39544
39545 ac_cv_func_pthread_attr_getschedpolicy=no
39546 fi
39547
39548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39549 conftest$ac_exeext conftest.$ac_ext
39550 fi
39551 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39552 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39553 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39554 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39555 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39556 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39557 echo $ECHO_N "(cached) $ECHO_C" >&6
39558 else
39559 cat >conftest.$ac_ext <<_ACEOF
39560 /* confdefs.h. */
39561 _ACEOF
39562 cat confdefs.h >>conftest.$ac_ext
39563 cat >>conftest.$ac_ext <<_ACEOF
39564 /* end confdefs.h. */
39565 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39567 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39568
39569 /* System header to define __stub macros and hopefully few prototypes,
39570 which can conflict with char pthread_attr_setschedparam (); below.
39571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39572 <limits.h> exists even on freestanding compilers. */
39573
39574 #ifdef __STDC__
39575 # include <limits.h>
39576 #else
39577 # include <assert.h>
39578 #endif
39579
39580 #undef pthread_attr_setschedparam
39581
39582 /* Override any GCC internal prototype to avoid an error.
39583 Use char because int might match the return type of a GCC
39584 builtin and then its argument prototype would still apply. */
39585 #ifdef __cplusplus
39586 extern "C"
39587 #endif
39588 char pthread_attr_setschedparam ();
39589 /* The GNU C library defines this for functions which it implements
39590 to always fail with ENOSYS. Some functions are actually named
39591 something starting with __ and the normal name is an alias. */
39592 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39593 choke me
39594 #endif
39595
39596 int
39597 main ()
39598 {
39599 return pthread_attr_setschedparam ();
39600 ;
39601 return 0;
39602 }
39603 _ACEOF
39604 rm -f conftest.$ac_objext conftest$ac_exeext
39605 if { (ac_try="$ac_link"
39606 case "(($ac_try" in
39607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39608 *) ac_try_echo=$ac_try;;
39609 esac
39610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39611 (eval "$ac_link") 2>conftest.er1
39612 ac_status=$?
39613 grep -v '^ *+' conftest.er1 >conftest.err
39614 rm -f conftest.er1
39615 cat conftest.err >&5
39616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39617 (exit $ac_status); } && {
39618 test -z "$ac_c_werror_flag" ||
39619 test ! -s conftest.err
39620 } && test -s conftest$ac_exeext &&
39621 $as_test_x conftest$ac_exeext; then
39622 ac_cv_func_pthread_attr_setschedparam=yes
39623 else
39624 echo "$as_me: failed program was:" >&5
39625 sed 's/^/| /' conftest.$ac_ext >&5
39626
39627 ac_cv_func_pthread_attr_setschedparam=no
39628 fi
39629
39630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39631 conftest$ac_exeext conftest.$ac_ext
39632 fi
39633 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39634 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39635 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39636 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39637 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39638 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39639 echo $ECHO_N "(cached) $ECHO_C" >&6
39640 else
39641 cat >conftest.$ac_ext <<_ACEOF
39642 /* confdefs.h. */
39643 _ACEOF
39644 cat confdefs.h >>conftest.$ac_ext
39645 cat >>conftest.$ac_ext <<_ACEOF
39646 /* end confdefs.h. */
39647 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39649 #define sched_get_priority_max innocuous_sched_get_priority_max
39650
39651 /* System header to define __stub macros and hopefully few prototypes,
39652 which can conflict with char sched_get_priority_max (); below.
39653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39654 <limits.h> exists even on freestanding compilers. */
39655
39656 #ifdef __STDC__
39657 # include <limits.h>
39658 #else
39659 # include <assert.h>
39660 #endif
39661
39662 #undef sched_get_priority_max
39663
39664 /* Override any GCC internal prototype to avoid an error.
39665 Use char because int might match the return type of a GCC
39666 builtin and then its argument prototype would still apply. */
39667 #ifdef __cplusplus
39668 extern "C"
39669 #endif
39670 char sched_get_priority_max ();
39671 /* The GNU C library defines this for functions which it implements
39672 to always fail with ENOSYS. Some functions are actually named
39673 something starting with __ and the normal name is an alias. */
39674 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39675 choke me
39676 #endif
39677
39678 int
39679 main ()
39680 {
39681 return sched_get_priority_max ();
39682 ;
39683 return 0;
39684 }
39685 _ACEOF
39686 rm -f conftest.$ac_objext conftest$ac_exeext
39687 if { (ac_try="$ac_link"
39688 case "(($ac_try" in
39689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39690 *) ac_try_echo=$ac_try;;
39691 esac
39692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39693 (eval "$ac_link") 2>conftest.er1
39694 ac_status=$?
39695 grep -v '^ *+' conftest.er1 >conftest.err
39696 rm -f conftest.er1
39697 cat conftest.err >&5
39698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39699 (exit $ac_status); } && {
39700 test -z "$ac_c_werror_flag" ||
39701 test ! -s conftest.err
39702 } && test -s conftest$ac_exeext &&
39703 $as_test_x conftest$ac_exeext; then
39704 ac_cv_func_sched_get_priority_max=yes
39705 else
39706 echo "$as_me: failed program was:" >&5
39707 sed 's/^/| /' conftest.$ac_ext >&5
39708
39709 ac_cv_func_sched_get_priority_max=no
39710 fi
39711
39712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39713 conftest$ac_exeext conftest.$ac_ext
39714 fi
39715 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39716 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39717 if test $ac_cv_func_sched_get_priority_max = yes; then
39718 HAVE_PRIOR_FUNCS=1
39719 else
39720 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39721 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39722 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39723 echo $ECHO_N "(cached) $ECHO_C" >&6
39724 else
39725 ac_check_lib_save_LIBS=$LIBS
39726 LIBS="-lposix4 $LIBS"
39727 cat >conftest.$ac_ext <<_ACEOF
39728 /* confdefs.h. */
39729 _ACEOF
39730 cat confdefs.h >>conftest.$ac_ext
39731 cat >>conftest.$ac_ext <<_ACEOF
39732 /* end confdefs.h. */
39733
39734 /* Override any GCC internal prototype to avoid an error.
39735 Use char because int might match the return type of a GCC
39736 builtin and then its argument prototype would still apply. */
39737 #ifdef __cplusplus
39738 extern "C"
39739 #endif
39740 char sched_get_priority_max ();
39741 int
39742 main ()
39743 {
39744 return sched_get_priority_max ();
39745 ;
39746 return 0;
39747 }
39748 _ACEOF
39749 rm -f conftest.$ac_objext conftest$ac_exeext
39750 if { (ac_try="$ac_link"
39751 case "(($ac_try" in
39752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39753 *) ac_try_echo=$ac_try;;
39754 esac
39755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39756 (eval "$ac_link") 2>conftest.er1
39757 ac_status=$?
39758 grep -v '^ *+' conftest.er1 >conftest.err
39759 rm -f conftest.er1
39760 cat conftest.err >&5
39761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39762 (exit $ac_status); } && {
39763 test -z "$ac_c_werror_flag" ||
39764 test ! -s conftest.err
39765 } && test -s conftest$ac_exeext &&
39766 $as_test_x conftest$ac_exeext; then
39767 ac_cv_lib_posix4_sched_get_priority_max=yes
39768 else
39769 echo "$as_me: failed program was:" >&5
39770 sed 's/^/| /' conftest.$ac_ext >&5
39771
39772 ac_cv_lib_posix4_sched_get_priority_max=no
39773 fi
39774
39775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39776 conftest$ac_exeext conftest.$ac_ext
39777 LIBS=$ac_check_lib_save_LIBS
39778 fi
39779 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39780 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39781 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39782
39783 HAVE_PRIOR_FUNCS=1
39784 POSIX4_LINK=" -lposix4"
39785
39786 fi
39787
39788
39789 fi
39790
39791
39792 fi
39793
39794
39795 fi
39796
39797
39798 if test "$HAVE_PRIOR_FUNCS" = 1; then
39799 cat >>confdefs.h <<\_ACEOF
39800 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39801 _ACEOF
39802
39803 else
39804 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39805 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39806 fi
39807
39808 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39809 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39810 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39811 echo $ECHO_N "(cached) $ECHO_C" >&6
39812 else
39813 cat >conftest.$ac_ext <<_ACEOF
39814 /* confdefs.h. */
39815 _ACEOF
39816 cat confdefs.h >>conftest.$ac_ext
39817 cat >>conftest.$ac_ext <<_ACEOF
39818 /* end confdefs.h. */
39819 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39821 #define pthread_cancel innocuous_pthread_cancel
39822
39823 /* System header to define __stub macros and hopefully few prototypes,
39824 which can conflict with char pthread_cancel (); below.
39825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39826 <limits.h> exists even on freestanding compilers. */
39827
39828 #ifdef __STDC__
39829 # include <limits.h>
39830 #else
39831 # include <assert.h>
39832 #endif
39833
39834 #undef pthread_cancel
39835
39836 /* Override any GCC internal prototype to avoid an error.
39837 Use char because int might match the return type of a GCC
39838 builtin and then its argument prototype would still apply. */
39839 #ifdef __cplusplus
39840 extern "C"
39841 #endif
39842 char pthread_cancel ();
39843 /* The GNU C library defines this for functions which it implements
39844 to always fail with ENOSYS. Some functions are actually named
39845 something starting with __ and the normal name is an alias. */
39846 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39847 choke me
39848 #endif
39849
39850 int
39851 main ()
39852 {
39853 return pthread_cancel ();
39854 ;
39855 return 0;
39856 }
39857 _ACEOF
39858 rm -f conftest.$ac_objext conftest$ac_exeext
39859 if { (ac_try="$ac_link"
39860 case "(($ac_try" in
39861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39862 *) ac_try_echo=$ac_try;;
39863 esac
39864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39865 (eval "$ac_link") 2>conftest.er1
39866 ac_status=$?
39867 grep -v '^ *+' conftest.er1 >conftest.err
39868 rm -f conftest.er1
39869 cat conftest.err >&5
39870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39871 (exit $ac_status); } && {
39872 test -z "$ac_c_werror_flag" ||
39873 test ! -s conftest.err
39874 } && test -s conftest$ac_exeext &&
39875 $as_test_x conftest$ac_exeext; then
39876 ac_cv_func_pthread_cancel=yes
39877 else
39878 echo "$as_me: failed program was:" >&5
39879 sed 's/^/| /' conftest.$ac_ext >&5
39880
39881 ac_cv_func_pthread_cancel=no
39882 fi
39883
39884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39885 conftest$ac_exeext conftest.$ac_ext
39886 fi
39887 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39888 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39889 if test $ac_cv_func_pthread_cancel = yes; then
39890 cat >>confdefs.h <<\_ACEOF
39891 #define HAVE_PTHREAD_CANCEL 1
39892 _ACEOF
39893
39894 else
39895 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39896 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39897 fi
39898
39899
39900 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39901 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39902 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39903 echo $ECHO_N "(cached) $ECHO_C" >&6
39904 else
39905 cat >conftest.$ac_ext <<_ACEOF
39906 /* confdefs.h. */
39907 _ACEOF
39908 cat confdefs.h >>conftest.$ac_ext
39909 cat >>conftest.$ac_ext <<_ACEOF
39910 /* end confdefs.h. */
39911 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39913 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39914
39915 /* System header to define __stub macros and hopefully few prototypes,
39916 which can conflict with char pthread_mutex_timedlock (); below.
39917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39918 <limits.h> exists even on freestanding compilers. */
39919
39920 #ifdef __STDC__
39921 # include <limits.h>
39922 #else
39923 # include <assert.h>
39924 #endif
39925
39926 #undef pthread_mutex_timedlock
39927
39928 /* Override any GCC internal prototype to avoid an error.
39929 Use char because int might match the return type of a GCC
39930 builtin and then its argument prototype would still apply. */
39931 #ifdef __cplusplus
39932 extern "C"
39933 #endif
39934 char pthread_mutex_timedlock ();
39935 /* The GNU C library defines this for functions which it implements
39936 to always fail with ENOSYS. Some functions are actually named
39937 something starting with __ and the normal name is an alias. */
39938 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39939 choke me
39940 #endif
39941
39942 int
39943 main ()
39944 {
39945 return pthread_mutex_timedlock ();
39946 ;
39947 return 0;
39948 }
39949 _ACEOF
39950 rm -f conftest.$ac_objext conftest$ac_exeext
39951 if { (ac_try="$ac_link"
39952 case "(($ac_try" in
39953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39954 *) ac_try_echo=$ac_try;;
39955 esac
39956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39957 (eval "$ac_link") 2>conftest.er1
39958 ac_status=$?
39959 grep -v '^ *+' conftest.er1 >conftest.err
39960 rm -f conftest.er1
39961 cat conftest.err >&5
39962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39963 (exit $ac_status); } && {
39964 test -z "$ac_c_werror_flag" ||
39965 test ! -s conftest.err
39966 } && test -s conftest$ac_exeext &&
39967 $as_test_x conftest$ac_exeext; then
39968 ac_cv_func_pthread_mutex_timedlock=yes
39969 else
39970 echo "$as_me: failed program was:" >&5
39971 sed 's/^/| /' conftest.$ac_ext >&5
39972
39973 ac_cv_func_pthread_mutex_timedlock=no
39974 fi
39975
39976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39977 conftest$ac_exeext conftest.$ac_ext
39978 fi
39979 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39980 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39981 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39982 cat >>confdefs.h <<\_ACEOF
39983 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39984 _ACEOF
39985
39986 else
39987 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39988 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39989 fi
39990
39991
39992 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39993 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39994 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39995 echo $ECHO_N "(cached) $ECHO_C" >&6
39996 else
39997 cat >conftest.$ac_ext <<_ACEOF
39998 /* confdefs.h. */
39999 _ACEOF
40000 cat confdefs.h >>conftest.$ac_ext
40001 cat >>conftest.$ac_ext <<_ACEOF
40002 /* end confdefs.h. */
40003 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40005 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40006
40007 /* System header to define __stub macros and hopefully few prototypes,
40008 which can conflict with char pthread_attr_setstacksize (); below.
40009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40010 <limits.h> exists even on freestanding compilers. */
40011
40012 #ifdef __STDC__
40013 # include <limits.h>
40014 #else
40015 # include <assert.h>
40016 #endif
40017
40018 #undef pthread_attr_setstacksize
40019
40020 /* Override any GCC internal prototype to avoid an error.
40021 Use char because int might match the return type of a GCC
40022 builtin and then its argument prototype would still apply. */
40023 #ifdef __cplusplus
40024 extern "C"
40025 #endif
40026 char pthread_attr_setstacksize ();
40027 /* The GNU C library defines this for functions which it implements
40028 to always fail with ENOSYS. Some functions are actually named
40029 something starting with __ and the normal name is an alias. */
40030 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40031 choke me
40032 #endif
40033
40034 int
40035 main ()
40036 {
40037 return pthread_attr_setstacksize ();
40038 ;
40039 return 0;
40040 }
40041 _ACEOF
40042 rm -f conftest.$ac_objext conftest$ac_exeext
40043 if { (ac_try="$ac_link"
40044 case "(($ac_try" in
40045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40046 *) ac_try_echo=$ac_try;;
40047 esac
40048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40049 (eval "$ac_link") 2>conftest.er1
40050 ac_status=$?
40051 grep -v '^ *+' conftest.er1 >conftest.err
40052 rm -f conftest.er1
40053 cat conftest.err >&5
40054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40055 (exit $ac_status); } && {
40056 test -z "$ac_c_werror_flag" ||
40057 test ! -s conftest.err
40058 } && test -s conftest$ac_exeext &&
40059 $as_test_x conftest$ac_exeext; then
40060 ac_cv_func_pthread_attr_setstacksize=yes
40061 else
40062 echo "$as_me: failed program was:" >&5
40063 sed 's/^/| /' conftest.$ac_ext >&5
40064
40065 ac_cv_func_pthread_attr_setstacksize=no
40066 fi
40067
40068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40069 conftest$ac_exeext conftest.$ac_ext
40070 fi
40071 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40072 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40073 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40074 cat >>confdefs.h <<\_ACEOF
40075 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40076 _ACEOF
40077
40078 fi
40079
40080
40081
40082 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40083 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40084 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40085 echo $ECHO_N "(cached) $ECHO_C" >&6
40086 else
40087
40088 cat >conftest.$ac_ext <<_ACEOF
40089 /* confdefs.h. */
40090 _ACEOF
40091 cat confdefs.h >>conftest.$ac_ext
40092 cat >>conftest.$ac_ext <<_ACEOF
40093 /* end confdefs.h. */
40094 #include <pthread.h>
40095 int
40096 main ()
40097 {
40098
40099 pthread_mutexattr_t attr;
40100 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40101
40102 ;
40103 return 0;
40104 }
40105 _ACEOF
40106 rm -f conftest.$ac_objext
40107 if { (ac_try="$ac_compile"
40108 case "(($ac_try" in
40109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40110 *) ac_try_echo=$ac_try;;
40111 esac
40112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40113 (eval "$ac_compile") 2>conftest.er1
40114 ac_status=$?
40115 grep -v '^ *+' conftest.er1 >conftest.err
40116 rm -f conftest.er1
40117 cat conftest.err >&5
40118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40119 (exit $ac_status); } && {
40120 test -z "$ac_c_werror_flag" ||
40121 test ! -s conftest.err
40122 } && test -s conftest.$ac_objext; then
40123 wx_cv_type_pthread_mutexattr_t=yes
40124 else
40125 echo "$as_me: failed program was:" >&5
40126 sed 's/^/| /' conftest.$ac_ext >&5
40127
40128 wx_cv_type_pthread_mutexattr_t=no
40129
40130 fi
40131
40132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40133
40134 fi
40135 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40136 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40137
40138 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40139 cat >>confdefs.h <<\_ACEOF
40140 #define HAVE_PTHREAD_MUTEXATTR_T 1
40141 _ACEOF
40142
40143
40144 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40145 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40146 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40147 echo $ECHO_N "(cached) $ECHO_C" >&6
40148 else
40149
40150 cat >conftest.$ac_ext <<_ACEOF
40151 /* confdefs.h. */
40152 _ACEOF
40153 cat confdefs.h >>conftest.$ac_ext
40154 cat >>conftest.$ac_ext <<_ACEOF
40155 /* end confdefs.h. */
40156 #include <pthread.h>
40157 int
40158 main ()
40159 {
40160
40161 pthread_mutexattr_t attr;
40162 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40163
40164 ;
40165 return 0;
40166 }
40167 _ACEOF
40168 rm -f conftest.$ac_objext
40169 if { (ac_try="$ac_compile"
40170 case "(($ac_try" in
40171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40172 *) ac_try_echo=$ac_try;;
40173 esac
40174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40175 (eval "$ac_compile") 2>conftest.er1
40176 ac_status=$?
40177 grep -v '^ *+' conftest.er1 >conftest.err
40178 rm -f conftest.er1
40179 cat conftest.err >&5
40180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40181 (exit $ac_status); } && {
40182 test -z "$ac_c_werror_flag" ||
40183 test ! -s conftest.err
40184 } && test -s conftest.$ac_objext; then
40185 wx_cv_func_pthread_mutexattr_settype_decl=yes
40186 else
40187 echo "$as_me: failed program was:" >&5
40188 sed 's/^/| /' conftest.$ac_ext >&5
40189
40190 wx_cv_func_pthread_mutexattr_settype_decl=no
40191
40192 fi
40193
40194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40195
40196 fi
40197 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40198 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40199 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40200 cat >>confdefs.h <<\_ACEOF
40201 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40202 _ACEOF
40203
40204 fi
40205 else
40206 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40207 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40208 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40209 echo $ECHO_N "(cached) $ECHO_C" >&6
40210 else
40211
40212 cat >conftest.$ac_ext <<_ACEOF
40213 /* confdefs.h. */
40214 _ACEOF
40215 cat confdefs.h >>conftest.$ac_ext
40216 cat >>conftest.$ac_ext <<_ACEOF
40217 /* end confdefs.h. */
40218 #include <pthread.h>
40219 int
40220 main ()
40221 {
40222
40223 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40224
40225 ;
40226 return 0;
40227 }
40228 _ACEOF
40229 rm -f conftest.$ac_objext
40230 if { (ac_try="$ac_compile"
40231 case "(($ac_try" in
40232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40233 *) ac_try_echo=$ac_try;;
40234 esac
40235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40236 (eval "$ac_compile") 2>conftest.er1
40237 ac_status=$?
40238 grep -v '^ *+' conftest.er1 >conftest.err
40239 rm -f conftest.er1
40240 cat conftest.err >&5
40241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40242 (exit $ac_status); } && {
40243 test -z "$ac_c_werror_flag" ||
40244 test ! -s conftest.err
40245 } && test -s conftest.$ac_objext; then
40246
40247 wx_cv_type_pthread_rec_mutex_init=yes
40248
40249 else
40250 echo "$as_me: failed program was:" >&5
40251 sed 's/^/| /' conftest.$ac_ext >&5
40252
40253
40254 wx_cv_type_pthread_rec_mutex_init=no
40255
40256
40257 fi
40258
40259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40260
40261 fi
40262 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40263 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40264 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40265 cat >>confdefs.h <<\_ACEOF
40266 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40267 _ACEOF
40268
40269 else
40270 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40271 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40272 fi
40273 fi
40274
40275 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40276 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40277 if test "${wx_cv_cc___thread+set}" = set; then
40278 echo $ECHO_N "(cached) $ECHO_C" >&6
40279 else
40280
40281 cat >conftest.$ac_ext <<_ACEOF
40282 /* confdefs.h. */
40283 _ACEOF
40284 cat confdefs.h >>conftest.$ac_ext
40285 cat >>conftest.$ac_ext <<_ACEOF
40286 /* end confdefs.h. */
40287 #include <pthread.h>
40288 int
40289 main ()
40290 {
40291
40292 static __thread int n = 0;
40293 static __thread int *p = 0;
40294
40295 ;
40296 return 0;
40297 }
40298 _ACEOF
40299 rm -f conftest.$ac_objext
40300 if { (ac_try="$ac_compile"
40301 case "(($ac_try" in
40302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40303 *) ac_try_echo=$ac_try;;
40304 esac
40305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40306 (eval "$ac_compile") 2>conftest.er1
40307 ac_status=$?
40308 grep -v '^ *+' conftest.er1 >conftest.err
40309 rm -f conftest.er1
40310 cat conftest.err >&5
40311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40312 (exit $ac_status); } && {
40313 test -z "$ac_c_werror_flag" ||
40314 test ! -s conftest.err
40315 } && test -s conftest.$ac_objext; then
40316 wx_cv_cc___thread=yes
40317 else
40318 echo "$as_me: failed program was:" >&5
40319 sed 's/^/| /' conftest.$ac_ext >&5
40320
40321 wx_cv_cc___thread=no
40322
40323 fi
40324
40325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40326
40327
40328 fi
40329 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40330 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40331
40332 if test "$wx_cv_cc___thread" = "yes"; then
40333
40334 GXX_VERSION=""
40335
40336
40337
40338 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40339 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40340
40341 if test "x$GCC" = "xyes" ; then
40342
40343 if test -z "" ; then
40344
40345 ax_gcc_option_test="int main()
40346 {
40347 return 0;
40348 }"
40349
40350 else
40351
40352 ax_gcc_option_test=""
40353
40354 fi
40355
40356
40357 # Dump the test program to file
40358 cat <<EOF > conftest.c
40359 $ax_gcc_option_test
40360 EOF
40361
40362 # Dump back the file to the log, useful for debugging purposes
40363 { ac_try='cat conftest.c 1>&5'
40364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40365 (eval $ac_try) 2>&5
40366 ac_status=$?
40367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40368 (exit $ac_status); }; }
40369
40370 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40372 (eval $ac_try) 2>&5
40373 ac_status=$?
40374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40375 (exit $ac_status); }; } ; then
40376
40377 { echo "$as_me:$LINENO: result: yes" >&5
40378 echo "${ECHO_T}yes" >&6; }
40379
40380 ax_gcc_version_option=yes
40381
40382
40383 else
40384
40385 { echo "$as_me:$LINENO: result: no" >&5
40386 echo "${ECHO_T}no" >&6; }
40387
40388 ax_gcc_version_option=no
40389
40390
40391 fi
40392
40393
40394 else
40395
40396 { echo "$as_me:$LINENO: result: no gcc available" >&5
40397 echo "${ECHO_T}no gcc available" >&6; }
40398
40399 fi
40400
40401
40402 if test "x$GXX" = "xyes"; then
40403
40404 if test "x$ax_gxx_version_option" != "no"; then
40405
40406 { echo "$as_me:$LINENO: checking gxx version" >&5
40407 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40408 if test "${ax_cv_gxx_version+set}" = set; then
40409 echo $ECHO_N "(cached) $ECHO_C" >&6
40410 else
40411
40412 ax_cv_gxx_version="`$CXX -dumpversion`"
40413 if test "x$ax_cv_gxx_version" = "x"; then
40414
40415 ax_cv_gxx_version=""
40416
40417 fi
40418
40419
40420 fi
40421 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40422 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40423 GXX_VERSION=$ax_cv_gxx_version
40424
40425 fi
40426
40427
40428 fi
40429
40430
40431
40432 if test -n "$ax_cv_gxx_version"; then
40433 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40434 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40435 case "$ax_cv_gxx_version" in
40436 1.* | 2.* | 3.* )
40437 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40438 echo "${ECHO_T}no, it's broken" >&6; }
40439 wx_cv_cc___thread=no
40440 ;;
40441 *)
40442 { echo "$as_me:$LINENO: result: yes, it works" >&5
40443 echo "${ECHO_T}yes, it works" >&6; }
40444 ;;
40445 esac
40446 fi
40447 fi
40448
40449 if test "$wx_cv_cc___thread" = "yes"; then
40450 cat >>confdefs.h <<\_ACEOF
40451 #define HAVE___THREAD_KEYWORD 1
40452 _ACEOF
40453
40454 fi
40455 fi
40456
40457 else
40458 if test "$wxUSE_THREADS" = "yes" ; then
40459 case "${host}" in
40460 x86_64-*-mingw32* )
40461 ;;
40462 *-*-mingw32* )
40463 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40464 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40465 if test "${wx_cv_cflags_mthread+set}" = set; then
40466 echo $ECHO_N "(cached) $ECHO_C" >&6
40467 else
40468
40469 CFLAGS_OLD="$CFLAGS"
40470 CFLAGS="-mthreads $CFLAGS"
40471 cat >conftest.$ac_ext <<_ACEOF
40472 /* confdefs.h. */
40473 _ACEOF
40474 cat confdefs.h >>conftest.$ac_ext
40475 cat >>conftest.$ac_ext <<_ACEOF
40476 /* end confdefs.h. */
40477
40478 int
40479 main ()
40480 {
40481
40482 ;
40483 return 0;
40484 }
40485 _ACEOF
40486 rm -f conftest.$ac_objext
40487 if { (ac_try="$ac_compile"
40488 case "(($ac_try" in
40489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40490 *) ac_try_echo=$ac_try;;
40491 esac
40492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40493 (eval "$ac_compile") 2>conftest.er1
40494 ac_status=$?
40495 grep -v '^ *+' conftest.er1 >conftest.err
40496 rm -f conftest.er1
40497 cat conftest.err >&5
40498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40499 (exit $ac_status); } && {
40500 test -z "$ac_c_werror_flag" ||
40501 test ! -s conftest.err
40502 } && test -s conftest.$ac_objext; then
40503 wx_cv_cflags_mthread=yes
40504 else
40505 echo "$as_me: failed program was:" >&5
40506 sed 's/^/| /' conftest.$ac_ext >&5
40507
40508 wx_cv_cflags_mthread=no
40509
40510 fi
40511
40512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40513
40514
40515 fi
40516 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40517 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40518
40519 if test "$wx_cv_cflags_mthread" = "yes"; then
40520 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40521 LDFLAGS="$LDFLAGS -mthreads"
40522 else
40523 CFLAGS="$CFLAGS_OLD"
40524 fi
40525 ;;
40526 *-pc-os2*emx )
40527 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40528 LDFLAGS="$LDFLAGS -Zmt"
40529 ;;
40530 esac
40531 fi
40532 fi
40533
40534 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40535 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40536 if test "${ac_cv_func_localtime_r+set}" = set; then
40537 echo $ECHO_N "(cached) $ECHO_C" >&6
40538 else
40539 cat >conftest.$ac_ext <<_ACEOF
40540 /* confdefs.h. */
40541 _ACEOF
40542 cat confdefs.h >>conftest.$ac_ext
40543 cat >>conftest.$ac_ext <<_ACEOF
40544 /* end confdefs.h. */
40545 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40547 #define localtime_r innocuous_localtime_r
40548
40549 /* System header to define __stub macros and hopefully few prototypes,
40550 which can conflict with char localtime_r (); below.
40551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40552 <limits.h> exists even on freestanding compilers. */
40553
40554 #ifdef __STDC__
40555 # include <limits.h>
40556 #else
40557 # include <assert.h>
40558 #endif
40559
40560 #undef localtime_r
40561
40562 /* Override any GCC internal prototype to avoid an error.
40563 Use char because int might match the return type of a GCC
40564 builtin and then its argument prototype would still apply. */
40565 #ifdef __cplusplus
40566 extern "C"
40567 #endif
40568 char localtime_r ();
40569 /* The GNU C library defines this for functions which it implements
40570 to always fail with ENOSYS. Some functions are actually named
40571 something starting with __ and the normal name is an alias. */
40572 #if defined __stub_localtime_r || defined __stub___localtime_r
40573 choke me
40574 #endif
40575
40576 int
40577 main ()
40578 {
40579 return localtime_r ();
40580 ;
40581 return 0;
40582 }
40583 _ACEOF
40584 rm -f conftest.$ac_objext conftest$ac_exeext
40585 if { (ac_try="$ac_link"
40586 case "(($ac_try" in
40587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40588 *) ac_try_echo=$ac_try;;
40589 esac
40590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40591 (eval "$ac_link") 2>conftest.er1
40592 ac_status=$?
40593 grep -v '^ *+' conftest.er1 >conftest.err
40594 rm -f conftest.er1
40595 cat conftest.err >&5
40596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40597 (exit $ac_status); } && {
40598 test -z "$ac_c_werror_flag" ||
40599 test ! -s conftest.err
40600 } && test -s conftest$ac_exeext &&
40601 $as_test_x conftest$ac_exeext; then
40602 ac_cv_func_localtime_r=yes
40603 else
40604 echo "$as_me: failed program was:" >&5
40605 sed 's/^/| /' conftest.$ac_ext >&5
40606
40607 ac_cv_func_localtime_r=no
40608 fi
40609
40610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40611 conftest$ac_exeext conftest.$ac_ext
40612 fi
40613 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40614 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40615 if test $ac_cv_func_localtime_r = yes; then
40616 cat >>confdefs.h <<\_ACEOF
40617 #define HAVE_LOCALTIME_R 1
40618 _ACEOF
40619
40620 fi
40621
40622 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40623 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40624 if test "${ac_cv_func_gmtime_r+set}" = set; then
40625 echo $ECHO_N "(cached) $ECHO_C" >&6
40626 else
40627 cat >conftest.$ac_ext <<_ACEOF
40628 /* confdefs.h. */
40629 _ACEOF
40630 cat confdefs.h >>conftest.$ac_ext
40631 cat >>conftest.$ac_ext <<_ACEOF
40632 /* end confdefs.h. */
40633 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40635 #define gmtime_r innocuous_gmtime_r
40636
40637 /* System header to define __stub macros and hopefully few prototypes,
40638 which can conflict with char gmtime_r (); below.
40639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40640 <limits.h> exists even on freestanding compilers. */
40641
40642 #ifdef __STDC__
40643 # include <limits.h>
40644 #else
40645 # include <assert.h>
40646 #endif
40647
40648 #undef gmtime_r
40649
40650 /* Override any GCC internal prototype to avoid an error.
40651 Use char because int might match the return type of a GCC
40652 builtin and then its argument prototype would still apply. */
40653 #ifdef __cplusplus
40654 extern "C"
40655 #endif
40656 char gmtime_r ();
40657 /* The GNU C library defines this for functions which it implements
40658 to always fail with ENOSYS. Some functions are actually named
40659 something starting with __ and the normal name is an alias. */
40660 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40661 choke me
40662 #endif
40663
40664 int
40665 main ()
40666 {
40667 return gmtime_r ();
40668 ;
40669 return 0;
40670 }
40671 _ACEOF
40672 rm -f conftest.$ac_objext conftest$ac_exeext
40673 if { (ac_try="$ac_link"
40674 case "(($ac_try" in
40675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40676 *) ac_try_echo=$ac_try;;
40677 esac
40678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40679 (eval "$ac_link") 2>conftest.er1
40680 ac_status=$?
40681 grep -v '^ *+' conftest.er1 >conftest.err
40682 rm -f conftest.er1
40683 cat conftest.err >&5
40684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40685 (exit $ac_status); } && {
40686 test -z "$ac_c_werror_flag" ||
40687 test ! -s conftest.err
40688 } && test -s conftest$ac_exeext &&
40689 $as_test_x conftest$ac_exeext; then
40690 ac_cv_func_gmtime_r=yes
40691 else
40692 echo "$as_me: failed program was:" >&5
40693 sed 's/^/| /' conftest.$ac_ext >&5
40694
40695 ac_cv_func_gmtime_r=no
40696 fi
40697
40698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40699 conftest$ac_exeext conftest.$ac_ext
40700 fi
40701 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40702 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40703 if test $ac_cv_func_gmtime_r = yes; then
40704 cat >>confdefs.h <<\_ACEOF
40705 #define HAVE_GMTIME_R 1
40706 _ACEOF
40707
40708 fi
40709
40710
40711
40712
40713 ac_ext=c
40714 ac_cpp='$CPP $CPPFLAGS'
40715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40718
40719 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40720 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40721
40722 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40723 echo $ECHO_N "(cached) $ECHO_C" >&6
40724 else
40725
40726
40727 ################################################################
40728
40729 ac_cv_func_which_gethostbyname_r=unknown
40730
40731 #
40732 # ONE ARGUMENT (sanity check)
40733 #
40734
40735 # This should fail, as there is no variant of gethostbyname_r() that takes
40736 # a single argument. If it actually compiles, then we can assume that
40737 # netdb.h is not declaring the function, and the compiler is thereby
40738 # assuming an implicit prototype. In which case, we're out of luck.
40739 #
40740 cat >conftest.$ac_ext <<_ACEOF
40741 /* confdefs.h. */
40742 _ACEOF
40743 cat confdefs.h >>conftest.$ac_ext
40744 cat >>conftest.$ac_ext <<_ACEOF
40745 /* end confdefs.h. */
40746 #include <netdb.h>
40747 int
40748 main ()
40749 {
40750
40751 char *name = "www.gnu.org";
40752 (void)gethostbyname_r(name) /* ; */
40753
40754 ;
40755 return 0;
40756 }
40757 _ACEOF
40758 rm -f conftest.$ac_objext
40759 if { (ac_try="$ac_compile"
40760 case "(($ac_try" in
40761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40762 *) ac_try_echo=$ac_try;;
40763 esac
40764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40765 (eval "$ac_compile") 2>conftest.er1
40766 ac_status=$?
40767 grep -v '^ *+' conftest.er1 >conftest.err
40768 rm -f conftest.er1
40769 cat conftest.err >&5
40770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40771 (exit $ac_status); } && {
40772 test -z "$ac_c_werror_flag" ||
40773 test ! -s conftest.err
40774 } && test -s conftest.$ac_objext; then
40775 ac_cv_func_which_gethostbyname_r=no
40776 else
40777 echo "$as_me: failed program was:" >&5
40778 sed 's/^/| /' conftest.$ac_ext >&5
40779
40780
40781 fi
40782
40783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40784
40785 #
40786 # SIX ARGUMENTS
40787 # (e.g. Linux)
40788 #
40789
40790 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40791
40792 cat >conftest.$ac_ext <<_ACEOF
40793 /* confdefs.h. */
40794 _ACEOF
40795 cat confdefs.h >>conftest.$ac_ext
40796 cat >>conftest.$ac_ext <<_ACEOF
40797 /* end confdefs.h. */
40798 #include <netdb.h>
40799 int
40800 main ()
40801 {
40802
40803 char *name = "www.gnu.org";
40804 struct hostent ret, *retp;
40805 char buf[1024];
40806 int buflen = 1024;
40807 int my_h_errno;
40808 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40809
40810 ;
40811 return 0;
40812 }
40813 _ACEOF
40814 rm -f conftest.$ac_objext
40815 if { (ac_try="$ac_compile"
40816 case "(($ac_try" in
40817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40818 *) ac_try_echo=$ac_try;;
40819 esac
40820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40821 (eval "$ac_compile") 2>conftest.er1
40822 ac_status=$?
40823 grep -v '^ *+' conftest.er1 >conftest.err
40824 rm -f conftest.er1
40825 cat conftest.err >&5
40826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40827 (exit $ac_status); } && {
40828 test -z "$ac_c_werror_flag" ||
40829 test ! -s conftest.err
40830 } && test -s conftest.$ac_objext; then
40831 ac_cv_func_which_gethostbyname_r=six
40832 else
40833 echo "$as_me: failed program was:" >&5
40834 sed 's/^/| /' conftest.$ac_ext >&5
40835
40836
40837 fi
40838
40839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40840
40841 fi
40842
40843 #
40844 # FIVE ARGUMENTS
40845 # (e.g. Solaris)
40846 #
40847
40848 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40849
40850 cat >conftest.$ac_ext <<_ACEOF
40851 /* confdefs.h. */
40852 _ACEOF
40853 cat confdefs.h >>conftest.$ac_ext
40854 cat >>conftest.$ac_ext <<_ACEOF
40855 /* end confdefs.h. */
40856 #include <netdb.h>
40857 int
40858 main ()
40859 {
40860
40861 char *name = "www.gnu.org";
40862 struct hostent ret;
40863 char buf[1024];
40864 int buflen = 1024;
40865 int my_h_errno;
40866 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40867
40868 ;
40869 return 0;
40870 }
40871 _ACEOF
40872 rm -f conftest.$ac_objext
40873 if { (ac_try="$ac_compile"
40874 case "(($ac_try" in
40875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40876 *) ac_try_echo=$ac_try;;
40877 esac
40878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40879 (eval "$ac_compile") 2>conftest.er1
40880 ac_status=$?
40881 grep -v '^ *+' conftest.er1 >conftest.err
40882 rm -f conftest.er1
40883 cat conftest.err >&5
40884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40885 (exit $ac_status); } && {
40886 test -z "$ac_c_werror_flag" ||
40887 test ! -s conftest.err
40888 } && test -s conftest.$ac_objext; then
40889 ac_cv_func_which_gethostbyname_r=five
40890 else
40891 echo "$as_me: failed program was:" >&5
40892 sed 's/^/| /' conftest.$ac_ext >&5
40893
40894
40895 fi
40896
40897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40898
40899 fi
40900
40901 #
40902 # THREE ARGUMENTS
40903 # (e.g. AIX, HP-UX, Tru64)
40904 #
40905
40906 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40907
40908 cat >conftest.$ac_ext <<_ACEOF
40909 /* confdefs.h. */
40910 _ACEOF
40911 cat confdefs.h >>conftest.$ac_ext
40912 cat >>conftest.$ac_ext <<_ACEOF
40913 /* end confdefs.h. */
40914 #include <netdb.h>
40915 int
40916 main ()
40917 {
40918
40919 char *name = "www.gnu.org";
40920 struct hostent ret;
40921 struct hostent_data data;
40922 (void)gethostbyname_r(name, &ret, &data) /* ; */
40923
40924 ;
40925 return 0;
40926 }
40927 _ACEOF
40928 rm -f conftest.$ac_objext
40929 if { (ac_try="$ac_compile"
40930 case "(($ac_try" in
40931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40932 *) ac_try_echo=$ac_try;;
40933 esac
40934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40935 (eval "$ac_compile") 2>conftest.er1
40936 ac_status=$?
40937 grep -v '^ *+' conftest.er1 >conftest.err
40938 rm -f conftest.er1
40939 cat conftest.err >&5
40940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40941 (exit $ac_status); } && {
40942 test -z "$ac_c_werror_flag" ||
40943 test ! -s conftest.err
40944 } && test -s conftest.$ac_objext; then
40945 ac_cv_func_which_gethostbyname_r=three
40946 else
40947 echo "$as_me: failed program was:" >&5
40948 sed 's/^/| /' conftest.$ac_ext >&5
40949
40950
40951 fi
40952
40953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40954
40955 fi
40956
40957 ################################################################
40958
40959
40960 fi
40961
40962 case "$ac_cv_func_which_gethostbyname_r" in
40963 three)
40964 { echo "$as_me:$LINENO: result: three" >&5
40965 echo "${ECHO_T}three" >&6; }
40966 cat >>confdefs.h <<\_ACEOF
40967 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40968 _ACEOF
40969
40970 ;;
40971
40972 five)
40973 { echo "$as_me:$LINENO: result: five" >&5
40974 echo "${ECHO_T}five" >&6; }
40975 cat >>confdefs.h <<\_ACEOF
40976 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40977 _ACEOF
40978
40979 ;;
40980
40981 six)
40982 { echo "$as_me:$LINENO: result: six" >&5
40983 echo "${ECHO_T}six" >&6; }
40984 cat >>confdefs.h <<\_ACEOF
40985 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40986 _ACEOF
40987
40988 ;;
40989
40990 no)
40991 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40992 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40993 ;;
40994
40995 unknown)
40996 { echo "$as_me:$LINENO: result: can't tell" >&5
40997 echo "${ECHO_T}can't tell" >&6; }
40998 ;;
40999
41000 *)
41001 { { echo "$as_me:$LINENO: error: internal error" >&5
41002 echo "$as_me: error: internal error" >&2;}
41003 { (exit 1); exit 1; }; }
41004 ;;
41005 esac
41006
41007 ac_ext=c
41008 ac_cpp='$CPP $CPPFLAGS'
41009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41012
41013
41014
41015 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41016 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41017 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41018 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41019 if test "${ac_cv_func_gethostbyname+set}" = set; then
41020 echo $ECHO_N "(cached) $ECHO_C" >&6
41021 else
41022 cat >conftest.$ac_ext <<_ACEOF
41023 /* confdefs.h. */
41024 _ACEOF
41025 cat confdefs.h >>conftest.$ac_ext
41026 cat >>conftest.$ac_ext <<_ACEOF
41027 /* end confdefs.h. */
41028 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41030 #define gethostbyname innocuous_gethostbyname
41031
41032 /* System header to define __stub macros and hopefully few prototypes,
41033 which can conflict with char gethostbyname (); below.
41034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41035 <limits.h> exists even on freestanding compilers. */
41036
41037 #ifdef __STDC__
41038 # include <limits.h>
41039 #else
41040 # include <assert.h>
41041 #endif
41042
41043 #undef gethostbyname
41044
41045 /* Override any GCC internal prototype to avoid an error.
41046 Use char because int might match the return type of a GCC
41047 builtin and then its argument prototype would still apply. */
41048 #ifdef __cplusplus
41049 extern "C"
41050 #endif
41051 char gethostbyname ();
41052 /* The GNU C library defines this for functions which it implements
41053 to always fail with ENOSYS. Some functions are actually named
41054 something starting with __ and the normal name is an alias. */
41055 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41056 choke me
41057 #endif
41058
41059 int
41060 main ()
41061 {
41062 return gethostbyname ();
41063 ;
41064 return 0;
41065 }
41066 _ACEOF
41067 rm -f conftest.$ac_objext conftest$ac_exeext
41068 if { (ac_try="$ac_link"
41069 case "(($ac_try" in
41070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41071 *) ac_try_echo=$ac_try;;
41072 esac
41073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41074 (eval "$ac_link") 2>conftest.er1
41075 ac_status=$?
41076 grep -v '^ *+' conftest.er1 >conftest.err
41077 rm -f conftest.er1
41078 cat conftest.err >&5
41079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41080 (exit $ac_status); } && {
41081 test -z "$ac_c_werror_flag" ||
41082 test ! -s conftest.err
41083 } && test -s conftest$ac_exeext &&
41084 $as_test_x conftest$ac_exeext; then
41085 ac_cv_func_gethostbyname=yes
41086 else
41087 echo "$as_me: failed program was:" >&5
41088 sed 's/^/| /' conftest.$ac_ext >&5
41089
41090 ac_cv_func_gethostbyname=no
41091 fi
41092
41093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41094 conftest$ac_exeext conftest.$ac_ext
41095 fi
41096 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41097 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41098 if test $ac_cv_func_gethostbyname = yes; then
41099 cat >>confdefs.h <<\_ACEOF
41100 #define HAVE_GETHOSTBYNAME 1
41101 _ACEOF
41102
41103 fi
41104
41105 fi
41106
41107 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41108 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41109 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41110 echo $ECHO_N "(cached) $ECHO_C" >&6
41111 else
41112
41113 ac_ext=cpp
41114 ac_cpp='$CXXCPP $CPPFLAGS'
41115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41118
41119
41120 cat >conftest.$ac_ext <<_ACEOF
41121 /* confdefs.h. */
41122 _ACEOF
41123 cat confdefs.h >>conftest.$ac_ext
41124 cat >>conftest.$ac_ext <<_ACEOF
41125 /* end confdefs.h. */
41126 #include <netdb.h>
41127 int
41128 main ()
41129 {
41130
41131 char *name;
41132 char *proto;
41133 struct servent *se, *res;
41134 char buffer[2048];
41135 int buflen = 2048;
41136 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41137
41138 ;
41139 return 0;
41140 }
41141 _ACEOF
41142 rm -f conftest.$ac_objext
41143 if { (ac_try="$ac_compile"
41144 case "(($ac_try" in
41145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41146 *) ac_try_echo=$ac_try;;
41147 esac
41148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41149 (eval "$ac_compile") 2>conftest.er1
41150 ac_status=$?
41151 grep -v '^ *+' conftest.er1 >conftest.err
41152 rm -f conftest.er1
41153 cat conftest.err >&5
41154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41155 (exit $ac_status); } && {
41156 test -z "$ac_cxx_werror_flag" ||
41157 test ! -s conftest.err
41158 } && test -s conftest.$ac_objext; then
41159 ac_cv_func_which_getservbyname_r=six
41160 else
41161 echo "$as_me: failed program was:" >&5
41162 sed 's/^/| /' conftest.$ac_ext >&5
41163
41164
41165 cat >conftest.$ac_ext <<_ACEOF
41166 /* confdefs.h. */
41167 _ACEOF
41168 cat confdefs.h >>conftest.$ac_ext
41169 cat >>conftest.$ac_ext <<_ACEOF
41170 /* end confdefs.h. */
41171 #include <netdb.h>
41172 int
41173 main ()
41174 {
41175
41176 char *name;
41177 char *proto;
41178 struct servent *se;
41179 char buffer[2048];
41180 int buflen = 2048;
41181 (void) getservbyname_r(name, proto, se, buffer, buflen)
41182
41183 ;
41184 return 0;
41185 }
41186 _ACEOF
41187 rm -f conftest.$ac_objext
41188 if { (ac_try="$ac_compile"
41189 case "(($ac_try" in
41190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41191 *) ac_try_echo=$ac_try;;
41192 esac
41193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41194 (eval "$ac_compile") 2>conftest.er1
41195 ac_status=$?
41196 grep -v '^ *+' conftest.er1 >conftest.err
41197 rm -f conftest.er1
41198 cat conftest.err >&5
41199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41200 (exit $ac_status); } && {
41201 test -z "$ac_cxx_werror_flag" ||
41202 test ! -s conftest.err
41203 } && test -s conftest.$ac_objext; then
41204 ac_cv_func_which_getservbyname_r=five
41205 else
41206 echo "$as_me: failed program was:" >&5
41207 sed 's/^/| /' conftest.$ac_ext >&5
41208
41209
41210 cat >conftest.$ac_ext <<_ACEOF
41211 /* confdefs.h. */
41212 _ACEOF
41213 cat confdefs.h >>conftest.$ac_ext
41214 cat >>conftest.$ac_ext <<_ACEOF
41215 /* end confdefs.h. */
41216 #include <netdb.h>
41217 int
41218 main ()
41219 {
41220
41221 char *name;
41222 char *proto;
41223 struct servent *se;
41224 struct servent_data data;
41225 (void) getservbyname_r(name, proto, se, &data);
41226
41227 ;
41228 return 0;
41229 }
41230 _ACEOF
41231 rm -f conftest.$ac_objext
41232 if { (ac_try="$ac_compile"
41233 case "(($ac_try" in
41234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41235 *) ac_try_echo=$ac_try;;
41236 esac
41237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41238 (eval "$ac_compile") 2>conftest.er1
41239 ac_status=$?
41240 grep -v '^ *+' conftest.er1 >conftest.err
41241 rm -f conftest.er1
41242 cat conftest.err >&5
41243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41244 (exit $ac_status); } && {
41245 test -z "$ac_cxx_werror_flag" ||
41246 test ! -s conftest.err
41247 } && test -s conftest.$ac_objext; then
41248 ac_cv_func_which_getservbyname_r=four
41249 else
41250 echo "$as_me: failed program was:" >&5
41251 sed 's/^/| /' conftest.$ac_ext >&5
41252
41253 ac_cv_func_which_getservbyname_r=no
41254
41255 fi
41256
41257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41258
41259
41260 fi
41261
41262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41263
41264
41265 fi
41266
41267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41268 ac_ext=c
41269 ac_cpp='$CPP $CPPFLAGS'
41270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41273
41274
41275
41276 fi
41277 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41278 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41279
41280 if test $ac_cv_func_which_getservbyname_r = six; then
41281 cat >>confdefs.h <<\_ACEOF
41282 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41283 _ACEOF
41284
41285 elif test $ac_cv_func_which_getservbyname_r = five; then
41286 cat >>confdefs.h <<\_ACEOF
41287 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41288 _ACEOF
41289
41290 elif test $ac_cv_func_which_getservbyname_r = four; then
41291 cat >>confdefs.h <<\_ACEOF
41292 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41293 _ACEOF
41294
41295 fi
41296
41297
41298 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41299 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41300
41301 for ac_func in getservbyname
41302 do
41303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41304 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41306 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41307 echo $ECHO_N "(cached) $ECHO_C" >&6
41308 else
41309 cat >conftest.$ac_ext <<_ACEOF
41310 /* confdefs.h. */
41311 _ACEOF
41312 cat confdefs.h >>conftest.$ac_ext
41313 cat >>conftest.$ac_ext <<_ACEOF
41314 /* end confdefs.h. */
41315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41317 #define $ac_func innocuous_$ac_func
41318
41319 /* System header to define __stub macros and hopefully few prototypes,
41320 which can conflict with char $ac_func (); below.
41321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41322 <limits.h> exists even on freestanding compilers. */
41323
41324 #ifdef __STDC__
41325 # include <limits.h>
41326 #else
41327 # include <assert.h>
41328 #endif
41329
41330 #undef $ac_func
41331
41332 /* Override any GCC internal prototype to avoid an error.
41333 Use char because int might match the return type of a GCC
41334 builtin and then its argument prototype would still apply. */
41335 #ifdef __cplusplus
41336 extern "C"
41337 #endif
41338 char $ac_func ();
41339 /* The GNU C library defines this for functions which it implements
41340 to always fail with ENOSYS. Some functions are actually named
41341 something starting with __ and the normal name is an alias. */
41342 #if defined __stub_$ac_func || defined __stub___$ac_func
41343 choke me
41344 #endif
41345
41346 int
41347 main ()
41348 {
41349 return $ac_func ();
41350 ;
41351 return 0;
41352 }
41353 _ACEOF
41354 rm -f conftest.$ac_objext conftest$ac_exeext
41355 if { (ac_try="$ac_link"
41356 case "(($ac_try" in
41357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41358 *) ac_try_echo=$ac_try;;
41359 esac
41360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41361 (eval "$ac_link") 2>conftest.er1
41362 ac_status=$?
41363 grep -v '^ *+' conftest.er1 >conftest.err
41364 rm -f conftest.er1
41365 cat conftest.err >&5
41366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41367 (exit $ac_status); } && {
41368 test -z "$ac_c_werror_flag" ||
41369 test ! -s conftest.err
41370 } && test -s conftest$ac_exeext &&
41371 $as_test_x conftest$ac_exeext; then
41372 eval "$as_ac_var=yes"
41373 else
41374 echo "$as_me: failed program was:" >&5
41375 sed 's/^/| /' conftest.$ac_ext >&5
41376
41377 eval "$as_ac_var=no"
41378 fi
41379
41380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41381 conftest$ac_exeext conftest.$ac_ext
41382 fi
41383 ac_res=`eval echo '${'$as_ac_var'}'`
41384 { echo "$as_me:$LINENO: result: $ac_res" >&5
41385 echo "${ECHO_T}$ac_res" >&6; }
41386 if test `eval echo '${'$as_ac_var'}'` = yes; then
41387 cat >>confdefs.h <<_ACEOF
41388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41389 _ACEOF
41390 cat >>confdefs.h <<\_ACEOF
41391 #define HAVE_GETSERVBYNAME 1
41392 _ACEOF
41393
41394 fi
41395 done
41396
41397 fi
41398
41399 if test "$wxUSE_THREADS" = "yes"; then
41400 cat >>confdefs.h <<\_ACEOF
41401 #define wxUSE_THREADS 1
41402 _ACEOF
41403
41404
41405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41406 else
41407 if test "$wx_cv_func_strtok_r" = "yes"; then
41408 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41409 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41410 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41411 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41412 { echo "$as_me:$LINENO: result: yes" >&5
41413 echo "${ECHO_T}yes" >&6; }
41414 else
41415 { echo "$as_me:$LINENO: result: no" >&5
41416 echo "${ECHO_T}no" >&6; }
41417 fi
41418 fi
41419 fi
41420
41421 if test "$WXGTK2" = 1 ; then
41422 cat >>confdefs.h <<_ACEOF
41423 #define __WXGTK20__ $WXGTK2
41424 _ACEOF
41425
41426 WXGTK12=1
41427 fi
41428
41429 if test "$WXGTK12" = 1 ; then
41430 cat >>confdefs.h <<_ACEOF
41431 #define __WXGTK12__ $WXGTK12
41432 _ACEOF
41433
41434 fi
41435
41436 if test "$WXGTK127" = 1 ; then
41437 cat >>confdefs.h <<_ACEOF
41438 #define __WXGTK127__ $WXGTK127
41439 _ACEOF
41440
41441 fi
41442
41443 if test "$WXGPE" = 1 ; then
41444 cat >>confdefs.h <<_ACEOF
41445 #define __WXGPE__ $WXGPE
41446 _ACEOF
41447
41448 fi
41449
41450 DEBUG_CFLAGS=
41451 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41452 DEBUG_CFLAGS="-g"
41453 fi
41454
41455 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41456 wxUSE_DEBUG_INFO=yes
41457 if test "$GCC" = yes; then
41458 DEBUG_CFLAGS="-ggdb"
41459 fi
41460 fi
41461
41462 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41463 cat >>confdefs.h <<\_ACEOF
41464 #define WXDEBUG 1
41465 _ACEOF
41466
41467 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41468 else
41469 if test "$wxUSE_GTK" = 1 ; then
41470 if test "x$wxGTK_VERSION" = "x1" ; then
41471 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41472 fi
41473 fi
41474 fi
41475
41476 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41477 cat >>confdefs.h <<\_ACEOF
41478 #define wxUSE_MEMORY_TRACING 1
41479 _ACEOF
41480
41481 cat >>confdefs.h <<\_ACEOF
41482 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41483 _ACEOF
41484
41485 cat >>confdefs.h <<\_ACEOF
41486 #define wxUSE_DEBUG_NEW_ALWAYS 1
41487 _ACEOF
41488
41489 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41490 fi
41491
41492 if test "$wxUSE_DMALLOC" = "yes" ; then
41493 DMALLOC_LIBS="-ldmallocthcxx"
41494 fi
41495
41496 PROFILE_FLAGS=
41497 if test "$wxUSE_PROFILE" = "yes" ; then
41498 PROFILE_FLAGS=" -pg"
41499 fi
41500
41501 if test "$GCC" = "yes" ; then
41502 if test "$wxUSE_NO_RTTI" = "yes" ; then
41503 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41504 fi
41505 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41506 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41507 fi
41508 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41509 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41510 fi
41511
41512 case "${host}" in
41513 powerpc*-*-aix* )
41514 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41515 ;;
41516 *-hppa* )
41517 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41518 ;;
41519 esac
41520 fi
41521
41522 OPTIMISE_CFLAGS=
41523 if test "$wxUSE_OPTIMISE" = "no" ; then
41524 if test "$GCC" = yes ; then
41525 OPTIMISE_CFLAGS="-O0"
41526 fi
41527 else
41528 if test "$GCC" = yes ; then
41529 case "${host}" in
41530 *-pc-os2_emx | *-pc-os2-emx )
41531 OPTIMISE_CFLAGS="-O2"
41532 ;;
41533 *)
41534 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41535 ;;
41536 esac
41537 else
41538 OPTIMISE_CFLAGS="-O"
41539 fi
41540 fi
41541
41542
41543 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41544 cat >>confdefs.h <<\_ACEOF
41545 #define WXWIN_COMPATIBILITY_2_6 1
41546 _ACEOF
41547
41548
41549 WXWIN_COMPATIBILITY_2_8="yes"
41550 fi
41551
41552 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41553 cat >>confdefs.h <<\_ACEOF
41554 #define WXWIN_COMPATIBILITY_2_8 1
41555 _ACEOF
41556
41557 fi
41558
41559
41560 if test "$wxUSE_GUI" = "yes"; then
41561 cat >>confdefs.h <<\_ACEOF
41562 #define wxUSE_GUI 1
41563 _ACEOF
41564
41565
41566 fi
41567
41568
41569 if test "$wxUSE_UNIX" = "yes"; then
41570 cat >>confdefs.h <<\_ACEOF
41571 #define wxUSE_UNIX 1
41572 _ACEOF
41573
41574 fi
41575
41576
41577 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41578
41579 HAVE_DL_FUNCS=0
41580 HAVE_SHL_FUNCS=0
41581 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41582 if test "$USE_DOS" = 1; then
41583 HAVE_DL_FUNCS=0
41584 else
41585
41586 for ac_func in dlopen
41587 do
41588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41589 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41591 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41592 echo $ECHO_N "(cached) $ECHO_C" >&6
41593 else
41594 cat >conftest.$ac_ext <<_ACEOF
41595 /* confdefs.h. */
41596 _ACEOF
41597 cat confdefs.h >>conftest.$ac_ext
41598 cat >>conftest.$ac_ext <<_ACEOF
41599 /* end confdefs.h. */
41600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41602 #define $ac_func innocuous_$ac_func
41603
41604 /* System header to define __stub macros and hopefully few prototypes,
41605 which can conflict with char $ac_func (); below.
41606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41607 <limits.h> exists even on freestanding compilers. */
41608
41609 #ifdef __STDC__
41610 # include <limits.h>
41611 #else
41612 # include <assert.h>
41613 #endif
41614
41615 #undef $ac_func
41616
41617 /* Override any GCC internal prototype to avoid an error.
41618 Use char because int might match the return type of a GCC
41619 builtin and then its argument prototype would still apply. */
41620 #ifdef __cplusplus
41621 extern "C"
41622 #endif
41623 char $ac_func ();
41624 /* The GNU C library defines this for functions which it implements
41625 to always fail with ENOSYS. Some functions are actually named
41626 something starting with __ and the normal name is an alias. */
41627 #if defined __stub_$ac_func || defined __stub___$ac_func
41628 choke me
41629 #endif
41630
41631 int
41632 main ()
41633 {
41634 return $ac_func ();
41635 ;
41636 return 0;
41637 }
41638 _ACEOF
41639 rm -f conftest.$ac_objext conftest$ac_exeext
41640 if { (ac_try="$ac_link"
41641 case "(($ac_try" in
41642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41643 *) ac_try_echo=$ac_try;;
41644 esac
41645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41646 (eval "$ac_link") 2>conftest.er1
41647 ac_status=$?
41648 grep -v '^ *+' conftest.er1 >conftest.err
41649 rm -f conftest.er1
41650 cat conftest.err >&5
41651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41652 (exit $ac_status); } && {
41653 test -z "$ac_c_werror_flag" ||
41654 test ! -s conftest.err
41655 } && test -s conftest$ac_exeext &&
41656 $as_test_x conftest$ac_exeext; then
41657 eval "$as_ac_var=yes"
41658 else
41659 echo "$as_me: failed program was:" >&5
41660 sed 's/^/| /' conftest.$ac_ext >&5
41661
41662 eval "$as_ac_var=no"
41663 fi
41664
41665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41666 conftest$ac_exeext conftest.$ac_ext
41667 fi
41668 ac_res=`eval echo '${'$as_ac_var'}'`
41669 { echo "$as_me:$LINENO: result: $ac_res" >&5
41670 echo "${ECHO_T}$ac_res" >&6; }
41671 if test `eval echo '${'$as_ac_var'}'` = yes; then
41672 cat >>confdefs.h <<_ACEOF
41673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41674 _ACEOF
41675
41676 cat >>confdefs.h <<\_ACEOF
41677 #define HAVE_DLOPEN 1
41678 _ACEOF
41679
41680 HAVE_DL_FUNCS=1
41681
41682 else
41683
41684 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41685 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41686 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41687 echo $ECHO_N "(cached) $ECHO_C" >&6
41688 else
41689 ac_check_lib_save_LIBS=$LIBS
41690 LIBS="-ldl $LIBS"
41691 cat >conftest.$ac_ext <<_ACEOF
41692 /* confdefs.h. */
41693 _ACEOF
41694 cat confdefs.h >>conftest.$ac_ext
41695 cat >>conftest.$ac_ext <<_ACEOF
41696 /* end confdefs.h. */
41697
41698 /* Override any GCC internal prototype to avoid an error.
41699 Use char because int might match the return type of a GCC
41700 builtin and then its argument prototype would still apply. */
41701 #ifdef __cplusplus
41702 extern "C"
41703 #endif
41704 char dlopen ();
41705 int
41706 main ()
41707 {
41708 return dlopen ();
41709 ;
41710 return 0;
41711 }
41712 _ACEOF
41713 rm -f conftest.$ac_objext conftest$ac_exeext
41714 if { (ac_try="$ac_link"
41715 case "(($ac_try" in
41716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41717 *) ac_try_echo=$ac_try;;
41718 esac
41719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41720 (eval "$ac_link") 2>conftest.er1
41721 ac_status=$?
41722 grep -v '^ *+' conftest.er1 >conftest.err
41723 rm -f conftest.er1
41724 cat conftest.err >&5
41725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41726 (exit $ac_status); } && {
41727 test -z "$ac_c_werror_flag" ||
41728 test ! -s conftest.err
41729 } && test -s conftest$ac_exeext &&
41730 $as_test_x conftest$ac_exeext; then
41731 ac_cv_lib_dl_dlopen=yes
41732 else
41733 echo "$as_me: failed program was:" >&5
41734 sed 's/^/| /' conftest.$ac_ext >&5
41735
41736 ac_cv_lib_dl_dlopen=no
41737 fi
41738
41739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41740 conftest$ac_exeext conftest.$ac_ext
41741 LIBS=$ac_check_lib_save_LIBS
41742 fi
41743 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41744 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41745 if test $ac_cv_lib_dl_dlopen = yes; then
41746
41747 cat >>confdefs.h <<\_ACEOF
41748 #define HAVE_DLOPEN 1
41749 _ACEOF
41750
41751 HAVE_DL_FUNCS=1
41752 DL_LINK=" -ldl$DL_LINK"
41753
41754 else
41755
41756
41757 for ac_func in shl_load
41758 do
41759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41760 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41762 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41763 echo $ECHO_N "(cached) $ECHO_C" >&6
41764 else
41765 cat >conftest.$ac_ext <<_ACEOF
41766 /* confdefs.h. */
41767 _ACEOF
41768 cat confdefs.h >>conftest.$ac_ext
41769 cat >>conftest.$ac_ext <<_ACEOF
41770 /* end confdefs.h. */
41771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41773 #define $ac_func innocuous_$ac_func
41774
41775 /* System header to define __stub macros and hopefully few prototypes,
41776 which can conflict with char $ac_func (); below.
41777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41778 <limits.h> exists even on freestanding compilers. */
41779
41780 #ifdef __STDC__
41781 # include <limits.h>
41782 #else
41783 # include <assert.h>
41784 #endif
41785
41786 #undef $ac_func
41787
41788 /* Override any GCC internal prototype to avoid an error.
41789 Use char because int might match the return type of a GCC
41790 builtin and then its argument prototype would still apply. */
41791 #ifdef __cplusplus
41792 extern "C"
41793 #endif
41794 char $ac_func ();
41795 /* The GNU C library defines this for functions which it implements
41796 to always fail with ENOSYS. Some functions are actually named
41797 something starting with __ and the normal name is an alias. */
41798 #if defined __stub_$ac_func || defined __stub___$ac_func
41799 choke me
41800 #endif
41801
41802 int
41803 main ()
41804 {
41805 return $ac_func ();
41806 ;
41807 return 0;
41808 }
41809 _ACEOF
41810 rm -f conftest.$ac_objext conftest$ac_exeext
41811 if { (ac_try="$ac_link"
41812 case "(($ac_try" in
41813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41814 *) ac_try_echo=$ac_try;;
41815 esac
41816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41817 (eval "$ac_link") 2>conftest.er1
41818 ac_status=$?
41819 grep -v '^ *+' conftest.er1 >conftest.err
41820 rm -f conftest.er1
41821 cat conftest.err >&5
41822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41823 (exit $ac_status); } && {
41824 test -z "$ac_c_werror_flag" ||
41825 test ! -s conftest.err
41826 } && test -s conftest$ac_exeext &&
41827 $as_test_x conftest$ac_exeext; then
41828 eval "$as_ac_var=yes"
41829 else
41830 echo "$as_me: failed program was:" >&5
41831 sed 's/^/| /' conftest.$ac_ext >&5
41832
41833 eval "$as_ac_var=no"
41834 fi
41835
41836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41837 conftest$ac_exeext conftest.$ac_ext
41838 fi
41839 ac_res=`eval echo '${'$as_ac_var'}'`
41840 { echo "$as_me:$LINENO: result: $ac_res" >&5
41841 echo "${ECHO_T}$ac_res" >&6; }
41842 if test `eval echo '${'$as_ac_var'}'` = yes; then
41843 cat >>confdefs.h <<_ACEOF
41844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41845 _ACEOF
41846
41847 cat >>confdefs.h <<\_ACEOF
41848 #define HAVE_SHL_LOAD 1
41849 _ACEOF
41850
41851 HAVE_SHL_FUNCS=1
41852
41853 else
41854
41855 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41856 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41857 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41858 echo $ECHO_N "(cached) $ECHO_C" >&6
41859 else
41860 ac_check_lib_save_LIBS=$LIBS
41861 LIBS="-lshl_load $LIBS"
41862 cat >conftest.$ac_ext <<_ACEOF
41863 /* confdefs.h. */
41864 _ACEOF
41865 cat confdefs.h >>conftest.$ac_ext
41866 cat >>conftest.$ac_ext <<_ACEOF
41867 /* end confdefs.h. */
41868
41869 /* Override any GCC internal prototype to avoid an error.
41870 Use char because int might match the return type of a GCC
41871 builtin and then its argument prototype would still apply. */
41872 #ifdef __cplusplus
41873 extern "C"
41874 #endif
41875 char dld ();
41876 int
41877 main ()
41878 {
41879 return dld ();
41880 ;
41881 return 0;
41882 }
41883 _ACEOF
41884 rm -f conftest.$ac_objext conftest$ac_exeext
41885 if { (ac_try="$ac_link"
41886 case "(($ac_try" in
41887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41888 *) ac_try_echo=$ac_try;;
41889 esac
41890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41891 (eval "$ac_link") 2>conftest.er1
41892 ac_status=$?
41893 grep -v '^ *+' conftest.er1 >conftest.err
41894 rm -f conftest.er1
41895 cat conftest.err >&5
41896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41897 (exit $ac_status); } && {
41898 test -z "$ac_c_werror_flag" ||
41899 test ! -s conftest.err
41900 } && test -s conftest$ac_exeext &&
41901 $as_test_x conftest$ac_exeext; then
41902 ac_cv_lib_shl_load_dld=yes
41903 else
41904 echo "$as_me: failed program was:" >&5
41905 sed 's/^/| /' conftest.$ac_ext >&5
41906
41907 ac_cv_lib_shl_load_dld=no
41908 fi
41909
41910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41911 conftest$ac_exeext conftest.$ac_ext
41912 LIBS=$ac_check_lib_save_LIBS
41913 fi
41914 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41915 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41916 if test $ac_cv_lib_shl_load_dld = yes; then
41917
41918 HAVE_SHL_FUNCS=1
41919 DL_LINK=" -ldld$DL_LINK"
41920
41921 fi
41922
41923
41924 fi
41925 done
41926
41927
41928 fi
41929
41930
41931 fi
41932 done
41933
41934
41935 if test "$HAVE_DL_FUNCS" = 1; then
41936
41937 for ac_func in dlerror
41938 do
41939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41942 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41943 echo $ECHO_N "(cached) $ECHO_C" >&6
41944 else
41945 cat >conftest.$ac_ext <<_ACEOF
41946 /* confdefs.h. */
41947 _ACEOF
41948 cat confdefs.h >>conftest.$ac_ext
41949 cat >>conftest.$ac_ext <<_ACEOF
41950 /* end confdefs.h. */
41951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41953 #define $ac_func innocuous_$ac_func
41954
41955 /* System header to define __stub macros and hopefully few prototypes,
41956 which can conflict with char $ac_func (); below.
41957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41958 <limits.h> exists even on freestanding compilers. */
41959
41960 #ifdef __STDC__
41961 # include <limits.h>
41962 #else
41963 # include <assert.h>
41964 #endif
41965
41966 #undef $ac_func
41967
41968 /* Override any GCC internal prototype to avoid an error.
41969 Use char because int might match the return type of a GCC
41970 builtin and then its argument prototype would still apply. */
41971 #ifdef __cplusplus
41972 extern "C"
41973 #endif
41974 char $ac_func ();
41975 /* The GNU C library defines this for functions which it implements
41976 to always fail with ENOSYS. Some functions are actually named
41977 something starting with __ and the normal name is an alias. */
41978 #if defined __stub_$ac_func || defined __stub___$ac_func
41979 choke me
41980 #endif
41981
41982 int
41983 main ()
41984 {
41985 return $ac_func ();
41986 ;
41987 return 0;
41988 }
41989 _ACEOF
41990 rm -f conftest.$ac_objext conftest$ac_exeext
41991 if { (ac_try="$ac_link"
41992 case "(($ac_try" in
41993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41994 *) ac_try_echo=$ac_try;;
41995 esac
41996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41997 (eval "$ac_link") 2>conftest.er1
41998 ac_status=$?
41999 grep -v '^ *+' conftest.er1 >conftest.err
42000 rm -f conftest.er1
42001 cat conftest.err >&5
42002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42003 (exit $ac_status); } && {
42004 test -z "$ac_c_werror_flag" ||
42005 test ! -s conftest.err
42006 } && test -s conftest$ac_exeext &&
42007 $as_test_x conftest$ac_exeext; then
42008 eval "$as_ac_var=yes"
42009 else
42010 echo "$as_me: failed program was:" >&5
42011 sed 's/^/| /' conftest.$ac_ext >&5
42012
42013 eval "$as_ac_var=no"
42014 fi
42015
42016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42017 conftest$ac_exeext conftest.$ac_ext
42018 fi
42019 ac_res=`eval echo '${'$as_ac_var'}'`
42020 { echo "$as_me:$LINENO: result: $ac_res" >&5
42021 echo "${ECHO_T}$ac_res" >&6; }
42022 if test `eval echo '${'$as_ac_var'}'` = yes; then
42023 cat >>confdefs.h <<_ACEOF
42024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42025 _ACEOF
42026 cat >>confdefs.h <<\_ACEOF
42027 #define HAVE_DLERROR 1
42028 _ACEOF
42029
42030 else
42031
42032 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42033 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42034 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42035 echo $ECHO_N "(cached) $ECHO_C" >&6
42036 else
42037 ac_check_lib_save_LIBS=$LIBS
42038 LIBS="-ldl $LIBS"
42039 cat >conftest.$ac_ext <<_ACEOF
42040 /* confdefs.h. */
42041 _ACEOF
42042 cat confdefs.h >>conftest.$ac_ext
42043 cat >>conftest.$ac_ext <<_ACEOF
42044 /* end confdefs.h. */
42045
42046 /* Override any GCC internal prototype to avoid an error.
42047 Use char because int might match the return type of a GCC
42048 builtin and then its argument prototype would still apply. */
42049 #ifdef __cplusplus
42050 extern "C"
42051 #endif
42052 char dlerror ();
42053 int
42054 main ()
42055 {
42056 return dlerror ();
42057 ;
42058 return 0;
42059 }
42060 _ACEOF
42061 rm -f conftest.$ac_objext conftest$ac_exeext
42062 if { (ac_try="$ac_link"
42063 case "(($ac_try" in
42064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42065 *) ac_try_echo=$ac_try;;
42066 esac
42067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42068 (eval "$ac_link") 2>conftest.er1
42069 ac_status=$?
42070 grep -v '^ *+' conftest.er1 >conftest.err
42071 rm -f conftest.er1
42072 cat conftest.err >&5
42073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42074 (exit $ac_status); } && {
42075 test -z "$ac_c_werror_flag" ||
42076 test ! -s conftest.err
42077 } && test -s conftest$ac_exeext &&
42078 $as_test_x conftest$ac_exeext; then
42079 ac_cv_lib_dl_dlerror=yes
42080 else
42081 echo "$as_me: failed program was:" >&5
42082 sed 's/^/| /' conftest.$ac_ext >&5
42083
42084 ac_cv_lib_dl_dlerror=no
42085 fi
42086
42087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42088 conftest$ac_exeext conftest.$ac_ext
42089 LIBS=$ac_check_lib_save_LIBS
42090 fi
42091 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42092 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42093 if test $ac_cv_lib_dl_dlerror = yes; then
42094 cat >>confdefs.h <<\_ACEOF
42095 #define HAVE_DLERROR 1
42096 _ACEOF
42097
42098 fi
42099
42100
42101
42102 fi
42103 done
42104
42105 fi
42106 fi
42107
42108 if test "$USE_DARWIN" = 1; then
42109 HAVE_DL_FUNCS=1
42110 fi
42111
42112 if test "$HAVE_DL_FUNCS" = 0; then
42113 if test "$HAVE_SHL_FUNCS" = 0; then
42114 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42115 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42116 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42117 wxUSE_DYNAMIC_LOADER=no
42118 wxUSE_DYNLIB_CLASS=no
42119 else
42120 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42121 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42122 fi
42123 fi
42124 fi
42125 fi
42126 fi
42127
42128 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42129 cat >>confdefs.h <<\_ACEOF
42130 #define wxUSE_DYNAMIC_LOADER 1
42131 _ACEOF
42132
42133 fi
42134 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42135 cat >>confdefs.h <<\_ACEOF
42136 #define wxUSE_DYNLIB_CLASS 1
42137 _ACEOF
42138
42139 fi
42140
42141
42142
42143 if test "$wxUSE_PLUGINS" = "yes" ; then
42144 if test "$wxUSE_SHARED" = "no" ; then
42145 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42146 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42147 wxUSE_PLUGINS=no
42148 fi
42149 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42150 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42151 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42152 wxUSE_PLUGINS=no
42153 fi
42154 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42155 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42156 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42157 wxUSE_PLUGINS=no
42158 fi
42159 if test "$wxUSE_PLUGINS" = "yes" ; then
42160 cat >>confdefs.h <<\_ACEOF
42161 #define wxUSE_PLUGINS 1
42162 _ACEOF
42163
42164 fi
42165 fi
42166
42167
42168 if test "$wxUSE_STL" = "yes"; then
42169 cat >>confdefs.h <<\_ACEOF
42170 #define wxUSE_STL 1
42171 _ACEOF
42172
42173 fi
42174
42175 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42176 cat >>confdefs.h <<\_ACEOF
42177 #define wxUSE_EXTENDED_RTTI 1
42178 _ACEOF
42179
42180 fi
42181
42182 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42183 cat >>confdefs.h <<\_ACEOF
42184 #define wxUSE_APPLE_IEEE 1
42185 _ACEOF
42186
42187 fi
42188
42189 if test "$wxUSE_TIMER" = "yes"; then
42190 cat >>confdefs.h <<\_ACEOF
42191 #define wxUSE_TIMER 1
42192 _ACEOF
42193
42194 fi
42195
42196 if test "$USE_UNIX" = 1 ; then
42197 if test "$wxUSE_MGL" != 1; then
42198 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42199 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42200 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42201 echo $ECHO_N "(cached) $ECHO_C" >&6
42202 else
42203
42204 cat >conftest.$ac_ext <<_ACEOF
42205 /* confdefs.h. */
42206 _ACEOF
42207 cat confdefs.h >>conftest.$ac_ext
42208 cat >>conftest.$ac_ext <<_ACEOF
42209 /* end confdefs.h. */
42210
42211 #include <sys/ioctl.h>
42212 #include <sys/soundcard.h>
42213
42214 int
42215 main ()
42216 {
42217
42218 ioctl(0, SNDCTL_DSP_SPEED, 0);
42219
42220 ;
42221 return 0;
42222 }
42223 _ACEOF
42224 rm -f conftest.$ac_objext conftest$ac_exeext
42225 if { (ac_try="$ac_link"
42226 case "(($ac_try" in
42227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42228 *) ac_try_echo=$ac_try;;
42229 esac
42230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42231 (eval "$ac_link") 2>conftest.er1
42232 ac_status=$?
42233 grep -v '^ *+' conftest.er1 >conftest.err
42234 rm -f conftest.er1
42235 cat conftest.err >&5
42236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42237 (exit $ac_status); } && {
42238 test -z "$ac_c_werror_flag" ||
42239 test ! -s conftest.err
42240 } && test -s conftest$ac_exeext &&
42241 $as_test_x conftest$ac_exeext; then
42242 ac_cv_header_sys_soundcard=yes
42243 else
42244 echo "$as_me: failed program was:" >&5
42245 sed 's/^/| /' conftest.$ac_ext >&5
42246
42247
42248 saveLibs="$LIBS"
42249 LIBS="$saveLibs -lossaudio"
42250 cat >conftest.$ac_ext <<_ACEOF
42251 /* confdefs.h. */
42252 _ACEOF
42253 cat confdefs.h >>conftest.$ac_ext
42254 cat >>conftest.$ac_ext <<_ACEOF
42255 /* end confdefs.h. */
42256
42257 #include <sys/ioctl.h>
42258 #include <sys/soundcard.h>
42259
42260 int
42261 main ()
42262 {
42263
42264 ioctl(0, SNDCTL_DSP_SPEED, 0);
42265
42266 ;
42267 return 0;
42268 }
42269 _ACEOF
42270 rm -f conftest.$ac_objext conftest$ac_exeext
42271 if { (ac_try="$ac_link"
42272 case "(($ac_try" in
42273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42274 *) ac_try_echo=$ac_try;;
42275 esac
42276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42277 (eval "$ac_link") 2>conftest.er1
42278 ac_status=$?
42279 grep -v '^ *+' conftest.er1 >conftest.err
42280 rm -f conftest.er1
42281 cat conftest.err >&5
42282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42283 (exit $ac_status); } && {
42284 test -z "$ac_c_werror_flag" ||
42285 test ! -s conftest.err
42286 } && test -s conftest$ac_exeext &&
42287 $as_test_x conftest$ac_exeext; then
42288 ac_cv_header_sys_soundcard=yes
42289 else
42290 echo "$as_me: failed program was:" >&5
42291 sed 's/^/| /' conftest.$ac_ext >&5
42292
42293
42294 LIBS="$saveLibs"
42295 ac_cv_header_sys_soundcard=no
42296
42297
42298 fi
42299
42300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42301 conftest$ac_exeext conftest.$ac_ext
42302
42303
42304 fi
42305
42306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42307 conftest$ac_exeext conftest.$ac_ext
42308
42309 fi
42310 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42311 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42312 fi
42313
42314 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42315 cat >>confdefs.h <<\_ACEOF
42316 #define HAVE_SYS_SOUNDCARD_H 1
42317 _ACEOF
42318
42319 fi
42320 fi
42321
42322 WITH_PLUGIN_SDL=0
42323 if test "$wxUSE_SOUND" = "yes"; then
42324 if test "$USE_UNIX" = 1 ; then
42325 if test "$wxUSE_LIBSDL" != "no"; then
42326
42327 # Check whether --with-sdl-prefix was given.
42328 if test "${with_sdl_prefix+set}" = set; then
42329 withval=$with_sdl_prefix; sdl_prefix="$withval"
42330 else
42331 sdl_prefix=""
42332 fi
42333
42334
42335 # Check whether --with-sdl-exec-prefix was given.
42336 if test "${with_sdl_exec_prefix+set}" = set; then
42337 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42338 else
42339 sdl_exec_prefix=""
42340 fi
42341
42342 # Check whether --enable-sdltest was given.
42343 if test "${enable_sdltest+set}" = set; then
42344 enableval=$enable_sdltest;
42345 else
42346 enable_sdltest=yes
42347 fi
42348
42349
42350 if test x$sdl_exec_prefix != x ; then
42351 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42352 if test x${SDL_CONFIG+set} != xset ; then
42353 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42354 fi
42355 fi
42356 if test x$sdl_prefix != x ; then
42357 sdl_args="$sdl_args --prefix=$sdl_prefix"
42358 if test x${SDL_CONFIG+set} != xset ; then
42359 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42360 fi
42361 fi
42362
42363 if test "x$prefix" != xNONE; then
42364 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42365 fi
42366 # Extract the first word of "sdl-config", so it can be a program name with args.
42367 set dummy sdl-config; ac_word=$2
42368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42370 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42371 echo $ECHO_N "(cached) $ECHO_C" >&6
42372 else
42373 case $SDL_CONFIG in
42374 [\\/]* | ?:[\\/]*)
42375 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42376 ;;
42377 *)
42378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42379 for as_dir in $PATH
42380 do
42381 IFS=$as_save_IFS
42382 test -z "$as_dir" && as_dir=.
42383 for ac_exec_ext in '' $ac_executable_extensions; do
42384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42385 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42387 break 2
42388 fi
42389 done
42390 done
42391 IFS=$as_save_IFS
42392
42393 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42394 ;;
42395 esac
42396 fi
42397 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42398 if test -n "$SDL_CONFIG"; then
42399 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42400 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42401 else
42402 { echo "$as_me:$LINENO: result: no" >&5
42403 echo "${ECHO_T}no" >&6; }
42404 fi
42405
42406
42407 min_sdl_version=1.2.0
42408 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42409 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42410 no_sdl=""
42411 if test "$SDL_CONFIG" = "no" ; then
42412 no_sdl=yes
42413 else
42414 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42415 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42416
42417 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42418 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42419 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42420 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42421 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42422 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42423 if test "x$enable_sdltest" = "xyes" ; then
42424 ac_save_CFLAGS="$CFLAGS"
42425 ac_save_CXXFLAGS="$CXXFLAGS"
42426 ac_save_LIBS="$LIBS"
42427 CFLAGS="$CFLAGS $SDL_CFLAGS"
42428 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42429 LIBS="$LIBS $SDL_LIBS"
42430 rm -f conf.sdltest
42431 if test "$cross_compiling" = yes; then
42432 echo $ac_n "cross compiling; assumed OK... $ac_c"
42433 else
42434 cat >conftest.$ac_ext <<_ACEOF
42435 /* confdefs.h. */
42436 _ACEOF
42437 cat confdefs.h >>conftest.$ac_ext
42438 cat >>conftest.$ac_ext <<_ACEOF
42439 /* end confdefs.h. */
42440
42441 #include <stdio.h>
42442 #include <stdlib.h>
42443 #include <string.h>
42444 #include "SDL.h"
42445
42446 char*
42447 my_strdup (char *str)
42448 {
42449 char *new_str;
42450
42451 if (str)
42452 {
42453 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42454 strcpy (new_str, str);
42455 }
42456 else
42457 new_str = NULL;
42458
42459 return new_str;
42460 }
42461
42462 int main (int argc, char *argv[])
42463 {
42464 int major, minor, micro;
42465 char *tmp_version;
42466
42467 /* This hangs on some systems (?)
42468 system ("touch conf.sdltest");
42469 */
42470 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42471
42472 /* HP/UX 9 (%@#!) writes to sscanf strings */
42473 tmp_version = my_strdup("$min_sdl_version");
42474 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42475 printf("%s, bad version string\n", "$min_sdl_version");
42476 exit(1);
42477 }
42478
42479 if (($sdl_major_version > major) ||
42480 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42481 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42482 {
42483 return 0;
42484 }
42485 else
42486 {
42487 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42488 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42489 printf("*** best to upgrade to the required version.\n");
42490 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42491 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42492 printf("*** config.cache before re-running configure\n");
42493 return 1;
42494 }
42495 }
42496
42497
42498 _ACEOF
42499 rm -f conftest$ac_exeext
42500 if { (ac_try="$ac_link"
42501 case "(($ac_try" in
42502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42503 *) ac_try_echo=$ac_try;;
42504 esac
42505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42506 (eval "$ac_link") 2>&5
42507 ac_status=$?
42508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42509 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42510 { (case "(($ac_try" in
42511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42512 *) ac_try_echo=$ac_try;;
42513 esac
42514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42515 (eval "$ac_try") 2>&5
42516 ac_status=$?
42517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42518 (exit $ac_status); }; }; then
42519 :
42520 else
42521 echo "$as_me: program exited with status $ac_status" >&5
42522 echo "$as_me: failed program was:" >&5
42523 sed 's/^/| /' conftest.$ac_ext >&5
42524
42525 ( exit $ac_status )
42526 no_sdl=yes
42527 fi
42528 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42529 fi
42530
42531
42532 CFLAGS="$ac_save_CFLAGS"
42533 CXXFLAGS="$ac_save_CXXFLAGS"
42534 LIBS="$ac_save_LIBS"
42535 fi
42536 fi
42537 if test "x$no_sdl" = x ; then
42538 { echo "$as_me:$LINENO: result: yes" >&5
42539 echo "${ECHO_T}yes" >&6; }
42540
42541 EXTRALIBS_SDL="$SDL_LIBS"
42542 CFLAGS="$SDL_CFLAGS $CFLAGS"
42543 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42544 cat >>confdefs.h <<\_ACEOF
42545 #define wxUSE_LIBSDL 1
42546 _ACEOF
42547
42548
42549 else
42550 { echo "$as_me:$LINENO: result: no" >&5
42551 echo "${ECHO_T}no" >&6; }
42552 if test "$SDL_CONFIG" = "no" ; then
42553 echo "*** The sdl-config script installed by SDL could not be found"
42554 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42555 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42556 echo "*** full path to sdl-config."
42557 else
42558 if test -f conf.sdltest ; then
42559 :
42560 else
42561 echo "*** Could not run SDL test program, checking why..."
42562 CFLAGS="$CFLAGS $SDL_CFLAGS"
42563 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42564 LIBS="$LIBS $SDL_LIBS"
42565 cat >conftest.$ac_ext <<_ACEOF
42566 /* confdefs.h. */
42567 _ACEOF
42568 cat confdefs.h >>conftest.$ac_ext
42569 cat >>conftest.$ac_ext <<_ACEOF
42570 /* end confdefs.h. */
42571
42572 #include <stdio.h>
42573 #include "SDL.h"
42574
42575 int main(int argc, char *argv[])
42576 { return 0; }
42577 #undef main
42578 #define main K_and_R_C_main
42579
42580 int
42581 main ()
42582 {
42583 return 0;
42584 ;
42585 return 0;
42586 }
42587 _ACEOF
42588 rm -f conftest.$ac_objext conftest$ac_exeext
42589 if { (ac_try="$ac_link"
42590 case "(($ac_try" in
42591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42592 *) ac_try_echo=$ac_try;;
42593 esac
42594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42595 (eval "$ac_link") 2>conftest.er1
42596 ac_status=$?
42597 grep -v '^ *+' conftest.er1 >conftest.err
42598 rm -f conftest.er1
42599 cat conftest.err >&5
42600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42601 (exit $ac_status); } && {
42602 test -z "$ac_c_werror_flag" ||
42603 test ! -s conftest.err
42604 } && test -s conftest$ac_exeext &&
42605 $as_test_x conftest$ac_exeext; then
42606 echo "*** The test program compiled, but did not run. This usually means"
42607 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42608 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42609 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42610 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42611 echo "*** is required on your system"
42612 echo "***"
42613 echo "*** If you have an old version installed, it is best to remove it, although"
42614 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42615 else
42616 echo "$as_me: failed program was:" >&5
42617 sed 's/^/| /' conftest.$ac_ext >&5
42618
42619 echo "*** The test program failed to compile or link. See the file config.log for the"
42620 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42621 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42622 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42623 fi
42624
42625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42626 conftest$ac_exeext conftest.$ac_ext
42627 CFLAGS="$ac_save_CFLAGS"
42628 CXXFLAGS="$ac_save_CXXFLAGS"
42629 LIBS="$ac_save_LIBS"
42630 fi
42631 fi
42632 SDL_CFLAGS=""
42633 SDL_LIBS=""
42634 wxUSE_LIBSDL="no"
42635 fi
42636
42637
42638 rm -f conf.sdltest
42639
42640 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42641 WITH_PLUGIN_SDL=1
42642 fi
42643 fi
42644 else
42645 if test "$wxUSE_MGL" = 1; then
42646 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42647 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42648 wxUSE_SOUND="no"
42649 fi
42650 fi
42651 fi
42652
42653 if test "$wxUSE_SOUND" = "yes"; then
42654 cat >>confdefs.h <<\_ACEOF
42655 #define wxUSE_SOUND 1
42656 _ACEOF
42657
42658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42659 fi
42660
42661 if test "$WXGTK2" = 1; then
42662
42663
42664 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42665 if test -n "$ac_tool_prefix"; then
42666 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42667 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42670 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42671 echo $ECHO_N "(cached) $ECHO_C" >&6
42672 else
42673 case $PKG_CONFIG in
42674 [\\/]* | ?:[\\/]*)
42675 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42676 ;;
42677 *)
42678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42679 for as_dir in $PATH
42680 do
42681 IFS=$as_save_IFS
42682 test -z "$as_dir" && as_dir=.
42683 for ac_exec_ext in '' $ac_executable_extensions; do
42684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42685 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42687 break 2
42688 fi
42689 done
42690 done
42691 IFS=$as_save_IFS
42692
42693 ;;
42694 esac
42695 fi
42696 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42697 if test -n "$PKG_CONFIG"; then
42698 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42699 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42700 else
42701 { echo "$as_me:$LINENO: result: no" >&5
42702 echo "${ECHO_T}no" >&6; }
42703 fi
42704
42705
42706 fi
42707 if test -z "$ac_cv_path_PKG_CONFIG"; then
42708 ac_pt_PKG_CONFIG=$PKG_CONFIG
42709 # Extract the first word of "pkg-config", so it can be a program name with args.
42710 set dummy pkg-config; ac_word=$2
42711 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42713 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42714 echo $ECHO_N "(cached) $ECHO_C" >&6
42715 else
42716 case $ac_pt_PKG_CONFIG in
42717 [\\/]* | ?:[\\/]*)
42718 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42719 ;;
42720 *)
42721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42722 for as_dir in $PATH
42723 do
42724 IFS=$as_save_IFS
42725 test -z "$as_dir" && as_dir=.
42726 for ac_exec_ext in '' $ac_executable_extensions; do
42727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42728 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42730 break 2
42731 fi
42732 done
42733 done
42734 IFS=$as_save_IFS
42735
42736 ;;
42737 esac
42738 fi
42739 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42740 if test -n "$ac_pt_PKG_CONFIG"; then
42741 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42742 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42743 else
42744 { echo "$as_me:$LINENO: result: no" >&5
42745 echo "${ECHO_T}no" >&6; }
42746 fi
42747
42748 if test "x$ac_pt_PKG_CONFIG" = x; then
42749 PKG_CONFIG=""
42750 else
42751 case $cross_compiling:$ac_tool_warned in
42752 yes:)
42753 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42754 whose name does not start with the host triplet. If you think this
42755 configuration is useful to you, please write to autoconf@gnu.org." >&5
42756 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42757 whose name does not start with the host triplet. If you think this
42758 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42759 ac_tool_warned=yes ;;
42760 esac
42761 PKG_CONFIG=$ac_pt_PKG_CONFIG
42762 fi
42763 else
42764 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42765 fi
42766
42767 fi
42768 if test -n "$PKG_CONFIG"; then
42769 _pkg_min_version=0.9.0
42770 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42771 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42772 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42773 { echo "$as_me:$LINENO: result: yes" >&5
42774 echo "${ECHO_T}yes" >&6; }
42775 else
42776 { echo "$as_me:$LINENO: result: no" >&5
42777 echo "${ECHO_T}no" >&6; }
42778 PKG_CONFIG=""
42779 fi
42780
42781 fi
42782
42783 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42784
42785 if test "$wxUSE_GTKPRINT" = "yes" ; then
42786
42787
42788 pkg_failed=no
42789 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42790 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42791
42792 if test -n "$PKG_CONFIG"; then
42793 if test -n "$GTKPRINT_CFLAGS"; then
42794 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42795 else
42796 if test -n "$PKG_CONFIG" && \
42797 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42798 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42799 ac_status=$?
42800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42801 (exit $ac_status); }; then
42802 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42803 else
42804 pkg_failed=yes
42805 fi
42806 fi
42807 else
42808 pkg_failed=untried
42809 fi
42810 if test -n "$PKG_CONFIG"; then
42811 if test -n "$GTKPRINT_LIBS"; then
42812 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42813 else
42814 if test -n "$PKG_CONFIG" && \
42815 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42816 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42817 ac_status=$?
42818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42819 (exit $ac_status); }; then
42820 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42821 else
42822 pkg_failed=yes
42823 fi
42824 fi
42825 else
42826 pkg_failed=untried
42827 fi
42828
42829
42830
42831 if test $pkg_failed = yes; then
42832
42833 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42834 _pkg_short_errors_supported=yes
42835 else
42836 _pkg_short_errors_supported=no
42837 fi
42838 if test $_pkg_short_errors_supported = yes; then
42839 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42840 else
42841 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42842 fi
42843 # Put the nasty error message in config.log where it belongs
42844 echo "$GTKPRINT_PKG_ERRORS" >&5
42845
42846
42847 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42848 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42849 wxUSE_GTKPRINT="no"
42850
42851
42852 elif test $pkg_failed = untried; then
42853
42854 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42855 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42856 wxUSE_GTKPRINT="no"
42857
42858
42859 else
42860 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42861 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42862 { echo "$as_me:$LINENO: result: yes" >&5
42863 echo "${ECHO_T}yes" >&6; }
42864
42865 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42866 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42867 cat >>confdefs.h <<\_ACEOF
42868 #define wxUSE_GTKPRINT 1
42869 _ACEOF
42870
42871
42872 fi
42873 fi
42874
42875 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42876
42877
42878 pkg_failed=no
42879 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42880 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42881
42882 if test -n "$PKG_CONFIG"; then
42883 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42884 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42885 else
42886 if test -n "$PKG_CONFIG" && \
42887 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42888 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42889 ac_status=$?
42890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42891 (exit $ac_status); }; then
42892 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42893 else
42894 pkg_failed=yes
42895 fi
42896 fi
42897 else
42898 pkg_failed=untried
42899 fi
42900 if test -n "$PKG_CONFIG"; then
42901 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42902 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42903 else
42904 if test -n "$PKG_CONFIG" && \
42905 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42906 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42907 ac_status=$?
42908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 (exit $ac_status); }; then
42910 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42911 else
42912 pkg_failed=yes
42913 fi
42914 fi
42915 else
42916 pkg_failed=untried
42917 fi
42918
42919
42920
42921 if test $pkg_failed = yes; then
42922
42923 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42924 _pkg_short_errors_supported=yes
42925 else
42926 _pkg_short_errors_supported=no
42927 fi
42928 if test $_pkg_short_errors_supported = yes; then
42929 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42930 else
42931 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42932 fi
42933 # Put the nasty error message in config.log where it belongs
42934 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42935
42936
42937 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42938 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42939 wxUSE_LIBGNOMEPRINT="no"
42940
42941
42942 elif test $pkg_failed = untried; then
42943
42944 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42945 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42946 wxUSE_LIBGNOMEPRINT="no"
42947
42948
42949 else
42950 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42951 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42952 { echo "$as_me:$LINENO: result: yes" >&5
42953 echo "${ECHO_T}yes" >&6; }
42954
42955 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42956 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42957 cat >>confdefs.h <<\_ACEOF
42958 #define wxUSE_LIBGNOMEPRINT 1
42959 _ACEOF
42960
42961
42962 fi
42963 fi
42964 fi
42965
42966 if test "$wxUSE_MIMETYPE" = "yes" ; then
42967 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42968
42969
42970 pkg_failed=no
42971 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42972 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42973
42974 if test -n "$PKG_CONFIG"; then
42975 if test -n "$GNOMEVFS_CFLAGS"; then
42976 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42977 else
42978 if test -n "$PKG_CONFIG" && \
42979 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42980 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42981 ac_status=$?
42982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42983 (exit $ac_status); }; then
42984 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42985 else
42986 pkg_failed=yes
42987 fi
42988 fi
42989 else
42990 pkg_failed=untried
42991 fi
42992 if test -n "$PKG_CONFIG"; then
42993 if test -n "$GNOMEVFS_LIBS"; then
42994 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42995 else
42996 if test -n "$PKG_CONFIG" && \
42997 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42998 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42999 ac_status=$?
43000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43001 (exit $ac_status); }; then
43002 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43003 else
43004 pkg_failed=yes
43005 fi
43006 fi
43007 else
43008 pkg_failed=untried
43009 fi
43010
43011
43012
43013 if test $pkg_failed = yes; then
43014
43015 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43016 _pkg_short_errors_supported=yes
43017 else
43018 _pkg_short_errors_supported=no
43019 fi
43020 if test $_pkg_short_errors_supported = yes; then
43021 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43022 else
43023 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43024 fi
43025 # Put the nasty error message in config.log where it belongs
43026 echo "$GNOMEVFS_PKG_ERRORS" >&5
43027
43028
43029 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43030 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43031 wxUSE_LIBGNOMEVFS="no"
43032
43033
43034 elif test $pkg_failed = untried; then
43035
43036 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43037 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43038 wxUSE_LIBGNOMEVFS="no"
43039
43040
43041 else
43042 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43043 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43044 { echo "$as_me:$LINENO: result: yes" >&5
43045 echo "${ECHO_T}yes" >&6; }
43046
43047 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43048 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43049 cat >>confdefs.h <<\_ACEOF
43050 #define wxUSE_LIBGNOMEVFS 1
43051 _ACEOF
43052
43053
43054 fi
43055 fi
43056 fi
43057
43058 if test "$wxUSE_LIBHILDON" = "yes" ; then
43059
43060 pkg_failed=no
43061 { echo "$as_me:$LINENO: checking for HILDON" >&5
43062 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43063
43064 if test -n "$PKG_CONFIG"; then
43065 if test -n "$HILDON_CFLAGS"; then
43066 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43067 else
43068 if test -n "$PKG_CONFIG" && \
43069 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43070 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43071 ac_status=$?
43072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43073 (exit $ac_status); }; then
43074 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43075 else
43076 pkg_failed=yes
43077 fi
43078 fi
43079 else
43080 pkg_failed=untried
43081 fi
43082 if test -n "$PKG_CONFIG"; then
43083 if test -n "$HILDON_LIBS"; then
43084 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43085 else
43086 if test -n "$PKG_CONFIG" && \
43087 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43088 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43089 ac_status=$?
43090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43091 (exit $ac_status); }; then
43092 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43093 else
43094 pkg_failed=yes
43095 fi
43096 fi
43097 else
43098 pkg_failed=untried
43099 fi
43100
43101
43102
43103 if test $pkg_failed = yes; then
43104
43105 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43106 _pkg_short_errors_supported=yes
43107 else
43108 _pkg_short_errors_supported=no
43109 fi
43110 if test $_pkg_short_errors_supported = yes; then
43111 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43112 else
43113 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43114 fi
43115 # Put the nasty error message in config.log where it belongs
43116 echo "$HILDON_PKG_ERRORS" >&5
43117
43118
43119 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43120 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43121 wxUSE_LIBHILDON="no"
43122
43123
43124 elif test $pkg_failed = untried; then
43125
43126 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43127 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43128 wxUSE_LIBHILDON="no"
43129
43130
43131 else
43132 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43133 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43134 { echo "$as_me:$LINENO: result: yes" >&5
43135 echo "${ECHO_T}yes" >&6; }
43136
43137 EXTRALIBS_HILDON="$HILDON_LIBS"
43138 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43139 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43140 cat >>confdefs.h <<\_ACEOF
43141 #define wxUSE_LIBHILDON 1
43142 _ACEOF
43143
43144
43145 fi
43146 fi
43147 fi
43148
43149 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43150 cat >>confdefs.h <<\_ACEOF
43151 #define wxUSE_CMDLINE_PARSER 1
43152 _ACEOF
43153
43154 fi
43155
43156 if test "$wxUSE_STOPWATCH" = "yes"; then
43157 cat >>confdefs.h <<\_ACEOF
43158 #define wxUSE_STOPWATCH 1
43159 _ACEOF
43160
43161 fi
43162
43163 if test "$wxUSE_DATETIME" = "yes"; then
43164 cat >>confdefs.h <<\_ACEOF
43165 #define wxUSE_DATETIME 1
43166 _ACEOF
43167
43168 fi
43169
43170 if test "$wxUSE_FILE" = "yes"; then
43171 cat >>confdefs.h <<\_ACEOF
43172 #define wxUSE_FILE 1
43173 _ACEOF
43174
43175 fi
43176
43177 if test "$wxUSE_FFILE" = "yes"; then
43178 cat >>confdefs.h <<\_ACEOF
43179 #define wxUSE_FFILE 1
43180 _ACEOF
43181
43182 fi
43183
43184 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43185 if test "$wxUSE_STREAMS" != yes; then
43186 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43187 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43188 wxUSE_ARCHIVE_STREAMS=no
43189 else
43190 cat >>confdefs.h <<\_ACEOF
43191 #define wxUSE_ARCHIVE_STREAMS 1
43192 _ACEOF
43193
43194 fi
43195 fi
43196
43197 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43198 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43199 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43200 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43201 elif test "$wxUSE_ZLIB" = "no"; then
43202 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43203 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43204 else
43205 cat >>confdefs.h <<\_ACEOF
43206 #define wxUSE_ZIPSTREAM 1
43207 _ACEOF
43208
43209 fi
43210 fi
43211
43212 if test "$wxUSE_TARSTREAM" = "yes"; then
43213 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43214 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43215 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43216 else
43217 cat >>confdefs.h <<\_ACEOF
43218 #define wxUSE_TARSTREAM 1
43219 _ACEOF
43220
43221 fi
43222 fi
43223
43224 if test "$wxUSE_FILESYSTEM" = "yes"; then
43225 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43226 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43227 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43228 wxUSE_FILESYSTEM=no
43229 else
43230 cat >>confdefs.h <<\_ACEOF
43231 #define wxUSE_FILESYSTEM 1
43232 _ACEOF
43233
43234 fi
43235 fi
43236
43237 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43238 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43239 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43240 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43241 else
43242 cat >>confdefs.h <<\_ACEOF
43243 #define wxUSE_FS_ARCHIVE 1
43244 _ACEOF
43245
43246 fi
43247 fi
43248
43249 if test "$wxUSE_FS_ZIP" = "yes"; then
43250 if test "$wxUSE_FS_ARCHIVE" != yes; then
43251 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43252 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43253 else
43254 cat >>confdefs.h <<\_ACEOF
43255 #define wxUSE_FS_ZIP 1
43256 _ACEOF
43257
43258 fi
43259 fi
43260
43261 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43262 if test "$USE_UNIX" != 1; then
43263 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43264 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43265 wxUSE_ON_FATAL_EXCEPTION=no
43266 else
43267 cat >>confdefs.h <<\_ACEOF
43268 #define wxUSE_ON_FATAL_EXCEPTION 1
43269 _ACEOF
43270
43271 fi
43272 fi
43273
43274 if test "$wxUSE_STACKWALKER" = "yes"; then
43275 cat >>confdefs.h <<\_ACEOF
43276 #define wxUSE_STACKWALKER 1
43277 _ACEOF
43278
43279 fi
43280
43281 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43282 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43283 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43284 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43285 wxUSE_DEBUGREPORT=no
43286 else
43287 cat >>confdefs.h <<\_ACEOF
43288 #define wxUSE_DEBUGREPORT 1
43289 _ACEOF
43290
43291 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43292 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43293 fi
43294 fi
43295 fi
43296
43297 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43298 cat >>confdefs.h <<\_ACEOF
43299 #define wxUSE_SNGLINST_CHECKER 1
43300 _ACEOF
43301
43302 fi
43303
43304 if test "$wxUSE_BUSYINFO" = "yes"; then
43305 cat >>confdefs.h <<\_ACEOF
43306 #define wxUSE_BUSYINFO 1
43307 _ACEOF
43308
43309 fi
43310
43311 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43312 cat >>confdefs.h <<\_ACEOF
43313 #define wxUSE_STD_IOSTREAM 1
43314 _ACEOF
43315
43316 fi
43317
43318 if test "$wxUSE_STD_STRING" = "yes"; then
43319 cat >>confdefs.h <<\_ACEOF
43320 #define wxUSE_STD_STRING 1
43321 _ACEOF
43322
43323 fi
43324
43325 if test "$wxUSE_STDPATHS" = "yes"; then
43326 cat >>confdefs.h <<\_ACEOF
43327 #define wxUSE_STDPATHS 1
43328 _ACEOF
43329
43330 fi
43331
43332 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43333 cat >>confdefs.h <<\_ACEOF
43334 #define wxUSE_TEXTBUFFER 1
43335 _ACEOF
43336
43337 fi
43338
43339 if test "$wxUSE_TEXTFILE" = "yes"; then
43340 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43341 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43342 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43343 else
43344 cat >>confdefs.h <<\_ACEOF
43345 #define wxUSE_TEXTFILE 1
43346 _ACEOF
43347
43348 fi
43349 fi
43350
43351 if test "$wxUSE_CONFIG" = "yes" ; then
43352 if test "$wxUSE_TEXTFILE" != "yes"; then
43353 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43354 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43355 else
43356 cat >>confdefs.h <<\_ACEOF
43357 #define wxUSE_CONFIG 1
43358 _ACEOF
43359
43360 cat >>confdefs.h <<\_ACEOF
43361 #define wxUSE_CONFIG_NATIVE 1
43362 _ACEOF
43363
43364 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43365 fi
43366 fi
43367
43368 if test "$wxUSE_INTL" = "yes" ; then
43369 if test "$wxUSE_FILE" != "yes"; then
43370 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43371 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43372 else
43373 cat >>confdefs.h <<\_ACEOF
43374 #define wxUSE_INTL 1
43375 _ACEOF
43376
43377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43378 GUIDIST="$GUIDIST INTL_DIST"
43379 fi
43380 fi
43381
43382 if test "$wxUSE_XLOCALE" = "yes" ; then
43383 cat >>confdefs.h <<\_ACEOF
43384 #define wxUSE_XLOCALE 1
43385 _ACEOF
43386
43387 { echo "$as_me:$LINENO: checking for locale_t" >&5
43388 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43389 if test "${ac_cv_type_locale_t+set}" = set; then
43390 echo $ECHO_N "(cached) $ECHO_C" >&6
43391 else
43392 cat >conftest.$ac_ext <<_ACEOF
43393 /* confdefs.h. */
43394 _ACEOF
43395 cat confdefs.h >>conftest.$ac_ext
43396 cat >>conftest.$ac_ext <<_ACEOF
43397 /* end confdefs.h. */
43398 #include <xlocale.h>
43399 #include <locale.h>
43400
43401 typedef locale_t ac__type_new_;
43402 int
43403 main ()
43404 {
43405 if ((ac__type_new_ *) 0)
43406 return 0;
43407 if (sizeof (ac__type_new_))
43408 return 0;
43409 ;
43410 return 0;
43411 }
43412 _ACEOF
43413 rm -f conftest.$ac_objext
43414 if { (ac_try="$ac_compile"
43415 case "(($ac_try" in
43416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43417 *) ac_try_echo=$ac_try;;
43418 esac
43419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43420 (eval "$ac_compile") 2>conftest.er1
43421 ac_status=$?
43422 grep -v '^ *+' conftest.er1 >conftest.err
43423 rm -f conftest.er1
43424 cat conftest.err >&5
43425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43426 (exit $ac_status); } && {
43427 test -z "$ac_c_werror_flag" ||
43428 test ! -s conftest.err
43429 } && test -s conftest.$ac_objext; then
43430 ac_cv_type_locale_t=yes
43431 else
43432 echo "$as_me: failed program was:" >&5
43433 sed 's/^/| /' conftest.$ac_ext >&5
43434
43435 ac_cv_type_locale_t=no
43436 fi
43437
43438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43439 fi
43440 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43441 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43442 if test $ac_cv_type_locale_t = yes; then
43443
43444 cat >>confdefs.h <<_ACEOF
43445 #define HAVE_LOCALE_T 1
43446 _ACEOF
43447
43448
43449 fi
43450
43451 fi
43452
43453 if test "$wxUSE_LOG" = "yes"; then
43454 cat >>confdefs.h <<\_ACEOF
43455 #define wxUSE_LOG 1
43456 _ACEOF
43457
43458
43459 if test "$wxUSE_LOGGUI" = "yes"; then
43460 cat >>confdefs.h <<\_ACEOF
43461 #define wxUSE_LOGGUI 1
43462 _ACEOF
43463
43464 fi
43465
43466 if test "$wxUSE_LOGWINDOW" = "yes"; then
43467 cat >>confdefs.h <<\_ACEOF
43468 #define wxUSE_LOGWINDOW 1
43469 _ACEOF
43470
43471 fi
43472
43473 if test "$wxUSE_LOGDIALOG" = "yes"; then
43474 cat >>confdefs.h <<\_ACEOF
43475 #define wxUSE_LOG_DIALOG 1
43476 _ACEOF
43477
43478 fi
43479
43480 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43481 fi
43482
43483 if test "$wxUSE_LONGLONG" = "yes"; then
43484 cat >>confdefs.h <<\_ACEOF
43485 #define wxUSE_LONGLONG 1
43486 _ACEOF
43487
43488 fi
43489
43490 if test "$wxUSE_GEOMETRY" = "yes"; then
43491 cat >>confdefs.h <<\_ACEOF
43492 #define wxUSE_GEOMETRY 1
43493 _ACEOF
43494
43495 fi
43496
43497 if test "$wxUSE_BASE64" = "yes"; then
43498 cat >>confdefs.h <<\_ACEOF
43499 #define wxUSE_BASE64 1
43500 _ACEOF
43501
43502 fi
43503
43504 if test "$wxUSE_STREAMS" = "yes" ; then
43505 cat >>confdefs.h <<\_ACEOF
43506 #define wxUSE_STREAMS 1
43507 _ACEOF
43508
43509 fi
43510
43511 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43512 cat >>confdefs.h <<\_ACEOF
43513 #define wxUSE_PRINTF_POS_PARAMS 1
43514 _ACEOF
43515
43516 fi
43517
43518 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43519 cat >>confdefs.h <<\_ACEOF
43520 #define wxUSE_OBJC_UNIQUIFYING 1
43521 _ACEOF
43522
43523 fi
43524
43525
43526 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43527 cat >>confdefs.h <<\_ACEOF
43528 #define wxUSE_CONSOLE_EVENTLOOP 1
43529 _ACEOF
43530
43531
43532 if test "$wxUSE_UNIX" = "yes"; then
43533 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43534 cat >>confdefs.h <<\_ACEOF
43535 #define wxUSE_SELECT_DISPATCHER 1
43536 _ACEOF
43537
43538 fi
43539
43540 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43541
43542 for ac_header in sys/epoll.h
43543 do
43544 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43545 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43547 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43548 echo $ECHO_N "(cached) $ECHO_C" >&6
43549 else
43550 cat >conftest.$ac_ext <<_ACEOF
43551 /* confdefs.h. */
43552 _ACEOF
43553 cat confdefs.h >>conftest.$ac_ext
43554 cat >>conftest.$ac_ext <<_ACEOF
43555 /* end confdefs.h. */
43556 $ac_includes_default
43557
43558 #include <$ac_header>
43559 _ACEOF
43560 rm -f conftest.$ac_objext
43561 if { (ac_try="$ac_compile"
43562 case "(($ac_try" in
43563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43564 *) ac_try_echo=$ac_try;;
43565 esac
43566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43567 (eval "$ac_compile") 2>conftest.er1
43568 ac_status=$?
43569 grep -v '^ *+' conftest.er1 >conftest.err
43570 rm -f conftest.er1
43571 cat conftest.err >&5
43572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43573 (exit $ac_status); } && {
43574 test -z "$ac_c_werror_flag" ||
43575 test ! -s conftest.err
43576 } && test -s conftest.$ac_objext; then
43577 eval "$as_ac_Header=yes"
43578 else
43579 echo "$as_me: failed program was:" >&5
43580 sed 's/^/| /' conftest.$ac_ext >&5
43581
43582 eval "$as_ac_Header=no"
43583 fi
43584
43585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43586 fi
43587 ac_res=`eval echo '${'$as_ac_Header'}'`
43588 { echo "$as_me:$LINENO: result: $ac_res" >&5
43589 echo "${ECHO_T}$ac_res" >&6; }
43590 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43591 cat >>confdefs.h <<_ACEOF
43592 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43593 _ACEOF
43594
43595 fi
43596
43597 done
43598
43599 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43600 cat >>confdefs.h <<\_ACEOF
43601 #define wxUSE_EPOLL_DISPATCHER 1
43602 _ACEOF
43603
43604 else
43605 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43606 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43607 fi
43608 fi
43609 fi
43610 fi
43611
43612
43613
43614
43615 for ac_func in gettimeofday ftime
43616 do
43617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43618 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43620 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43621 echo $ECHO_N "(cached) $ECHO_C" >&6
43622 else
43623 cat >conftest.$ac_ext <<_ACEOF
43624 /* confdefs.h. */
43625 _ACEOF
43626 cat confdefs.h >>conftest.$ac_ext
43627 cat >>conftest.$ac_ext <<_ACEOF
43628 /* end confdefs.h. */
43629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43631 #define $ac_func innocuous_$ac_func
43632
43633 /* System header to define __stub macros and hopefully few prototypes,
43634 which can conflict with char $ac_func (); below.
43635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43636 <limits.h> exists even on freestanding compilers. */
43637
43638 #ifdef __STDC__
43639 # include <limits.h>
43640 #else
43641 # include <assert.h>
43642 #endif
43643
43644 #undef $ac_func
43645
43646 /* Override any GCC internal prototype to avoid an error.
43647 Use char because int might match the return type of a GCC
43648 builtin and then its argument prototype would still apply. */
43649 #ifdef __cplusplus
43650 extern "C"
43651 #endif
43652 char $ac_func ();
43653 /* The GNU C library defines this for functions which it implements
43654 to always fail with ENOSYS. Some functions are actually named
43655 something starting with __ and the normal name is an alias. */
43656 #if defined __stub_$ac_func || defined __stub___$ac_func
43657 choke me
43658 #endif
43659
43660 int
43661 main ()
43662 {
43663 return $ac_func ();
43664 ;
43665 return 0;
43666 }
43667 _ACEOF
43668 rm -f conftest.$ac_objext conftest$ac_exeext
43669 if { (ac_try="$ac_link"
43670 case "(($ac_try" in
43671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43672 *) ac_try_echo=$ac_try;;
43673 esac
43674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43675 (eval "$ac_link") 2>conftest.er1
43676 ac_status=$?
43677 grep -v '^ *+' conftest.er1 >conftest.err
43678 rm -f conftest.er1
43679 cat conftest.err >&5
43680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43681 (exit $ac_status); } && {
43682 test -z "$ac_c_werror_flag" ||
43683 test ! -s conftest.err
43684 } && test -s conftest$ac_exeext &&
43685 $as_test_x conftest$ac_exeext; then
43686 eval "$as_ac_var=yes"
43687 else
43688 echo "$as_me: failed program was:" >&5
43689 sed 's/^/| /' conftest.$ac_ext >&5
43690
43691 eval "$as_ac_var=no"
43692 fi
43693
43694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43695 conftest$ac_exeext conftest.$ac_ext
43696 fi
43697 ac_res=`eval echo '${'$as_ac_var'}'`
43698 { echo "$as_me:$LINENO: result: $ac_res" >&5
43699 echo "${ECHO_T}$ac_res" >&6; }
43700 if test `eval echo '${'$as_ac_var'}'` = yes; then
43701 cat >>confdefs.h <<_ACEOF
43702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43703 _ACEOF
43704 break
43705 fi
43706 done
43707
43708
43709 if test "$ac_cv_func_gettimeofday" = "yes"; then
43710 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43711 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43712 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43713 echo $ECHO_N "(cached) $ECHO_C" >&6
43714 else
43715
43716 cat >conftest.$ac_ext <<_ACEOF
43717 /* confdefs.h. */
43718 _ACEOF
43719 cat confdefs.h >>conftest.$ac_ext
43720 cat >>conftest.$ac_ext <<_ACEOF
43721 /* end confdefs.h. */
43722
43723 #include <sys/time.h>
43724 #include <unistd.h>
43725
43726 int
43727 main ()
43728 {
43729
43730 struct timeval tv;
43731 gettimeofday(&tv, NULL);
43732
43733 ;
43734 return 0;
43735 }
43736 _ACEOF
43737 rm -f conftest.$ac_objext
43738 if { (ac_try="$ac_compile"
43739 case "(($ac_try" in
43740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43741 *) ac_try_echo=$ac_try;;
43742 esac
43743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43744 (eval "$ac_compile") 2>conftest.er1
43745 ac_status=$?
43746 grep -v '^ *+' conftest.er1 >conftest.err
43747 rm -f conftest.er1
43748 cat conftest.err >&5
43749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43750 (exit $ac_status); } && {
43751 test -z "$ac_c_werror_flag" ||
43752 test ! -s conftest.err
43753 } && test -s conftest.$ac_objext; then
43754 wx_cv_func_gettimeofday_has_2_args=yes
43755 else
43756 echo "$as_me: failed program was:" >&5
43757 sed 's/^/| /' conftest.$ac_ext >&5
43758
43759 cat >conftest.$ac_ext <<_ACEOF
43760 /* confdefs.h. */
43761 _ACEOF
43762 cat confdefs.h >>conftest.$ac_ext
43763 cat >>conftest.$ac_ext <<_ACEOF
43764 /* end confdefs.h. */
43765
43766 #include <sys/time.h>
43767 #include <unistd.h>
43768
43769 int
43770 main ()
43771 {
43772
43773 struct timeval tv;
43774 gettimeofday(&tv);
43775
43776 ;
43777 return 0;
43778 }
43779 _ACEOF
43780 rm -f conftest.$ac_objext
43781 if { (ac_try="$ac_compile"
43782 case "(($ac_try" in
43783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43784 *) ac_try_echo=$ac_try;;
43785 esac
43786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43787 (eval "$ac_compile") 2>conftest.er1
43788 ac_status=$?
43789 grep -v '^ *+' conftest.er1 >conftest.err
43790 rm -f conftest.er1
43791 cat conftest.err >&5
43792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43793 (exit $ac_status); } && {
43794 test -z "$ac_c_werror_flag" ||
43795 test ! -s conftest.err
43796 } && test -s conftest.$ac_objext; then
43797 wx_cv_func_gettimeofday_has_2_args=no
43798 else
43799 echo "$as_me: failed program was:" >&5
43800 sed 's/^/| /' conftest.$ac_ext >&5
43801
43802
43803 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43804 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43805 wx_cv_func_gettimeofday_has_2_args=unknown
43806
43807
43808 fi
43809
43810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43811
43812 fi
43813
43814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43815
43816 fi
43817 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43818 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43819
43820 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43821 cat >>confdefs.h <<\_ACEOF
43822 #define WX_GETTIMEOFDAY_NO_TZ 1
43823 _ACEOF
43824
43825 fi
43826 fi
43827
43828 if test "$wxUSE_DATETIME" = "yes"; then
43829 { echo "$as_me:$LINENO: checking for strptime" >&5
43830 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43831 if test "${ac_cv_func_strptime+set}" = set; then
43832 echo $ECHO_N "(cached) $ECHO_C" >&6
43833 else
43834 cat >conftest.$ac_ext <<_ACEOF
43835 /* confdefs.h. */
43836 _ACEOF
43837 cat confdefs.h >>conftest.$ac_ext
43838 cat >>conftest.$ac_ext <<_ACEOF
43839 /* end confdefs.h. */
43840 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43842 #define strptime innocuous_strptime
43843
43844 /* System header to define __stub macros and hopefully few prototypes,
43845 which can conflict with char strptime (); below.
43846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43847 <limits.h> exists even on freestanding compilers. */
43848
43849 #ifdef __STDC__
43850 # include <limits.h>
43851 #else
43852 # include <assert.h>
43853 #endif
43854
43855 #undef strptime
43856
43857 /* Override any GCC internal prototype to avoid an error.
43858 Use char because int might match the return type of a GCC
43859 builtin and then its argument prototype would still apply. */
43860 #ifdef __cplusplus
43861 extern "C"
43862 #endif
43863 char strptime ();
43864 /* The GNU C library defines this for functions which it implements
43865 to always fail with ENOSYS. Some functions are actually named
43866 something starting with __ and the normal name is an alias. */
43867 #if defined __stub_strptime || defined __stub___strptime
43868 choke me
43869 #endif
43870
43871 int
43872 main ()
43873 {
43874 return strptime ();
43875 ;
43876 return 0;
43877 }
43878 _ACEOF
43879 rm -f conftest.$ac_objext conftest$ac_exeext
43880 if { (ac_try="$ac_link"
43881 case "(($ac_try" in
43882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43883 *) ac_try_echo=$ac_try;;
43884 esac
43885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43886 (eval "$ac_link") 2>conftest.er1
43887 ac_status=$?
43888 grep -v '^ *+' conftest.er1 >conftest.err
43889 rm -f conftest.er1
43890 cat conftest.err >&5
43891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43892 (exit $ac_status); } && {
43893 test -z "$ac_c_werror_flag" ||
43894 test ! -s conftest.err
43895 } && test -s conftest$ac_exeext &&
43896 $as_test_x conftest$ac_exeext; then
43897 ac_cv_func_strptime=yes
43898 else
43899 echo "$as_me: failed program was:" >&5
43900 sed 's/^/| /' conftest.$ac_ext >&5
43901
43902 ac_cv_func_strptime=no
43903 fi
43904
43905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43906 conftest$ac_exeext conftest.$ac_ext
43907 fi
43908 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43909 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43910
43911 if test "$ac_cv_func_strptime" = "yes"; then
43912 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43913 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43914 if test "${wx_cv_func_strptime_decl+set}" = set; then
43915 echo $ECHO_N "(cached) $ECHO_C" >&6
43916 else
43917
43918 ac_ext=cpp
43919 ac_cpp='$CXXCPP $CPPFLAGS'
43920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43923
43924 cat >conftest.$ac_ext <<_ACEOF
43925 /* confdefs.h. */
43926 _ACEOF
43927 cat confdefs.h >>conftest.$ac_ext
43928 cat >>conftest.$ac_ext <<_ACEOF
43929 /* end confdefs.h. */
43930
43931 #include <time.h>
43932
43933 int
43934 main ()
43935 {
43936
43937 struct tm t;
43938 strptime("foo", "bar", &t);
43939
43940 ;
43941 return 0;
43942 }
43943 _ACEOF
43944 rm -f conftest.$ac_objext
43945 if { (ac_try="$ac_compile"
43946 case "(($ac_try" in
43947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43948 *) ac_try_echo=$ac_try;;
43949 esac
43950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43951 (eval "$ac_compile") 2>conftest.er1
43952 ac_status=$?
43953 grep -v '^ *+' conftest.er1 >conftest.err
43954 rm -f conftest.er1
43955 cat conftest.err >&5
43956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43957 (exit $ac_status); } && {
43958 test -z "$ac_cxx_werror_flag" ||
43959 test ! -s conftest.err
43960 } && test -s conftest.$ac_objext; then
43961 wx_cv_func_strptime_decl=yes
43962 else
43963 echo "$as_me: failed program was:" >&5
43964 sed 's/^/| /' conftest.$ac_ext >&5
43965
43966 wx_cv_func_strptime_decl=no
43967
43968 fi
43969
43970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43971 ac_ext=c
43972 ac_cpp='$CPP $CPPFLAGS'
43973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43976
43977
43978
43979 fi
43980 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43981 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43982 fi
43983 if test "$wx_cv_func_strptime_decl" = "yes"; then
43984 cat >>confdefs.h <<\_ACEOF
43985 #define HAVE_STRPTIME_DECL 1
43986 _ACEOF
43987
43988 else
43989 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43990 fi
43991 if test "$ac_cv_func_strptime" = "yes"; then
43992 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43993 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43994 if test "${wx_cv_func_strptime_ok+set}" = set; then
43995 echo $ECHO_N "(cached) $ECHO_C" >&6
43996 else
43997 if test "$cross_compiling" = yes; then
43998 wx_cv_func_strptime_ok=no
43999
44000 else
44001 cat >conftest.$ac_ext <<_ACEOF
44002
44003 #include <stdlib.h>
44004 #include <time.h>
44005 #include "confdefs.h"
44006
44007 $wx_strptime_decl
44008
44009 int main()
44010 {
44011 struct tm t;
44012 return !!strptime("", "%x", &t);
44013 }
44014
44015 _ACEOF
44016 rm -f conftest$ac_exeext
44017 if { (ac_try="$ac_link"
44018 case "(($ac_try" in
44019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44020 *) ac_try_echo=$ac_try;;
44021 esac
44022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44023 (eval "$ac_link") 2>&5
44024 ac_status=$?
44025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44026 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44027 { (case "(($ac_try" in
44028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44029 *) ac_try_echo=$ac_try;;
44030 esac
44031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44032 (eval "$ac_try") 2>&5
44033 ac_status=$?
44034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44035 (exit $ac_status); }; }; then
44036 wx_cv_func_strptime_ok=yes
44037 else
44038 echo "$as_me: program exited with status $ac_status" >&5
44039 echo "$as_me: failed program was:" >&5
44040 sed 's/^/| /' conftest.$ac_ext >&5
44041
44042 ( exit $ac_status )
44043 wx_cv_func_strptime_ok=no
44044 fi
44045 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44046 fi
44047
44048
44049
44050 fi
44051 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
44052 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
44053
44054 if test "$wx_cv_func_strptime_ok" = "yes"; then
44055 cat >>confdefs.h <<\_ACEOF
44056 #define HAVE_STRPTIME 1
44057 _ACEOF
44058
44059 fi
44060 fi
44061
44062 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44063 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44064 if test "${wx_cv_var_timezone+set}" = set; then
44065 echo $ECHO_N "(cached) $ECHO_C" >&6
44066 else
44067
44068 ac_ext=cpp
44069 ac_cpp='$CXXCPP $CPPFLAGS'
44070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44073
44074 cat >conftest.$ac_ext <<_ACEOF
44075 /* confdefs.h. */
44076 _ACEOF
44077 cat confdefs.h >>conftest.$ac_ext
44078 cat >>conftest.$ac_ext <<_ACEOF
44079 /* end confdefs.h. */
44080
44081 #include <time.h>
44082
44083 int
44084 main ()
44085 {
44086
44087 int tz;
44088 tz = timezone;
44089
44090 ;
44091 return 0;
44092 }
44093 _ACEOF
44094 rm -f conftest.$ac_objext
44095 if { (ac_try="$ac_compile"
44096 case "(($ac_try" in
44097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44098 *) ac_try_echo=$ac_try;;
44099 esac
44100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44101 (eval "$ac_compile") 2>conftest.er1
44102 ac_status=$?
44103 grep -v '^ *+' conftest.er1 >conftest.err
44104 rm -f conftest.er1
44105 cat conftest.err >&5
44106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44107 (exit $ac_status); } && {
44108 test -z "$ac_cxx_werror_flag" ||
44109 test ! -s conftest.err
44110 } && test -s conftest.$ac_objext; then
44111
44112 wx_cv_var_timezone=timezone
44113
44114 else
44115 echo "$as_me: failed program was:" >&5
44116 sed 's/^/| /' conftest.$ac_ext >&5
44117
44118
44119 cat >conftest.$ac_ext <<_ACEOF
44120 /* confdefs.h. */
44121 _ACEOF
44122 cat confdefs.h >>conftest.$ac_ext
44123 cat >>conftest.$ac_ext <<_ACEOF
44124 /* end confdefs.h. */
44125
44126 #include <time.h>
44127
44128 int
44129 main ()
44130 {
44131
44132 int tz;
44133 tz = _timezone;
44134
44135 ;
44136 return 0;
44137 }
44138 _ACEOF
44139 rm -f conftest.$ac_objext
44140 if { (ac_try="$ac_compile"
44141 case "(($ac_try" in
44142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44143 *) ac_try_echo=$ac_try;;
44144 esac
44145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44146 (eval "$ac_compile") 2>conftest.er1
44147 ac_status=$?
44148 grep -v '^ *+' conftest.er1 >conftest.err
44149 rm -f conftest.er1
44150 cat conftest.err >&5
44151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44152 (exit $ac_status); } && {
44153 test -z "$ac_cxx_werror_flag" ||
44154 test ! -s conftest.err
44155 } && test -s conftest.$ac_objext; then
44156
44157 wx_cv_var_timezone=_timezone
44158
44159 else
44160 echo "$as_me: failed program was:" >&5
44161 sed 's/^/| /' conftest.$ac_ext >&5
44162
44163
44164 cat >conftest.$ac_ext <<_ACEOF
44165 /* confdefs.h. */
44166 _ACEOF
44167 cat confdefs.h >>conftest.$ac_ext
44168 cat >>conftest.$ac_ext <<_ACEOF
44169 /* end confdefs.h. */
44170
44171 #include <time.h>
44172
44173 int
44174 main ()
44175 {
44176
44177 int tz;
44178 tz = __timezone;
44179
44180 ;
44181 return 0;
44182 }
44183 _ACEOF
44184 rm -f conftest.$ac_objext
44185 if { (ac_try="$ac_compile"
44186 case "(($ac_try" in
44187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44188 *) ac_try_echo=$ac_try;;
44189 esac
44190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44191 (eval "$ac_compile") 2>conftest.er1
44192 ac_status=$?
44193 grep -v '^ *+' conftest.er1 >conftest.err
44194 rm -f conftest.er1
44195 cat conftest.err >&5
44196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44197 (exit $ac_status); } && {
44198 test -z "$ac_cxx_werror_flag" ||
44199 test ! -s conftest.err
44200 } && test -s conftest.$ac_objext; then
44201
44202 wx_cv_var_timezone=__timezone
44203
44204 else
44205 echo "$as_me: failed program was:" >&5
44206 sed 's/^/| /' conftest.$ac_ext >&5
44207
44208
44209 if test "$USE_DOS" = 0 ; then
44210 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44211 echo "$as_me: WARNING: no timezone variable" >&2;}
44212 fi
44213
44214
44215 fi
44216
44217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44218
44219
44220 fi
44221
44222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44223
44224
44225 fi
44226
44227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44228 ac_ext=c
44229 ac_cpp='$CPP $CPPFLAGS'
44230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44233
44234
44235
44236 fi
44237 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44238 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44239
44240 if test "x$wx_cv_var_timezone" != x ; then
44241 cat >>confdefs.h <<_ACEOF
44242 #define WX_TIMEZONE $wx_cv_var_timezone
44243 _ACEOF
44244
44245 fi
44246
44247
44248 for ac_func in localtime
44249 do
44250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44251 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44253 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44254 echo $ECHO_N "(cached) $ECHO_C" >&6
44255 else
44256 cat >conftest.$ac_ext <<_ACEOF
44257 /* confdefs.h. */
44258 _ACEOF
44259 cat confdefs.h >>conftest.$ac_ext
44260 cat >>conftest.$ac_ext <<_ACEOF
44261 /* end confdefs.h. */
44262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44264 #define $ac_func innocuous_$ac_func
44265
44266 /* System header to define __stub macros and hopefully few prototypes,
44267 which can conflict with char $ac_func (); below.
44268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44269 <limits.h> exists even on freestanding compilers. */
44270
44271 #ifdef __STDC__
44272 # include <limits.h>
44273 #else
44274 # include <assert.h>
44275 #endif
44276
44277 #undef $ac_func
44278
44279 /* Override any GCC internal prototype to avoid an error.
44280 Use char because int might match the return type of a GCC
44281 builtin and then its argument prototype would still apply. */
44282 #ifdef __cplusplus
44283 extern "C"
44284 #endif
44285 char $ac_func ();
44286 /* The GNU C library defines this for functions which it implements
44287 to always fail with ENOSYS. Some functions are actually named
44288 something starting with __ and the normal name is an alias. */
44289 #if defined __stub_$ac_func || defined __stub___$ac_func
44290 choke me
44291 #endif
44292
44293 int
44294 main ()
44295 {
44296 return $ac_func ();
44297 ;
44298 return 0;
44299 }
44300 _ACEOF
44301 rm -f conftest.$ac_objext conftest$ac_exeext
44302 if { (ac_try="$ac_link"
44303 case "(($ac_try" in
44304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44305 *) ac_try_echo=$ac_try;;
44306 esac
44307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44308 (eval "$ac_link") 2>conftest.er1
44309 ac_status=$?
44310 grep -v '^ *+' conftest.er1 >conftest.err
44311 rm -f conftest.er1
44312 cat conftest.err >&5
44313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44314 (exit $ac_status); } && {
44315 test -z "$ac_c_werror_flag" ||
44316 test ! -s conftest.err
44317 } && test -s conftest$ac_exeext &&
44318 $as_test_x conftest$ac_exeext; then
44319 eval "$as_ac_var=yes"
44320 else
44321 echo "$as_me: failed program was:" >&5
44322 sed 's/^/| /' conftest.$ac_ext >&5
44323
44324 eval "$as_ac_var=no"
44325 fi
44326
44327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44328 conftest$ac_exeext conftest.$ac_ext
44329 fi
44330 ac_res=`eval echo '${'$as_ac_var'}'`
44331 { echo "$as_me:$LINENO: result: $ac_res" >&5
44332 echo "${ECHO_T}$ac_res" >&6; }
44333 if test `eval echo '${'$as_ac_var'}'` = yes; then
44334 cat >>confdefs.h <<_ACEOF
44335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44336 _ACEOF
44337
44338 fi
44339 done
44340
44341
44342 if test "$ac_cv_func_localtime" = "yes"; then
44343 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44344 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44345 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44346 echo $ECHO_N "(cached) $ECHO_C" >&6
44347 else
44348
44349 cat >conftest.$ac_ext <<_ACEOF
44350 /* confdefs.h. */
44351 _ACEOF
44352 cat confdefs.h >>conftest.$ac_ext
44353 cat >>conftest.$ac_ext <<_ACEOF
44354 /* end confdefs.h. */
44355
44356 #include <time.h>
44357
44358 int
44359 main ()
44360 {
44361
44362 struct tm tm;
44363 tm.tm_gmtoff++;
44364
44365 ;
44366 return 0;
44367 }
44368 _ACEOF
44369 rm -f conftest.$ac_objext
44370 if { (ac_try="$ac_compile"
44371 case "(($ac_try" in
44372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44373 *) ac_try_echo=$ac_try;;
44374 esac
44375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44376 (eval "$ac_compile") 2>conftest.er1
44377 ac_status=$?
44378 grep -v '^ *+' conftest.er1 >conftest.err
44379 rm -f conftest.er1
44380 cat conftest.err >&5
44381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44382 (exit $ac_status); } && {
44383 test -z "$ac_c_werror_flag" ||
44384 test ! -s conftest.err
44385 } && test -s conftest.$ac_objext; then
44386
44387 wx_cv_struct_tm_has_gmtoff=yes
44388
44389 else
44390 echo "$as_me: failed program was:" >&5
44391 sed 's/^/| /' conftest.$ac_ext >&5
44392
44393 wx_cv_struct_tm_has_gmtoff=no
44394
44395 fi
44396
44397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44398
44399 fi
44400 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44401 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44402 fi
44403
44404 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44405 cat >>confdefs.h <<\_ACEOF
44406 #define WX_GMTOFF_IN_TM 1
44407 _ACEOF
44408
44409 fi
44410
44411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44412 fi
44413
44414
44415 if test "$wxUSE_SOCKETS" = "yes"; then
44416 if test "$wxUSE_MGL" = 1; then
44417 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44418 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44419 wxUSE_SOCKETS="no"
44420 fi
44421 fi
44422
44423 if test "$wxUSE_SOCKETS" = "yes"; then
44424 if test "$TOOLKIT" != "MSW"; then
44425 { echo "$as_me:$LINENO: checking for socket" >&5
44426 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44427 if test "${ac_cv_func_socket+set}" = set; then
44428 echo $ECHO_N "(cached) $ECHO_C" >&6
44429 else
44430 cat >conftest.$ac_ext <<_ACEOF
44431 /* confdefs.h. */
44432 _ACEOF
44433 cat confdefs.h >>conftest.$ac_ext
44434 cat >>conftest.$ac_ext <<_ACEOF
44435 /* end confdefs.h. */
44436 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44438 #define socket innocuous_socket
44439
44440 /* System header to define __stub macros and hopefully few prototypes,
44441 which can conflict with char socket (); below.
44442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44443 <limits.h> exists even on freestanding compilers. */
44444
44445 #ifdef __STDC__
44446 # include <limits.h>
44447 #else
44448 # include <assert.h>
44449 #endif
44450
44451 #undef socket
44452
44453 /* Override any GCC internal prototype to avoid an error.
44454 Use char because int might match the return type of a GCC
44455 builtin and then its argument prototype would still apply. */
44456 #ifdef __cplusplus
44457 extern "C"
44458 #endif
44459 char socket ();
44460 /* The GNU C library defines this for functions which it implements
44461 to always fail with ENOSYS. Some functions are actually named
44462 something starting with __ and the normal name is an alias. */
44463 #if defined __stub_socket || defined __stub___socket
44464 choke me
44465 #endif
44466
44467 int
44468 main ()
44469 {
44470 return socket ();
44471 ;
44472 return 0;
44473 }
44474 _ACEOF
44475 rm -f conftest.$ac_objext conftest$ac_exeext
44476 if { (ac_try="$ac_link"
44477 case "(($ac_try" in
44478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44479 *) ac_try_echo=$ac_try;;
44480 esac
44481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44482 (eval "$ac_link") 2>conftest.er1
44483 ac_status=$?
44484 grep -v '^ *+' conftest.er1 >conftest.err
44485 rm -f conftest.er1
44486 cat conftest.err >&5
44487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44488 (exit $ac_status); } && {
44489 test -z "$ac_c_werror_flag" ||
44490 test ! -s conftest.err
44491 } && test -s conftest$ac_exeext &&
44492 $as_test_x conftest$ac_exeext; then
44493 ac_cv_func_socket=yes
44494 else
44495 echo "$as_me: failed program was:" >&5
44496 sed 's/^/| /' conftest.$ac_ext >&5
44497
44498 ac_cv_func_socket=no
44499 fi
44500
44501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44502 conftest$ac_exeext conftest.$ac_ext
44503 fi
44504 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44505 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44506 if test $ac_cv_func_socket = yes; then
44507 :
44508 else
44509
44510 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44511 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44512 if test "${ac_cv_lib_socket_socket+set}" = set; then
44513 echo $ECHO_N "(cached) $ECHO_C" >&6
44514 else
44515 ac_check_lib_save_LIBS=$LIBS
44516 LIBS="-lsocket $LIBS"
44517 cat >conftest.$ac_ext <<_ACEOF
44518 /* confdefs.h. */
44519 _ACEOF
44520 cat confdefs.h >>conftest.$ac_ext
44521 cat >>conftest.$ac_ext <<_ACEOF
44522 /* end confdefs.h. */
44523
44524 /* Override any GCC internal prototype to avoid an error.
44525 Use char because int might match the return type of a GCC
44526 builtin and then its argument prototype would still apply. */
44527 #ifdef __cplusplus
44528 extern "C"
44529 #endif
44530 char socket ();
44531 int
44532 main ()
44533 {
44534 return socket ();
44535 ;
44536 return 0;
44537 }
44538 _ACEOF
44539 rm -f conftest.$ac_objext conftest$ac_exeext
44540 if { (ac_try="$ac_link"
44541 case "(($ac_try" in
44542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44543 *) ac_try_echo=$ac_try;;
44544 esac
44545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44546 (eval "$ac_link") 2>conftest.er1
44547 ac_status=$?
44548 grep -v '^ *+' conftest.er1 >conftest.err
44549 rm -f conftest.er1
44550 cat conftest.err >&5
44551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44552 (exit $ac_status); } && {
44553 test -z "$ac_c_werror_flag" ||
44554 test ! -s conftest.err
44555 } && test -s conftest$ac_exeext &&
44556 $as_test_x conftest$ac_exeext; then
44557 ac_cv_lib_socket_socket=yes
44558 else
44559 echo "$as_me: failed program was:" >&5
44560 sed 's/^/| /' conftest.$ac_ext >&5
44561
44562 ac_cv_lib_socket_socket=no
44563 fi
44564
44565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44566 conftest$ac_exeext conftest.$ac_ext
44567 LIBS=$ac_check_lib_save_LIBS
44568 fi
44569 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44570 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44571 if test $ac_cv_lib_socket_socket = yes; then
44572 if test "$INET_LINK" != " -lsocket"; then
44573 INET_LINK="$INET_LINK -lsocket"
44574 fi
44575 else
44576
44577 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44578 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44579 wxUSE_SOCKETS=no
44580
44581
44582 fi
44583
44584
44585
44586 fi
44587
44588 fi
44589 fi
44590
44591 if test "$wxUSE_SOCKETS" = "yes" ; then
44592 if test "$TOOLKIT" != "MSW"; then
44593 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44594 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44595 if test "${wx_cv_type_getsockname3+set}" = set; then
44596 echo $ECHO_N "(cached) $ECHO_C" >&6
44597 else
44598
44599 ac_ext=cpp
44600 ac_cpp='$CXXCPP $CPPFLAGS'
44601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44604
44605 cat >conftest.$ac_ext <<_ACEOF
44606 /* confdefs.h. */
44607 _ACEOF
44608 cat confdefs.h >>conftest.$ac_ext
44609 cat >>conftest.$ac_ext <<_ACEOF
44610 /* end confdefs.h. */
44611
44612 #include <sys/types.h>
44613 #include <sys/socket.h>
44614
44615 int
44616 main ()
44617 {
44618
44619 socklen_t len;
44620 getsockname(0, 0, &len);
44621
44622 ;
44623 return 0;
44624 }
44625 _ACEOF
44626 rm -f conftest.$ac_objext
44627 if { (ac_try="$ac_compile"
44628 case "(($ac_try" in
44629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44630 *) ac_try_echo=$ac_try;;
44631 esac
44632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44633 (eval "$ac_compile") 2>conftest.er1
44634 ac_status=$?
44635 grep -v '^ *+' conftest.er1 >conftest.err
44636 rm -f conftest.er1
44637 cat conftest.err >&5
44638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44639 (exit $ac_status); } && {
44640 test -z "$ac_cxx_werror_flag" ||
44641 test ! -s conftest.err
44642 } && test -s conftest.$ac_objext; then
44643 wx_cv_type_getsockname3=socklen_t
44644 else
44645 echo "$as_me: failed program was:" >&5
44646 sed 's/^/| /' conftest.$ac_ext >&5
44647
44648
44649 CFLAGS_OLD="$CFLAGS"
44650 if test "$GCC" = yes ; then
44651 CFLAGS="-Werror $CFLAGS"
44652 fi
44653
44654 cat >conftest.$ac_ext <<_ACEOF
44655 /* confdefs.h. */
44656 _ACEOF
44657 cat confdefs.h >>conftest.$ac_ext
44658 cat >>conftest.$ac_ext <<_ACEOF
44659 /* end confdefs.h. */
44660
44661 #include <sys/types.h>
44662 #include <sys/socket.h>
44663
44664 int
44665 main ()
44666 {
44667
44668 size_t len;
44669 getsockname(0, 0, &len);
44670
44671 ;
44672 return 0;
44673 }
44674 _ACEOF
44675 rm -f conftest.$ac_objext
44676 if { (ac_try="$ac_compile"
44677 case "(($ac_try" in
44678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44679 *) ac_try_echo=$ac_try;;
44680 esac
44681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44682 (eval "$ac_compile") 2>conftest.er1
44683 ac_status=$?
44684 grep -v '^ *+' conftest.er1 >conftest.err
44685 rm -f conftest.er1
44686 cat conftest.err >&5
44687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44688 (exit $ac_status); } && {
44689 test -z "$ac_cxx_werror_flag" ||
44690 test ! -s conftest.err
44691 } && test -s conftest.$ac_objext; then
44692 wx_cv_type_getsockname3=size_t
44693 else
44694 echo "$as_me: failed program was:" >&5
44695 sed 's/^/| /' conftest.$ac_ext >&5
44696
44697 cat >conftest.$ac_ext <<_ACEOF
44698 /* confdefs.h. */
44699 _ACEOF
44700 cat confdefs.h >>conftest.$ac_ext
44701 cat >>conftest.$ac_ext <<_ACEOF
44702 /* end confdefs.h. */
44703
44704 #include <sys/types.h>
44705 #include <sys/socket.h>
44706
44707 int
44708 main ()
44709 {
44710
44711 int len;
44712 getsockname(0, 0, &len);
44713
44714 ;
44715 return 0;
44716 }
44717 _ACEOF
44718 rm -f conftest.$ac_objext
44719 if { (ac_try="$ac_compile"
44720 case "(($ac_try" in
44721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44722 *) ac_try_echo=$ac_try;;
44723 esac
44724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44725 (eval "$ac_compile") 2>conftest.er1
44726 ac_status=$?
44727 grep -v '^ *+' conftest.er1 >conftest.err
44728 rm -f conftest.er1
44729 cat conftest.err >&5
44730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44731 (exit $ac_status); } && {
44732 test -z "$ac_cxx_werror_flag" ||
44733 test ! -s conftest.err
44734 } && test -s conftest.$ac_objext; then
44735 wx_cv_type_getsockname3=int
44736 else
44737 echo "$as_me: failed program was:" >&5
44738 sed 's/^/| /' conftest.$ac_ext >&5
44739
44740 wx_cv_type_getsockname3=unknown
44741
44742 fi
44743
44744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44745
44746 fi
44747
44748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44749
44750 CFLAGS="$CFLAGS_OLD"
44751
44752
44753 fi
44754
44755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44756 ac_ext=c
44757 ac_cpp='$CPP $CPPFLAGS'
44758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44761
44762
44763 fi
44764 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44765 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44766
44767 if test "$wx_cv_type_getsockname3" = "unknown"; then
44768 wxUSE_SOCKETS=no
44769 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44770 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44771 else
44772 cat >>confdefs.h <<_ACEOF
44773 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44774 _ACEOF
44775
44776 fi
44777 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44778 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44779 if test "${wx_cv_type_getsockopt5+set}" = set; then
44780 echo $ECHO_N "(cached) $ECHO_C" >&6
44781 else
44782
44783 ac_ext=cpp
44784 ac_cpp='$CXXCPP $CPPFLAGS'
44785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44788
44789 cat >conftest.$ac_ext <<_ACEOF
44790 /* confdefs.h. */
44791 _ACEOF
44792 cat confdefs.h >>conftest.$ac_ext
44793 cat >>conftest.$ac_ext <<_ACEOF
44794 /* end confdefs.h. */
44795
44796 #include <sys/types.h>
44797 #include <sys/socket.h>
44798
44799 int
44800 main ()
44801 {
44802
44803 socklen_t len;
44804 getsockopt(0, 0, 0, 0, &len);
44805
44806 ;
44807 return 0;
44808 }
44809 _ACEOF
44810 rm -f conftest.$ac_objext
44811 if { (ac_try="$ac_compile"
44812 case "(($ac_try" in
44813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44814 *) ac_try_echo=$ac_try;;
44815 esac
44816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44817 (eval "$ac_compile") 2>conftest.er1
44818 ac_status=$?
44819 grep -v '^ *+' conftest.er1 >conftest.err
44820 rm -f conftest.er1
44821 cat conftest.err >&5
44822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44823 (exit $ac_status); } && {
44824 test -z "$ac_cxx_werror_flag" ||
44825 test ! -s conftest.err
44826 } && test -s conftest.$ac_objext; then
44827 wx_cv_type_getsockopt5=socklen_t
44828 else
44829 echo "$as_me: failed program was:" >&5
44830 sed 's/^/| /' conftest.$ac_ext >&5
44831
44832
44833 cat >conftest.$ac_ext <<_ACEOF
44834 /* confdefs.h. */
44835 _ACEOF
44836 cat confdefs.h >>conftest.$ac_ext
44837 cat >>conftest.$ac_ext <<_ACEOF
44838 /* end confdefs.h. */
44839
44840 #include <sys/types.h>
44841 #include <sys/socket.h>
44842
44843 int
44844 main ()
44845 {
44846
44847 size_t len;
44848 getsockopt(0, 0, 0, 0, &len);
44849
44850 ;
44851 return 0;
44852 }
44853 _ACEOF
44854 rm -f conftest.$ac_objext
44855 if { (ac_try="$ac_compile"
44856 case "(($ac_try" in
44857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44858 *) ac_try_echo=$ac_try;;
44859 esac
44860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44861 (eval "$ac_compile") 2>conftest.er1
44862 ac_status=$?
44863 grep -v '^ *+' conftest.er1 >conftest.err
44864 rm -f conftest.er1
44865 cat conftest.err >&5
44866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44867 (exit $ac_status); } && {
44868 test -z "$ac_cxx_werror_flag" ||
44869 test ! -s conftest.err
44870 } && test -s conftest.$ac_objext; then
44871 wx_cv_type_getsockopt5=size_t
44872 else
44873 echo "$as_me: failed program was:" >&5
44874 sed 's/^/| /' conftest.$ac_ext >&5
44875
44876 cat >conftest.$ac_ext <<_ACEOF
44877 /* confdefs.h. */
44878 _ACEOF
44879 cat confdefs.h >>conftest.$ac_ext
44880 cat >>conftest.$ac_ext <<_ACEOF
44881 /* end confdefs.h. */
44882
44883 #include <sys/types.h>
44884 #include <sys/socket.h>
44885
44886 int
44887 main ()
44888 {
44889
44890 int len;
44891 getsockopt(0, 0, 0, 0, &len);
44892
44893 ;
44894 return 0;
44895 }
44896 _ACEOF
44897 rm -f conftest.$ac_objext
44898 if { (ac_try="$ac_compile"
44899 case "(($ac_try" in
44900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44901 *) ac_try_echo=$ac_try;;
44902 esac
44903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44904 (eval "$ac_compile") 2>conftest.er1
44905 ac_status=$?
44906 grep -v '^ *+' conftest.er1 >conftest.err
44907 rm -f conftest.er1
44908 cat conftest.err >&5
44909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44910 (exit $ac_status); } && {
44911 test -z "$ac_cxx_werror_flag" ||
44912 test ! -s conftest.err
44913 } && test -s conftest.$ac_objext; then
44914 wx_cv_type_getsockopt5=int
44915 else
44916 echo "$as_me: failed program was:" >&5
44917 sed 's/^/| /' conftest.$ac_ext >&5
44918
44919 wx_cv_type_getsockopt5=unknown
44920
44921 fi
44922
44923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44924
44925 fi
44926
44927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44928
44929
44930 fi
44931
44932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44933 ac_ext=c
44934 ac_cpp='$CPP $CPPFLAGS'
44935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44938
44939
44940 fi
44941 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44942 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44943
44944 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44945 wxUSE_SOCKETS=no
44946 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44947 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44948 else
44949 cat >>confdefs.h <<_ACEOF
44950 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44951 _ACEOF
44952
44953 fi
44954 fi
44955 fi
44956
44957 if test "$wxUSE_SOCKETS" = "yes" ; then
44958 if test "$wxUSE_IPV6" = "yes"; then
44959 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44960 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44961 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44962 echo $ECHO_N "(cached) $ECHO_C" >&6
44963 else
44964
44965 cat >conftest.$ac_ext <<_ACEOF
44966 /* confdefs.h. */
44967 _ACEOF
44968 cat confdefs.h >>conftest.$ac_ext
44969 cat >>conftest.$ac_ext <<_ACEOF
44970 /* end confdefs.h. */
44971
44972 #include <sys/types.h>
44973 #include <sys/socket.h>
44974 #include <netinet/in.h>
44975
44976 int
44977 main ()
44978 {
44979
44980 struct sockaddr_in6 sa6;
44981
44982 ;
44983 return 0;
44984 }
44985 _ACEOF
44986 rm -f conftest.$ac_objext
44987 if { (ac_try="$ac_compile"
44988 case "(($ac_try" in
44989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44990 *) ac_try_echo=$ac_try;;
44991 esac
44992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44993 (eval "$ac_compile") 2>conftest.er1
44994 ac_status=$?
44995 grep -v '^ *+' conftest.er1 >conftest.err
44996 rm -f conftest.er1
44997 cat conftest.err >&5
44998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44999 (exit $ac_status); } && {
45000 test -z "$ac_c_werror_flag" ||
45001 test ! -s conftest.err
45002 } && test -s conftest.$ac_objext; then
45003 wx_cv_type_sockaddr_in6=yes
45004 else
45005 echo "$as_me: failed program was:" >&5
45006 sed 's/^/| /' conftest.$ac_ext >&5
45007
45008 wx_cv_type_sockaddr_in6=no
45009
45010 fi
45011
45012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45013
45014
45015 fi
45016 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45017 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45018
45019 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45020 cat >>confdefs.h <<\_ACEOF
45021 #define wxUSE_IPV6 1
45022 _ACEOF
45023
45024 else
45025 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45026 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45027 fi
45028 fi
45029
45030 cat >>confdefs.h <<\_ACEOF
45031 #define wxUSE_SOCKETS 1
45032 _ACEOF
45033
45034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45035 fi
45036
45037 if test "$wxUSE_PROTOCOL" = "yes"; then
45038 if test "$wxUSE_SOCKETS" != "yes"; then
45039 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45040 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45041 wxUSE_PROTOCOL=no
45042 fi
45043 fi
45044
45045 if test "$wxUSE_PROTOCOL" = "yes"; then
45046 cat >>confdefs.h <<\_ACEOF
45047 #define wxUSE_PROTOCOL 1
45048 _ACEOF
45049
45050
45051 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45052 cat >>confdefs.h <<\_ACEOF
45053 #define wxUSE_PROTOCOL_HTTP 1
45054 _ACEOF
45055
45056 fi
45057 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45058 cat >>confdefs.h <<\_ACEOF
45059 #define wxUSE_PROTOCOL_FTP 1
45060 _ACEOF
45061
45062 fi
45063 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45064 cat >>confdefs.h <<\_ACEOF
45065 #define wxUSE_PROTOCOL_FILE 1
45066 _ACEOF
45067
45068 fi
45069 else
45070 if test "$wxUSE_FS_INET" = "yes"; then
45071 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45072 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45073 wxUSE_FS_INET="no"
45074 fi
45075 fi
45076
45077 if test "$wxUSE_URL" = "yes"; then
45078 if test "$wxUSE_PROTOCOL" != "yes"; then
45079 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45080 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45081 wxUSE_URL=no
45082 fi
45083 if test "$wxUSE_URL" = "yes"; then
45084 cat >>confdefs.h <<\_ACEOF
45085 #define wxUSE_URL 1
45086 _ACEOF
45087
45088 fi
45089 fi
45090
45091 if test "$wxUSE_VARIANT" = "yes"; then
45092 cat >>confdefs.h <<\_ACEOF
45093 #define wxUSE_VARIANT 1
45094 _ACEOF
45095
45096 fi
45097
45098 if test "$wxUSE_FS_INET" = "yes"; then
45099 cat >>confdefs.h <<\_ACEOF
45100 #define wxUSE_FS_INET 1
45101 _ACEOF
45102
45103 fi
45104
45105
45106 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45107 wxUSE_JOYSTICK=no
45108
45109 if test "$TOOLKIT" = "MSW"; then
45110 wxUSE_JOYSTICK=yes
45111
45112 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45113 if test "$USE_DARWIN" = 1; then
45114 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45115 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45116 ac_ext=cpp
45117 ac_cpp='$CXXCPP $CPPFLAGS'
45118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45121
45122 cat >conftest.$ac_ext <<_ACEOF
45123 /* confdefs.h. */
45124 _ACEOF
45125 cat confdefs.h >>conftest.$ac_ext
45126 cat >>conftest.$ac_ext <<_ACEOF
45127 /* end confdefs.h. */
45128 #include <IOKit/hid/IOHIDLib.h>
45129 int
45130 main ()
45131 {
45132 IOHIDQueueInterface *qi = NULL;
45133 IOHIDCallbackFunction cb = NULL;
45134 qi->setEventCallout(NULL, cb, NULL, NULL);
45135 ;
45136 return 0;
45137 }
45138 _ACEOF
45139 rm -f conftest.$ac_objext
45140 if { (ac_try="$ac_compile"
45141 case "(($ac_try" in
45142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45143 *) ac_try_echo=$ac_try;;
45144 esac
45145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45146 (eval "$ac_compile") 2>conftest.er1
45147 ac_status=$?
45148 grep -v '^ *+' conftest.er1 >conftest.err
45149 rm -f conftest.er1
45150 cat conftest.err >&5
45151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45152 (exit $ac_status); } && {
45153 test -z "$ac_cxx_werror_flag" ||
45154 test ! -s conftest.err
45155 } && test -s conftest.$ac_objext; then
45156 wxUSE_JOYSTICK=yes
45157
45158 else
45159 echo "$as_me: failed program was:" >&5
45160 sed 's/^/| /' conftest.$ac_ext >&5
45161
45162
45163 fi
45164
45165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45166 ac_ext=c
45167 ac_cpp='$CPP $CPPFLAGS'
45168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45171
45172 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45173 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45174 fi
45175
45176 else
45177 if test "$wxUSE_MGL" != 1; then
45178
45179 for ac_header in linux/joystick.h
45180 do
45181 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45182 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45184 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45185 echo $ECHO_N "(cached) $ECHO_C" >&6
45186 else
45187 cat >conftest.$ac_ext <<_ACEOF
45188 /* confdefs.h. */
45189 _ACEOF
45190 cat confdefs.h >>conftest.$ac_ext
45191 cat >>conftest.$ac_ext <<_ACEOF
45192 /* end confdefs.h. */
45193 $ac_includes_default
45194
45195 #include <$ac_header>
45196 _ACEOF
45197 rm -f conftest.$ac_objext
45198 if { (ac_try="$ac_compile"
45199 case "(($ac_try" in
45200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45201 *) ac_try_echo=$ac_try;;
45202 esac
45203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45204 (eval "$ac_compile") 2>conftest.er1
45205 ac_status=$?
45206 grep -v '^ *+' conftest.er1 >conftest.err
45207 rm -f conftest.er1
45208 cat conftest.err >&5
45209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45210 (exit $ac_status); } && {
45211 test -z "$ac_c_werror_flag" ||
45212 test ! -s conftest.err
45213 } && test -s conftest.$ac_objext; then
45214 eval "$as_ac_Header=yes"
45215 else
45216 echo "$as_me: failed program was:" >&5
45217 sed 's/^/| /' conftest.$ac_ext >&5
45218
45219 eval "$as_ac_Header=no"
45220 fi
45221
45222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45223 fi
45224 ac_res=`eval echo '${'$as_ac_Header'}'`
45225 { echo "$as_me:$LINENO: result: $ac_res" >&5
45226 echo "${ECHO_T}$ac_res" >&6; }
45227 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45228 cat >>confdefs.h <<_ACEOF
45229 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45230 _ACEOF
45231 wxUSE_JOYSTICK=yes
45232 fi
45233
45234 done
45235
45236 fi
45237 fi
45238
45239 if test "$wxUSE_JOYSTICK" = "yes"; then
45240 cat >>confdefs.h <<\_ACEOF
45241 #define wxUSE_JOYSTICK 1
45242 _ACEOF
45243
45244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45245 else
45246 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45247 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45248 fi
45249 fi
45250
45251
45252
45253 if test "$wxUSE_FONTENUM" = "yes" ; then
45254 cat >>confdefs.h <<\_ACEOF
45255 #define wxUSE_FONTENUM 1
45256 _ACEOF
45257
45258 fi
45259
45260 if test "$wxUSE_FONTMAP" = "yes" ; then
45261 cat >>confdefs.h <<\_ACEOF
45262 #define wxUSE_FONTMAP 1
45263 _ACEOF
45264
45265 fi
45266
45267 if test "$wxUSE_UNICODE" = "yes" ; then
45268 cat >>confdefs.h <<\_ACEOF
45269 #define wxUSE_UNICODE 1
45270 _ACEOF
45271
45272
45273 if test "$USE_WIN32" != 1; then
45274 wxUSE_UNICODE_MSLU=no
45275 fi
45276
45277 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45278 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45279 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45280 if test "${ac_cv_lib_unicows_main+set}" = set; then
45281 echo $ECHO_N "(cached) $ECHO_C" >&6
45282 else
45283 ac_check_lib_save_LIBS=$LIBS
45284 LIBS="-lunicows $LIBS"
45285 cat >conftest.$ac_ext <<_ACEOF
45286 /* confdefs.h. */
45287 _ACEOF
45288 cat confdefs.h >>conftest.$ac_ext
45289 cat >>conftest.$ac_ext <<_ACEOF
45290 /* end confdefs.h. */
45291
45292
45293 int
45294 main ()
45295 {
45296 return main ();
45297 ;
45298 return 0;
45299 }
45300 _ACEOF
45301 rm -f conftest.$ac_objext conftest$ac_exeext
45302 if { (ac_try="$ac_link"
45303 case "(($ac_try" in
45304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45305 *) ac_try_echo=$ac_try;;
45306 esac
45307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45308 (eval "$ac_link") 2>conftest.er1
45309 ac_status=$?
45310 grep -v '^ *+' conftest.er1 >conftest.err
45311 rm -f conftest.er1
45312 cat conftest.err >&5
45313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45314 (exit $ac_status); } && {
45315 test -z "$ac_c_werror_flag" ||
45316 test ! -s conftest.err
45317 } && test -s conftest$ac_exeext &&
45318 $as_test_x conftest$ac_exeext; then
45319 ac_cv_lib_unicows_main=yes
45320 else
45321 echo "$as_me: failed program was:" >&5
45322 sed 's/^/| /' conftest.$ac_ext >&5
45323
45324 ac_cv_lib_unicows_main=no
45325 fi
45326
45327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45328 conftest$ac_exeext conftest.$ac_ext
45329 LIBS=$ac_check_lib_save_LIBS
45330 fi
45331 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45332 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45333 if test $ac_cv_lib_unicows_main = yes; then
45334
45335 cat >>confdefs.h <<\_ACEOF
45336 #define wxUSE_UNICODE_MSLU 1
45337 _ACEOF
45338
45339
45340 else
45341
45342 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45343 Applications will only run on Windows NT/2000/XP!" >&5
45344 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45345 Applications will only run on Windows NT/2000/XP!" >&2;}
45346 wxUSE_UNICODE_MSLU=no
45347
45348 fi
45349
45350 fi
45351 fi
45352
45353 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45354 cat >>confdefs.h <<\_ACEOF
45355 #define wxUSE_UNICODE_UTF8 1
45356 _ACEOF
45357
45358
45359 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45360 cat >>confdefs.h <<\_ACEOF
45361 #define wxUSE_UTF8_LOCALE_ONLY 1
45362 _ACEOF
45363
45364 fi
45365 fi
45366
45367
45368 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45369 cat >>confdefs.h <<\_ACEOF
45370 #define wxUSE_CONSTRAINTS 1
45371 _ACEOF
45372
45373 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45374 fi
45375
45376 if test "$wxUSE_MDI" = "yes"; then
45377 cat >>confdefs.h <<\_ACEOF
45378 #define wxUSE_MDI 1
45379 _ACEOF
45380
45381
45382 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45383 cat >>confdefs.h <<\_ACEOF
45384 #define wxUSE_MDI_ARCHITECTURE 1
45385 _ACEOF
45386
45387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45388 fi
45389 fi
45390
45391 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45392 cat >>confdefs.h <<\_ACEOF
45393 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45394 _ACEOF
45395
45396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45397 fi
45398
45399 if test "$wxUSE_HELP" = "yes"; then
45400 cat >>confdefs.h <<\_ACEOF
45401 #define wxUSE_HELP 1
45402 _ACEOF
45403
45404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45405
45406 if test "$wxUSE_MSW" = 1; then
45407 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45408 cat >>confdefs.h <<\_ACEOF
45409 #define wxUSE_MS_HTML_HELP 1
45410 _ACEOF
45411
45412 fi
45413 fi
45414
45415 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45416 if test "$wxUSE_HTML" = "yes"; then
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_WXHTML_HELP 1
45419 _ACEOF
45420
45421 else
45422 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45423 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45424 wxUSE_WXHTML_HELP=no
45425 fi
45426 fi
45427 fi
45428
45429 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45430 cat >>confdefs.h <<\_ACEOF
45431 #define wxUSE_PRINTING_ARCHITECTURE 1
45432 _ACEOF
45433
45434 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45435 fi
45436
45437 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45438 cat >>confdefs.h <<\_ACEOF
45439 #define wxUSE_POSTSCRIPT 1
45440 _ACEOF
45441
45442 fi
45443
45444 cat >>confdefs.h <<\_ACEOF
45445 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45446 _ACEOF
45447
45448
45449 if test "$wxUSE_SVG" = "yes"; then
45450 cat >>confdefs.h <<\_ACEOF
45451 #define wxUSE_SVG 1
45452 _ACEOF
45453
45454 fi
45455
45456
45457 if test "$wxUSE_METAFILE" = "yes"; then
45458 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45459 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45460 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45461 wxUSE_METAFILE=no
45462 fi
45463 fi
45464
45465
45466 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45467 -o "$wxUSE_CLIPBOARD" = "yes" \
45468 -o "$wxUSE_OLE" = "yes" \
45469 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45470 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45471 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45472 if test "${ac_cv_header_ole2_h+set}" = set; then
45473 echo $ECHO_N "(cached) $ECHO_C" >&6
45474 else
45475 cat >conftest.$ac_ext <<_ACEOF
45476 /* confdefs.h. */
45477 _ACEOF
45478 cat confdefs.h >>conftest.$ac_ext
45479 cat >>conftest.$ac_ext <<_ACEOF
45480 /* end confdefs.h. */
45481
45482
45483 #include <ole2.h>
45484 _ACEOF
45485 rm -f conftest.$ac_objext
45486 if { (ac_try="$ac_compile"
45487 case "(($ac_try" in
45488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45489 *) ac_try_echo=$ac_try;;
45490 esac
45491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45492 (eval "$ac_compile") 2>conftest.er1
45493 ac_status=$?
45494 grep -v '^ *+' conftest.er1 >conftest.err
45495 rm -f conftest.er1
45496 cat conftest.err >&5
45497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45498 (exit $ac_status); } && {
45499 test -z "$ac_c_werror_flag" ||
45500 test ! -s conftest.err
45501 } && test -s conftest.$ac_objext; then
45502 ac_cv_header_ole2_h=yes
45503 else
45504 echo "$as_me: failed program was:" >&5
45505 sed 's/^/| /' conftest.$ac_ext >&5
45506
45507 ac_cv_header_ole2_h=no
45508 fi
45509
45510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45511 fi
45512 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45513 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45514
45515
45516
45517 if test "$ac_cv_header_ole2_h" = "yes" ; then
45518 if test "$GCC" = yes ; then
45519 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45520 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45521 cat >conftest.$ac_ext <<_ACEOF
45522 /* confdefs.h. */
45523 _ACEOF
45524 cat confdefs.h >>conftest.$ac_ext
45525 cat >>conftest.$ac_ext <<_ACEOF
45526 /* end confdefs.h. */
45527 #include <windows.h>
45528 #include <ole2.h>
45529 int
45530 main ()
45531 {
45532
45533 ;
45534 return 0;
45535 }
45536 _ACEOF
45537 rm -f conftest.$ac_objext
45538 if { (ac_try="$ac_compile"
45539 case "(($ac_try" in
45540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45541 *) ac_try_echo=$ac_try;;
45542 esac
45543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45544 (eval "$ac_compile") 2>conftest.er1
45545 ac_status=$?
45546 grep -v '^ *+' conftest.er1 >conftest.err
45547 rm -f conftest.er1
45548 cat conftest.err >&5
45549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45550 (exit $ac_status); } && {
45551 test -z "$ac_c_werror_flag" ||
45552 test ! -s conftest.err
45553 } && test -s conftest.$ac_objext; then
45554 { echo "$as_me:$LINENO: result: no" >&5
45555 echo "${ECHO_T}no" >&6; }
45556 else
45557 echo "$as_me: failed program was:" >&5
45558 sed 's/^/| /' conftest.$ac_ext >&5
45559
45560 { echo "$as_me:$LINENO: result: yes" >&5
45561 echo "${ECHO_T}yes" >&6; }
45562 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45563 fi
45564
45565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45566 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45567 if test "$wxUSE_OLE" = "yes" ; then
45568 cat >>confdefs.h <<\_ACEOF
45569 #define wxUSE_OLE 1
45570 _ACEOF
45571
45572 cat >>confdefs.h <<\_ACEOF
45573 #define wxUSE_OLE_AUTOMATION 1
45574 _ACEOF
45575
45576 cat >>confdefs.h <<\_ACEOF
45577 #define wxUSE_ACTIVEX 1
45578 _ACEOF
45579
45580 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45581 fi
45582 fi
45583
45584 if test "$wxUSE_DATAOBJ" = "yes" ; then
45585 cat >>confdefs.h <<\_ACEOF
45586 #define wxUSE_DATAOBJ 1
45587 _ACEOF
45588
45589 fi
45590 else
45591 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45592 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45593
45594 wxUSE_CLIPBOARD=no
45595 wxUSE_DRAG_AND_DROP=no
45596 wxUSE_DATAOBJ=no
45597 wxUSE_OLE=no
45598 fi
45599
45600 if test "$wxUSE_METAFILE" = "yes"; then
45601 cat >>confdefs.h <<\_ACEOF
45602 #define wxUSE_METAFILE 1
45603 _ACEOF
45604
45605
45606 cat >>confdefs.h <<\_ACEOF
45607 #define wxUSE_ENH_METAFILE 1
45608 _ACEOF
45609
45610 fi
45611 fi
45612
45613 if test "$wxUSE_IPC" = "yes"; then
45614 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45615 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45616 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45617 wxUSE_IPC=no
45618 fi
45619
45620 if test "$wxUSE_IPC" = "yes"; then
45621 cat >>confdefs.h <<\_ACEOF
45622 #define wxUSE_IPC 1
45623 _ACEOF
45624
45625 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45626 fi
45627 fi
45628
45629 if test "$wxUSE_DATAOBJ" = "yes"; then
45630 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45631 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45632 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45633 wxUSE_DATAOBJ=no
45634 else
45635 cat >>confdefs.h <<\_ACEOF
45636 #define wxUSE_DATAOBJ 1
45637 _ACEOF
45638
45639 fi
45640 else
45641 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45642 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45643 wxUSE_CLIPBOARD=no
45644 wxUSE_DRAG_AND_DROP=no
45645 fi
45646
45647 if test "$wxUSE_CLIPBOARD" = "yes"; then
45648 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45649 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45650 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45651 wxUSE_CLIPBOARD=no
45652 fi
45653
45654 if test "$wxUSE_CLIPBOARD" = "yes"; then
45655 cat >>confdefs.h <<\_ACEOF
45656 #define wxUSE_CLIPBOARD 1
45657 _ACEOF
45658
45659 fi
45660 fi
45661
45662 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45663 if test "$wxUSE_GTK" = 1; then
45664 if test "$WXGTK12" != 1; then
45665 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45666 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45667 wxUSE_DRAG_AND_DROP=no
45668 fi
45669 fi
45670
45671 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45672 "$wxUSE_DFB" = 1; then
45673 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45674 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45675 wxUSE_DRAG_AND_DROP=no
45676 fi
45677
45678 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45679 cat >>confdefs.h <<\_ACEOF
45680 #define wxUSE_DRAG_AND_DROP 1
45681 _ACEOF
45682
45683 fi
45684
45685 fi
45686
45687 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45688 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45689 fi
45690
45691 if test "$wxUSE_SPLINES" = "yes" ; then
45692 cat >>confdefs.h <<\_ACEOF
45693 #define wxUSE_SPLINES 1
45694 _ACEOF
45695
45696 fi
45697
45698 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45699 cat >>confdefs.h <<\_ACEOF
45700 #define wxUSE_MOUSEWHEEL 1
45701 _ACEOF
45702
45703 fi
45704
45705
45706 USES_CONTROLS=0
45707 if test "$wxUSE_CONTROLS" = "yes"; then
45708 USES_CONTROLS=1
45709 fi
45710
45711 if test "$wxUSE_ACCEL" = "yes"; then
45712 cat >>confdefs.h <<\_ACEOF
45713 #define wxUSE_ACCEL 1
45714 _ACEOF
45715
45716 USES_CONTROLS=1
45717 fi
45718
45719 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45720 cat >>confdefs.h <<\_ACEOF
45721 #define wxUSE_ANIMATIONCTRL 1
45722 _ACEOF
45723
45724 USES_CONTROLS=1
45725 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45726 fi
45727
45728 if test "$wxUSE_BUTTON" = "yes"; then
45729 cat >>confdefs.h <<\_ACEOF
45730 #define wxUSE_BUTTON 1
45731 _ACEOF
45732
45733 USES_CONTROLS=1
45734 fi
45735
45736 if test "$wxUSE_BMPBUTTON" = "yes"; then
45737 cat >>confdefs.h <<\_ACEOF
45738 #define wxUSE_BMPBUTTON 1
45739 _ACEOF
45740
45741 USES_CONTROLS=1
45742 fi
45743
45744 if test "$wxUSE_CALCTRL" = "yes"; then
45745 cat >>confdefs.h <<\_ACEOF
45746 #define wxUSE_CALENDARCTRL 1
45747 _ACEOF
45748
45749 USES_CONTROLS=1
45750 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45751 fi
45752
45753 if test "$wxUSE_CARET" = "yes"; then
45754 cat >>confdefs.h <<\_ACEOF
45755 #define wxUSE_CARET 1
45756 _ACEOF
45757
45758 USES_CONTROLS=1
45759 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45760 fi
45761
45762 if test "$wxUSE_COLLPANE" = "yes"; then
45763 cat >>confdefs.h <<\_ACEOF
45764 #define wxUSE_COLLPANE 1
45765 _ACEOF
45766
45767 USES_CONTROLS=1
45768 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45769 fi
45770
45771 if test "$wxUSE_COMBOBOX" = "yes"; then
45772 cat >>confdefs.h <<\_ACEOF
45773 #define wxUSE_COMBOBOX 1
45774 _ACEOF
45775
45776 USES_CONTROLS=1
45777 fi
45778
45779 if test "$wxUSE_COMBOCTRL" = "yes"; then
45780 cat >>confdefs.h <<\_ACEOF
45781 #define wxUSE_COMBOCTRL 1
45782 _ACEOF
45783
45784 USES_CONTROLS=1
45785 fi
45786
45787 if test "$wxUSE_CHOICE" = "yes"; then
45788 cat >>confdefs.h <<\_ACEOF
45789 #define wxUSE_CHOICE 1
45790 _ACEOF
45791
45792 USES_CONTROLS=1
45793 fi
45794
45795 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45796 cat >>confdefs.h <<\_ACEOF
45797 #define wxUSE_CHOICEBOOK 1
45798 _ACEOF
45799
45800 USES_CONTROLS=1
45801 fi
45802
45803 if test "$wxUSE_CHECKBOX" = "yes"; then
45804 cat >>confdefs.h <<\_ACEOF
45805 #define wxUSE_CHECKBOX 1
45806 _ACEOF
45807
45808 USES_CONTROLS=1
45809 fi
45810
45811 if test "$wxUSE_CHECKLST" = "yes"; then
45812 cat >>confdefs.h <<\_ACEOF
45813 #define wxUSE_CHECKLISTBOX 1
45814 _ACEOF
45815
45816 USES_CONTROLS=1
45817 fi
45818
45819 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45820 cat >>confdefs.h <<\_ACEOF
45821 #define wxUSE_COLOURPICKERCTRL 1
45822 _ACEOF
45823
45824 USES_CONTROLS=1
45825 fi
45826
45827 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45828 cat >>confdefs.h <<\_ACEOF
45829 #define wxUSE_DATEPICKCTRL 1
45830 _ACEOF
45831
45832 USES_CONTROLS=1
45833 fi
45834
45835 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45836 cat >>confdefs.h <<\_ACEOF
45837 #define wxUSE_DIRPICKERCTRL 1
45838 _ACEOF
45839
45840 USES_CONTROLS=1
45841 fi
45842
45843 if test "$wxUSE_FILECTRL" = "yes"; then
45844 cat >>confdefs.h <<\_ACEOF
45845 #define wxUSE_FILECTRL 1
45846 _ACEOF
45847
45848 USES_CONTROLS=1
45849 fi
45850
45851 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45852 cat >>confdefs.h <<\_ACEOF
45853 #define wxUSE_FILEPICKERCTRL 1
45854 _ACEOF
45855
45856 USES_CONTROLS=1
45857 fi
45858
45859 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45860 cat >>confdefs.h <<\_ACEOF
45861 #define wxUSE_FONTPICKERCTRL 1
45862 _ACEOF
45863
45864 USES_CONTROLS=1
45865 fi
45866
45867 if test "$wxUSE_DISPLAY" = "yes"; then
45868 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45869 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45870 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45871 wxUSE_DISPLAY=no
45872 else
45873 cat >>confdefs.h <<\_ACEOF
45874 #define wxUSE_DISPLAY 1
45875 _ACEOF
45876
45877 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45878 fi
45879 fi
45880
45881 if test "$wxUSE_DETECT_SM" = "yes"; then
45882 cat >>confdefs.h <<\_ACEOF
45883 #define wxUSE_DETECT_SM 1
45884 _ACEOF
45885
45886 fi
45887
45888 if test "$wxUSE_GAUGE" = "yes"; then
45889 cat >>confdefs.h <<\_ACEOF
45890 #define wxUSE_GAUGE 1
45891 _ACEOF
45892
45893 USES_CONTROLS=1
45894 fi
45895
45896 if test "$wxUSE_GRID" = "yes"; then
45897 cat >>confdefs.h <<\_ACEOF
45898 #define wxUSE_GRID 1
45899 _ACEOF
45900
45901 USES_CONTROLS=1
45902 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45903 fi
45904
45905 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45906 cat >>confdefs.h <<\_ACEOF
45907 #define wxUSE_HYPERLINKCTRL 1
45908 _ACEOF
45909
45910 USES_CONTROLS=1
45911 fi
45912
45913 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45914 cat >>confdefs.h <<\_ACEOF
45915 #define wxUSE_BITMAPCOMBOBOX 1
45916 _ACEOF
45917
45918 USES_CONTROLS=1
45919 fi
45920
45921 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45922 cat >>confdefs.h <<\_ACEOF
45923 #define wxUSE_DATAVIEWCTRL 1
45924 _ACEOF
45925
45926 USES_CONTROLS=1
45927 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45928 fi
45929
45930 if test "$wxUSE_IMAGLIST" = "yes"; then
45931 cat >>confdefs.h <<\_ACEOF
45932 #define wxUSE_IMAGLIST 1
45933 _ACEOF
45934
45935 fi
45936
45937 if test "$wxUSE_LISTBOOK" = "yes"; then
45938 cat >>confdefs.h <<\_ACEOF
45939 #define wxUSE_LISTBOOK 1
45940 _ACEOF
45941
45942 USES_CONTROLS=1
45943 fi
45944
45945 if test "$wxUSE_LISTBOX" = "yes"; then
45946 cat >>confdefs.h <<\_ACEOF
45947 #define wxUSE_LISTBOX 1
45948 _ACEOF
45949
45950 USES_CONTROLS=1
45951 fi
45952
45953 if test "$wxUSE_LISTCTRL" = "yes"; then
45954 if test "$wxUSE_IMAGLIST" = "yes"; then
45955 cat >>confdefs.h <<\_ACEOF
45956 #define wxUSE_LISTCTRL 1
45957 _ACEOF
45958
45959 USES_CONTROLS=1
45960 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45961 else
45962 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45963 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45964 fi
45965 fi
45966
45967 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45968 cat >>confdefs.h <<\_ACEOF
45969 #define wxUSE_EDITABLELISTBOX 1
45970 _ACEOF
45971
45972 USES_CONTROLS=1
45973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45974 fi
45975
45976 if test "$wxUSE_NOTEBOOK" = "yes"; then
45977 cat >>confdefs.h <<\_ACEOF
45978 #define wxUSE_NOTEBOOK 1
45979 _ACEOF
45980
45981 USES_CONTROLS=1
45982 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45983 fi
45984
45985 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45986 cat >>confdefs.h <<\_ACEOF
45987 #define wxUSE_NOTIFICATION_MESSAGE 1
45988 _ACEOF
45989
45990 fi
45991
45992 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45993 cat >>confdefs.h <<\_ACEOF
45994 #define wxUSE_ODCOMBOBOX 1
45995 _ACEOF
45996
45997 USES_CONTROLS=1
45998 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45999 fi
46000
46001 if test "$wxUSE_RADIOBOX" = "yes"; then
46002 cat >>confdefs.h <<\_ACEOF
46003 #define wxUSE_RADIOBOX 1
46004 _ACEOF
46005
46006 USES_CONTROLS=1
46007 fi
46008
46009 if test "$wxUSE_RADIOBTN" = "yes"; then
46010 cat >>confdefs.h <<\_ACEOF
46011 #define wxUSE_RADIOBTN 1
46012 _ACEOF
46013
46014 USES_CONTROLS=1
46015 fi
46016
46017 if test "$wxUSE_SASH" = "yes"; then
46018 cat >>confdefs.h <<\_ACEOF
46019 #define wxUSE_SASH 1
46020 _ACEOF
46021
46022 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46023 fi
46024
46025 if test "$wxUSE_SCROLLBAR" = "yes"; then
46026 cat >>confdefs.h <<\_ACEOF
46027 #define wxUSE_SCROLLBAR 1
46028 _ACEOF
46029
46030 USES_CONTROLS=1
46031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
46032 fi
46033
46034 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46035 cat >>confdefs.h <<\_ACEOF
46036 #define wxUSE_SEARCHCTRL 1
46037 _ACEOF
46038
46039 USES_CONTROLS=1
46040 fi
46041
46042 if test "$wxUSE_SLIDER" = "yes"; then
46043 cat >>confdefs.h <<\_ACEOF
46044 #define wxUSE_SLIDER 1
46045 _ACEOF
46046
46047 USES_CONTROLS=1
46048 fi
46049
46050 if test "$wxUSE_SPINBTN" = "yes"; then
46051 cat >>confdefs.h <<\_ACEOF
46052 #define wxUSE_SPINBTN 1
46053 _ACEOF
46054
46055 USES_CONTROLS=1
46056 fi
46057
46058 if test "$wxUSE_SPINCTRL" = "yes"; then
46059 cat >>confdefs.h <<\_ACEOF
46060 #define wxUSE_SPINCTRL 1
46061 _ACEOF
46062
46063 USES_CONTROLS=1
46064 fi
46065
46066 if test "$wxUSE_SPLITTER" = "yes"; then
46067 cat >>confdefs.h <<\_ACEOF
46068 #define wxUSE_SPLITTER 1
46069 _ACEOF
46070
46071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46072 fi
46073
46074 if test "$wxUSE_STATBMP" = "yes"; then
46075 cat >>confdefs.h <<\_ACEOF
46076 #define wxUSE_STATBMP 1
46077 _ACEOF
46078
46079 USES_CONTROLS=1
46080 fi
46081
46082 if test "$wxUSE_STATBOX" = "yes"; then
46083 cat >>confdefs.h <<\_ACEOF
46084 #define wxUSE_STATBOX 1
46085 _ACEOF
46086
46087 USES_CONTROLS=1
46088 fi
46089
46090 if test "$wxUSE_STATTEXT" = "yes"; then
46091 cat >>confdefs.h <<\_ACEOF
46092 #define wxUSE_STATTEXT 1
46093 _ACEOF
46094
46095 USES_CONTROLS=1
46096 fi
46097
46098 if test "$wxUSE_STATLINE" = "yes"; then
46099 cat >>confdefs.h <<\_ACEOF
46100 #define wxUSE_STATLINE 1
46101 _ACEOF
46102
46103 USES_CONTROLS=1
46104 fi
46105
46106 if test "$wxUSE_STATUSBAR" = "yes"; then
46107 cat >>confdefs.h <<\_ACEOF
46108 #define wxUSE_NATIVE_STATUSBAR 1
46109 _ACEOF
46110
46111 cat >>confdefs.h <<\_ACEOF
46112 #define wxUSE_STATUSBAR 1
46113 _ACEOF
46114
46115 USES_CONTROLS=1
46116
46117 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46118 fi
46119
46120 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46121 cat >>confdefs.h <<\_ACEOF
46122 #define wxUSE_TAB_DIALOG 1
46123 _ACEOF
46124
46125 fi
46126
46127 if test "$wxUSE_TEXTCTRL" = "yes"; then
46128 cat >>confdefs.h <<\_ACEOF
46129 #define wxUSE_TEXTCTRL 1
46130 _ACEOF
46131
46132 USES_CONTROLS=1
46133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46134
46135 cat >>confdefs.h <<\_ACEOF
46136 #define wxUSE_RICHEDIT 1
46137 _ACEOF
46138
46139 cat >>confdefs.h <<\_ACEOF
46140 #define wxUSE_RICHEDIT2 1
46141 _ACEOF
46142
46143 fi
46144
46145 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46146 if test "$wxUSE_COCOA" = 1 ; then
46147 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46148 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46149 wxUSE_TOGGLEBTN=no
46150 fi
46151
46152 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46153 cat >>confdefs.h <<\_ACEOF
46154 #define wxUSE_TOGGLEBTN 1
46155 _ACEOF
46156
46157 USES_CONTROLS=1
46158 fi
46159 fi
46160
46161 if test "$wxUSE_TOOLBAR" = "yes"; then
46162 cat >>confdefs.h <<\_ACEOF
46163 #define wxUSE_TOOLBAR 1
46164 _ACEOF
46165
46166 USES_CONTROLS=1
46167
46168 if test "$wxUSE_UNIVERSAL" = "yes"; then
46169 wxUSE_TOOLBAR_NATIVE="no"
46170 else
46171 wxUSE_TOOLBAR_NATIVE="yes"
46172 cat >>confdefs.h <<\_ACEOF
46173 #define wxUSE_TOOLBAR_NATIVE 1
46174 _ACEOF
46175
46176 fi
46177
46178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46179 fi
46180
46181 if test "$wxUSE_TOOLTIPS" = "yes"; then
46182 if test "$wxUSE_MOTIF" = 1; then
46183 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46184 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46185 else
46186 if test "$wxUSE_UNIVERSAL" = "yes"; then
46187 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46188 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46189 else
46190 cat >>confdefs.h <<\_ACEOF
46191 #define wxUSE_TOOLTIPS 1
46192 _ACEOF
46193
46194 fi
46195 fi
46196 fi
46197
46198 if test "$wxUSE_TREEBOOK" = "yes"; then
46199 cat >>confdefs.h <<\_ACEOF
46200 #define wxUSE_TREEBOOK 1
46201 _ACEOF
46202
46203 USES_CONTROLS=1
46204 fi
46205
46206 if test "$wxUSE_TOOLBOOK" = "yes"; then
46207 cat >>confdefs.h <<\_ACEOF
46208 #define wxUSE_TOOLBOOK 1
46209 _ACEOF
46210
46211 USES_CONTROLS=1
46212 fi
46213
46214 if test "$wxUSE_TREECTRL" = "yes"; then
46215 if test "$wxUSE_IMAGLIST" = "yes"; then
46216 cat >>confdefs.h <<\_ACEOF
46217 #define wxUSE_TREECTRL 1
46218 _ACEOF
46219
46220 USES_CONTROLS=1
46221 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46222 else
46223 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46224 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46225 fi
46226 fi
46227
46228 if test "$wxUSE_POPUPWIN" = "yes"; then
46229 if test "$wxUSE_COCOA" = 1 ; then
46230 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46231 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46232 else
46233 if test "$wxUSE_PM" = 1; then
46234 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46235 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46236 else
46237 cat >>confdefs.h <<\_ACEOF
46238 #define wxUSE_POPUPWIN 1
46239 _ACEOF
46240
46241 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46242
46243 USES_CONTROLS=1
46244 fi
46245 fi
46246 fi
46247
46248 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46249 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46250 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46251 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46252 else
46253 cat >>confdefs.h <<\_ACEOF
46254 #define wxUSE_DIALUP_MANAGER 1
46255 _ACEOF
46256
46257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46258 fi
46259 fi
46260
46261 if test "$wxUSE_TIPWINDOW" = "yes"; then
46262 if test "$wxUSE_PM" = 1; then
46263 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46264 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46265 else
46266 cat >>confdefs.h <<\_ACEOF
46267 #define wxUSE_TIPWINDOW 1
46268 _ACEOF
46269
46270 fi
46271 fi
46272
46273 if test "$USES_CONTROLS" = 1; then
46274 cat >>confdefs.h <<\_ACEOF
46275 #define wxUSE_CONTROLS 1
46276 _ACEOF
46277
46278 fi
46279
46280
46281 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46282 cat >>confdefs.h <<\_ACEOF
46283 #define wxUSE_ACCESSIBILITY 1
46284 _ACEOF
46285
46286 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46287 fi
46288
46289 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46290 cat >>confdefs.h <<\_ACEOF
46291 #define wxUSE_DRAGIMAGE 1
46292 _ACEOF
46293
46294 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46295 fi
46296
46297 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46298 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46299 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46300 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46301 else
46302 cat >>confdefs.h <<\_ACEOF
46303 #define wxUSE_EXCEPTIONS 1
46304 _ACEOF
46305
46306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46307 fi
46308 fi
46309
46310 USE_HTML=0
46311 if test "$wxUSE_HTML" = "yes"; then
46312 cat >>confdefs.h <<\_ACEOF
46313 #define wxUSE_HTML 1
46314 _ACEOF
46315
46316 USE_HTML=1
46317 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46318 fi
46319 if test "$wxUSE_WEBKIT" = "yes"; then
46320 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46321 old_CPPFLAGS="$CPPFLAGS"
46322 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46323 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46324 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46325 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46326 echo $ECHO_N "(cached) $ECHO_C" >&6
46327 else
46328 cat >conftest.$ac_ext <<_ACEOF
46329 /* confdefs.h. */
46330 _ACEOF
46331 cat confdefs.h >>conftest.$ac_ext
46332 cat >>conftest.$ac_ext <<_ACEOF
46333 /* end confdefs.h. */
46334
46335 #include <Carbon/Carbon.h>
46336 #include <WebKit/WebKit.h>
46337
46338
46339 #include <WebKit/HIWebView.h>
46340 _ACEOF
46341 rm -f conftest.$ac_objext
46342 if { (ac_try="$ac_compile"
46343 case "(($ac_try" in
46344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46345 *) ac_try_echo=$ac_try;;
46346 esac
46347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46348 (eval "$ac_compile") 2>conftest.er1
46349 ac_status=$?
46350 grep -v '^ *+' conftest.er1 >conftest.err
46351 rm -f conftest.er1
46352 cat conftest.err >&5
46353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46354 (exit $ac_status); } && {
46355 test -z "$ac_c_werror_flag" ||
46356 test ! -s conftest.err
46357 } && test -s conftest.$ac_objext; then
46358 ac_cv_header_WebKit_HIWebView_h=yes
46359 else
46360 echo "$as_me: failed program was:" >&5
46361 sed 's/^/| /' conftest.$ac_ext >&5
46362
46363 ac_cv_header_WebKit_HIWebView_h=no
46364 fi
46365
46366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46367 fi
46368 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46369 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46370 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46371
46372 cat >>confdefs.h <<\_ACEOF
46373 #define wxUSE_WEBKIT 1
46374 _ACEOF
46375
46376 WEBKIT_LINK="-framework WebKit"
46377
46378 else
46379
46380 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46381 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46382 wxUSE_WEBKIT=no
46383
46384 fi
46385
46386
46387 CPPFLAGS="$old_CPPFLAGS"
46388 elif test "$wxUSE_COCOA" = 1; then
46389 cat >>confdefs.h <<\_ACEOF
46390 #define wxUSE_WEBKIT 1
46391 _ACEOF
46392
46393 else
46394 wxUSE_WEBKIT=no
46395 fi
46396 if test "$wxUSE_WEBKIT" = "yes"; then
46397 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46398 fi
46399 fi
46400
46401 USE_XRC=0
46402 if test "$wxUSE_XRC" = "yes"; then
46403 if test "$wxUSE_XML" != "yes"; then
46404 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46405 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46406 wxUSE_XRC=no
46407 else
46408 cat >>confdefs.h <<\_ACEOF
46409 #define wxUSE_XRC 1
46410 _ACEOF
46411
46412 USE_XRC=1
46413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46414 fi
46415 fi
46416
46417 USE_AUI=0
46418 if test "$wxUSE_AUI" = "yes"; then
46419 cat >>confdefs.h <<\_ACEOF
46420 #define wxUSE_AUI 1
46421 _ACEOF
46422
46423 USE_AUI=1
46424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46425 fi
46426
46427 USE_PROPGRID=0
46428 if test "$wxUSE_PROPGRID" = "yes"; then
46429 cat >>confdefs.h <<\_ACEOF
46430 #define wxUSE_PROPGRID 1
46431 _ACEOF
46432
46433 USE_PROPGRID=1
46434 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46435 fi
46436
46437 USE_STC=0
46438 if test "$wxUSE_STC" = "yes"; then
46439 cat >>confdefs.h <<\_ACEOF
46440 #define wxUSE_STC 1
46441 _ACEOF
46442
46443 USE_STC=1
46444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46445 fi
46446
46447 if test "$wxUSE_MENUS" = "yes"; then
46448 cat >>confdefs.h <<\_ACEOF
46449 #define wxUSE_MENUS 1
46450 _ACEOF
46451
46452 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46453 fi
46454
46455 if test "$wxUSE_METAFILE" = "yes"; then
46456 cat >>confdefs.h <<\_ACEOF
46457 #define wxUSE_METAFILE 1
46458 _ACEOF
46459
46460 fi
46461
46462 if test "$wxUSE_MIMETYPE" = "yes"; then
46463 cat >>confdefs.h <<\_ACEOF
46464 #define wxUSE_MIMETYPE 1
46465 _ACEOF
46466
46467 fi
46468
46469 if test "$wxUSE_MINIFRAME" = "yes"; then
46470 cat >>confdefs.h <<\_ACEOF
46471 #define wxUSE_MINIFRAME 1
46472 _ACEOF
46473
46474 fi
46475
46476 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46477 cat >>confdefs.h <<\_ACEOF
46478 #define wxUSE_SYSTEM_OPTIONS 1
46479 _ACEOF
46480
46481 fi
46482
46483 if test "$wxUSE_TASKBARICON" = "yes"; then
46484 cat >>confdefs.h <<\_ACEOF
46485 #define wxUSE_TASKBARICON 1
46486 _ACEOF
46487
46488 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46489 fi
46490
46491
46492 if test "$wxUSE_VALIDATORS" = "yes"; then
46493 cat >>confdefs.h <<\_ACEOF
46494 #define wxUSE_VALIDATORS 1
46495 _ACEOF
46496
46497 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46498 fi
46499
46500 if test "$wxUSE_PALETTE" = "yes" ; then
46501 if test "$wxUSE_DFB" = 1; then
46502 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46503 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46504 wxUSE_PALETTE=no
46505 else
46506 cat >>confdefs.h <<\_ACEOF
46507 #define wxUSE_PALETTE 1
46508 _ACEOF
46509
46510 fi
46511 fi
46512
46513 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46514 LIBS=" -lunicows $LIBS"
46515 fi
46516
46517 USE_RICHTEXT=0
46518 if test "$wxUSE_RICHTEXT" = "yes"; then
46519 cat >>confdefs.h <<\_ACEOF
46520 #define wxUSE_RICHTEXT 1
46521 _ACEOF
46522
46523 USE_RICHTEXT=1
46524 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46525 fi
46526
46527
46528 if test "$wxUSE_IMAGE" = "yes" ; then
46529 cat >>confdefs.h <<\_ACEOF
46530 #define wxUSE_IMAGE 1
46531 _ACEOF
46532
46533
46534 if test "$wxUSE_GIF" = "yes" ; then
46535 cat >>confdefs.h <<\_ACEOF
46536 #define wxUSE_GIF 1
46537 _ACEOF
46538
46539 fi
46540
46541 if test "$wxUSE_PCX" = "yes" ; then
46542 cat >>confdefs.h <<\_ACEOF
46543 #define wxUSE_PCX 1
46544 _ACEOF
46545
46546 fi
46547
46548 if test "$wxUSE_TGA" = "yes" ; then
46549 cat >>confdefs.h <<\_ACEOF
46550 #define wxUSE_TGA 1
46551 _ACEOF
46552
46553 fi
46554
46555 if test "$wxUSE_IFF" = "yes" ; then
46556 cat >>confdefs.h <<\_ACEOF
46557 #define wxUSE_IFF 1
46558 _ACEOF
46559
46560 fi
46561
46562 if test "$wxUSE_PNM" = "yes" ; then
46563 cat >>confdefs.h <<\_ACEOF
46564 #define wxUSE_PNM 1
46565 _ACEOF
46566
46567 fi
46568
46569 if test "$wxUSE_XPM" = "yes" ; then
46570 cat >>confdefs.h <<\_ACEOF
46571 #define wxUSE_XPM 1
46572 _ACEOF
46573
46574 fi
46575
46576 if test "$wxUSE_ICO_CUR" = "yes" ; then
46577 cat >>confdefs.h <<\_ACEOF
46578 #define wxUSE_ICO_CUR 1
46579 _ACEOF
46580
46581 fi
46582 fi
46583
46584
46585 if test "$wxUSE_ABOUTDLG" = "yes"; then
46586 cat >>confdefs.h <<\_ACEOF
46587 #define wxUSE_ABOUTDLG 1
46588 _ACEOF
46589
46590 fi
46591
46592 if test "$wxUSE_CHOICEDLG" = "yes"; then
46593 cat >>confdefs.h <<\_ACEOF
46594 #define wxUSE_CHOICEDLG 1
46595 _ACEOF
46596
46597 fi
46598
46599 if test "$wxUSE_COLOURDLG" = "yes"; then
46600 cat >>confdefs.h <<\_ACEOF
46601 #define wxUSE_COLOURDLG 1
46602 _ACEOF
46603
46604 fi
46605
46606 if test "$wxUSE_FILEDLG" = "yes"; then
46607 cat >>confdefs.h <<\_ACEOF
46608 #define wxUSE_FILEDLG 1
46609 _ACEOF
46610
46611 fi
46612
46613 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46614 cat >>confdefs.h <<\_ACEOF
46615 #define wxUSE_FINDREPLDLG 1
46616 _ACEOF
46617
46618 fi
46619
46620 if test "$wxUSE_FONTDLG" = "yes"; then
46621 cat >>confdefs.h <<\_ACEOF
46622 #define wxUSE_FONTDLG 1
46623 _ACEOF
46624
46625 fi
46626
46627 if test "$wxUSE_DIRDLG" = "yes"; then
46628 if test "$wxUSE_TREECTRL" != "yes"; then
46629 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46630 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46631 else
46632 cat >>confdefs.h <<\_ACEOF
46633 #define wxUSE_DIRDLG 1
46634 _ACEOF
46635
46636 fi
46637 fi
46638
46639 if test "$wxUSE_MSGDLG" = "yes"; then
46640 cat >>confdefs.h <<\_ACEOF
46641 #define wxUSE_MSGDLG 1
46642 _ACEOF
46643
46644 fi
46645
46646 if test "$wxUSE_NUMBERDLG" = "yes"; then
46647 cat >>confdefs.h <<\_ACEOF
46648 #define wxUSE_NUMBERDLG 1
46649 _ACEOF
46650
46651 fi
46652
46653 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46654 cat >>confdefs.h <<\_ACEOF
46655 #define wxUSE_PROGRESSDLG 1
46656 _ACEOF
46657
46658 fi
46659
46660 if test "$wxUSE_SPLASH" = "yes"; then
46661 cat >>confdefs.h <<\_ACEOF
46662 #define wxUSE_SPLASH 1
46663 _ACEOF
46664
46665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46666 fi
46667
46668 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46669 cat >>confdefs.h <<\_ACEOF
46670 #define wxUSE_STARTUP_TIPS 1
46671 _ACEOF
46672
46673 fi
46674
46675 if test "$wxUSE_TEXTDLG" = "yes"; then
46676 cat >>confdefs.h <<\_ACEOF
46677 #define wxUSE_TEXTDLG 1
46678 _ACEOF
46679
46680 fi
46681
46682 if test "$wxUSE_WIZARDDLG" = "yes"; then
46683 cat >>confdefs.h <<\_ACEOF
46684 #define wxUSE_WIZARDDLG 1
46685 _ACEOF
46686
46687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46688 fi
46689
46690
46691 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46692 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46693 cat >>confdefs.h <<\_ACEOF
46694 #define wxUSE_OWNER_DRAWN 1
46695 _ACEOF
46696
46697 fi
46698 fi
46699
46700
46701 if test "$wxUSE_MSW" = 1 ; then
46702
46703 if test "$wxUSE_DC_CACHEING" = "yes"; then
46704 cat >>confdefs.h <<\_ACEOF
46705 #define wxUSE_DC_CACHEING 1
46706 _ACEOF
46707
46708 fi
46709
46710 if test "$wxUSE_DIB" = "yes"; then
46711 cat >>confdefs.h <<\_ACEOF
46712 #define wxUSE_WXDIB 1
46713 _ACEOF
46714
46715 fi
46716
46717 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46718 cat >>confdefs.h <<\_ACEOF
46719 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46720 _ACEOF
46721
46722 fi
46723
46724 if test "$wxUSE_UXTHEME" = "yes"; then
46725 cat >>confdefs.h <<\_ACEOF
46726 #define wxUSE_UXTHEME 1
46727 _ACEOF
46728
46729 fi
46730
46731 fi
46732
46733 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46734 cat >>confdefs.h <<\_ACEOF
46735 #define wxUSE_AUTOID_MANAGEMENT 1
46736 _ACEOF
46737
46738 fi
46739
46740 if test "$USE_WIN32" = 1 ; then
46741 if test "$wxUSE_INICONF" = "yes"; then
46742 cat >>confdefs.h <<\_ACEOF
46743 #define wxUSE_INICONF 1
46744 _ACEOF
46745
46746 fi
46747
46748 if test "$wxUSE_REGKEY" = "yes"; then
46749 cat >>confdefs.h <<\_ACEOF
46750 #define wxUSE_REGKEY 1
46751 _ACEOF
46752
46753 fi
46754 fi
46755
46756
46757 if test "$wxUSE_MAC" = 1; then
46758 wxUSE_GRAPHICS_CONTEXT="yes"
46759 fi
46760
46761 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46762 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46763 cat >>confdefs.h <<\_ACEOF
46764 #define wxUSE_GRAPHICS_CONTEXT 1
46765 _ACEOF
46766
46767 elif test "$wxUSE_GTK" != 1; then
46768 cat >>confdefs.h <<\_ACEOF
46769 #define wxUSE_GRAPHICS_CONTEXT 1
46770 _ACEOF
46771
46772 else
46773
46774 pkg_failed=no
46775 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46776 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46777
46778 if test -n "$PKG_CONFIG"; then
46779 if test -n "$CAIRO_CFLAGS"; then
46780 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46781 else
46782 if test -n "$PKG_CONFIG" && \
46783 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46784 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46785 ac_status=$?
46786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46787 (exit $ac_status); }; then
46788 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46789 else
46790 pkg_failed=yes
46791 fi
46792 fi
46793 else
46794 pkg_failed=untried
46795 fi
46796 if test -n "$PKG_CONFIG"; then
46797 if test -n "$CAIRO_LIBS"; then
46798 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46799 else
46800 if test -n "$PKG_CONFIG" && \
46801 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46802 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46803 ac_status=$?
46804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46805 (exit $ac_status); }; then
46806 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46807 else
46808 pkg_failed=yes
46809 fi
46810 fi
46811 else
46812 pkg_failed=untried
46813 fi
46814
46815
46816
46817 if test $pkg_failed = yes; then
46818
46819 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46820 _pkg_short_errors_supported=yes
46821 else
46822 _pkg_short_errors_supported=no
46823 fi
46824 if test $_pkg_short_errors_supported = yes; then
46825 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46826 else
46827 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46828 fi
46829 # Put the nasty error message in config.log where it belongs
46830 echo "$CAIRO_PKG_ERRORS" >&5
46831
46832 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46833 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46834
46835 elif test $pkg_failed = untried; then
46836 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46837 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46838
46839 else
46840 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46841 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46842 { echo "$as_me:$LINENO: result: yes" >&5
46843 echo "${ECHO_T}yes" >&6; }
46844 cat >>confdefs.h <<\_ACEOF
46845 #define wxUSE_GRAPHICS_CONTEXT 1
46846 _ACEOF
46847
46848 fi
46849 fi
46850 fi
46851
46852
46853 USE_MEDIA=0
46854
46855 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46856 USE_MEDIA=1
46857
46858 if test "$wxUSE_GTK" = 1; then
46859 wxUSE_GSTREAMER="no"
46860
46861 GST_VERSION_MAJOR=0
46862 GST_VERSION_MINOR=10
46863 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46864
46865 if test "$wxUSE_GSTREAMER8" = "no"; then
46866
46867 pkg_failed=no
46868 { echo "$as_me:$LINENO: checking for GST" >&5
46869 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46870
46871 if test -n "$PKG_CONFIG"; then
46872 if test -n "$GST_CFLAGS"; then
46873 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46874 else
46875 if test -n "$PKG_CONFIG" && \
46876 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46877 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46878 ac_status=$?
46879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46880 (exit $ac_status); }; then
46881 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46882 else
46883 pkg_failed=yes
46884 fi
46885 fi
46886 else
46887 pkg_failed=untried
46888 fi
46889 if test -n "$PKG_CONFIG"; then
46890 if test -n "$GST_LIBS"; then
46891 pkg_cv_GST_LIBS="$GST_LIBS"
46892 else
46893 if test -n "$PKG_CONFIG" && \
46894 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46895 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46896 ac_status=$?
46897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46898 (exit $ac_status); }; then
46899 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46900 else
46901 pkg_failed=yes
46902 fi
46903 fi
46904 else
46905 pkg_failed=untried
46906 fi
46907
46908
46909
46910 if test $pkg_failed = yes; then
46911
46912 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46913 _pkg_short_errors_supported=yes
46914 else
46915 _pkg_short_errors_supported=no
46916 fi
46917 if test $_pkg_short_errors_supported = yes; then
46918 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46919 else
46920 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46921 fi
46922 # Put the nasty error message in config.log where it belongs
46923 echo "$GST_PKG_ERRORS" >&5
46924
46925
46926 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46927 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46928 GST_VERSION_MINOR=8
46929
46930
46931 elif test $pkg_failed = untried; then
46932
46933 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46934 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46935 GST_VERSION_MINOR=8
46936
46937
46938 else
46939 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46940 GST_LIBS=$pkg_cv_GST_LIBS
46941 { echo "$as_me:$LINENO: result: yes" >&5
46942 echo "${ECHO_T}yes" >&6; }
46943
46944 wxUSE_GSTREAMER="yes"
46945 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46946
46947 fi
46948 else
46949 GST_VERSION_MINOR=8
46950 fi
46951
46952 if test $GST_VERSION_MINOR = "8"; then
46953 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46954
46955 pkg_failed=no
46956 { echo "$as_me:$LINENO: checking for GST" >&5
46957 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46958
46959 if test -n "$PKG_CONFIG"; then
46960 if test -n "$GST_CFLAGS"; then
46961 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46962 else
46963 if test -n "$PKG_CONFIG" && \
46964 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46965 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46966 ac_status=$?
46967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46968 (exit $ac_status); }; then
46969 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46970 else
46971 pkg_failed=yes
46972 fi
46973 fi
46974 else
46975 pkg_failed=untried
46976 fi
46977 if test -n "$PKG_CONFIG"; then
46978 if test -n "$GST_LIBS"; then
46979 pkg_cv_GST_LIBS="$GST_LIBS"
46980 else
46981 if test -n "$PKG_CONFIG" && \
46982 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46983 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46984 ac_status=$?
46985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46986 (exit $ac_status); }; then
46987 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46988 else
46989 pkg_failed=yes
46990 fi
46991 fi
46992 else
46993 pkg_failed=untried
46994 fi
46995
46996
46997
46998 if test $pkg_failed = yes; then
46999
47000 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47001 _pkg_short_errors_supported=yes
47002 else
47003 _pkg_short_errors_supported=no
47004 fi
47005 if test $_pkg_short_errors_supported = yes; then
47006 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47007 else
47008 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47009 fi
47010 # Put the nasty error message in config.log where it belongs
47011 echo "$GST_PKG_ERRORS" >&5
47012
47013
47014 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47015 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47016
47017 elif test $pkg_failed = untried; then
47018
47019 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47020 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47021
47022 else
47023 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47024 GST_LIBS=$pkg_cv_GST_LIBS
47025 { echo "$as_me:$LINENO: result: yes" >&5
47026 echo "${ECHO_T}yes" >&6; }
47027 wxUSE_GSTREAMER="yes"
47028 fi
47029 fi
47030
47031
47032 if test "$wxUSE_GSTREAMER" = "yes"; then
47033 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47034 EXTRALIBS_MEDIA="$GST_LIBS"
47035
47036 cat >>confdefs.h <<\_ACEOF
47037 #define wxUSE_GSTREAMER 1
47038 _ACEOF
47039
47040 else
47041 USE_MEDIA=0
47042 fi
47043 fi
47044
47045 if test $USE_MEDIA = 1; then
47046 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47047 cat >>confdefs.h <<\_ACEOF
47048 #define wxUSE_MEDIACTRL 1
47049 _ACEOF
47050
47051 else
47052 if test "$wxUSE_MEDIACTRL" = "yes"; then
47053 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47054 echo "$as_me: error: GStreamer not available" >&2;}
47055 { (exit 1); exit 1; }; }
47056 else
47057 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47058 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47059 fi
47060 fi
47061 fi
47062
47063
47064 if test "$cross_compiling" = "yes"; then
47065 OSINFO="\"$host\""
47066 else
47067 OSINFO=`uname -s -r -m`
47068 OSINFO="\"$OSINFO\""
47069 fi
47070
47071 cat >>confdefs.h <<_ACEOF
47072 #define WXWIN_OS_DESCRIPTION $OSINFO
47073 _ACEOF
47074
47075
47076
47077 if test "x$prefix" != "xNONE"; then
47078 wxPREFIX=$prefix
47079 else
47080 wxPREFIX=$ac_default_prefix
47081 fi
47082
47083 cat >>confdefs.h <<_ACEOF
47084 #define wxINSTALL_PREFIX "$wxPREFIX"
47085 _ACEOF
47086
47087
47088
47089
47090 STD_BASE_LIBS="base"
47091 STD_GUI_LIBS=""
47092 BUILT_WX_LIBS="base"
47093 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47094
47095 if test "$wxUSE_SOCKETS" = "yes" ; then
47096 STD_BASE_LIBS="net $STD_BASE_LIBS"
47097 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47098 fi
47099 if test "$wxUSE_XML" = "yes" ; then
47100 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47101 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47102 fi
47103
47104 if test "$wxUSE_GUI" = "yes"; then
47105 STD_GUI_LIBS="adv core"
47106 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47107
47108 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47109 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47110 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47111 fi
47112 if test "$wxUSE_HTML" = "yes" ; then
47113 STD_GUI_LIBS="html $STD_GUI_LIBS"
47114 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47115 fi
47116 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47117 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47118 fi
47119 if test "$wxUSE_OPENGL" = "yes" ; then
47120 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47121 fi
47122 if test "$wxUSE_AUI" = "yes" ; then
47123 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47124 fi
47125 if test "$wxUSE_PROPGRID" = "yes" ; then
47126 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47127 fi
47128 if test "$wxUSE_RICHTEXT" = "yes" ; then
47129 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47130 fi
47131 if test "$wxUSE_STC" = "yes" ; then
47132 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47133 fi
47134 if test "$wxUSE_XRC" = "yes" ; then
47135 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47136 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47137 fi
47138 fi
47139
47140
47141
47142
47143
47144
47145
47146
47147 if test "$wxUSE_MAC" = 1 ; then
47148 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47149 if test "$USE_DARWIN" = 1; then
47150 LDFLAGS="$LDFLAGS -framework QuickTime"
47151 fi
47152 fi
47153 if test "$USE_DARWIN" = 1; then
47154 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47155 fi
47156 fi
47157 if test "$wxUSE_COCOA" = 1 ; then
47158 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47159 if test "$wxUSE_MEDIACTRL" = "yes"; then
47160 LDFLAGS="$LDFLAGS -framework QuickTime"
47161 fi
47162 fi
47163 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47164 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47165 fi
47166
47167 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47168
47169 if test "$wxUSE_GUI" = "yes"; then
47170
47171
47172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47173 erase event exec font image minimal mobile \
47174 mobile/wxedit mobile/styles render \
47175 shaped svg taborder vscroll widgets"
47176
47177 if test "$wxUSE_MONOLITHIC" != "yes"; then
47178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47179 fi
47180 if test "$TOOLKIT" = "MSW"; then
47181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47182 if test "$wxUSE_UNIVERSAL" != "yes"; then
47183 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47184 fi
47185 fi
47186 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47188 fi
47189 else
47190 SAMPLES_SUBDIRS="console"
47191 if test "$wxUSE_SOCKETS" = "yes" ; then
47192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47193 fi
47194 if test "$wxUSE_IPC" = "yes" ; then
47195 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47196 fi
47197 fi
47198
47199
47200 if test "x$INTELCC" = "xyes" ; then
47201 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47202 elif test "$GCC" = yes ; then
47203 CWARNINGS="-Wall -Wundef"
47204 fi
47205
47206 if test "x$INTELCXX" = "xyes" ; then
47207 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47208 elif test "$GXX" = yes ; then
47209 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47210 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47211 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47212 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47213 echo $ECHO_N "(cached) $ECHO_C" >&6
47214 else
47215 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47216
47217 ac_ext=cpp
47218 ac_cpp='$CXXCPP $CPPFLAGS'
47219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47222
47223 ac_save_CXXFLAGS="$CXXFLAGS"
47224 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47225 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47226 cat >conftest.$ac_ext <<_ACEOF
47227 /* confdefs.h. */
47228 _ACEOF
47229 cat confdefs.h >>conftest.$ac_ext
47230 cat >>conftest.$ac_ext <<_ACEOF
47231 /* end confdefs.h. */
47232
47233 int
47234 main ()
47235 {
47236 return 0;
47237 ;
47238 return 0;
47239 }
47240 _ACEOF
47241 rm -f conftest.$ac_objext
47242 if { (ac_try="$ac_compile"
47243 case "(($ac_try" in
47244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47245 *) ac_try_echo=$ac_try;;
47246 esac
47247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47248 (eval "$ac_compile") 2>conftest.er1
47249 ac_status=$?
47250 grep -v '^ *+' conftest.er1 >conftest.err
47251 rm -f conftest.er1
47252 cat conftest.err >&5
47253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47254 (exit $ac_status); } && {
47255 test -z "$ac_cxx_werror_flag" ||
47256 test ! -s conftest.err
47257 } && test -s conftest.$ac_objext; then
47258 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47259 else
47260 echo "$as_me: failed program was:" >&5
47261 sed 's/^/| /' conftest.$ac_ext >&5
47262
47263
47264 fi
47265
47266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47267 done
47268 CXXFLAGS="$ac_save_CXXFLAGS"
47269 ac_ext=c
47270 ac_cpp='$CPP $CPPFLAGS'
47271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47274
47275
47276 fi
47277 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47278 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47279 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47280 .ok|.ok,*) ;;
47281 .|.no|.no,*) ;;
47282 *)
47283 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47284 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47285 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47286 ac_status=$?
47287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47288 (exit $ac_status); }
47289 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47290 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47291 ac_status=$?
47292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47293 (exit $ac_status); }
47294 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47295 fi
47296 ;;
47297 esac
47298
47299 fi
47300
47301
47302 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47303 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47304
47305
47306 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47307 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47308 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47309 $CPPFLAGS `
47310
47311 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47312 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47313 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47314 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47315 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47316
47317 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47318
47319
47320 if test "x$MWCC" = "xyes"; then
47321
47322 CC="$CC -cwd source -I-"
47323 CXX="$CXX -cwd source -I-"
47324 fi
47325
47326
47327 LIBS=`echo $LIBS`
47328 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47329 EXTRALIBS_XML="$EXPAT_LINK"
47330 EXTRALIBS_HTML="$MSPACK_LINK"
47331 EXTRALIBS_MEDIA="$GST_LIBS"
47332 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47333 if test "$wxUSE_GUI" = "yes"; then
47334 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47335 fi
47336 if test "$wxUSE_OPENGL" = "yes"; then
47337 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47338 fi
47339
47340 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47341
47342 WXCONFIG_LIBS="$LIBS"
47343
47344 if test "$wxUSE_REGEX" = "builtin" ; then
47345 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47346 fi
47347 if test "$wxUSE_EXPAT" = "builtin" ; then
47348 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47349 fi
47350 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47351 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47352 fi
47353 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47354 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47355 fi
47356 if test "$wxUSE_LIBPNG" = "builtin" ; then
47357 wxconfig_3rdparty="png $wxconfig_3rdparty"
47358 fi
47359 if test "$wxUSE_ZLIB" = "builtin" ; then
47360 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47361 fi
47362
47363 for i in $wxconfig_3rdparty ; do
47364 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47365 done
47366
47367
47368 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47369 WXUNIV=1
47370
47371 case "$wxUNIV_THEMES" in
47372 ''|all)
47373 cat >>confdefs.h <<\_ACEOF
47374 #define wxUSE_ALL_THEMES 1
47375 _ACEOF
47376
47377 ;;
47378
47379 *)
47380 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47381 cat >>confdefs.h <<_ACEOF
47382 #define wxUSE_THEME_$t 1
47383 _ACEOF
47384
47385 done
47386 esac
47387 else
47388 WXUNIV=0
47389 fi
47390
47391
47392
47393
47394
47395
47396
47397
47398 if test $wxUSE_MONOLITHIC = "yes" ; then
47399 MONOLITHIC=1
47400 else
47401 MONOLITHIC=0
47402 fi
47403
47404 if test $wxUSE_PLUGINS = "yes" ; then
47405 USE_PLUGINS=1
47406 else
47407 USE_PLUGINS=0
47408 fi
47409
47410 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47411 USE_QA=1
47412 else
47413 USE_QA=0
47414 fi
47415
47416 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47417 OFFICIAL_BUILD=1
47418 else
47419 OFFICIAL_BUILD=0
47420 fi
47421
47422
47423
47424
47425
47426
47427
47428
47429
47430
47431
47432
47433
47434
47435
47436
47437
47438
47439
47440
47441
47442
47443
47444
47445
47446
47447
47448
47449 TOOLKIT_LOWERCASE=xxx
47450 if test "$TOOLKIT" = "MAC"; then
47451 TOOLKIT_LOWERCASE=osx_carbon
47452 fi
47453 if test "$TOOLKIT" = "OSX_CARBON"; then
47454 TOOLKIT_LOWERCASE=osx_carbon
47455 fi
47456 if test "$TOOLKIT" = "OSX_COCOA"; then
47457 TOOLKIT_LOWERCASE=osx_cocoa
47458 fi
47459 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47460 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47461 fi
47462
47463
47464
47465
47466
47467
47468
47469
47470 case "$TOOLKIT" in
47471 GTK)
47472 TOOLKIT_DESC="GTK+"
47473 if test "$WXGTK2" = 1; then
47474 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47475 if test "$wxUSE_GTKPRINT" = "yes" ; then
47476 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47477 fi
47478 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47479 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47480 fi
47481 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47482 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47483 fi
47484 if test "$wxUSE_LIBHILDON" = "yes"; then
47485 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47486 fi
47487
47488 if test "$TOOLKIT_EXTRA" != ""; then
47489 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47490 fi
47491 fi
47492 ;;
47493
47494 ?*)
47495 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47496 ;;
47497
47498 *)
47499 TOOLKIT_DESC="base only"
47500 ;;
47501 esac
47502
47503 if test "$wxUSE_WINE" = "yes"; then
47504 BAKEFILE_FORCE_PLATFORM=win32
47505 fi
47506
47507 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47508 then
47509 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47510 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47511 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47512 echo $ECHO_N "(cached) $ECHO_C" >&6
47513 else
47514
47515 echo '#include <stdio.h>
47516 const wchar_t test_var[] = L"awidetest";' > conftest.h
47517
47518 echo '#include "conftest.h"
47519 int main()
47520 {
47521 printf("%ls", test_var);
47522 return 0;
47523 }' > conftest.cpp
47524
47525 wx_cv_gcc_pch_bug="pch not supported"
47526
47527 if $CXX conftest.h >/dev/null 2>&1
47528 then
47529 wx_cv_gcc_pch_bug=
47530
47531 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47532 then
47533 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47534 grep awidetest >/dev/null
47535 then
47536 wx_cv_gcc_pch_bug=no
47537 else
47538 wx_cv_gcc_pch_bug=yes
47539 fi
47540 fi
47541 fi
47542
47543 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47544
47545 fi
47546 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47547 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47548
47549 if test "$wx_cv_gcc_pch_bug" = yes; then
47550 bk_use_pch=no
47551 fi
47552 fi
47553
47554
47555
47556
47557
47558
47559
47560 if test "x$BAKEFILE_HOST" = "x"; then
47561 if test "x${host}" = "x" ; then
47562 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47563 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47564 { (exit 1); exit 1; }; }
47565 fi
47566
47567 BAKEFILE_HOST="${host}"
47568 fi
47569
47570 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47571
47572 if test -n "$ac_tool_prefix"; then
47573 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47574 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47575 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47577 if test "${ac_cv_prog_RANLIB+set}" = set; then
47578 echo $ECHO_N "(cached) $ECHO_C" >&6
47579 else
47580 if test -n "$RANLIB"; then
47581 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47582 else
47583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47584 for as_dir in $PATH
47585 do
47586 IFS=$as_save_IFS
47587 test -z "$as_dir" && as_dir=.
47588 for ac_exec_ext in '' $ac_executable_extensions; do
47589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47590 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47592 break 2
47593 fi
47594 done
47595 done
47596 IFS=$as_save_IFS
47597
47598 fi
47599 fi
47600 RANLIB=$ac_cv_prog_RANLIB
47601 if test -n "$RANLIB"; then
47602 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47603 echo "${ECHO_T}$RANLIB" >&6; }
47604 else
47605 { echo "$as_me:$LINENO: result: no" >&5
47606 echo "${ECHO_T}no" >&6; }
47607 fi
47608
47609
47610 fi
47611 if test -z "$ac_cv_prog_RANLIB"; then
47612 ac_ct_RANLIB=$RANLIB
47613 # Extract the first word of "ranlib", so it can be a program name with args.
47614 set dummy ranlib; ac_word=$2
47615 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47617 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47618 echo $ECHO_N "(cached) $ECHO_C" >&6
47619 else
47620 if test -n "$ac_ct_RANLIB"; then
47621 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47622 else
47623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47624 for as_dir in $PATH
47625 do
47626 IFS=$as_save_IFS
47627 test -z "$as_dir" && as_dir=.
47628 for ac_exec_ext in '' $ac_executable_extensions; do
47629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47630 ac_cv_prog_ac_ct_RANLIB="ranlib"
47631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47632 break 2
47633 fi
47634 done
47635 done
47636 IFS=$as_save_IFS
47637
47638 fi
47639 fi
47640 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47641 if test -n "$ac_ct_RANLIB"; then
47642 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47643 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47644 else
47645 { echo "$as_me:$LINENO: result: no" >&5
47646 echo "${ECHO_T}no" >&6; }
47647 fi
47648
47649 if test "x$ac_ct_RANLIB" = x; then
47650 RANLIB=":"
47651 else
47652 case $cross_compiling:$ac_tool_warned in
47653 yes:)
47654 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47655 whose name does not start with the host triplet. If you think this
47656 configuration is useful to you, please write to autoconf@gnu.org." >&5
47657 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47658 whose name does not start with the host triplet. If you think this
47659 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47660 ac_tool_warned=yes ;;
47661 esac
47662 RANLIB=$ac_ct_RANLIB
47663 fi
47664 else
47665 RANLIB="$ac_cv_prog_RANLIB"
47666 fi
47667
47668 # Find a good install program. We prefer a C program (faster),
47669 # so one script is as good as another. But avoid the broken or
47670 # incompatible versions:
47671 # SysV /etc/install, /usr/sbin/install
47672 # SunOS /usr/etc/install
47673 # IRIX /sbin/install
47674 # AIX /bin/install
47675 # AmigaOS /C/install, which installs bootblocks on floppy discs
47676 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47677 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47678 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47679 # OS/2's system install, which has a completely different semantic
47680 # ./install, which can be erroneously created by make from ./install.sh.
47681 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47682 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47683 if test -z "$INSTALL"; then
47684 if test "${ac_cv_path_install+set}" = set; then
47685 echo $ECHO_N "(cached) $ECHO_C" >&6
47686 else
47687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47688 for as_dir in $PATH
47689 do
47690 IFS=$as_save_IFS
47691 test -z "$as_dir" && as_dir=.
47692 # Account for people who put trailing slashes in PATH elements.
47693 case $as_dir/ in
47694 ./ | .// | /cC/* | \
47695 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47696 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47697 /usr/ucb/* ) ;;
47698 *)
47699 # OSF1 and SCO ODT 3.0 have their own names for install.
47700 # Don't use installbsd from OSF since it installs stuff as root
47701 # by default.
47702 for ac_prog in ginstall scoinst install; do
47703 for ac_exec_ext in '' $ac_executable_extensions; do
47704 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47705 if test $ac_prog = install &&
47706 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47707 # AIX install. It has an incompatible calling convention.
47708 :
47709 elif test $ac_prog = install &&
47710 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47711 # program-specific install script used by HP pwplus--don't use.
47712 :
47713 else
47714 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47715 break 3
47716 fi
47717 fi
47718 done
47719 done
47720 ;;
47721 esac
47722 done
47723 IFS=$as_save_IFS
47724
47725
47726 fi
47727 if test "${ac_cv_path_install+set}" = set; then
47728 INSTALL=$ac_cv_path_install
47729 else
47730 # As a last resort, use the slow shell script. Don't cache a
47731 # value for INSTALL within a source directory, because that will
47732 # break other packages using the cache if that directory is
47733 # removed, or if the value is a relative name.
47734 INSTALL=$ac_install_sh
47735 fi
47736 fi
47737 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47738 echo "${ECHO_T}$INSTALL" >&6; }
47739
47740 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47741 # It thinks the first close brace ends the variable substitution.
47742 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47743
47744 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47745
47746 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47747
47748 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47749 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47750 LN_S=$as_ln_s
47751 if test "$LN_S" = "ln -s"; then
47752 { echo "$as_me:$LINENO: result: yes" >&5
47753 echo "${ECHO_T}yes" >&6; }
47754 else
47755 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47756 echo "${ECHO_T}no, using $LN_S" >&6; }
47757 fi
47758
47759
47760 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47761 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47762 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47763 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47764 echo $ECHO_N "(cached) $ECHO_C" >&6
47765 else
47766 cat >conftest.make <<\_ACEOF
47767 SHELL = /bin/sh
47768 all:
47769 @echo '@@@%%%=$(MAKE)=@@@%%%'
47770 _ACEOF
47771 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47772 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47773 *@@@%%%=?*=@@@%%%*)
47774 eval ac_cv_prog_make_${ac_make}_set=yes;;
47775 *)
47776 eval ac_cv_prog_make_${ac_make}_set=no;;
47777 esac
47778 rm -f conftest.make
47779 fi
47780 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47781 { echo "$as_me:$LINENO: result: yes" >&5
47782 echo "${ECHO_T}yes" >&6; }
47783 SET_MAKE=
47784 else
47785 { echo "$as_me:$LINENO: result: no" >&5
47786 echo "${ECHO_T}no" >&6; }
47787 SET_MAKE="MAKE=${MAKE-make}"
47788 fi
47789
47790
47791
47792 if test "x$SUNCXX" = "xyes"; then
47793 AR=$CXX
47794 AROPTIONS="-xar -o"
47795
47796 elif test "x$SGICC" = "xyes"; then
47797 AR=$CXX
47798 AROPTIONS="-ar -o"
47799
47800 else
47801 if test -n "$ac_tool_prefix"; then
47802 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47803 set dummy ${ac_tool_prefix}ar; ac_word=$2
47804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47806 if test "${ac_cv_prog_AR+set}" = set; then
47807 echo $ECHO_N "(cached) $ECHO_C" >&6
47808 else
47809 if test -n "$AR"; then
47810 ac_cv_prog_AR="$AR" # Let the user override the test.
47811 else
47812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47813 for as_dir in $PATH
47814 do
47815 IFS=$as_save_IFS
47816 test -z "$as_dir" && as_dir=.
47817 for ac_exec_ext in '' $ac_executable_extensions; do
47818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47819 ac_cv_prog_AR="${ac_tool_prefix}ar"
47820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47821 break 2
47822 fi
47823 done
47824 done
47825 IFS=$as_save_IFS
47826
47827 fi
47828 fi
47829 AR=$ac_cv_prog_AR
47830 if test -n "$AR"; then
47831 { echo "$as_me:$LINENO: result: $AR" >&5
47832 echo "${ECHO_T}$AR" >&6; }
47833 else
47834 { echo "$as_me:$LINENO: result: no" >&5
47835 echo "${ECHO_T}no" >&6; }
47836 fi
47837
47838
47839 fi
47840 if test -z "$ac_cv_prog_AR"; then
47841 ac_ct_AR=$AR
47842 # Extract the first word of "ar", so it can be a program name with args.
47843 set dummy ar; ac_word=$2
47844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47846 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47847 echo $ECHO_N "(cached) $ECHO_C" >&6
47848 else
47849 if test -n "$ac_ct_AR"; then
47850 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47851 else
47852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47853 for as_dir in $PATH
47854 do
47855 IFS=$as_save_IFS
47856 test -z "$as_dir" && as_dir=.
47857 for ac_exec_ext in '' $ac_executable_extensions; do
47858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47859 ac_cv_prog_ac_ct_AR="ar"
47860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47861 break 2
47862 fi
47863 done
47864 done
47865 IFS=$as_save_IFS
47866
47867 fi
47868 fi
47869 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47870 if test -n "$ac_ct_AR"; then
47871 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47872 echo "${ECHO_T}$ac_ct_AR" >&6; }
47873 else
47874 { echo "$as_me:$LINENO: result: no" >&5
47875 echo "${ECHO_T}no" >&6; }
47876 fi
47877
47878 if test "x$ac_ct_AR" = x; then
47879 AR="ar"
47880 else
47881 case $cross_compiling:$ac_tool_warned in
47882 yes:)
47883 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47884 whose name does not start with the host triplet. If you think this
47885 configuration is useful to you, please write to autoconf@gnu.org." >&5
47886 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47887 whose name does not start with the host triplet. If you think this
47888 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47889 ac_tool_warned=yes ;;
47890 esac
47891 AR=$ac_ct_AR
47892 fi
47893 else
47894 AR="$ac_cv_prog_AR"
47895 fi
47896
47897 AROPTIONS=rcu
47898 fi
47899
47900
47901 if test -n "$ac_tool_prefix"; then
47902 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47903 set dummy ${ac_tool_prefix}strip; ac_word=$2
47904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47906 if test "${ac_cv_prog_STRIP+set}" = set; then
47907 echo $ECHO_N "(cached) $ECHO_C" >&6
47908 else
47909 if test -n "$STRIP"; then
47910 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47911 else
47912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47913 for as_dir in $PATH
47914 do
47915 IFS=$as_save_IFS
47916 test -z "$as_dir" && as_dir=.
47917 for ac_exec_ext in '' $ac_executable_extensions; do
47918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47919 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47921 break 2
47922 fi
47923 done
47924 done
47925 IFS=$as_save_IFS
47926
47927 fi
47928 fi
47929 STRIP=$ac_cv_prog_STRIP
47930 if test -n "$STRIP"; then
47931 { echo "$as_me:$LINENO: result: $STRIP" >&5
47932 echo "${ECHO_T}$STRIP" >&6; }
47933 else
47934 { echo "$as_me:$LINENO: result: no" >&5
47935 echo "${ECHO_T}no" >&6; }
47936 fi
47937
47938
47939 fi
47940 if test -z "$ac_cv_prog_STRIP"; then
47941 ac_ct_STRIP=$STRIP
47942 # Extract the first word of "strip", so it can be a program name with args.
47943 set dummy strip; ac_word=$2
47944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47946 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47947 echo $ECHO_N "(cached) $ECHO_C" >&6
47948 else
47949 if test -n "$ac_ct_STRIP"; then
47950 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47951 else
47952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47953 for as_dir in $PATH
47954 do
47955 IFS=$as_save_IFS
47956 test -z "$as_dir" && as_dir=.
47957 for ac_exec_ext in '' $ac_executable_extensions; do
47958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47959 ac_cv_prog_ac_ct_STRIP="strip"
47960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47961 break 2
47962 fi
47963 done
47964 done
47965 IFS=$as_save_IFS
47966
47967 fi
47968 fi
47969 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47970 if test -n "$ac_ct_STRIP"; then
47971 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47972 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47973 else
47974 { echo "$as_me:$LINENO: result: no" >&5
47975 echo "${ECHO_T}no" >&6; }
47976 fi
47977
47978 if test "x$ac_ct_STRIP" = x; then
47979 STRIP=":"
47980 else
47981 case $cross_compiling:$ac_tool_warned in
47982 yes:)
47983 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47984 whose name does not start with the host triplet. If you think this
47985 configuration is useful to you, please write to autoconf@gnu.org." >&5
47986 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47987 whose name does not start with the host triplet. If you think this
47988 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47989 ac_tool_warned=yes ;;
47990 esac
47991 STRIP=$ac_ct_STRIP
47992 fi
47993 else
47994 STRIP="$ac_cv_prog_STRIP"
47995 fi
47996
47997 if test -n "$ac_tool_prefix"; then
47998 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47999 set dummy ${ac_tool_prefix}nm; ac_word=$2
48000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48002 if test "${ac_cv_prog_NM+set}" = set; then
48003 echo $ECHO_N "(cached) $ECHO_C" >&6
48004 else
48005 if test -n "$NM"; then
48006 ac_cv_prog_NM="$NM" # Let the user override the test.
48007 else
48008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48009 for as_dir in $PATH
48010 do
48011 IFS=$as_save_IFS
48012 test -z "$as_dir" && as_dir=.
48013 for ac_exec_ext in '' $ac_executable_extensions; do
48014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48015 ac_cv_prog_NM="${ac_tool_prefix}nm"
48016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48017 break 2
48018 fi
48019 done
48020 done
48021 IFS=$as_save_IFS
48022
48023 fi
48024 fi
48025 NM=$ac_cv_prog_NM
48026 if test -n "$NM"; then
48027 { echo "$as_me:$LINENO: result: $NM" >&5
48028 echo "${ECHO_T}$NM" >&6; }
48029 else
48030 { echo "$as_me:$LINENO: result: no" >&5
48031 echo "${ECHO_T}no" >&6; }
48032 fi
48033
48034
48035 fi
48036 if test -z "$ac_cv_prog_NM"; then
48037 ac_ct_NM=$NM
48038 # Extract the first word of "nm", so it can be a program name with args.
48039 set dummy nm; ac_word=$2
48040 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48042 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48043 echo $ECHO_N "(cached) $ECHO_C" >&6
48044 else
48045 if test -n "$ac_ct_NM"; then
48046 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48047 else
48048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48049 for as_dir in $PATH
48050 do
48051 IFS=$as_save_IFS
48052 test -z "$as_dir" && as_dir=.
48053 for ac_exec_ext in '' $ac_executable_extensions; do
48054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48055 ac_cv_prog_ac_ct_NM="nm"
48056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48057 break 2
48058 fi
48059 done
48060 done
48061 IFS=$as_save_IFS
48062
48063 fi
48064 fi
48065 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48066 if test -n "$ac_ct_NM"; then
48067 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48068 echo "${ECHO_T}$ac_ct_NM" >&6; }
48069 else
48070 { echo "$as_me:$LINENO: result: no" >&5
48071 echo "${ECHO_T}no" >&6; }
48072 fi
48073
48074 if test "x$ac_ct_NM" = x; then
48075 NM=":"
48076 else
48077 case $cross_compiling:$ac_tool_warned in
48078 yes:)
48079 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48080 whose name does not start with the host triplet. If you think this
48081 configuration is useful to you, please write to autoconf@gnu.org." >&5
48082 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48083 whose name does not start with the host triplet. If you think this
48084 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48085 ac_tool_warned=yes ;;
48086 esac
48087 NM=$ac_ct_NM
48088 fi
48089 else
48090 NM="$ac_cv_prog_NM"
48091 fi
48092
48093
48094 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48095 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48096 INSTALL_TEST_DIR=acbftest$$
48097 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48098 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48099 rmdir $INSTALL_TEST_DIR
48100 INSTALL_DIR='$(INSTALL) -d'
48101 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48102 echo "${ECHO_T}$INSTALL -d" >&6; }
48103 else
48104 INSTALL_DIR="mkdir -p"
48105 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48106 echo "${ECHO_T}mkdir -p" >&6; }
48107 fi
48108
48109
48110 LDFLAGS_GUI=
48111 case ${BAKEFILE_HOST} in
48112 *-*-cygwin* | *-*-mingw32* )
48113 LDFLAGS_GUI="-mwindows"
48114 esac
48115
48116
48117 fi
48118
48119 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48120 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48121 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48122 echo $ECHO_N "(cached) $ECHO_C" >&6
48123 else
48124
48125 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48126 egrep -s GNU > /dev/null); then
48127 bakefile_cv_prog_makeisgnu="yes"
48128 else
48129 bakefile_cv_prog_makeisgnu="no"
48130 fi
48131
48132 fi
48133 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48134 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48135
48136 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48137 IF_GNU_MAKE=""
48138 else
48139 IF_GNU_MAKE="#"
48140 fi
48141
48142
48143
48144 PLATFORM_UNIX=0
48145 PLATFORM_WIN32=0
48146 PLATFORM_MSDOS=0
48147 PLATFORM_MAC=0
48148 PLATFORM_MACOS=0
48149 PLATFORM_MACOSX=0
48150 PLATFORM_OS2=0
48151 PLATFORM_BEOS=0
48152
48153 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48154 case "${BAKEFILE_HOST}" in
48155 *-*-mingw32* )
48156 PLATFORM_WIN32=1
48157 ;;
48158 *-pc-msdosdjgpp )
48159 PLATFORM_MSDOS=1
48160 ;;
48161 *-pc-os2_emx | *-pc-os2-emx )
48162 PLATFORM_OS2=1
48163 ;;
48164 *-*-darwin* )
48165 PLATFORM_MAC=1
48166 PLATFORM_MACOSX=1
48167 ;;
48168 *-*-beos* )
48169 PLATFORM_BEOS=1
48170 ;;
48171 powerpc-apple-macos* )
48172 PLATFORM_MAC=1
48173 PLATFORM_MACOS=1
48174 ;;
48175 * )
48176 PLATFORM_UNIX=1
48177 ;;
48178 esac
48179 else
48180 case "$BAKEFILE_FORCE_PLATFORM" in
48181 win32 )
48182 PLATFORM_WIN32=1
48183 ;;
48184 msdos )
48185 PLATFORM_MSDOS=1
48186 ;;
48187 os2 )
48188 PLATFORM_OS2=1
48189 ;;
48190 darwin )
48191 PLATFORM_MAC=1
48192 PLATFORM_MACOSX=1
48193 ;;
48194 unix )
48195 PLATFORM_UNIX=1
48196 ;;
48197 beos )
48198 PLATFORM_BEOS=1
48199 ;;
48200 * )
48201 ;;
48202 esac
48203 fi
48204
48205
48206
48207
48208
48209
48210
48211
48212
48213
48214
48215 # Check whether --enable-omf was given.
48216 if test "${enable_omf+set}" = set; then
48217 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48218 fi
48219
48220
48221 case "${BAKEFILE_HOST}" in
48222 *-*-darwin* )
48223 if test "x$GCC" = "xyes"; then
48224 CFLAGS="$CFLAGS -fno-common"
48225 CXXFLAGS="$CXXFLAGS -fno-common"
48226 fi
48227 if test "x$XLCC" = "xyes"; then
48228 CFLAGS="$CFLAGS -qnocommon"
48229 CXXFLAGS="$CXXFLAGS -qnocommon"
48230 fi
48231 ;;
48232
48233 *-pc-os2_emx | *-pc-os2-emx )
48234 if test "x$bk_os2_use_omf" = "xyes" ; then
48235 AR=emxomfar
48236 RANLIB=:
48237 LDFLAGS="-Zomf $LDFLAGS"
48238 CFLAGS="-Zomf $CFLAGS"
48239 CXXFLAGS="-Zomf $CXXFLAGS"
48240 OS2_LIBEXT="lib"
48241 else
48242 OS2_LIBEXT="a"
48243 fi
48244 ;;
48245
48246 i*86-*-beos* )
48247 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48248 ;;
48249 esac
48250
48251
48252 SO_SUFFIX="so"
48253 SO_SUFFIX_MODULE="so"
48254 EXEEXT=""
48255 LIBPREFIX="lib"
48256 LIBEXT=".a"
48257 DLLPREFIX="lib"
48258 DLLPREFIX_MODULE=""
48259 DLLIMP_SUFFIX=""
48260 dlldir="$libdir"
48261
48262 case "${BAKEFILE_HOST}" in
48263 ia64-hp-hpux* )
48264 ;;
48265 *-hp-hpux* )
48266 SO_SUFFIX="sl"
48267 SO_SUFFIX_MODULE="sl"
48268 ;;
48269 *-*-aix* )
48270 SO_SUFFIX="a"
48271 SO_SUFFIX_MODULE="a"
48272 ;;
48273 *-*-cygwin* )
48274 SO_SUFFIX="dll"
48275 SO_SUFFIX_MODULE="dll"
48276 DLLIMP_SUFFIX="dll.a"
48277 EXEEXT=".exe"
48278 DLLPREFIX="cyg"
48279 dlldir="$bindir"
48280 ;;
48281 *-*-mingw32* )
48282 SO_SUFFIX="dll"
48283 SO_SUFFIX_MODULE="dll"
48284 DLLIMP_SUFFIX="dll.a"
48285 EXEEXT=".exe"
48286 DLLPREFIX=""
48287 dlldir="$bindir"
48288 ;;
48289 *-pc-msdosdjgpp )
48290 EXEEXT=".exe"
48291 DLLPREFIX=""
48292 dlldir="$bindir"
48293 ;;
48294 *-pc-os2_emx | *-pc-os2-emx )
48295 SO_SUFFIX="dll"
48296 SO_SUFFIX_MODULE="dll"
48297 DLLIMP_SUFFIX=$OS2_LIBEXT
48298 EXEEXT=".exe"
48299 DLLPREFIX=""
48300 LIBPREFIX=""
48301 LIBEXT=".$OS2_LIBEXT"
48302 dlldir="$bindir"
48303 ;;
48304 *-*-darwin* )
48305 SO_SUFFIX="dylib"
48306 SO_SUFFIX_MODULE="bundle"
48307 ;;
48308 esac
48309
48310 if test "x$DLLIMP_SUFFIX" = "x" ; then
48311 DLLIMP_SUFFIX="$SO_SUFFIX"
48312 fi
48313
48314
48315
48316
48317
48318
48319
48320
48321
48322
48323
48324
48325 PIC_FLAG=""
48326 if test "x$GCC" = "xyes"; then
48327 PIC_FLAG="-fPIC"
48328 fi
48329
48330 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48331 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48332 WINDOWS_IMPLIB=0
48333
48334 case "${BAKEFILE_HOST}" in
48335 *-hp-hpux* )
48336 if test "x$GCC" != "xyes"; then
48337 LDFLAGS="$LDFLAGS -L/usr/lib"
48338
48339 SHARED_LD_CC="${CC} -b -o"
48340 SHARED_LD_CXX="${CXX} -b -o"
48341 PIC_FLAG="+Z"
48342 fi
48343 ;;
48344
48345 *-*-linux* )
48346 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48347 PIC_FLAG="-KPIC"
48348 elif test "x$SUNCXX" = "xyes"; then
48349 SHARED_LD_CC="${CC} -G -o"
48350 SHARED_LD_CXX="${CXX} -G -o"
48351 PIC_FLAG="-KPIC"
48352 fi
48353 ;;
48354
48355 *-*-solaris2* )
48356 if test "x$SUNCXX" = xyes ; then
48357 SHARED_LD_CC="${CC} -G -o"
48358 SHARED_LD_CXX="${CXX} -G -o"
48359 PIC_FLAG="-KPIC"
48360 fi
48361 ;;
48362
48363 *-*-darwin* )
48364
48365 D='$'
48366 cat <<EOF >shared-ld-sh
48367 #!/bin/sh
48368 #-----------------------------------------------------------------------------
48369 #-- Name: distrib/mac/shared-ld-sh
48370 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48371 #-- Author: Gilles Depeyrot
48372 #-- Copyright: (c) 2002 Gilles Depeyrot
48373 #-- Licence: any use permitted
48374 #-----------------------------------------------------------------------------
48375
48376 verbose=0
48377 args=""
48378 objects=""
48379 linking_flag="-dynamiclib"
48380 ldargs="-r -keep_private_externs -nostdlib"
48381
48382 if test "x${D}CXX" = "x"; then
48383 CXX="c++"
48384 fi
48385
48386 while test ${D}# -gt 0; do
48387 case ${D}1 in
48388
48389 -v)
48390 verbose=1
48391 ;;
48392
48393 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48394 # collect these options and values
48395 args="${D}{args} ${D}1 ${D}2"
48396 shift
48397 ;;
48398
48399 -arch|-isysroot)
48400 # collect these options and values
48401 ldargs="${D}{ldargs} ${D}1 ${D}2"
48402 shift
48403 ;;
48404
48405 -s|-Wl,*)
48406 # collect these load args
48407 ldargs="${D}{ldargs} ${D}1"
48408 ;;
48409
48410 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48411 # collect these options
48412 args="${D}{args} ${D}1"
48413 ;;
48414
48415 -dynamiclib|-bundle)
48416 linking_flag="${D}1"
48417 ;;
48418
48419 -*)
48420 echo "shared-ld: unhandled option '${D}1'"
48421 exit 1
48422 ;;
48423
48424 *.o | *.a | *.dylib)
48425 # collect object files
48426 objects="${D}{objects} ${D}1"
48427 ;;
48428
48429 *)
48430 echo "shared-ld: unhandled argument '${D}1'"
48431 exit 1
48432 ;;
48433
48434 esac
48435 shift
48436 done
48437
48438 status=0
48439
48440 #
48441 # Link one module containing all the others
48442 #
48443 if test ${D}{verbose} = 1; then
48444 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48445 fi
48446 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48447 status=${D}?
48448
48449 #
48450 # Link the shared library from the single module created, but only if the
48451 # previous command didn't fail:
48452 #
48453 if test ${D}{status} = 0; then
48454 if test ${D}{verbose} = 1; then
48455 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48456 fi
48457 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48458 status=${D}?
48459 fi
48460
48461 #
48462 # Remove intermediate module
48463 #
48464 rm -f master.${D}${D}.o
48465
48466 exit ${D}status
48467 EOF
48468
48469 chmod +x shared-ld-sh
48470
48471 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48472 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48473
48474
48475 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48476 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48477 if test "${bakefile_cv_gcc31+set}" = set; then
48478 echo $ECHO_N "(cached) $ECHO_C" >&6
48479 else
48480
48481 cat >conftest.$ac_ext <<_ACEOF
48482 /* confdefs.h. */
48483 _ACEOF
48484 cat confdefs.h >>conftest.$ac_ext
48485 cat >>conftest.$ac_ext <<_ACEOF
48486 /* end confdefs.h. */
48487
48488 int
48489 main ()
48490 {
48491
48492 #if (__GNUC__ < 3) || \
48493 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48494 This is old gcc
48495 #endif
48496
48497 ;
48498 return 0;
48499 }
48500 _ACEOF
48501 rm -f conftest.$ac_objext
48502 if { (ac_try="$ac_compile"
48503 case "(($ac_try" in
48504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48505 *) ac_try_echo=$ac_try;;
48506 esac
48507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48508 (eval "$ac_compile") 2>conftest.er1
48509 ac_status=$?
48510 grep -v '^ *+' conftest.er1 >conftest.err
48511 rm -f conftest.er1
48512 cat conftest.err >&5
48513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48514 (exit $ac_status); } && {
48515 test -z "$ac_c_werror_flag" ||
48516 test ! -s conftest.err
48517 } && test -s conftest.$ac_objext; then
48518
48519 bakefile_cv_gcc31=yes
48520
48521 else
48522 echo "$as_me: failed program was:" >&5
48523 sed 's/^/| /' conftest.$ac_ext >&5
48524
48525
48526 bakefile_cv_gcc31=no
48527
48528
48529 fi
48530
48531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48532
48533 fi
48534 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48535 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48536 if test "$bakefile_cv_gcc31" = "no"; then
48537 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48538 SHARED_LD_CXX="$SHARED_LD_CC"
48539 else
48540 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48541 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48542 fi
48543
48544 if test "x$GCC" == "xyes"; then
48545 PIC_FLAG="-dynamic -fPIC"
48546 fi
48547 if test "x$XLCC" = "xyes"; then
48548 PIC_FLAG="-dynamic -DPIC"
48549 fi
48550 ;;
48551
48552 *-*-aix* )
48553 if test "x$GCC" = "xyes"; then
48554 PIC_FLAG=""
48555
48556 case "${BAKEFILE_HOST}" in
48557 *-*-aix5* )
48558 LD_EXPFULL="-Wl,-bexpfull"
48559 ;;
48560 esac
48561
48562 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48563 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48564 else
48565 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48566 set dummy makeC++SharedLib; ac_word=$2
48567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48569 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48570 echo $ECHO_N "(cached) $ECHO_C" >&6
48571 else
48572 if test -n "$AIX_CXX_LD"; then
48573 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48574 else
48575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48576 for as_dir in $PATH
48577 do
48578 IFS=$as_save_IFS
48579 test -z "$as_dir" && as_dir=.
48580 for ac_exec_ext in '' $ac_executable_extensions; do
48581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48582 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48584 break 2
48585 fi
48586 done
48587 done
48588 IFS=$as_save_IFS
48589
48590 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48591 fi
48592 fi
48593 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48594 if test -n "$AIX_CXX_LD"; then
48595 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48596 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48597 else
48598 { echo "$as_me:$LINENO: result: no" >&5
48599 echo "${ECHO_T}no" >&6; }
48600 fi
48601
48602
48603 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48604 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48605 fi
48606 ;;
48607
48608 *-*-beos* )
48609 SHARED_LD_CC="${LD} -nostart -o"
48610 SHARED_LD_CXX="${LD} -nostart -o"
48611 ;;
48612
48613 *-*-irix* )
48614 if test "x$GCC" != "xyes"; then
48615 PIC_FLAG="-KPIC"
48616 fi
48617 ;;
48618
48619 *-*-cygwin* | *-*-mingw32* )
48620 PIC_FLAG=""
48621 SHARED_LD_CC="\$(CC) -shared -o"
48622 SHARED_LD_CXX="\$(CXX) -shared -o"
48623 WINDOWS_IMPLIB=1
48624 ;;
48625
48626 *-pc-os2_emx | *-pc-os2-emx )
48627 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48628 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48629 PIC_FLAG=""
48630
48631 D='$'
48632 cat <<EOF >dllar.sh
48633 #!/bin/sh
48634 #
48635 # dllar - a tool to build both a .dll and an .a file
48636 # from a set of object (.o) files for EMX/OS2.
48637 #
48638 # Written by Andrew Zabolotny, bit@freya.etu.ru
48639 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48640 #
48641 # This script will accept a set of files on the command line.
48642 # All the public symbols from the .o files will be exported into
48643 # a .DEF file, then linker will be run (through gcc) against them to
48644 # build a shared library consisting of all given .o files. All libraries
48645 # (.a) will be first decompressed into component .o files then act as
48646 # described above. You can optionally give a description (-d "description")
48647 # which will be put into .DLL. To see the list of accepted options (as well
48648 # as command-line format) simply run this program without options. The .DLL
48649 # is built to be imported by name (there is no guarantee that new versions
48650 # of the library you build will have same ordinals for same symbols).
48651 #
48652 # dllar is free software; you can redistribute it and/or modify
48653 # it under the terms of the GNU General Public License as published by
48654 # the Free Software Foundation; either version 2, or (at your option)
48655 # any later version.
48656 #
48657 # dllar is distributed in the hope that it will be useful,
48658 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48659 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48660 # GNU General Public License for more details.
48661 #
48662 # You should have received a copy of the GNU General Public License
48663 # along with dllar; see the file COPYING. If not, write to the Free
48664 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48665 # 02111-1307, USA.
48666
48667 # To successfuly run this program you will need:
48668 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48669 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48670 # - gcc
48671 # (used to build the .dll)
48672 # - emxexp
48673 # (used to create .def file from .o files)
48674 # - emximp
48675 # (used to create .a file from .def file)
48676 # - GNU text utilites (cat, sort, uniq)
48677 # used to process emxexp output
48678 # - GNU file utilities (mv, rm)
48679 # - GNU sed
48680 # - lxlite (optional, see flag below)
48681 # (used for general .dll cleanup)
48682 #
48683
48684 flag_USE_LXLITE=1;
48685
48686 #
48687 # helper functions
48688 # basnam, variant of basename, which does _not_ remove the path, _iff_
48689 # second argument (suffix to remove) is given
48690 basnam(){
48691 case ${D}# in
48692 1)
48693 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48694 ;;
48695 2)
48696 echo ${D}1 | sed 's/'${D}2'${D}//'
48697 ;;
48698 *)
48699 echo "error in basnam ${D}*"
48700 exit 8
48701 ;;
48702 esac
48703 }
48704
48705 # Cleanup temporary files and output
48706 CleanUp() {
48707 cd ${D}curDir
48708 for i in ${D}inputFiles ; do
48709 case ${D}i in
48710 *!)
48711 rm -rf \`basnam ${D}i !\`
48712 ;;
48713 *)
48714 ;;
48715 esac
48716 done
48717
48718 # Kill result in case of failure as there is just to many stupid make/nmake
48719 # things out there which doesn't do this.
48720 if [ ${D}# -eq 0 ]; then
48721 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48722 fi
48723 }
48724
48725 # Print usage and exit script with rc=1.
48726 PrintHelp() {
48727 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48728 echo ' [-name-mangler-script script.sh]'
48729 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48730 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48731 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48732 echo ' [*.o] [*.a]'
48733 echo '*> "output_file" should have no extension.'
48734 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48735 echo ' The import library name is derived from this and is set to "name".a,'
48736 echo ' unless overridden by -import'
48737 echo '*> "importlib_name" should have no extension.'
48738 echo ' If it has the .o, or .a extension, it is automatically removed.'
48739 echo ' This name is used as the import library name and may be longer and'
48740 echo ' more descriptive than the DLL name which has to follow the old '
48741 echo ' 8.3 convention of FAT.'
48742 echo '*> "script.sh may be given to override the output_file name by a'
48743 echo ' different name. It is mainly useful if the regular make process'
48744 echo ' of some package does not take into account OS/2 restriction of'
48745 echo ' DLL name lengths. It takes the importlib name as input and is'
48746 echo ' supposed to procude a shorter name as output. The script should'
48747 echo ' expect to get importlib_name without extension and should produce'
48748 echo ' a (max.) 8 letter name without extension.'
48749 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48750 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48751 echo ' These flags will be put at the start of GCC command line.'
48752 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48753 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48754 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48755 echo ' If the last character of a symbol is "*", all symbols beginning'
48756 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48757 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48758 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48759 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48760 echo ' C runtime DLLs.'
48761 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48762 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48763 echo ' unchanged to GCC at the end of command line.'
48764 echo '*> If you create a DLL from a library and you do not specify -o,'
48765 echo ' the basename for DLL and import library will be set to library name,'
48766 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48767 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48768 echo ' library will be renamed into gcc_s.a.'
48769 echo '--------'
48770 echo 'Example:'
48771 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48772 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48773 CleanUp
48774 exit 1
48775 }
48776
48777 # Execute a command.
48778 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48779 # @Uses Whatever CleanUp() uses.
48780 doCommand() {
48781 echo "${D}*"
48782 eval ${D}*
48783 rcCmd=${D}?
48784
48785 if [ ${D}rcCmd -ne 0 ]; then
48786 echo "command failed, exit code="${D}rcCmd
48787 CleanUp
48788 exit ${D}rcCmd
48789 fi
48790 }
48791
48792 # main routine
48793 # setup globals
48794 cmdLine=${D}*
48795 outFile=""
48796 outimpFile=""
48797 inputFiles=""
48798 renameScript=""
48799 description=""
48800 CC=gcc.exe
48801 CFLAGS="-s -Zcrtdll"
48802 EXTRA_CFLAGS=""
48803 EXPORT_BY_ORDINALS=0
48804 exclude_symbols=""
48805 library_flags=""
48806 curDir=\`pwd\`
48807 curDirS=curDir
48808 case ${D}curDirS in
48809 */)
48810 ;;
48811 *)
48812 curDirS=${D}{curDirS}"/"
48813 ;;
48814 esac
48815 # Parse commandline
48816 libsToLink=0
48817 omfLinking=0
48818 while [ ${D}1 ]; do
48819 case ${D}1 in
48820 -ord*)
48821 EXPORT_BY_ORDINALS=1;
48822 ;;
48823 -o*)
48824 shift
48825 outFile=${D}1
48826 ;;
48827 -i*)
48828 shift
48829 outimpFile=${D}1
48830 ;;
48831 -name-mangler-script)
48832 shift
48833 renameScript=${D}1
48834 ;;
48835 -d*)
48836 shift
48837 description=${D}1
48838 ;;
48839 -f*)
48840 shift
48841 CFLAGS=${D}1
48842 ;;
48843 -c*)
48844 shift
48845 CC=${D}1
48846 ;;
48847 -h*)
48848 PrintHelp
48849 ;;
48850 -ex*)
48851 shift
48852 exclude_symbols=${D}{exclude_symbols}${D}1" "
48853 ;;
48854 -libf*)
48855 shift
48856 library_flags=${D}{library_flags}${D}1" "
48857 ;;
48858 -nocrt*)
48859 CFLAGS="-s"
48860 ;;
48861 -nolxl*)
48862 flag_USE_LXLITE=0
48863 ;;
48864 -* | /*)
48865 case ${D}1 in
48866 -L* | -l*)
48867 libsToLink=1
48868 ;;
48869 -Zomf)
48870 omfLinking=1
48871 ;;
48872 *)
48873 ;;
48874 esac
48875 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48876 ;;
48877 *.dll)
48878 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48879 if [ ${D}omfLinking -eq 1 ]; then
48880 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48881 else
48882 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48883 fi
48884 ;;
48885 *)
48886 found=0;
48887 if [ ${D}libsToLink -ne 0 ]; then
48888 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48889 else
48890 for file in ${D}1 ; do
48891 if [ -f ${D}file ]; then
48892 inputFiles="${D}{inputFiles} ${D}file"
48893 found=1
48894 fi
48895 done
48896 if [ ${D}found -eq 0 ]; then
48897 echo "ERROR: No file(s) found: "${D}1
48898 exit 8
48899 fi
48900 fi
48901 ;;
48902 esac
48903 shift
48904 done # iterate cmdline words
48905
48906 #
48907 if [ -z "${D}inputFiles" ]; then
48908 echo "dllar: no input files"
48909 PrintHelp
48910 fi
48911
48912 # Now extract all .o files from .a files
48913 newInputFiles=""
48914 for file in ${D}inputFiles ; do
48915 case ${D}file in
48916 *.a | *.lib)
48917 case ${D}file in
48918 *.a)
48919 suffix=".a"
48920 AR="ar"
48921 ;;
48922 *.lib)
48923 suffix=".lib"
48924 AR="emxomfar"
48925 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48926 ;;
48927 *)
48928 ;;
48929 esac
48930 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48931 mkdir ${D}dirname
48932 if [ ${D}? -ne 0 ]; then
48933 echo "Failed to create subdirectory ./${D}dirname"
48934 CleanUp
48935 exit 8;
48936 fi
48937 # Append '!' to indicate archive
48938 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48939 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48940 cd ${D}curDir
48941 found=0;
48942 for subfile in ${D}dirname/*.o* ; do
48943 if [ -f ${D}subfile ]; then
48944 found=1
48945 if [ -s ${D}subfile ]; then
48946 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48947 newInputFiles="${D}newInputFiles ${D}subfile"
48948 fi
48949 fi
48950 done
48951 if [ ${D}found -eq 0 ]; then
48952 echo "WARNING: there are no files in archive \\'${D}file\\'"
48953 fi
48954 ;;
48955 *)
48956 newInputFiles="${D}{newInputFiles} ${D}file"
48957 ;;
48958 esac
48959 done
48960 inputFiles="${D}newInputFiles"
48961
48962 # Output filename(s).
48963 do_backup=0;
48964 if [ -z ${D}outFile ]; then
48965 do_backup=1;
48966 set outFile ${D}inputFiles; outFile=${D}2
48967 fi
48968
48969 # If it is an archive, remove the '!' and the '_%' suffixes
48970 case ${D}outFile in
48971 *_%!)
48972 outFile=\`basnam ${D}outFile _%!\`
48973 ;;
48974 *)
48975 ;;
48976 esac
48977 case ${D}outFile in
48978 *.dll)
48979 outFile=\`basnam ${D}outFile .dll\`
48980 ;;
48981 *.DLL)
48982 outFile=\`basnam ${D}outFile .DLL\`
48983 ;;
48984 *.o)
48985 outFile=\`basnam ${D}outFile .o\`
48986 ;;
48987 *.obj)
48988 outFile=\`basnam ${D}outFile .obj\`
48989 ;;
48990 *.a)
48991 outFile=\`basnam ${D}outFile .a\`
48992 ;;
48993 *.lib)
48994 outFile=\`basnam ${D}outFile .lib\`
48995 ;;
48996 *)
48997 ;;
48998 esac
48999 case ${D}outimpFile in
49000 *.a)
49001 outimpFile=\`basnam ${D}outimpFile .a\`
49002 ;;
49003 *.lib)
49004 outimpFile=\`basnam ${D}outimpFile .lib\`
49005 ;;
49006 *)
49007 ;;
49008 esac
49009 if [ -z ${D}outimpFile ]; then
49010 outimpFile=${D}outFile
49011 fi
49012 defFile="${D}{outFile}.def"
49013 arcFile="${D}{outimpFile}.a"
49014 arcFile2="${D}{outimpFile}.lib"
49015
49016 #create ${D}dllFile as something matching 8.3 restrictions,
49017 if [ -z ${D}renameScript ] ; then
49018 dllFile="${D}outFile"
49019 else
49020 dllFile=\`${D}renameScript ${D}outimpFile\`
49021 fi
49022
49023 if [ ${D}do_backup -ne 0 ] ; then
49024 if [ -f ${D}arcFile ] ; then
49025 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49026 fi
49027 if [ -f ${D}arcFile2 ] ; then
49028 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49029 fi
49030 fi
49031
49032 # Extract public symbols from all the object files.
49033 tmpdefFile=${D}{defFile}_%
49034 rm -f ${D}tmpdefFile
49035 for file in ${D}inputFiles ; do
49036 case ${D}file in
49037 *!)
49038 ;;
49039 *)
49040 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49041 ;;
49042 esac
49043 done
49044
49045 # Create the def file.
49046 rm -f ${D}defFile
49047 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49048 dllFile="${D}{dllFile}.dll"
49049 if [ ! -z ${D}description ]; then
49050 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49051 fi
49052 echo "EXPORTS" >> ${D}defFile
49053
49054 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49055 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49056
49057 # Checks if the export is ok or not.
49058 for word in ${D}exclude_symbols; do
49059 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49060 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49061 done
49062
49063
49064 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49065 sed "=" < ${D}tmpdefFile | \\
49066 sed '
49067 N
49068 : loop
49069 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49070 t loop
49071 ' > ${D}{tmpdefFile}%
49072 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49073 else
49074 rm -f ${D}{tmpdefFile}%
49075 fi
49076 cat ${D}tmpdefFile >> ${D}defFile
49077 rm -f ${D}tmpdefFile
49078
49079 # Do linking, create implib, and apply lxlite.
49080 gccCmdl="";
49081 for file in ${D}inputFiles ; do
49082 case ${D}file in
49083 *!)
49084 ;;
49085 *)
49086 gccCmdl="${D}gccCmdl ${D}file"
49087 ;;
49088 esac
49089 done
49090 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49091 touch "${D}{outFile}.dll"
49092
49093 doCommand "emximp -o ${D}arcFile ${D}defFile"
49094 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49095 add_flags="";
49096 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49097 add_flags="-ynd"
49098 fi
49099 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49100 fi
49101 doCommand "emxomf -s -l ${D}arcFile"
49102
49103 # Successful exit.
49104 CleanUp 1
49105 exit 0
49106 EOF
49107
49108 chmod +x dllar.sh
49109 ;;
49110
49111 powerpc-apple-macos* | \
49112 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49113 *-*-mirbsd* | \
49114 *-*-sunos4* | \
49115 *-*-osf* | \
49116 *-*-dgux5* | \
49117 *-*-sysv5* | \
49118 *-pc-msdosdjgpp )
49119 ;;
49120
49121 *)
49122 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49123 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49124 { (exit 1); exit 1; }; }
49125 esac
49126
49127 if test "x$PIC_FLAG" != "x" ; then
49128 PIC_FLAG="$PIC_FLAG -DPIC"
49129 fi
49130
49131 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49132 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49133 fi
49134 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49135 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49136 fi
49137
49138
49139
49140
49141
49142
49143
49144
49145
49146 USE_SOVERSION=0
49147 USE_SOVERLINUX=0
49148 USE_SOVERSOLARIS=0
49149 USE_SOVERCYGWIN=0
49150 USE_SOSYMLINKS=0
49151 USE_MACVERSION=0
49152 SONAME_FLAG=
49153
49154 case "${BAKEFILE_HOST}" in
49155 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49156 *-*-k*bsd*-gnu | *-*-mirbsd* )
49157 if test "x$SUNCXX" = "xyes"; then
49158 SONAME_FLAG="-h "
49159 else
49160 SONAME_FLAG="-Wl,-soname,"
49161 fi
49162 USE_SOVERSION=1
49163 USE_SOVERLINUX=1
49164 USE_SOSYMLINKS=1
49165 ;;
49166
49167 *-*-solaris2* )
49168 SONAME_FLAG="-h "
49169 USE_SOVERSION=1
49170 USE_SOVERSOLARIS=1
49171 USE_SOSYMLINKS=1
49172 ;;
49173
49174 *-*-darwin* )
49175 USE_MACVERSION=1
49176 USE_SOVERSION=1
49177 USE_SOSYMLINKS=1
49178 ;;
49179
49180 *-*-cygwin* )
49181 USE_SOVERSION=1
49182 USE_SOVERCYGWIN=1
49183 ;;
49184 esac
49185
49186
49187
49188
49189
49190
49191
49192
49193
49194
49195 # Check whether --enable-dependency-tracking was given.
49196 if test "${enable_dependency_tracking+set}" = set; then
49197 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49198 fi
49199
49200
49201 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49202 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49203
49204 BK_DEPS=""
49205 if test "x$bk_use_trackdeps" = "xno" ; then
49206 DEPS_TRACKING=0
49207 { echo "$as_me:$LINENO: result: disabled" >&5
49208 echo "${ECHO_T}disabled" >&6; }
49209 else
49210 DEPS_TRACKING=1
49211
49212 if test "x$GCC" = "xyes"; then
49213 DEPSMODE=gcc
49214 case "${BAKEFILE_HOST}" in
49215 *-*-darwin* )
49216 DEPSFLAG="-no-cpp-precomp -MMD"
49217 ;;
49218 * )
49219 DEPSFLAG="-MMD"
49220 ;;
49221 esac
49222 { echo "$as_me:$LINENO: result: gcc" >&5
49223 echo "${ECHO_T}gcc" >&6; }
49224 elif test "x$MWCC" = "xyes"; then
49225 DEPSMODE=mwcc
49226 DEPSFLAG="-MM"
49227 { echo "$as_me:$LINENO: result: mwcc" >&5
49228 echo "${ECHO_T}mwcc" >&6; }
49229 elif test "x$SUNCC" = "xyes"; then
49230 DEPSMODE=unixcc
49231 DEPSFLAG="-xM1"
49232 { echo "$as_me:$LINENO: result: Sun cc" >&5
49233 echo "${ECHO_T}Sun cc" >&6; }
49234 elif test "x$SGICC" = "xyes"; then
49235 DEPSMODE=unixcc
49236 DEPSFLAG="-M"
49237 { echo "$as_me:$LINENO: result: SGI cc" >&5
49238 echo "${ECHO_T}SGI cc" >&6; }
49239 elif test "x$HPCC" = "xyes"; then
49240 DEPSMODE=unixcc
49241 DEPSFLAG="+make"
49242 { echo "$as_me:$LINENO: result: HP cc" >&5
49243 echo "${ECHO_T}HP cc" >&6; }
49244 elif test "x$COMPAQCC" = "xyes"; then
49245 DEPSMODE=gcc
49246 DEPSFLAG="-MD"
49247 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49248 echo "${ECHO_T}Compaq cc" >&6; }
49249 else
49250 DEPS_TRACKING=0
49251 { echo "$as_me:$LINENO: result: none" >&5
49252 echo "${ECHO_T}none" >&6; }
49253 fi
49254
49255 if test $DEPS_TRACKING = 1 ; then
49256
49257 D='$'
49258 cat <<EOF >bk-deps
49259 #!/bin/sh
49260
49261 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49262 # script. It is used to track C/C++ files dependencies in portable way.
49263 #
49264 # Permission is given to use this file in any way.
49265
49266 DEPSMODE=${DEPSMODE}
49267 DEPSFLAG="${DEPSFLAG}"
49268 DEPSDIRBASE=.deps
49269
49270 if test ${D}DEPSMODE = gcc ; then
49271 ${D}* ${D}{DEPSFLAG}
49272 status=${D}?
49273
49274 # determine location of created files:
49275 while test ${D}# -gt 0; do
49276 case "${D}1" in
49277 -o )
49278 shift
49279 objfile=${D}1
49280 ;;
49281 -* )
49282 ;;
49283 * )
49284 srcfile=${D}1
49285 ;;
49286 esac
49287 shift
49288 done
49289 objfilebase=\`basename ${D}objfile\`
49290 builddir=\`dirname ${D}objfile\`
49291 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49292 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49293 depsdir=${D}builddir/${D}DEPSDIRBASE
49294 mkdir -p ${D}depsdir
49295
49296 # if the compiler failed, we're done:
49297 if test ${D}{status} != 0 ; then
49298 rm -f ${D}depfile
49299 exit ${D}{status}
49300 fi
49301
49302 # move created file to the location we want it in:
49303 if test -f ${D}depfile ; then
49304 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49305 rm -f ${D}depfile
49306 else
49307 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49308 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49309 if test ! -f ${D}depfile ; then
49310 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49311 depfile="${D}objfile.d"
49312 fi
49313 if test -f ${D}depfile ; then
49314 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49315 rm -f ${D}depfile
49316 fi
49317 fi
49318 exit 0
49319
49320 elif test ${D}DEPSMODE = mwcc ; then
49321 ${D}* || exit ${D}?
49322 # Run mwcc again with -MM and redirect into the dep file we want
49323 # NOTE: We can't use shift here because we need ${D}* to be valid
49324 prevarg=
49325 for arg in ${D}* ; do
49326 if test "${D}prevarg" = "-o"; then
49327 objfile=${D}arg
49328 else
49329 case "${D}arg" in
49330 -* )
49331 ;;
49332 * )
49333 srcfile=${D}arg
49334 ;;
49335 esac
49336 fi
49337 prevarg="${D}arg"
49338 done
49339
49340 objfilebase=\`basename ${D}objfile\`
49341 builddir=\`dirname ${D}objfile\`
49342 depsdir=${D}builddir/${D}DEPSDIRBASE
49343 mkdir -p ${D}depsdir
49344
49345 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49346 exit 0
49347
49348 elif test ${D}DEPSMODE = unixcc; then
49349 ${D}* || exit ${D}?
49350 # Run compiler again with deps flag and redirect into the dep file.
49351 # It doesn't work if the '-o FILE' option is used, but without it the
49352 # dependency file will contain the wrong name for the object. So it is
49353 # removed from the command line, and the dep file is fixed with sed.
49354 cmd=""
49355 while test ${D}# -gt 0; do
49356 case "${D}1" in
49357 -o )
49358 shift
49359 objfile=${D}1
49360 ;;
49361 * )
49362 eval arg${D}#=\\${D}1
49363 cmd="${D}cmd \\${D}arg${D}#"
49364 ;;
49365 esac
49366 shift
49367 done
49368
49369 objfilebase=\`basename ${D}objfile\`
49370 builddir=\`dirname ${D}objfile\`
49371 depsdir=${D}builddir/${D}DEPSDIRBASE
49372 mkdir -p ${D}depsdir
49373
49374 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49375 exit 0
49376
49377 else
49378 ${D}*
49379 exit ${D}?
49380 fi
49381 EOF
49382
49383 chmod +x bk-deps
49384 BK_DEPS="`pwd`/bk-deps"
49385 fi
49386 fi
49387
49388
49389
49390
49391
49392 case ${BAKEFILE_HOST} in
49393 *-*-cygwin* | *-*-mingw32* )
49394 if test -n "$ac_tool_prefix"; then
49395 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49396 set dummy ${ac_tool_prefix}windres; ac_word=$2
49397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49399 if test "${ac_cv_prog_WINDRES+set}" = set; then
49400 echo $ECHO_N "(cached) $ECHO_C" >&6
49401 else
49402 if test -n "$WINDRES"; then
49403 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49404 else
49405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49406 for as_dir in $PATH
49407 do
49408 IFS=$as_save_IFS
49409 test -z "$as_dir" && as_dir=.
49410 for ac_exec_ext in '' $ac_executable_extensions; do
49411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49412 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49414 break 2
49415 fi
49416 done
49417 done
49418 IFS=$as_save_IFS
49419
49420 fi
49421 fi
49422 WINDRES=$ac_cv_prog_WINDRES
49423 if test -n "$WINDRES"; then
49424 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49425 echo "${ECHO_T}$WINDRES" >&6; }
49426 else
49427 { echo "$as_me:$LINENO: result: no" >&5
49428 echo "${ECHO_T}no" >&6; }
49429 fi
49430
49431
49432 fi
49433 if test -z "$ac_cv_prog_WINDRES"; then
49434 ac_ct_WINDRES=$WINDRES
49435 # Extract the first word of "windres", so it can be a program name with args.
49436 set dummy windres; ac_word=$2
49437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49439 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49440 echo $ECHO_N "(cached) $ECHO_C" >&6
49441 else
49442 if test -n "$ac_ct_WINDRES"; then
49443 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49444 else
49445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49446 for as_dir in $PATH
49447 do
49448 IFS=$as_save_IFS
49449 test -z "$as_dir" && as_dir=.
49450 for ac_exec_ext in '' $ac_executable_extensions; do
49451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49452 ac_cv_prog_ac_ct_WINDRES="windres"
49453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49454 break 2
49455 fi
49456 done
49457 done
49458 IFS=$as_save_IFS
49459
49460 fi
49461 fi
49462 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49463 if test -n "$ac_ct_WINDRES"; then
49464 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49465 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49466 else
49467 { echo "$as_me:$LINENO: result: no" >&5
49468 echo "${ECHO_T}no" >&6; }
49469 fi
49470
49471 if test "x$ac_ct_WINDRES" = x; then
49472 WINDRES=""
49473 else
49474 case $cross_compiling:$ac_tool_warned in
49475 yes:)
49476 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49477 whose name does not start with the host triplet. If you think this
49478 configuration is useful to you, please write to autoconf@gnu.org." >&5
49479 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49480 whose name does not start with the host triplet. If you think this
49481 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49482 ac_tool_warned=yes ;;
49483 esac
49484 WINDRES=$ac_ct_WINDRES
49485 fi
49486 else
49487 WINDRES="$ac_cv_prog_WINDRES"
49488 fi
49489
49490 ;;
49491
49492 *-*-darwin* | powerpc-apple-macos* )
49493 # Extract the first word of "Rez", so it can be a program name with args.
49494 set dummy Rez; ac_word=$2
49495 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49497 if test "${ac_cv_prog_REZ+set}" = set; then
49498 echo $ECHO_N "(cached) $ECHO_C" >&6
49499 else
49500 if test -n "$REZ"; then
49501 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49502 else
49503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49504 for as_dir in $PATH
49505 do
49506 IFS=$as_save_IFS
49507 test -z "$as_dir" && as_dir=.
49508 for ac_exec_ext in '' $ac_executable_extensions; do
49509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49510 ac_cv_prog_REZ="Rez"
49511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49512 break 2
49513 fi
49514 done
49515 done
49516 IFS=$as_save_IFS
49517
49518 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49519 fi
49520 fi
49521 REZ=$ac_cv_prog_REZ
49522 if test -n "$REZ"; then
49523 { echo "$as_me:$LINENO: result: $REZ" >&5
49524 echo "${ECHO_T}$REZ" >&6; }
49525 else
49526 { echo "$as_me:$LINENO: result: no" >&5
49527 echo "${ECHO_T}no" >&6; }
49528 fi
49529
49530
49531 # Extract the first word of "SetFile", so it can be a program name with args.
49532 set dummy SetFile; ac_word=$2
49533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49535 if test "${ac_cv_prog_SETFILE+set}" = set; then
49536 echo $ECHO_N "(cached) $ECHO_C" >&6
49537 else
49538 if test -n "$SETFILE"; then
49539 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49540 else
49541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49542 for as_dir in $PATH
49543 do
49544 IFS=$as_save_IFS
49545 test -z "$as_dir" && as_dir=.
49546 for ac_exec_ext in '' $ac_executable_extensions; do
49547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49548 ac_cv_prog_SETFILE="SetFile"
49549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49550 break 2
49551 fi
49552 done
49553 done
49554 IFS=$as_save_IFS
49555
49556 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49557 fi
49558 fi
49559 SETFILE=$ac_cv_prog_SETFILE
49560 if test -n "$SETFILE"; then
49561 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49562 echo "${ECHO_T}$SETFILE" >&6; }
49563 else
49564 { echo "$as_me:$LINENO: result: no" >&5
49565 echo "${ECHO_T}no" >&6; }
49566 fi
49567
49568
49569 ;;
49570 esac
49571
49572
49573
49574
49575
49576
49577
49578
49579
49580 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49581
49582
49583 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49584
49585
49586
49587 # Check whether --enable-precomp-headers was given.
49588 if test "${enable_precomp_headers+set}" = set; then
49589 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49590 fi
49591
49592
49593 GCC_PCH=0
49594 ICC_PCH=0
49595 USE_PCH=0
49596 BK_MAKE_PCH=""
49597
49598 case ${BAKEFILE_HOST} in
49599 *-*-cygwin* )
49600 bk_use_pch="no"
49601 ;;
49602 esac
49603
49604 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49605 if test "x$GCC" = "xyes"; then
49606 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49607 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49608 cat >conftest.$ac_ext <<_ACEOF
49609 /* confdefs.h. */
49610 _ACEOF
49611 cat confdefs.h >>conftest.$ac_ext
49612 cat >>conftest.$ac_ext <<_ACEOF
49613 /* end confdefs.h. */
49614
49615 int
49616 main ()
49617 {
49618
49619 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49620 There is no PCH support
49621 #endif
49622 #if (__GNUC__ < 3)
49623 There is no PCH support
49624 #endif
49625 #if (__GNUC__ == 3) && \
49626 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49627 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49628 ( defined(__INTEL_COMPILER) )
49629 There is no PCH support
49630 #endif
49631
49632 ;
49633 return 0;
49634 }
49635 _ACEOF
49636 rm -f conftest.$ac_objext
49637 if { (ac_try="$ac_compile"
49638 case "(($ac_try" in
49639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49640 *) ac_try_echo=$ac_try;;
49641 esac
49642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49643 (eval "$ac_compile") 2>conftest.er1
49644 ac_status=$?
49645 grep -v '^ *+' conftest.er1 >conftest.err
49646 rm -f conftest.er1
49647 cat conftest.err >&5
49648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49649 (exit $ac_status); } && {
49650 test -z "$ac_c_werror_flag" ||
49651 test ! -s conftest.err
49652 } && test -s conftest.$ac_objext; then
49653
49654 { echo "$as_me:$LINENO: result: yes" >&5
49655 echo "${ECHO_T}yes" >&6; }
49656 GCC_PCH=1
49657
49658 else
49659 echo "$as_me: failed program was:" >&5
49660 sed 's/^/| /' conftest.$ac_ext >&5
49661
49662
49663 if test "$INTELCXX8" = "yes"; then
49664 { echo "$as_me:$LINENO: result: yes" >&5
49665 echo "${ECHO_T}yes" >&6; }
49666 ICC_PCH=1
49667 if test "$INTELCXX10" = "yes"; then
49668 ICC_PCH_CREATE_SWITCH="-pch-create"
49669 ICC_PCH_USE_SWITCH="-pch-use"
49670 else
49671 ICC_PCH_CREATE_SWITCH="-create-pch"
49672 ICC_PCH_USE_SWITCH="-use-pch"
49673 fi
49674 else
49675 { echo "$as_me:$LINENO: result: no" >&5
49676 echo "${ECHO_T}no" >&6; }
49677 fi
49678
49679 fi
49680
49681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49682 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49683 USE_PCH=1
49684
49685 D='$'
49686 cat <<EOF >bk-make-pch
49687 #!/bin/sh
49688
49689 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49690 # script. It is used to generated precompiled headers.
49691 #
49692 # Permission is given to use this file in any way.
49693
49694 outfile="${D}{1}"
49695 header="${D}{2}"
49696 shift
49697 shift
49698
49699 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49700
49701 compiler=""
49702 headerfile=""
49703
49704 while test ${D}{#} -gt 0; do
49705 add_to_cmdline=1
49706 case "${D}{1}" in
49707 -I* )
49708 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49709 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49710 headerfile="${D}{incdir}/${D}{header}"
49711 fi
49712 ;;
49713 -use-pch|-use_pch|-pch-use )
49714 shift
49715 add_to_cmdline=0
49716 ;;
49717 esac
49718 if test ${D}add_to_cmdline = 1 ; then
49719 compiler="${D}{compiler} ${D}{1}"
49720 fi
49721 shift
49722 done
49723
49724 if test "x${D}{headerfile}" = "x" ; then
49725 echo "error: can't find header ${D}{header} in include paths" >&2
49726 else
49727 if test -f ${D}{outfile} ; then
49728 rm -f ${D}{outfile}
49729 else
49730 mkdir -p \`dirname ${D}{outfile}\`
49731 fi
49732 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49733 mkdir -p ${D}{builddir}/.deps
49734 if test "x${GCC_PCH}" = "x1" ; then
49735 # can do this because gcc is >= 3.4:
49736 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49737 elif test "x${ICC_PCH}" = "x1" ; then
49738 filename=pch_gen-${D}${D}
49739 file=${D}{filename}.c
49740 dfile=${D}{filename}.d
49741 cat > ${D}file <<EOT
49742 #include "${D}header"
49743 EOT
49744 # using -MF icc complains about differing command lines in creation/use
49745 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49746 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49747 rm -f ${D}file ${D}dfile ${D}{filename}.o
49748 fi
49749 exit ${D}{?}
49750 fi
49751 EOF
49752
49753 chmod +x bk-make-pch
49754 BK_MAKE_PCH="`pwd`/bk-make-pch"
49755 fi
49756 fi
49757 fi
49758
49759
49760
49761
49762
49763
49764
49765 COND_BUILD_DEBUG="#"
49766 if test "x$BUILD" = "xdebug" ; then
49767 COND_BUILD_DEBUG=""
49768 fi
49769
49770 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49771 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49772 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49773 fi
49774
49775 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49776 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49777 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49778 fi
49779
49780 COND_BUILD_DEBUG_UNICODE_0="#"
49781 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49782 COND_BUILD_DEBUG_UNICODE_0=""
49783 fi
49784
49785 COND_BUILD_DEBUG_UNICODE_1="#"
49786 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49787 COND_BUILD_DEBUG_UNICODE_1=""
49788 fi
49789
49790 COND_BUILD_RELEASE="#"
49791 if test "x$BUILD" = "xrelease" ; then
49792 COND_BUILD_RELEASE=""
49793 fi
49794
49795 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49796 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49797 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49798 fi
49799
49800 COND_BUILD_RELEASE_UNICODE_0="#"
49801 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49802 COND_BUILD_RELEASE_UNICODE_0=""
49803 fi
49804
49805 COND_BUILD_RELEASE_UNICODE_1="#"
49806 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49807 COND_BUILD_RELEASE_UNICODE_1=""
49808 fi
49809
49810 COND_BUILD_debug="#"
49811 if test "x$BUILD" = "xdebug" ; then
49812 COND_BUILD_debug=""
49813 fi
49814
49815 COND_BUILD_debug_DEBUG_FLAG_default="#"
49816 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49817 COND_BUILD_debug_DEBUG_FLAG_default=""
49818 fi
49819
49820 COND_BUILD_debug_DEBUG_INFO_default="#"
49821 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49822 COND_BUILD_debug_DEBUG_INFO_default=""
49823 fi
49824
49825 COND_BUILD_debug_UNICODE_0="#"
49826 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49827 COND_BUILD_debug_UNICODE_0=""
49828 fi
49829
49830 COND_BUILD_debug_UNICODE_1="#"
49831 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49832 COND_BUILD_debug_UNICODE_1=""
49833 fi
49834
49835 COND_BUILD_release="#"
49836 if test "x$BUILD" = "xrelease" ; then
49837 COND_BUILD_release=""
49838 fi
49839
49840 COND_BUILD_release_DEBUG_INFO_default="#"
49841 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49842 COND_BUILD_release_DEBUG_INFO_default=""
49843 fi
49844
49845 COND_BUILD_release_UNICODE_0="#"
49846 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49847 COND_BUILD_release_UNICODE_0=""
49848 fi
49849
49850 COND_BUILD_release_UNICODE_1="#"
49851 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49852 COND_BUILD_release_UNICODE_1=""
49853 fi
49854
49855 COND_DEBUG_FLAG_1="#"
49856 if test "x$DEBUG_FLAG" = "x1" ; then
49857 COND_DEBUG_FLAG_1=""
49858 fi
49859
49860 COND_DEBUG_INFO_0="#"
49861 if test "x$DEBUG_INFO" = "x0" ; then
49862 COND_DEBUG_INFO_0=""
49863 fi
49864
49865 COND_DEBUG_INFO_1="#"
49866 if test "x$DEBUG_INFO" = "x1" ; then
49867 COND_DEBUG_INFO_1=""
49868 fi
49869
49870 COND_DEPS_TRACKING_0="#"
49871 if test "x$DEPS_TRACKING" = "x0" ; then
49872 COND_DEPS_TRACKING_0=""
49873 fi
49874
49875 COND_DEPS_TRACKING_1="#"
49876 if test "x$DEPS_TRACKING" = "x1" ; then
49877 COND_DEPS_TRACKING_1=""
49878 fi
49879
49880 COND_GCC_PCH_1="#"
49881 if test "x$GCC_PCH" = "x1" ; then
49882 COND_GCC_PCH_1=""
49883 fi
49884
49885 COND_ICC_PCH_1="#"
49886 if test "x$ICC_PCH" = "x1" ; then
49887 COND_ICC_PCH_1=""
49888 fi
49889
49890 COND_MONOLITHIC_0="#"
49891 if test "x$MONOLITHIC" = "x0" ; then
49892 COND_MONOLITHIC_0=""
49893 fi
49894
49895 COND_MONOLITHIC_0_SHARED_0="#"
49896 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49897 COND_MONOLITHIC_0_SHARED_0=""
49898 fi
49899
49900 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49901 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49902 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49903 fi
49904
49905 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49906 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49907 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49908 fi
49909
49910 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49911 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49912 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49913 fi
49914
49915 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49916 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49917 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49918 fi
49919
49920 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49921 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49922 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49923 fi
49924
49925 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49926 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49927 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49928 fi
49929
49930 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49931 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49932 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49933 fi
49934
49935 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49936 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49937 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49938 fi
49939
49940 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49941 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49942 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49943 fi
49944
49945 COND_MONOLITHIC_0_SHARED_1="#"
49946 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49947 COND_MONOLITHIC_0_SHARED_1=""
49948 fi
49949
49950 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49951 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49952 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49953 fi
49954
49955 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49956 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49957 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49958 fi
49959
49960 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49961 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49962 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49963 fi
49964
49965 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49966 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49967 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49968 fi
49969
49970 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49971 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49972 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49973 fi
49974
49975 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49976 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49977 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49978 fi
49979
49980 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49981 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49982 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49983 fi
49984
49985 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49986 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49987 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49988 fi
49989
49990 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49991 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49992 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49993 fi
49994
49995 COND_MONOLITHIC_0_USE_AUI_1="#"
49996 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49997 COND_MONOLITHIC_0_USE_AUI_1=""
49998 fi
49999
50000 COND_MONOLITHIC_0_USE_GUI_1="#"
50001 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50002 COND_MONOLITHIC_0_USE_GUI_1=""
50003 fi
50004
50005 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50006 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50007 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50008 fi
50009
50010 COND_MONOLITHIC_0_USE_HTML_1="#"
50011 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50012 COND_MONOLITHIC_0_USE_HTML_1=""
50013 fi
50014
50015 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50016 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50017 COND_MONOLITHIC_0_USE_MEDIA_1=""
50018 fi
50019
50020 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50021 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50022 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50023 fi
50024
50025 COND_MONOLITHIC_0_USE_QA_1="#"
50026 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50027 COND_MONOLITHIC_0_USE_QA_1=""
50028 fi
50029
50030 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50031 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50032 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50033 fi
50034
50035 COND_MONOLITHIC_0_USE_STC_1="#"
50036 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50037 COND_MONOLITHIC_0_USE_STC_1=""
50038 fi
50039
50040 COND_MONOLITHIC_0_USE_XRC_1="#"
50041 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50042 COND_MONOLITHIC_0_USE_XRC_1=""
50043 fi
50044
50045 COND_MONOLITHIC_1="#"
50046 if test "x$MONOLITHIC" = "x1" ; then
50047 COND_MONOLITHIC_1=""
50048 fi
50049
50050 COND_MONOLITHIC_1_SHARED_0="#"
50051 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50052 COND_MONOLITHIC_1_SHARED_0=""
50053 fi
50054
50055 COND_MONOLITHIC_1_SHARED_1="#"
50056 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50057 COND_MONOLITHIC_1_SHARED_1=""
50058 fi
50059
50060 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50061 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50062 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50063 fi
50064
50065 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50066 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50067 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50068 fi
50069
50070 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50071 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50072 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50073 fi
50074
50075 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50076 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50077 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50078 fi
50079
50080 COND_PLATFORM_MACOSX_1="#"
50081 if test "x$PLATFORM_MACOSX" = "x1" ; then
50082 COND_PLATFORM_MACOSX_1=""
50083 fi
50084
50085 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50086 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50087 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50088 fi
50089
50090 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50091 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50092 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50093 fi
50094
50095 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50096 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50097 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50098 fi
50099
50100 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50101 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50102 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50103 fi
50104
50105 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50106 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50107 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50108 fi
50109
50110 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50111 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50112 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50113 fi
50114
50115 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50116 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50117 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50118 fi
50119
50120 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50121 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50122 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50123 fi
50124
50125 COND_PLATFORM_MACOS_1="#"
50126 if test "x$PLATFORM_MACOS" = "x1" ; then
50127 COND_PLATFORM_MACOS_1=""
50128 fi
50129
50130 COND_PLATFORM_MAC_0="#"
50131 if test "x$PLATFORM_MAC" = "x0" ; then
50132 COND_PLATFORM_MAC_0=""
50133 fi
50134
50135 COND_PLATFORM_MAC_1="#"
50136 if test "x$PLATFORM_MAC" = "x1" ; then
50137 COND_PLATFORM_MAC_1=""
50138 fi
50139
50140 COND_PLATFORM_MSDOS_0="#"
50141 if test "x$PLATFORM_MSDOS" = "x0" ; then
50142 COND_PLATFORM_MSDOS_0=""
50143 fi
50144
50145 COND_PLATFORM_MSDOS_1="#"
50146 if test "x$PLATFORM_MSDOS" = "x1" ; then
50147 COND_PLATFORM_MSDOS_1=""
50148 fi
50149
50150 COND_PLATFORM_OS2_1="#"
50151 if test "x$PLATFORM_OS2" = "x1" ; then
50152 COND_PLATFORM_OS2_1=""
50153 fi
50154
50155 COND_PLATFORM_UNIX_0="#"
50156 if test "x$PLATFORM_UNIX" = "x0" ; then
50157 COND_PLATFORM_UNIX_0=""
50158 fi
50159
50160 COND_PLATFORM_UNIX_1="#"
50161 if test "x$PLATFORM_UNIX" = "x1" ; then
50162 COND_PLATFORM_UNIX_1=""
50163 fi
50164
50165 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50166 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50167 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50168 fi
50169
50170 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50171 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50172 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50173 fi
50174
50175 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50176 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50177 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50178 fi
50179
50180 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50181 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50182 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50183 fi
50184
50185 COND_PLATFORM_WIN32_0="#"
50186 if test "x$PLATFORM_WIN32" = "x0" ; then
50187 COND_PLATFORM_WIN32_0=""
50188 fi
50189
50190 COND_PLATFORM_WIN32_1="#"
50191 if test "x$PLATFORM_WIN32" = "x1" ; then
50192 COND_PLATFORM_WIN32_1=""
50193 fi
50194
50195 COND_SHARED_0="#"
50196 if test "x$SHARED" = "x0" ; then
50197 COND_SHARED_0=""
50198 fi
50199
50200 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50201 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50202 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50203 fi
50204
50205 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50206 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50207 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50208 fi
50209
50210 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50211 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50212 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50213 fi
50214
50215 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50216 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50217 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50218 fi
50219
50220 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50221 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50222 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50223 fi
50224
50225 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50226 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50227 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50228 fi
50229
50230 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50231 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50232 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50233 fi
50234
50235 COND_SHARED_0_USE_STC_1="#"
50236 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50237 COND_SHARED_0_USE_STC_1=""
50238 fi
50239
50240 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50241 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50242 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50243 fi
50244
50245 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50246 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50247 COND_SHARED_0_wxUSE_REGEX_builtin=""
50248 fi
50249
50250 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50251 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50252 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50253 fi
50254
50255 COND_SHARED_1="#"
50256 if test "x$SHARED" = "x1" ; then
50257 COND_SHARED_1=""
50258 fi
50259
50260 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50261 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50262 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50263 fi
50264
50265 COND_TOOLKIT_="#"
50266 if test "x$TOOLKIT" = "x" ; then
50267 COND_TOOLKIT_=""
50268 fi
50269
50270 COND_TOOLKIT_COCOA="#"
50271 if test "x$TOOLKIT" = "xCOCOA" ; then
50272 COND_TOOLKIT_COCOA=""
50273 fi
50274
50275 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50276 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50277 COND_TOOLKIT_COCOA_USE_GUI_1=""
50278 fi
50279
50280 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50281 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50282 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50283 fi
50284
50285 COND_TOOLKIT_DFB="#"
50286 if test "x$TOOLKIT" = "xDFB" ; then
50287 COND_TOOLKIT_DFB=""
50288 fi
50289
50290 COND_TOOLKIT_DFB_USE_GUI_1="#"
50291 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50292 COND_TOOLKIT_DFB_USE_GUI_1=""
50293 fi
50294
50295 COND_TOOLKIT_GTK="#"
50296 if test "x$TOOLKIT" = "xGTK" ; then
50297 COND_TOOLKIT_GTK=""
50298 fi
50299
50300 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50301 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50302 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50303 fi
50304
50305 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50306 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50307 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50308 fi
50309
50310 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50311 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50312 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50313 fi
50314
50315 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50316 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50317 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50318 fi
50319
50320 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50321 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50322 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50323 fi
50324
50325 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50326 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50327 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50328 fi
50329
50330 COND_TOOLKIT_GTK_USE_GUI_1="#"
50331 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50332 COND_TOOLKIT_GTK_USE_GUI_1=""
50333 fi
50334
50335 COND_TOOLKIT_MAC="#"
50336 if test "x$TOOLKIT" = "xMAC" ; then
50337 COND_TOOLKIT_MAC=""
50338 fi
50339
50340 COND_TOOLKIT_MGL="#"
50341 if test "x$TOOLKIT" = "xMGL" ; then
50342 COND_TOOLKIT_MGL=""
50343 fi
50344
50345 COND_TOOLKIT_MGL_USE_GUI_1="#"
50346 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50347 COND_TOOLKIT_MGL_USE_GUI_1=""
50348 fi
50349
50350 COND_TOOLKIT_MOTIF="#"
50351 if test "x$TOOLKIT" = "xMOTIF" ; then
50352 COND_TOOLKIT_MOTIF=""
50353 fi
50354
50355 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50356 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50357 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50358 fi
50359
50360 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50361 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50362 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50363 fi
50364
50365 COND_TOOLKIT_MSW="#"
50366 if test "x$TOOLKIT" = "xMSW" ; then
50367 COND_TOOLKIT_MSW=""
50368 fi
50369
50370 COND_TOOLKIT_MSW_USE_GUI_1="#"
50371 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50372 COND_TOOLKIT_MSW_USE_GUI_1=""
50373 fi
50374
50375 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50376 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50377 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50378 fi
50379
50380 COND_TOOLKIT_MSW_WXUNIV_0="#"
50381 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50382 COND_TOOLKIT_MSW_WXUNIV_0=""
50383 fi
50384
50385 COND_TOOLKIT_OSX_CARBON="#"
50386 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50387 COND_TOOLKIT_OSX_CARBON=""
50388 fi
50389
50390 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50391 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50392 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50393 fi
50394
50395 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50396 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50397 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50398 fi
50399
50400 COND_TOOLKIT_OSX_COCOA="#"
50401 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50402 COND_TOOLKIT_OSX_COCOA=""
50403 fi
50404
50405 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50406 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50407 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50408 fi
50409
50410 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50411 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50412 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50413 fi
50414
50415 COND_TOOLKIT_OSX_IPHONE="#"
50416 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50417 COND_TOOLKIT_OSX_IPHONE=""
50418 fi
50419
50420 COND_TOOLKIT_PM="#"
50421 if test "x$TOOLKIT" = "xPM" ; then
50422 COND_TOOLKIT_PM=""
50423 fi
50424
50425 COND_TOOLKIT_PM_USE_GUI_1="#"
50426 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50427 COND_TOOLKIT_PM_USE_GUI_1=""
50428 fi
50429
50430 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50431 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50432 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50433 fi
50434
50435 COND_TOOLKIT_WINCE="#"
50436 if test "x$TOOLKIT" = "xWINCE" ; then
50437 COND_TOOLKIT_WINCE=""
50438 fi
50439
50440 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50441 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50442 COND_TOOLKIT_WINCE_USE_GUI_1=""
50443 fi
50444
50445 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50446 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50447 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50448 fi
50449
50450 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50451 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50452 COND_TOOLKIT_WINCE_WXUNIV_0=""
50453 fi
50454
50455 COND_TOOLKIT_X11="#"
50456 if test "x$TOOLKIT" = "xX11" ; then
50457 COND_TOOLKIT_X11=""
50458 fi
50459
50460 COND_TOOLKIT_X11_USE_GUI_1="#"
50461 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50462 COND_TOOLKIT_X11_USE_GUI_1=""
50463 fi
50464
50465 COND_UNICODE_1="#"
50466 if test "x$UNICODE" = "x1" ; then
50467 COND_UNICODE_1=""
50468 fi
50469
50470 COND_USE_EXCEPTIONS_0="#"
50471 if test "x$USE_EXCEPTIONS" = "x0" ; then
50472 COND_USE_EXCEPTIONS_0=""
50473 fi
50474
50475 COND_USE_EXCEPTIONS_1="#"
50476 if test "x$USE_EXCEPTIONS" = "x1" ; then
50477 COND_USE_EXCEPTIONS_1=""
50478 fi
50479
50480 COND_USE_GUI_0="#"
50481 if test "x$USE_GUI" = "x0" ; then
50482 COND_USE_GUI_0=""
50483 fi
50484
50485 COND_USE_GUI_1="#"
50486 if test "x$USE_GUI" = "x1" ; then
50487 COND_USE_GUI_1=""
50488 fi
50489
50490 COND_USE_GUI_1_USE_OPENGL_1="#"
50491 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50492 COND_USE_GUI_1_USE_OPENGL_1=""
50493 fi
50494
50495 COND_USE_GUI_1_WXUNIV_0="#"
50496 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50497 COND_USE_GUI_1_WXUNIV_0=""
50498 fi
50499
50500 COND_USE_GUI_1_WXUNIV_1="#"
50501 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50502 COND_USE_GUI_1_WXUNIV_1=""
50503 fi
50504
50505 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50506 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50507 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50508 fi
50509
50510 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50511 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50512 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50513 fi
50514
50515 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50516 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50517 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50518 fi
50519
50520 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50521 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50522 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50523 fi
50524
50525 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50526 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50527 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50528 fi
50529
50530 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50531 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50532 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50533 fi
50534
50535 COND_USE_OPENGL_1="#"
50536 if test "x$USE_OPENGL" = "x1" ; then
50537 COND_USE_OPENGL_1=""
50538 fi
50539
50540 COND_USE_PCH_1="#"
50541 if test "x$USE_PCH" = "x1" ; then
50542 COND_USE_PCH_1=""
50543 fi
50544
50545 COND_USE_PLUGINS_0="#"
50546 if test "x$USE_PLUGINS" = "x0" ; then
50547 COND_USE_PLUGINS_0=""
50548 fi
50549
50550 COND_USE_RTTI_0="#"
50551 if test "x$USE_RTTI" = "x0" ; then
50552 COND_USE_RTTI_0=""
50553 fi
50554
50555 COND_USE_RTTI_1="#"
50556 if test "x$USE_RTTI" = "x1" ; then
50557 COND_USE_RTTI_1=""
50558 fi
50559
50560 COND_USE_SOSYMLINKS_1="#"
50561 if test "x$USE_SOSYMLINKS" = "x1" ; then
50562 COND_USE_SOSYMLINKS_1=""
50563 fi
50564
50565 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50566 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50567 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50568 fi
50569
50570 COND_USE_SOVERLINUX_1="#"
50571 if test "x$USE_SOVERLINUX" = "x1" ; then
50572 COND_USE_SOVERLINUX_1=""
50573 fi
50574
50575 COND_USE_SOVERSION_0="#"
50576 if test "x$USE_SOVERSION" = "x0" ; then
50577 COND_USE_SOVERSION_0=""
50578 fi
50579
50580 COND_USE_SOVERSOLARIS_1="#"
50581 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50582 COND_USE_SOVERSOLARIS_1=""
50583 fi
50584
50585 COND_USE_STC_1="#"
50586 if test "x$USE_STC" = "x1" ; then
50587 COND_USE_STC_1=""
50588 fi
50589
50590 COND_USE_THREADS_0="#"
50591 if test "x$USE_THREADS" = "x0" ; then
50592 COND_USE_THREADS_0=""
50593 fi
50594
50595 COND_USE_THREADS_1="#"
50596 if test "x$USE_THREADS" = "x1" ; then
50597 COND_USE_THREADS_1=""
50598 fi
50599
50600 COND_USE_XRC_1="#"
50601 if test "x$USE_XRC" = "x1" ; then
50602 COND_USE_XRC_1=""
50603 fi
50604
50605 COND_WINDOWS_IMPLIB_1="#"
50606 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50607 COND_WINDOWS_IMPLIB_1=""
50608 fi
50609
50610 COND_WITH_PLUGIN_SDL_1="#"
50611 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50612 COND_WITH_PLUGIN_SDL_1=""
50613 fi
50614
50615 COND_WXUNIV_0="#"
50616 if test "x$WXUNIV" = "x0" ; then
50617 COND_WXUNIV_0=""
50618 fi
50619
50620 COND_WXUNIV_1="#"
50621 if test "x$WXUNIV" = "x1" ; then
50622 COND_WXUNIV_1=""
50623 fi
50624
50625 COND_WXUSE_EXPAT_BUILTIN="#"
50626 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50627 COND_WXUSE_EXPAT_BUILTIN=""
50628 fi
50629
50630 COND_WXUSE_LIBJPEG_BUILTIN="#"
50631 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50632 COND_WXUSE_LIBJPEG_BUILTIN=""
50633 fi
50634
50635 COND_WXUSE_LIBPNG_BUILTIN="#"
50636 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50637 COND_WXUSE_LIBPNG_BUILTIN=""
50638 fi
50639
50640 COND_WXUSE_LIBTIFF_BUILTIN="#"
50641 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50642 COND_WXUSE_LIBTIFF_BUILTIN=""
50643 fi
50644
50645 COND_WXUSE_REGEX_BUILTIN="#"
50646 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50647 COND_WXUSE_REGEX_BUILTIN=""
50648 fi
50649
50650 COND_WXUSE_ZLIB_BUILTIN="#"
50651 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50652 COND_WXUSE_ZLIB_BUILTIN=""
50653 fi
50654
50655 COND_wxUSE_EXPAT_builtin="#"
50656 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50657 COND_wxUSE_EXPAT_builtin=""
50658 fi
50659
50660 COND_wxUSE_LIBJPEG_builtin="#"
50661 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50662 COND_wxUSE_LIBJPEG_builtin=""
50663 fi
50664
50665 COND_wxUSE_LIBPNG_builtin="#"
50666 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50667 COND_wxUSE_LIBPNG_builtin=""
50668 fi
50669
50670 COND_wxUSE_LIBTIFF_builtin="#"
50671 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50672 COND_wxUSE_LIBTIFF_builtin=""
50673 fi
50674
50675 COND_wxUSE_REGEX_builtin="#"
50676 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50677 COND_wxUSE_REGEX_builtin=""
50678 fi
50679
50680 COND_wxUSE_ZLIB_builtin="#"
50681 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50682 COND_wxUSE_ZLIB_builtin=""
50683 fi
50684
50685
50686
50687 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50688 { { 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
50689 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;}
50690 { (exit 1); exit 1; }; }
50691 fi
50692
50693 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50694 { { 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
50695 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;}
50696 { (exit 1); exit 1; }; }
50697 fi
50698
50699
50700 case ${INSTALL} in
50701 /* ) # Absolute
50702 ;;
50703 ?:* ) # Drive letter, considered as absolute.
50704 ;;
50705 *)
50706 INSTALL=`pwd`/${INSTALL} ;;
50707 esac
50708
50709 if test "$wxUSE_GUI" = "yes"; then
50710
50711 if test "$wxUSE_MSW" = 1 ; then
50712 if test "x$WINDRES" = "x"; then
50713 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50714 echo "$as_me: error: Required windres program not found" >&2;}
50715 { (exit 1); exit 1; }; }
50716 fi
50717
50718 RESCOMP="$WINDRES"
50719 fi
50720
50721 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50722 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50723 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50724
50725 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50726
50727 # Extract the first word of "DeRez", so it can be a program name with args.
50728 set dummy DeRez; ac_word=$2
50729 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50731 if test "${ac_cv_prog_DEREZ+set}" = set; then
50732 echo $ECHO_N "(cached) $ECHO_C" >&6
50733 else
50734 if test -n "$DEREZ"; then
50735 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50736 else
50737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50738 for as_dir in $PATH
50739 do
50740 IFS=$as_save_IFS
50741 test -z "$as_dir" && as_dir=.
50742 for ac_exec_ext in '' $ac_executable_extensions; do
50743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50744 ac_cv_prog_DEREZ="DeRez"
50745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50746 break 2
50747 fi
50748 done
50749 done
50750 IFS=$as_save_IFS
50751
50752 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50753 fi
50754 fi
50755 DEREZ=$ac_cv_prog_DEREZ
50756 if test -n "$DEREZ"; then
50757 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50758 echo "${ECHO_T}$DEREZ" >&6; }
50759 else
50760 { echo "$as_me:$LINENO: result: no" >&5
50761 echo "${ECHO_T}no" >&6; }
50762 fi
50763
50764
50765
50766 MACSETFILE="\$(SETFILE)"
50767
50768 if test "$wxUSE_OSX_CARBON" = 1; then
50769 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50770 RESCOMP="$REZ"
50771 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50772 else
50773 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50774 RESCOMP="cat /dev/null \| $REZ"
50775 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50776 fi
50777
50778 else
50779 MACSETFILE="@true"
50780
50781 if test "$wxUSE_PM" = 1; then
50782 RESCOMP="emxbind"
50783 WXCONFIG_RESFLAGS="-ep"
50784
50785 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50786 else
50787 POSTLINK_COMMAND="@true"
50788 fi
50789 fi
50790
50791 fi
50792
50793
50794 if test $GCC_PCH = 1
50795 then
50796 if test "$wx_cv_gcc_pch_bug" = yes; then
50797 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50798 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50799 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50800 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50801 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50802 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50803 fi
50804
50805 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50806 # the headers that benefit from precompilation are mostly C++ headers.
50807 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50808 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50809 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50810 fi
50811
50812
50813 if test "$wxUSE_MAC" = 1 ; then
50814 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50815 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50816 mv temp bk-deps
50817 chmod +x bk-deps
50818 fi
50819 fi
50820
50821 if test "$wxUSE_SHARED" = "yes"; then
50822 case "${host}" in
50823 *-pc-os2_emx | *-pc-os2-emx )
50824 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50825 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50826 cp -p ${srcdir}/src/os2/dllnames.sh .
50827 cp -p ${srcdir}/src/os2/dllar.sh .
50828 ;;
50829 esac
50830 fi
50831 if test "$wxUSE_OMF" = "yes"; then
50832 case "${host}" in
50833 *-pc-os2_emx | *-pc-os2-emx )
50834 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50835 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50836 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50837 ;;
50838 esac
50839 fi
50840
50841 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50842
50843
50844 case "${host}" in
50845 *-*-solaris2* )
50846 if test "$GCC" = yes; then
50847 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50848 LIBS=`echo $LIBS | sed 's/-mt//'`
50849 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50850 fi
50851 ;;
50852
50853 *-*-linux* )
50854 if test "x$SUNCXX" = xyes; then
50855 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50856 LIBS=`echo $LIBS | sed 's/-pthread//'`
50857 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50858 fi
50859 ;;
50860 esac
50861
50862 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50863 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50864 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50865 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50866
50867 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50868
50869
50870
50871
50872
50873
50874
50875
50876
50877
50878
50879
50880
50881
50882
50883
50884
50885
50886
50887
50888
50889
50890
50891
50892
50893
50894
50895
50896
50897
50898
50899
50900
50901
50902
50903
50904
50905
50906
50907
50908
50909
50910
50911
50912
50913
50914
50915
50916
50917
50918
50919
50920
50921
50922
50923
50924
50925
50926
50927
50928 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50929 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50930 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50931 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50932 echo $ECHO_N "(cached) $ECHO_C" >&6
50933 else
50934 cat >conftest.make <<\_ACEOF
50935 SHELL = /bin/sh
50936 all:
50937 @echo '@@@%%%=$(MAKE)=@@@%%%'
50938 _ACEOF
50939 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50940 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50941 *@@@%%%=?*=@@@%%%*)
50942 eval ac_cv_prog_make_${ac_make}_set=yes;;
50943 *)
50944 eval ac_cv_prog_make_${ac_make}_set=no;;
50945 esac
50946 rm -f conftest.make
50947 fi
50948 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50949 { echo "$as_me:$LINENO: result: yes" >&5
50950 echo "${ECHO_T}yes" >&6; }
50951 SET_MAKE=
50952 else
50953 { echo "$as_me:$LINENO: result: no" >&5
50954 echo "${ECHO_T}no" >&6; }
50955 SET_MAKE="MAKE=${MAKE-make}"
50956 fi
50957
50958
50959
50960 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50961
50962
50963 if test "$USE_WIN32" = 1; then
50964 ac_config_commands="$ac_config_commands
50965 rcdefs.h
50966 "
50967
50968 fi
50969
50970 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50971
50972
50973 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50974
50975
50976 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50977
50978
50979 if test "$wx_cv_version_script" = "yes"; then
50980 ac_config_files="$ac_config_files version-script"
50981
50982 fi
50983 ac_config_files="$ac_config_files Makefile"
50984
50985
50986 ac_config_commands="$ac_config_commands wx-config"
50987
50988
50989
50990 if test "$wxWITH_SUBDIRS" != "no"; then
50991 if test "$wxUSE_GUI" = "yes"; then
50992 SUBDIRS="samples demos utils"
50993 else
50994 SUBDIRS="samples utils"
50995 fi
50996
50997
50998
50999 # Check whether --with-cppunit-prefix was given.
51000 if test "${with_cppunit_prefix+set}" = set; then
51001 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51002 else
51003 cppunit_config_prefix=""
51004 fi
51005
51006
51007 # Check whether --with-cppunit-exec-prefix was given.
51008 if test "${with_cppunit_exec_prefix+set}" = set; then
51009 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51010 else
51011 cppunit_config_exec_prefix=""
51012 fi
51013
51014
51015 if test x$cppunit_config_exec_prefix != x ; then
51016 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51017 if test x${CPPUNIT_CONFIG+set} != xset ; then
51018 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51019 fi
51020 fi
51021 if test x$cppunit_config_prefix != x ; then
51022 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51023 if test x${CPPUNIT_CONFIG+set} != xset ; then
51024 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51025 fi
51026 fi
51027
51028 # Extract the first word of "cppunit-config", so it can be a program name with args.
51029 set dummy cppunit-config; ac_word=$2
51030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51032 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51033 echo $ECHO_N "(cached) $ECHO_C" >&6
51034 else
51035 case $CPPUNIT_CONFIG in
51036 [\\/]* | ?:[\\/]*)
51037 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51038 ;;
51039 *)
51040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51041 for as_dir in $PATH
51042 do
51043 IFS=$as_save_IFS
51044 test -z "$as_dir" && as_dir=.
51045 for ac_exec_ext in '' $ac_executable_extensions; do
51046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51047 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51049 break 2
51050 fi
51051 done
51052 done
51053 IFS=$as_save_IFS
51054
51055 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51056 ;;
51057 esac
51058 fi
51059 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51060 if test -n "$CPPUNIT_CONFIG"; then
51061 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51062 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51063 else
51064 { echo "$as_me:$LINENO: result: no" >&5
51065 echo "${ECHO_T}no" >&6; }
51066 fi
51067
51068
51069 cppunit_version_min=1.8.0
51070
51071 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51072 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51073 no_cppunit=""
51074 if test "$CPPUNIT_CONFIG" = "no" ; then
51075 { echo "$as_me:$LINENO: result: no" >&5
51076 echo "${ECHO_T}no" >&6; }
51077 no_cppunit=yes
51078 else
51079 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51080 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51081 cppunit_version=`$CPPUNIT_CONFIG --version`
51082
51083 cppunit_major_version=`echo $cppunit_version | \
51084 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51085 cppunit_minor_version=`echo $cppunit_version | \
51086 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51087 cppunit_micro_version=`echo $cppunit_version | \
51088 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51089
51090 cppunit_major_min=`echo $cppunit_version_min | \
51091 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51092 cppunit_minor_min=`echo $cppunit_version_min | \
51093 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51094 cppunit_micro_min=`echo $cppunit_version_min | \
51095 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51096
51097 cppunit_version_proper=`expr \
51098 $cppunit_major_version \> $cppunit_major_min \| \
51099 $cppunit_major_version \= $cppunit_major_min \& \
51100 $cppunit_minor_version \> $cppunit_minor_min \| \
51101 $cppunit_major_version \= $cppunit_major_min \& \
51102 $cppunit_minor_version \= $cppunit_minor_min \& \
51103 $cppunit_micro_version \>= $cppunit_micro_min `
51104
51105 if test "$cppunit_version_proper" = "1" ; then
51106 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51107 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51108 else
51109 { echo "$as_me:$LINENO: result: no" >&5
51110 echo "${ECHO_T}no" >&6; }
51111 no_cppunit=yes
51112 fi
51113 fi
51114
51115 if test "x$no_cppunit" = x ; then
51116 SUBDIRS="$SUBDIRS tests"
51117 else
51118 CPPUNIT_CFLAGS=""
51119 CPPUNIT_LIBS=""
51120 :
51121 fi
51122
51123
51124
51125
51126
51127 for subdir in $SUBDIRS; do
51128 if test -d ${srcdir}/${subdir} ; then
51129 if test "$wxUSE_GUI" = "yes"; then
51130 if test ${subdir} = "samples"; then
51131 makefiles="samples/Makefile.in $makefiles"
51132 for sample in $SAMPLES_SUBDIRS; do
51133 if test -d $srcdir/samples/$sample; then
51134 makefiles="samples/$sample/Makefile.in $makefiles"
51135 fi
51136 done
51137 else
51138 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51139 eval "disabled=\$$disabled_var"
51140 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51141 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51142 fi
51143 else
51144 if test ${subdir} = "samples"; then
51145 makefiles="samples/Makefile.in $makefiles"
51146 for sample in `echo $SAMPLES_SUBDIRS`; do
51147 if test -d $srcdir/samples/$sample; then
51148 makefiles="samples/$sample/Makefile.in $makefiles"
51149 fi
51150 done
51151 elif test ${subdir} = "utils"; then
51152 makefiles=""
51153 for util in ifacecheck ; do
51154 if test -d $srcdir/utils/$util ; then
51155 makefiles="utils/$util/src/Makefile.in \
51156 $makefiles"
51157 fi
51158 done
51159 else
51160 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51161 fi
51162 fi
51163
51164 for mkin in $makefiles ; do
51165 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51166 ac_config_files="$ac_config_files $mk"
51167
51168 done
51169 fi
51170 done
51171 fi
51172 cat >confcache <<\_ACEOF
51173 # This file is a shell script that caches the results of configure
51174 # tests run on this system so they can be shared between configure
51175 # scripts and configure runs, see configure's option --config-cache.
51176 # It is not useful on other systems. If it contains results you don't
51177 # want to keep, you may remove or edit it.
51178 #
51179 # config.status only pays attention to the cache file if you give it
51180 # the --recheck option to rerun configure.
51181 #
51182 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51183 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51184 # following values.
51185
51186 _ACEOF
51187
51188 # The following way of writing the cache mishandles newlines in values,
51189 # but we know of no workaround that is simple, portable, and efficient.
51190 # So, we kill variables containing newlines.
51191 # Ultrix sh set writes to stderr and can't be redirected directly,
51192 # and sets the high bit in the cache file unless we assign to the vars.
51193 (
51194 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51195 eval ac_val=\$$ac_var
51196 case $ac_val in #(
51197 *${as_nl}*)
51198 case $ac_var in #(
51199 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51200 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51201 esac
51202 case $ac_var in #(
51203 _ | IFS | as_nl) ;; #(
51204 *) $as_unset $ac_var ;;
51205 esac ;;
51206 esac
51207 done
51208
51209 (set) 2>&1 |
51210 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51211 *${as_nl}ac_space=\ *)
51212 # `set' does not quote correctly, so add quotes (double-quote
51213 # substitution turns \\\\ into \\, and sed turns \\ into \).
51214 sed -n \
51215 "s/'/'\\\\''/g;
51216 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51217 ;; #(
51218 *)
51219 # `set' quotes correctly as required by POSIX, so do not add quotes.
51220 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51221 ;;
51222 esac |
51223 sort
51224 ) |
51225 sed '
51226 /^ac_cv_env_/b end
51227 t clear
51228 :clear
51229 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51230 t end
51231 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51232 :end' >>confcache
51233 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51234 if test -w "$cache_file"; then
51235 test "x$cache_file" != "x/dev/null" &&
51236 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51237 echo "$as_me: updating cache $cache_file" >&6;}
51238 cat confcache >$cache_file
51239 else
51240 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51241 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51242 fi
51243 fi
51244 rm -f confcache
51245
51246 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51247 # Let make expand exec_prefix.
51248 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51249
51250 DEFS=-DHAVE_CONFIG_H
51251
51252 ac_libobjs=
51253 ac_ltlibobjs=
51254 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51255 # 1. Remove the extension, and $U if already installed.
51256 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51257 ac_i=`echo "$ac_i" | sed "$ac_script"`
51258 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51259 # will be set to the directory where LIBOBJS objects are built.
51260 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51261 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51262 done
51263 LIBOBJS=$ac_libobjs
51264
51265 LTLIBOBJS=$ac_ltlibobjs
51266
51267
51268
51269 : ${CONFIG_STATUS=./config.status}
51270 ac_clean_files_save=$ac_clean_files
51271 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51272 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51273 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51274 cat >$CONFIG_STATUS <<_ACEOF
51275 #! $SHELL
51276 # Generated by $as_me.
51277 # Run this file to recreate the current configuration.
51278 # Compiler output produced by configure, useful for debugging
51279 # configure, is in config.log if it exists.
51280
51281 debug=false
51282 ac_cs_recheck=false
51283 ac_cs_silent=false
51284 SHELL=\${CONFIG_SHELL-$SHELL}
51285 _ACEOF
51286
51287 cat >>$CONFIG_STATUS <<\_ACEOF
51288 ## --------------------- ##
51289 ## M4sh Initialization. ##
51290 ## --------------------- ##
51291
51292 # Be more Bourne compatible
51293 DUALCASE=1; export DUALCASE # for MKS sh
51294 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51295 emulate sh
51296 NULLCMD=:
51297 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51298 # is contrary to our usage. Disable this feature.
51299 alias -g '${1+"$@"}'='"$@"'
51300 setopt NO_GLOB_SUBST
51301 else
51302 case `(set -o) 2>/dev/null` in
51303 *posix*) set -o posix ;;
51304 esac
51305
51306 fi
51307
51308
51309
51310
51311 # PATH needs CR
51312 # Avoid depending upon Character Ranges.
51313 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51314 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51315 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51316 as_cr_digits='0123456789'
51317 as_cr_alnum=$as_cr_Letters$as_cr_digits
51318
51319 # The user is always right.
51320 if test "${PATH_SEPARATOR+set}" != set; then
51321 echo "#! /bin/sh" >conf$$.sh
51322 echo "exit 0" >>conf$$.sh
51323 chmod +x conf$$.sh
51324 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51325 PATH_SEPARATOR=';'
51326 else
51327 PATH_SEPARATOR=:
51328 fi
51329 rm -f conf$$.sh
51330 fi
51331
51332 # Support unset when possible.
51333 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51334 as_unset=unset
51335 else
51336 as_unset=false
51337 fi
51338
51339
51340 # IFS
51341 # We need space, tab and new line, in precisely that order. Quoting is
51342 # there to prevent editors from complaining about space-tab.
51343 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51344 # splitting by setting IFS to empty value.)
51345 as_nl='
51346 '
51347 IFS=" "" $as_nl"
51348
51349 # Find who we are. Look in the path if we contain no directory separator.
51350 case $0 in
51351 *[\\/]* ) as_myself=$0 ;;
51352 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51353 for as_dir in $PATH
51354 do
51355 IFS=$as_save_IFS
51356 test -z "$as_dir" && as_dir=.
51357 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51358 done
51359 IFS=$as_save_IFS
51360
51361 ;;
51362 esac
51363 # We did not find ourselves, most probably we were run as `sh COMMAND'
51364 # in which case we are not to be found in the path.
51365 if test "x$as_myself" = x; then
51366 as_myself=$0
51367 fi
51368 if test ! -f "$as_myself"; then
51369 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51370 { (exit 1); exit 1; }
51371 fi
51372
51373 # Work around bugs in pre-3.0 UWIN ksh.
51374 for as_var in ENV MAIL MAILPATH
51375 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51376 done
51377 PS1='$ '
51378 PS2='> '
51379 PS4='+ '
51380
51381 # NLS nuisances.
51382 for as_var in \
51383 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51384 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51385 LC_TELEPHONE LC_TIME
51386 do
51387 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51388 eval $as_var=C; export $as_var
51389 else
51390 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51391 fi
51392 done
51393
51394 # Required to use basename.
51395 if expr a : '\(a\)' >/dev/null 2>&1 &&
51396 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51397 as_expr=expr
51398 else
51399 as_expr=false
51400 fi
51401
51402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51403 as_basename=basename
51404 else
51405 as_basename=false
51406 fi
51407
51408
51409 # Name of the executable.
51410 as_me=`$as_basename -- "$0" ||
51411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51412 X"$0" : 'X\(//\)$' \| \
51413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51414 echo X/"$0" |
51415 sed '/^.*\/\([^/][^/]*\)\/*$/{
51416 s//\1/
51417 q
51418 }
51419 /^X\/\(\/\/\)$/{
51420 s//\1/
51421 q
51422 }
51423 /^X\/\(\/\).*/{
51424 s//\1/
51425 q
51426 }
51427 s/.*/./; q'`
51428
51429 # CDPATH.
51430 $as_unset CDPATH
51431
51432
51433
51434 as_lineno_1=$LINENO
51435 as_lineno_2=$LINENO
51436 test "x$as_lineno_1" != "x$as_lineno_2" &&
51437 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51438
51439 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51440 # uniformly replaced by the line number. The first 'sed' inserts a
51441 # line-number line after each line using $LINENO; the second 'sed'
51442 # does the real work. The second script uses 'N' to pair each
51443 # line-number line with the line containing $LINENO, and appends
51444 # trailing '-' during substitution so that $LINENO is not a special
51445 # case at line end.
51446 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51447 # scripts with optimization help from Paolo Bonzini. Blame Lee
51448 # E. McMahon (1931-1989) for sed's syntax. :-)
51449 sed -n '
51450 p
51451 /[$]LINENO/=
51452 ' <$as_myself |
51453 sed '
51454 s/[$]LINENO.*/&-/
51455 t lineno
51456 b
51457 :lineno
51458 N
51459 :loop
51460 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51461 t loop
51462 s/-\n.*//
51463 ' >$as_me.lineno &&
51464 chmod +x "$as_me.lineno" ||
51465 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51466 { (exit 1); exit 1; }; }
51467
51468 # Don't try to exec as it changes $[0], causing all sort of problems
51469 # (the dirname of $[0] is not the place where we might find the
51470 # original and so on. Autoconf is especially sensitive to this).
51471 . "./$as_me.lineno"
51472 # Exit status is that of the last command.
51473 exit
51474 }
51475
51476
51477 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51478 as_dirname=dirname
51479 else
51480 as_dirname=false
51481 fi
51482
51483 ECHO_C= ECHO_N= ECHO_T=
51484 case `echo -n x` in
51485 -n*)
51486 case `echo 'x\c'` in
51487 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51488 *) ECHO_C='\c';;
51489 esac;;
51490 *)
51491 ECHO_N='-n';;
51492 esac
51493
51494 if expr a : '\(a\)' >/dev/null 2>&1 &&
51495 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51496 as_expr=expr
51497 else
51498 as_expr=false
51499 fi
51500
51501 rm -f conf$$ conf$$.exe conf$$.file
51502 if test -d conf$$.dir; then
51503 rm -f conf$$.dir/conf$$.file
51504 else
51505 rm -f conf$$.dir
51506 mkdir conf$$.dir
51507 fi
51508 echo >conf$$.file
51509 if ln -s conf$$.file conf$$ 2>/dev/null; then
51510 as_ln_s='ln -s'
51511 # ... but there are two gotchas:
51512 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51513 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51514 # In both cases, we have to default to `cp -p'.
51515 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51516 as_ln_s='cp -p'
51517 elif ln conf$$.file conf$$ 2>/dev/null; then
51518 as_ln_s=ln
51519 else
51520 as_ln_s='cp -p'
51521 fi
51522 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51523 rmdir conf$$.dir 2>/dev/null
51524
51525 if mkdir -p . 2>/dev/null; then
51526 as_mkdir_p=:
51527 else
51528 test -d ./-p && rmdir ./-p
51529 as_mkdir_p=false
51530 fi
51531
51532 if test -x / >/dev/null 2>&1; then
51533 as_test_x='test -x'
51534 else
51535 if ls -dL / >/dev/null 2>&1; then
51536 as_ls_L_option=L
51537 else
51538 as_ls_L_option=
51539 fi
51540 as_test_x='
51541 eval sh -c '\''
51542 if test -d "$1"; then
51543 test -d "$1/.";
51544 else
51545 case $1 in
51546 -*)set "./$1";;
51547 esac;
51548 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51549 ???[sx]*):;;*)false;;esac;fi
51550 '\'' sh
51551 '
51552 fi
51553 as_executable_p=$as_test_x
51554
51555 # Sed expression to map a string onto a valid CPP name.
51556 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51557
51558 # Sed expression to map a string onto a valid variable name.
51559 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51560
51561
51562 exec 6>&1
51563
51564 # Save the log message, to keep $[0] and so on meaningful, and to
51565 # report actual input values of CONFIG_FILES etc. instead of their
51566 # values after options handling.
51567 ac_log="
51568 This file was extended by wxWidgets $as_me 2.9.0, which was
51569 generated by GNU Autoconf 2.61. Invocation command line was
51570
51571 CONFIG_FILES = $CONFIG_FILES
51572 CONFIG_HEADERS = $CONFIG_HEADERS
51573 CONFIG_LINKS = $CONFIG_LINKS
51574 CONFIG_COMMANDS = $CONFIG_COMMANDS
51575 $ $0 $@
51576
51577 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51578 "
51579
51580 _ACEOF
51581
51582 cat >>$CONFIG_STATUS <<_ACEOF
51583 # Files that config.status was made for.
51584 config_files="$ac_config_files"
51585 config_headers="$ac_config_headers"
51586 config_commands="$ac_config_commands"
51587
51588 _ACEOF
51589
51590 cat >>$CONFIG_STATUS <<\_ACEOF
51591 ac_cs_usage="\
51592 \`$as_me' instantiates files from templates according to the
51593 current configuration.
51594
51595 Usage: $0 [OPTIONS] [FILE]...
51596
51597 -h, --help print this help, then exit
51598 -V, --version print version number and configuration settings, then exit
51599 -q, --quiet do not print progress messages
51600 -d, --debug don't remove temporary files
51601 --recheck update $as_me by reconfiguring in the same conditions
51602 --file=FILE[:TEMPLATE]
51603 instantiate the configuration file FILE
51604 --header=FILE[:TEMPLATE]
51605 instantiate the configuration header FILE
51606
51607 Configuration files:
51608 $config_files
51609
51610 Configuration headers:
51611 $config_headers
51612
51613 Configuration commands:
51614 $config_commands
51615
51616 Report bugs to <bug-autoconf@gnu.org>."
51617
51618 _ACEOF
51619 cat >>$CONFIG_STATUS <<_ACEOF
51620 ac_cs_version="\\
51621 wxWidgets config.status 2.9.0
51622 configured by $0, generated by GNU Autoconf 2.61,
51623 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51624
51625 Copyright (C) 2006 Free Software Foundation, Inc.
51626 This config.status script is free software; the Free Software Foundation
51627 gives unlimited permission to copy, distribute and modify it."
51628
51629 ac_pwd='$ac_pwd'
51630 srcdir='$srcdir'
51631 INSTALL='$INSTALL'
51632 _ACEOF
51633
51634 cat >>$CONFIG_STATUS <<\_ACEOF
51635 # If no file are specified by the user, then we need to provide default
51636 # value. By we need to know if files were specified by the user.
51637 ac_need_defaults=:
51638 while test $# != 0
51639 do
51640 case $1 in
51641 --*=*)
51642 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51643 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51644 ac_shift=:
51645 ;;
51646 *)
51647 ac_option=$1
51648 ac_optarg=$2
51649 ac_shift=shift
51650 ;;
51651 esac
51652
51653 case $ac_option in
51654 # Handling of the options.
51655 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51656 ac_cs_recheck=: ;;
51657 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51658 echo "$ac_cs_version"; exit ;;
51659 --debug | --debu | --deb | --de | --d | -d )
51660 debug=: ;;
51661 --file | --fil | --fi | --f )
51662 $ac_shift
51663 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51664 ac_need_defaults=false;;
51665 --header | --heade | --head | --hea )
51666 $ac_shift
51667 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51668 ac_need_defaults=false;;
51669 --he | --h)
51670 # Conflict between --help and --header
51671 { echo "$as_me: error: ambiguous option: $1
51672 Try \`$0 --help' for more information." >&2
51673 { (exit 1); exit 1; }; };;
51674 --help | --hel | -h )
51675 echo "$ac_cs_usage"; exit ;;
51676 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51677 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51678 ac_cs_silent=: ;;
51679
51680 # This is an error.
51681 -*) { echo "$as_me: error: unrecognized option: $1
51682 Try \`$0 --help' for more information." >&2
51683 { (exit 1); exit 1; }; } ;;
51684
51685 *) ac_config_targets="$ac_config_targets $1"
51686 ac_need_defaults=false ;;
51687
51688 esac
51689 shift
51690 done
51691
51692 ac_configure_extra_args=
51693
51694 if $ac_cs_silent; then
51695 exec 6>/dev/null
51696 ac_configure_extra_args="$ac_configure_extra_args --silent"
51697 fi
51698
51699 _ACEOF
51700 cat >>$CONFIG_STATUS <<_ACEOF
51701 if \$ac_cs_recheck; then
51702 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51703 CONFIG_SHELL=$SHELL
51704 export CONFIG_SHELL
51705 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51706 fi
51707
51708 _ACEOF
51709 cat >>$CONFIG_STATUS <<\_ACEOF
51710 exec 5>>config.log
51711 {
51712 echo
51713 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51714 ## Running $as_me. ##
51715 _ASBOX
51716 echo "$ac_log"
51717 } >&5
51718
51719 _ACEOF
51720 cat >>$CONFIG_STATUS <<_ACEOF
51721 #
51722 # INIT-COMMANDS
51723 #
51724
51725 CPP="$CPP"
51726 infile="$srcdir/include/wx/msw/genrcdefs.h"
51727 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51728
51729
51730 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51731 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51732 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51733 LN_S="${LN_S}"
51734
51735
51736 _ACEOF
51737
51738 cat >>$CONFIG_STATUS <<\_ACEOF
51739
51740 # Handling of arguments.
51741 for ac_config_target in $ac_config_targets
51742 do
51743 case $ac_config_target in
51744 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51745 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51746 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51747 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51748 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51749 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51750 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51751 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51752 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51753
51754 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51755 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51756 { (exit 1); exit 1; }; };;
51757 esac
51758 done
51759
51760
51761 # If the user did not use the arguments to specify the items to instantiate,
51762 # then the envvar interface is used. Set only those that are not.
51763 # We use the long form for the default assignment because of an extremely
51764 # bizarre bug on SunOS 4.1.3.
51765 if $ac_need_defaults; then
51766 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51767 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51768 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51769 fi
51770
51771 # Have a temporary directory for convenience. Make it in the build tree
51772 # simply because there is no reason against having it here, and in addition,
51773 # creating and moving files from /tmp can sometimes cause problems.
51774 # Hook for its removal unless debugging.
51775 # Note that there is a small window in which the directory will not be cleaned:
51776 # after its creation but before its name has been assigned to `$tmp'.
51777 $debug ||
51778 {
51779 tmp=
51780 trap 'exit_status=$?
51781 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51782 ' 0
51783 trap '{ (exit 1); exit 1; }' 1 2 13 15
51784 }
51785 # Create a (secure) tmp directory for tmp files.
51786
51787 {
51788 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51789 test -n "$tmp" && test -d "$tmp"
51790 } ||
51791 {
51792 tmp=./conf$$-$RANDOM
51793 (umask 077 && mkdir "$tmp")
51794 } ||
51795 {
51796 echo "$me: cannot create a temporary directory in ." >&2
51797 { (exit 1); exit 1; }
51798 }
51799
51800 #
51801 # Set up the sed scripts for CONFIG_FILES section.
51802 #
51803
51804 # No need to generate the scripts if there are no CONFIG_FILES.
51805 # This happens for instance when ./config.status config.h
51806 if test -n "$CONFIG_FILES"; then
51807
51808 _ACEOF
51809
51810
51811
51812 ac_delim='%!_!# '
51813 for ac_last_try in false false false false false :; do
51814 cat >conf$$subs.sed <<_ACEOF
51815 SHELL!$SHELL$ac_delim
51816 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51817 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51818 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51819 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51820 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51821 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51822 exec_prefix!$exec_prefix$ac_delim
51823 prefix!$prefix$ac_delim
51824 program_transform_name!$program_transform_name$ac_delim
51825 bindir!$bindir$ac_delim
51826 sbindir!$sbindir$ac_delim
51827 libexecdir!$libexecdir$ac_delim
51828 datarootdir!$datarootdir$ac_delim
51829 datadir!$datadir$ac_delim
51830 sysconfdir!$sysconfdir$ac_delim
51831 sharedstatedir!$sharedstatedir$ac_delim
51832 localstatedir!$localstatedir$ac_delim
51833 includedir!$includedir$ac_delim
51834 oldincludedir!$oldincludedir$ac_delim
51835 docdir!$docdir$ac_delim
51836 infodir!$infodir$ac_delim
51837 htmldir!$htmldir$ac_delim
51838 dvidir!$dvidir$ac_delim
51839 pdfdir!$pdfdir$ac_delim
51840 psdir!$psdir$ac_delim
51841 libdir!$libdir$ac_delim
51842 localedir!$localedir$ac_delim
51843 mandir!$mandir$ac_delim
51844 DEFS!$DEFS$ac_delim
51845 ECHO_C!$ECHO_C$ac_delim
51846 ECHO_N!$ECHO_N$ac_delim
51847 ECHO_T!$ECHO_T$ac_delim
51848 LIBS!$LIBS$ac_delim
51849 build_alias!$build_alias$ac_delim
51850 host_alias!$host_alias$ac_delim
51851 target_alias!$target_alias$ac_delim
51852 build!$build$ac_delim
51853 build_cpu!$build_cpu$ac_delim
51854 build_vendor!$build_vendor$ac_delim
51855 build_os!$build_os$ac_delim
51856 host!$host$ac_delim
51857 host_cpu!$host_cpu$ac_delim
51858 host_vendor!$host_vendor$ac_delim
51859 host_os!$host_os$ac_delim
51860 target!$target$ac_delim
51861 target_cpu!$target_cpu$ac_delim
51862 target_vendor!$target_vendor$ac_delim
51863 target_os!$target_os$ac_delim
51864 wx_top_builddir!$wx_top_builddir$ac_delim
51865 CC!$CC$ac_delim
51866 CFLAGS!$CFLAGS$ac_delim
51867 LDFLAGS!$LDFLAGS$ac_delim
51868 CPPFLAGS!$CPPFLAGS$ac_delim
51869 ac_ct_CC!$ac_ct_CC$ac_delim
51870 EXEEXT!$EXEEXT$ac_delim
51871 OBJEXT!$OBJEXT$ac_delim
51872 CPP!$CPP$ac_delim
51873 GREP!$GREP$ac_delim
51874 EGREP!$EGREP$ac_delim
51875 CXX!$CXX$ac_delim
51876 CXXFLAGS!$CXXFLAGS$ac_delim
51877 ac_ct_CXX!$ac_ct_CXX$ac_delim
51878 AR!$AR$ac_delim
51879 subdirs!$subdirs$ac_delim
51880 PKG_CONFIG!$PKG_CONFIG$ac_delim
51881 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51882 GTK_LIBS!$GTK_LIBS$ac_delim
51883 GTK_CONFIG!$GTK_CONFIG$ac_delim
51884 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51885 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51886 XMKMF!$XMKMF$ac_delim
51887 X_CFLAGS!$X_CFLAGS$ac_delim
51888 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51889 X_LIBS!$X_LIBS$ac_delim
51890 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51891 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51892 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51893 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51894 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51895 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51896 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51897 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51898 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51899 LIBICONV!$LIBICONV$ac_delim
51900 GXX_VERSION!$GXX_VERSION$ac_delim
51901 SDL_CONFIG!$SDL_CONFIG$ac_delim
51902 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51903 SDL_LIBS!$SDL_LIBS$ac_delim
51904 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51905 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51906 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51907 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51908 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51909 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51910 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51911 HILDON_LIBS!$HILDON_LIBS$ac_delim
51912 _ACEOF
51913
51914 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51915 break
51916 elif $ac_last_try; then
51917 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51918 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51919 { (exit 1); exit 1; }; }
51920 else
51921 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51922 fi
51923 done
51924
51925 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51926 if test -n "$ac_eof"; then
51927 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51928 ac_eof=`expr $ac_eof + 1`
51929 fi
51930
51931 cat >>$CONFIG_STATUS <<_ACEOF
51932 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51933 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51934 _ACEOF
51935 sed '
51936 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51937 s/^/s,@/; s/!/@,|#_!!_#|/
51938 :n
51939 t n
51940 s/'"$ac_delim"'$/,g/; t
51941 s/$/\\/; p
51942 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51943 ' >>$CONFIG_STATUS <conf$$subs.sed
51944 rm -f conf$$subs.sed
51945 cat >>$CONFIG_STATUS <<_ACEOF
51946 CEOF$ac_eof
51947 _ACEOF
51948
51949
51950 ac_delim='%!_!# '
51951 for ac_last_try in false false false false false :; do
51952 cat >conf$$subs.sed <<_ACEOF
51953 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51954 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51955 GST_CFLAGS!$GST_CFLAGS$ac_delim
51956 GST_LIBS!$GST_LIBS$ac_delim
51957 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51958 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51959 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51960 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51961 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51962 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51963 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51964 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51965 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51966 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51967 VENDOR!$VENDOR$ac_delim
51968 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51969 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51970 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51971 WXUNIV!$WXUNIV$ac_delim
51972 MONOLITHIC!$MONOLITHIC$ac_delim
51973 USE_PLUGINS!$USE_PLUGINS$ac_delim
51974 CXXWARNINGS!$CXXWARNINGS$ac_delim
51975 EXTRALIBS!$EXTRALIBS$ac_delim
51976 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51977 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51978 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51979 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51980 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51981 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51982 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51983 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51984 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51985 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51986 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51987 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51988 UNICODE!$UNICODE$ac_delim
51989 BUILD!$BUILD$ac_delim
51990 DEBUG_INFO!$DEBUG_INFO$ac_delim
51991 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51992 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51993 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51994 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51995 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51996 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51997 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51998 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51999 RANLIB!$RANLIB$ac_delim
52000 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52001 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52002 INSTALL_DATA!$INSTALL_DATA$ac_delim
52003 LN_S!$LN_S$ac_delim
52004 SET_MAKE!$SET_MAKE$ac_delim
52005 MAKE_SET!$MAKE_SET$ac_delim
52006 AROPTIONS!$AROPTIONS$ac_delim
52007 STRIP!$STRIP$ac_delim
52008 NM!$NM$ac_delim
52009 INSTALL_DIR!$INSTALL_DIR$ac_delim
52010 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52011 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52012 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52013 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52014 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52015 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52016 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52017 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52018 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52019 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52020 SO_SUFFIX!$SO_SUFFIX$ac_delim
52021 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52022 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52023 LIBPREFIX!$LIBPREFIX$ac_delim
52024 LIBEXT!$LIBEXT$ac_delim
52025 DLLPREFIX!$DLLPREFIX$ac_delim
52026 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52027 dlldir!$dlldir$ac_delim
52028 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52029 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52030 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52031 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52032 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52033 PIC_FLAG!$PIC_FLAG$ac_delim
52034 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52035 USE_SOVERSION!$USE_SOVERSION$ac_delim
52036 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52037 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52038 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52039 USE_MACVERSION!$USE_MACVERSION$ac_delim
52040 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
52041 SONAME_FLAG!$SONAME_FLAG$ac_delim
52042 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52043 BK_DEPS!$BK_DEPS$ac_delim
52044 WINDRES!$WINDRES$ac_delim
52045 REZ!$REZ$ac_delim
52046 SETFILE!$SETFILE$ac_delim
52047 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52048 GCC_PCH!$GCC_PCH$ac_delim
52049 ICC_PCH!$ICC_PCH$ac_delim
52050 _ACEOF
52051
52052 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52053 break
52054 elif $ac_last_try; then
52055 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52056 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52057 { (exit 1); exit 1; }; }
52058 else
52059 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52060 fi
52061 done
52062
52063 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52064 if test -n "$ac_eof"; then
52065 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52066 ac_eof=`expr $ac_eof + 1`
52067 fi
52068
52069 cat >>$CONFIG_STATUS <<_ACEOF
52070 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52071 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52072 _ACEOF
52073 sed '
52074 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52075 s/^/s,@/; s/!/@,|#_!!_#|/
52076 :n
52077 t n
52078 s/'"$ac_delim"'$/,g/; t
52079 s/$/\\/; p
52080 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52081 ' >>$CONFIG_STATUS <conf$$subs.sed
52082 rm -f conf$$subs.sed
52083 cat >>$CONFIG_STATUS <<_ACEOF
52084 CEOF$ac_eof
52085 _ACEOF
52086
52087
52088 ac_delim='%!_!# '
52089 for ac_last_try in false false false false false :; do
52090 cat >conf$$subs.sed <<_ACEOF
52091 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52092 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52093 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52094 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52095 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52096 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52097 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52098 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52099 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52100 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52101 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52102 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52103 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52104 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52105 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52106 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52107 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52108 COND_BUILD_release!$COND_BUILD_release$ac_delim
52109 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52110 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52111 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52112 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52113 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52114 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52115 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52116 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52117 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52118 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52119 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52120 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52121 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52122 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52123 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52124 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52125 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52126 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52127 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52128 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52129 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52130 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52131 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52132 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52133 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52134 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52135 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52136 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52137 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52138 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52139 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52140 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52141 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52142 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52143 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52144 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52145 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52146 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52147 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52148 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52149 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52150 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52151 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52152 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52153 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52154 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52155 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52156 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52157 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52158 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52159 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52160 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52161 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52162 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52163 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52164 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52165 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52166 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52167 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52168 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52169 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52170 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52171 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52172 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52173 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52174 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52175 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52176 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52177 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52178 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52179 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52180 COND_SHARED_0!$COND_SHARED_0$ac_delim
52181 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52182 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52183 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52184 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52185 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52186 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52187 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52188 _ACEOF
52189
52190 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52191 break
52192 elif $ac_last_try; then
52193 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52194 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52195 { (exit 1); exit 1; }; }
52196 else
52197 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52198 fi
52199 done
52200
52201 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52202 if test -n "$ac_eof"; then
52203 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52204 ac_eof=`expr $ac_eof + 1`
52205 fi
52206
52207 cat >>$CONFIG_STATUS <<_ACEOF
52208 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52209 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52210 _ACEOF
52211 sed '
52212 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52213 s/^/s,@/; s/!/@,|#_!!_#|/
52214 :n
52215 t n
52216 s/'"$ac_delim"'$/,g/; t
52217 s/$/\\/; p
52218 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52219 ' >>$CONFIG_STATUS <conf$$subs.sed
52220 rm -f conf$$subs.sed
52221 cat >>$CONFIG_STATUS <<_ACEOF
52222 CEOF$ac_eof
52223 _ACEOF
52224
52225
52226 ac_delim='%!_!# '
52227 for ac_last_try in false false false false false :; do
52228 cat >conf$$subs.sed <<_ACEOF
52229 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52230 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52231 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52232 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52233 COND_SHARED_1!$COND_SHARED_1$ac_delim
52234 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52235 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52236 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52237 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52238 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52239 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52240 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52241 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52242 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52243 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52244 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52245 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52246 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52247 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52248 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52249 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52250 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52251 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52252 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52253 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52254 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52255 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52256 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52257 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52258 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52259 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52260 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52261 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52262 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52263 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52264 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52265 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52266 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52267 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52268 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52269 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52270 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52271 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52272 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52273 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52274 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52275 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52276 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52277 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52278 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52279 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52280 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52281 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52282 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52283 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52284 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52285 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52286 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52287 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52288 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52289 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52290 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52291 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52292 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52293 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52294 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52295 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52296 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52297 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52298 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52299 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52300 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52301 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52302 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52303 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52304 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52305 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52306 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52307 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52308 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52309 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52310 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52311 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52312 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52313 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52314 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52315 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52316 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52317 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52318 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52319 DEREZ!$DEREZ$ac_delim
52320 SHARED!$SHARED$ac_delim
52321 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52322 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52323 USE_GUI!$USE_GUI$ac_delim
52324 AFMINSTALL!$AFMINSTALL$ac_delim
52325 WIN32INSTALL!$WIN32INSTALL$ac_delim
52326 _ACEOF
52327
52328 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52329 break
52330 elif $ac_last_try; then
52331 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52332 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52333 { (exit 1); exit 1; }; }
52334 else
52335 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52336 fi
52337 done
52338
52339 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52340 if test -n "$ac_eof"; then
52341 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52342 ac_eof=`expr $ac_eof + 1`
52343 fi
52344
52345 cat >>$CONFIG_STATUS <<_ACEOF
52346 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52347 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52348 _ACEOF
52349 sed '
52350 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52351 s/^/s,@/; s/!/@,|#_!!_#|/
52352 :n
52353 t n
52354 s/'"$ac_delim"'$/,g/; t
52355 s/$/\\/; p
52356 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52357 ' >>$CONFIG_STATUS <conf$$subs.sed
52358 rm -f conf$$subs.sed
52359 cat >>$CONFIG_STATUS <<_ACEOF
52360 CEOF$ac_eof
52361 _ACEOF
52362
52363
52364 ac_delim='%!_!# '
52365 for ac_last_try in false false false false false :; do
52366 cat >conf$$subs.sed <<_ACEOF
52367 TOOLKIT!$TOOLKIT$ac_delim
52368 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52369 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52370 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52371 cross_compiling!$cross_compiling$ac_delim
52372 WIDGET_SET!$WIDGET_SET$ac_delim
52373 WX_RELEASE!$WX_RELEASE$ac_delim
52374 WX_VERSION!$WX_VERSION$ac_delim
52375 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52376 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52377 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52378 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52379 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52380 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52381 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52382 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52383 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52384 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52385 GUIDIST!$GUIDIST$ac_delim
52386 DISTDIR!$DISTDIR$ac_delim
52387 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52388 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52389 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52390 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52391 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52392 RESCOMP!$RESCOMP$ac_delim
52393 RESFLAGS!$RESFLAGS$ac_delim
52394 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52395 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52396 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52397 LIBWXMACRES!$LIBWXMACRES$ac_delim
52398 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52399 MACSETFILE!$MACSETFILE$ac_delim
52400 GCC!$GCC$ac_delim
52401 DLLTOOL!$DLLTOOL$ac_delim
52402 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52403 LIBOBJS!$LIBOBJS$ac_delim
52404 LTLIBOBJS!$LTLIBOBJS$ac_delim
52405 _ACEOF
52406
52407 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 38; then
52408 break
52409 elif $ac_last_try; then
52410 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52411 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52412 { (exit 1); exit 1; }; }
52413 else
52414 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52415 fi
52416 done
52417
52418 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52419 if test -n "$ac_eof"; then
52420 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52421 ac_eof=`expr $ac_eof + 1`
52422 fi
52423
52424 cat >>$CONFIG_STATUS <<_ACEOF
52425 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52426 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52427 _ACEOF
52428 sed '
52429 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52430 s/^/s,@/; s/!/@,|#_!!_#|/
52431 :n
52432 t n
52433 s/'"$ac_delim"'$/,g/; t
52434 s/$/\\/; p
52435 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52436 ' >>$CONFIG_STATUS <conf$$subs.sed
52437 rm -f conf$$subs.sed
52438 cat >>$CONFIG_STATUS <<_ACEOF
52439 :end
52440 s/|#_!!_#|//g
52441 CEOF$ac_eof
52442 _ACEOF
52443
52444
52445 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52446 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52447 # trailing colons and then remove the whole line if VPATH becomes empty
52448 # (actually we leave an empty line to preserve line numbers).
52449 if test "x$srcdir" = x.; then
52450 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52451 s/:*\$(srcdir):*/:/
52452 s/:*\${srcdir}:*/:/
52453 s/:*@srcdir@:*/:/
52454 s/^\([^=]*=[ ]*\):*/\1/
52455 s/:*$//
52456 s/^[^=]*=[ ]*$//
52457 }'
52458 fi
52459
52460 cat >>$CONFIG_STATUS <<\_ACEOF
52461 fi # test -n "$CONFIG_FILES"
52462
52463
52464 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52465 do
52466 case $ac_tag in
52467 :[FHLC]) ac_mode=$ac_tag; continue;;
52468 esac
52469 case $ac_mode$ac_tag in
52470 :[FHL]*:*);;
52471 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52472 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52473 { (exit 1); exit 1; }; };;
52474 :[FH]-) ac_tag=-:-;;
52475 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52476 esac
52477 ac_save_IFS=$IFS
52478 IFS=:
52479 set x $ac_tag
52480 IFS=$ac_save_IFS
52481 shift
52482 ac_file=$1
52483 shift
52484
52485 case $ac_mode in
52486 :L) ac_source=$1;;
52487 :[FH])
52488 ac_file_inputs=
52489 for ac_f
52490 do
52491 case $ac_f in
52492 -) ac_f="$tmp/stdin";;
52493 *) # Look for the file first in the build tree, then in the source tree
52494 # (if the path is not absolute). The absolute path cannot be DOS-style,
52495 # because $ac_f cannot contain `:'.
52496 test -f "$ac_f" ||
52497 case $ac_f in
52498 [\\/$]*) false;;
52499 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52500 esac ||
52501 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52502 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52503 { (exit 1); exit 1; }; };;
52504 esac
52505 ac_file_inputs="$ac_file_inputs $ac_f"
52506 done
52507
52508 # Let's still pretend it is `configure' which instantiates (i.e., don't
52509 # use $as_me), people would be surprised to read:
52510 # /* config.h. Generated by config.status. */
52511 configure_input="Generated from "`IFS=:
52512 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52513 if test x"$ac_file" != x-; then
52514 configure_input="$ac_file. $configure_input"
52515 { echo "$as_me:$LINENO: creating $ac_file" >&5
52516 echo "$as_me: creating $ac_file" >&6;}
52517 fi
52518
52519 case $ac_tag in
52520 *:-:* | *:-) cat >"$tmp/stdin";;
52521 esac
52522 ;;
52523 esac
52524
52525 ac_dir=`$as_dirname -- "$ac_file" ||
52526 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52527 X"$ac_file" : 'X\(//\)[^/]' \| \
52528 X"$ac_file" : 'X\(//\)$' \| \
52529 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52530 echo X"$ac_file" |
52531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52532 s//\1/
52533 q
52534 }
52535 /^X\(\/\/\)[^/].*/{
52536 s//\1/
52537 q
52538 }
52539 /^X\(\/\/\)$/{
52540 s//\1/
52541 q
52542 }
52543 /^X\(\/\).*/{
52544 s//\1/
52545 q
52546 }
52547 s/.*/./; q'`
52548 { as_dir="$ac_dir"
52549 case $as_dir in #(
52550 -*) as_dir=./$as_dir;;
52551 esac
52552 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52553 as_dirs=
52554 while :; do
52555 case $as_dir in #(
52556 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52557 *) as_qdir=$as_dir;;
52558 esac
52559 as_dirs="'$as_qdir' $as_dirs"
52560 as_dir=`$as_dirname -- "$as_dir" ||
52561 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52562 X"$as_dir" : 'X\(//\)[^/]' \| \
52563 X"$as_dir" : 'X\(//\)$' \| \
52564 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52565 echo X"$as_dir" |
52566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52567 s//\1/
52568 q
52569 }
52570 /^X\(\/\/\)[^/].*/{
52571 s//\1/
52572 q
52573 }
52574 /^X\(\/\/\)$/{
52575 s//\1/
52576 q
52577 }
52578 /^X\(\/\).*/{
52579 s//\1/
52580 q
52581 }
52582 s/.*/./; q'`
52583 test -d "$as_dir" && break
52584 done
52585 test -z "$as_dirs" || eval "mkdir $as_dirs"
52586 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52587 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52588 { (exit 1); exit 1; }; }; }
52589 ac_builddir=.
52590
52591 case "$ac_dir" in
52592 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52593 *)
52594 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52595 # A ".." for each directory in $ac_dir_suffix.
52596 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52597 case $ac_top_builddir_sub in
52598 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52599 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52600 esac ;;
52601 esac
52602 ac_abs_top_builddir=$ac_pwd
52603 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52604 # for backward compatibility:
52605 ac_top_builddir=$ac_top_build_prefix
52606
52607 case $srcdir in
52608 .) # We are building in place.
52609 ac_srcdir=.
52610 ac_top_srcdir=$ac_top_builddir_sub
52611 ac_abs_top_srcdir=$ac_pwd ;;
52612 [\\/]* | ?:[\\/]* ) # Absolute name.
52613 ac_srcdir=$srcdir$ac_dir_suffix;
52614 ac_top_srcdir=$srcdir
52615 ac_abs_top_srcdir=$srcdir ;;
52616 *) # Relative name.
52617 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52618 ac_top_srcdir=$ac_top_build_prefix$srcdir
52619 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52620 esac
52621 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52622
52623
52624 case $ac_mode in
52625 :F)
52626 #
52627 # CONFIG_FILE
52628 #
52629
52630 case $INSTALL in
52631 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52632 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52633 esac
52634 _ACEOF
52635
52636 cat >>$CONFIG_STATUS <<\_ACEOF
52637 # If the template does not know about datarootdir, expand it.
52638 # FIXME: This hack should be removed a few years after 2.60.
52639 ac_datarootdir_hack=; ac_datarootdir_seen=
52640
52641 case `sed -n '/datarootdir/ {
52642 p
52643 q
52644 }
52645 /@datadir@/p
52646 /@docdir@/p
52647 /@infodir@/p
52648 /@localedir@/p
52649 /@mandir@/p
52650 ' $ac_file_inputs` in
52651 *datarootdir*) ac_datarootdir_seen=yes;;
52652 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52653 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52654 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52655 _ACEOF
52656 cat >>$CONFIG_STATUS <<_ACEOF
52657 ac_datarootdir_hack='
52658 s&@datadir@&$datadir&g
52659 s&@docdir@&$docdir&g
52660 s&@infodir@&$infodir&g
52661 s&@localedir@&$localedir&g
52662 s&@mandir@&$mandir&g
52663 s&\\\${datarootdir}&$datarootdir&g' ;;
52664 esac
52665 _ACEOF
52666
52667 # Neutralize VPATH when `$srcdir' = `.'.
52668 # Shell code in configure.ac might set extrasub.
52669 # FIXME: do we really want to maintain this feature?
52670 cat >>$CONFIG_STATUS <<_ACEOF
52671 sed "$ac_vpsub
52672 $extrasub
52673 _ACEOF
52674 cat >>$CONFIG_STATUS <<\_ACEOF
52675 :t
52676 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52677 s&@configure_input@&$configure_input&;t t
52678 s&@top_builddir@&$ac_top_builddir_sub&;t t
52679 s&@srcdir@&$ac_srcdir&;t t
52680 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52681 s&@top_srcdir@&$ac_top_srcdir&;t t
52682 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52683 s&@builddir@&$ac_builddir&;t t
52684 s&@abs_builddir@&$ac_abs_builddir&;t t
52685 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52686 s&@INSTALL@&$ac_INSTALL&;t t
52687 $ac_datarootdir_hack
52688 " $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
52689
52690 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52691 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52692 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52693 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52694 which seems to be undefined. Please make sure it is defined." >&5
52695 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52696 which seems to be undefined. Please make sure it is defined." >&2;}
52697
52698 rm -f "$tmp/stdin"
52699 case $ac_file in
52700 -) cat "$tmp/out"; rm -f "$tmp/out";;
52701 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52702 esac
52703 ;;
52704 :H)
52705 #
52706 # CONFIG_HEADER
52707 #
52708 _ACEOF
52709
52710 # Transform confdefs.h into a sed script `conftest.defines', that
52711 # substitutes the proper values into config.h.in to produce config.h.
52712 rm -f conftest.defines conftest.tail
52713 # First, append a space to every undef/define line, to ease matching.
52714 echo 's/$/ /' >conftest.defines
52715 # Then, protect against being on the right side of a sed subst, or in
52716 # an unquoted here document, in config.status. If some macros were
52717 # called several times there might be several #defines for the same
52718 # symbol, which is useless. But do not sort them, since the last
52719 # AC_DEFINE must be honored.
52720 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52721 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52722 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52723 # PARAMS is the parameter list in the macro definition--in most cases, it's
52724 # just an empty string.
52725 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52726 ac_dB='\\)[ (].*,\\1define\\2'
52727 ac_dC=' '
52728 ac_dD=' ,'
52729
52730 uniq confdefs.h |
52731 sed -n '
52732 t rset
52733 :rset
52734 s/^[ ]*#[ ]*define[ ][ ]*//
52735 t ok
52736 d
52737 :ok
52738 s/[\\&,]/\\&/g
52739 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52740 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52741 ' >>conftest.defines
52742
52743 # Remove the space that was appended to ease matching.
52744 # Then replace #undef with comments. This is necessary, for
52745 # example, in the case of _POSIX_SOURCE, which is predefined and required
52746 # on some systems where configure will not decide to define it.
52747 # (The regexp can be short, since the line contains either #define or #undef.)
52748 echo 's/ $//
52749 s,^[ #]*u.*,/* & */,' >>conftest.defines
52750
52751 # Break up conftest.defines:
52752 ac_max_sed_lines=50
52753
52754 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52755 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52756 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52757 # et cetera.
52758 ac_in='$ac_file_inputs'
52759 ac_out='"$tmp/out1"'
52760 ac_nxt='"$tmp/out2"'
52761
52762 while :
52763 do
52764 # Write a here document:
52765 cat >>$CONFIG_STATUS <<_ACEOF
52766 # First, check the format of the line:
52767 cat >"\$tmp/defines.sed" <<\\CEOF
52768 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52769 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52770 b
52771 :def
52772 _ACEOF
52773 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52774 echo 'CEOF
52775 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52776 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52777 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52778 grep . conftest.tail >/dev/null || break
52779 rm -f conftest.defines
52780 mv conftest.tail conftest.defines
52781 done
52782 rm -f conftest.defines conftest.tail
52783
52784 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52785 cat >>$CONFIG_STATUS <<\_ACEOF
52786 if test x"$ac_file" != x-; then
52787 echo "/* $configure_input */" >"$tmp/config.h"
52788 cat "$ac_result" >>"$tmp/config.h"
52789 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52790 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52791 echo "$as_me: $ac_file is unchanged" >&6;}
52792 else
52793 rm -f $ac_file
52794 mv "$tmp/config.h" $ac_file
52795 fi
52796 else
52797 echo "/* $configure_input */"
52798 cat "$ac_result"
52799 fi
52800 rm -f "$tmp/out12"
52801 ;;
52802
52803 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52804 echo "$as_me: executing $ac_file commands" >&6;}
52805 ;;
52806 esac
52807
52808
52809 case $ac_file$ac_mode in
52810 "rcdefs.h":C)
52811 mkdir -p $outdir &&
52812 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52813 ;;
52814 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52815 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52816 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52817 "wx-config":C) rm -f wx-config
52818 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52819 ;;
52820
52821 esac
52822 done # for ac_tag
52823
52824
52825 { (exit 0); exit 0; }
52826 _ACEOF
52827 chmod +x $CONFIG_STATUS
52828 ac_clean_files=$ac_clean_files_save
52829
52830
52831 # configure is writing to config.log, and then calls config.status.
52832 # config.status does its own redirection, appending to config.log.
52833 # Unfortunately, on DOS this fails, as config.log is still kept open
52834 # by configure, so config.status won't be able to write to it; its
52835 # output is simply discarded. So we exec the FD to /dev/null,
52836 # effectively closing config.log, so it can be properly (re)opened and
52837 # appended to by config.status. When coming back to configure, we
52838 # need to make the FD available again.
52839 if test "$no_create" != yes; then
52840 ac_cs_success=:
52841 ac_config_status_args=
52842 test "$silent" = yes &&
52843 ac_config_status_args="$ac_config_status_args --quiet"
52844 exec 5>/dev/null
52845 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52846 exec 5>>config.log
52847 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52848 # would make configure fail if this is the last instruction.
52849 $ac_cs_success || { (exit 1); exit 1; }
52850 fi
52851
52852 #
52853 # CONFIG_SUBDIRS section.
52854 #
52855 if test "$no_recursion" != yes; then
52856
52857 # Remove --cache-file and --srcdir arguments so they do not pile up.
52858 ac_sub_configure_args=
52859 ac_prev=
52860 eval "set x $ac_configure_args"
52861 shift
52862 for ac_arg
52863 do
52864 if test -n "$ac_prev"; then
52865 ac_prev=
52866 continue
52867 fi
52868 case $ac_arg in
52869 -cache-file | --cache-file | --cache-fil | --cache-fi \
52870 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52871 ac_prev=cache_file ;;
52872 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52873 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52874 | --c=*)
52875 ;;
52876 --config-cache | -C)
52877 ;;
52878 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52879 ac_prev=srcdir ;;
52880 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52881 ;;
52882 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52883 ac_prev=prefix ;;
52884 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52885 ;;
52886 *)
52887 case $ac_arg in
52888 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52889 esac
52890 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52891 esac
52892 done
52893
52894 # Always prepend --prefix to ensure using the same prefix
52895 # in subdir configurations.
52896 ac_arg="--prefix=$prefix"
52897 case $ac_arg in
52898 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52899 esac
52900 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52901
52902 # Pass --silent
52903 if test "$silent" = yes; then
52904 ac_sub_configure_args="--silent $ac_sub_configure_args"
52905 fi
52906
52907 ac_popdir=`pwd`
52908 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52909
52910 # Do not complain, so a configure script can configure whichever
52911 # parts of a large source tree are present.
52912 test -d "$srcdir/$ac_dir" || continue
52913
52914 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52915 echo "$as_me:$LINENO: $ac_msg" >&5
52916 echo "$ac_msg" >&6
52917 { as_dir="$ac_dir"
52918 case $as_dir in #(
52919 -*) as_dir=./$as_dir;;
52920 esac
52921 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52922 as_dirs=
52923 while :; do
52924 case $as_dir in #(
52925 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52926 *) as_qdir=$as_dir;;
52927 esac
52928 as_dirs="'$as_qdir' $as_dirs"
52929 as_dir=`$as_dirname -- "$as_dir" ||
52930 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52931 X"$as_dir" : 'X\(//\)[^/]' \| \
52932 X"$as_dir" : 'X\(//\)$' \| \
52933 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52934 echo X"$as_dir" |
52935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52936 s//\1/
52937 q
52938 }
52939 /^X\(\/\/\)[^/].*/{
52940 s//\1/
52941 q
52942 }
52943 /^X\(\/\/\)$/{
52944 s//\1/
52945 q
52946 }
52947 /^X\(\/\).*/{
52948 s//\1/
52949 q
52950 }
52951 s/.*/./; q'`
52952 test -d "$as_dir" && break
52953 done
52954 test -z "$as_dirs" || eval "mkdir $as_dirs"
52955 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52956 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52957 { (exit 1); exit 1; }; }; }
52958 ac_builddir=.
52959
52960 case "$ac_dir" in
52961 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52962 *)
52963 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52964 # A ".." for each directory in $ac_dir_suffix.
52965 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52966 case $ac_top_builddir_sub in
52967 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52968 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52969 esac ;;
52970 esac
52971 ac_abs_top_builddir=$ac_pwd
52972 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52973 # for backward compatibility:
52974 ac_top_builddir=$ac_top_build_prefix
52975
52976 case $srcdir in
52977 .) # We are building in place.
52978 ac_srcdir=.
52979 ac_top_srcdir=$ac_top_builddir_sub
52980 ac_abs_top_srcdir=$ac_pwd ;;
52981 [\\/]* | ?:[\\/]* ) # Absolute name.
52982 ac_srcdir=$srcdir$ac_dir_suffix;
52983 ac_top_srcdir=$srcdir
52984 ac_abs_top_srcdir=$srcdir ;;
52985 *) # Relative name.
52986 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52987 ac_top_srcdir=$ac_top_build_prefix$srcdir
52988 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52989 esac
52990 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52991
52992
52993 cd "$ac_dir"
52994
52995 # Check for guested configure; otherwise get Cygnus style configure.
52996 if test -f "$ac_srcdir/configure.gnu"; then
52997 ac_sub_configure=$ac_srcdir/configure.gnu
52998 elif test -f "$ac_srcdir/configure"; then
52999 ac_sub_configure=$ac_srcdir/configure
53000 elif test -f "$ac_srcdir/configure.in"; then
53001 # This should be Cygnus configure.
53002 ac_sub_configure=$ac_aux_dir/configure
53003 else
53004 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53005 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53006 ac_sub_configure=
53007 fi
53008
53009 # The recursion is here.
53010 if test -n "$ac_sub_configure"; then
53011 # Make the cache file name correct relative to the subdirectory.
53012 case $cache_file in
53013 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53014 *) # Relative name.
53015 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
53016 esac
53017
53018 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53019 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53020 # The eval makes quoting arguments work.
53021 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53022 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53023 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53024 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53025 { (exit 1); exit 1; }; }
53026 fi
53027
53028 cd "$ac_popdir"
53029 done
53030 fi
53031
53032
53033 echo
53034 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53035 echo ""
53036 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53037 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53038
53039 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53040 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53041 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53042 if test "$wxUSE_UNICODE" = "yes"; then
53043 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53044 echo " (using UTF-8)"
53045 else
53046 echo " (using wchar_t)"
53047 fi
53048 else
53049 echo
53050 fi
53051
53052 echo " What level of wxWidgets compatibility should be enabled?"
53053 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53054 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53055
53056 echo " Which libraries should wxWidgets use?"
53057 echo " STL ${wxUSE_STL}"
53058 echo " jpeg ${wxUSE_LIBJPEG-none}"
53059 echo " png ${wxUSE_LIBPNG-none}"
53060 echo " regex ${wxUSE_REGEX}"
53061 echo " tiff ${wxUSE_LIBTIFF-none}"
53062 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53063 echo " xpm ${wxUSE_LIBXPM-none}"
53064 fi
53065 echo " zlib ${wxUSE_ZLIB}"
53066 echo " expat ${wxUSE_EXPAT}"
53067 echo " libmspack ${wxUSE_LIBMSPACK}"
53068 echo " sdl ${wxUSE_LIBSDL}"
53069
53070 echo ""
53071