]> git.saurik.com Git - wxWidgets.git/blob - configure
Merge SOC2009_FSWATCHER branch into trunk.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.1.
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.1'
579 PACKAGE_STRING='wxWidgets 2.9.1'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 subdirs
680 PKG_CONFIG
681 GTK_CFLAGS
682 GTK_LIBS
683 GTK_CONFIG
684 DIRECTFB_CFLAGS
685 DIRECTFB_LIBS
686 XMKMF
687 X_CFLAGS
688 X_PRE_LIBS
689 X_LIBS
690 X_EXTRA_LIBS
691 PANGOX_CFLAGS
692 PANGOX_LIBS
693 PANGOFT2_CFLAGS
694 PANGOFT2_LIBS
695 PANGOXFT_CFLAGS
696 PANGOXFT_LIBS
697 CFLAGS_VISIBILITY
698 CXXFLAGS_VISIBILITY
699 LIBICONV
700 GXX_VERSION
701 SDL_CONFIG
702 SDL_CFLAGS
703 SDL_LIBS
704 GTKPRINT_CFLAGS
705 GTKPRINT_LIBS
706 LIBGNOMEPRINTUI_CFLAGS
707 LIBGNOMEPRINTUI_LIBS
708 GNOMEVFS_CFLAGS
709 GNOMEVFS_LIBS
710 HILDON_CFLAGS
711 HILDON_LIBS
712 HILDON2_CFLAGS
713 HILDON2_LIBS
714 PYTHON
715 COND_PYTHON
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 DEBUG_INFO
753 DEBUG_FLAG
754 TOOLKIT_LOWERCASE
755 TOOLKIT_VERSION
756 DYLIB_RPATH_INSTALL
757 DYLIB_RPATH_POSTLINK
758 SAMPLES_RPATH_FLAG
759 HEADER_PAD_OPTION
760 HOST_SUFFIX
761 CPPUNIT_CFLAGS
762 CPPUNIT_LIBS
763 RANLIB
764 INSTALL_PROGRAM
765 INSTALL_SCRIPT
766 INSTALL_DATA
767 LN_S
768 SET_MAKE
769 MAKE_SET
770 AROPTIONS
771 STRIP
772 NM
773 INSTALL_DIR
774 LDFLAGS_GUI
775 IF_GNU_MAKE
776 PLATFORM_UNIX
777 PLATFORM_WIN32
778 PLATFORM_MSDOS
779 PLATFORM_MAC
780 PLATFORM_MACOS
781 PLATFORM_MACOSX
782 PLATFORM_OS2
783 PLATFORM_BEOS
784 SO_SUFFIX
785 SO_SUFFIX_MODULE
786 DLLIMP_SUFFIX
787 LIBPREFIX
788 LIBEXT
789 DLLPREFIX
790 DLLPREFIX_MODULE
791 dlldir
792 AIX_CXX_LD
793 SHARED_LD_CC
794 SHARED_LD_CXX
795 SHARED_LD_MODULE_CC
796 SHARED_LD_MODULE_CXX
797 PIC_FLAG
798 WINDOWS_IMPLIB
799 USE_SOVERSION
800 USE_SOVERLINUX
801 USE_SOVERSOLARIS
802 USE_SOVERCYGWIN
803 USE_MACVERSION
804 USE_SOTWOSYMLINKS
805 SONAME_FLAG
806 DEPS_TRACKING
807 BK_DEPS
808 WINDRES
809 REZ
810 SETFILE
811 OBJCXXFLAGS
812 GCC_PCH
813 ICC_PCH
814 ICC_PCH_CREATE_SWITCH
815 ICC_PCH_USE_SWITCH
816 BK_MAKE_PCH
817 COND_BUILD_DEBUG
818 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
819 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
820 COND_BUILD_DEBUG_UNICODE_0
821 COND_BUILD_DEBUG_UNICODE_1
822 COND_BUILD_RELEASE
823 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
824 COND_BUILD_RELEASE_UNICODE_0
825 COND_BUILD_RELEASE_UNICODE_1
826 COND_BUILD_debug
827 COND_BUILD_debug_DEBUG_FLAG_default
828 COND_BUILD_debug_DEBUG_INFO_default
829 COND_BUILD_debug_UNICODE_0
830 COND_BUILD_debug_UNICODE_1
831 COND_BUILD_release
832 COND_BUILD_release_DEBUG_INFO_default
833 COND_BUILD_release_UNICODE_0
834 COND_BUILD_release_UNICODE_1
835 COND_DEBUG_FLAG_0
836 COND_DEBUG_FLAG_1
837 COND_DEBUG_INFO_0
838 COND_DEBUG_INFO_1
839 COND_DEPS_TRACKING_0
840 COND_DEPS_TRACKING_1
841 COND_GCC_PCH_1
842 COND_ICC_PCH_1
843 COND_MONOLITHIC_0
844 COND_MONOLITHIC_0_SHARED_0
845 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
850 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
851 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
852 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
853 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
854 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
855 COND_MONOLITHIC_0_SHARED_1
856 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
861 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
862 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
863 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
864 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
865 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
866 COND_MONOLITHIC_0_USE_AUI_1
867 COND_MONOLITHIC_0_USE_GUI_1
868 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
869 COND_MONOLITHIC_0_USE_HTML_1
870 COND_MONOLITHIC_0_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_PROPGRID_1
872 COND_MONOLITHIC_0_USE_QA_1
873 COND_MONOLITHIC_0_USE_RIBBON_1
874 COND_MONOLITHIC_0_USE_RICHTEXT_1
875 COND_MONOLITHIC_0_USE_STC_1
876 COND_MONOLITHIC_0_USE_XRC_1
877 COND_MONOLITHIC_1
878 COND_MONOLITHIC_1_SHARED_0
879 COND_MONOLITHIC_1_SHARED_1
880 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
881 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
882 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
883 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
884 COND_PLATFORM_MACOSX_1
885 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
886 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
887 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
890 COND_PLATFORM_MACOSX_1_USE_GUI_1
891 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
892 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
893 COND_PLATFORM_MACOS_1
894 COND_PLATFORM_MAC_0
895 COND_PLATFORM_MAC_1
896 COND_PLATFORM_MSDOS_0
897 COND_PLATFORM_MSDOS_1
898 COND_PLATFORM_OS2_1
899 COND_PLATFORM_UNIX_0
900 COND_PLATFORM_UNIX_1
901 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
902 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
903 COND_PLATFORM_UNIX_1_USE_GUI_1
904 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
905 COND_PLATFORM_WIN32_0
906 COND_PLATFORM_WIN32_1
907 COND_SHARED_0
908 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
909 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
910 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
911 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
912 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
913 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
914 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
915 COND_SHARED_0_USE_STC_1
916 COND_SHARED_0_wxUSE_EXPAT_builtin
917 COND_SHARED_0_wxUSE_REGEX_builtin
918 COND_SHARED_0_wxUSE_ZLIB_builtin
919 COND_SHARED_1
920 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
921 COND_TOOLKIT_
922 COND_TOOLKIT_COCOA
923 COND_TOOLKIT_COCOA_USE_GUI_1
924 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_DFB
926 COND_TOOLKIT_DFB_USE_GUI_1
927 COND_TOOLKIT_GTK
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
929 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
930 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
933 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_GTK_USE_GUI_1
935 COND_TOOLKIT_MAC
936 COND_TOOLKIT_MGL
937 COND_TOOLKIT_MGL_USE_GUI_1
938 COND_TOOLKIT_MOTIF
939 COND_TOOLKIT_MOTIF_USE_GUI_1
940 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
941 COND_TOOLKIT_MSW
942 COND_TOOLKIT_MSW_USE_GUI_1
943 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
944 COND_TOOLKIT_MSW_WXUNIV_0
945 COND_TOOLKIT_OSX_CARBON
946 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
947 COND_TOOLKIT_OSX_COCOA
948 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
949 COND_TOOLKIT_OSX_IPHONE
950 COND_TOOLKIT_PM
951 COND_TOOLKIT_PM_USE_GUI_1
952 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_WINCE
954 COND_TOOLKIT_WINCE_USE_GUI_1
955 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
956 COND_TOOLKIT_WINCE_WXUNIV_0
957 COND_TOOLKIT_X11
958 COND_TOOLKIT_X11_USE_GUI_1
959 COND_UNICODE_1
960 COND_USE_EXCEPTIONS_0
961 COND_USE_EXCEPTIONS_1
962 COND_USE_GUI_0
963 COND_USE_GUI_1
964 COND_USE_GUI_1_USE_OPENGL_1
965 COND_USE_GUI_1_WXUNIV_0
966 COND_USE_GUI_1_WXUNIV_1
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_GUI_1_wxUSE_LIBJPEG_builtin
971 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
972 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
973 COND_USE_OPENGL_1
974 COND_USE_PCH_1
975 COND_USE_PLUGINS_0
976 COND_USE_RTTI_0
977 COND_USE_RTTI_1
978 COND_USE_SOTWOSYMLINKS_1
979 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
980 COND_USE_SOVERLINUX_1
981 COND_USE_SOVERSION_0
982 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
983 COND_USE_SOVERSOLARIS_1
984 COND_USE_STC_1
985 COND_USE_THREADS_0
986 COND_USE_THREADS_1
987 COND_USE_XRC_1
988 COND_WINDOWS_IMPLIB_1
989 COND_WITH_PLUGIN_SDL_1
990 COND_WXUNIV_0
991 COND_WXUNIV_1
992 COND_WXUSE_EXPAT_BUILTIN
993 COND_WXUSE_LIBJPEG_BUILTIN
994 COND_WXUSE_LIBPNG_BUILTIN
995 COND_WXUSE_LIBTIFF_BUILTIN
996 COND_WXUSE_REGEX_BUILTIN
997 COND_WXUSE_ZLIB_BUILTIN
998 COND_wxUSE_EXPAT_builtin
999 COND_wxUSE_LIBJPEG_builtin
1000 COND_wxUSE_LIBPNG_builtin
1001 COND_wxUSE_LIBTIFF_builtin
1002 COND_wxUSE_REGEX_builtin
1003 COND_wxUSE_ZLIB_builtin
1004 DEREZ
1005 SHARED
1006 WX_LIBRARY_BASENAME_NOGUI
1007 WX_LIBRARY_BASENAME_GUI
1008 USE_GUI
1009 AFMINSTALL
1010 WIN32INSTALL
1011 TOOLKIT
1012 TOOLKIT_DIR
1013 TOOLCHAIN_NAME
1014 TOOLCHAIN_FULLNAME
1015 cross_compiling
1016 WIDGET_SET
1017 WX_RELEASE
1018 WX_VERSION
1019 WX_SUBVERSION
1020 WX_CHARTYPE
1021 WXCONFIG_CPPFLAGS
1022 WXCONFIG_CFLAGS
1023 WXCONFIG_CXXFLAGS
1024 WXCONFIG_LIBS
1025 WXCONFIG_RPATH
1026 WXCONFIG_LDFLAGS
1027 WXCONFIG_LDFLAGS_GUI
1028 WXCONFIG_RESFLAGS
1029 GUIDIST
1030 DISTDIR
1031 SAMPLES_SUBDIRS
1032 LDFLAGS_GL
1033 OPENGL_LIBS
1034 DMALLOC_LIBS
1035 WX_VERSION_TAG
1036 RESCOMP
1037 RESFLAGS
1038 RESPROGRAMOBJ
1039 WX_RESOURCES_MACOSX_ASCII
1040 WX_RESOURCES_MACOSX_DATA
1041 LIBWXMACRES
1042 POSTLINK_COMMAND
1043 MACSETFILE
1044 GCC
1045 DLLTOOL
1046 CPPUNIT_CONFIG
1047 LIBOBJS
1048 LTLIBOBJS'
1049 ac_subst_files=''
1050 ac_precious_vars='build_alias
1051 host_alias
1052 target_alias
1053 CC
1054 CFLAGS
1055 LDFLAGS
1056 LIBS
1057 CPPFLAGS
1058 CPP
1059 CXX
1060 CXXFLAGS
1061 CCC
1062 PKG_CONFIG
1063 DIRECTFB_CFLAGS
1064 DIRECTFB_LIBS
1065 XMKMF
1066 PANGOX_CFLAGS
1067 PANGOX_LIBS
1068 PANGOFT2_CFLAGS
1069 PANGOFT2_LIBS
1070 PANGOXFT_CFLAGS
1071 PANGOXFT_LIBS
1072 GTKPRINT_CFLAGS
1073 GTKPRINT_LIBS
1074 LIBGNOMEPRINTUI_CFLAGS
1075 LIBGNOMEPRINTUI_LIBS
1076 GNOMEVFS_CFLAGS
1077 GNOMEVFS_LIBS
1078 HILDON_CFLAGS
1079 HILDON_LIBS
1080 HILDON2_CFLAGS
1081 HILDON2_LIBS
1082 CAIRO_CFLAGS
1083 CAIRO_LIBS
1084 GST_CFLAGS
1085 GST_LIBS'
1086 ac_subdirs_all='src/tiff
1087 src/expat'
1088
1089 # Initialize some variables set by options.
1090 ac_init_help=
1091 ac_init_version=false
1092 # The variables have the same names as the options, with
1093 # dashes changed to underlines.
1094 cache_file=/dev/null
1095 exec_prefix=NONE
1096 no_create=
1097 no_recursion=
1098 prefix=NONE
1099 program_prefix=NONE
1100 program_suffix=NONE
1101 program_transform_name=s,x,x,
1102 silent=
1103 site=
1104 srcdir=
1105 verbose=
1106 x_includes=NONE
1107 x_libraries=NONE
1108
1109 # Installation directory options.
1110 # These are left unexpanded so users can "make install exec_prefix=/foo"
1111 # and all the variables that are supposed to be based on exec_prefix
1112 # by default will actually change.
1113 # Use braces instead of parens because sh, perl, etc. also accept them.
1114 # (The list follows the same order as the GNU Coding Standards.)
1115 bindir='${exec_prefix}/bin'
1116 sbindir='${exec_prefix}/sbin'
1117 libexecdir='${exec_prefix}/libexec'
1118 datarootdir='${prefix}/share'
1119 datadir='${datarootdir}'
1120 sysconfdir='${prefix}/etc'
1121 sharedstatedir='${prefix}/com'
1122 localstatedir='${prefix}/var'
1123 includedir='${prefix}/include'
1124 oldincludedir='/usr/include'
1125 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1126 infodir='${datarootdir}/info'
1127 htmldir='${docdir}'
1128 dvidir='${docdir}'
1129 pdfdir='${docdir}'
1130 psdir='${docdir}'
1131 libdir='${exec_prefix}/lib'
1132 localedir='${datarootdir}/locale'
1133 mandir='${datarootdir}/man'
1134
1135 ac_prev=
1136 ac_dashdash=
1137 for ac_option
1138 do
1139 # If the previous option needs an argument, assign it.
1140 if test -n "$ac_prev"; then
1141 eval $ac_prev=\$ac_option
1142 ac_prev=
1143 continue
1144 fi
1145
1146 case $ac_option in
1147 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1148 *) ac_optarg=yes ;;
1149 esac
1150
1151 # Accept the important Cygnus configure options, so we can diagnose typos.
1152
1153 case $ac_dashdash$ac_option in
1154 --)
1155 ac_dashdash=yes ;;
1156
1157 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1158 ac_prev=bindir ;;
1159 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1160 bindir=$ac_optarg ;;
1161
1162 -build | --build | --buil | --bui | --bu)
1163 ac_prev=build_alias ;;
1164 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1165 build_alias=$ac_optarg ;;
1166
1167 -cache-file | --cache-file | --cache-fil | --cache-fi \
1168 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1169 ac_prev=cache_file ;;
1170 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1171 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1172 cache_file=$ac_optarg ;;
1173
1174 --config-cache | -C)
1175 cache_file=config.cache ;;
1176
1177 -datadir | --datadir | --datadi | --datad)
1178 ac_prev=datadir ;;
1179 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1180 datadir=$ac_optarg ;;
1181
1182 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1183 | --dataroo | --dataro | --datar)
1184 ac_prev=datarootdir ;;
1185 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1186 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1187 datarootdir=$ac_optarg ;;
1188
1189 -disable-* | --disable-*)
1190 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1191 # Reject names that are not valid shell variable names.
1192 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1193 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1194 { (exit 1); exit 1; }; }
1195 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1196 eval enable_$ac_feature=no ;;
1197
1198 -docdir | --docdir | --docdi | --doc | --do)
1199 ac_prev=docdir ;;
1200 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1201 docdir=$ac_optarg ;;
1202
1203 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1204 ac_prev=dvidir ;;
1205 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1206 dvidir=$ac_optarg ;;
1207
1208 -enable-* | --enable-*)
1209 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1210 # Reject names that are not valid shell variable names.
1211 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1212 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1213 { (exit 1); exit 1; }; }
1214 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1215 eval enable_$ac_feature=\$ac_optarg ;;
1216
1217 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1218 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1219 | --exec | --exe | --ex)
1220 ac_prev=exec_prefix ;;
1221 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1222 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1223 | --exec=* | --exe=* | --ex=*)
1224 exec_prefix=$ac_optarg ;;
1225
1226 -gas | --gas | --ga | --g)
1227 # Obsolete; use --with-gas.
1228 with_gas=yes ;;
1229
1230 -help | --help | --hel | --he | -h)
1231 ac_init_help=long ;;
1232 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1233 ac_init_help=recursive ;;
1234 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1235 ac_init_help=short ;;
1236
1237 -host | --host | --hos | --ho)
1238 ac_prev=host_alias ;;
1239 -host=* | --host=* | --hos=* | --ho=*)
1240 host_alias=$ac_optarg ;;
1241
1242 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1243 ac_prev=htmldir ;;
1244 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1245 | --ht=*)
1246 htmldir=$ac_optarg ;;
1247
1248 -includedir | --includedir | --includedi | --included | --include \
1249 | --includ | --inclu | --incl | --inc)
1250 ac_prev=includedir ;;
1251 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1252 | --includ=* | --inclu=* | --incl=* | --inc=*)
1253 includedir=$ac_optarg ;;
1254
1255 -infodir | --infodir | --infodi | --infod | --info | --inf)
1256 ac_prev=infodir ;;
1257 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1258 infodir=$ac_optarg ;;
1259
1260 -libdir | --libdir | --libdi | --libd)
1261 ac_prev=libdir ;;
1262 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1263 libdir=$ac_optarg ;;
1264
1265 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1266 | --libexe | --libex | --libe)
1267 ac_prev=libexecdir ;;
1268 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1269 | --libexe=* | --libex=* | --libe=*)
1270 libexecdir=$ac_optarg ;;
1271
1272 -localedir | --localedir | --localedi | --localed | --locale)
1273 ac_prev=localedir ;;
1274 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1275 localedir=$ac_optarg ;;
1276
1277 -localstatedir | --localstatedir | --localstatedi | --localstated \
1278 | --localstate | --localstat | --localsta | --localst | --locals)
1279 ac_prev=localstatedir ;;
1280 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1281 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1282 localstatedir=$ac_optarg ;;
1283
1284 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1285 ac_prev=mandir ;;
1286 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1287 mandir=$ac_optarg ;;
1288
1289 -nfp | --nfp | --nf)
1290 # Obsolete; use --without-fp.
1291 with_fp=no ;;
1292
1293 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1294 | --no-cr | --no-c | -n)
1295 no_create=yes ;;
1296
1297 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1298 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1299 no_recursion=yes ;;
1300
1301 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1302 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1303 | --oldin | --oldi | --old | --ol | --o)
1304 ac_prev=oldincludedir ;;
1305 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1306 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1307 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1308 oldincludedir=$ac_optarg ;;
1309
1310 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1311 ac_prev=prefix ;;
1312 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1313 prefix=$ac_optarg ;;
1314
1315 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1316 | --program-pre | --program-pr | --program-p)
1317 ac_prev=program_prefix ;;
1318 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1319 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1320 program_prefix=$ac_optarg ;;
1321
1322 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1323 | --program-suf | --program-su | --program-s)
1324 ac_prev=program_suffix ;;
1325 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1326 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1327 program_suffix=$ac_optarg ;;
1328
1329 -program-transform-name | --program-transform-name \
1330 | --program-transform-nam | --program-transform-na \
1331 | --program-transform-n | --program-transform- \
1332 | --program-transform | --program-transfor \
1333 | --program-transfo | --program-transf \
1334 | --program-trans | --program-tran \
1335 | --progr-tra | --program-tr | --program-t)
1336 ac_prev=program_transform_name ;;
1337 -program-transform-name=* | --program-transform-name=* \
1338 | --program-transform-nam=* | --program-transform-na=* \
1339 | --program-transform-n=* | --program-transform-=* \
1340 | --program-transform=* | --program-transfor=* \
1341 | --program-transfo=* | --program-transf=* \
1342 | --program-trans=* | --program-tran=* \
1343 | --progr-tra=* | --program-tr=* | --program-t=*)
1344 program_transform_name=$ac_optarg ;;
1345
1346 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1347 ac_prev=pdfdir ;;
1348 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1349 pdfdir=$ac_optarg ;;
1350
1351 -psdir | --psdir | --psdi | --psd | --ps)
1352 ac_prev=psdir ;;
1353 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1354 psdir=$ac_optarg ;;
1355
1356 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1357 | -silent | --silent | --silen | --sile | --sil)
1358 silent=yes ;;
1359
1360 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1361 ac_prev=sbindir ;;
1362 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1363 | --sbi=* | --sb=*)
1364 sbindir=$ac_optarg ;;
1365
1366 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1367 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1368 | --sharedst | --shareds | --shared | --share | --shar \
1369 | --sha | --sh)
1370 ac_prev=sharedstatedir ;;
1371 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1372 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1373 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1374 | --sha=* | --sh=*)
1375 sharedstatedir=$ac_optarg ;;
1376
1377 -site | --site | --sit)
1378 ac_prev=site ;;
1379 -site=* | --site=* | --sit=*)
1380 site=$ac_optarg ;;
1381
1382 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1383 ac_prev=srcdir ;;
1384 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1385 srcdir=$ac_optarg ;;
1386
1387 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1388 | --syscon | --sysco | --sysc | --sys | --sy)
1389 ac_prev=sysconfdir ;;
1390 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1391 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1392 sysconfdir=$ac_optarg ;;
1393
1394 -target | --target | --targe | --targ | --tar | --ta | --t)
1395 ac_prev=target_alias ;;
1396 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1397 target_alias=$ac_optarg ;;
1398
1399 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1400 verbose=yes ;;
1401
1402 -version | --version | --versio | --versi | --vers | -V)
1403 ac_init_version=: ;;
1404
1405 -with-* | --with-*)
1406 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1407 # Reject names that are not valid shell variable names.
1408 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1409 { echo "$as_me: error: invalid package name: $ac_package" >&2
1410 { (exit 1); exit 1; }; }
1411 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1412 eval with_$ac_package=\$ac_optarg ;;
1413
1414 -without-* | --without-*)
1415 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1416 # Reject names that are not valid shell variable names.
1417 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1418 { echo "$as_me: error: invalid package name: $ac_package" >&2
1419 { (exit 1); exit 1; }; }
1420 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1421 eval with_$ac_package=no ;;
1422
1423 --x)
1424 # Obsolete; use --with-x.
1425 with_x=yes ;;
1426
1427 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1428 | --x-incl | --x-inc | --x-in | --x-i)
1429 ac_prev=x_includes ;;
1430 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1431 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1432 x_includes=$ac_optarg ;;
1433
1434 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1435 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1436 ac_prev=x_libraries ;;
1437 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1438 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1439 x_libraries=$ac_optarg ;;
1440
1441 -*) { echo "$as_me: error: unrecognized option: $ac_option
1442 Try \`$0 --help' for more information." >&2
1443 { (exit 1); exit 1; }; }
1444 ;;
1445
1446 *=*)
1447 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1448 # Reject names that are not valid shell variable names.
1449 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1450 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1451 { (exit 1); exit 1; }; }
1452 eval $ac_envvar=\$ac_optarg
1453 export $ac_envvar ;;
1454
1455 *)
1456 # FIXME: should be removed in autoconf 3.0.
1457 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1458 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1459 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1460 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1461 ;;
1462
1463 esac
1464 done
1465
1466 if test -n "$ac_prev"; then
1467 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1468 { echo "$as_me: error: missing argument to $ac_option" >&2
1469 { (exit 1); exit 1; }; }
1470 fi
1471
1472 # Be sure to have absolute directory names.
1473 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1474 datadir sysconfdir sharedstatedir localstatedir includedir \
1475 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1476 libdir localedir mandir
1477 do
1478 eval ac_val=\$$ac_var
1479 case $ac_val in
1480 [\\/$]* | ?:[\\/]* ) continue;;
1481 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1482 esac
1483 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1484 { (exit 1); exit 1; }; }
1485 done
1486
1487 # There might be people who depend on the old broken behavior: `$host'
1488 # used to hold the argument of --host etc.
1489 # FIXME: To remove some day.
1490 build=$build_alias
1491 host=$host_alias
1492 target=$target_alias
1493
1494 # FIXME: To remove some day.
1495 if test "x$host_alias" != x; then
1496 if test "x$build_alias" = x; then
1497 cross_compiling=maybe
1498 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1499 If a cross compiler is detected then cross compile mode will be used." >&2
1500 elif test "x$build_alias" != "x$host_alias"; then
1501 cross_compiling=yes
1502 fi
1503 fi
1504
1505 ac_tool_prefix=
1506 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1507
1508 test "$silent" = yes && exec 6>/dev/null
1509
1510
1511 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1512 ac_ls_di=`ls -di .` &&
1513 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1514 { echo "$as_me: error: Working directory cannot be determined" >&2
1515 { (exit 1); exit 1; }; }
1516 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1517 { echo "$as_me: error: pwd does not report name of working directory" >&2
1518 { (exit 1); exit 1; }; }
1519
1520
1521 # Find the source files, if location was not specified.
1522 if test -z "$srcdir"; then
1523 ac_srcdir_defaulted=yes
1524 # Try the directory containing this script, then the parent directory.
1525 ac_confdir=`$as_dirname -- "$0" ||
1526 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1527 X"$0" : 'X\(//\)[^/]' \| \
1528 X"$0" : 'X\(//\)$' \| \
1529 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1530 echo X"$0" |
1531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1532 s//\1/
1533 q
1534 }
1535 /^X\(\/\/\)[^/].*/{
1536 s//\1/
1537 q
1538 }
1539 /^X\(\/\/\)$/{
1540 s//\1/
1541 q
1542 }
1543 /^X\(\/\).*/{
1544 s//\1/
1545 q
1546 }
1547 s/.*/./; q'`
1548 srcdir=$ac_confdir
1549 if test ! -r "$srcdir/$ac_unique_file"; then
1550 srcdir=..
1551 fi
1552 else
1553 ac_srcdir_defaulted=no
1554 fi
1555 if test ! -r "$srcdir/$ac_unique_file"; then
1556 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1557 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1558 { (exit 1); exit 1; }; }
1559 fi
1560 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1561 ac_abs_confdir=`(
1562 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1563 { (exit 1); exit 1; }; }
1564 pwd)`
1565 # When building in place, set srcdir=.
1566 if test "$ac_abs_confdir" = "$ac_pwd"; then
1567 srcdir=.
1568 fi
1569 # Remove unnecessary trailing slashes from srcdir.
1570 # Double slashes in file names in object file debugging info
1571 # mess up M-x gdb in Emacs.
1572 case $srcdir in
1573 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1574 esac
1575 for ac_var in $ac_precious_vars; do
1576 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1577 eval ac_env_${ac_var}_value=\$${ac_var}
1578 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1579 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1580 done
1581
1582 #
1583 # Report the --help message.
1584 #
1585 if test "$ac_init_help" = "long"; then
1586 # Omit some internal or obsolete options to make the list less imposing.
1587 # This message is too long to be a string in the A/UX 3.1 sh.
1588 cat <<_ACEOF
1589 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1590
1591 Usage: $0 [OPTION]... [VAR=VALUE]...
1592
1593 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1594 VAR=VALUE. See below for descriptions of some of the useful variables.
1595
1596 Defaults for the options are specified in brackets.
1597
1598 Configuration:
1599 -h, --help display this help and exit
1600 --help=short display options specific to this package
1601 --help=recursive display the short help of all the included packages
1602 -V, --version display version information and exit
1603 -q, --quiet, --silent do not print \`checking...' messages
1604 --cache-file=FILE cache test results in FILE [disabled]
1605 -C, --config-cache alias for \`--cache-file=config.cache'
1606 -n, --no-create do not create output files
1607 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1608
1609 Installation directories:
1610 --prefix=PREFIX install architecture-independent files in PREFIX
1611 [$ac_default_prefix]
1612 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1613 [PREFIX]
1614
1615 By default, \`make install' will install all the files in
1616 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1617 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1618 for instance \`--prefix=\$HOME'.
1619
1620 For better control, use the options below.
1621
1622 Fine tuning of the installation directories:
1623 --bindir=DIR user executables [EPREFIX/bin]
1624 --sbindir=DIR system admin executables [EPREFIX/sbin]
1625 --libexecdir=DIR program executables [EPREFIX/libexec]
1626 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1627 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1628 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1629 --libdir=DIR object code libraries [EPREFIX/lib]
1630 --includedir=DIR C header files [PREFIX/include]
1631 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1632 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1633 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1634 --infodir=DIR info documentation [DATAROOTDIR/info]
1635 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1636 --mandir=DIR man documentation [DATAROOTDIR/man]
1637 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1638 --htmldir=DIR html documentation [DOCDIR]
1639 --dvidir=DIR dvi documentation [DOCDIR]
1640 --pdfdir=DIR pdf documentation [DOCDIR]
1641 --psdir=DIR ps documentation [DOCDIR]
1642 _ACEOF
1643
1644 cat <<\_ACEOF
1645
1646 X features:
1647 --x-includes=DIR X include files are in DIR
1648 --x-libraries=DIR X library files are in DIR
1649
1650 System types:
1651 --build=BUILD configure for building on BUILD [guessed]
1652 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1653 _ACEOF
1654 fi
1655
1656 if test -n "$ac_init_help"; then
1657 case $ac_init_help in
1658 short | recursive ) echo "Configuration of wxWidgets 2.9.1:";;
1659 esac
1660 cat <<\_ACEOF
1661
1662 Optional Features:
1663 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1664 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1665 --disable-gui don't build GUI parts of the library
1666 --enable-monolithic build wxWidgets as single library
1667 --enable-plugins build parts of wxWidgets as loadable components
1668 --enable-official_build official build of wxWidgets (win32 DLL only)
1669 --enable-vendor=VENDOR vendor name (win32 DLL only)
1670 --disable-all-features disable all optional features to build minimal library
1671 --enable-universal use wxWidgets GUI controls instead of native ones
1672 --enable-nanox use NanoX
1673 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1674 --enable-gpe use GNOME PDA Environment features if possible
1675 --enable-debug build library for debugging
1676 --disable-debug_flag disable all debugging support
1677 --enable-debug_info generate debug information
1678 --enable-debug_gdb create code with extra GDB debugging information
1679 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1680 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1681 --disable-shared create static library instead of shared
1682 --enable-stl use STL for containers
1683 --enable-std_iostreams use standard C++ stream classes
1684 --enable-std_string use standard C++ string classes
1685 --disable-unicode compile without Unicode support
1686 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1687 --enable-utf8 use UTF-8 representation for strings (Unix only)
1688 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1689 --enable-extended_rtti use extended RTTI (XTI)
1690 --enable-omf use OMF object format
1691 --disable-optimise compile without optimisations
1692 --enable-profile create code with profiling information
1693 --enable-no_rtti create code without RTTI information
1694 --enable-no_exceptions create code without C++ exceptions handling
1695 --enable-permissive compile code disregarding strict ANSI
1696 --enable-no_deps create code without dependency information
1697 --disable-vararg_macros don't use vararg macros, even if they are supported
1698 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1699 --enable-compat26 enable wxWidgets 2.6 compatibility
1700 --disable-compat28 disable wxWidgets 2.8 compatibility
1701 --disable-rpath disable use of rpath for uninstalled builds
1702 --enable-objc_uniquifying enable Objective-C class name uniquifying
1703 --disable-visibility disable use of ELF symbols visibility even if supported
1704 --disable-tls disable use of compiler TLS support
1705 --enable-intl use internationalization system
1706 --enable-xlocale use x-locale support (requires wxLocale)
1707 --enable-config use wxConfig (and derived) classes
1708 --enable-protocols use wxProtocol and derived classes
1709 --enable-ftp use wxFTP (requires wxProtocol
1710 --enable-http use wxHTTP (requires wxProtocol
1711 --enable-fileproto use wxFileProto class (requires wxProtocol
1712 --enable-sockets use socket/network classes
1713 --enable-ipv6 enable IPv6 support in wxSocket
1714 --enable-ole use OLE classes (Win32 only)
1715 --enable-dataobj use data object classes
1716 --enable-ipc use interprocess communication (wxSocket etc.)
1717 --enable-baseevtloop use event loop in console programs too
1718 --enable-epollloop use wxEpollDispatcher class (Linux only)
1719 --enable-selectloop use wxSelectDispatcher class
1720 --enable-any use wxAny class
1721 --enable-apple_ieee use the Apple IEEE codec
1722 --enable-arcstream use wxArchive streams
1723 --enable-base64 use base64 encoding/decoding functions
1724 --enable-backtrace use wxStackWalker class for getting backtraces
1725 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1726 --enable-cmdline use wxCmdLineParser class
1727 --enable-datetime use wxDateTime class
1728 --enable-debugreport use wxDebugReport class
1729 --enable-dialupman use dialup network classes
1730 --enable-dynlib use wxLibrary class for DLL loading
1731 --enable-dynamicloader use (new) wxDynamicLibrary class
1732 --enable-exceptions build exception-safe library
1733 --enable-ffile use wxFFile class
1734 --enable-file use wxFile class
1735 --enable-filesystem use virtual file systems classes
1736 --enable-fontenum use wxFontEnumerator class
1737 --enable-fontmap use font encodings conversion classes
1738 --enable-fs_archive use virtual archive filesystems
1739 --enable-fs_inet use virtual HTTP/FTP filesystems
1740 --enable-fs_zip now replaced by fs_archive
1741 --enable-fswatcher use wxFileSystemWatcher class
1742 --enable-geometry use geometry class
1743 --enable-log use logging system
1744 --enable-longlong use wxLongLong class
1745 --enable-mimetype use wxMimeTypesManager
1746 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1747 --enable-snglinst use wxSingleInstanceChecker class
1748 --enable-sound use wxSound class
1749 --enable-stdpaths use wxStandardPaths class
1750 --enable-stopwatch use wxStopWatch class
1751 --enable-streams use wxStream etc classes
1752 --enable-sysoptions use wxSystemOptions
1753 --enable-tarstream use wxTar streams
1754 --enable-textbuf use wxTextBuffer class
1755 --enable-textfile use wxTextFile class
1756 --enable-timer use wxTimer class
1757 --enable-variant use wxVariant class
1758 --enable-zipstream use wxZip streams
1759 --enable-url use wxURL class
1760 --enable-protocol use wxProtocol class
1761 --enable-protocol-http HTTP support in wxProtocol
1762 --enable-protocol-ftp FTP support in wxProtocol
1763 --enable-protocol-file FILE support in wxProtocol
1764 --enable-threads use threads
1765 --enable-iniconf use wxIniConfig (Win32 only)
1766 --enable-regkey use wxRegKey class (Win32 only)
1767 --enable-docview use document view architecture
1768 --enable-help use help subsystem
1769 --enable-mshtmlhelp use MS HTML Help (win32)
1770 --enable-html use wxHTML sub-library
1771 --enable-htmlhelp use wxHTML-based help
1772 --enable-xrc use XRC resources sub-library
1773 --enable-aui use AUI docking library
1774 --enable-propgrid use wxPropertyGrid library
1775 --enable-ribbon use wxRibbon library
1776 --enable-stc use wxStyledTextCtrl library
1777 --enable-constraints use layout-constraints system
1778 --enable-loggui use standard GUI logger
1779 --enable-logwin use wxLogWindow
1780 --enable-logdialog use wxLogDialog
1781 --enable-mdi use multiple document interface architecture
1782 --enable-mdidoc use docview architecture with MDI
1783 --enable-mediactrl use wxMediaCtrl class
1784 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1785 --enable-webkit use wxWebKitCtrl (Mac)
1786 --enable-richtext use wxRichTextCtrl
1787 --enable-graphics_ctx use graphics context 2D drawing API
1788 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1789 --enable-printarch use printing architecture
1790 --enable-svg use wxSVGFileDC device context
1791 --enable-clipboard use wxClipboard class
1792 --enable-dnd use Drag'n'Drop classes
1793 --enable-metafile use win32 metafiles
1794 --disable-controls disable compilation of all standard controls
1795 --enable-accel use accelerators
1796 --enable-animatectrl use wxAnimationCtrl class
1797 --enable-bmpbutton use wxBitmapButton class
1798 --enable-bmpcombobox use wxBitmapComboBox class
1799 --enable-button use wxButton class
1800 --enable-calendar use wxCalendarCtrl class
1801 --enable-caret use wxCaret class
1802 --enable-checkbox use wxCheckBox class
1803 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1804 --enable-choice use wxChoice class
1805 --enable-choicebook use wxChoicebook class
1806 --enable-collpane use wxCollapsiblePane class
1807 --enable-colourpicker use wxColourPickerCtrl class
1808 --enable-combobox use wxComboBox class
1809 --enable-comboctrl use wxComboCtrl class
1810 --enable-dataviewctrl use wxDataViewCtrl class
1811 --enable-datepick use wxDatePickerCtrl class
1812 --enable-detect_sm use code to detect X11 session manager
1813 --enable-dirpicker use wxDirPickerCtrl class
1814 --enable-display use wxDisplay class
1815 --enable-editablebox use wxEditableListBox class
1816 --enable-filectrl use wxFileCtrl class
1817 --enable-filepicker use wxFilePickerCtrl class
1818 --enable-fontpicker use wxFontPickerCtrl class
1819 --enable-gauge use wxGauge class
1820 --enable-grid use wxGrid class
1821 --enable-headerctrl use wxHeaderCtrl class
1822 --enable-hyperlink use wxHyperlinkCtrl class
1823 --enable-imaglist use wxImageList class
1824 --enable-infobar use wxInfoBar class
1825 --enable-listbook use wxListbook class
1826 --enable-listbox use wxListBox class
1827 --enable-listctrl use wxListCtrl class
1828 --enable-notebook use wxNotebook class
1829 --enable-notifmsg use wxNotificationMessage class
1830 --enable-odcombobox use wxOwnerDrawnComboBox class
1831 --enable-popupwin use wxPopUpWindow class
1832 --enable-radiobox use wxRadioBox class
1833 --enable-radiobtn use wxRadioButton class
1834 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1835 --enable-sash use wxSashWindow class
1836 --enable-scrollbar use wxScrollBar class and scrollable windows
1837 --enable-searchctrl use wxSearchCtrl class
1838 --enable-slider use wxSlider class
1839 --enable-spinbtn use wxSpinButton class
1840 --enable-spinctrl use wxSpinCtrl class
1841 --enable-splitter use wxSplitterWindow class
1842 --enable-statbmp use wxStaticBitmap class
1843 --enable-statbox use wxStaticBox class
1844 --enable-statline use wxStaticLine class
1845 --enable-stattext use wxStaticText class
1846 --enable-statusbar use wxStatusBar class
1847 --enable-taskbaricon use wxTaskBarIcon class
1848 --enable-tbarnative use native wxToolBar class
1849 --enable-textctrl use wxTextCtrl class
1850 --enable-tipwindow use wxTipWindow class
1851 --enable-togglebtn use wxToggleButton class
1852 --enable-toolbar use wxToolBar class
1853 --enable-toolbook use wxToolbook class
1854 --enable-treebook use wxTreebook class
1855 --enable-treectrl use wxTreeCtrl class
1856 --enable-commondlg use all common dialogs
1857 --enable-aboutdlg use wxAboutBox
1858 --enable-choicedlg use wxChoiceDialog
1859 --enable-coldlg use wxColourDialog
1860 --enable-filedlg use wxFileDialog
1861 --enable-finddlg use wxFindReplaceDialog
1862 --enable-fontdlg use wxFontDialog
1863 --enable-dirdlg use wxDirDialog
1864 --enable-msgdlg use wxMessageDialog
1865 --enable-numberdlg use wxNumberEntryDialog
1866 --enable-splash use wxSplashScreen
1867 --enable-textdlg use wxTextDialog
1868 --enable-tipdlg use startup tips
1869 --enable-progressdlg use wxProgressDialog
1870 --enable-wizarddlg use wxWizard
1871 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1872 --enable-miniframe use wxMiniFrame class
1873 --enable-tooltips use wxToolTip class
1874 --enable-splines use spline drawing code
1875 --enable-mousewheel use mousewheel
1876 --enable-validators use wxValidator and derived classes
1877 --enable-busyinfo use wxBusyInfo
1878 --enable-joystick use wxJoystick
1879 --enable-metafiles use wxMetaFile (Win32 only)
1880 --enable-dragimage use wxDragImage
1881 --enable-accessibility enable accessibility support
1882 --enable-palette use wxPalette class
1883 --enable-image use wxImage class
1884 --enable-gif use gif images (GIF file format)
1885 --enable-pcx use pcx images (PCX file format)
1886 --enable-tga use tga images (TGA file format)
1887 --enable-iff use iff images (IFF file format)
1888 --enable-pnm use pnm images (PNM file format)
1889 --enable-xpm use xpm images (XPM file format)
1890 --enable-ico_cur use Windows ICO and CUR formats
1891 --enable-dccache cache temporary wxDC objects (Win32 only)
1892 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1893 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1894 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1895 --enable-wxdib use wxDIB class (Win32 only)
1896 --enable-autoidman use automatic ids management
1897 --disable-largefile omit support for large files
1898 --disable-gtktest do not try to compile and run a test GTK+ program
1899 --disable-gtktest Do not try to compile and run a test GTK program
1900 --disable-sdltest Do not try to compile and run a test SDL program
1901 --enable-omf use OMF object format (OS/2)
1902 --disable-dependency-tracking
1903 don't use dependency tracking even if the compiler
1904 can
1905 --disable-precomp-headers
1906 don't use precompiled headers even if compiler can
1907
1908 Optional Packages:
1909 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1910 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1911 --without-subdirs don't generate makefiles for samples/demos/...
1912 --with-flavour=NAME specify a name to identify this build
1913 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1914 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1915 --with-motif use Motif/Lesstif
1916 --with-osx_carbon use Mac OS X (Carbon)
1917 --with-osx_cocoa use Mac OS X (Cocoa)
1918 --with-mac use Mac OS X (Default)
1919 --with-cocoa use Cocoa
1920 --with-wine use Wine
1921 --with-msw use MS-Windows
1922 --with-pm use OS/2 Presentation Manager
1923 --with-mgl use SciTech MGL
1924 --with-directfb use DirectFB
1925 --with-microwin use MicroWindows
1926 --with-x11 use X11
1927 --with-libpng use libpng (PNG image format)
1928 --with-libjpeg use libjpeg (JPEG file format)
1929 --with-libtiff use libtiff (TIFF file format)
1930 --with-libxpm use libxpm (XPM file format)
1931 --with-libiconv use libiconv (character conversion)
1932 --with-libmspack use libmspack (CHM help files loading)
1933 --without-gtkprint don't use GTK printing support
1934 --without-gnomeprint don't use GNOME printing libraries
1935 --with-gnomevfs use GNOME VFS for associating MIME types
1936 --with-hildon use Hildon framework for Nokia 770/800/810
1937 --with-opengl use OpenGL (or Mesa)
1938 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1939 --with-sdl use SDL for audio on Unix
1940 --with-regex enable support for wxRegEx class
1941 --with-zlib use zlib for LZW compression
1942 --with-expat enable XML support using expat parser
1943 --with-macosx-sdk=PATH use an OS X SDK at PATH
1944 --with-macosx-version-min=VER build binaries which require at least this OS X version
1945 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1946 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1947 --with-x use the X Window System
1948 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1949 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1950 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1951 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1952 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1953
1954 Some influential environment variables:
1955 CC C compiler command
1956 CFLAGS C compiler flags
1957 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1958 nonstandard directory <lib dir>
1959 LIBS libraries to pass to the linker, e.g. -l<library>
1960 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1961 you have headers in a nonstandard directory <include dir>
1962 CPP C preprocessor
1963 CXX C++ compiler command
1964 CXXFLAGS C++ compiler flags
1965 PKG_CONFIG path to pkg-config utility
1966 DIRECTFB_CFLAGS
1967 C compiler flags for DIRECTFB, overriding pkg-config
1968 DIRECTFB_LIBS
1969 linker flags for DIRECTFB, overriding pkg-config
1970 XMKMF Path to xmkmf, Makefile generator for X Window System
1971 PANGOX_CFLAGS
1972 C compiler flags for PANGOX, overriding pkg-config
1973 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1974 PANGOFT2_CFLAGS
1975 C compiler flags for PANGOFT2, overriding pkg-config
1976 PANGOFT2_LIBS
1977 linker flags for PANGOFT2, overriding pkg-config
1978 PANGOXFT_CFLAGS
1979 C compiler flags for PANGOXFT, overriding pkg-config
1980 PANGOXFT_LIBS
1981 linker flags for PANGOXFT, overriding pkg-config
1982 GTKPRINT_CFLAGS
1983 C compiler flags for GTKPRINT, overriding pkg-config
1984 GTKPRINT_LIBS
1985 linker flags for GTKPRINT, overriding pkg-config
1986 LIBGNOMEPRINTUI_CFLAGS
1987 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1988 LIBGNOMEPRINTUI_LIBS
1989 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1990 GNOMEVFS_CFLAGS
1991 C compiler flags for GNOMEVFS, overriding pkg-config
1992 GNOMEVFS_LIBS
1993 linker flags for GNOMEVFS, overriding pkg-config
1994 HILDON_CFLAGS
1995 C compiler flags for HILDON, overriding pkg-config
1996 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1997 HILDON2_CFLAGS
1998 C compiler flags for HILDON2, overriding pkg-config
1999 HILDON2_LIBS
2000 linker flags for HILDON2, overriding pkg-config
2001 CAIRO_CFLAGS
2002 C compiler flags for CAIRO, overriding pkg-config
2003 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2004 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2005 GST_LIBS linker flags for GST, overriding pkg-config
2006
2007 Use these variables to override the choices made by `configure' or to help
2008 it to find libraries and programs with nonstandard names/locations.
2009
2010 Report bugs to <wx-dev@lists.wxwidgets.org>.
2011 _ACEOF
2012 ac_status=$?
2013 fi
2014
2015 if test "$ac_init_help" = "recursive"; then
2016 # If there are subdirs, report their specific --help.
2017 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2018 test -d "$ac_dir" || continue
2019 ac_builddir=.
2020
2021 case "$ac_dir" in
2022 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2023 *)
2024 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2025 # A ".." for each directory in $ac_dir_suffix.
2026 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2027 case $ac_top_builddir_sub in
2028 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2029 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2030 esac ;;
2031 esac
2032 ac_abs_top_builddir=$ac_pwd
2033 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2034 # for backward compatibility:
2035 ac_top_builddir=$ac_top_build_prefix
2036
2037 case $srcdir in
2038 .) # We are building in place.
2039 ac_srcdir=.
2040 ac_top_srcdir=$ac_top_builddir_sub
2041 ac_abs_top_srcdir=$ac_pwd ;;
2042 [\\/]* | ?:[\\/]* ) # Absolute name.
2043 ac_srcdir=$srcdir$ac_dir_suffix;
2044 ac_top_srcdir=$srcdir
2045 ac_abs_top_srcdir=$srcdir ;;
2046 *) # Relative name.
2047 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2048 ac_top_srcdir=$ac_top_build_prefix$srcdir
2049 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2050 esac
2051 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2052
2053 cd "$ac_dir" || { ac_status=$?; continue; }
2054 # Check for guested configure.
2055 if test -f "$ac_srcdir/configure.gnu"; then
2056 echo &&
2057 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2058 elif test -f "$ac_srcdir/configure"; then
2059 echo &&
2060 $SHELL "$ac_srcdir/configure" --help=recursive
2061 else
2062 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2063 fi || ac_status=$?
2064 cd "$ac_pwd" || { ac_status=$?; break; }
2065 done
2066 fi
2067
2068 test -n "$ac_init_help" && exit $ac_status
2069 if $ac_init_version; then
2070 cat <<\_ACEOF
2071 wxWidgets configure 2.9.1
2072 generated by GNU Autoconf 2.61
2073
2074 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2075 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2076 This configure script is free software; the Free Software Foundation
2077 gives unlimited permission to copy, distribute and modify it.
2078 _ACEOF
2079 exit
2080 fi
2081 cat >config.log <<_ACEOF
2082 This file contains any messages produced by compilers while
2083 running configure, to aid debugging if configure makes a mistake.
2084
2085 It was created by wxWidgets $as_me 2.9.1, which was
2086 generated by GNU Autoconf 2.61. Invocation command line was
2087
2088 $ $0 $@
2089
2090 _ACEOF
2091 exec 5>>config.log
2092 {
2093 cat <<_ASUNAME
2094 ## --------- ##
2095 ## Platform. ##
2096 ## --------- ##
2097
2098 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2099 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2100 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2101 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2102 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2103
2104 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2105 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2106
2107 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2108 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2109 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2110 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2111 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2112 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2113 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2114
2115 _ASUNAME
2116
2117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118 for as_dir in $PATH
2119 do
2120 IFS=$as_save_IFS
2121 test -z "$as_dir" && as_dir=.
2122 echo "PATH: $as_dir"
2123 done
2124 IFS=$as_save_IFS
2125
2126 } >&5
2127
2128 cat >&5 <<_ACEOF
2129
2130
2131 ## ----------- ##
2132 ## Core tests. ##
2133 ## ----------- ##
2134
2135 _ACEOF
2136
2137
2138 # Keep a trace of the command line.
2139 # Strip out --no-create and --no-recursion so they do not pile up.
2140 # Strip out --silent because we don't want to record it for future runs.
2141 # Also quote any args containing shell meta-characters.
2142 # Make two passes to allow for proper duplicate-argument suppression.
2143 ac_configure_args=
2144 ac_configure_args0=
2145 ac_configure_args1=
2146 ac_must_keep_next=false
2147 for ac_pass in 1 2
2148 do
2149 for ac_arg
2150 do
2151 case $ac_arg in
2152 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2153 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2154 | -silent | --silent | --silen | --sile | --sil)
2155 continue ;;
2156 *\'*)
2157 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2158 esac
2159 case $ac_pass in
2160 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2161 2)
2162 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2163 if test $ac_must_keep_next = true; then
2164 ac_must_keep_next=false # Got value, back to normal.
2165 else
2166 case $ac_arg in
2167 *=* | --config-cache | -C | -disable-* | --disable-* \
2168 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2169 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2170 | -with-* | --with-* | -without-* | --without-* | --x)
2171 case "$ac_configure_args0 " in
2172 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2173 esac
2174 ;;
2175 -* ) ac_must_keep_next=true ;;
2176 esac
2177 fi
2178 ac_configure_args="$ac_configure_args '$ac_arg'"
2179 ;;
2180 esac
2181 done
2182 done
2183 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2184 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2185
2186 # When interrupted or exit'd, cleanup temporary files, and complete
2187 # config.log. We remove comments because anyway the quotes in there
2188 # would cause problems or look ugly.
2189 # WARNING: Use '\'' to represent an apostrophe within the trap.
2190 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2191 trap 'exit_status=$?
2192 # Save into config.log some information that might help in debugging.
2193 {
2194 echo
2195
2196 cat <<\_ASBOX
2197 ## ---------------- ##
2198 ## Cache variables. ##
2199 ## ---------------- ##
2200 _ASBOX
2201 echo
2202 # The following way of writing the cache mishandles newlines in values,
2203 (
2204 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2205 eval ac_val=\$$ac_var
2206 case $ac_val in #(
2207 *${as_nl}*)
2208 case $ac_var in #(
2209 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2210 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2211 esac
2212 case $ac_var in #(
2213 _ | IFS | as_nl) ;; #(
2214 *) $as_unset $ac_var ;;
2215 esac ;;
2216 esac
2217 done
2218 (set) 2>&1 |
2219 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2220 *${as_nl}ac_space=\ *)
2221 sed -n \
2222 "s/'\''/'\''\\\\'\'''\''/g;
2223 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2224 ;; #(
2225 *)
2226 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2227 ;;
2228 esac |
2229 sort
2230 )
2231 echo
2232
2233 cat <<\_ASBOX
2234 ## ----------------- ##
2235 ## Output variables. ##
2236 ## ----------------- ##
2237 _ASBOX
2238 echo
2239 for ac_var in $ac_subst_vars
2240 do
2241 eval ac_val=\$$ac_var
2242 case $ac_val in
2243 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2244 esac
2245 echo "$ac_var='\''$ac_val'\''"
2246 done | sort
2247 echo
2248
2249 if test -n "$ac_subst_files"; then
2250 cat <<\_ASBOX
2251 ## ------------------- ##
2252 ## File substitutions. ##
2253 ## ------------------- ##
2254 _ASBOX
2255 echo
2256 for ac_var in $ac_subst_files
2257 do
2258 eval ac_val=\$$ac_var
2259 case $ac_val in
2260 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2261 esac
2262 echo "$ac_var='\''$ac_val'\''"
2263 done | sort
2264 echo
2265 fi
2266
2267 if test -s confdefs.h; then
2268 cat <<\_ASBOX
2269 ## ----------- ##
2270 ## confdefs.h. ##
2271 ## ----------- ##
2272 _ASBOX
2273 echo
2274 cat confdefs.h
2275 echo
2276 fi
2277 test "$ac_signal" != 0 &&
2278 echo "$as_me: caught signal $ac_signal"
2279 echo "$as_me: exit $exit_status"
2280 } >&5
2281 rm -f core *.core core.conftest.* &&
2282 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2283 exit $exit_status
2284 ' 0
2285 for ac_signal in 1 2 13 15; do
2286 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2287 done
2288 ac_signal=0
2289
2290 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2291 rm -f -r conftest* confdefs.h
2292
2293 # Predefined preprocessor variables.
2294
2295 cat >>confdefs.h <<_ACEOF
2296 #define PACKAGE_NAME "$PACKAGE_NAME"
2297 _ACEOF
2298
2299
2300 cat >>confdefs.h <<_ACEOF
2301 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2302 _ACEOF
2303
2304
2305 cat >>confdefs.h <<_ACEOF
2306 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2307 _ACEOF
2308
2309
2310 cat >>confdefs.h <<_ACEOF
2311 #define PACKAGE_STRING "$PACKAGE_STRING"
2312 _ACEOF
2313
2314
2315 cat >>confdefs.h <<_ACEOF
2316 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2317 _ACEOF
2318
2319
2320 # Let the site file select an alternate cache file if it wants to.
2321 # Prefer explicitly selected file to automatically selected ones.
2322 if test -n "$CONFIG_SITE"; then
2323 set x "$CONFIG_SITE"
2324 elif test "x$prefix" != xNONE; then
2325 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2326 else
2327 set x "$ac_default_prefix/share/config.site" \
2328 "$ac_default_prefix/etc/config.site"
2329 fi
2330 shift
2331 for ac_site_file
2332 do
2333 if test -r "$ac_site_file"; then
2334 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2335 echo "$as_me: loading site script $ac_site_file" >&6;}
2336 sed 's/^/| /' "$ac_site_file" >&5
2337 . "$ac_site_file"
2338 fi
2339 done
2340
2341 if test -r "$cache_file"; then
2342 # Some versions of bash will fail to source /dev/null (special
2343 # files actually), so we avoid doing that.
2344 if test -f "$cache_file"; then
2345 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2346 echo "$as_me: loading cache $cache_file" >&6;}
2347 case $cache_file in
2348 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2349 *) . "./$cache_file";;
2350 esac
2351 fi
2352 else
2353 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2354 echo "$as_me: creating cache $cache_file" >&6;}
2355 >$cache_file
2356 fi
2357
2358 # Check that the precious variables saved in the cache have kept the same
2359 # value.
2360 ac_cache_corrupted=false
2361 for ac_var in $ac_precious_vars; do
2362 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2363 eval ac_new_set=\$ac_env_${ac_var}_set
2364 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2365 eval ac_new_val=\$ac_env_${ac_var}_value
2366 case $ac_old_set,$ac_new_set in
2367 set,)
2368 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2369 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2370 ac_cache_corrupted=: ;;
2371 ,set)
2372 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2373 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2374 ac_cache_corrupted=: ;;
2375 ,);;
2376 *)
2377 if test "x$ac_old_val" != "x$ac_new_val"; then
2378 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2379 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2380 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2381 echo "$as_me: former value: $ac_old_val" >&2;}
2382 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2383 echo "$as_me: current value: $ac_new_val" >&2;}
2384 ac_cache_corrupted=:
2385 fi;;
2386 esac
2387 # Pass precious variables to config.status.
2388 if test "$ac_new_set" = set; then
2389 case $ac_new_val in
2390 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2391 *) ac_arg=$ac_var=$ac_new_val ;;
2392 esac
2393 case " $ac_configure_args " in
2394 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2395 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2396 esac
2397 fi
2398 done
2399 if $ac_cache_corrupted; then
2400 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2401 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2402 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2403 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2404 { (exit 1); exit 1; }; }
2405 fi
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431 ac_ext=c
2432 ac_cpp='$CPP $CPPFLAGS'
2433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2436
2437
2438
2439
2440
2441 ac_aux_dir=
2442 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2443 if test -f "$ac_dir/install-sh"; then
2444 ac_aux_dir=$ac_dir
2445 ac_install_sh="$ac_aux_dir/install-sh -c"
2446 break
2447 elif test -f "$ac_dir/install.sh"; then
2448 ac_aux_dir=$ac_dir
2449 ac_install_sh="$ac_aux_dir/install.sh -c"
2450 break
2451 elif test -f "$ac_dir/shtool"; then
2452 ac_aux_dir=$ac_dir
2453 ac_install_sh="$ac_aux_dir/shtool install -c"
2454 break
2455 fi
2456 done
2457 if test -z "$ac_aux_dir"; then
2458 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2459 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2460 { (exit 1); exit 1; }; }
2461 fi
2462
2463 # These three variables are undocumented and unsupported,
2464 # and are intended to be withdrawn in a future Autoconf release.
2465 # They can cause serious problems if a builder's source tree is in a directory
2466 # whose full name contains unusual characters.
2467 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2468 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2469 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2470
2471
2472 # Make sure we can run config.sub.
2473 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2474 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2475 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2476 { (exit 1); exit 1; }; }
2477
2478 { echo "$as_me:$LINENO: checking build system type" >&5
2479 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2480 if test "${ac_cv_build+set}" = set; then
2481 echo $ECHO_N "(cached) $ECHO_C" >&6
2482 else
2483 ac_build_alias=$build_alias
2484 test "x$ac_build_alias" = x &&
2485 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2486 test "x$ac_build_alias" = x &&
2487 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2488 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2489 { (exit 1); exit 1; }; }
2490 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2491 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2492 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2493 { (exit 1); exit 1; }; }
2494
2495 fi
2496 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2497 echo "${ECHO_T}$ac_cv_build" >&6; }
2498 case $ac_cv_build in
2499 *-*-*) ;;
2500 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2501 echo "$as_me: error: invalid value of canonical build" >&2;}
2502 { (exit 1); exit 1; }; };;
2503 esac
2504 build=$ac_cv_build
2505 ac_save_IFS=$IFS; IFS='-'
2506 set x $ac_cv_build
2507 shift
2508 build_cpu=$1
2509 build_vendor=$2
2510 shift; shift
2511 # Remember, the first character of IFS is used to create $*,
2512 # except with old shells:
2513 build_os=$*
2514 IFS=$ac_save_IFS
2515 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2516
2517
2518 { echo "$as_me:$LINENO: checking host system type" >&5
2519 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2520 if test "${ac_cv_host+set}" = set; then
2521 echo $ECHO_N "(cached) $ECHO_C" >&6
2522 else
2523 if test "x$host_alias" = x; then
2524 ac_cv_host=$ac_cv_build
2525 else
2526 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2527 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2528 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2529 { (exit 1); exit 1; }; }
2530 fi
2531
2532 fi
2533 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2534 echo "${ECHO_T}$ac_cv_host" >&6; }
2535 case $ac_cv_host in
2536 *-*-*) ;;
2537 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2538 echo "$as_me: error: invalid value of canonical host" >&2;}
2539 { (exit 1); exit 1; }; };;
2540 esac
2541 host=$ac_cv_host
2542 ac_save_IFS=$IFS; IFS='-'
2543 set x $ac_cv_host
2544 shift
2545 host_cpu=$1
2546 host_vendor=$2
2547 shift; shift
2548 # Remember, the first character of IFS is used to create $*,
2549 # except with old shells:
2550 host_os=$*
2551 IFS=$ac_save_IFS
2552 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2553
2554
2555
2556 if test "$cross_compiling" != "no"; then
2557 HOST_PREFIX="${host_alias}-"
2558 HOST_SUFFIX="-$host_alias"
2559 else
2560 HOST_PREFIX=
2561 HOST_SUFFIX=
2562 fi
2563
2564
2565 wx_major_version_number=2
2566 wx_minor_version_number=9
2567 wx_release_number=1
2568 wx_subrelease_number=0
2569
2570 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2571 WX_VERSION=$WX_RELEASE.$wx_release_number
2572 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2573
2574 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2575
2576
2577 wx_top_builddir="`pwd`"
2578
2579
2580
2581
2582 USE_UNIX=1
2583 USE_OS2=0
2584 USE_WIN32=0
2585 USE_DOS=0
2586 USE_BEOS=0
2587 USE_MAC=0
2588
2589 USE_AIX=
2590 USE_BSD= USE_DARWIN= USE_FREEBSD=
2591 USE_GNU= USE_HPUX=
2592 USE_LINUX=
2593 USE_NETBSD=
2594 USE_OPENBSD=
2595 USE_OSF= USE_SGI=
2596 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2597 USE_ULTRIX=
2598 USE_UNIXWARE=
2599
2600 USE_ALPHA=
2601
2602 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2603
2604 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2605
2606 DEFAULT_wxUSE_COCOA=0
2607 DEFAULT_wxUSE_GTK=0
2608 DEFAULT_wxUSE_OSX_CARBON=0
2609 DEFAULT_wxUSE_OSX_COCOA=0
2610 DEFAULT_wxUSE_MGL=0
2611 DEFAULT_wxUSE_MICROWIN=0
2612 DEFAULT_wxUSE_MOTIF=0
2613 DEFAULT_wxUSE_MSW=0
2614 DEFAULT_wxUSE_PM=0
2615 DEFAULT_wxUSE_X11=0
2616 DEFAULT_wxUSE_DFB=0
2617
2618 DEFAULT_DEFAULT_wxUSE_COCOA=0
2619 DEFAULT_DEFAULT_wxUSE_GTK=0
2620 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2621 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2622 DEFAULT_DEFAULT_wxUSE_MGL=0
2623 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2624 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2625 DEFAULT_DEFAULT_wxUSE_MSW=0
2626 DEFAULT_DEFAULT_wxUSE_PM=0
2627 DEFAULT_DEFAULT_wxUSE_X11=0
2628 DEFAULT_DEFAULT_wxUSE_DFB=0
2629
2630 PROGRAM_EXT=
2631 SAMPLES_RPATH_FLAG=
2632 DYLIB_RPATH_INSTALL=
2633 DYLIB_RPATH_POSTLINK=
2634
2635 DEFAULT_STD_FLAG=yes
2636
2637 case "${host}" in
2638 *-hp-hpux* )
2639 USE_HPUX=1
2640 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2641 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2642 cat >>confdefs.h <<\_ACEOF
2643 #define __HPUX__ 1
2644 _ACEOF
2645
2646
2647 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2648 ;;
2649 *-*-linux* )
2650 USE_LINUX=1
2651 cat >>confdefs.h <<\_ACEOF
2652 #define __LINUX__ 1
2653 _ACEOF
2654
2655 TMP=`uname -m`
2656 if test "x$TMP" = "xalpha"; then
2657 USE_ALPHA=1
2658 cat >>confdefs.h <<\_ACEOF
2659 #define __ALPHA__ 1
2660 _ACEOF
2661
2662 fi
2663 DEFAULT_DEFAULT_wxUSE_GTK=1
2664 ;;
2665 *-*-gnu* | *-*-k*bsd*-gnu )
2666 USE_GNU=1
2667 TMP=`uname -m`
2668 if test "x$TMP" = "xalpha"; then
2669 USE_ALPHA=1
2670 cat >>confdefs.h <<\_ACEOF
2671 #define __ALPHA__ 1
2672 _ACEOF
2673
2674 fi
2675 DEFAULT_DEFAULT_wxUSE_GTK=1
2676 ;;
2677 *-*-irix5* | *-*-irix6* )
2678 USE_SGI=1
2679 USE_SVR4=1
2680 cat >>confdefs.h <<\_ACEOF
2681 #define __SGI__ 1
2682 _ACEOF
2683
2684 cat >>confdefs.h <<\_ACEOF
2685 #define __SVR4__ 1
2686 _ACEOF
2687
2688 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2689 ;;
2690 *-*-solaris2* )
2691 USE_SUN=1
2692 USE_SOLARIS=1
2693 USE_SVR4=1
2694 cat >>confdefs.h <<\_ACEOF
2695 #define __SUN__ 1
2696 _ACEOF
2697
2698 cat >>confdefs.h <<\_ACEOF
2699 #define __SOLARIS__ 1
2700 _ACEOF
2701
2702 cat >>confdefs.h <<\_ACEOF
2703 #define __SVR4__ 1
2704 _ACEOF
2705
2706 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2707 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2708 ;;
2709 *-*-sunos4* )
2710 USE_SUN=1
2711 USE_SUNOS=1
2712 USE_BSD=1
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __SUN__ 1
2715 _ACEOF
2716
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __SUNOS__ 1
2719 _ACEOF
2720
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __BSD__ 1
2723 _ACEOF
2724
2725 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2726 ;;
2727 *-*-freebsd*)
2728 USE_BSD=1
2729 USE_FREEBSD=1
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __FREEBSD__ 1
2732 _ACEOF
2733
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __BSD__ 1
2736 _ACEOF
2737
2738 DEFAULT_DEFAULT_wxUSE_GTK=1
2739 ;;
2740 *-*-openbsd*|*-*-mirbsd*)
2741 USE_BSD=1
2742 USE_OPENBSD=1
2743 cat >>confdefs.h <<\_ACEOF
2744 #define __OPENBSD__ 1
2745 _ACEOF
2746
2747 cat >>confdefs.h <<\_ACEOF
2748 #define __BSD__ 1
2749 _ACEOF
2750
2751 DEFAULT_DEFAULT_wxUSE_GTK=1
2752 ;;
2753 *-*-netbsd*)
2754 USE_BSD=1
2755 USE_NETBSD=1
2756 cat >>confdefs.h <<\_ACEOF
2757 #define __NETBSD__ 1
2758 _ACEOF
2759
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __BSD__ 1
2762 _ACEOF
2763
2764 DEFAULT_DEFAULT_wxUSE_GTK=1
2765 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2766
2767 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2768 ;;
2769 *-*-osf* )
2770 USE_ALPHA=1
2771 USE_OSF=1
2772 cat >>confdefs.h <<\_ACEOF
2773 #define __ALPHA__ 1
2774 _ACEOF
2775
2776 cat >>confdefs.h <<\_ACEOF
2777 #define __OSF__ 1
2778 _ACEOF
2779
2780 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2781 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2782 ;;
2783 *-*-dgux5* )
2784 USE_ALPHA=1
2785 USE_SVR4=1
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __ALPHA__ 1
2788 _ACEOF
2789
2790 cat >>confdefs.h <<\_ACEOF
2791 #define __SVR4__ 1
2792 _ACEOF
2793
2794 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2795 ;;
2796 *-*-sysv5* )
2797 USE_SYSV=1
2798 USE_SVR4=1
2799 cat >>confdefs.h <<\_ACEOF
2800 #define __SYSV__ 1
2801 _ACEOF
2802
2803 cat >>confdefs.h <<\_ACEOF
2804 #define __SVR4__ 1
2805 _ACEOF
2806
2807 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2808 ;;
2809 *-*-aix* )
2810 USE_AIX=1
2811 USE_SYSV=1
2812 USE_SVR4=1
2813 cat >>confdefs.h <<\_ACEOF
2814 #define __AIX__ 1
2815 _ACEOF
2816
2817 cat >>confdefs.h <<\_ACEOF
2818 #define __SYSV__ 1
2819 _ACEOF
2820
2821 cat >>confdefs.h <<\_ACEOF
2822 #define __SVR4__ 1
2823 _ACEOF
2824
2825 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2826 ;;
2827
2828 *-*-*UnixWare*)
2829 USE_SYSV=1
2830 USE_SVR4=1
2831 USE_UNIXWARE=1
2832 cat >>confdefs.h <<\_ACEOF
2833 #define __UNIXWARE__ 1
2834 _ACEOF
2835
2836 ;;
2837
2838 *-*-cygwin* | *-*-mingw32* )
2839 PROGRAM_EXT=".exe"
2840 DEFAULT_DEFAULT_wxUSE_MSW=1
2841 ;;
2842
2843 *-pc-msdosdjgpp )
2844 USE_UNIX=0
2845 USE_DOS=1
2846 cat >>confdefs.h <<\_ACEOF
2847 #define __DOS__ 1
2848 _ACEOF
2849
2850 PROGRAM_EXT=".exe"
2851 DEFAULT_DEFAULT_wxUSE_MGL=1
2852 ;;
2853
2854 *-pc-os2_emx | *-pc-os2-emx )
2855 cat >>confdefs.h <<\_ACEOF
2856 #define __EMX__ 1
2857 _ACEOF
2858
2859 USE_OS2=1
2860 cat >>confdefs.h <<\_ACEOF
2861 #define __OS2__ 1
2862 _ACEOF
2863
2864 PROGRAM_EXT=".exe"
2865 DEFAULT_DEFAULT_wxUSE_PM=1
2866 CXX=gcc
2867 LDFLAGS="$LDFLAGS -Zcrtdll"
2868 ac_executable_extensions=".exe"
2869 export ac_executable_extensions
2870 ac_save_IFS="$IFS"
2871 IFS='\\'
2872 ac_TEMP_PATH=
2873 for ac_dir in $PATH; do
2874 IFS=$ac_save_IFS
2875 if test -z "$ac_TEMP_PATH"; then
2876 ac_TEMP_PATH="$ac_dir"
2877 else
2878 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2879 fi
2880 done
2881 export PATH="$ac_TEMP_PATH"
2882 unset ac_TEMP_PATH
2883 DEFAULT_STD_FLAG=no
2884 ;;
2885
2886 *-*-darwin* )
2887 USE_BSD=1
2888 USE_DARWIN=1
2889 cat >>confdefs.h <<\_ACEOF
2890 #define __BSD__ 1
2891 _ACEOF
2892
2893 cat >>confdefs.h <<\_ACEOF
2894 #define __DARWIN__ 1
2895 _ACEOF
2896
2897 cat >>confdefs.h <<\_ACEOF
2898 #define TARGET_CARBON 1
2899 _ACEOF
2900
2901 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2902 ;;
2903
2904 *-*-beos* )
2905 USE_BEOS=1
2906 cat >>confdefs.h <<\_ACEOF
2907 #define __BEOS__ 1
2908 _ACEOF
2909
2910 ;;
2911
2912 *)
2913 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2914 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2915 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2916 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2917
2918 DEFAULT_DEFAULT_wxUSE_X11=1
2919 DEFAULT_wxUSE_SHARED=no
2920 esac
2921
2922
2923
2924 DEFAULT_wxUSE_ALL_FEATURES=yes
2925
2926 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2927 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2928
2929 DEFAULT_wxUSE_DMALLOC=no
2930 DEFAULT_wxUSE_LIBGNOMEVFS=no
2931 DEFAULT_wxUSE_LIBHILDON=no
2932 DEFAULT_wxUSE_LIBHILDON2=no
2933 DEFAULT_wxUSE_LIBMSPACK=no
2934 DEFAULT_wxUSE_LIBSDL=no
2935
2936 DEFAULT_wxUSE_ACCESSIBILITY=no
2937 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2938 DEFAULT_wxUSE_IPV6=no
2939 DEFAULT_wxUSE_GSTREAMER8=no
2940
2941 DEFAULT_wxUSE_UNICODE_UTF8=auto
2942 DEFAULT_wxUSE_OPENGL=auto
2943 DEFAULT_wxUSE_MEDIACTRL=auto
2944 DEFAULT_wxUSE_COMPILER_TLS=auto
2945
2946 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2947
2948 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2949
2950 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2951
2952 DEFAULT_wxUSE_GTK2=yes
2953
2954 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2955
2956
2957
2958
2959
2960 enablestring=disable
2961 defaultval=
2962 if test -z "$defaultval"; then
2963 if test x"$enablestring" = xdisable; then
2964 defaultval=yes
2965 else
2966 defaultval=no
2967 fi
2968 fi
2969
2970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2971 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2972 # Check whether --enable-gui was given.
2973 if test "${enable_gui+set}" = set; then
2974 enableval=$enable_gui;
2975 if test "$enableval" = yes; then
2976 wx_cv_use_gui='wxUSE_GUI=yes'
2977 else
2978 wx_cv_use_gui='wxUSE_GUI=no'
2979 fi
2980
2981 else
2982
2983 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2984
2985 fi
2986
2987
2988 eval "$wx_cv_use_gui"
2989
2990 if test x"$enablestring" = xdisable; then
2991 if test $wxUSE_GUI = no; then
2992 result=yes
2993 else
2994 result=no
2995 fi
2996 else
2997 result=$wxUSE_GUI
2998 fi
2999
3000 { echo "$as_me:$LINENO: result: $result" >&5
3001 echo "${ECHO_T}$result" >&6; }
3002
3003
3004 enablestring=
3005 defaultval=
3006 if test -z "$defaultval"; then
3007 if test x"$enablestring" = xdisable; then
3008 defaultval=yes
3009 else
3010 defaultval=no
3011 fi
3012 fi
3013
3014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3015 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3016 # Check whether --enable-monolithic was given.
3017 if test "${enable_monolithic+set}" = set; then
3018 enableval=$enable_monolithic;
3019 if test "$enableval" = yes; then
3020 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3021 else
3022 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3023 fi
3024
3025 else
3026
3027 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3028
3029 fi
3030
3031
3032 eval "$wx_cv_use_monolithic"
3033
3034 if test x"$enablestring" = xdisable; then
3035 if test $wxUSE_MONOLITHIC = no; then
3036 result=yes
3037 else
3038 result=no
3039 fi
3040 else
3041 result=$wxUSE_MONOLITHIC
3042 fi
3043
3044 { echo "$as_me:$LINENO: result: $result" >&5
3045 echo "${ECHO_T}$result" >&6; }
3046
3047
3048 enablestring=
3049 defaultval=
3050 if test -z "$defaultval"; then
3051 if test x"$enablestring" = xdisable; then
3052 defaultval=yes
3053 else
3054 defaultval=no
3055 fi
3056 fi
3057
3058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3059 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3060 # Check whether --enable-plugins was given.
3061 if test "${enable_plugins+set}" = set; then
3062 enableval=$enable_plugins;
3063 if test "$enableval" = yes; then
3064 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3065 else
3066 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3067 fi
3068
3069 else
3070
3071 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3072
3073 fi
3074
3075
3076 eval "$wx_cv_use_plugins"
3077
3078 if test x"$enablestring" = xdisable; then
3079 if test $wxUSE_PLUGINS = no; then
3080 result=yes
3081 else
3082 result=no
3083 fi
3084 else
3085 result=$wxUSE_PLUGINS
3086 fi
3087
3088 { echo "$as_me:$LINENO: result: $result" >&5
3089 echo "${ECHO_T}$result" >&6; }
3090
3091
3092 withstring=without
3093 defaultval=$wxUSE_ALL_FEATURES
3094 if test -z "$defaultval"; then
3095 if test x"$withstring" = xwithout; then
3096 defaultval=yes
3097 else
3098 defaultval=no
3099 fi
3100 fi
3101 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3102 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3103
3104 # Check whether --with-subdirs was given.
3105 if test "${with_subdirs+set}" = set; then
3106 withval=$with_subdirs;
3107 if test "$withval" = yes; then
3108 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3109 else
3110 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3111 fi
3112
3113 else
3114
3115 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3116
3117 fi
3118
3119
3120 eval "$wx_cv_use_subdirs"
3121
3122 if test x"$withstring" = xwithout; then
3123 if test $wxWITH_SUBDIRS = yes; then
3124 result=no
3125 else
3126 result=yes
3127 fi
3128 else
3129 result=$wxWITH_SUBDIRS
3130 fi
3131
3132 { echo "$as_me:$LINENO: result: $result" >&5
3133 echo "${ECHO_T}$result" >&6; }
3134
3135
3136 # Check whether --with-flavour was given.
3137 if test "${with_flavour+set}" = set; then
3138 withval=$with_flavour; WX_FLAVOUR="$withval"
3139 fi
3140
3141
3142 enablestring=
3143 defaultval=
3144 if test -z "$defaultval"; then
3145 if test x"$enablestring" = xdisable; then
3146 defaultval=yes
3147 else
3148 defaultval=no
3149 fi
3150 fi
3151
3152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3153 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3154 # Check whether --enable-official_build was given.
3155 if test "${enable_official_build+set}" = set; then
3156 enableval=$enable_official_build;
3157 if test "$enableval" = yes; then
3158 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3159 else
3160 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3161 fi
3162
3163 else
3164
3165 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3166
3167 fi
3168
3169
3170 eval "$wx_cv_use_official_build"
3171
3172 if test x"$enablestring" = xdisable; then
3173 if test $wxUSE_OFFICIAL_BUILD = no; then
3174 result=yes
3175 else
3176 result=no
3177 fi
3178 else
3179 result=$wxUSE_OFFICIAL_BUILD
3180 fi
3181
3182 { echo "$as_me:$LINENO: result: $result" >&5
3183 echo "${ECHO_T}$result" >&6; }
3184
3185 # Check whether --enable-vendor was given.
3186 if test "${enable_vendor+set}" = set; then
3187 enableval=$enable_vendor; VENDOR="$enableval"
3188 fi
3189
3190 if test "x$VENDOR" = "x"; then
3191 VENDOR="custom"
3192 fi
3193
3194
3195 enablestring=disable
3196 defaultval=
3197 if test -z "$defaultval"; then
3198 if test x"$enablestring" = xdisable; then
3199 defaultval=yes
3200 else
3201 defaultval=no
3202 fi
3203 fi
3204
3205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3206 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3207 # Check whether --enable-all-features was given.
3208 if test "${enable_all_features+set}" = set; then
3209 enableval=$enable_all_features;
3210 if test "$enableval" = yes; then
3211 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3212 else
3213 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3214 fi
3215
3216 else
3217
3218 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3219
3220 fi
3221
3222
3223 eval "$wx_cv_use_all_features"
3224
3225 if test x"$enablestring" = xdisable; then
3226 if test $wxUSE_ALL_FEATURES = no; then
3227 result=yes
3228 else
3229 result=no
3230 fi
3231 else
3232 result=$wxUSE_ALL_FEATURES
3233 fi
3234
3235 { echo "$as_me:$LINENO: result: $result" >&5
3236 echo "${ECHO_T}$result" >&6; }
3237
3238
3239 if test "$wxUSE_ALL_FEATURES" = "no"; then
3240 DEFAULT_wxUSE_MEDIACTRL=no
3241 fi
3242
3243
3244 if test "$wxUSE_GUI" = "yes"; then
3245
3246
3247 enablestring=
3248 defaultval=
3249 if test -z "$defaultval"; then
3250 if test x"$enablestring" = xdisable; then
3251 defaultval=yes
3252 else
3253 defaultval=no
3254 fi
3255 fi
3256
3257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3258 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3259 # Check whether --enable-universal was given.
3260 if test "${enable_universal+set}" = set; then
3261 enableval=$enable_universal;
3262 if test "$enableval" = yes; then
3263 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3264 else
3265 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3266 fi
3267
3268 else
3269
3270 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3271
3272 fi
3273
3274
3275 eval "$wx_cv_use_universal"
3276
3277 if test x"$enablestring" = xdisable; then
3278 if test $wxUSE_UNIVERSAL = no; then
3279 result=yes
3280 else
3281 result=no
3282 fi
3283 else
3284 result=$wxUSE_UNIVERSAL
3285 fi
3286
3287 { echo "$as_me:$LINENO: result: $result" >&5
3288 echo "${ECHO_T}$result" >&6; }
3289
3290 if test "$wxUSE_UNIVERSAL" = "yes"; then
3291
3292 # Check whether --with-themes was given.
3293 if test "${with_themes+set}" = set; then
3294 withval=$with_themes; wxUNIV_THEMES="$withval"
3295 fi
3296
3297 fi
3298
3299
3300 # Check whether --with-gtk was given.
3301 if test "${with_gtk+set}" = set; then
3302 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3303 fi
3304
3305
3306 # Check whether --with-motif was given.
3307 if test "${with_motif+set}" = set; then
3308 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3309 fi
3310
3311
3312 # Check whether --with-osx_carbon was given.
3313 if test "${with_osx_carbon+set}" = set; then
3314 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3315 fi
3316
3317
3318 # Check whether --with-osx_cocoa was given.
3319 if test "${with_osx_cocoa+set}" = set; then
3320 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3321 fi
3322
3323
3324 # Check whether --with-mac was given.
3325 if test "${with_mac+set}" = set; then
3326 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3327 fi
3328
3329
3330 # Check whether --with-cocoa was given.
3331 if test "${with_cocoa+set}" = set; then
3332 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3333 fi
3334
3335
3336 # Check whether --with-wine was given.
3337 if test "${with_wine+set}" = set; then
3338 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3339 fi
3340
3341
3342 # Check whether --with-msw was given.
3343 if test "${with_msw+set}" = set; then
3344 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3345 fi
3346
3347
3348 # Check whether --with-pm was given.
3349 if test "${with_pm+set}" = set; then
3350 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3351 fi
3352
3353
3354 # Check whether --with-mgl was given.
3355 if test "${with_mgl+set}" = set; then
3356 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3357 fi
3358
3359
3360 # Check whether --with-directfb was given.
3361 if test "${with_directfb+set}" = set; then
3362 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3363 fi
3364
3365
3366 # Check whether --with-microwin was given.
3367 if test "${with_microwin+set}" = set; then
3368 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3369 fi
3370
3371
3372 # Check whether --with-x11 was given.
3373 if test "${with_x11+set}" = set; then
3374 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3375 fi
3376
3377
3378 enablestring=
3379 defaultval=
3380 if test -z "$defaultval"; then
3381 if test x"$enablestring" = xdisable; then
3382 defaultval=yes
3383 else
3384 defaultval=no
3385 fi
3386 fi
3387
3388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3389 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3390 # Check whether --enable-nanox was given.
3391 if test "${enable_nanox+set}" = set; then
3392 enableval=$enable_nanox;
3393 if test "$enableval" = yes; then
3394 wx_cv_use_nanox='wxUSE_NANOX=yes'
3395 else
3396 wx_cv_use_nanox='wxUSE_NANOX=no'
3397 fi
3398
3399 else
3400
3401 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3402
3403 fi
3404
3405
3406 eval "$wx_cv_use_nanox"
3407
3408 if test x"$enablestring" = xdisable; then
3409 if test $wxUSE_NANOX = no; then
3410 result=yes
3411 else
3412 result=no
3413 fi
3414 else
3415 result=$wxUSE_NANOX
3416 fi
3417
3418 { echo "$as_me:$LINENO: result: $result" >&5
3419 echo "${ECHO_T}$result" >&6; }
3420
3421
3422 # Check whether --enable-gtk2 was given.
3423 if test "${enable_gtk2+set}" = set; then
3424 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3425 fi
3426
3427
3428 enablestring=
3429 defaultval=
3430 if test -z "$defaultval"; then
3431 if test x"$enablestring" = xdisable; then
3432 defaultval=yes
3433 else
3434 defaultval=no
3435 fi
3436 fi
3437
3438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3439 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3440 # Check whether --enable-gpe was given.
3441 if test "${enable_gpe+set}" = set; then
3442 enableval=$enable_gpe;
3443 if test "$enableval" = yes; then
3444 wx_cv_use_gpe='wxUSE_GPE=yes'
3445 else
3446 wx_cv_use_gpe='wxUSE_GPE=no'
3447 fi
3448
3449 else
3450
3451 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3452
3453 fi
3454
3455
3456 eval "$wx_cv_use_gpe"
3457
3458 if test x"$enablestring" = xdisable; then
3459 if test $wxUSE_GPE = no; then
3460 result=yes
3461 else
3462 result=no
3463 fi
3464 else
3465 result=$wxUSE_GPE
3466 fi
3467
3468 { echo "$as_me:$LINENO: result: $result" >&5
3469 echo "${ECHO_T}$result" >&6; }
3470
3471
3472
3473 { echo "$as_me:$LINENO: checking for toolkit" >&5
3474 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3475
3476
3477
3478 # In Wine, we need to default to MSW, not GTK or MOTIF
3479 if test "$wxUSE_WINE" = "yes"; then
3480 DEFAULT_DEFAULT_wxUSE_GTK=0
3481 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3482 DEFAULT_DEFAULT_wxUSE_MSW=1
3483 wxUSE_SHARED=no
3484 CC=${CC:-winegcc}
3485 CXX=${CXX:-wineg++}
3486 fi
3487
3488
3489 if test "$wxUSE_GUI" = "yes"; then
3490
3491 if test "$USE_BEOS" = 1; then
3492 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3493 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3494 { (exit 1); exit 1; }; }
3495 fi
3496
3497 if test "$TOOLKIT_GIVEN" = 1; then
3498 for toolkit in $ALL_TOOLKITS; do
3499 var=wxUSE_$toolkit
3500 eval "value=\$${var}"
3501 if test "x$value" = "xno"; then
3502 eval "$var=0"
3503 elif test "x$value" != "x"; then
3504 eval "$var=1"
3505 fi
3506
3507 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3508 eval "wx${toolkit}_VERSION=$value"
3509 fi
3510 done
3511 else
3512 for toolkit in $ALL_TOOLKITS; do
3513 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3514 eval "wxUSE_$toolkit=\$${var}"
3515 done
3516 fi
3517
3518 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3519 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3520 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3521
3522 case "${host}" in
3523 *-pc-os2_emx | *-pc-os2-emx )
3524 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3525 esac
3526
3527 case "$NUM_TOOLKITS" in
3528 1)
3529 ;;
3530 0)
3531 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3532 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3533 { (exit 1); exit 1; }; }
3534 ;;
3535 *)
3536 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3537 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3538 { (exit 1); exit 1; }; }
3539 esac
3540
3541 # to be removed when --disable-gtk2 isn't needed
3542 if test "x$wxUSE_GTK2" = "xyes"; then
3543 wxGTK_VERSION=2
3544 elif test "x$wxUSE_GTK2" = "xno"; then
3545 wxGTK_VERSION=1
3546 fi
3547
3548 for toolkit in $ALL_TOOLKITS; do
3549 var=wxUSE_$toolkit
3550 eval "value=\$${var}"
3551 if test "$value" = 1; then
3552 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3553 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3554 echo "${ECHO_T}$toolkit_echo" >&6; }
3555 fi
3556 done
3557 else
3558 if test "x$host_alias" != "x"; then
3559 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3560 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3561 else
3562 { echo "$as_me:$LINENO: result: base only" >&5
3563 echo "${ECHO_T}base only" >&6; }
3564 fi
3565 fi
3566
3567 wxUSE_MAC=0
3568 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3569 wxUSE_MAC=1
3570 fi
3571
3572
3573
3574 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3575 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3576
3577 # Check whether --with-libpng was given.
3578 if test "${with_libpng+set}" = set; then
3579 withval=$with_libpng;
3580 if test "$withval" = yes; then
3581 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3582 elif test "$withval" = no; then
3583 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3584 elif test "$withval" = sys; then
3585 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3586 elif test "$withval" = builtin; then
3587 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3588 else
3589 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3590 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3591 { (exit 1); exit 1; }; }
3592 fi
3593
3594 else
3595
3596 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3597
3598 fi
3599
3600
3601 eval "$wx_cv_use_libpng"
3602
3603 if test "$wxUSE_LIBPNG" = yes; then
3604 { echo "$as_me:$LINENO: result: yes" >&5
3605 echo "${ECHO_T}yes" >&6; }
3606 elif test "$wxUSE_LIBPNG" = no; then
3607 { echo "$as_me:$LINENO: result: no" >&5
3608 echo "${ECHO_T}no" >&6; }
3609 elif test "$wxUSE_LIBPNG" = sys; then
3610 { echo "$as_me:$LINENO: result: system version" >&5
3611 echo "${ECHO_T}system version" >&6; }
3612 elif test "$wxUSE_LIBPNG" = builtin; then
3613 { echo "$as_me:$LINENO: result: builtin version" >&5
3614 echo "${ECHO_T}builtin version" >&6; }
3615 else
3616 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3617 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3618 { (exit 1); exit 1; }; }
3619 fi
3620
3621
3622 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3623 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3624
3625 # Check whether --with-libjpeg was given.
3626 if test "${with_libjpeg+set}" = set; then
3627 withval=$with_libjpeg;
3628 if test "$withval" = yes; then
3629 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3630 elif test "$withval" = no; then
3631 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3632 elif test "$withval" = sys; then
3633 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3634 elif test "$withval" = builtin; then
3635 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3636 else
3637 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3638 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3639 { (exit 1); exit 1; }; }
3640 fi
3641
3642 else
3643
3644 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3645
3646 fi
3647
3648
3649 eval "$wx_cv_use_libjpeg"
3650
3651 if test "$wxUSE_LIBJPEG" = yes; then
3652 { echo "$as_me:$LINENO: result: yes" >&5
3653 echo "${ECHO_T}yes" >&6; }
3654 elif test "$wxUSE_LIBJPEG" = no; then
3655 { echo "$as_me:$LINENO: result: no" >&5
3656 echo "${ECHO_T}no" >&6; }
3657 elif test "$wxUSE_LIBJPEG" = sys; then
3658 { echo "$as_me:$LINENO: result: system version" >&5
3659 echo "${ECHO_T}system version" >&6; }
3660 elif test "$wxUSE_LIBJPEG" = builtin; then
3661 { echo "$as_me:$LINENO: result: builtin version" >&5
3662 echo "${ECHO_T}builtin version" >&6; }
3663 else
3664 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3665 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3666 { (exit 1); exit 1; }; }
3667 fi
3668
3669
3670 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3671 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3672
3673 # Check whether --with-libtiff was given.
3674 if test "${with_libtiff+set}" = set; then
3675 withval=$with_libtiff;
3676 if test "$withval" = yes; then
3677 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3678 elif test "$withval" = no; then
3679 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3680 elif test "$withval" = sys; then
3681 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3682 elif test "$withval" = builtin; then
3683 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3684 else
3685 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3686 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3687 { (exit 1); exit 1; }; }
3688 fi
3689
3690 else
3691
3692 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3693
3694 fi
3695
3696
3697 eval "$wx_cv_use_libtiff"
3698
3699 if test "$wxUSE_LIBTIFF" = yes; then
3700 { echo "$as_me:$LINENO: result: yes" >&5
3701 echo "${ECHO_T}yes" >&6; }
3702 elif test "$wxUSE_LIBTIFF" = no; then
3703 { echo "$as_me:$LINENO: result: no" >&5
3704 echo "${ECHO_T}no" >&6; }
3705 elif test "$wxUSE_LIBTIFF" = sys; then
3706 { echo "$as_me:$LINENO: result: system version" >&5
3707 echo "${ECHO_T}system version" >&6; }
3708 elif test "$wxUSE_LIBTIFF" = builtin; then
3709 { echo "$as_me:$LINENO: result: builtin version" >&5
3710 echo "${ECHO_T}builtin version" >&6; }
3711 else
3712 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3713 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3714 { (exit 1); exit 1; }; }
3715 fi
3716
3717
3718 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3719 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3720
3721 # Check whether --with-libxpm was given.
3722 if test "${with_libxpm+set}" = set; then
3723 withval=$with_libxpm;
3724 if test "$withval" = yes; then
3725 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3726 elif test "$withval" = no; then
3727 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3728 elif test "$withval" = sys; then
3729 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3730 elif test "$withval" = builtin; then
3731 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3732 else
3733 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3734 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3735 { (exit 1); exit 1; }; }
3736 fi
3737
3738 else
3739
3740 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3741
3742 fi
3743
3744
3745 eval "$wx_cv_use_libxpm"
3746
3747 if test "$wxUSE_LIBXPM" = yes; then
3748 { echo "$as_me:$LINENO: result: yes" >&5
3749 echo "${ECHO_T}yes" >&6; }
3750 elif test "$wxUSE_LIBXPM" = no; then
3751 { echo "$as_me:$LINENO: result: no" >&5
3752 echo "${ECHO_T}no" >&6; }
3753 elif test "$wxUSE_LIBXPM" = sys; then
3754 { echo "$as_me:$LINENO: result: system version" >&5
3755 echo "${ECHO_T}system version" >&6; }
3756 elif test "$wxUSE_LIBXPM" = builtin; then
3757 { echo "$as_me:$LINENO: result: builtin version" >&5
3758 echo "${ECHO_T}builtin version" >&6; }
3759 else
3760 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3761 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3762 { (exit 1); exit 1; }; }
3763 fi
3764
3765
3766 withstring=
3767 defaultval=$wxUSE_ALL_FEATURES
3768 if test -z "$defaultval"; then
3769 if test x"$withstring" = xwithout; then
3770 defaultval=yes
3771 else
3772 defaultval=no
3773 fi
3774 fi
3775 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3776 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3777
3778 # Check whether --with-libiconv was given.
3779 if test "${with_libiconv+set}" = set; then
3780 withval=$with_libiconv;
3781 if test "$withval" = yes; then
3782 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3783 else
3784 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3785 fi
3786
3787 else
3788
3789 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3790
3791 fi
3792
3793
3794 eval "$wx_cv_use_libiconv"
3795
3796 if test x"$withstring" = xwithout; then
3797 if test $wxUSE_LIBICONV = yes; then
3798 result=no
3799 else
3800 result=yes
3801 fi
3802 else
3803 result=$wxUSE_LIBICONV
3804 fi
3805
3806 { echo "$as_me:$LINENO: result: $result" >&5
3807 echo "${ECHO_T}$result" >&6; }
3808
3809
3810 withstring=
3811 defaultval=$wxUSE_ALL_FEATURES
3812 if test -z "$defaultval"; then
3813 if test x"$withstring" = xwithout; then
3814 defaultval=yes
3815 else
3816 defaultval=no
3817 fi
3818 fi
3819 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3820 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3821
3822 # Check whether --with-libmspack was given.
3823 if test "${with_libmspack+set}" = set; then
3824 withval=$with_libmspack;
3825 if test "$withval" = yes; then
3826 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3827 else
3828 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3829 fi
3830
3831 else
3832
3833 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3834
3835 fi
3836
3837
3838 eval "$wx_cv_use_libmspack"
3839
3840 if test x"$withstring" = xwithout; then
3841 if test $wxUSE_LIBMSPACK = yes; then
3842 result=no
3843 else
3844 result=yes
3845 fi
3846 else
3847 result=$wxUSE_LIBMSPACK
3848 fi
3849
3850 { echo "$as_me:$LINENO: result: $result" >&5
3851 echo "${ECHO_T}$result" >&6; }
3852
3853
3854 withstring=without
3855 defaultval=$wxUSE_ALL_FEATURES
3856 if test -z "$defaultval"; then
3857 if test x"$withstring" = xwithout; then
3858 defaultval=yes
3859 else
3860 defaultval=no
3861 fi
3862 fi
3863 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3864 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3865
3866 # Check whether --with-gtkprint was given.
3867 if test "${with_gtkprint+set}" = set; then
3868 withval=$with_gtkprint;
3869 if test "$withval" = yes; then
3870 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3871 else
3872 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3873 fi
3874
3875 else
3876
3877 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3878
3879 fi
3880
3881
3882 eval "$wx_cv_use_gtkprint"
3883
3884 if test x"$withstring" = xwithout; then
3885 if test $wxUSE_GTKPRINT = yes; then
3886 result=no
3887 else
3888 result=yes
3889 fi
3890 else
3891 result=$wxUSE_GTKPRINT
3892 fi
3893
3894 { echo "$as_me:$LINENO: result: $result" >&5
3895 echo "${ECHO_T}$result" >&6; }
3896
3897
3898 withstring=without
3899 defaultval=$wxUSE_ALL_FEATURES
3900 if test -z "$defaultval"; then
3901 if test x"$withstring" = xwithout; then
3902 defaultval=yes
3903 else
3904 defaultval=no
3905 fi
3906 fi
3907 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3908 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3909
3910 # Check whether --with-gnomeprint was given.
3911 if test "${with_gnomeprint+set}" = set; then
3912 withval=$with_gnomeprint;
3913 if test "$withval" = yes; then
3914 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3915 else
3916 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3917 fi
3918
3919 else
3920
3921 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3922
3923 fi
3924
3925
3926 eval "$wx_cv_use_gnomeprint"
3927
3928 if test x"$withstring" = xwithout; then
3929 if test $wxUSE_LIBGNOMEPRINT = yes; then
3930 result=no
3931 else
3932 result=yes
3933 fi
3934 else
3935 result=$wxUSE_LIBGNOMEPRINT
3936 fi
3937
3938 { echo "$as_me:$LINENO: result: $result" >&5
3939 echo "${ECHO_T}$result" >&6; }
3940
3941
3942 withstring=
3943 defaultval=$wxUSE_ALL_FEATURES
3944 if test -z "$defaultval"; then
3945 if test x"$withstring" = xwithout; then
3946 defaultval=yes
3947 else
3948 defaultval=no
3949 fi
3950 fi
3951 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3952 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3953
3954 # Check whether --with-gnomevfs was given.
3955 if test "${with_gnomevfs+set}" = set; then
3956 withval=$with_gnomevfs;
3957 if test "$withval" = yes; then
3958 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3959 else
3960 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3961 fi
3962
3963 else
3964
3965 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3966
3967 fi
3968
3969
3970 eval "$wx_cv_use_gnomevfs"
3971
3972 if test x"$withstring" = xwithout; then
3973 if test $wxUSE_LIBGNOMEVFS = yes; then
3974 result=no
3975 else
3976 result=yes
3977 fi
3978 else
3979 result=$wxUSE_LIBGNOMEVFS
3980 fi
3981
3982 { echo "$as_me:$LINENO: result: $result" >&5
3983 echo "${ECHO_T}$result" >&6; }
3984
3985
3986 withstring=
3987 defaultval=$wxUSE_ALL_FEATURES
3988 if test -z "$defaultval"; then
3989 if test x"$withstring" = xwithout; then
3990 defaultval=yes
3991 else
3992 defaultval=no
3993 fi
3994 fi
3995 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3996 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3997
3998 # Check whether --with-hildon was given.
3999 if test "${with_hildon+set}" = set; then
4000 withval=$with_hildon;
4001 if test "$withval" = yes; then
4002 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4003 else
4004 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4005 fi
4006
4007 else
4008
4009 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4010
4011 fi
4012
4013
4014 eval "$wx_cv_use_hildon"
4015
4016 if test x"$withstring" = xwithout; then
4017 if test $wxUSE_LIBHILDON = yes; then
4018 result=no
4019 else
4020 result=yes
4021 fi
4022 else
4023 result=$wxUSE_LIBHILDON
4024 fi
4025
4026 { echo "$as_me:$LINENO: result: $result" >&5
4027 echo "${ECHO_T}$result" >&6; }
4028
4029
4030 withstring=
4031 defaultval=$wxUSE_ALL_FEATURES
4032 if test -z "$defaultval"; then
4033 if test x"$withstring" = xwithout; then
4034 defaultval=yes
4035 else
4036 defaultval=no
4037 fi
4038 fi
4039 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4040 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4041
4042 # Check whether --with-opengl was given.
4043 if test "${with_opengl+set}" = set; then
4044 withval=$with_opengl;
4045 if test "$withval" = yes; then
4046 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4047 else
4048 wx_cv_use_opengl='wxUSE_OPENGL=no'
4049 fi
4050
4051 else
4052
4053 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4054
4055 fi
4056
4057
4058 eval "$wx_cv_use_opengl"
4059
4060 if test x"$withstring" = xwithout; then
4061 if test $wxUSE_OPENGL = yes; then
4062 result=no
4063 else
4064 result=yes
4065 fi
4066 else
4067 result=$wxUSE_OPENGL
4068 fi
4069
4070 { echo "$as_me:$LINENO: result: $result" >&5
4071 echo "${ECHO_T}$result" >&6; }
4072
4073
4074 fi
4075
4076
4077 withstring=
4078 defaultval=$wxUSE_ALL_FEATURES
4079 if test -z "$defaultval"; then
4080 if test x"$withstring" = xwithout; then
4081 defaultval=yes
4082 else
4083 defaultval=no
4084 fi
4085 fi
4086 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4087 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4088
4089 # Check whether --with-dmalloc was given.
4090 if test "${with_dmalloc+set}" = set; then
4091 withval=$with_dmalloc;
4092 if test "$withval" = yes; then
4093 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4094 else
4095 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4096 fi
4097
4098 else
4099
4100 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4101
4102 fi
4103
4104
4105 eval "$wx_cv_use_dmalloc"
4106
4107 if test x"$withstring" = xwithout; then
4108 if test $wxUSE_DMALLOC = yes; then
4109 result=no
4110 else
4111 result=yes
4112 fi
4113 else
4114 result=$wxUSE_DMALLOC
4115 fi
4116
4117 { echo "$as_me:$LINENO: result: $result" >&5
4118 echo "${ECHO_T}$result" >&6; }
4119
4120
4121 withstring=
4122 defaultval=$wxUSE_ALL_FEATURES
4123 if test -z "$defaultval"; then
4124 if test x"$withstring" = xwithout; then
4125 defaultval=yes
4126 else
4127 defaultval=no
4128 fi
4129 fi
4130 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4131 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4132
4133 # Check whether --with-sdl was given.
4134 if test "${with_sdl+set}" = set; then
4135 withval=$with_sdl;
4136 if test "$withval" = yes; then
4137 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4138 else
4139 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4140 fi
4141
4142 else
4143
4144 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4145
4146 fi
4147
4148
4149 eval "$wx_cv_use_sdl"
4150
4151 if test x"$withstring" = xwithout; then
4152 if test $wxUSE_LIBSDL = yes; then
4153 result=no
4154 else
4155 result=yes
4156 fi
4157 else
4158 result=$wxUSE_LIBSDL
4159 fi
4160
4161 { echo "$as_me:$LINENO: result: $result" >&5
4162 echo "${ECHO_T}$result" >&6; }
4163
4164
4165 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4166 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4167
4168 # Check whether --with-regex was given.
4169 if test "${with_regex+set}" = set; then
4170 withval=$with_regex;
4171 if test "$withval" = yes; then
4172 wx_cv_use_regex='wxUSE_REGEX=yes'
4173 elif test "$withval" = no; then
4174 wx_cv_use_regex='wxUSE_REGEX=no'
4175 elif test "$withval" = sys; then
4176 wx_cv_use_regex='wxUSE_REGEX=sys'
4177 elif test "$withval" = builtin; then
4178 wx_cv_use_regex='wxUSE_REGEX=builtin'
4179 else
4180 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4181 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4182 { (exit 1); exit 1; }; }
4183 fi
4184
4185 else
4186
4187 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4188
4189 fi
4190
4191
4192 eval "$wx_cv_use_regex"
4193
4194 if test "$wxUSE_REGEX" = yes; then
4195 { echo "$as_me:$LINENO: result: yes" >&5
4196 echo "${ECHO_T}yes" >&6; }
4197 elif test "$wxUSE_REGEX" = no; then
4198 { echo "$as_me:$LINENO: result: no" >&5
4199 echo "${ECHO_T}no" >&6; }
4200 elif test "$wxUSE_REGEX" = sys; then
4201 { echo "$as_me:$LINENO: result: system version" >&5
4202 echo "${ECHO_T}system version" >&6; }
4203 elif test "$wxUSE_REGEX" = builtin; then
4204 { echo "$as_me:$LINENO: result: builtin version" >&5
4205 echo "${ECHO_T}builtin version" >&6; }
4206 else
4207 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4208 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4209 { (exit 1); exit 1; }; }
4210 fi
4211
4212
4213 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4214 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4215
4216 # Check whether --with-zlib was given.
4217 if test "${with_zlib+set}" = set; then
4218 withval=$with_zlib;
4219 if test "$withval" = yes; then
4220 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4221 elif test "$withval" = no; then
4222 wx_cv_use_zlib='wxUSE_ZLIB=no'
4223 elif test "$withval" = sys; then
4224 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4225 elif test "$withval" = builtin; then
4226 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4227 else
4228 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4229 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4230 { (exit 1); exit 1; }; }
4231 fi
4232
4233 else
4234
4235 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4236
4237 fi
4238
4239
4240 eval "$wx_cv_use_zlib"
4241
4242 if test "$wxUSE_ZLIB" = yes; then
4243 { echo "$as_me:$LINENO: result: yes" >&5
4244 echo "${ECHO_T}yes" >&6; }
4245 elif test "$wxUSE_ZLIB" = no; then
4246 { echo "$as_me:$LINENO: result: no" >&5
4247 echo "${ECHO_T}no" >&6; }
4248 elif test "$wxUSE_ZLIB" = sys; then
4249 { echo "$as_me:$LINENO: result: system version" >&5
4250 echo "${ECHO_T}system version" >&6; }
4251 elif test "$wxUSE_ZLIB" = builtin; then
4252 { echo "$as_me:$LINENO: result: builtin version" >&5
4253 echo "${ECHO_T}builtin version" >&6; }
4254 else
4255 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4256 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4257 { (exit 1); exit 1; }; }
4258 fi
4259
4260
4261 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4262 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4263
4264 # Check whether --with-expat was given.
4265 if test "${with_expat+set}" = set; then
4266 withval=$with_expat;
4267 if test "$withval" = yes; then
4268 wx_cv_use_expat='wxUSE_EXPAT=yes'
4269 elif test "$withval" = no; then
4270 wx_cv_use_expat='wxUSE_EXPAT=no'
4271 elif test "$withval" = sys; then
4272 wx_cv_use_expat='wxUSE_EXPAT=sys'
4273 elif test "$withval" = builtin; then
4274 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4275 else
4276 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4277 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4278 { (exit 1); exit 1; }; }
4279 fi
4280
4281 else
4282
4283 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4284
4285 fi
4286
4287
4288 eval "$wx_cv_use_expat"
4289
4290 if test "$wxUSE_EXPAT" = yes; then
4291 { echo "$as_me:$LINENO: result: yes" >&5
4292 echo "${ECHO_T}yes" >&6; }
4293 elif test "$wxUSE_EXPAT" = no; then
4294 { echo "$as_me:$LINENO: result: no" >&5
4295 echo "${ECHO_T}no" >&6; }
4296 elif test "$wxUSE_EXPAT" = sys; then
4297 { echo "$as_me:$LINENO: result: system version" >&5
4298 echo "${ECHO_T}system version" >&6; }
4299 elif test "$wxUSE_EXPAT" = builtin; then
4300 { echo "$as_me:$LINENO: result: builtin version" >&5
4301 echo "${ECHO_T}builtin version" >&6; }
4302 else
4303 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4304 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4305 { (exit 1); exit 1; }; }
4306 fi
4307
4308
4309 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4310 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4311
4312 # Check whether --with-macosx-sdk was given.
4313 if test "${with_macosx_sdk+set}" = set; then
4314 withval=$with_macosx_sdk;
4315 wxUSE_MACOSX_SDK=$withval
4316 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4317
4318 fi
4319
4320 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4321 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4322
4323 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4324 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4325
4326 # Check whether --with-macosx-version-min was given.
4327 if test "${with_macosx_version_min+set}" = set; then
4328 withval=$with_macosx_version_min;
4329 wxUSE_MACOSX_VERSION_MIN=$withval
4330 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4331
4332 fi
4333
4334 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4335 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4336
4337
4338 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4339 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4340 # Check whether --enable-debug was given.
4341 if test "${enable_debug+set}" = set; then
4342 enableval=$enable_debug;
4343 if test "$enableval" = yes; then
4344 wxUSE_DEBUG=yes
4345 elif test "$enableval" = no; then
4346 wxUSE_DEBUG=no
4347 elif test "$enableval" = max; then
4348 wxUSE_DEBUG=yes
4349 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4350 else
4351 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4352 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4353 { (exit 1); exit 1; }; }
4354 fi
4355
4356 else
4357 wxUSE_DEBUG=default
4358
4359 fi
4360
4361
4362 case "$wxUSE_DEBUG" in
4363 yes)
4364 DEFAULT_wxUSE_DEBUG_FLAG=yes
4365 DEFAULT_wxUSE_DEBUG_INFO=yes
4366
4367 DEFAULT_wxUSE_OPTIMISE=no
4368 ;;
4369
4370 no)
4371 DEFAULT_wxUSE_DEBUG_FLAG=no
4372 DEFAULT_wxUSE_DEBUG_INFO=no
4373 ;;
4374
4375 default)
4376 DEFAULT_wxUSE_DEBUG_FLAG=yes
4377 DEFAULT_wxUSE_DEBUG_INFO=no
4378 ;;
4379 esac
4380
4381
4382 enablestring=disable
4383 defaultval=
4384 if test -z "$defaultval"; then
4385 if test x"$enablestring" = xdisable; then
4386 defaultval=yes
4387 else
4388 defaultval=no
4389 fi
4390 fi
4391
4392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4393 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4394 # Check whether --enable-debug_flag was given.
4395 if test "${enable_debug_flag+set}" = set; then
4396 enableval=$enable_debug_flag;
4397 if test "$enableval" = yes; then
4398 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4399 else
4400 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4401 fi
4402
4403 else
4404
4405 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4406
4407 fi
4408
4409
4410 eval "$wx_cv_use_debug_flag"
4411
4412 if test x"$enablestring" = xdisable; then
4413 if test $wxUSE_DEBUG_FLAG = no; then
4414 result=yes
4415 else
4416 result=no
4417 fi
4418 else
4419 result=$wxUSE_DEBUG_FLAG
4420 fi
4421
4422 { echo "$as_me:$LINENO: result: $result" >&5
4423 echo "${ECHO_T}$result" >&6; }
4424
4425
4426 enablestring=
4427 defaultval=
4428 if test -z "$defaultval"; then
4429 if test x"$enablestring" = xdisable; then
4430 defaultval=yes
4431 else
4432 defaultval=no
4433 fi
4434 fi
4435
4436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4437 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4438 # Check whether --enable-debug_info was given.
4439 if test "${enable_debug_info+set}" = set; then
4440 enableval=$enable_debug_info;
4441 if test "$enableval" = yes; then
4442 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4443 else
4444 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4445 fi
4446
4447 else
4448
4449 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4450
4451 fi
4452
4453
4454 eval "$wx_cv_use_debug_info"
4455
4456 if test x"$enablestring" = xdisable; then
4457 if test $wxUSE_DEBUG_INFO = no; then
4458 result=yes
4459 else
4460 result=no
4461 fi
4462 else
4463 result=$wxUSE_DEBUG_INFO
4464 fi
4465
4466 { echo "$as_me:$LINENO: result: $result" >&5
4467 echo "${ECHO_T}$result" >&6; }
4468
4469
4470
4471
4472 enablestring=
4473 defaultval=
4474 if test -z "$defaultval"; then
4475 if test x"$enablestring" = xdisable; then
4476 defaultval=yes
4477 else
4478 defaultval=no
4479 fi
4480 fi
4481
4482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4483 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4484 # Check whether --enable-debug_gdb was given.
4485 if test "${enable_debug_gdb+set}" = set; then
4486 enableval=$enable_debug_gdb;
4487 if test "$enableval" = yes; then
4488 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4489 else
4490 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4491 fi
4492
4493 else
4494
4495 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4496
4497 fi
4498
4499
4500 eval "$wx_cv_use_debug_gdb"
4501
4502 if test x"$enablestring" = xdisable; then
4503 if test $wxUSE_DEBUG_GDB = no; then
4504 result=yes
4505 else
4506 result=no
4507 fi
4508 else
4509 result=$wxUSE_DEBUG_GDB
4510 fi
4511
4512 { echo "$as_me:$LINENO: result: $result" >&5
4513 echo "${ECHO_T}$result" >&6; }
4514
4515
4516 enablestring=
4517 defaultval=
4518 if test -z "$defaultval"; then
4519 if test x"$enablestring" = xdisable; then
4520 defaultval=yes
4521 else
4522 defaultval=no
4523 fi
4524 fi
4525
4526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4527 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4528 # Check whether --enable-debug_cntxt was given.
4529 if test "${enable_debug_cntxt+set}" = set; then
4530 enableval=$enable_debug_cntxt;
4531 if test "$enableval" = yes; then
4532 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4533 else
4534 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4535 fi
4536
4537 else
4538
4539 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4540
4541 fi
4542
4543
4544 eval "$wx_cv_use_debug_cntxt"
4545
4546 if test x"$enablestring" = xdisable; then
4547 if test $wxUSE_DEBUG_CONTEXT = no; then
4548 result=yes
4549 else
4550 result=no
4551 fi
4552 else
4553 result=$wxUSE_DEBUG_CONTEXT
4554 fi
4555
4556 { echo "$as_me:$LINENO: result: $result" >&5
4557 echo "${ECHO_T}$result" >&6; }
4558
4559
4560 enablestring=
4561 defaultval=
4562 if test -z "$defaultval"; then
4563 if test x"$enablestring" = xdisable; then
4564 defaultval=yes
4565 else
4566 defaultval=no
4567 fi
4568 fi
4569
4570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4571 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4572 # Check whether --enable-mem_tracing was given.
4573 if test "${enable_mem_tracing+set}" = set; then
4574 enableval=$enable_mem_tracing;
4575 if test "$enableval" = yes; then
4576 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4577 else
4578 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4579 fi
4580
4581 else
4582
4583 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4584
4585 fi
4586
4587
4588 eval "$wx_cv_use_mem_tracing"
4589
4590 if test x"$enablestring" = xdisable; then
4591 if test $wxUSE_MEM_TRACING = no; then
4592 result=yes
4593 else
4594 result=no
4595 fi
4596 else
4597 result=$wxUSE_MEM_TRACING
4598 fi
4599
4600 { echo "$as_me:$LINENO: result: $result" >&5
4601 echo "${ECHO_T}$result" >&6; }
4602
4603
4604
4605
4606 enablestring=disable
4607 defaultval=
4608 if test -z "$defaultval"; then
4609 if test x"$enablestring" = xdisable; then
4610 defaultval=yes
4611 else
4612 defaultval=no
4613 fi
4614 fi
4615
4616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4617 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4618 # Check whether --enable-shared was given.
4619 if test "${enable_shared+set}" = set; then
4620 enableval=$enable_shared;
4621 if test "$enableval" = yes; then
4622 wx_cv_use_shared='wxUSE_SHARED=yes'
4623 else
4624 wx_cv_use_shared='wxUSE_SHARED=no'
4625 fi
4626
4627 else
4628
4629 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4630
4631 fi
4632
4633
4634 eval "$wx_cv_use_shared"
4635
4636 if test x"$enablestring" = xdisable; then
4637 if test $wxUSE_SHARED = no; then
4638 result=yes
4639 else
4640 result=no
4641 fi
4642 else
4643 result=$wxUSE_SHARED
4644 fi
4645
4646 { echo "$as_me:$LINENO: result: $result" >&5
4647 echo "${ECHO_T}$result" >&6; }
4648
4649
4650 enablestring=
4651 defaultval=
4652 if test -z "$defaultval"; then
4653 if test x"$enablestring" = xdisable; then
4654 defaultval=yes
4655 else
4656 defaultval=no
4657 fi
4658 fi
4659
4660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4661 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4662 # Check whether --enable-stl was given.
4663 if test "${enable_stl+set}" = set; then
4664 enableval=$enable_stl;
4665 if test "$enableval" = yes; then
4666 wx_cv_use_stl='wxUSE_STL=yes'
4667 else
4668 wx_cv_use_stl='wxUSE_STL=no'
4669 fi
4670
4671 else
4672
4673 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4674
4675 fi
4676
4677
4678 eval "$wx_cv_use_stl"
4679
4680 if test x"$enablestring" = xdisable; then
4681 if test $wxUSE_STL = no; then
4682 result=yes
4683 else
4684 result=no
4685 fi
4686 else
4687 result=$wxUSE_STL
4688 fi
4689
4690 { echo "$as_me:$LINENO: result: $result" >&5
4691 echo "${ECHO_T}$result" >&6; }
4692
4693
4694 enablestring=
4695 defaultval=
4696 if test -z "$defaultval"; then
4697 if test x"$enablestring" = xdisable; then
4698 defaultval=yes
4699 else
4700 defaultval=no
4701 fi
4702 fi
4703
4704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4705 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4706 # Check whether --enable-std_iostreams was given.
4707 if test "${enable_std_iostreams+set}" = set; then
4708 enableval=$enable_std_iostreams;
4709 if test "$enableval" = yes; then
4710 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4711 else
4712 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4713 fi
4714
4715 else
4716
4717 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4718
4719 fi
4720
4721
4722 eval "$wx_cv_use_std_iostreams"
4723
4724 if test x"$enablestring" = xdisable; then
4725 if test $wxUSE_STD_IOSTREAM = no; then
4726 result=yes
4727 else
4728 result=no
4729 fi
4730 else
4731 result=$wxUSE_STD_IOSTREAM
4732 fi
4733
4734 { echo "$as_me:$LINENO: result: $result" >&5
4735 echo "${ECHO_T}$result" >&6; }
4736
4737
4738 enablestring=
4739 defaultval=
4740 if test -z "$defaultval"; then
4741 if test x"$enablestring" = xdisable; then
4742 defaultval=yes
4743 else
4744 defaultval=no
4745 fi
4746 fi
4747
4748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4749 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4750 # Check whether --enable-std_string was given.
4751 if test "${enable_std_string+set}" = set; then
4752 enableval=$enable_std_string;
4753 if test "$enableval" = yes; then
4754 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4755 else
4756 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4757 fi
4758
4759 else
4760
4761 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4762
4763 fi
4764
4765
4766 eval "$wx_cv_use_std_string"
4767
4768 if test x"$enablestring" = xdisable; then
4769 if test $wxUSE_STD_STRING = no; then
4770 result=yes
4771 else
4772 result=no
4773 fi
4774 else
4775 result=$wxUSE_STD_STRING
4776 fi
4777
4778 { echo "$as_me:$LINENO: result: $result" >&5
4779 echo "${ECHO_T}$result" >&6; }
4780
4781
4782 enablestring=disable
4783 defaultval=
4784 if test -z "$defaultval"; then
4785 if test x"$enablestring" = xdisable; then
4786 defaultval=yes
4787 else
4788 defaultval=no
4789 fi
4790 fi
4791
4792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4793 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4794 # Check whether --enable-unicode was given.
4795 if test "${enable_unicode+set}" = set; then
4796 enableval=$enable_unicode;
4797 if test "$enableval" = yes; then
4798 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4799 else
4800 wx_cv_use_unicode='wxUSE_UNICODE=no'
4801 fi
4802
4803 else
4804
4805 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4806
4807 fi
4808
4809
4810 eval "$wx_cv_use_unicode"
4811
4812 if test x"$enablestring" = xdisable; then
4813 if test $wxUSE_UNICODE = no; then
4814 result=yes
4815 else
4816 result=no
4817 fi
4818 else
4819 result=$wxUSE_UNICODE
4820 fi
4821
4822 { echo "$as_me:$LINENO: result: $result" >&5
4823 echo "${ECHO_T}$result" >&6; }
4824
4825
4826 enablestring=
4827 defaultval=
4828 if test -z "$defaultval"; then
4829 if test x"$enablestring" = xdisable; then
4830 defaultval=yes
4831 else
4832 defaultval=no
4833 fi
4834 fi
4835
4836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4837 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4838 # Check whether --enable-mslu was given.
4839 if test "${enable_mslu+set}" = set; then
4840 enableval=$enable_mslu;
4841 if test "$enableval" = yes; then
4842 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4843 else
4844 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4845 fi
4846
4847 else
4848
4849 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4850
4851 fi
4852
4853
4854 eval "$wx_cv_use_mslu"
4855
4856 if test x"$enablestring" = xdisable; then
4857 if test $wxUSE_UNICODE_MSLU = no; then
4858 result=yes
4859 else
4860 result=no
4861 fi
4862 else
4863 result=$wxUSE_UNICODE_MSLU
4864 fi
4865
4866 { echo "$as_me:$LINENO: result: $result" >&5
4867 echo "${ECHO_T}$result" >&6; }
4868
4869
4870 enablestring=
4871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4872 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4873 # Check whether --enable-utf8 was given.
4874 if test "${enable_utf8+set}" = set; then
4875 enableval=$enable_utf8;
4876 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4877
4878 else
4879
4880 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4881
4882 fi
4883
4884
4885 eval "$wx_cv_use_utf8"
4886
4887 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4888 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4889
4890
4891 enablestring=
4892 defaultval=
4893 if test -z "$defaultval"; then
4894 if test x"$enablestring" = xdisable; then
4895 defaultval=yes
4896 else
4897 defaultval=no
4898 fi
4899 fi
4900
4901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4902 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4903 # Check whether --enable-utf8only was given.
4904 if test "${enable_utf8only+set}" = set; then
4905 enableval=$enable_utf8only;
4906 if test "$enableval" = yes; then
4907 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4908 else
4909 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4910 fi
4911
4912 else
4913
4914 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4915
4916 fi
4917
4918
4919 eval "$wx_cv_use_utf8only"
4920
4921 if test x"$enablestring" = xdisable; then
4922 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4923 result=yes
4924 else
4925 result=no
4926 fi
4927 else
4928 result=$wxUSE_UNICODE_UTF8_LOCALE
4929 fi
4930
4931 { echo "$as_me:$LINENO: result: $result" >&5
4932 echo "${ECHO_T}$result" >&6; }
4933
4934
4935 enablestring=
4936 defaultval=
4937 if test -z "$defaultval"; then
4938 if test x"$enablestring" = xdisable; then
4939 defaultval=yes
4940 else
4941 defaultval=no
4942 fi
4943 fi
4944
4945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4946 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4947 # Check whether --enable-extended_rtti was given.
4948 if test "${enable_extended_rtti+set}" = set; then
4949 enableval=$enable_extended_rtti;
4950 if test "$enableval" = yes; then
4951 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4952 else
4953 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4954 fi
4955
4956 else
4957
4958 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4959
4960 fi
4961
4962
4963 eval "$wx_cv_use_extended_rtti"
4964
4965 if test x"$enablestring" = xdisable; then
4966 if test $wxUSE_EXTENDED_RTTI = no; then
4967 result=yes
4968 else
4969 result=no
4970 fi
4971 else
4972 result=$wxUSE_EXTENDED_RTTI
4973 fi
4974
4975 { echo "$as_me:$LINENO: result: $result" >&5
4976 echo "${ECHO_T}$result" >&6; }
4977
4978 if test "$USE_OS2" = 1; then
4979 DEFAULT_wxUSE_OMF=no
4980
4981 enablestring=
4982 defaultval=
4983 if test -z "$defaultval"; then
4984 if test x"$enablestring" = xdisable; then
4985 defaultval=yes
4986 else
4987 defaultval=no
4988 fi
4989 fi
4990
4991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4992 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4993 # Check whether --enable-omf was given.
4994 if test "${enable_omf+set}" = set; then
4995 enableval=$enable_omf;
4996 if test "$enableval" = yes; then
4997 wx_cv_use_omf='wxUSE_OMF=yes'
4998 else
4999 wx_cv_use_omf='wxUSE_OMF=no'
5000 fi
5001
5002 else
5003
5004 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5005
5006 fi
5007
5008
5009 eval "$wx_cv_use_omf"
5010
5011 if test x"$enablestring" = xdisable; then
5012 if test $wxUSE_OMF = no; then
5013 result=yes
5014 else
5015 result=no
5016 fi
5017 else
5018 result=$wxUSE_OMF
5019 fi
5020
5021 { echo "$as_me:$LINENO: result: $result" >&5
5022 echo "${ECHO_T}$result" >&6; }
5023
5024 fi
5025
5026
5027 enablestring=disable
5028 defaultval=
5029 if test -z "$defaultval"; then
5030 if test x"$enablestring" = xdisable; then
5031 defaultval=yes
5032 else
5033 defaultval=no
5034 fi
5035 fi
5036
5037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5038 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5039 # Check whether --enable-optimise was given.
5040 if test "${enable_optimise+set}" = set; then
5041 enableval=$enable_optimise;
5042 if test "$enableval" = yes; then
5043 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5044 else
5045 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5046 fi
5047
5048 else
5049
5050 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5051
5052 fi
5053
5054
5055 eval "$wx_cv_use_optimise"
5056
5057 if test x"$enablestring" = xdisable; then
5058 if test $wxUSE_OPTIMISE = no; then
5059 result=yes
5060 else
5061 result=no
5062 fi
5063 else
5064 result=$wxUSE_OPTIMISE
5065 fi
5066
5067 { echo "$as_me:$LINENO: result: $result" >&5
5068 echo "${ECHO_T}$result" >&6; }
5069
5070
5071
5072 enablestring=
5073 defaultval=
5074 if test -z "$defaultval"; then
5075 if test x"$enablestring" = xdisable; then
5076 defaultval=yes
5077 else
5078 defaultval=no
5079 fi
5080 fi
5081
5082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5083 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5084 # Check whether --enable-profile was given.
5085 if test "${enable_profile+set}" = set; then
5086 enableval=$enable_profile;
5087 if test "$enableval" = yes; then
5088 wx_cv_use_profile='wxUSE_PROFILE=yes'
5089 else
5090 wx_cv_use_profile='wxUSE_PROFILE=no'
5091 fi
5092
5093 else
5094
5095 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5096
5097 fi
5098
5099
5100 eval "$wx_cv_use_profile"
5101
5102 if test x"$enablestring" = xdisable; then
5103 if test $wxUSE_PROFILE = no; then
5104 result=yes
5105 else
5106 result=no
5107 fi
5108 else
5109 result=$wxUSE_PROFILE
5110 fi
5111
5112 { echo "$as_me:$LINENO: result: $result" >&5
5113 echo "${ECHO_T}$result" >&6; }
5114
5115
5116 enablestring=
5117 defaultval=
5118 if test -z "$defaultval"; then
5119 if test x"$enablestring" = xdisable; then
5120 defaultval=yes
5121 else
5122 defaultval=no
5123 fi
5124 fi
5125
5126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5127 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5128 # Check whether --enable-no_rtti was given.
5129 if test "${enable_no_rtti+set}" = set; then
5130 enableval=$enable_no_rtti;
5131 if test "$enableval" = yes; then
5132 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5133 else
5134 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5135 fi
5136
5137 else
5138
5139 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5140
5141 fi
5142
5143
5144 eval "$wx_cv_use_no_rtti"
5145
5146 if test x"$enablestring" = xdisable; then
5147 if test $wxUSE_NO_RTTI = no; then
5148 result=yes
5149 else
5150 result=no
5151 fi
5152 else
5153 result=$wxUSE_NO_RTTI
5154 fi
5155
5156 { echo "$as_me:$LINENO: result: $result" >&5
5157 echo "${ECHO_T}$result" >&6; }
5158
5159
5160 enablestring=
5161 defaultval=
5162 if test -z "$defaultval"; then
5163 if test x"$enablestring" = xdisable; then
5164 defaultval=yes
5165 else
5166 defaultval=no
5167 fi
5168 fi
5169
5170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5172 # Check whether --enable-no_exceptions was given.
5173 if test "${enable_no_exceptions+set}" = set; then
5174 enableval=$enable_no_exceptions;
5175 if test "$enableval" = yes; then
5176 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5177 else
5178 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5179 fi
5180
5181 else
5182
5183 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5184
5185 fi
5186
5187
5188 eval "$wx_cv_use_no_exceptions"
5189
5190 if test x"$enablestring" = xdisable; then
5191 if test $wxUSE_NO_EXCEPTIONS = no; then
5192 result=yes
5193 else
5194 result=no
5195 fi
5196 else
5197 result=$wxUSE_NO_EXCEPTIONS
5198 fi
5199
5200 { echo "$as_me:$LINENO: result: $result" >&5
5201 echo "${ECHO_T}$result" >&6; }
5202
5203
5204 enablestring=
5205 defaultval=
5206 if test -z "$defaultval"; then
5207 if test x"$enablestring" = xdisable; then
5208 defaultval=yes
5209 else
5210 defaultval=no
5211 fi
5212 fi
5213
5214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5215 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5216 # Check whether --enable-permissive was given.
5217 if test "${enable_permissive+set}" = set; then
5218 enableval=$enable_permissive;
5219 if test "$enableval" = yes; then
5220 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5221 else
5222 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5223 fi
5224
5225 else
5226
5227 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5228
5229 fi
5230
5231
5232 eval "$wx_cv_use_permissive"
5233
5234 if test x"$enablestring" = xdisable; then
5235 if test $wxUSE_PERMISSIVE = no; then
5236 result=yes
5237 else
5238 result=no
5239 fi
5240 else
5241 result=$wxUSE_PERMISSIVE
5242 fi
5243
5244 { echo "$as_me:$LINENO: result: $result" >&5
5245 echo "${ECHO_T}$result" >&6; }
5246
5247
5248 enablestring=
5249 defaultval=
5250 if test -z "$defaultval"; then
5251 if test x"$enablestring" = xdisable; then
5252 defaultval=yes
5253 else
5254 defaultval=no
5255 fi
5256 fi
5257
5258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5259 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5260 # Check whether --enable-no_deps was given.
5261 if test "${enable_no_deps+set}" = set; then
5262 enableval=$enable_no_deps;
5263 if test "$enableval" = yes; then
5264 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5265 else
5266 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5267 fi
5268
5269 else
5270
5271 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5272
5273 fi
5274
5275
5276 eval "$wx_cv_use_no_deps"
5277
5278 if test x"$enablestring" = xdisable; then
5279 if test $wxUSE_NO_DEPS = no; then
5280 result=yes
5281 else
5282 result=no
5283 fi
5284 else
5285 result=$wxUSE_NO_DEPS
5286 fi
5287
5288 { echo "$as_me:$LINENO: result: $result" >&5
5289 echo "${ECHO_T}$result" >&6; }
5290
5291
5292 enablestring=disable
5293 defaultval=
5294 if test -z "$defaultval"; then
5295 if test x"$enablestring" = xdisable; then
5296 defaultval=yes
5297 else
5298 defaultval=no
5299 fi
5300 fi
5301
5302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5303 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5304 # Check whether --enable-vararg_macros was given.
5305 if test "${enable_vararg_macros+set}" = set; then
5306 enableval=$enable_vararg_macros;
5307 if test "$enableval" = yes; then
5308 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5309 else
5310 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5311 fi
5312
5313 else
5314
5315 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5316
5317 fi
5318
5319
5320 eval "$wx_cv_use_vararg_macros"
5321
5322 if test x"$enablestring" = xdisable; then
5323 if test $wxUSE_VARARG_MACROS = no; then
5324 result=yes
5325 else
5326 result=no
5327 fi
5328 else
5329 result=$wxUSE_VARARG_MACROS
5330 fi
5331
5332 { echo "$as_me:$LINENO: result: $result" >&5
5333 echo "${ECHO_T}$result" >&6; }
5334
5335
5336 enablestring=
5337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5338 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5339 # Check whether --enable-universal_binary was given.
5340 if test "${enable_universal_binary+set}" = set; then
5341 enableval=$enable_universal_binary;
5342 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5343
5344 else
5345
5346 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5347
5348 fi
5349
5350
5351 eval "$wx_cv_use_universal_binary"
5352
5353 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5354 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5355
5356
5357
5358 enablestring=
5359 defaultval=
5360 if test -z "$defaultval"; then
5361 if test x"$enablestring" = xdisable; then
5362 defaultval=yes
5363 else
5364 defaultval=no
5365 fi
5366 fi
5367
5368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5369 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5370 # Check whether --enable-compat26 was given.
5371 if test "${enable_compat26+set}" = set; then
5372 enableval=$enable_compat26;
5373 if test "$enableval" = yes; then
5374 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5375 else
5376 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5377 fi
5378
5379 else
5380
5381 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5382
5383 fi
5384
5385
5386 eval "$wx_cv_use_compat26"
5387
5388 if test x"$enablestring" = xdisable; then
5389 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5390 result=yes
5391 else
5392 result=no
5393 fi
5394 else
5395 result=$WXWIN_COMPATIBILITY_2_6
5396 fi
5397
5398 { echo "$as_me:$LINENO: result: $result" >&5
5399 echo "${ECHO_T}$result" >&6; }
5400
5401
5402 enablestring=disable
5403 defaultval=
5404 if test -z "$defaultval"; then
5405 if test x"$enablestring" = xdisable; then
5406 defaultval=yes
5407 else
5408 defaultval=no
5409 fi
5410 fi
5411
5412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5413 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5414 # Check whether --enable-compat28 was given.
5415 if test "${enable_compat28+set}" = set; then
5416 enableval=$enable_compat28;
5417 if test "$enableval" = yes; then
5418 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5419 else
5420 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5421 fi
5422
5423 else
5424
5425 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5426
5427 fi
5428
5429
5430 eval "$wx_cv_use_compat28"
5431
5432 if test x"$enablestring" = xdisable; then
5433 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5434 result=yes
5435 else
5436 result=no
5437 fi
5438 else
5439 result=$WXWIN_COMPATIBILITY_2_8
5440 fi
5441
5442 { echo "$as_me:$LINENO: result: $result" >&5
5443 echo "${ECHO_T}$result" >&6; }
5444
5445
5446
5447 enablestring=disable
5448 defaultval=
5449 if test -z "$defaultval"; then
5450 if test x"$enablestring" = xdisable; then
5451 defaultval=yes
5452 else
5453 defaultval=no
5454 fi
5455 fi
5456
5457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5458 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5459 # Check whether --enable-rpath was given.
5460 if test "${enable_rpath+set}" = set; then
5461 enableval=$enable_rpath;
5462 if test "$enableval" = yes; then
5463 wx_cv_use_rpath='wxUSE_RPATH=yes'
5464 else
5465 wx_cv_use_rpath='wxUSE_RPATH=no'
5466 fi
5467
5468 else
5469
5470 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5471
5472 fi
5473
5474
5475 eval "$wx_cv_use_rpath"
5476
5477 if test x"$enablestring" = xdisable; then
5478 if test $wxUSE_RPATH = no; then
5479 result=yes
5480 else
5481 result=no
5482 fi
5483 else
5484 result=$wxUSE_RPATH
5485 fi
5486
5487 { echo "$as_me:$LINENO: result: $result" >&5
5488 echo "${ECHO_T}$result" >&6; }
5489
5490
5491
5492 enablestring=
5493 defaultval=
5494 if test -z "$defaultval"; then
5495 if test x"$enablestring" = xdisable; then
5496 defaultval=yes
5497 else
5498 defaultval=no
5499 fi
5500 fi
5501
5502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5503 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5504 # Check whether --enable-objc_uniquifying was given.
5505 if test "${enable_objc_uniquifying+set}" = set; then
5506 enableval=$enable_objc_uniquifying;
5507 if test "$enableval" = yes; then
5508 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5509 else
5510 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5511 fi
5512
5513 else
5514
5515 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5516
5517 fi
5518
5519
5520 eval "$wx_cv_use_objc_uniquifying"
5521
5522 if test x"$enablestring" = xdisable; then
5523 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5524 result=yes
5525 else
5526 result=no
5527 fi
5528 else
5529 result=$wxUSE_OBJC_UNIQUIFYING
5530 fi
5531
5532 { echo "$as_me:$LINENO: result: $result" >&5
5533 echo "${ECHO_T}$result" >&6; }
5534
5535
5536
5537 enablestring=disable
5538 defaultval=
5539 if test -z "$defaultval"; then
5540 if test x"$enablestring" = xdisable; then
5541 defaultval=yes
5542 else
5543 defaultval=no
5544 fi
5545 fi
5546
5547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5548 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5549 # Check whether --enable-visibility was given.
5550 if test "${enable_visibility+set}" = set; then
5551 enableval=$enable_visibility;
5552 if test "$enableval" = yes; then
5553 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5554 else
5555 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5556 fi
5557
5558 else
5559
5560 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5561
5562 fi
5563
5564
5565 eval "$wx_cv_use_visibility"
5566
5567 if test x"$enablestring" = xdisable; then
5568 if test $wxUSE_VISIBILITY = no; then
5569 result=yes
5570 else
5571 result=no
5572 fi
5573 else
5574 result=$wxUSE_VISIBILITY
5575 fi
5576
5577 { echo "$as_me:$LINENO: result: $result" >&5
5578 echo "${ECHO_T}$result" >&6; }
5579
5580
5581 enablestring=disable
5582 defaultval=
5583 if test -z "$defaultval"; then
5584 if test x"$enablestring" = xdisable; then
5585 defaultval=yes
5586 else
5587 defaultval=no
5588 fi
5589 fi
5590
5591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5592 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5593 # Check whether --enable-tls was given.
5594 if test "${enable_tls+set}" = set; then
5595 enableval=$enable_tls;
5596 if test "$enableval" = yes; then
5597 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5598 else
5599 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5600 fi
5601
5602 else
5603
5604 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5605
5606 fi
5607
5608
5609 eval "$wx_cv_use_tls"
5610
5611 if test x"$enablestring" = xdisable; then
5612 if test $wxUSE_COMPILER_TLS = no; then
5613 result=yes
5614 else
5615 result=no
5616 fi
5617 else
5618 result=$wxUSE_COMPILER_TLS
5619 fi
5620
5621 { echo "$as_me:$LINENO: result: $result" >&5
5622 echo "${ECHO_T}$result" >&6; }
5623
5624
5625
5626
5627 enablestring=
5628 defaultval=$wxUSE_ALL_FEATURES
5629 if test -z "$defaultval"; then
5630 if test x"$enablestring" = xdisable; then
5631 defaultval=yes
5632 else
5633 defaultval=no
5634 fi
5635 fi
5636
5637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5638 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5639 # Check whether --enable-intl was given.
5640 if test "${enable_intl+set}" = set; then
5641 enableval=$enable_intl;
5642 if test "$enableval" = yes; then
5643 wx_cv_use_intl='wxUSE_INTL=yes'
5644 else
5645 wx_cv_use_intl='wxUSE_INTL=no'
5646 fi
5647
5648 else
5649
5650 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5651
5652 fi
5653
5654
5655 eval "$wx_cv_use_intl"
5656
5657 if test x"$enablestring" = xdisable; then
5658 if test $wxUSE_INTL = no; then
5659 result=yes
5660 else
5661 result=no
5662 fi
5663 else
5664 result=$wxUSE_INTL
5665 fi
5666
5667 { echo "$as_me:$LINENO: result: $result" >&5
5668 echo "${ECHO_T}$result" >&6; }
5669
5670
5671 enablestring=
5672 defaultval=$wxUSE_ALL_FEATURES
5673 if test -z "$defaultval"; then
5674 if test x"$enablestring" = xdisable; then
5675 defaultval=yes
5676 else
5677 defaultval=no
5678 fi
5679 fi
5680
5681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5683 # Check whether --enable-xlocale was given.
5684 if test "${enable_xlocale+set}" = set; then
5685 enableval=$enable_xlocale;
5686 if test "$enableval" = yes; then
5687 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5688 else
5689 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5690 fi
5691
5692 else
5693
5694 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5695
5696 fi
5697
5698
5699 eval "$wx_cv_use_xlocale"
5700
5701 if test x"$enablestring" = xdisable; then
5702 if test $wxUSE_XLOCALE = no; then
5703 result=yes
5704 else
5705 result=no
5706 fi
5707 else
5708 result=$wxUSE_XLOCALE
5709 fi
5710
5711 { echo "$as_me:$LINENO: result: $result" >&5
5712 echo "${ECHO_T}$result" >&6; }
5713
5714
5715 enablestring=
5716 defaultval=$wxUSE_ALL_FEATURES
5717 if test -z "$defaultval"; then
5718 if test x"$enablestring" = xdisable; then
5719 defaultval=yes
5720 else
5721 defaultval=no
5722 fi
5723 fi
5724
5725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5726 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5727 # Check whether --enable-config was given.
5728 if test "${enable_config+set}" = set; then
5729 enableval=$enable_config;
5730 if test "$enableval" = yes; then
5731 wx_cv_use_config='wxUSE_CONFIG=yes'
5732 else
5733 wx_cv_use_config='wxUSE_CONFIG=no'
5734 fi
5735
5736 else
5737
5738 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5739
5740 fi
5741
5742
5743 eval "$wx_cv_use_config"
5744
5745 if test x"$enablestring" = xdisable; then
5746 if test $wxUSE_CONFIG = no; then
5747 result=yes
5748 else
5749 result=no
5750 fi
5751 else
5752 result=$wxUSE_CONFIG
5753 fi
5754
5755 { echo "$as_me:$LINENO: result: $result" >&5
5756 echo "${ECHO_T}$result" >&6; }
5757
5758
5759
5760 enablestring=
5761 defaultval=$wxUSE_ALL_FEATURES
5762 if test -z "$defaultval"; then
5763 if test x"$enablestring" = xdisable; then
5764 defaultval=yes
5765 else
5766 defaultval=no
5767 fi
5768 fi
5769
5770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5771 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5772 # Check whether --enable-protocols was given.
5773 if test "${enable_protocols+set}" = set; then
5774 enableval=$enable_protocols;
5775 if test "$enableval" = yes; then
5776 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5777 else
5778 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5779 fi
5780
5781 else
5782
5783 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5784
5785 fi
5786
5787
5788 eval "$wx_cv_use_protocols"
5789
5790 if test x"$enablestring" = xdisable; then
5791 if test $wxUSE_PROTOCOL = no; then
5792 result=yes
5793 else
5794 result=no
5795 fi
5796 else
5797 result=$wxUSE_PROTOCOL
5798 fi
5799
5800 { echo "$as_me:$LINENO: result: $result" >&5
5801 echo "${ECHO_T}$result" >&6; }
5802
5803
5804 enablestring=
5805 defaultval=$wxUSE_ALL_FEATURES
5806 if test -z "$defaultval"; then
5807 if test x"$enablestring" = xdisable; then
5808 defaultval=yes
5809 else
5810 defaultval=no
5811 fi
5812 fi
5813
5814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5815 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5816 # Check whether --enable-ftp was given.
5817 if test "${enable_ftp+set}" = set; then
5818 enableval=$enable_ftp;
5819 if test "$enableval" = yes; then
5820 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5821 else
5822 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5823 fi
5824
5825 else
5826
5827 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5828
5829 fi
5830
5831
5832 eval "$wx_cv_use_ftp"
5833
5834 if test x"$enablestring" = xdisable; then
5835 if test $wxUSE_PROTOCOL_FTP = no; then
5836 result=yes
5837 else
5838 result=no
5839 fi
5840 else
5841 result=$wxUSE_PROTOCOL_FTP
5842 fi
5843
5844 { echo "$as_me:$LINENO: result: $result" >&5
5845 echo "${ECHO_T}$result" >&6; }
5846
5847
5848 enablestring=
5849 defaultval=$wxUSE_ALL_FEATURES
5850 if test -z "$defaultval"; then
5851 if test x"$enablestring" = xdisable; then
5852 defaultval=yes
5853 else
5854 defaultval=no
5855 fi
5856 fi
5857
5858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5859 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5860 # Check whether --enable-http was given.
5861 if test "${enable_http+set}" = set; then
5862 enableval=$enable_http;
5863 if test "$enableval" = yes; then
5864 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5865 else
5866 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5867 fi
5868
5869 else
5870
5871 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5872
5873 fi
5874
5875
5876 eval "$wx_cv_use_http"
5877
5878 if test x"$enablestring" = xdisable; then
5879 if test $wxUSE_PROTOCOL_HTTP = no; then
5880 result=yes
5881 else
5882 result=no
5883 fi
5884 else
5885 result=$wxUSE_PROTOCOL_HTTP
5886 fi
5887
5888 { echo "$as_me:$LINENO: result: $result" >&5
5889 echo "${ECHO_T}$result" >&6; }
5890
5891
5892 enablestring=
5893 defaultval=$wxUSE_ALL_FEATURES
5894 if test -z "$defaultval"; then
5895 if test x"$enablestring" = xdisable; then
5896 defaultval=yes
5897 else
5898 defaultval=no
5899 fi
5900 fi
5901
5902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5903 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5904 # Check whether --enable-fileproto was given.
5905 if test "${enable_fileproto+set}" = set; then
5906 enableval=$enable_fileproto;
5907 if test "$enableval" = yes; then
5908 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5909 else
5910 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5911 fi
5912
5913 else
5914
5915 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5916
5917 fi
5918
5919
5920 eval "$wx_cv_use_fileproto"
5921
5922 if test x"$enablestring" = xdisable; then
5923 if test $wxUSE_PROTOCOL_FILE = no; then
5924 result=yes
5925 else
5926 result=no
5927 fi
5928 else
5929 result=$wxUSE_PROTOCOL_FILE
5930 fi
5931
5932 { echo "$as_me:$LINENO: result: $result" >&5
5933 echo "${ECHO_T}$result" >&6; }
5934
5935
5936 enablestring=
5937 defaultval=$wxUSE_ALL_FEATURES
5938 if test -z "$defaultval"; then
5939 if test x"$enablestring" = xdisable; then
5940 defaultval=yes
5941 else
5942 defaultval=no
5943 fi
5944 fi
5945
5946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5947 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5948 # Check whether --enable-sockets was given.
5949 if test "${enable_sockets+set}" = set; then
5950 enableval=$enable_sockets;
5951 if test "$enableval" = yes; then
5952 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5953 else
5954 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5955 fi
5956
5957 else
5958
5959 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5960
5961 fi
5962
5963
5964 eval "$wx_cv_use_sockets"
5965
5966 if test x"$enablestring" = xdisable; then
5967 if test $wxUSE_SOCKETS = no; then
5968 result=yes
5969 else
5970 result=no
5971 fi
5972 else
5973 result=$wxUSE_SOCKETS
5974 fi
5975
5976 { echo "$as_me:$LINENO: result: $result" >&5
5977 echo "${ECHO_T}$result" >&6; }
5978
5979
5980 enablestring=
5981 defaultval=$wxUSE_ALL_FEATURES
5982 if test -z "$defaultval"; then
5983 if test x"$enablestring" = xdisable; then
5984 defaultval=yes
5985 else
5986 defaultval=no
5987 fi
5988 fi
5989
5990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5992 # Check whether --enable-ipv6 was given.
5993 if test "${enable_ipv6+set}" = set; then
5994 enableval=$enable_ipv6;
5995 if test "$enableval" = yes; then
5996 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5997 else
5998 wx_cv_use_ipv6='wxUSE_IPV6=no'
5999 fi
6000
6001 else
6002
6003 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6004
6005 fi
6006
6007
6008 eval "$wx_cv_use_ipv6"
6009
6010 if test x"$enablestring" = xdisable; then
6011 if test $wxUSE_IPV6 = no; then
6012 result=yes
6013 else
6014 result=no
6015 fi
6016 else
6017 result=$wxUSE_IPV6
6018 fi
6019
6020 { echo "$as_me:$LINENO: result: $result" >&5
6021 echo "${ECHO_T}$result" >&6; }
6022
6023
6024 enablestring=
6025 defaultval=$wxUSE_ALL_FEATURES
6026 if test -z "$defaultval"; then
6027 if test x"$enablestring" = xdisable; then
6028 defaultval=yes
6029 else
6030 defaultval=no
6031 fi
6032 fi
6033
6034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6035 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6036 # Check whether --enable-ole was given.
6037 if test "${enable_ole+set}" = set; then
6038 enableval=$enable_ole;
6039 if test "$enableval" = yes; then
6040 wx_cv_use_ole='wxUSE_OLE=yes'
6041 else
6042 wx_cv_use_ole='wxUSE_OLE=no'
6043 fi
6044
6045 else
6046
6047 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6048
6049 fi
6050
6051
6052 eval "$wx_cv_use_ole"
6053
6054 if test x"$enablestring" = xdisable; then
6055 if test $wxUSE_OLE = no; then
6056 result=yes
6057 else
6058 result=no
6059 fi
6060 else
6061 result=$wxUSE_OLE
6062 fi
6063
6064 { echo "$as_me:$LINENO: result: $result" >&5
6065 echo "${ECHO_T}$result" >&6; }
6066
6067
6068 enablestring=
6069 defaultval=$wxUSE_ALL_FEATURES
6070 if test -z "$defaultval"; then
6071 if test x"$enablestring" = xdisable; then
6072 defaultval=yes
6073 else
6074 defaultval=no
6075 fi
6076 fi
6077
6078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6079 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6080 # Check whether --enable-dataobj was given.
6081 if test "${enable_dataobj+set}" = set; then
6082 enableval=$enable_dataobj;
6083 if test "$enableval" = yes; then
6084 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6085 else
6086 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6087 fi
6088
6089 else
6090
6091 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6092
6093 fi
6094
6095
6096 eval "$wx_cv_use_dataobj"
6097
6098 if test x"$enablestring" = xdisable; then
6099 if test $wxUSE_DATAOBJ = no; then
6100 result=yes
6101 else
6102 result=no
6103 fi
6104 else
6105 result=$wxUSE_DATAOBJ
6106 fi
6107
6108 { echo "$as_me:$LINENO: result: $result" >&5
6109 echo "${ECHO_T}$result" >&6; }
6110
6111
6112
6113 enablestring=
6114 defaultval=$wxUSE_ALL_FEATURES
6115 if test -z "$defaultval"; then
6116 if test x"$enablestring" = xdisable; then
6117 defaultval=yes
6118 else
6119 defaultval=no
6120 fi
6121 fi
6122
6123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6124 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6125 # Check whether --enable-ipc was given.
6126 if test "${enable_ipc+set}" = set; then
6127 enableval=$enable_ipc;
6128 if test "$enableval" = yes; then
6129 wx_cv_use_ipc='wxUSE_IPC=yes'
6130 else
6131 wx_cv_use_ipc='wxUSE_IPC=no'
6132 fi
6133
6134 else
6135
6136 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6137
6138 fi
6139
6140
6141 eval "$wx_cv_use_ipc"
6142
6143 if test x"$enablestring" = xdisable; then
6144 if test $wxUSE_IPC = no; then
6145 result=yes
6146 else
6147 result=no
6148 fi
6149 else
6150 result=$wxUSE_IPC
6151 fi
6152
6153 { echo "$as_me:$LINENO: result: $result" >&5
6154 echo "${ECHO_T}$result" >&6; }
6155
6156
6157
6158 enablestring=
6159 defaultval=$wxUSE_ALL_FEATURES
6160 if test -z "$defaultval"; then
6161 if test x"$enablestring" = xdisable; then
6162 defaultval=yes
6163 else
6164 defaultval=no
6165 fi
6166 fi
6167
6168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6169 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6170 # Check whether --enable-baseevtloop was given.
6171 if test "${enable_baseevtloop+set}" = set; then
6172 enableval=$enable_baseevtloop;
6173 if test "$enableval" = yes; then
6174 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6175 else
6176 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6177 fi
6178
6179 else
6180
6181 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6182
6183 fi
6184
6185
6186 eval "$wx_cv_use_baseevtloop"
6187
6188 if test x"$enablestring" = xdisable; then
6189 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6190 result=yes
6191 else
6192 result=no
6193 fi
6194 else
6195 result=$wxUSE_CONSOLE_EVENTLOOP
6196 fi
6197
6198 { echo "$as_me:$LINENO: result: $result" >&5
6199 echo "${ECHO_T}$result" >&6; }
6200
6201
6202 enablestring=
6203 defaultval=$wxUSE_ALL_FEATURES
6204 if test -z "$defaultval"; then
6205 if test x"$enablestring" = xdisable; then
6206 defaultval=yes
6207 else
6208 defaultval=no
6209 fi
6210 fi
6211
6212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6213 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6214 # Check whether --enable-epollloop was given.
6215 if test "${enable_epollloop+set}" = set; then
6216 enableval=$enable_epollloop;
6217 if test "$enableval" = yes; then
6218 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6219 else
6220 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6221 fi
6222
6223 else
6224
6225 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6226
6227 fi
6228
6229
6230 eval "$wx_cv_use_epollloop"
6231
6232 if test x"$enablestring" = xdisable; then
6233 if test $wxUSE_EPOLL_DISPATCHER = no; then
6234 result=yes
6235 else
6236 result=no
6237 fi
6238 else
6239 result=$wxUSE_EPOLL_DISPATCHER
6240 fi
6241
6242 { echo "$as_me:$LINENO: result: $result" >&5
6243 echo "${ECHO_T}$result" >&6; }
6244
6245
6246 enablestring=
6247 defaultval=$wxUSE_ALL_FEATURES
6248 if test -z "$defaultval"; then
6249 if test x"$enablestring" = xdisable; then
6250 defaultval=yes
6251 else
6252 defaultval=no
6253 fi
6254 fi
6255
6256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6257 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6258 # Check whether --enable-selectloop was given.
6259 if test "${enable_selectloop+set}" = set; then
6260 enableval=$enable_selectloop;
6261 if test "$enableval" = yes; then
6262 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6263 else
6264 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6265 fi
6266
6267 else
6268
6269 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6270
6271 fi
6272
6273
6274 eval "$wx_cv_use_selectloop"
6275
6276 if test x"$enablestring" = xdisable; then
6277 if test $wxUSE_SELECT_DISPATCHER = no; then
6278 result=yes
6279 else
6280 result=no
6281 fi
6282 else
6283 result=$wxUSE_SELECT_DISPATCHER
6284 fi
6285
6286 { echo "$as_me:$LINENO: result: $result" >&5
6287 echo "${ECHO_T}$result" >&6; }
6288
6289
6290
6291 enablestring=
6292 defaultval=$wxUSE_ALL_FEATURES
6293 if test -z "$defaultval"; then
6294 if test x"$enablestring" = xdisable; then
6295 defaultval=yes
6296 else
6297 defaultval=no
6298 fi
6299 fi
6300
6301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6302 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6303 # Check whether --enable-any was given.
6304 if test "${enable_any+set}" = set; then
6305 enableval=$enable_any;
6306 if test "$enableval" = yes; then
6307 wx_cv_use_any='wxUSE_ANY=yes'
6308 else
6309 wx_cv_use_any='wxUSE_ANY=no'
6310 fi
6311
6312 else
6313
6314 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6315
6316 fi
6317
6318
6319 eval "$wx_cv_use_any"
6320
6321 if test x"$enablestring" = xdisable; then
6322 if test $wxUSE_ANY = no; then
6323 result=yes
6324 else
6325 result=no
6326 fi
6327 else
6328 result=$wxUSE_ANY
6329 fi
6330
6331 { echo "$as_me:$LINENO: result: $result" >&5
6332 echo "${ECHO_T}$result" >&6; }
6333
6334
6335 enablestring=
6336 defaultval=$wxUSE_ALL_FEATURES
6337 if test -z "$defaultval"; then
6338 if test x"$enablestring" = xdisable; then
6339 defaultval=yes
6340 else
6341 defaultval=no
6342 fi
6343 fi
6344
6345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6346 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6347 # Check whether --enable-apple_ieee was given.
6348 if test "${enable_apple_ieee+set}" = set; then
6349 enableval=$enable_apple_ieee;
6350 if test "$enableval" = yes; then
6351 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6352 else
6353 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6354 fi
6355
6356 else
6357
6358 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6359
6360 fi
6361
6362
6363 eval "$wx_cv_use_apple_ieee"
6364
6365 if test x"$enablestring" = xdisable; then
6366 if test $wxUSE_APPLE_IEEE = no; then
6367 result=yes
6368 else
6369 result=no
6370 fi
6371 else
6372 result=$wxUSE_APPLE_IEEE
6373 fi
6374
6375 { echo "$as_me:$LINENO: result: $result" >&5
6376 echo "${ECHO_T}$result" >&6; }
6377
6378
6379 enablestring=
6380 defaultval=$wxUSE_ALL_FEATURES
6381 if test -z "$defaultval"; then
6382 if test x"$enablestring" = xdisable; then
6383 defaultval=yes
6384 else
6385 defaultval=no
6386 fi
6387 fi
6388
6389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6390 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6391 # Check whether --enable-arcstream was given.
6392 if test "${enable_arcstream+set}" = set; then
6393 enableval=$enable_arcstream;
6394 if test "$enableval" = yes; then
6395 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6396 else
6397 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6398 fi
6399
6400 else
6401
6402 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6403
6404 fi
6405
6406
6407 eval "$wx_cv_use_arcstream"
6408
6409 if test x"$enablestring" = xdisable; then
6410 if test $wxUSE_ARCHIVE_STREAMS = no; then
6411 result=yes
6412 else
6413 result=no
6414 fi
6415 else
6416 result=$wxUSE_ARCHIVE_STREAMS
6417 fi
6418
6419 { echo "$as_me:$LINENO: result: $result" >&5
6420 echo "${ECHO_T}$result" >&6; }
6421
6422
6423 enablestring=
6424 defaultval=$wxUSE_ALL_FEATURES
6425 if test -z "$defaultval"; then
6426 if test x"$enablestring" = xdisable; then
6427 defaultval=yes
6428 else
6429 defaultval=no
6430 fi
6431 fi
6432
6433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6434 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6435 # Check whether --enable-base64 was given.
6436 if test "${enable_base64+set}" = set; then
6437 enableval=$enable_base64;
6438 if test "$enableval" = yes; then
6439 wx_cv_use_base64='wxUSE_BASE64=yes'
6440 else
6441 wx_cv_use_base64='wxUSE_BASE64=no'
6442 fi
6443
6444 else
6445
6446 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6447
6448 fi
6449
6450
6451 eval "$wx_cv_use_base64"
6452
6453 if test x"$enablestring" = xdisable; then
6454 if test $wxUSE_BASE64 = no; then
6455 result=yes
6456 else
6457 result=no
6458 fi
6459 else
6460 result=$wxUSE_BASE64
6461 fi
6462
6463 { echo "$as_me:$LINENO: result: $result" >&5
6464 echo "${ECHO_T}$result" >&6; }
6465
6466
6467 enablestring=
6468 defaultval=$wxUSE_ALL_FEATURES
6469 if test -z "$defaultval"; then
6470 if test x"$enablestring" = xdisable; then
6471 defaultval=yes
6472 else
6473 defaultval=no
6474 fi
6475 fi
6476
6477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6478 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6479 # Check whether --enable-backtrace was given.
6480 if test "${enable_backtrace+set}" = set; then
6481 enableval=$enable_backtrace;
6482 if test "$enableval" = yes; then
6483 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6484 else
6485 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6486 fi
6487
6488 else
6489
6490 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6491
6492 fi
6493
6494
6495 eval "$wx_cv_use_backtrace"
6496
6497 if test x"$enablestring" = xdisable; then
6498 if test $wxUSE_STACKWALKER = no; then
6499 result=yes
6500 else
6501 result=no
6502 fi
6503 else
6504 result=$wxUSE_STACKWALKER
6505 fi
6506
6507 { echo "$as_me:$LINENO: result: $result" >&5
6508 echo "${ECHO_T}$result" >&6; }
6509
6510
6511 enablestring=
6512 defaultval=$wxUSE_ALL_FEATURES
6513 if test -z "$defaultval"; then
6514 if test x"$enablestring" = xdisable; then
6515 defaultval=yes
6516 else
6517 defaultval=no
6518 fi
6519 fi
6520
6521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6522 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6523 # Check whether --enable-catch_segvs was given.
6524 if test "${enable_catch_segvs+set}" = set; then
6525 enableval=$enable_catch_segvs;
6526 if test "$enableval" = yes; then
6527 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6528 else
6529 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6530 fi
6531
6532 else
6533
6534 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6535
6536 fi
6537
6538
6539 eval "$wx_cv_use_catch_segvs"
6540
6541 if test x"$enablestring" = xdisable; then
6542 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6543 result=yes
6544 else
6545 result=no
6546 fi
6547 else
6548 result=$wxUSE_ON_FATAL_EXCEPTION
6549 fi
6550
6551 { echo "$as_me:$LINENO: result: $result" >&5
6552 echo "${ECHO_T}$result" >&6; }
6553
6554
6555 enablestring=
6556 defaultval=$wxUSE_ALL_FEATURES
6557 if test -z "$defaultval"; then
6558 if test x"$enablestring" = xdisable; then
6559 defaultval=yes
6560 else
6561 defaultval=no
6562 fi
6563 fi
6564
6565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6566 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6567 # Check whether --enable-cmdline was given.
6568 if test "${enable_cmdline+set}" = set; then
6569 enableval=$enable_cmdline;
6570 if test "$enableval" = yes; then
6571 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6572 else
6573 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6574 fi
6575
6576 else
6577
6578 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6579
6580 fi
6581
6582
6583 eval "$wx_cv_use_cmdline"
6584
6585 if test x"$enablestring" = xdisable; then
6586 if test $wxUSE_CMDLINE_PARSER = no; then
6587 result=yes
6588 else
6589 result=no
6590 fi
6591 else
6592 result=$wxUSE_CMDLINE_PARSER
6593 fi
6594
6595 { echo "$as_me:$LINENO: result: $result" >&5
6596 echo "${ECHO_T}$result" >&6; }
6597
6598
6599 enablestring=
6600 defaultval=$wxUSE_ALL_FEATURES
6601 if test -z "$defaultval"; then
6602 if test x"$enablestring" = xdisable; then
6603 defaultval=yes
6604 else
6605 defaultval=no
6606 fi
6607 fi
6608
6609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6610 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6611 # Check whether --enable-datetime was given.
6612 if test "${enable_datetime+set}" = set; then
6613 enableval=$enable_datetime;
6614 if test "$enableval" = yes; then
6615 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6616 else
6617 wx_cv_use_datetime='wxUSE_DATETIME=no'
6618 fi
6619
6620 else
6621
6622 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6623
6624 fi
6625
6626
6627 eval "$wx_cv_use_datetime"
6628
6629 if test x"$enablestring" = xdisable; then
6630 if test $wxUSE_DATETIME = no; then
6631 result=yes
6632 else
6633 result=no
6634 fi
6635 else
6636 result=$wxUSE_DATETIME
6637 fi
6638
6639 { echo "$as_me:$LINENO: result: $result" >&5
6640 echo "${ECHO_T}$result" >&6; }
6641
6642
6643 enablestring=
6644 defaultval=$wxUSE_ALL_FEATURES
6645 if test -z "$defaultval"; then
6646 if test x"$enablestring" = xdisable; then
6647 defaultval=yes
6648 else
6649 defaultval=no
6650 fi
6651 fi
6652
6653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6654 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6655 # Check whether --enable-debugreport was given.
6656 if test "${enable_debugreport+set}" = set; then
6657 enableval=$enable_debugreport;
6658 if test "$enableval" = yes; then
6659 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6660 else
6661 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6662 fi
6663
6664 else
6665
6666 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6667
6668 fi
6669
6670
6671 eval "$wx_cv_use_debugreport"
6672
6673 if test x"$enablestring" = xdisable; then
6674 if test $wxUSE_DEBUGREPORT = no; then
6675 result=yes
6676 else
6677 result=no
6678 fi
6679 else
6680 result=$wxUSE_DEBUGREPORT
6681 fi
6682
6683 { echo "$as_me:$LINENO: result: $result" >&5
6684 echo "${ECHO_T}$result" >&6; }
6685
6686
6687 enablestring=
6688 defaultval=$wxUSE_ALL_FEATURES
6689 if test -z "$defaultval"; then
6690 if test x"$enablestring" = xdisable; then
6691 defaultval=yes
6692 else
6693 defaultval=no
6694 fi
6695 fi
6696
6697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6698 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6699 # Check whether --enable-dialupman was given.
6700 if test "${enable_dialupman+set}" = set; then
6701 enableval=$enable_dialupman;
6702 if test "$enableval" = yes; then
6703 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6704 else
6705 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6706 fi
6707
6708 else
6709
6710 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6711
6712 fi
6713
6714
6715 eval "$wx_cv_use_dialupman"
6716
6717 if test x"$enablestring" = xdisable; then
6718 if test $wxUSE_DIALUP_MANAGER = no; then
6719 result=yes
6720 else
6721 result=no
6722 fi
6723 else
6724 result=$wxUSE_DIALUP_MANAGER
6725 fi
6726
6727 { echo "$as_me:$LINENO: result: $result" >&5
6728 echo "${ECHO_T}$result" >&6; }
6729
6730
6731 enablestring=
6732 defaultval=$wxUSE_ALL_FEATURES
6733 if test -z "$defaultval"; then
6734 if test x"$enablestring" = xdisable; then
6735 defaultval=yes
6736 else
6737 defaultval=no
6738 fi
6739 fi
6740
6741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6742 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6743 # Check whether --enable-dynlib was given.
6744 if test "${enable_dynlib+set}" = set; then
6745 enableval=$enable_dynlib;
6746 if test "$enableval" = yes; then
6747 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6748 else
6749 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6750 fi
6751
6752 else
6753
6754 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6755
6756 fi
6757
6758
6759 eval "$wx_cv_use_dynlib"
6760
6761 if test x"$enablestring" = xdisable; then
6762 if test $wxUSE_DYNLIB_CLASS = no; then
6763 result=yes
6764 else
6765 result=no
6766 fi
6767 else
6768 result=$wxUSE_DYNLIB_CLASS
6769 fi
6770
6771 { echo "$as_me:$LINENO: result: $result" >&5
6772 echo "${ECHO_T}$result" >&6; }
6773
6774
6775 enablestring=
6776 defaultval=$wxUSE_ALL_FEATURES
6777 if test -z "$defaultval"; then
6778 if test x"$enablestring" = xdisable; then
6779 defaultval=yes
6780 else
6781 defaultval=no
6782 fi
6783 fi
6784
6785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6786 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6787 # Check whether --enable-dynamicloader was given.
6788 if test "${enable_dynamicloader+set}" = set; then
6789 enableval=$enable_dynamicloader;
6790 if test "$enableval" = yes; then
6791 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6792 else
6793 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6794 fi
6795
6796 else
6797
6798 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6799
6800 fi
6801
6802
6803 eval "$wx_cv_use_dynamicloader"
6804
6805 if test x"$enablestring" = xdisable; then
6806 if test $wxUSE_DYNAMIC_LOADER = no; then
6807 result=yes
6808 else
6809 result=no
6810 fi
6811 else
6812 result=$wxUSE_DYNAMIC_LOADER
6813 fi
6814
6815 { echo "$as_me:$LINENO: result: $result" >&5
6816 echo "${ECHO_T}$result" >&6; }
6817
6818
6819 enablestring=
6820 defaultval=$wxUSE_ALL_FEATURES
6821 if test -z "$defaultval"; then
6822 if test x"$enablestring" = xdisable; then
6823 defaultval=yes
6824 else
6825 defaultval=no
6826 fi
6827 fi
6828
6829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6830 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6831 # Check whether --enable-exceptions was given.
6832 if test "${enable_exceptions+set}" = set; then
6833 enableval=$enable_exceptions;
6834 if test "$enableval" = yes; then
6835 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6836 else
6837 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6838 fi
6839
6840 else
6841
6842 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6843
6844 fi
6845
6846
6847 eval "$wx_cv_use_exceptions"
6848
6849 if test x"$enablestring" = xdisable; then
6850 if test $wxUSE_EXCEPTIONS = no; then
6851 result=yes
6852 else
6853 result=no
6854 fi
6855 else
6856 result=$wxUSE_EXCEPTIONS
6857 fi
6858
6859 { echo "$as_me:$LINENO: result: $result" >&5
6860 echo "${ECHO_T}$result" >&6; }
6861
6862
6863 enablestring=
6864 defaultval=$wxUSE_ALL_FEATURES
6865 if test -z "$defaultval"; then
6866 if test x"$enablestring" = xdisable; then
6867 defaultval=yes
6868 else
6869 defaultval=no
6870 fi
6871 fi
6872
6873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6874 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6875 # Check whether --enable-ffile was given.
6876 if test "${enable_ffile+set}" = set; then
6877 enableval=$enable_ffile;
6878 if test "$enableval" = yes; then
6879 wx_cv_use_ffile='wxUSE_FFILE=yes'
6880 else
6881 wx_cv_use_ffile='wxUSE_FFILE=no'
6882 fi
6883
6884 else
6885
6886 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6887
6888 fi
6889
6890
6891 eval "$wx_cv_use_ffile"
6892
6893 if test x"$enablestring" = xdisable; then
6894 if test $wxUSE_FFILE = no; then
6895 result=yes
6896 else
6897 result=no
6898 fi
6899 else
6900 result=$wxUSE_FFILE
6901 fi
6902
6903 { echo "$as_me:$LINENO: result: $result" >&5
6904 echo "${ECHO_T}$result" >&6; }
6905
6906
6907 enablestring=
6908 defaultval=$wxUSE_ALL_FEATURES
6909 if test -z "$defaultval"; then
6910 if test x"$enablestring" = xdisable; then
6911 defaultval=yes
6912 else
6913 defaultval=no
6914 fi
6915 fi
6916
6917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6918 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6919 # Check whether --enable-file was given.
6920 if test "${enable_file+set}" = set; then
6921 enableval=$enable_file;
6922 if test "$enableval" = yes; then
6923 wx_cv_use_file='wxUSE_FILE=yes'
6924 else
6925 wx_cv_use_file='wxUSE_FILE=no'
6926 fi
6927
6928 else
6929
6930 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6931
6932 fi
6933
6934
6935 eval "$wx_cv_use_file"
6936
6937 if test x"$enablestring" = xdisable; then
6938 if test $wxUSE_FILE = no; then
6939 result=yes
6940 else
6941 result=no
6942 fi
6943 else
6944 result=$wxUSE_FILE
6945 fi
6946
6947 { echo "$as_me:$LINENO: result: $result" >&5
6948 echo "${ECHO_T}$result" >&6; }
6949
6950
6951 enablestring=
6952 defaultval=$wxUSE_ALL_FEATURES
6953 if test -z "$defaultval"; then
6954 if test x"$enablestring" = xdisable; then
6955 defaultval=yes
6956 else
6957 defaultval=no
6958 fi
6959 fi
6960
6961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6962 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6963 # Check whether --enable-filesystem was given.
6964 if test "${enable_filesystem+set}" = set; then
6965 enableval=$enable_filesystem;
6966 if test "$enableval" = yes; then
6967 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6968 else
6969 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6970 fi
6971
6972 else
6973
6974 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6975
6976 fi
6977
6978
6979 eval "$wx_cv_use_filesystem"
6980
6981 if test x"$enablestring" = xdisable; then
6982 if test $wxUSE_FILESYSTEM = no; then
6983 result=yes
6984 else
6985 result=no
6986 fi
6987 else
6988 result=$wxUSE_FILESYSTEM
6989 fi
6990
6991 { echo "$as_me:$LINENO: result: $result" >&5
6992 echo "${ECHO_T}$result" >&6; }
6993
6994
6995 enablestring=
6996 defaultval=$wxUSE_ALL_FEATURES
6997 if test -z "$defaultval"; then
6998 if test x"$enablestring" = xdisable; then
6999 defaultval=yes
7000 else
7001 defaultval=no
7002 fi
7003 fi
7004
7005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7006 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7007 # Check whether --enable-fontenum was given.
7008 if test "${enable_fontenum+set}" = set; then
7009 enableval=$enable_fontenum;
7010 if test "$enableval" = yes; then
7011 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7012 else
7013 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7014 fi
7015
7016 else
7017
7018 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7019
7020 fi
7021
7022
7023 eval "$wx_cv_use_fontenum"
7024
7025 if test x"$enablestring" = xdisable; then
7026 if test $wxUSE_FONTENUM = no; then
7027 result=yes
7028 else
7029 result=no
7030 fi
7031 else
7032 result=$wxUSE_FONTENUM
7033 fi
7034
7035 { echo "$as_me:$LINENO: result: $result" >&5
7036 echo "${ECHO_T}$result" >&6; }
7037
7038
7039 enablestring=
7040 defaultval=$wxUSE_ALL_FEATURES
7041 if test -z "$defaultval"; then
7042 if test x"$enablestring" = xdisable; then
7043 defaultval=yes
7044 else
7045 defaultval=no
7046 fi
7047 fi
7048
7049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7050 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7051 # Check whether --enable-fontmap was given.
7052 if test "${enable_fontmap+set}" = set; then
7053 enableval=$enable_fontmap;
7054 if test "$enableval" = yes; then
7055 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7056 else
7057 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7058 fi
7059
7060 else
7061
7062 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7063
7064 fi
7065
7066
7067 eval "$wx_cv_use_fontmap"
7068
7069 if test x"$enablestring" = xdisable; then
7070 if test $wxUSE_FONTMAP = no; then
7071 result=yes
7072 else
7073 result=no
7074 fi
7075 else
7076 result=$wxUSE_FONTMAP
7077 fi
7078
7079 { echo "$as_me:$LINENO: result: $result" >&5
7080 echo "${ECHO_T}$result" >&6; }
7081
7082
7083 enablestring=
7084 defaultval=$wxUSE_ALL_FEATURES
7085 if test -z "$defaultval"; then
7086 if test x"$enablestring" = xdisable; then
7087 defaultval=yes
7088 else
7089 defaultval=no
7090 fi
7091 fi
7092
7093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7094 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7095 # Check whether --enable-fs_archive was given.
7096 if test "${enable_fs_archive+set}" = set; then
7097 enableval=$enable_fs_archive;
7098 if test "$enableval" = yes; then
7099 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7100 else
7101 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7102 fi
7103
7104 else
7105
7106 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7107
7108 fi
7109
7110
7111 eval "$wx_cv_use_fs_archive"
7112
7113 if test x"$enablestring" = xdisable; then
7114 if test $wxUSE_FS_ARCHIVE = no; then
7115 result=yes
7116 else
7117 result=no
7118 fi
7119 else
7120 result=$wxUSE_FS_ARCHIVE
7121 fi
7122
7123 { echo "$as_me:$LINENO: result: $result" >&5
7124 echo "${ECHO_T}$result" >&6; }
7125
7126
7127 enablestring=
7128 defaultval=$wxUSE_ALL_FEATURES
7129 if test -z "$defaultval"; then
7130 if test x"$enablestring" = xdisable; then
7131 defaultval=yes
7132 else
7133 defaultval=no
7134 fi
7135 fi
7136
7137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7138 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7139 # Check whether --enable-fs_inet was given.
7140 if test "${enable_fs_inet+set}" = set; then
7141 enableval=$enable_fs_inet;
7142 if test "$enableval" = yes; then
7143 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7144 else
7145 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7146 fi
7147
7148 else
7149
7150 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7151
7152 fi
7153
7154
7155 eval "$wx_cv_use_fs_inet"
7156
7157 if test x"$enablestring" = xdisable; then
7158 if test $wxUSE_FS_INET = no; then
7159 result=yes
7160 else
7161 result=no
7162 fi
7163 else
7164 result=$wxUSE_FS_INET
7165 fi
7166
7167 { echo "$as_me:$LINENO: result: $result" >&5
7168 echo "${ECHO_T}$result" >&6; }
7169
7170
7171 enablestring=
7172 defaultval=$wxUSE_ALL_FEATURES
7173 if test -z "$defaultval"; then
7174 if test x"$enablestring" = xdisable; then
7175 defaultval=yes
7176 else
7177 defaultval=no
7178 fi
7179 fi
7180
7181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7182 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7183 # Check whether --enable-fs_zip was given.
7184 if test "${enable_fs_zip+set}" = set; then
7185 enableval=$enable_fs_zip;
7186 if test "$enableval" = yes; then
7187 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7188 else
7189 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7190 fi
7191
7192 else
7193
7194 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7195
7196 fi
7197
7198
7199 eval "$wx_cv_use_fs_zip"
7200
7201 if test x"$enablestring" = xdisable; then
7202 if test $wxUSE_FS_ZIP = no; then
7203 result=yes
7204 else
7205 result=no
7206 fi
7207 else
7208 result=$wxUSE_FS_ZIP
7209 fi
7210
7211 { echo "$as_me:$LINENO: result: $result" >&5
7212 echo "${ECHO_T}$result" >&6; }
7213
7214
7215 enablestring=
7216 defaultval=$wxUSE_ALL_FEATURES
7217 if test -z "$defaultval"; then
7218 if test x"$enablestring" = xdisable; then
7219 defaultval=yes
7220 else
7221 defaultval=no
7222 fi
7223 fi
7224
7225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7226 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7227 # Check whether --enable-fswatcher was given.
7228 if test "${enable_fswatcher+set}" = set; then
7229 enableval=$enable_fswatcher;
7230 if test "$enableval" = yes; then
7231 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7232 else
7233 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7234 fi
7235
7236 else
7237
7238 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7239
7240 fi
7241
7242
7243 eval "$wx_cv_use_fswatcher"
7244
7245 if test x"$enablestring" = xdisable; then
7246 if test $wxUSE_FSWATCHER = no; then
7247 result=yes
7248 else
7249 result=no
7250 fi
7251 else
7252 result=$wxUSE_FSWATCHER
7253 fi
7254
7255 { echo "$as_me:$LINENO: result: $result" >&5
7256 echo "${ECHO_T}$result" >&6; }
7257
7258
7259 enablestring=
7260 defaultval=$wxUSE_ALL_FEATURES
7261 if test -z "$defaultval"; then
7262 if test x"$enablestring" = xdisable; then
7263 defaultval=yes
7264 else
7265 defaultval=no
7266 fi
7267 fi
7268
7269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7270 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7271 # Check whether --enable-geometry was given.
7272 if test "${enable_geometry+set}" = set; then
7273 enableval=$enable_geometry;
7274 if test "$enableval" = yes; then
7275 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7276 else
7277 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7278 fi
7279
7280 else
7281
7282 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7283
7284 fi
7285
7286
7287 eval "$wx_cv_use_geometry"
7288
7289 if test x"$enablestring" = xdisable; then
7290 if test $wxUSE_GEOMETRY = no; then
7291 result=yes
7292 else
7293 result=no
7294 fi
7295 else
7296 result=$wxUSE_GEOMETRY
7297 fi
7298
7299 { echo "$as_me:$LINENO: result: $result" >&5
7300 echo "${ECHO_T}$result" >&6; }
7301
7302
7303 enablestring=
7304 defaultval=$wxUSE_ALL_FEATURES
7305 if test -z "$defaultval"; then
7306 if test x"$enablestring" = xdisable; then
7307 defaultval=yes
7308 else
7309 defaultval=no
7310 fi
7311 fi
7312
7313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7314 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7315 # Check whether --enable-log was given.
7316 if test "${enable_log+set}" = set; then
7317 enableval=$enable_log;
7318 if test "$enableval" = yes; then
7319 wx_cv_use_log='wxUSE_LOG=yes'
7320 else
7321 wx_cv_use_log='wxUSE_LOG=no'
7322 fi
7323
7324 else
7325
7326 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7327
7328 fi
7329
7330
7331 eval "$wx_cv_use_log"
7332
7333 if test x"$enablestring" = xdisable; then
7334 if test $wxUSE_LOG = no; then
7335 result=yes
7336 else
7337 result=no
7338 fi
7339 else
7340 result=$wxUSE_LOG
7341 fi
7342
7343 { echo "$as_me:$LINENO: result: $result" >&5
7344 echo "${ECHO_T}$result" >&6; }
7345
7346
7347 enablestring=
7348 defaultval=$wxUSE_ALL_FEATURES
7349 if test -z "$defaultval"; then
7350 if test x"$enablestring" = xdisable; then
7351 defaultval=yes
7352 else
7353 defaultval=no
7354 fi
7355 fi
7356
7357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7358 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7359 # Check whether --enable-longlong was given.
7360 if test "${enable_longlong+set}" = set; then
7361 enableval=$enable_longlong;
7362 if test "$enableval" = yes; then
7363 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7364 else
7365 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7366 fi
7367
7368 else
7369
7370 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7371
7372 fi
7373
7374
7375 eval "$wx_cv_use_longlong"
7376
7377 if test x"$enablestring" = xdisable; then
7378 if test $wxUSE_LONGLONG = no; then
7379 result=yes
7380 else
7381 result=no
7382 fi
7383 else
7384 result=$wxUSE_LONGLONG
7385 fi
7386
7387 { echo "$as_me:$LINENO: result: $result" >&5
7388 echo "${ECHO_T}$result" >&6; }
7389
7390
7391 enablestring=
7392 defaultval=$wxUSE_ALL_FEATURES
7393 if test -z "$defaultval"; then
7394 if test x"$enablestring" = xdisable; then
7395 defaultval=yes
7396 else
7397 defaultval=no
7398 fi
7399 fi
7400
7401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7402 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7403 # Check whether --enable-mimetype was given.
7404 if test "${enable_mimetype+set}" = set; then
7405 enableval=$enable_mimetype;
7406 if test "$enableval" = yes; then
7407 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7408 else
7409 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7410 fi
7411
7412 else
7413
7414 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7415
7416 fi
7417
7418
7419 eval "$wx_cv_use_mimetype"
7420
7421 if test x"$enablestring" = xdisable; then
7422 if test $wxUSE_MIMETYPE = no; then
7423 result=yes
7424 else
7425 result=no
7426 fi
7427 else
7428 result=$wxUSE_MIMETYPE
7429 fi
7430
7431 { echo "$as_me:$LINENO: result: $result" >&5
7432 echo "${ECHO_T}$result" >&6; }
7433
7434
7435 enablestring=
7436 defaultval=$wxUSE_ALL_FEATURES
7437 if test -z "$defaultval"; then
7438 if test x"$enablestring" = xdisable; then
7439 defaultval=yes
7440 else
7441 defaultval=no
7442 fi
7443 fi
7444
7445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7446 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7447 # Check whether --enable-printfposparam was given.
7448 if test "${enable_printfposparam+set}" = set; then
7449 enableval=$enable_printfposparam;
7450 if test "$enableval" = yes; then
7451 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7452 else
7453 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7454 fi
7455
7456 else
7457
7458 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7459
7460 fi
7461
7462
7463 eval "$wx_cv_use_printfposparam"
7464
7465 if test x"$enablestring" = xdisable; then
7466 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7467 result=yes
7468 else
7469 result=no
7470 fi
7471 else
7472 result=$wxUSE_PRINTF_POS_PARAMS
7473 fi
7474
7475 { echo "$as_me:$LINENO: result: $result" >&5
7476 echo "${ECHO_T}$result" >&6; }
7477
7478
7479 enablestring=
7480 defaultval=$wxUSE_ALL_FEATURES
7481 if test -z "$defaultval"; then
7482 if test x"$enablestring" = xdisable; then
7483 defaultval=yes
7484 else
7485 defaultval=no
7486 fi
7487 fi
7488
7489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7490 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7491 # Check whether --enable-snglinst was given.
7492 if test "${enable_snglinst+set}" = set; then
7493 enableval=$enable_snglinst;
7494 if test "$enableval" = yes; then
7495 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7496 else
7497 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7498 fi
7499
7500 else
7501
7502 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7503
7504 fi
7505
7506
7507 eval "$wx_cv_use_snglinst"
7508
7509 if test x"$enablestring" = xdisable; then
7510 if test $wxUSE_SNGLINST_CHECKER = no; then
7511 result=yes
7512 else
7513 result=no
7514 fi
7515 else
7516 result=$wxUSE_SNGLINST_CHECKER
7517 fi
7518
7519 { echo "$as_me:$LINENO: result: $result" >&5
7520 echo "${ECHO_T}$result" >&6; }
7521
7522
7523 enablestring=
7524 defaultval=$wxUSE_ALL_FEATURES
7525 if test -z "$defaultval"; then
7526 if test x"$enablestring" = xdisable; then
7527 defaultval=yes
7528 else
7529 defaultval=no
7530 fi
7531 fi
7532
7533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7534 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7535 # Check whether --enable-sound was given.
7536 if test "${enable_sound+set}" = set; then
7537 enableval=$enable_sound;
7538 if test "$enableval" = yes; then
7539 wx_cv_use_sound='wxUSE_SOUND=yes'
7540 else
7541 wx_cv_use_sound='wxUSE_SOUND=no'
7542 fi
7543
7544 else
7545
7546 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7547
7548 fi
7549
7550
7551 eval "$wx_cv_use_sound"
7552
7553 if test x"$enablestring" = xdisable; then
7554 if test $wxUSE_SOUND = no; then
7555 result=yes
7556 else
7557 result=no
7558 fi
7559 else
7560 result=$wxUSE_SOUND
7561 fi
7562
7563 { echo "$as_me:$LINENO: result: $result" >&5
7564 echo "${ECHO_T}$result" >&6; }
7565
7566
7567 enablestring=
7568 defaultval=$wxUSE_ALL_FEATURES
7569 if test -z "$defaultval"; then
7570 if test x"$enablestring" = xdisable; then
7571 defaultval=yes
7572 else
7573 defaultval=no
7574 fi
7575 fi
7576
7577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7578 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7579 # Check whether --enable-stdpaths was given.
7580 if test "${enable_stdpaths+set}" = set; then
7581 enableval=$enable_stdpaths;
7582 if test "$enableval" = yes; then
7583 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7584 else
7585 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7586 fi
7587
7588 else
7589
7590 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7591
7592 fi
7593
7594
7595 eval "$wx_cv_use_stdpaths"
7596
7597 if test x"$enablestring" = xdisable; then
7598 if test $wxUSE_STDPATHS = no; then
7599 result=yes
7600 else
7601 result=no
7602 fi
7603 else
7604 result=$wxUSE_STDPATHS
7605 fi
7606
7607 { echo "$as_me:$LINENO: result: $result" >&5
7608 echo "${ECHO_T}$result" >&6; }
7609
7610
7611 enablestring=
7612 defaultval=$wxUSE_ALL_FEATURES
7613 if test -z "$defaultval"; then
7614 if test x"$enablestring" = xdisable; then
7615 defaultval=yes
7616 else
7617 defaultval=no
7618 fi
7619 fi
7620
7621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7622 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7623 # Check whether --enable-stopwatch was given.
7624 if test "${enable_stopwatch+set}" = set; then
7625 enableval=$enable_stopwatch;
7626 if test "$enableval" = yes; then
7627 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7628 else
7629 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7630 fi
7631
7632 else
7633
7634 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7635
7636 fi
7637
7638
7639 eval "$wx_cv_use_stopwatch"
7640
7641 if test x"$enablestring" = xdisable; then
7642 if test $wxUSE_STOPWATCH = no; then
7643 result=yes
7644 else
7645 result=no
7646 fi
7647 else
7648 result=$wxUSE_STOPWATCH
7649 fi
7650
7651 { echo "$as_me:$LINENO: result: $result" >&5
7652 echo "${ECHO_T}$result" >&6; }
7653
7654
7655 enablestring=
7656 defaultval=$wxUSE_ALL_FEATURES
7657 if test -z "$defaultval"; then
7658 if test x"$enablestring" = xdisable; then
7659 defaultval=yes
7660 else
7661 defaultval=no
7662 fi
7663 fi
7664
7665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7666 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7667 # Check whether --enable-streams was given.
7668 if test "${enable_streams+set}" = set; then
7669 enableval=$enable_streams;
7670 if test "$enableval" = yes; then
7671 wx_cv_use_streams='wxUSE_STREAMS=yes'
7672 else
7673 wx_cv_use_streams='wxUSE_STREAMS=no'
7674 fi
7675
7676 else
7677
7678 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7679
7680 fi
7681
7682
7683 eval "$wx_cv_use_streams"
7684
7685 if test x"$enablestring" = xdisable; then
7686 if test $wxUSE_STREAMS = no; then
7687 result=yes
7688 else
7689 result=no
7690 fi
7691 else
7692 result=$wxUSE_STREAMS
7693 fi
7694
7695 { echo "$as_me:$LINENO: result: $result" >&5
7696 echo "${ECHO_T}$result" >&6; }
7697
7698
7699 enablestring=
7700 defaultval=$wxUSE_ALL_FEATURES
7701 if test -z "$defaultval"; then
7702 if test x"$enablestring" = xdisable; then
7703 defaultval=yes
7704 else
7705 defaultval=no
7706 fi
7707 fi
7708
7709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7710 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7711 # Check whether --enable-system_options was given.
7712 if test "${enable_system_options+set}" = set; then
7713 enableval=$enable_system_options;
7714 if test "$enableval" = yes; then
7715 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7716 else
7717 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7718 fi
7719
7720 else
7721
7722 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7723
7724 fi
7725
7726
7727 eval "$wx_cv_use_system_options"
7728
7729 if test x"$enablestring" = xdisable; then
7730 if test $wxUSE_SYSTEM_OPTIONS = no; then
7731 result=yes
7732 else
7733 result=no
7734 fi
7735 else
7736 result=$wxUSE_SYSTEM_OPTIONS
7737 fi
7738
7739 { echo "$as_me:$LINENO: result: $result" >&5
7740 echo "${ECHO_T}$result" >&6; }
7741
7742
7743 enablestring=
7744 defaultval=$wxUSE_ALL_FEATURES
7745 if test -z "$defaultval"; then
7746 if test x"$enablestring" = xdisable; then
7747 defaultval=yes
7748 else
7749 defaultval=no
7750 fi
7751 fi
7752
7753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7754 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7755 # Check whether --enable-tarstream was given.
7756 if test "${enable_tarstream+set}" = set; then
7757 enableval=$enable_tarstream;
7758 if test "$enableval" = yes; then
7759 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7760 else
7761 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7762 fi
7763
7764 else
7765
7766 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7767
7768 fi
7769
7770
7771 eval "$wx_cv_use_tarstream"
7772
7773 if test x"$enablestring" = xdisable; then
7774 if test $wxUSE_TARSTREAM = no; then
7775 result=yes
7776 else
7777 result=no
7778 fi
7779 else
7780 result=$wxUSE_TARSTREAM
7781 fi
7782
7783 { echo "$as_me:$LINENO: result: $result" >&5
7784 echo "${ECHO_T}$result" >&6; }
7785
7786
7787 enablestring=
7788 defaultval=$wxUSE_ALL_FEATURES
7789 if test -z "$defaultval"; then
7790 if test x"$enablestring" = xdisable; then
7791 defaultval=yes
7792 else
7793 defaultval=no
7794 fi
7795 fi
7796
7797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7799 # Check whether --enable-textbuf was given.
7800 if test "${enable_textbuf+set}" = set; then
7801 enableval=$enable_textbuf;
7802 if test "$enableval" = yes; then
7803 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7804 else
7805 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7806 fi
7807
7808 else
7809
7810 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7811
7812 fi
7813
7814
7815 eval "$wx_cv_use_textbuf"
7816
7817 if test x"$enablestring" = xdisable; then
7818 if test $wxUSE_TEXTBUFFER = no; then
7819 result=yes
7820 else
7821 result=no
7822 fi
7823 else
7824 result=$wxUSE_TEXTBUFFER
7825 fi
7826
7827 { echo "$as_me:$LINENO: result: $result" >&5
7828 echo "${ECHO_T}$result" >&6; }
7829
7830
7831 enablestring=
7832 defaultval=$wxUSE_ALL_FEATURES
7833 if test -z "$defaultval"; then
7834 if test x"$enablestring" = xdisable; then
7835 defaultval=yes
7836 else
7837 defaultval=no
7838 fi
7839 fi
7840
7841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7842 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7843 # Check whether --enable-textfile was given.
7844 if test "${enable_textfile+set}" = set; then
7845 enableval=$enable_textfile;
7846 if test "$enableval" = yes; then
7847 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7848 else
7849 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7850 fi
7851
7852 else
7853
7854 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7855
7856 fi
7857
7858
7859 eval "$wx_cv_use_textfile"
7860
7861 if test x"$enablestring" = xdisable; then
7862 if test $wxUSE_TEXTFILE = no; then
7863 result=yes
7864 else
7865 result=no
7866 fi
7867 else
7868 result=$wxUSE_TEXTFILE
7869 fi
7870
7871 { echo "$as_me:$LINENO: result: $result" >&5
7872 echo "${ECHO_T}$result" >&6; }
7873
7874
7875 enablestring=
7876 defaultval=$wxUSE_ALL_FEATURES
7877 if test -z "$defaultval"; then
7878 if test x"$enablestring" = xdisable; then
7879 defaultval=yes
7880 else
7881 defaultval=no
7882 fi
7883 fi
7884
7885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7886 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7887 # Check whether --enable-timer was given.
7888 if test "${enable_timer+set}" = set; then
7889 enableval=$enable_timer;
7890 if test "$enableval" = yes; then
7891 wx_cv_use_timer='wxUSE_TIMER=yes'
7892 else
7893 wx_cv_use_timer='wxUSE_TIMER=no'
7894 fi
7895
7896 else
7897
7898 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7899
7900 fi
7901
7902
7903 eval "$wx_cv_use_timer"
7904
7905 if test x"$enablestring" = xdisable; then
7906 if test $wxUSE_TIMER = no; then
7907 result=yes
7908 else
7909 result=no
7910 fi
7911 else
7912 result=$wxUSE_TIMER
7913 fi
7914
7915 { echo "$as_me:$LINENO: result: $result" >&5
7916 echo "${ECHO_T}$result" >&6; }
7917
7918
7919 enablestring=
7920 defaultval=$wxUSE_ALL_FEATURES
7921 if test -z "$defaultval"; then
7922 if test x"$enablestring" = xdisable; then
7923 defaultval=yes
7924 else
7925 defaultval=no
7926 fi
7927 fi
7928
7929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7930 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7931 # Check whether --enable-variant was given.
7932 if test "${enable_variant+set}" = set; then
7933 enableval=$enable_variant;
7934 if test "$enableval" = yes; then
7935 wx_cv_use_variant='wxUSE_VARIANT=yes'
7936 else
7937 wx_cv_use_variant='wxUSE_VARIANT=no'
7938 fi
7939
7940 else
7941
7942 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7943
7944 fi
7945
7946
7947 eval "$wx_cv_use_variant"
7948
7949 if test x"$enablestring" = xdisable; then
7950 if test $wxUSE_VARIANT = no; then
7951 result=yes
7952 else
7953 result=no
7954 fi
7955 else
7956 result=$wxUSE_VARIANT
7957 fi
7958
7959 { echo "$as_me:$LINENO: result: $result" >&5
7960 echo "${ECHO_T}$result" >&6; }
7961
7962
7963 enablestring=
7964 defaultval=$wxUSE_ALL_FEATURES
7965 if test -z "$defaultval"; then
7966 if test x"$enablestring" = xdisable; then
7967 defaultval=yes
7968 else
7969 defaultval=no
7970 fi
7971 fi
7972
7973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7974 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7975 # Check whether --enable-zipstream was given.
7976 if test "${enable_zipstream+set}" = set; then
7977 enableval=$enable_zipstream;
7978 if test "$enableval" = yes; then
7979 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7980 else
7981 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7982 fi
7983
7984 else
7985
7986 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7987
7988 fi
7989
7990
7991 eval "$wx_cv_use_zipstream"
7992
7993 if test x"$enablestring" = xdisable; then
7994 if test $wxUSE_ZIPSTREAM = no; then
7995 result=yes
7996 else
7997 result=no
7998 fi
7999 else
8000 result=$wxUSE_ZIPSTREAM
8001 fi
8002
8003 { echo "$as_me:$LINENO: result: $result" >&5
8004 echo "${ECHO_T}$result" >&6; }
8005
8006
8007
8008 enablestring=
8009 defaultval=$wxUSE_ALL_FEATURES
8010 if test -z "$defaultval"; then
8011 if test x"$enablestring" = xdisable; then
8012 defaultval=yes
8013 else
8014 defaultval=no
8015 fi
8016 fi
8017
8018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8019 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8020 # Check whether --enable-url was given.
8021 if test "${enable_url+set}" = set; then
8022 enableval=$enable_url;
8023 if test "$enableval" = yes; then
8024 wx_cv_use_url='wxUSE_URL=yes'
8025 else
8026 wx_cv_use_url='wxUSE_URL=no'
8027 fi
8028
8029 else
8030
8031 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8032
8033 fi
8034
8035
8036 eval "$wx_cv_use_url"
8037
8038 if test x"$enablestring" = xdisable; then
8039 if test $wxUSE_URL = no; then
8040 result=yes
8041 else
8042 result=no
8043 fi
8044 else
8045 result=$wxUSE_URL
8046 fi
8047
8048 { echo "$as_me:$LINENO: result: $result" >&5
8049 echo "${ECHO_T}$result" >&6; }
8050
8051
8052 enablestring=
8053 defaultval=$wxUSE_ALL_FEATURES
8054 if test -z "$defaultval"; then
8055 if test x"$enablestring" = xdisable; then
8056 defaultval=yes
8057 else
8058 defaultval=no
8059 fi
8060 fi
8061
8062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8063 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8064 # Check whether --enable-protocol was given.
8065 if test "${enable_protocol+set}" = set; then
8066 enableval=$enable_protocol;
8067 if test "$enableval" = yes; then
8068 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8069 else
8070 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8071 fi
8072
8073 else
8074
8075 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8076
8077 fi
8078
8079
8080 eval "$wx_cv_use_protocol"
8081
8082 if test x"$enablestring" = xdisable; then
8083 if test $wxUSE_PROTOCOL = no; then
8084 result=yes
8085 else
8086 result=no
8087 fi
8088 else
8089 result=$wxUSE_PROTOCOL
8090 fi
8091
8092 { echo "$as_me:$LINENO: result: $result" >&5
8093 echo "${ECHO_T}$result" >&6; }
8094
8095
8096 enablestring=
8097 defaultval=$wxUSE_ALL_FEATURES
8098 if test -z "$defaultval"; then
8099 if test x"$enablestring" = xdisable; then
8100 defaultval=yes
8101 else
8102 defaultval=no
8103 fi
8104 fi
8105
8106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8107 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8108 # Check whether --enable-protocol_http was given.
8109 if test "${enable_protocol_http+set}" = set; then
8110 enableval=$enable_protocol_http;
8111 if test "$enableval" = yes; then
8112 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8113 else
8114 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8115 fi
8116
8117 else
8118
8119 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8120
8121 fi
8122
8123
8124 eval "$wx_cv_use_protocol_http"
8125
8126 if test x"$enablestring" = xdisable; then
8127 if test $wxUSE_PROTOCOL_HTTP = no; then
8128 result=yes
8129 else
8130 result=no
8131 fi
8132 else
8133 result=$wxUSE_PROTOCOL_HTTP
8134 fi
8135
8136 { echo "$as_me:$LINENO: result: $result" >&5
8137 echo "${ECHO_T}$result" >&6; }
8138
8139
8140 enablestring=
8141 defaultval=$wxUSE_ALL_FEATURES
8142 if test -z "$defaultval"; then
8143 if test x"$enablestring" = xdisable; then
8144 defaultval=yes
8145 else
8146 defaultval=no
8147 fi
8148 fi
8149
8150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8151 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8152 # Check whether --enable-protocol_ftp was given.
8153 if test "${enable_protocol_ftp+set}" = set; then
8154 enableval=$enable_protocol_ftp;
8155 if test "$enableval" = yes; then
8156 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8157 else
8158 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8159 fi
8160
8161 else
8162
8163 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8164
8165 fi
8166
8167
8168 eval "$wx_cv_use_protocol_ftp"
8169
8170 if test x"$enablestring" = xdisable; then
8171 if test $wxUSE_PROTOCOL_FTP = no; then
8172 result=yes
8173 else
8174 result=no
8175 fi
8176 else
8177 result=$wxUSE_PROTOCOL_FTP
8178 fi
8179
8180 { echo "$as_me:$LINENO: result: $result" >&5
8181 echo "${ECHO_T}$result" >&6; }
8182
8183
8184 enablestring=
8185 defaultval=$wxUSE_ALL_FEATURES
8186 if test -z "$defaultval"; then
8187 if test x"$enablestring" = xdisable; then
8188 defaultval=yes
8189 else
8190 defaultval=no
8191 fi
8192 fi
8193
8194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8195 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8196 # Check whether --enable-protocol_file was given.
8197 if test "${enable_protocol_file+set}" = set; then
8198 enableval=$enable_protocol_file;
8199 if test "$enableval" = yes; then
8200 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8201 else
8202 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8203 fi
8204
8205 else
8206
8207 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8208
8209 fi
8210
8211
8212 eval "$wx_cv_use_protocol_file"
8213
8214 if test x"$enablestring" = xdisable; then
8215 if test $wxUSE_PROTOCOL_FILE = no; then
8216 result=yes
8217 else
8218 result=no
8219 fi
8220 else
8221 result=$wxUSE_PROTOCOL_FILE
8222 fi
8223
8224 { echo "$as_me:$LINENO: result: $result" >&5
8225 echo "${ECHO_T}$result" >&6; }
8226
8227
8228
8229 enablestring=
8230 defaultval=$wxUSE_ALL_FEATURES
8231 if test -z "$defaultval"; then
8232 if test x"$enablestring" = xdisable; then
8233 defaultval=yes
8234 else
8235 defaultval=no
8236 fi
8237 fi
8238
8239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8240 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8241 # Check whether --enable-threads was given.
8242 if test "${enable_threads+set}" = set; then
8243 enableval=$enable_threads;
8244 if test "$enableval" = yes; then
8245 wx_cv_use_threads='wxUSE_THREADS=yes'
8246 else
8247 wx_cv_use_threads='wxUSE_THREADS=no'
8248 fi
8249
8250 else
8251
8252 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8253
8254 fi
8255
8256
8257 eval "$wx_cv_use_threads"
8258
8259 if test x"$enablestring" = xdisable; then
8260 if test $wxUSE_THREADS = no; then
8261 result=yes
8262 else
8263 result=no
8264 fi
8265 else
8266 result=$wxUSE_THREADS
8267 fi
8268
8269 { echo "$as_me:$LINENO: result: $result" >&5
8270 echo "${ECHO_T}$result" >&6; }
8271
8272
8273
8274 enablestring=
8275 defaultval=
8276 if test -z "$defaultval"; then
8277 if test x"$enablestring" = xdisable; then
8278 defaultval=yes
8279 else
8280 defaultval=no
8281 fi
8282 fi
8283
8284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8285 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8286 # Check whether --enable-iniconf was given.
8287 if test "${enable_iniconf+set}" = set; then
8288 enableval=$enable_iniconf;
8289 if test "$enableval" = yes; then
8290 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8291 else
8292 wx_cv_use_iniconf='wxUSE_INICONF=no'
8293 fi
8294
8295 else
8296
8297 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8298
8299 fi
8300
8301
8302 eval "$wx_cv_use_iniconf"
8303
8304 if test x"$enablestring" = xdisable; then
8305 if test $wxUSE_INICONF = no; then
8306 result=yes
8307 else
8308 result=no
8309 fi
8310 else
8311 result=$wxUSE_INICONF
8312 fi
8313
8314 { echo "$as_me:$LINENO: result: $result" >&5
8315 echo "${ECHO_T}$result" >&6; }
8316
8317
8318 enablestring=
8319 defaultval=$wxUSE_ALL_FEATURES
8320 if test -z "$defaultval"; then
8321 if test x"$enablestring" = xdisable; then
8322 defaultval=yes
8323 else
8324 defaultval=no
8325 fi
8326 fi
8327
8328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8329 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8330 # Check whether --enable-regkey was given.
8331 if test "${enable_regkey+set}" = set; then
8332 enableval=$enable_regkey;
8333 if test "$enableval" = yes; then
8334 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8335 else
8336 wx_cv_use_regkey='wxUSE_REGKEY=no'
8337 fi
8338
8339 else
8340
8341 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8342
8343 fi
8344
8345
8346 eval "$wx_cv_use_regkey"
8347
8348 if test x"$enablestring" = xdisable; then
8349 if test $wxUSE_REGKEY = no; then
8350 result=yes
8351 else
8352 result=no
8353 fi
8354 else
8355 result=$wxUSE_REGKEY
8356 fi
8357
8358 { echo "$as_me:$LINENO: result: $result" >&5
8359 echo "${ECHO_T}$result" >&6; }
8360
8361
8362 if test "$wxUSE_GUI" = "yes"; then
8363
8364
8365
8366 enablestring=
8367 defaultval=$wxUSE_ALL_FEATURES
8368 if test -z "$defaultval"; then
8369 if test x"$enablestring" = xdisable; then
8370 defaultval=yes
8371 else
8372 defaultval=no
8373 fi
8374 fi
8375
8376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8377 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8378 # Check whether --enable-docview was given.
8379 if test "${enable_docview+set}" = set; then
8380 enableval=$enable_docview;
8381 if test "$enableval" = yes; then
8382 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8383 else
8384 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8385 fi
8386
8387 else
8388
8389 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8390
8391 fi
8392
8393
8394 eval "$wx_cv_use_docview"
8395
8396 if test x"$enablestring" = xdisable; then
8397 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8398 result=yes
8399 else
8400 result=no
8401 fi
8402 else
8403 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8404 fi
8405
8406 { echo "$as_me:$LINENO: result: $result" >&5
8407 echo "${ECHO_T}$result" >&6; }
8408
8409
8410 enablestring=
8411 defaultval=$wxUSE_ALL_FEATURES
8412 if test -z "$defaultval"; then
8413 if test x"$enablestring" = xdisable; then
8414 defaultval=yes
8415 else
8416 defaultval=no
8417 fi
8418 fi
8419
8420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8421 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8422 # Check whether --enable-help was given.
8423 if test "${enable_help+set}" = set; then
8424 enableval=$enable_help;
8425 if test "$enableval" = yes; then
8426 wx_cv_use_help='wxUSE_HELP=yes'
8427 else
8428 wx_cv_use_help='wxUSE_HELP=no'
8429 fi
8430
8431 else
8432
8433 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8434
8435 fi
8436
8437
8438 eval "$wx_cv_use_help"
8439
8440 if test x"$enablestring" = xdisable; then
8441 if test $wxUSE_HELP = no; then
8442 result=yes
8443 else
8444 result=no
8445 fi
8446 else
8447 result=$wxUSE_HELP
8448 fi
8449
8450 { echo "$as_me:$LINENO: result: $result" >&5
8451 echo "${ECHO_T}$result" >&6; }
8452
8453
8454 enablestring=
8455 defaultval=$wxUSE_ALL_FEATURES
8456 if test -z "$defaultval"; then
8457 if test x"$enablestring" = xdisable; then
8458 defaultval=yes
8459 else
8460 defaultval=no
8461 fi
8462 fi
8463
8464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8465 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8466 # Check whether --enable-mshtmlhelp was given.
8467 if test "${enable_mshtmlhelp+set}" = set; then
8468 enableval=$enable_mshtmlhelp;
8469 if test "$enableval" = yes; then
8470 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8471 else
8472 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8473 fi
8474
8475 else
8476
8477 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8478
8479 fi
8480
8481
8482 eval "$wx_cv_use_mshtmlhelp"
8483
8484 if test x"$enablestring" = xdisable; then
8485 if test $wxUSE_MS_HTML_HELP = no; then
8486 result=yes
8487 else
8488 result=no
8489 fi
8490 else
8491 result=$wxUSE_MS_HTML_HELP
8492 fi
8493
8494 { echo "$as_me:$LINENO: result: $result" >&5
8495 echo "${ECHO_T}$result" >&6; }
8496
8497
8498 enablestring=
8499 defaultval=$wxUSE_ALL_FEATURES
8500 if test -z "$defaultval"; then
8501 if test x"$enablestring" = xdisable; then
8502 defaultval=yes
8503 else
8504 defaultval=no
8505 fi
8506 fi
8507
8508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8509 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8510 # Check whether --enable-html was given.
8511 if test "${enable_html+set}" = set; then
8512 enableval=$enable_html;
8513 if test "$enableval" = yes; then
8514 wx_cv_use_html='wxUSE_HTML=yes'
8515 else
8516 wx_cv_use_html='wxUSE_HTML=no'
8517 fi
8518
8519 else
8520
8521 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8522
8523 fi
8524
8525
8526 eval "$wx_cv_use_html"
8527
8528 if test x"$enablestring" = xdisable; then
8529 if test $wxUSE_HTML = no; then
8530 result=yes
8531 else
8532 result=no
8533 fi
8534 else
8535 result=$wxUSE_HTML
8536 fi
8537
8538 { echo "$as_me:$LINENO: result: $result" >&5
8539 echo "${ECHO_T}$result" >&6; }
8540
8541
8542 enablestring=
8543 defaultval=$wxUSE_ALL_FEATURES
8544 if test -z "$defaultval"; then
8545 if test x"$enablestring" = xdisable; then
8546 defaultval=yes
8547 else
8548 defaultval=no
8549 fi
8550 fi
8551
8552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8553 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8554 # Check whether --enable-htmlhelp was given.
8555 if test "${enable_htmlhelp+set}" = set; then
8556 enableval=$enable_htmlhelp;
8557 if test "$enableval" = yes; then
8558 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8559 else
8560 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8561 fi
8562
8563 else
8564
8565 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8566
8567 fi
8568
8569
8570 eval "$wx_cv_use_htmlhelp"
8571
8572 if test x"$enablestring" = xdisable; then
8573 if test $wxUSE_WXHTML_HELP = no; then
8574 result=yes
8575 else
8576 result=no
8577 fi
8578 else
8579 result=$wxUSE_WXHTML_HELP
8580 fi
8581
8582 { echo "$as_me:$LINENO: result: $result" >&5
8583 echo "${ECHO_T}$result" >&6; }
8584
8585
8586 enablestring=
8587 defaultval=$wxUSE_ALL_FEATURES
8588 if test -z "$defaultval"; then
8589 if test x"$enablestring" = xdisable; then
8590 defaultval=yes
8591 else
8592 defaultval=no
8593 fi
8594 fi
8595
8596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8597 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8598 # Check whether --enable-xrc was given.
8599 if test "${enable_xrc+set}" = set; then
8600 enableval=$enable_xrc;
8601 if test "$enableval" = yes; then
8602 wx_cv_use_xrc='wxUSE_XRC=yes'
8603 else
8604 wx_cv_use_xrc='wxUSE_XRC=no'
8605 fi
8606
8607 else
8608
8609 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8610
8611 fi
8612
8613
8614 eval "$wx_cv_use_xrc"
8615
8616 if test x"$enablestring" = xdisable; then
8617 if test $wxUSE_XRC = no; then
8618 result=yes
8619 else
8620 result=no
8621 fi
8622 else
8623 result=$wxUSE_XRC
8624 fi
8625
8626 { echo "$as_me:$LINENO: result: $result" >&5
8627 echo "${ECHO_T}$result" >&6; }
8628
8629
8630 enablestring=
8631 defaultval=$wxUSE_ALL_FEATURES
8632 if test -z "$defaultval"; then
8633 if test x"$enablestring" = xdisable; then
8634 defaultval=yes
8635 else
8636 defaultval=no
8637 fi
8638 fi
8639
8640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8641 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8642 # Check whether --enable-aui was given.
8643 if test "${enable_aui+set}" = set; then
8644 enableval=$enable_aui;
8645 if test "$enableval" = yes; then
8646 wx_cv_use_aui='wxUSE_AUI=yes'
8647 else
8648 wx_cv_use_aui='wxUSE_AUI=no'
8649 fi
8650
8651 else
8652
8653 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8654
8655 fi
8656
8657
8658 eval "$wx_cv_use_aui"
8659
8660 if test x"$enablestring" = xdisable; then
8661 if test $wxUSE_AUI = no; then
8662 result=yes
8663 else
8664 result=no
8665 fi
8666 else
8667 result=$wxUSE_AUI
8668 fi
8669
8670 { echo "$as_me:$LINENO: result: $result" >&5
8671 echo "${ECHO_T}$result" >&6; }
8672
8673
8674 enablestring=
8675 defaultval=$wxUSE_ALL_FEATURES
8676 if test -z "$defaultval"; then
8677 if test x"$enablestring" = xdisable; then
8678 defaultval=yes
8679 else
8680 defaultval=no
8681 fi
8682 fi
8683
8684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8685 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8686 # Check whether --enable-propgrid was given.
8687 if test "${enable_propgrid+set}" = set; then
8688 enableval=$enable_propgrid;
8689 if test "$enableval" = yes; then
8690 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8691 else
8692 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8693 fi
8694
8695 else
8696
8697 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8698
8699 fi
8700
8701
8702 eval "$wx_cv_use_propgrid"
8703
8704 if test x"$enablestring" = xdisable; then
8705 if test $wxUSE_PROPGRID = no; then
8706 result=yes
8707 else
8708 result=no
8709 fi
8710 else
8711 result=$wxUSE_PROPGRID
8712 fi
8713
8714 { echo "$as_me:$LINENO: result: $result" >&5
8715 echo "${ECHO_T}$result" >&6; }
8716
8717
8718 enablestring=
8719 defaultval=$wxUSE_ALL_FEATURES
8720 if test -z "$defaultval"; then
8721 if test x"$enablestring" = xdisable; then
8722 defaultval=yes
8723 else
8724 defaultval=no
8725 fi
8726 fi
8727
8728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8729 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8730 # Check whether --enable-ribbon was given.
8731 if test "${enable_ribbon+set}" = set; then
8732 enableval=$enable_ribbon;
8733 if test "$enableval" = yes; then
8734 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8735 else
8736 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8737 fi
8738
8739 else
8740
8741 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8742
8743 fi
8744
8745
8746 eval "$wx_cv_use_ribbon"
8747
8748 if test x"$enablestring" = xdisable; then
8749 if test $wxUSE_RIBBON = no; then
8750 result=yes
8751 else
8752 result=no
8753 fi
8754 else
8755 result=$wxUSE_RIBBON
8756 fi
8757
8758 { echo "$as_me:$LINENO: result: $result" >&5
8759 echo "${ECHO_T}$result" >&6; }
8760
8761
8762 enablestring=
8763 defaultval=$wxUSE_ALL_FEATURES
8764 if test -z "$defaultval"; then
8765 if test x"$enablestring" = xdisable; then
8766 defaultval=yes
8767 else
8768 defaultval=no
8769 fi
8770 fi
8771
8772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8773 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8774 # Check whether --enable-stc was given.
8775 if test "${enable_stc+set}" = set; then
8776 enableval=$enable_stc;
8777 if test "$enableval" = yes; then
8778 wx_cv_use_stc='wxUSE_STC=yes'
8779 else
8780 wx_cv_use_stc='wxUSE_STC=no'
8781 fi
8782
8783 else
8784
8785 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8786
8787 fi
8788
8789
8790 eval "$wx_cv_use_stc"
8791
8792 if test x"$enablestring" = xdisable; then
8793 if test $wxUSE_STC = no; then
8794 result=yes
8795 else
8796 result=no
8797 fi
8798 else
8799 result=$wxUSE_STC
8800 fi
8801
8802 { echo "$as_me:$LINENO: result: $result" >&5
8803 echo "${ECHO_T}$result" >&6; }
8804
8805
8806 enablestring=
8807 defaultval=$wxUSE_ALL_FEATURES
8808 if test -z "$defaultval"; then
8809 if test x"$enablestring" = xdisable; then
8810 defaultval=yes
8811 else
8812 defaultval=no
8813 fi
8814 fi
8815
8816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8817 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8818 # Check whether --enable-constraints was given.
8819 if test "${enable_constraints+set}" = set; then
8820 enableval=$enable_constraints;
8821 if test "$enableval" = yes; then
8822 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8823 else
8824 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8825 fi
8826
8827 else
8828
8829 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8830
8831 fi
8832
8833
8834 eval "$wx_cv_use_constraints"
8835
8836 if test x"$enablestring" = xdisable; then
8837 if test $wxUSE_CONSTRAINTS = no; then
8838 result=yes
8839 else
8840 result=no
8841 fi
8842 else
8843 result=$wxUSE_CONSTRAINTS
8844 fi
8845
8846 { echo "$as_me:$LINENO: result: $result" >&5
8847 echo "${ECHO_T}$result" >&6; }
8848
8849
8850 enablestring=
8851 defaultval=$wxUSE_ALL_FEATURES
8852 if test -z "$defaultval"; then
8853 if test x"$enablestring" = xdisable; then
8854 defaultval=yes
8855 else
8856 defaultval=no
8857 fi
8858 fi
8859
8860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8861 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8862 # Check whether --enable-loggui was given.
8863 if test "${enable_loggui+set}" = set; then
8864 enableval=$enable_loggui;
8865 if test "$enableval" = yes; then
8866 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8867 else
8868 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8869 fi
8870
8871 else
8872
8873 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8874
8875 fi
8876
8877
8878 eval "$wx_cv_use_loggui"
8879
8880 if test x"$enablestring" = xdisable; then
8881 if test $wxUSE_LOGGUI = no; then
8882 result=yes
8883 else
8884 result=no
8885 fi
8886 else
8887 result=$wxUSE_LOGGUI
8888 fi
8889
8890 { echo "$as_me:$LINENO: result: $result" >&5
8891 echo "${ECHO_T}$result" >&6; }
8892
8893
8894 enablestring=
8895 defaultval=$wxUSE_ALL_FEATURES
8896 if test -z "$defaultval"; then
8897 if test x"$enablestring" = xdisable; then
8898 defaultval=yes
8899 else
8900 defaultval=no
8901 fi
8902 fi
8903
8904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8905 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8906 # Check whether --enable-logwin was given.
8907 if test "${enable_logwin+set}" = set; then
8908 enableval=$enable_logwin;
8909 if test "$enableval" = yes; then
8910 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8911 else
8912 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8913 fi
8914
8915 else
8916
8917 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8918
8919 fi
8920
8921
8922 eval "$wx_cv_use_logwin"
8923
8924 if test x"$enablestring" = xdisable; then
8925 if test $wxUSE_LOGWINDOW = no; then
8926 result=yes
8927 else
8928 result=no
8929 fi
8930 else
8931 result=$wxUSE_LOGWINDOW
8932 fi
8933
8934 { echo "$as_me:$LINENO: result: $result" >&5
8935 echo "${ECHO_T}$result" >&6; }
8936
8937
8938 enablestring=
8939 defaultval=$wxUSE_ALL_FEATURES
8940 if test -z "$defaultval"; then
8941 if test x"$enablestring" = xdisable; then
8942 defaultval=yes
8943 else
8944 defaultval=no
8945 fi
8946 fi
8947
8948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8949 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8950 # Check whether --enable-logdialog was given.
8951 if test "${enable_logdialog+set}" = set; then
8952 enableval=$enable_logdialog;
8953 if test "$enableval" = yes; then
8954 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8955 else
8956 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8957 fi
8958
8959 else
8960
8961 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8962
8963 fi
8964
8965
8966 eval "$wx_cv_use_logdialog"
8967
8968 if test x"$enablestring" = xdisable; then
8969 if test $wxUSE_LOGDIALOG = no; then
8970 result=yes
8971 else
8972 result=no
8973 fi
8974 else
8975 result=$wxUSE_LOGDIALOG
8976 fi
8977
8978 { echo "$as_me:$LINENO: result: $result" >&5
8979 echo "${ECHO_T}$result" >&6; }
8980
8981
8982 enablestring=
8983 defaultval=$wxUSE_ALL_FEATURES
8984 if test -z "$defaultval"; then
8985 if test x"$enablestring" = xdisable; then
8986 defaultval=yes
8987 else
8988 defaultval=no
8989 fi
8990 fi
8991
8992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8993 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8994 # Check whether --enable-mdi was given.
8995 if test "${enable_mdi+set}" = set; then
8996 enableval=$enable_mdi;
8997 if test "$enableval" = yes; then
8998 wx_cv_use_mdi='wxUSE_MDI=yes'
8999 else
9000 wx_cv_use_mdi='wxUSE_MDI=no'
9001 fi
9002
9003 else
9004
9005 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9006
9007 fi
9008
9009
9010 eval "$wx_cv_use_mdi"
9011
9012 if test x"$enablestring" = xdisable; then
9013 if test $wxUSE_MDI = no; then
9014 result=yes
9015 else
9016 result=no
9017 fi
9018 else
9019 result=$wxUSE_MDI
9020 fi
9021
9022 { echo "$as_me:$LINENO: result: $result" >&5
9023 echo "${ECHO_T}$result" >&6; }
9024
9025
9026 enablestring=
9027 defaultval=$wxUSE_ALL_FEATURES
9028 if test -z "$defaultval"; then
9029 if test x"$enablestring" = xdisable; then
9030 defaultval=yes
9031 else
9032 defaultval=no
9033 fi
9034 fi
9035
9036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9038 # Check whether --enable-mdidoc was given.
9039 if test "${enable_mdidoc+set}" = set; then
9040 enableval=$enable_mdidoc;
9041 if test "$enableval" = yes; then
9042 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9043 else
9044 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9045 fi
9046
9047 else
9048
9049 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9050
9051 fi
9052
9053
9054 eval "$wx_cv_use_mdidoc"
9055
9056 if test x"$enablestring" = xdisable; then
9057 if test $wxUSE_MDI_ARCHITECTURE = no; then
9058 result=yes
9059 else
9060 result=no
9061 fi
9062 else
9063 result=$wxUSE_MDI_ARCHITECTURE
9064 fi
9065
9066 { echo "$as_me:$LINENO: result: $result" >&5
9067 echo "${ECHO_T}$result" >&6; }
9068
9069
9070 enablestring=
9071 defaultval=$wxUSE_ALL_FEATURES
9072 if test -z "$defaultval"; then
9073 if test x"$enablestring" = xdisable; then
9074 defaultval=yes
9075 else
9076 defaultval=no
9077 fi
9078 fi
9079
9080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9081 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9082 # Check whether --enable-mediactrl was given.
9083 if test "${enable_mediactrl+set}" = set; then
9084 enableval=$enable_mediactrl;
9085 if test "$enableval" = yes; then
9086 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9087 else
9088 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9089 fi
9090
9091 else
9092
9093 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9094
9095 fi
9096
9097
9098 eval "$wx_cv_use_mediactrl"
9099
9100 if test x"$enablestring" = xdisable; then
9101 if test $wxUSE_MEDIACTRL = no; then
9102 result=yes
9103 else
9104 result=no
9105 fi
9106 else
9107 result=$wxUSE_MEDIACTRL
9108 fi
9109
9110 { echo "$as_me:$LINENO: result: $result" >&5
9111 echo "${ECHO_T}$result" >&6; }
9112
9113
9114 enablestring=
9115 defaultval=$wxUSE_ALL_FEATURES
9116 if test -z "$defaultval"; then
9117 if test x"$enablestring" = xdisable; then
9118 defaultval=yes
9119 else
9120 defaultval=no
9121 fi
9122 fi
9123
9124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9125 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9126 # Check whether --enable-gstreamer8 was given.
9127 if test "${enable_gstreamer8+set}" = set; then
9128 enableval=$enable_gstreamer8;
9129 if test "$enableval" = yes; then
9130 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9131 else
9132 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9133 fi
9134
9135 else
9136
9137 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9138
9139 fi
9140
9141
9142 eval "$wx_cv_use_gstreamer8"
9143
9144 if test x"$enablestring" = xdisable; then
9145 if test $wxUSE_GSTREAMER8 = no; then
9146 result=yes
9147 else
9148 result=no
9149 fi
9150 else
9151 result=$wxUSE_GSTREAMER8
9152 fi
9153
9154 { echo "$as_me:$LINENO: result: $result" >&5
9155 echo "${ECHO_T}$result" >&6; }
9156
9157
9158 enablestring=
9159 defaultval=$wxUSE_ALL_FEATURES
9160 if test -z "$defaultval"; then
9161 if test x"$enablestring" = xdisable; then
9162 defaultval=yes
9163 else
9164 defaultval=no
9165 fi
9166 fi
9167
9168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9169 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9170 # Check whether --enable-webkit was given.
9171 if test "${enable_webkit+set}" = set; then
9172 enableval=$enable_webkit;
9173 if test "$enableval" = yes; then
9174 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9175 else
9176 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9177 fi
9178
9179 else
9180
9181 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9182
9183 fi
9184
9185
9186 eval "$wx_cv_use_webkit"
9187
9188 if test x"$enablestring" = xdisable; then
9189 if test $wxUSE_WEBKIT = no; then
9190 result=yes
9191 else
9192 result=no
9193 fi
9194 else
9195 result=$wxUSE_WEBKIT
9196 fi
9197
9198 { echo "$as_me:$LINENO: result: $result" >&5
9199 echo "${ECHO_T}$result" >&6; }
9200
9201
9202 enablestring=
9203 defaultval=$wxUSE_ALL_FEATURES
9204 if test -z "$defaultval"; then
9205 if test x"$enablestring" = xdisable; then
9206 defaultval=yes
9207 else
9208 defaultval=no
9209 fi
9210 fi
9211
9212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9213 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9214 # Check whether --enable-richtext was given.
9215 if test "${enable_richtext+set}" = set; then
9216 enableval=$enable_richtext;
9217 if test "$enableval" = yes; then
9218 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9219 else
9220 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9221 fi
9222
9223 else
9224
9225 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9226
9227 fi
9228
9229
9230 eval "$wx_cv_use_richtext"
9231
9232 if test x"$enablestring" = xdisable; then
9233 if test $wxUSE_RICHTEXT = no; then
9234 result=yes
9235 else
9236 result=no
9237 fi
9238 else
9239 result=$wxUSE_RICHTEXT
9240 fi
9241
9242 { echo "$as_me:$LINENO: result: $result" >&5
9243 echo "${ECHO_T}$result" >&6; }
9244
9245
9246 enablestring=
9247 defaultval=$wxUSE_ALL_FEATURES
9248 if test -z "$defaultval"; then
9249 if test x"$enablestring" = xdisable; then
9250 defaultval=yes
9251 else
9252 defaultval=no
9253 fi
9254 fi
9255
9256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9257 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9258 # Check whether --enable-graphics_ctx was given.
9259 if test "${enable_graphics_ctx+set}" = set; then
9260 enableval=$enable_graphics_ctx;
9261 if test "$enableval" = yes; then
9262 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9263 else
9264 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9265 fi
9266
9267 else
9268
9269 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9270
9271 fi
9272
9273
9274 eval "$wx_cv_use_graphics_ctx"
9275
9276 if test x"$enablestring" = xdisable; then
9277 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9278 result=yes
9279 else
9280 result=no
9281 fi
9282 else
9283 result=$wxUSE_GRAPHICS_CONTEXT
9284 fi
9285
9286 { echo "$as_me:$LINENO: result: $result" >&5
9287 echo "${ECHO_T}$result" >&6; }
9288
9289
9290 enablestring=
9291 defaultval=$wxUSE_ALL_FEATURES
9292 if test -z "$defaultval"; then
9293 if test x"$enablestring" = xdisable; then
9294 defaultval=yes
9295 else
9296 defaultval=no
9297 fi
9298 fi
9299
9300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9301 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9302 # Check whether --enable-postscript was given.
9303 if test "${enable_postscript+set}" = set; then
9304 enableval=$enable_postscript;
9305 if test "$enableval" = yes; then
9306 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9307 else
9308 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9309 fi
9310
9311 else
9312
9313 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9314
9315 fi
9316
9317
9318 eval "$wx_cv_use_postscript"
9319
9320 if test x"$enablestring" = xdisable; then
9321 if test $wxUSE_POSTSCRIPT = no; then
9322 result=yes
9323 else
9324 result=no
9325 fi
9326 else
9327 result=$wxUSE_POSTSCRIPT
9328 fi
9329
9330 { echo "$as_me:$LINENO: result: $result" >&5
9331 echo "${ECHO_T}$result" >&6; }
9332
9333
9334 enablestring=
9335 defaultval=$wxUSE_ALL_FEATURES
9336 if test -z "$defaultval"; then
9337 if test x"$enablestring" = xdisable; then
9338 defaultval=yes
9339 else
9340 defaultval=no
9341 fi
9342 fi
9343
9344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9345 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9346 # Check whether --enable-printarch was given.
9347 if test "${enable_printarch+set}" = set; then
9348 enableval=$enable_printarch;
9349 if test "$enableval" = yes; then
9350 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9351 else
9352 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9353 fi
9354
9355 else
9356
9357 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9358
9359 fi
9360
9361
9362 eval "$wx_cv_use_printarch"
9363
9364 if test x"$enablestring" = xdisable; then
9365 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9366 result=yes
9367 else
9368 result=no
9369 fi
9370 else
9371 result=$wxUSE_PRINTING_ARCHITECTURE
9372 fi
9373
9374 { echo "$as_me:$LINENO: result: $result" >&5
9375 echo "${ECHO_T}$result" >&6; }
9376
9377
9378 enablestring=
9379 defaultval=$wxUSE_ALL_FEATURES
9380 if test -z "$defaultval"; then
9381 if test x"$enablestring" = xdisable; then
9382 defaultval=yes
9383 else
9384 defaultval=no
9385 fi
9386 fi
9387
9388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9389 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9390 # Check whether --enable-svg was given.
9391 if test "${enable_svg+set}" = set; then
9392 enableval=$enable_svg;
9393 if test "$enableval" = yes; then
9394 wx_cv_use_svg='wxUSE_SVG=yes'
9395 else
9396 wx_cv_use_svg='wxUSE_SVG=no'
9397 fi
9398
9399 else
9400
9401 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9402
9403 fi
9404
9405
9406 eval "$wx_cv_use_svg"
9407
9408 if test x"$enablestring" = xdisable; then
9409 if test $wxUSE_SVG = no; then
9410 result=yes
9411 else
9412 result=no
9413 fi
9414 else
9415 result=$wxUSE_SVG
9416 fi
9417
9418 { echo "$as_me:$LINENO: result: $result" >&5
9419 echo "${ECHO_T}$result" >&6; }
9420
9421
9422
9423
9424 enablestring=
9425 defaultval=$wxUSE_ALL_FEATURES
9426 if test -z "$defaultval"; then
9427 if test x"$enablestring" = xdisable; then
9428 defaultval=yes
9429 else
9430 defaultval=no
9431 fi
9432 fi
9433
9434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9435 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9436 # Check whether --enable-clipboard was given.
9437 if test "${enable_clipboard+set}" = set; then
9438 enableval=$enable_clipboard;
9439 if test "$enableval" = yes; then
9440 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9441 else
9442 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9443 fi
9444
9445 else
9446
9447 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9448
9449 fi
9450
9451
9452 eval "$wx_cv_use_clipboard"
9453
9454 if test x"$enablestring" = xdisable; then
9455 if test $wxUSE_CLIPBOARD = no; then
9456 result=yes
9457 else
9458 result=no
9459 fi
9460 else
9461 result=$wxUSE_CLIPBOARD
9462 fi
9463
9464 { echo "$as_me:$LINENO: result: $result" >&5
9465 echo "${ECHO_T}$result" >&6; }
9466
9467
9468 enablestring=
9469 defaultval=$wxUSE_ALL_FEATURES
9470 if test -z "$defaultval"; then
9471 if test x"$enablestring" = xdisable; then
9472 defaultval=yes
9473 else
9474 defaultval=no
9475 fi
9476 fi
9477
9478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9479 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9480 # Check whether --enable-dnd was given.
9481 if test "${enable_dnd+set}" = set; then
9482 enableval=$enable_dnd;
9483 if test "$enableval" = yes; then
9484 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9485 else
9486 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9487 fi
9488
9489 else
9490
9491 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9492
9493 fi
9494
9495
9496 eval "$wx_cv_use_dnd"
9497
9498 if test x"$enablestring" = xdisable; then
9499 if test $wxUSE_DRAG_AND_DROP = no; then
9500 result=yes
9501 else
9502 result=no
9503 fi
9504 else
9505 result=$wxUSE_DRAG_AND_DROP
9506 fi
9507
9508 { echo "$as_me:$LINENO: result: $result" >&5
9509 echo "${ECHO_T}$result" >&6; }
9510
9511
9512 enablestring=
9513 defaultval=$wxUSE_ALL_FEATURES
9514 if test -z "$defaultval"; then
9515 if test x"$enablestring" = xdisable; then
9516 defaultval=yes
9517 else
9518 defaultval=no
9519 fi
9520 fi
9521
9522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9523 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9524 # Check whether --enable-metafile was given.
9525 if test "${enable_metafile+set}" = set; then
9526 enableval=$enable_metafile;
9527 if test "$enableval" = yes; then
9528 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9529 else
9530 wx_cv_use_metafile='wxUSE_METAFILE=no'
9531 fi
9532
9533 else
9534
9535 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9536
9537 fi
9538
9539
9540 eval "$wx_cv_use_metafile"
9541
9542 if test x"$enablestring" = xdisable; then
9543 if test $wxUSE_METAFILE = no; then
9544 result=yes
9545 else
9546 result=no
9547 fi
9548 else
9549 result=$wxUSE_METAFILE
9550 fi
9551
9552 { echo "$as_me:$LINENO: result: $result" >&5
9553 echo "${ECHO_T}$result" >&6; }
9554
9555
9556
9557 DEFAULT_wxUSE_CONTROLS=none
9558
9559 enablestring=disable
9560 defaultval=
9561 if test -z "$defaultval"; then
9562 if test x"$enablestring" = xdisable; then
9563 defaultval=yes
9564 else
9565 defaultval=no
9566 fi
9567 fi
9568
9569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9570 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9571 # Check whether --enable-controls was given.
9572 if test "${enable_controls+set}" = set; then
9573 enableval=$enable_controls;
9574 if test "$enableval" = yes; then
9575 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9576 else
9577 wx_cv_use_controls='wxUSE_CONTROLS=no'
9578 fi
9579
9580 else
9581
9582 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9583
9584 fi
9585
9586
9587 eval "$wx_cv_use_controls"
9588
9589 if test x"$enablestring" = xdisable; then
9590 if test $wxUSE_CONTROLS = no; then
9591 result=yes
9592 else
9593 result=no
9594 fi
9595 else
9596 result=$wxUSE_CONTROLS
9597 fi
9598
9599 { echo "$as_me:$LINENO: result: $result" >&5
9600 echo "${ECHO_T}$result" >&6; }
9601
9602
9603 if test "$wxUSE_CONTROLS" = "no"; then
9604 DEFAULT_wxUSE_ACCEL=no
9605 DEFAULT_wxUSE_ANIMATIONCTRL=no
9606 DEFAULT_wxUSE_BMPBUTTON=no
9607 DEFAULT_wxUSE_BUTTON=no
9608 DEFAULT_wxUSE_CALCTRL=no
9609 DEFAULT_wxUSE_CARET=no
9610 DEFAULT_wxUSE_CHECKBOX=no
9611 DEFAULT_wxUSE_CHECKLISTBOX=no
9612 DEFAULT_wxUSE_CHOICE=no
9613 DEFAULT_wxUSE_CHOICEBOOK=no
9614 DEFAULT_wxUSE_COLLPANE=no
9615 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9616 DEFAULT_wxUSE_COMBOBOX=no
9617 DEFAULT_wxUSE_COMBOBOX=no
9618 DEFAULT_wxUSE_DATAVIEWCTRL=no
9619 DEFAULT_wxUSE_DATEPICKCTRL=no
9620 DEFAULT_wxUSE_DETECT_SM=no
9621 DEFAULT_wxUSE_DIRPICKERCTRL=no
9622 DEFAULT_wxUSE_DISPLAY=no
9623 DEFAULT_wxUSE_FILECTRL=no
9624 DEFAULT_wxUSE_FILEPICKERCTRL=no
9625 DEFAULT_wxUSE_FONTPICKERCTRL=no
9626 DEFAULT_wxUSE_GAUGE=no
9627 DEFAULT_wxUSE_GRID=no
9628 DEFAULT_wxUSE_HEADERCTRL=no
9629 DEFAULT_wxUSE_HYPERLINKCTRL=no
9630 DEFAULT_wxUSE_IMAGLIST=no
9631 DEFAULT_wxUSE_LISTBOOK=no
9632 DEFAULT_wxUSE_LISTBOX=no
9633 DEFAULT_wxUSE_LISTCTRL=no
9634 DEFAULT_wxUSE_NOTEBOOK=no
9635 DEFAULT_wxUSE_POPUPWIN=no
9636 DEFAULT_wxUSE_RADIOBOX=no
9637 DEFAULT_wxUSE_RADIOBTN=no
9638 DEFAULT_wxUSE_REARRANGECTRL=no
9639 DEFAULT_wxUSE_SASH=no
9640 DEFAULT_wxUSE_SCROLLBAR=no
9641 DEFAULT_wxUSE_SEARCHCTRL=no
9642 DEFAULT_wxUSE_SLIDER=no
9643 DEFAULT_wxUSE_SPINBTN=no
9644 DEFAULT_wxUSE_SPINCTRL=no
9645 DEFAULT_wxUSE_SPLITTER=no
9646 DEFAULT_wxUSE_STATBMP=no
9647 DEFAULT_wxUSE_STATBOX=no
9648 DEFAULT_wxUSE_STATLINE=no
9649 DEFAULT_wxUSE_STATUSBAR=no
9650 DEFAULT_wxUSE_TIPWINDOW=no
9651 DEFAULT_wxUSE_TOGGLEBTN=no
9652 DEFAULT_wxUSE_TOOLBAR=no
9653 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9654 DEFAULT_wxUSE_TOOLBOOK=no
9655 DEFAULT_wxUSE_TOOLTIPS=no
9656 DEFAULT_wxUSE_TREEBOOK=no
9657 DEFAULT_wxUSE_TREECTRL=no
9658 fi
9659
9660
9661 enablestring=
9662 defaultval=$wxUSE_ALL_FEATURES
9663 if test -z "$defaultval"; then
9664 if test x"$enablestring" = xdisable; then
9665 defaultval=yes
9666 else
9667 defaultval=no
9668 fi
9669 fi
9670
9671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9672 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9673 # Check whether --enable-accel was given.
9674 if test "${enable_accel+set}" = set; then
9675 enableval=$enable_accel;
9676 if test "$enableval" = yes; then
9677 wx_cv_use_accel='wxUSE_ACCEL=yes'
9678 else
9679 wx_cv_use_accel='wxUSE_ACCEL=no'
9680 fi
9681
9682 else
9683
9684 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9685
9686 fi
9687
9688
9689 eval "$wx_cv_use_accel"
9690
9691 if test x"$enablestring" = xdisable; then
9692 if test $wxUSE_ACCEL = no; then
9693 result=yes
9694 else
9695 result=no
9696 fi
9697 else
9698 result=$wxUSE_ACCEL
9699 fi
9700
9701 { echo "$as_me:$LINENO: result: $result" >&5
9702 echo "${ECHO_T}$result" >&6; }
9703
9704
9705 enablestring=
9706 defaultval=$wxUSE_ALL_FEATURES
9707 if test -z "$defaultval"; then
9708 if test x"$enablestring" = xdisable; then
9709 defaultval=yes
9710 else
9711 defaultval=no
9712 fi
9713 fi
9714
9715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9716 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9717 # Check whether --enable-animatectrl was given.
9718 if test "${enable_animatectrl+set}" = set; then
9719 enableval=$enable_animatectrl;
9720 if test "$enableval" = yes; then
9721 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9722 else
9723 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9724 fi
9725
9726 else
9727
9728 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9729
9730 fi
9731
9732
9733 eval "$wx_cv_use_animatectrl"
9734
9735 if test x"$enablestring" = xdisable; then
9736 if test $wxUSE_ANIMATIONCTRL = no; then
9737 result=yes
9738 else
9739 result=no
9740 fi
9741 else
9742 result=$wxUSE_ANIMATIONCTRL
9743 fi
9744
9745 { echo "$as_me:$LINENO: result: $result" >&5
9746 echo "${ECHO_T}$result" >&6; }
9747
9748
9749 enablestring=
9750 defaultval=$wxUSE_ALL_FEATURES
9751 if test -z "$defaultval"; then
9752 if test x"$enablestring" = xdisable; then
9753 defaultval=yes
9754 else
9755 defaultval=no
9756 fi
9757 fi
9758
9759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9760 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9761 # Check whether --enable-bmpbutton was given.
9762 if test "${enable_bmpbutton+set}" = set; then
9763 enableval=$enable_bmpbutton;
9764 if test "$enableval" = yes; then
9765 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9766 else
9767 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9768 fi
9769
9770 else
9771
9772 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9773
9774 fi
9775
9776
9777 eval "$wx_cv_use_bmpbutton"
9778
9779 if test x"$enablestring" = xdisable; then
9780 if test $wxUSE_BMPBUTTON = no; then
9781 result=yes
9782 else
9783 result=no
9784 fi
9785 else
9786 result=$wxUSE_BMPBUTTON
9787 fi
9788
9789 { echo "$as_me:$LINENO: result: $result" >&5
9790 echo "${ECHO_T}$result" >&6; }
9791
9792
9793 enablestring=
9794 defaultval=$wxUSE_ALL_FEATURES
9795 if test -z "$defaultval"; then
9796 if test x"$enablestring" = xdisable; then
9797 defaultval=yes
9798 else
9799 defaultval=no
9800 fi
9801 fi
9802
9803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9805 # Check whether --enable-bmpcombobox was given.
9806 if test "${enable_bmpcombobox+set}" = set; then
9807 enableval=$enable_bmpcombobox;
9808 if test "$enableval" = yes; then
9809 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9810 else
9811 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9812 fi
9813
9814 else
9815
9816 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9817
9818 fi
9819
9820
9821 eval "$wx_cv_use_bmpcombobox"
9822
9823 if test x"$enablestring" = xdisable; then
9824 if test $wxUSE_BITMAPCOMBOBOX = no; then
9825 result=yes
9826 else
9827 result=no
9828 fi
9829 else
9830 result=$wxUSE_BITMAPCOMBOBOX
9831 fi
9832
9833 { echo "$as_me:$LINENO: result: $result" >&5
9834 echo "${ECHO_T}$result" >&6; }
9835
9836
9837 enablestring=
9838 defaultval=$wxUSE_ALL_FEATURES
9839 if test -z "$defaultval"; then
9840 if test x"$enablestring" = xdisable; then
9841 defaultval=yes
9842 else
9843 defaultval=no
9844 fi
9845 fi
9846
9847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9848 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9849 # Check whether --enable-button was given.
9850 if test "${enable_button+set}" = set; then
9851 enableval=$enable_button;
9852 if test "$enableval" = yes; then
9853 wx_cv_use_button='wxUSE_BUTTON=yes'
9854 else
9855 wx_cv_use_button='wxUSE_BUTTON=no'
9856 fi
9857
9858 else
9859
9860 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9861
9862 fi
9863
9864
9865 eval "$wx_cv_use_button"
9866
9867 if test x"$enablestring" = xdisable; then
9868 if test $wxUSE_BUTTON = no; then
9869 result=yes
9870 else
9871 result=no
9872 fi
9873 else
9874 result=$wxUSE_BUTTON
9875 fi
9876
9877 { echo "$as_me:$LINENO: result: $result" >&5
9878 echo "${ECHO_T}$result" >&6; }
9879
9880
9881 enablestring=
9882 defaultval=$wxUSE_ALL_FEATURES
9883 if test -z "$defaultval"; then
9884 if test x"$enablestring" = xdisable; then
9885 defaultval=yes
9886 else
9887 defaultval=no
9888 fi
9889 fi
9890
9891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9892 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9893 # Check whether --enable-calendar was given.
9894 if test "${enable_calendar+set}" = set; then
9895 enableval=$enable_calendar;
9896 if test "$enableval" = yes; then
9897 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9898 else
9899 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9900 fi
9901
9902 else
9903
9904 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9905
9906 fi
9907
9908
9909 eval "$wx_cv_use_calendar"
9910
9911 if test x"$enablestring" = xdisable; then
9912 if test $wxUSE_CALCTRL = no; then
9913 result=yes
9914 else
9915 result=no
9916 fi
9917 else
9918 result=$wxUSE_CALCTRL
9919 fi
9920
9921 { echo "$as_me:$LINENO: result: $result" >&5
9922 echo "${ECHO_T}$result" >&6; }
9923
9924
9925 enablestring=
9926 defaultval=$wxUSE_ALL_FEATURES
9927 if test -z "$defaultval"; then
9928 if test x"$enablestring" = xdisable; then
9929 defaultval=yes
9930 else
9931 defaultval=no
9932 fi
9933 fi
9934
9935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9936 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9937 # Check whether --enable-caret was given.
9938 if test "${enable_caret+set}" = set; then
9939 enableval=$enable_caret;
9940 if test "$enableval" = yes; then
9941 wx_cv_use_caret='wxUSE_CARET=yes'
9942 else
9943 wx_cv_use_caret='wxUSE_CARET=no'
9944 fi
9945
9946 else
9947
9948 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9949
9950 fi
9951
9952
9953 eval "$wx_cv_use_caret"
9954
9955 if test x"$enablestring" = xdisable; then
9956 if test $wxUSE_CARET = no; then
9957 result=yes
9958 else
9959 result=no
9960 fi
9961 else
9962 result=$wxUSE_CARET
9963 fi
9964
9965 { echo "$as_me:$LINENO: result: $result" >&5
9966 echo "${ECHO_T}$result" >&6; }
9967
9968
9969 enablestring=
9970 defaultval=$wxUSE_ALL_FEATURES
9971 if test -z "$defaultval"; then
9972 if test x"$enablestring" = xdisable; then
9973 defaultval=yes
9974 else
9975 defaultval=no
9976 fi
9977 fi
9978
9979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9980 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9981 # Check whether --enable-checkbox was given.
9982 if test "${enable_checkbox+set}" = set; then
9983 enableval=$enable_checkbox;
9984 if test "$enableval" = yes; then
9985 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9986 else
9987 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9988 fi
9989
9990 else
9991
9992 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9993
9994 fi
9995
9996
9997 eval "$wx_cv_use_checkbox"
9998
9999 if test x"$enablestring" = xdisable; then
10000 if test $wxUSE_CHECKBOX = no; then
10001 result=yes
10002 else
10003 result=no
10004 fi
10005 else
10006 result=$wxUSE_CHECKBOX
10007 fi
10008
10009 { echo "$as_me:$LINENO: result: $result" >&5
10010 echo "${ECHO_T}$result" >&6; }
10011
10012
10013 enablestring=
10014 defaultval=$wxUSE_ALL_FEATURES
10015 if test -z "$defaultval"; then
10016 if test x"$enablestring" = xdisable; then
10017 defaultval=yes
10018 else
10019 defaultval=no
10020 fi
10021 fi
10022
10023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10024 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10025 # Check whether --enable-checklst was given.
10026 if test "${enable_checklst+set}" = set; then
10027 enableval=$enable_checklst;
10028 if test "$enableval" = yes; then
10029 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10030 else
10031 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10032 fi
10033
10034 else
10035
10036 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10037
10038 fi
10039
10040
10041 eval "$wx_cv_use_checklst"
10042
10043 if test x"$enablestring" = xdisable; then
10044 if test $wxUSE_CHECKLST = no; then
10045 result=yes
10046 else
10047 result=no
10048 fi
10049 else
10050 result=$wxUSE_CHECKLST
10051 fi
10052
10053 { echo "$as_me:$LINENO: result: $result" >&5
10054 echo "${ECHO_T}$result" >&6; }
10055
10056
10057 enablestring=
10058 defaultval=$wxUSE_ALL_FEATURES
10059 if test -z "$defaultval"; then
10060 if test x"$enablestring" = xdisable; then
10061 defaultval=yes
10062 else
10063 defaultval=no
10064 fi
10065 fi
10066
10067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10068 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10069 # Check whether --enable-choice was given.
10070 if test "${enable_choice+set}" = set; then
10071 enableval=$enable_choice;
10072 if test "$enableval" = yes; then
10073 wx_cv_use_choice='wxUSE_CHOICE=yes'
10074 else
10075 wx_cv_use_choice='wxUSE_CHOICE=no'
10076 fi
10077
10078 else
10079
10080 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10081
10082 fi
10083
10084
10085 eval "$wx_cv_use_choice"
10086
10087 if test x"$enablestring" = xdisable; then
10088 if test $wxUSE_CHOICE = no; then
10089 result=yes
10090 else
10091 result=no
10092 fi
10093 else
10094 result=$wxUSE_CHOICE
10095 fi
10096
10097 { echo "$as_me:$LINENO: result: $result" >&5
10098 echo "${ECHO_T}$result" >&6; }
10099
10100
10101 enablestring=
10102 defaultval=$wxUSE_ALL_FEATURES
10103 if test -z "$defaultval"; then
10104 if test x"$enablestring" = xdisable; then
10105 defaultval=yes
10106 else
10107 defaultval=no
10108 fi
10109 fi
10110
10111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10112 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10113 # Check whether --enable-choicebook was given.
10114 if test "${enable_choicebook+set}" = set; then
10115 enableval=$enable_choicebook;
10116 if test "$enableval" = yes; then
10117 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10118 else
10119 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10120 fi
10121
10122 else
10123
10124 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10125
10126 fi
10127
10128
10129 eval "$wx_cv_use_choicebook"
10130
10131 if test x"$enablestring" = xdisable; then
10132 if test $wxUSE_CHOICEBOOK = no; then
10133 result=yes
10134 else
10135 result=no
10136 fi
10137 else
10138 result=$wxUSE_CHOICEBOOK
10139 fi
10140
10141 { echo "$as_me:$LINENO: result: $result" >&5
10142 echo "${ECHO_T}$result" >&6; }
10143
10144
10145 enablestring=
10146 defaultval=$wxUSE_ALL_FEATURES
10147 if test -z "$defaultval"; then
10148 if test x"$enablestring" = xdisable; then
10149 defaultval=yes
10150 else
10151 defaultval=no
10152 fi
10153 fi
10154
10155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10157 # Check whether --enable-collpane was given.
10158 if test "${enable_collpane+set}" = set; then
10159 enableval=$enable_collpane;
10160 if test "$enableval" = yes; then
10161 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10162 else
10163 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10164 fi
10165
10166 else
10167
10168 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10169
10170 fi
10171
10172
10173 eval "$wx_cv_use_collpane"
10174
10175 if test x"$enablestring" = xdisable; then
10176 if test $wxUSE_COLLPANE = no; then
10177 result=yes
10178 else
10179 result=no
10180 fi
10181 else
10182 result=$wxUSE_COLLPANE
10183 fi
10184
10185 { echo "$as_me:$LINENO: result: $result" >&5
10186 echo "${ECHO_T}$result" >&6; }
10187
10188
10189 enablestring=
10190 defaultval=$wxUSE_ALL_FEATURES
10191 if test -z "$defaultval"; then
10192 if test x"$enablestring" = xdisable; then
10193 defaultval=yes
10194 else
10195 defaultval=no
10196 fi
10197 fi
10198
10199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10200 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10201 # Check whether --enable-colourpicker was given.
10202 if test "${enable_colourpicker+set}" = set; then
10203 enableval=$enable_colourpicker;
10204 if test "$enableval" = yes; then
10205 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10206 else
10207 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10208 fi
10209
10210 else
10211
10212 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10213
10214 fi
10215
10216
10217 eval "$wx_cv_use_colourpicker"
10218
10219 if test x"$enablestring" = xdisable; then
10220 if test $wxUSE_COLOURPICKERCTRL = no; then
10221 result=yes
10222 else
10223 result=no
10224 fi
10225 else
10226 result=$wxUSE_COLOURPICKERCTRL
10227 fi
10228
10229 { echo "$as_me:$LINENO: result: $result" >&5
10230 echo "${ECHO_T}$result" >&6; }
10231
10232
10233 enablestring=
10234 defaultval=$wxUSE_ALL_FEATURES
10235 if test -z "$defaultval"; then
10236 if test x"$enablestring" = xdisable; then
10237 defaultval=yes
10238 else
10239 defaultval=no
10240 fi
10241 fi
10242
10243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10244 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10245 # Check whether --enable-combobox was given.
10246 if test "${enable_combobox+set}" = set; then
10247 enableval=$enable_combobox;
10248 if test "$enableval" = yes; then
10249 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10250 else
10251 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10252 fi
10253
10254 else
10255
10256 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10257
10258 fi
10259
10260
10261 eval "$wx_cv_use_combobox"
10262
10263 if test x"$enablestring" = xdisable; then
10264 if test $wxUSE_COMBOBOX = no; then
10265 result=yes
10266 else
10267 result=no
10268 fi
10269 else
10270 result=$wxUSE_COMBOBOX
10271 fi
10272
10273 { echo "$as_me:$LINENO: result: $result" >&5
10274 echo "${ECHO_T}$result" >&6; }
10275
10276
10277 enablestring=
10278 defaultval=$wxUSE_ALL_FEATURES
10279 if test -z "$defaultval"; then
10280 if test x"$enablestring" = xdisable; then
10281 defaultval=yes
10282 else
10283 defaultval=no
10284 fi
10285 fi
10286
10287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10289 # Check whether --enable-comboctrl was given.
10290 if test "${enable_comboctrl+set}" = set; then
10291 enableval=$enable_comboctrl;
10292 if test "$enableval" = yes; then
10293 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10294 else
10295 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10296 fi
10297
10298 else
10299
10300 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10301
10302 fi
10303
10304
10305 eval "$wx_cv_use_comboctrl"
10306
10307 if test x"$enablestring" = xdisable; then
10308 if test $wxUSE_COMBOCTRL = no; then
10309 result=yes
10310 else
10311 result=no
10312 fi
10313 else
10314 result=$wxUSE_COMBOCTRL
10315 fi
10316
10317 { echo "$as_me:$LINENO: result: $result" >&5
10318 echo "${ECHO_T}$result" >&6; }
10319
10320
10321 enablestring=
10322 defaultval=$wxUSE_ALL_FEATURES
10323 if test -z "$defaultval"; then
10324 if test x"$enablestring" = xdisable; then
10325 defaultval=yes
10326 else
10327 defaultval=no
10328 fi
10329 fi
10330
10331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10333 # Check whether --enable-dataviewctrl was given.
10334 if test "${enable_dataviewctrl+set}" = set; then
10335 enableval=$enable_dataviewctrl;
10336 if test "$enableval" = yes; then
10337 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10338 else
10339 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10340 fi
10341
10342 else
10343
10344 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10345
10346 fi
10347
10348
10349 eval "$wx_cv_use_dataviewctrl"
10350
10351 if test x"$enablestring" = xdisable; then
10352 if test $wxUSE_DATAVIEWCTRL = no; then
10353 result=yes
10354 else
10355 result=no
10356 fi
10357 else
10358 result=$wxUSE_DATAVIEWCTRL
10359 fi
10360
10361 { echo "$as_me:$LINENO: result: $result" >&5
10362 echo "${ECHO_T}$result" >&6; }
10363
10364
10365 enablestring=
10366 defaultval=$wxUSE_ALL_FEATURES
10367 if test -z "$defaultval"; then
10368 if test x"$enablestring" = xdisable; then
10369 defaultval=yes
10370 else
10371 defaultval=no
10372 fi
10373 fi
10374
10375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10376 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10377 # Check whether --enable-datepick was given.
10378 if test "${enable_datepick+set}" = set; then
10379 enableval=$enable_datepick;
10380 if test "$enableval" = yes; then
10381 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10382 else
10383 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10384 fi
10385
10386 else
10387
10388 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10389
10390 fi
10391
10392
10393 eval "$wx_cv_use_datepick"
10394
10395 if test x"$enablestring" = xdisable; then
10396 if test $wxUSE_DATEPICKCTRL = no; then
10397 result=yes
10398 else
10399 result=no
10400 fi
10401 else
10402 result=$wxUSE_DATEPICKCTRL
10403 fi
10404
10405 { echo "$as_me:$LINENO: result: $result" >&5
10406 echo "${ECHO_T}$result" >&6; }
10407
10408
10409 enablestring=
10410 defaultval=$wxUSE_ALL_FEATURES
10411 if test -z "$defaultval"; then
10412 if test x"$enablestring" = xdisable; then
10413 defaultval=yes
10414 else
10415 defaultval=no
10416 fi
10417 fi
10418
10419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10420 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10421 # Check whether --enable-detect_sm was given.
10422 if test "${enable_detect_sm+set}" = set; then
10423 enableval=$enable_detect_sm;
10424 if test "$enableval" = yes; then
10425 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10426 else
10427 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10428 fi
10429
10430 else
10431
10432 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10433
10434 fi
10435
10436
10437 eval "$wx_cv_use_detect_sm"
10438
10439 if test x"$enablestring" = xdisable; then
10440 if test $wxUSE_DETECT_SM = no; then
10441 result=yes
10442 else
10443 result=no
10444 fi
10445 else
10446 result=$wxUSE_DETECT_SM
10447 fi
10448
10449 { echo "$as_me:$LINENO: result: $result" >&5
10450 echo "${ECHO_T}$result" >&6; }
10451
10452
10453 enablestring=
10454 defaultval=$wxUSE_ALL_FEATURES
10455 if test -z "$defaultval"; then
10456 if test x"$enablestring" = xdisable; then
10457 defaultval=yes
10458 else
10459 defaultval=no
10460 fi
10461 fi
10462
10463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10464 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10465 # Check whether --enable-dirpicker was given.
10466 if test "${enable_dirpicker+set}" = set; then
10467 enableval=$enable_dirpicker;
10468 if test "$enableval" = yes; then
10469 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10470 else
10471 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10472 fi
10473
10474 else
10475
10476 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10477
10478 fi
10479
10480
10481 eval "$wx_cv_use_dirpicker"
10482
10483 if test x"$enablestring" = xdisable; then
10484 if test $wxUSE_DIRPICKERCTRL = no; then
10485 result=yes
10486 else
10487 result=no
10488 fi
10489 else
10490 result=$wxUSE_DIRPICKERCTRL
10491 fi
10492
10493 { echo "$as_me:$LINENO: result: $result" >&5
10494 echo "${ECHO_T}$result" >&6; }
10495
10496
10497 enablestring=
10498 defaultval=$wxUSE_ALL_FEATURES
10499 if test -z "$defaultval"; then
10500 if test x"$enablestring" = xdisable; then
10501 defaultval=yes
10502 else
10503 defaultval=no
10504 fi
10505 fi
10506
10507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10508 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10509 # Check whether --enable-display was given.
10510 if test "${enable_display+set}" = set; then
10511 enableval=$enable_display;
10512 if test "$enableval" = yes; then
10513 wx_cv_use_display='wxUSE_DISPLAY=yes'
10514 else
10515 wx_cv_use_display='wxUSE_DISPLAY=no'
10516 fi
10517
10518 else
10519
10520 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10521
10522 fi
10523
10524
10525 eval "$wx_cv_use_display"
10526
10527 if test x"$enablestring" = xdisable; then
10528 if test $wxUSE_DISPLAY = no; then
10529 result=yes
10530 else
10531 result=no
10532 fi
10533 else
10534 result=$wxUSE_DISPLAY
10535 fi
10536
10537 { echo "$as_me:$LINENO: result: $result" >&5
10538 echo "${ECHO_T}$result" >&6; }
10539
10540
10541 enablestring=
10542 defaultval=$wxUSE_ALL_FEATURES
10543 if test -z "$defaultval"; then
10544 if test x"$enablestring" = xdisable; then
10545 defaultval=yes
10546 else
10547 defaultval=no
10548 fi
10549 fi
10550
10551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10552 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10553 # Check whether --enable-editablebox was given.
10554 if test "${enable_editablebox+set}" = set; then
10555 enableval=$enable_editablebox;
10556 if test "$enableval" = yes; then
10557 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10558 else
10559 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10560 fi
10561
10562 else
10563
10564 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10565
10566 fi
10567
10568
10569 eval "$wx_cv_use_editablebox"
10570
10571 if test x"$enablestring" = xdisable; then
10572 if test $wxUSE_EDITABLELISTBOX = no; then
10573 result=yes
10574 else
10575 result=no
10576 fi
10577 else
10578 result=$wxUSE_EDITABLELISTBOX
10579 fi
10580
10581 { echo "$as_me:$LINENO: result: $result" >&5
10582 echo "${ECHO_T}$result" >&6; }
10583
10584
10585 enablestring=
10586 defaultval=$wxUSE_ALL_FEATURES
10587 if test -z "$defaultval"; then
10588 if test x"$enablestring" = xdisable; then
10589 defaultval=yes
10590 else
10591 defaultval=no
10592 fi
10593 fi
10594
10595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10596 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10597 # Check whether --enable-filectrl was given.
10598 if test "${enable_filectrl+set}" = set; then
10599 enableval=$enable_filectrl;
10600 if test "$enableval" = yes; then
10601 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10602 else
10603 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10604 fi
10605
10606 else
10607
10608 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10609
10610 fi
10611
10612
10613 eval "$wx_cv_use_filectrl"
10614
10615 if test x"$enablestring" = xdisable; then
10616 if test $wxUSE_FILECTRL = no; then
10617 result=yes
10618 else
10619 result=no
10620 fi
10621 else
10622 result=$wxUSE_FILECTRL
10623 fi
10624
10625 { echo "$as_me:$LINENO: result: $result" >&5
10626 echo "${ECHO_T}$result" >&6; }
10627
10628
10629 enablestring=
10630 defaultval=$wxUSE_ALL_FEATURES
10631 if test -z "$defaultval"; then
10632 if test x"$enablestring" = xdisable; then
10633 defaultval=yes
10634 else
10635 defaultval=no
10636 fi
10637 fi
10638
10639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10640 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10641 # Check whether --enable-filepicker was given.
10642 if test "${enable_filepicker+set}" = set; then
10643 enableval=$enable_filepicker;
10644 if test "$enableval" = yes; then
10645 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10646 else
10647 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10648 fi
10649
10650 else
10651
10652 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10653
10654 fi
10655
10656
10657 eval "$wx_cv_use_filepicker"
10658
10659 if test x"$enablestring" = xdisable; then
10660 if test $wxUSE_FILEPICKERCTRL = no; then
10661 result=yes
10662 else
10663 result=no
10664 fi
10665 else
10666 result=$wxUSE_FILEPICKERCTRL
10667 fi
10668
10669 { echo "$as_me:$LINENO: result: $result" >&5
10670 echo "${ECHO_T}$result" >&6; }
10671
10672
10673 enablestring=
10674 defaultval=$wxUSE_ALL_FEATURES
10675 if test -z "$defaultval"; then
10676 if test x"$enablestring" = xdisable; then
10677 defaultval=yes
10678 else
10679 defaultval=no
10680 fi
10681 fi
10682
10683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10684 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10685 # Check whether --enable-fontpicker was given.
10686 if test "${enable_fontpicker+set}" = set; then
10687 enableval=$enable_fontpicker;
10688 if test "$enableval" = yes; then
10689 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10690 else
10691 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10692 fi
10693
10694 else
10695
10696 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10697
10698 fi
10699
10700
10701 eval "$wx_cv_use_fontpicker"
10702
10703 if test x"$enablestring" = xdisable; then
10704 if test $wxUSE_FONTPICKERCTRL = no; then
10705 result=yes
10706 else
10707 result=no
10708 fi
10709 else
10710 result=$wxUSE_FONTPICKERCTRL
10711 fi
10712
10713 { echo "$as_me:$LINENO: result: $result" >&5
10714 echo "${ECHO_T}$result" >&6; }
10715
10716
10717 enablestring=
10718 defaultval=$wxUSE_ALL_FEATURES
10719 if test -z "$defaultval"; then
10720 if test x"$enablestring" = xdisable; then
10721 defaultval=yes
10722 else
10723 defaultval=no
10724 fi
10725 fi
10726
10727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10728 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10729 # Check whether --enable-gauge was given.
10730 if test "${enable_gauge+set}" = set; then
10731 enableval=$enable_gauge;
10732 if test "$enableval" = yes; then
10733 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10734 else
10735 wx_cv_use_gauge='wxUSE_GAUGE=no'
10736 fi
10737
10738 else
10739
10740 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10741
10742 fi
10743
10744
10745 eval "$wx_cv_use_gauge"
10746
10747 if test x"$enablestring" = xdisable; then
10748 if test $wxUSE_GAUGE = no; then
10749 result=yes
10750 else
10751 result=no
10752 fi
10753 else
10754 result=$wxUSE_GAUGE
10755 fi
10756
10757 { echo "$as_me:$LINENO: result: $result" >&5
10758 echo "${ECHO_T}$result" >&6; }
10759
10760
10761 enablestring=
10762 defaultval=$wxUSE_ALL_FEATURES
10763 if test -z "$defaultval"; then
10764 if test x"$enablestring" = xdisable; then
10765 defaultval=yes
10766 else
10767 defaultval=no
10768 fi
10769 fi
10770
10771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10772 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10773 # Check whether --enable-grid was given.
10774 if test "${enable_grid+set}" = set; then
10775 enableval=$enable_grid;
10776 if test "$enableval" = yes; then
10777 wx_cv_use_grid='wxUSE_GRID=yes'
10778 else
10779 wx_cv_use_grid='wxUSE_GRID=no'
10780 fi
10781
10782 else
10783
10784 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10785
10786 fi
10787
10788
10789 eval "$wx_cv_use_grid"
10790
10791 if test x"$enablestring" = xdisable; then
10792 if test $wxUSE_GRID = no; then
10793 result=yes
10794 else
10795 result=no
10796 fi
10797 else
10798 result=$wxUSE_GRID
10799 fi
10800
10801 { echo "$as_me:$LINENO: result: $result" >&5
10802 echo "${ECHO_T}$result" >&6; }
10803
10804
10805 enablestring=
10806 defaultval=$wxUSE_ALL_FEATURES
10807 if test -z "$defaultval"; then
10808 if test x"$enablestring" = xdisable; then
10809 defaultval=yes
10810 else
10811 defaultval=no
10812 fi
10813 fi
10814
10815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10816 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10817 # Check whether --enable-headerctrl was given.
10818 if test "${enable_headerctrl+set}" = set; then
10819 enableval=$enable_headerctrl;
10820 if test "$enableval" = yes; then
10821 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10822 else
10823 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10824 fi
10825
10826 else
10827
10828 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10829
10830 fi
10831
10832
10833 eval "$wx_cv_use_headerctrl"
10834
10835 if test x"$enablestring" = xdisable; then
10836 if test $wxUSE_HEADERCTRL = no; then
10837 result=yes
10838 else
10839 result=no
10840 fi
10841 else
10842 result=$wxUSE_HEADERCTRL
10843 fi
10844
10845 { echo "$as_me:$LINENO: result: $result" >&5
10846 echo "${ECHO_T}$result" >&6; }
10847
10848
10849 enablestring=
10850 defaultval=$wxUSE_ALL_FEATURES
10851 if test -z "$defaultval"; then
10852 if test x"$enablestring" = xdisable; then
10853 defaultval=yes
10854 else
10855 defaultval=no
10856 fi
10857 fi
10858
10859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10860 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10861 # Check whether --enable-hyperlink was given.
10862 if test "${enable_hyperlink+set}" = set; then
10863 enableval=$enable_hyperlink;
10864 if test "$enableval" = yes; then
10865 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10866 else
10867 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10868 fi
10869
10870 else
10871
10872 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10873
10874 fi
10875
10876
10877 eval "$wx_cv_use_hyperlink"
10878
10879 if test x"$enablestring" = xdisable; then
10880 if test $wxUSE_HYPERLINKCTRL = no; then
10881 result=yes
10882 else
10883 result=no
10884 fi
10885 else
10886 result=$wxUSE_HYPERLINKCTRL
10887 fi
10888
10889 { echo "$as_me:$LINENO: result: $result" >&5
10890 echo "${ECHO_T}$result" >&6; }
10891
10892
10893 enablestring=
10894 defaultval=$wxUSE_ALL_FEATURES
10895 if test -z "$defaultval"; then
10896 if test x"$enablestring" = xdisable; then
10897 defaultval=yes
10898 else
10899 defaultval=no
10900 fi
10901 fi
10902
10903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10904 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10905 # Check whether --enable-imaglist was given.
10906 if test "${enable_imaglist+set}" = set; then
10907 enableval=$enable_imaglist;
10908 if test "$enableval" = yes; then
10909 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10910 else
10911 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10912 fi
10913
10914 else
10915
10916 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10917
10918 fi
10919
10920
10921 eval "$wx_cv_use_imaglist"
10922
10923 if test x"$enablestring" = xdisable; then
10924 if test $wxUSE_IMAGLIST = no; then
10925 result=yes
10926 else
10927 result=no
10928 fi
10929 else
10930 result=$wxUSE_IMAGLIST
10931 fi
10932
10933 { echo "$as_me:$LINENO: result: $result" >&5
10934 echo "${ECHO_T}$result" >&6; }
10935
10936
10937 enablestring=
10938 defaultval=$wxUSE_ALL_FEATURES
10939 if test -z "$defaultval"; then
10940 if test x"$enablestring" = xdisable; then
10941 defaultval=yes
10942 else
10943 defaultval=no
10944 fi
10945 fi
10946
10947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
10948 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
10949 # Check whether --enable-infobar was given.
10950 if test "${enable_infobar+set}" = set; then
10951 enableval=$enable_infobar;
10952 if test "$enableval" = yes; then
10953 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
10954 else
10955 wx_cv_use_infobar='wxUSE_INFOBAR=no'
10956 fi
10957
10958 else
10959
10960 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
10961
10962 fi
10963
10964
10965 eval "$wx_cv_use_infobar"
10966
10967 if test x"$enablestring" = xdisable; then
10968 if test $wxUSE_INFOBAR = no; then
10969 result=yes
10970 else
10971 result=no
10972 fi
10973 else
10974 result=$wxUSE_INFOBAR
10975 fi
10976
10977 { echo "$as_me:$LINENO: result: $result" >&5
10978 echo "${ECHO_T}$result" >&6; }
10979
10980
10981 enablestring=
10982 defaultval=$wxUSE_ALL_FEATURES
10983 if test -z "$defaultval"; then
10984 if test x"$enablestring" = xdisable; then
10985 defaultval=yes
10986 else
10987 defaultval=no
10988 fi
10989 fi
10990
10991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10992 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10993 # Check whether --enable-listbook was given.
10994 if test "${enable_listbook+set}" = set; then
10995 enableval=$enable_listbook;
10996 if test "$enableval" = yes; then
10997 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10998 else
10999 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11000 fi
11001
11002 else
11003
11004 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11005
11006 fi
11007
11008
11009 eval "$wx_cv_use_listbook"
11010
11011 if test x"$enablestring" = xdisable; then
11012 if test $wxUSE_LISTBOOK = no; then
11013 result=yes
11014 else
11015 result=no
11016 fi
11017 else
11018 result=$wxUSE_LISTBOOK
11019 fi
11020
11021 { echo "$as_me:$LINENO: result: $result" >&5
11022 echo "${ECHO_T}$result" >&6; }
11023
11024
11025 enablestring=
11026 defaultval=$wxUSE_ALL_FEATURES
11027 if test -z "$defaultval"; then
11028 if test x"$enablestring" = xdisable; then
11029 defaultval=yes
11030 else
11031 defaultval=no
11032 fi
11033 fi
11034
11035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11036 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11037 # Check whether --enable-listbox was given.
11038 if test "${enable_listbox+set}" = set; then
11039 enableval=$enable_listbox;
11040 if test "$enableval" = yes; then
11041 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11042 else
11043 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11044 fi
11045
11046 else
11047
11048 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11049
11050 fi
11051
11052
11053 eval "$wx_cv_use_listbox"
11054
11055 if test x"$enablestring" = xdisable; then
11056 if test $wxUSE_LISTBOX = no; then
11057 result=yes
11058 else
11059 result=no
11060 fi
11061 else
11062 result=$wxUSE_LISTBOX
11063 fi
11064
11065 { echo "$as_me:$LINENO: result: $result" >&5
11066 echo "${ECHO_T}$result" >&6; }
11067
11068
11069 enablestring=
11070 defaultval=$wxUSE_ALL_FEATURES
11071 if test -z "$defaultval"; then
11072 if test x"$enablestring" = xdisable; then
11073 defaultval=yes
11074 else
11075 defaultval=no
11076 fi
11077 fi
11078
11079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11080 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11081 # Check whether --enable-listctrl was given.
11082 if test "${enable_listctrl+set}" = set; then
11083 enableval=$enable_listctrl;
11084 if test "$enableval" = yes; then
11085 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11086 else
11087 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11088 fi
11089
11090 else
11091
11092 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11093
11094 fi
11095
11096
11097 eval "$wx_cv_use_listctrl"
11098
11099 if test x"$enablestring" = xdisable; then
11100 if test $wxUSE_LISTCTRL = no; then
11101 result=yes
11102 else
11103 result=no
11104 fi
11105 else
11106 result=$wxUSE_LISTCTRL
11107 fi
11108
11109 { echo "$as_me:$LINENO: result: $result" >&5
11110 echo "${ECHO_T}$result" >&6; }
11111
11112
11113 enablestring=
11114 defaultval=$wxUSE_ALL_FEATURES
11115 if test -z "$defaultval"; then
11116 if test x"$enablestring" = xdisable; then
11117 defaultval=yes
11118 else
11119 defaultval=no
11120 fi
11121 fi
11122
11123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11124 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11125 # Check whether --enable-notebook was given.
11126 if test "${enable_notebook+set}" = set; then
11127 enableval=$enable_notebook;
11128 if test "$enableval" = yes; then
11129 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11130 else
11131 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11132 fi
11133
11134 else
11135
11136 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11137
11138 fi
11139
11140
11141 eval "$wx_cv_use_notebook"
11142
11143 if test x"$enablestring" = xdisable; then
11144 if test $wxUSE_NOTEBOOK = no; then
11145 result=yes
11146 else
11147 result=no
11148 fi
11149 else
11150 result=$wxUSE_NOTEBOOK
11151 fi
11152
11153 { echo "$as_me:$LINENO: result: $result" >&5
11154 echo "${ECHO_T}$result" >&6; }
11155
11156
11157 enablestring=
11158 defaultval=$wxUSE_ALL_FEATURES
11159 if test -z "$defaultval"; then
11160 if test x"$enablestring" = xdisable; then
11161 defaultval=yes
11162 else
11163 defaultval=no
11164 fi
11165 fi
11166
11167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11168 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11169 # Check whether --enable-notifmsg was given.
11170 if test "${enable_notifmsg+set}" = set; then
11171 enableval=$enable_notifmsg;
11172 if test "$enableval" = yes; then
11173 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11174 else
11175 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11176 fi
11177
11178 else
11179
11180 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11181
11182 fi
11183
11184
11185 eval "$wx_cv_use_notifmsg"
11186
11187 if test x"$enablestring" = xdisable; then
11188 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11189 result=yes
11190 else
11191 result=no
11192 fi
11193 else
11194 result=$wxUSE_NOTIFICATION_MESSAGE
11195 fi
11196
11197 { echo "$as_me:$LINENO: result: $result" >&5
11198 echo "${ECHO_T}$result" >&6; }
11199
11200
11201 enablestring=
11202 defaultval=$wxUSE_ALL_FEATURES
11203 if test -z "$defaultval"; then
11204 if test x"$enablestring" = xdisable; then
11205 defaultval=yes
11206 else
11207 defaultval=no
11208 fi
11209 fi
11210
11211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11212 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11213 # Check whether --enable-odcombobox was given.
11214 if test "${enable_odcombobox+set}" = set; then
11215 enableval=$enable_odcombobox;
11216 if test "$enableval" = yes; then
11217 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11218 else
11219 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11220 fi
11221
11222 else
11223
11224 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11225
11226 fi
11227
11228
11229 eval "$wx_cv_use_odcombobox"
11230
11231 if test x"$enablestring" = xdisable; then
11232 if test $wxUSE_ODCOMBOBOX = no; then
11233 result=yes
11234 else
11235 result=no
11236 fi
11237 else
11238 result=$wxUSE_ODCOMBOBOX
11239 fi
11240
11241 { echo "$as_me:$LINENO: result: $result" >&5
11242 echo "${ECHO_T}$result" >&6; }
11243
11244
11245 enablestring=
11246 defaultval=$wxUSE_ALL_FEATURES
11247 if test -z "$defaultval"; then
11248 if test x"$enablestring" = xdisable; then
11249 defaultval=yes
11250 else
11251 defaultval=no
11252 fi
11253 fi
11254
11255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11256 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11257 # Check whether --enable-popupwin was given.
11258 if test "${enable_popupwin+set}" = set; then
11259 enableval=$enable_popupwin;
11260 if test "$enableval" = yes; then
11261 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11262 else
11263 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11264 fi
11265
11266 else
11267
11268 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11269
11270 fi
11271
11272
11273 eval "$wx_cv_use_popupwin"
11274
11275 if test x"$enablestring" = xdisable; then
11276 if test $wxUSE_POPUPWIN = no; then
11277 result=yes
11278 else
11279 result=no
11280 fi
11281 else
11282 result=$wxUSE_POPUPWIN
11283 fi
11284
11285 { echo "$as_me:$LINENO: result: $result" >&5
11286 echo "${ECHO_T}$result" >&6; }
11287
11288
11289 enablestring=
11290 defaultval=$wxUSE_ALL_FEATURES
11291 if test -z "$defaultval"; then
11292 if test x"$enablestring" = xdisable; then
11293 defaultval=yes
11294 else
11295 defaultval=no
11296 fi
11297 fi
11298
11299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11300 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11301 # Check whether --enable-radiobox was given.
11302 if test "${enable_radiobox+set}" = set; then
11303 enableval=$enable_radiobox;
11304 if test "$enableval" = yes; then
11305 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11306 else
11307 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11308 fi
11309
11310 else
11311
11312 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11313
11314 fi
11315
11316
11317 eval "$wx_cv_use_radiobox"
11318
11319 if test x"$enablestring" = xdisable; then
11320 if test $wxUSE_RADIOBOX = no; then
11321 result=yes
11322 else
11323 result=no
11324 fi
11325 else
11326 result=$wxUSE_RADIOBOX
11327 fi
11328
11329 { echo "$as_me:$LINENO: result: $result" >&5
11330 echo "${ECHO_T}$result" >&6; }
11331
11332
11333 enablestring=
11334 defaultval=$wxUSE_ALL_FEATURES
11335 if test -z "$defaultval"; then
11336 if test x"$enablestring" = xdisable; then
11337 defaultval=yes
11338 else
11339 defaultval=no
11340 fi
11341 fi
11342
11343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11344 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11345 # Check whether --enable-radiobtn was given.
11346 if test "${enable_radiobtn+set}" = set; then
11347 enableval=$enable_radiobtn;
11348 if test "$enableval" = yes; then
11349 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11350 else
11351 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11352 fi
11353
11354 else
11355
11356 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11357
11358 fi
11359
11360
11361 eval "$wx_cv_use_radiobtn"
11362
11363 if test x"$enablestring" = xdisable; then
11364 if test $wxUSE_RADIOBTN = no; then
11365 result=yes
11366 else
11367 result=no
11368 fi
11369 else
11370 result=$wxUSE_RADIOBTN
11371 fi
11372
11373 { echo "$as_me:$LINENO: result: $result" >&5
11374 echo "${ECHO_T}$result" >&6; }
11375
11376
11377 enablestring=
11378 defaultval=$wxUSE_ALL_FEATURES
11379 if test -z "$defaultval"; then
11380 if test x"$enablestring" = xdisable; then
11381 defaultval=yes
11382 else
11383 defaultval=no
11384 fi
11385 fi
11386
11387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11388 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11389 # Check whether --enable-rearrangectrl was given.
11390 if test "${enable_rearrangectrl+set}" = set; then
11391 enableval=$enable_rearrangectrl;
11392 if test "$enableval" = yes; then
11393 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11394 else
11395 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11396 fi
11397
11398 else
11399
11400 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11401
11402 fi
11403
11404
11405 eval "$wx_cv_use_rearrangectrl"
11406
11407 if test x"$enablestring" = xdisable; then
11408 if test $wxUSE_REARRANGECTRL = no; then
11409 result=yes
11410 else
11411 result=no
11412 fi
11413 else
11414 result=$wxUSE_REARRANGECTRL
11415 fi
11416
11417 { echo "$as_me:$LINENO: result: $result" >&5
11418 echo "${ECHO_T}$result" >&6; }
11419
11420
11421 enablestring=
11422 defaultval=$wxUSE_ALL_FEATURES
11423 if test -z "$defaultval"; then
11424 if test x"$enablestring" = xdisable; then
11425 defaultval=yes
11426 else
11427 defaultval=no
11428 fi
11429 fi
11430
11431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11432 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11433 # Check whether --enable-sash was given.
11434 if test "${enable_sash+set}" = set; then
11435 enableval=$enable_sash;
11436 if test "$enableval" = yes; then
11437 wx_cv_use_sash='wxUSE_SASH=yes'
11438 else
11439 wx_cv_use_sash='wxUSE_SASH=no'
11440 fi
11441
11442 else
11443
11444 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11445
11446 fi
11447
11448
11449 eval "$wx_cv_use_sash"
11450
11451 if test x"$enablestring" = xdisable; then
11452 if test $wxUSE_SASH = no; then
11453 result=yes
11454 else
11455 result=no
11456 fi
11457 else
11458 result=$wxUSE_SASH
11459 fi
11460
11461 { echo "$as_me:$LINENO: result: $result" >&5
11462 echo "${ECHO_T}$result" >&6; }
11463
11464
11465 enablestring=
11466 defaultval=$wxUSE_ALL_FEATURES
11467 if test -z "$defaultval"; then
11468 if test x"$enablestring" = xdisable; then
11469 defaultval=yes
11470 else
11471 defaultval=no
11472 fi
11473 fi
11474
11475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11476 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11477 # Check whether --enable-scrollbar was given.
11478 if test "${enable_scrollbar+set}" = set; then
11479 enableval=$enable_scrollbar;
11480 if test "$enableval" = yes; then
11481 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11482 else
11483 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11484 fi
11485
11486 else
11487
11488 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11489
11490 fi
11491
11492
11493 eval "$wx_cv_use_scrollbar"
11494
11495 if test x"$enablestring" = xdisable; then
11496 if test $wxUSE_SCROLLBAR = no; then
11497 result=yes
11498 else
11499 result=no
11500 fi
11501 else
11502 result=$wxUSE_SCROLLBAR
11503 fi
11504
11505 { echo "$as_me:$LINENO: result: $result" >&5
11506 echo "${ECHO_T}$result" >&6; }
11507
11508
11509 enablestring=
11510 defaultval=$wxUSE_ALL_FEATURES
11511 if test -z "$defaultval"; then
11512 if test x"$enablestring" = xdisable; then
11513 defaultval=yes
11514 else
11515 defaultval=no
11516 fi
11517 fi
11518
11519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11520 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11521 # Check whether --enable-searchctrl was given.
11522 if test "${enable_searchctrl+set}" = set; then
11523 enableval=$enable_searchctrl;
11524 if test "$enableval" = yes; then
11525 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11526 else
11527 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11528 fi
11529
11530 else
11531
11532 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11533
11534 fi
11535
11536
11537 eval "$wx_cv_use_searchctrl"
11538
11539 if test x"$enablestring" = xdisable; then
11540 if test $wxUSE_SEARCHCTRL = no; then
11541 result=yes
11542 else
11543 result=no
11544 fi
11545 else
11546 result=$wxUSE_SEARCHCTRL
11547 fi
11548
11549 { echo "$as_me:$LINENO: result: $result" >&5
11550 echo "${ECHO_T}$result" >&6; }
11551
11552
11553 enablestring=
11554 defaultval=$wxUSE_ALL_FEATURES
11555 if test -z "$defaultval"; then
11556 if test x"$enablestring" = xdisable; then
11557 defaultval=yes
11558 else
11559 defaultval=no
11560 fi
11561 fi
11562
11563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11564 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11565 # Check whether --enable-slider was given.
11566 if test "${enable_slider+set}" = set; then
11567 enableval=$enable_slider;
11568 if test "$enableval" = yes; then
11569 wx_cv_use_slider='wxUSE_SLIDER=yes'
11570 else
11571 wx_cv_use_slider='wxUSE_SLIDER=no'
11572 fi
11573
11574 else
11575
11576 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11577
11578 fi
11579
11580
11581 eval "$wx_cv_use_slider"
11582
11583 if test x"$enablestring" = xdisable; then
11584 if test $wxUSE_SLIDER = no; then
11585 result=yes
11586 else
11587 result=no
11588 fi
11589 else
11590 result=$wxUSE_SLIDER
11591 fi
11592
11593 { echo "$as_me:$LINENO: result: $result" >&5
11594 echo "${ECHO_T}$result" >&6; }
11595
11596
11597 enablestring=
11598 defaultval=$wxUSE_ALL_FEATURES
11599 if test -z "$defaultval"; then
11600 if test x"$enablestring" = xdisable; then
11601 defaultval=yes
11602 else
11603 defaultval=no
11604 fi
11605 fi
11606
11607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11608 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11609 # Check whether --enable-spinbtn was given.
11610 if test "${enable_spinbtn+set}" = set; then
11611 enableval=$enable_spinbtn;
11612 if test "$enableval" = yes; then
11613 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11614 else
11615 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11616 fi
11617
11618 else
11619
11620 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11621
11622 fi
11623
11624
11625 eval "$wx_cv_use_spinbtn"
11626
11627 if test x"$enablestring" = xdisable; then
11628 if test $wxUSE_SPINBTN = no; then
11629 result=yes
11630 else
11631 result=no
11632 fi
11633 else
11634 result=$wxUSE_SPINBTN
11635 fi
11636
11637 { echo "$as_me:$LINENO: result: $result" >&5
11638 echo "${ECHO_T}$result" >&6; }
11639
11640
11641 enablestring=
11642 defaultval=$wxUSE_ALL_FEATURES
11643 if test -z "$defaultval"; then
11644 if test x"$enablestring" = xdisable; then
11645 defaultval=yes
11646 else
11647 defaultval=no
11648 fi
11649 fi
11650
11651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11652 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11653 # Check whether --enable-spinctrl was given.
11654 if test "${enable_spinctrl+set}" = set; then
11655 enableval=$enable_spinctrl;
11656 if test "$enableval" = yes; then
11657 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11658 else
11659 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11660 fi
11661
11662 else
11663
11664 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11665
11666 fi
11667
11668
11669 eval "$wx_cv_use_spinctrl"
11670
11671 if test x"$enablestring" = xdisable; then
11672 if test $wxUSE_SPINCTRL = no; then
11673 result=yes
11674 else
11675 result=no
11676 fi
11677 else
11678 result=$wxUSE_SPINCTRL
11679 fi
11680
11681 { echo "$as_me:$LINENO: result: $result" >&5
11682 echo "${ECHO_T}$result" >&6; }
11683
11684
11685 enablestring=
11686 defaultval=$wxUSE_ALL_FEATURES
11687 if test -z "$defaultval"; then
11688 if test x"$enablestring" = xdisable; then
11689 defaultval=yes
11690 else
11691 defaultval=no
11692 fi
11693 fi
11694
11695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11696 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11697 # Check whether --enable-splitter was given.
11698 if test "${enable_splitter+set}" = set; then
11699 enableval=$enable_splitter;
11700 if test "$enableval" = yes; then
11701 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11702 else
11703 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11704 fi
11705
11706 else
11707
11708 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11709
11710 fi
11711
11712
11713 eval "$wx_cv_use_splitter"
11714
11715 if test x"$enablestring" = xdisable; then
11716 if test $wxUSE_SPLITTER = no; then
11717 result=yes
11718 else
11719 result=no
11720 fi
11721 else
11722 result=$wxUSE_SPLITTER
11723 fi
11724
11725 { echo "$as_me:$LINENO: result: $result" >&5
11726 echo "${ECHO_T}$result" >&6; }
11727
11728
11729 enablestring=
11730 defaultval=$wxUSE_ALL_FEATURES
11731 if test -z "$defaultval"; then
11732 if test x"$enablestring" = xdisable; then
11733 defaultval=yes
11734 else
11735 defaultval=no
11736 fi
11737 fi
11738
11739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11740 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11741 # Check whether --enable-statbmp was given.
11742 if test "${enable_statbmp+set}" = set; then
11743 enableval=$enable_statbmp;
11744 if test "$enableval" = yes; then
11745 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11746 else
11747 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11748 fi
11749
11750 else
11751
11752 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11753
11754 fi
11755
11756
11757 eval "$wx_cv_use_statbmp"
11758
11759 if test x"$enablestring" = xdisable; then
11760 if test $wxUSE_STATBMP = no; then
11761 result=yes
11762 else
11763 result=no
11764 fi
11765 else
11766 result=$wxUSE_STATBMP
11767 fi
11768
11769 { echo "$as_me:$LINENO: result: $result" >&5
11770 echo "${ECHO_T}$result" >&6; }
11771
11772
11773 enablestring=
11774 defaultval=$wxUSE_ALL_FEATURES
11775 if test -z "$defaultval"; then
11776 if test x"$enablestring" = xdisable; then
11777 defaultval=yes
11778 else
11779 defaultval=no
11780 fi
11781 fi
11782
11783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11784 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11785 # Check whether --enable-statbox was given.
11786 if test "${enable_statbox+set}" = set; then
11787 enableval=$enable_statbox;
11788 if test "$enableval" = yes; then
11789 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11790 else
11791 wx_cv_use_statbox='wxUSE_STATBOX=no'
11792 fi
11793
11794 else
11795
11796 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11797
11798 fi
11799
11800
11801 eval "$wx_cv_use_statbox"
11802
11803 if test x"$enablestring" = xdisable; then
11804 if test $wxUSE_STATBOX = no; then
11805 result=yes
11806 else
11807 result=no
11808 fi
11809 else
11810 result=$wxUSE_STATBOX
11811 fi
11812
11813 { echo "$as_me:$LINENO: result: $result" >&5
11814 echo "${ECHO_T}$result" >&6; }
11815
11816
11817 enablestring=
11818 defaultval=$wxUSE_ALL_FEATURES
11819 if test -z "$defaultval"; then
11820 if test x"$enablestring" = xdisable; then
11821 defaultval=yes
11822 else
11823 defaultval=no
11824 fi
11825 fi
11826
11827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11828 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11829 # Check whether --enable-statline was given.
11830 if test "${enable_statline+set}" = set; then
11831 enableval=$enable_statline;
11832 if test "$enableval" = yes; then
11833 wx_cv_use_statline='wxUSE_STATLINE=yes'
11834 else
11835 wx_cv_use_statline='wxUSE_STATLINE=no'
11836 fi
11837
11838 else
11839
11840 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11841
11842 fi
11843
11844
11845 eval "$wx_cv_use_statline"
11846
11847 if test x"$enablestring" = xdisable; then
11848 if test $wxUSE_STATLINE = no; then
11849 result=yes
11850 else
11851 result=no
11852 fi
11853 else
11854 result=$wxUSE_STATLINE
11855 fi
11856
11857 { echo "$as_me:$LINENO: result: $result" >&5
11858 echo "${ECHO_T}$result" >&6; }
11859
11860
11861 enablestring=
11862 defaultval=$wxUSE_ALL_FEATURES
11863 if test -z "$defaultval"; then
11864 if test x"$enablestring" = xdisable; then
11865 defaultval=yes
11866 else
11867 defaultval=no
11868 fi
11869 fi
11870
11871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11872 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11873 # Check whether --enable-stattext was given.
11874 if test "${enable_stattext+set}" = set; then
11875 enableval=$enable_stattext;
11876 if test "$enableval" = yes; then
11877 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11878 else
11879 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11880 fi
11881
11882 else
11883
11884 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11885
11886 fi
11887
11888
11889 eval "$wx_cv_use_stattext"
11890
11891 if test x"$enablestring" = xdisable; then
11892 if test $wxUSE_STATTEXT = no; then
11893 result=yes
11894 else
11895 result=no
11896 fi
11897 else
11898 result=$wxUSE_STATTEXT
11899 fi
11900
11901 { echo "$as_me:$LINENO: result: $result" >&5
11902 echo "${ECHO_T}$result" >&6; }
11903
11904
11905 enablestring=
11906 defaultval=$wxUSE_ALL_FEATURES
11907 if test -z "$defaultval"; then
11908 if test x"$enablestring" = xdisable; then
11909 defaultval=yes
11910 else
11911 defaultval=no
11912 fi
11913 fi
11914
11915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11916 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11917 # Check whether --enable-statusbar was given.
11918 if test "${enable_statusbar+set}" = set; then
11919 enableval=$enable_statusbar;
11920 if test "$enableval" = yes; then
11921 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11922 else
11923 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11924 fi
11925
11926 else
11927
11928 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11929
11930 fi
11931
11932
11933 eval "$wx_cv_use_statusbar"
11934
11935 if test x"$enablestring" = xdisable; then
11936 if test $wxUSE_STATUSBAR = no; then
11937 result=yes
11938 else
11939 result=no
11940 fi
11941 else
11942 result=$wxUSE_STATUSBAR
11943 fi
11944
11945 { echo "$as_me:$LINENO: result: $result" >&5
11946 echo "${ECHO_T}$result" >&6; }
11947
11948
11949 enablestring=
11950 defaultval=$wxUSE_ALL_FEATURES
11951 if test -z "$defaultval"; then
11952 if test x"$enablestring" = xdisable; then
11953 defaultval=yes
11954 else
11955 defaultval=no
11956 fi
11957 fi
11958
11959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11960 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11961 # Check whether --enable-taskbaricon was given.
11962 if test "${enable_taskbaricon+set}" = set; then
11963 enableval=$enable_taskbaricon;
11964 if test "$enableval" = yes; then
11965 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11966 else
11967 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11968 fi
11969
11970 else
11971
11972 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11973
11974 fi
11975
11976
11977 eval "$wx_cv_use_taskbaricon"
11978
11979 if test x"$enablestring" = xdisable; then
11980 if test $wxUSE_TASKBARICON = no; then
11981 result=yes
11982 else
11983 result=no
11984 fi
11985 else
11986 result=$wxUSE_TASKBARICON
11987 fi
11988
11989 { echo "$as_me:$LINENO: result: $result" >&5
11990 echo "${ECHO_T}$result" >&6; }
11991
11992
11993 enablestring=
11994 defaultval=$wxUSE_ALL_FEATURES
11995 if test -z "$defaultval"; then
11996 if test x"$enablestring" = xdisable; then
11997 defaultval=yes
11998 else
11999 defaultval=no
12000 fi
12001 fi
12002
12003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12004 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12005 # Check whether --enable-tbarnative was given.
12006 if test "${enable_tbarnative+set}" = set; then
12007 enableval=$enable_tbarnative;
12008 if test "$enableval" = yes; then
12009 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12010 else
12011 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12012 fi
12013
12014 else
12015
12016 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12017
12018 fi
12019
12020
12021 eval "$wx_cv_use_tbarnative"
12022
12023 if test x"$enablestring" = xdisable; then
12024 if test $wxUSE_TOOLBAR_NATIVE = no; then
12025 result=yes
12026 else
12027 result=no
12028 fi
12029 else
12030 result=$wxUSE_TOOLBAR_NATIVE
12031 fi
12032
12033 { echo "$as_me:$LINENO: result: $result" >&5
12034 echo "${ECHO_T}$result" >&6; }
12035
12036
12037 enablestring=
12038 defaultval=$wxUSE_ALL_FEATURES
12039 if test -z "$defaultval"; then
12040 if test x"$enablestring" = xdisable; then
12041 defaultval=yes
12042 else
12043 defaultval=no
12044 fi
12045 fi
12046
12047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12048 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12049 # Check whether --enable-textctrl was given.
12050 if test "${enable_textctrl+set}" = set; then
12051 enableval=$enable_textctrl;
12052 if test "$enableval" = yes; then
12053 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12054 else
12055 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12056 fi
12057
12058 else
12059
12060 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12061
12062 fi
12063
12064
12065 eval "$wx_cv_use_textctrl"
12066
12067 if test x"$enablestring" = xdisable; then
12068 if test $wxUSE_TEXTCTRL = no; then
12069 result=yes
12070 else
12071 result=no
12072 fi
12073 else
12074 result=$wxUSE_TEXTCTRL
12075 fi
12076
12077 { echo "$as_me:$LINENO: result: $result" >&5
12078 echo "${ECHO_T}$result" >&6; }
12079
12080
12081 enablestring=
12082 defaultval=$wxUSE_ALL_FEATURES
12083 if test -z "$defaultval"; then
12084 if test x"$enablestring" = xdisable; then
12085 defaultval=yes
12086 else
12087 defaultval=no
12088 fi
12089 fi
12090
12091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12092 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12093 # Check whether --enable-tipwindow was given.
12094 if test "${enable_tipwindow+set}" = set; then
12095 enableval=$enable_tipwindow;
12096 if test "$enableval" = yes; then
12097 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12098 else
12099 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12100 fi
12101
12102 else
12103
12104 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12105
12106 fi
12107
12108
12109 eval "$wx_cv_use_tipwindow"
12110
12111 if test x"$enablestring" = xdisable; then
12112 if test $wxUSE_TIPWINDOW = no; then
12113 result=yes
12114 else
12115 result=no
12116 fi
12117 else
12118 result=$wxUSE_TIPWINDOW
12119 fi
12120
12121 { echo "$as_me:$LINENO: result: $result" >&5
12122 echo "${ECHO_T}$result" >&6; }
12123
12124
12125 enablestring=
12126 defaultval=$wxUSE_ALL_FEATURES
12127 if test -z "$defaultval"; then
12128 if test x"$enablestring" = xdisable; then
12129 defaultval=yes
12130 else
12131 defaultval=no
12132 fi
12133 fi
12134
12135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12136 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12137 # Check whether --enable-togglebtn was given.
12138 if test "${enable_togglebtn+set}" = set; then
12139 enableval=$enable_togglebtn;
12140 if test "$enableval" = yes; then
12141 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12142 else
12143 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12144 fi
12145
12146 else
12147
12148 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12149
12150 fi
12151
12152
12153 eval "$wx_cv_use_togglebtn"
12154
12155 if test x"$enablestring" = xdisable; then
12156 if test $wxUSE_TOGGLEBTN = no; then
12157 result=yes
12158 else
12159 result=no
12160 fi
12161 else
12162 result=$wxUSE_TOGGLEBTN
12163 fi
12164
12165 { echo "$as_me:$LINENO: result: $result" >&5
12166 echo "${ECHO_T}$result" >&6; }
12167
12168
12169 enablestring=
12170 defaultval=$wxUSE_ALL_FEATURES
12171 if test -z "$defaultval"; then
12172 if test x"$enablestring" = xdisable; then
12173 defaultval=yes
12174 else
12175 defaultval=no
12176 fi
12177 fi
12178
12179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12180 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12181 # Check whether --enable-toolbar was given.
12182 if test "${enable_toolbar+set}" = set; then
12183 enableval=$enable_toolbar;
12184 if test "$enableval" = yes; then
12185 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12186 else
12187 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12188 fi
12189
12190 else
12191
12192 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12193
12194 fi
12195
12196
12197 eval "$wx_cv_use_toolbar"
12198
12199 if test x"$enablestring" = xdisable; then
12200 if test $wxUSE_TOOLBAR = no; then
12201 result=yes
12202 else
12203 result=no
12204 fi
12205 else
12206 result=$wxUSE_TOOLBAR
12207 fi
12208
12209 { echo "$as_me:$LINENO: result: $result" >&5
12210 echo "${ECHO_T}$result" >&6; }
12211
12212
12213 enablestring=
12214 defaultval=$wxUSE_ALL_FEATURES
12215 if test -z "$defaultval"; then
12216 if test x"$enablestring" = xdisable; then
12217 defaultval=yes
12218 else
12219 defaultval=no
12220 fi
12221 fi
12222
12223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12224 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12225 # Check whether --enable-toolbook was given.
12226 if test "${enable_toolbook+set}" = set; then
12227 enableval=$enable_toolbook;
12228 if test "$enableval" = yes; then
12229 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12230 else
12231 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12232 fi
12233
12234 else
12235
12236 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12237
12238 fi
12239
12240
12241 eval "$wx_cv_use_toolbook"
12242
12243 if test x"$enablestring" = xdisable; then
12244 if test $wxUSE_TOOLBOOK = no; then
12245 result=yes
12246 else
12247 result=no
12248 fi
12249 else
12250 result=$wxUSE_TOOLBOOK
12251 fi
12252
12253 { echo "$as_me:$LINENO: result: $result" >&5
12254 echo "${ECHO_T}$result" >&6; }
12255
12256
12257 enablestring=
12258 defaultval=$wxUSE_ALL_FEATURES
12259 if test -z "$defaultval"; then
12260 if test x"$enablestring" = xdisable; then
12261 defaultval=yes
12262 else
12263 defaultval=no
12264 fi
12265 fi
12266
12267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12268 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12269 # Check whether --enable-treebook was given.
12270 if test "${enable_treebook+set}" = set; then
12271 enableval=$enable_treebook;
12272 if test "$enableval" = yes; then
12273 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12274 else
12275 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12276 fi
12277
12278 else
12279
12280 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12281
12282 fi
12283
12284
12285 eval "$wx_cv_use_treebook"
12286
12287 if test x"$enablestring" = xdisable; then
12288 if test $wxUSE_TREEBOOK = no; then
12289 result=yes
12290 else
12291 result=no
12292 fi
12293 else
12294 result=$wxUSE_TREEBOOK
12295 fi
12296
12297 { echo "$as_me:$LINENO: result: $result" >&5
12298 echo "${ECHO_T}$result" >&6; }
12299
12300
12301 enablestring=
12302 defaultval=$wxUSE_ALL_FEATURES
12303 if test -z "$defaultval"; then
12304 if test x"$enablestring" = xdisable; then
12305 defaultval=yes
12306 else
12307 defaultval=no
12308 fi
12309 fi
12310
12311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12312 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12313 # Check whether --enable-treectrl was given.
12314 if test "${enable_treectrl+set}" = set; then
12315 enableval=$enable_treectrl;
12316 if test "$enableval" = yes; then
12317 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12318 else
12319 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12320 fi
12321
12322 else
12323
12324 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12325
12326 fi
12327
12328
12329 eval "$wx_cv_use_treectrl"
12330
12331 if test x"$enablestring" = xdisable; then
12332 if test $wxUSE_TREECTRL = no; then
12333 result=yes
12334 else
12335 result=no
12336 fi
12337 else
12338 result=$wxUSE_TREECTRL
12339 fi
12340
12341 { echo "$as_me:$LINENO: result: $result" >&5
12342 echo "${ECHO_T}$result" >&6; }
12343
12344
12345
12346
12347 enablestring=
12348 defaultval=$wxUSE_ALL_FEATURES
12349 if test -z "$defaultval"; then
12350 if test x"$enablestring" = xdisable; then
12351 defaultval=yes
12352 else
12353 defaultval=no
12354 fi
12355 fi
12356
12357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12358 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12359 # Check whether --enable-commondlg was given.
12360 if test "${enable_commondlg+set}" = set; then
12361 enableval=$enable_commondlg;
12362 if test "$enableval" = yes; then
12363 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12364 else
12365 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12366 fi
12367
12368 else
12369
12370 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12371
12372 fi
12373
12374
12375 eval "$wx_cv_use_commondlg"
12376
12377 if test x"$enablestring" = xdisable; then
12378 if test $wxUSE_COMMONDLGS = no; then
12379 result=yes
12380 else
12381 result=no
12382 fi
12383 else
12384 result=$wxUSE_COMMONDLGS
12385 fi
12386
12387 { echo "$as_me:$LINENO: result: $result" >&5
12388 echo "${ECHO_T}$result" >&6; }
12389
12390
12391 enablestring=
12392 defaultval=$wxUSE_ALL_FEATURES
12393 if test -z "$defaultval"; then
12394 if test x"$enablestring" = xdisable; then
12395 defaultval=yes
12396 else
12397 defaultval=no
12398 fi
12399 fi
12400
12401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12402 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12403 # Check whether --enable-aboutdlg was given.
12404 if test "${enable_aboutdlg+set}" = set; then
12405 enableval=$enable_aboutdlg;
12406 if test "$enableval" = yes; then
12407 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12408 else
12409 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12410 fi
12411
12412 else
12413
12414 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12415
12416 fi
12417
12418
12419 eval "$wx_cv_use_aboutdlg"
12420
12421 if test x"$enablestring" = xdisable; then
12422 if test $wxUSE_ABOUTDLG = no; then
12423 result=yes
12424 else
12425 result=no
12426 fi
12427 else
12428 result=$wxUSE_ABOUTDLG
12429 fi
12430
12431 { echo "$as_me:$LINENO: result: $result" >&5
12432 echo "${ECHO_T}$result" >&6; }
12433
12434
12435 enablestring=
12436 defaultval=$wxUSE_ALL_FEATURES
12437 if test -z "$defaultval"; then
12438 if test x"$enablestring" = xdisable; then
12439 defaultval=yes
12440 else
12441 defaultval=no
12442 fi
12443 fi
12444
12445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12446 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12447 # Check whether --enable-choicedlg was given.
12448 if test "${enable_choicedlg+set}" = set; then
12449 enableval=$enable_choicedlg;
12450 if test "$enableval" = yes; then
12451 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12452 else
12453 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12454 fi
12455
12456 else
12457
12458 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12459
12460 fi
12461
12462
12463 eval "$wx_cv_use_choicedlg"
12464
12465 if test x"$enablestring" = xdisable; then
12466 if test $wxUSE_CHOICEDLG = no; then
12467 result=yes
12468 else
12469 result=no
12470 fi
12471 else
12472 result=$wxUSE_CHOICEDLG
12473 fi
12474
12475 { echo "$as_me:$LINENO: result: $result" >&5
12476 echo "${ECHO_T}$result" >&6; }
12477
12478
12479 enablestring=
12480 defaultval=$wxUSE_ALL_FEATURES
12481 if test -z "$defaultval"; then
12482 if test x"$enablestring" = xdisable; then
12483 defaultval=yes
12484 else
12485 defaultval=no
12486 fi
12487 fi
12488
12489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12490 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12491 # Check whether --enable-coldlg was given.
12492 if test "${enable_coldlg+set}" = set; then
12493 enableval=$enable_coldlg;
12494 if test "$enableval" = yes; then
12495 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12496 else
12497 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12498 fi
12499
12500 else
12501
12502 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12503
12504 fi
12505
12506
12507 eval "$wx_cv_use_coldlg"
12508
12509 if test x"$enablestring" = xdisable; then
12510 if test $wxUSE_COLOURDLG = no; then
12511 result=yes
12512 else
12513 result=no
12514 fi
12515 else
12516 result=$wxUSE_COLOURDLG
12517 fi
12518
12519 { echo "$as_me:$LINENO: result: $result" >&5
12520 echo "${ECHO_T}$result" >&6; }
12521
12522
12523 enablestring=
12524 defaultval=$wxUSE_ALL_FEATURES
12525 if test -z "$defaultval"; then
12526 if test x"$enablestring" = xdisable; then
12527 defaultval=yes
12528 else
12529 defaultval=no
12530 fi
12531 fi
12532
12533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12534 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12535 # Check whether --enable-filedlg was given.
12536 if test "${enable_filedlg+set}" = set; then
12537 enableval=$enable_filedlg;
12538 if test "$enableval" = yes; then
12539 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12540 else
12541 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12542 fi
12543
12544 else
12545
12546 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12547
12548 fi
12549
12550
12551 eval "$wx_cv_use_filedlg"
12552
12553 if test x"$enablestring" = xdisable; then
12554 if test $wxUSE_FILEDLG = no; then
12555 result=yes
12556 else
12557 result=no
12558 fi
12559 else
12560 result=$wxUSE_FILEDLG
12561 fi
12562
12563 { echo "$as_me:$LINENO: result: $result" >&5
12564 echo "${ECHO_T}$result" >&6; }
12565
12566
12567 enablestring=
12568 defaultval=$wxUSE_ALL_FEATURES
12569 if test -z "$defaultval"; then
12570 if test x"$enablestring" = xdisable; then
12571 defaultval=yes
12572 else
12573 defaultval=no
12574 fi
12575 fi
12576
12577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12578 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12579 # Check whether --enable-finddlg was given.
12580 if test "${enable_finddlg+set}" = set; then
12581 enableval=$enable_finddlg;
12582 if test "$enableval" = yes; then
12583 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12584 else
12585 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12586 fi
12587
12588 else
12589
12590 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12591
12592 fi
12593
12594
12595 eval "$wx_cv_use_finddlg"
12596
12597 if test x"$enablestring" = xdisable; then
12598 if test $wxUSE_FINDREPLDLG = no; then
12599 result=yes
12600 else
12601 result=no
12602 fi
12603 else
12604 result=$wxUSE_FINDREPLDLG
12605 fi
12606
12607 { echo "$as_me:$LINENO: result: $result" >&5
12608 echo "${ECHO_T}$result" >&6; }
12609
12610
12611 enablestring=
12612 defaultval=$wxUSE_ALL_FEATURES
12613 if test -z "$defaultval"; then
12614 if test x"$enablestring" = xdisable; then
12615 defaultval=yes
12616 else
12617 defaultval=no
12618 fi
12619 fi
12620
12621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12622 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12623 # Check whether --enable-fontdlg was given.
12624 if test "${enable_fontdlg+set}" = set; then
12625 enableval=$enable_fontdlg;
12626 if test "$enableval" = yes; then
12627 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12628 else
12629 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12630 fi
12631
12632 else
12633
12634 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12635
12636 fi
12637
12638
12639 eval "$wx_cv_use_fontdlg"
12640
12641 if test x"$enablestring" = xdisable; then
12642 if test $wxUSE_FONTDLG = no; then
12643 result=yes
12644 else
12645 result=no
12646 fi
12647 else
12648 result=$wxUSE_FONTDLG
12649 fi
12650
12651 { echo "$as_me:$LINENO: result: $result" >&5
12652 echo "${ECHO_T}$result" >&6; }
12653
12654
12655 enablestring=
12656 defaultval=$wxUSE_ALL_FEATURES
12657 if test -z "$defaultval"; then
12658 if test x"$enablestring" = xdisable; then
12659 defaultval=yes
12660 else
12661 defaultval=no
12662 fi
12663 fi
12664
12665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12666 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12667 # Check whether --enable-dirdlg was given.
12668 if test "${enable_dirdlg+set}" = set; then
12669 enableval=$enable_dirdlg;
12670 if test "$enableval" = yes; then
12671 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12672 else
12673 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12674 fi
12675
12676 else
12677
12678 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12679
12680 fi
12681
12682
12683 eval "$wx_cv_use_dirdlg"
12684
12685 if test x"$enablestring" = xdisable; then
12686 if test $wxUSE_DIRDLG = no; then
12687 result=yes
12688 else
12689 result=no
12690 fi
12691 else
12692 result=$wxUSE_DIRDLG
12693 fi
12694
12695 { echo "$as_me:$LINENO: result: $result" >&5
12696 echo "${ECHO_T}$result" >&6; }
12697
12698
12699 enablestring=
12700 defaultval=$wxUSE_ALL_FEATURES
12701 if test -z "$defaultval"; then
12702 if test x"$enablestring" = xdisable; then
12703 defaultval=yes
12704 else
12705 defaultval=no
12706 fi
12707 fi
12708
12709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12710 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12711 # Check whether --enable-msgdlg was given.
12712 if test "${enable_msgdlg+set}" = set; then
12713 enableval=$enable_msgdlg;
12714 if test "$enableval" = yes; then
12715 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12716 else
12717 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12718 fi
12719
12720 else
12721
12722 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12723
12724 fi
12725
12726
12727 eval "$wx_cv_use_msgdlg"
12728
12729 if test x"$enablestring" = xdisable; then
12730 if test $wxUSE_MSGDLG = no; then
12731 result=yes
12732 else
12733 result=no
12734 fi
12735 else
12736 result=$wxUSE_MSGDLG
12737 fi
12738
12739 { echo "$as_me:$LINENO: result: $result" >&5
12740 echo "${ECHO_T}$result" >&6; }
12741
12742
12743 enablestring=
12744 defaultval=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x"$enablestring" = xdisable; then
12747 defaultval=yes
12748 else
12749 defaultval=no
12750 fi
12751 fi
12752
12753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12754 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12755 # Check whether --enable-numberdlg was given.
12756 if test "${enable_numberdlg+set}" = set; then
12757 enableval=$enable_numberdlg;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12760 else
12761 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12762 fi
12763
12764 else
12765
12766 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12767
12768 fi
12769
12770
12771 eval "$wx_cv_use_numberdlg"
12772
12773 if test x"$enablestring" = xdisable; then
12774 if test $wxUSE_NUMBERDLG = no; then
12775 result=yes
12776 else
12777 result=no
12778 fi
12779 else
12780 result=$wxUSE_NUMBERDLG
12781 fi
12782
12783 { echo "$as_me:$LINENO: result: $result" >&5
12784 echo "${ECHO_T}$result" >&6; }
12785
12786
12787 enablestring=
12788 defaultval=$wxUSE_ALL_FEATURES
12789 if test -z "$defaultval"; then
12790 if test x"$enablestring" = xdisable; then
12791 defaultval=yes
12792 else
12793 defaultval=no
12794 fi
12795 fi
12796
12797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12798 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12799 # Check whether --enable-splash was given.
12800 if test "${enable_splash+set}" = set; then
12801 enableval=$enable_splash;
12802 if test "$enableval" = yes; then
12803 wx_cv_use_splash='wxUSE_SPLASH=yes'
12804 else
12805 wx_cv_use_splash='wxUSE_SPLASH=no'
12806 fi
12807
12808 else
12809
12810 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12811
12812 fi
12813
12814
12815 eval "$wx_cv_use_splash"
12816
12817 if test x"$enablestring" = xdisable; then
12818 if test $wxUSE_SPLASH = no; then
12819 result=yes
12820 else
12821 result=no
12822 fi
12823 else
12824 result=$wxUSE_SPLASH
12825 fi
12826
12827 { echo "$as_me:$LINENO: result: $result" >&5
12828 echo "${ECHO_T}$result" >&6; }
12829
12830
12831 enablestring=
12832 defaultval=$wxUSE_ALL_FEATURES
12833 if test -z "$defaultval"; then
12834 if test x"$enablestring" = xdisable; then
12835 defaultval=yes
12836 else
12837 defaultval=no
12838 fi
12839 fi
12840
12841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12842 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12843 # Check whether --enable-textdlg was given.
12844 if test "${enable_textdlg+set}" = set; then
12845 enableval=$enable_textdlg;
12846 if test "$enableval" = yes; then
12847 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12848 else
12849 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12850 fi
12851
12852 else
12853
12854 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12855
12856 fi
12857
12858
12859 eval "$wx_cv_use_textdlg"
12860
12861 if test x"$enablestring" = xdisable; then
12862 if test $wxUSE_TEXTDLG = no; then
12863 result=yes
12864 else
12865 result=no
12866 fi
12867 else
12868 result=$wxUSE_TEXTDLG
12869 fi
12870
12871 { echo "$as_me:$LINENO: result: $result" >&5
12872 echo "${ECHO_T}$result" >&6; }
12873
12874
12875 enablestring=
12876 defaultval=$wxUSE_ALL_FEATURES
12877 if test -z "$defaultval"; then
12878 if test x"$enablestring" = xdisable; then
12879 defaultval=yes
12880 else
12881 defaultval=no
12882 fi
12883 fi
12884
12885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12886 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12887 # Check whether --enable-tipdlg was given.
12888 if test "${enable_tipdlg+set}" = set; then
12889 enableval=$enable_tipdlg;
12890 if test "$enableval" = yes; then
12891 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12892 else
12893 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12894 fi
12895
12896 else
12897
12898 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12899
12900 fi
12901
12902
12903 eval "$wx_cv_use_tipdlg"
12904
12905 if test x"$enablestring" = xdisable; then
12906 if test $wxUSE_STARTUP_TIPS = no; then
12907 result=yes
12908 else
12909 result=no
12910 fi
12911 else
12912 result=$wxUSE_STARTUP_TIPS
12913 fi
12914
12915 { echo "$as_me:$LINENO: result: $result" >&5
12916 echo "${ECHO_T}$result" >&6; }
12917
12918
12919 enablestring=
12920 defaultval=$wxUSE_ALL_FEATURES
12921 if test -z "$defaultval"; then
12922 if test x"$enablestring" = xdisable; then
12923 defaultval=yes
12924 else
12925 defaultval=no
12926 fi
12927 fi
12928
12929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12930 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12931 # Check whether --enable-progressdlg was given.
12932 if test "${enable_progressdlg+set}" = set; then
12933 enableval=$enable_progressdlg;
12934 if test "$enableval" = yes; then
12935 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12936 else
12937 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12938 fi
12939
12940 else
12941
12942 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12943
12944 fi
12945
12946
12947 eval "$wx_cv_use_progressdlg"
12948
12949 if test x"$enablestring" = xdisable; then
12950 if test $wxUSE_PROGRESSDLG = no; then
12951 result=yes
12952 else
12953 result=no
12954 fi
12955 else
12956 result=$wxUSE_PROGRESSDLG
12957 fi
12958
12959 { echo "$as_me:$LINENO: result: $result" >&5
12960 echo "${ECHO_T}$result" >&6; }
12961
12962
12963 enablestring=
12964 defaultval=$wxUSE_ALL_FEATURES
12965 if test -z "$defaultval"; then
12966 if test x"$enablestring" = xdisable; then
12967 defaultval=yes
12968 else
12969 defaultval=no
12970 fi
12971 fi
12972
12973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12974 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12975 # Check whether --enable-wizarddlg was given.
12976 if test "${enable_wizarddlg+set}" = set; then
12977 enableval=$enable_wizarddlg;
12978 if test "$enableval" = yes; then
12979 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12980 else
12981 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12982 fi
12983
12984 else
12985
12986 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12987
12988 fi
12989
12990
12991 eval "$wx_cv_use_wizarddlg"
12992
12993 if test x"$enablestring" = xdisable; then
12994 if test $wxUSE_WIZARDDLG = no; then
12995 result=yes
12996 else
12997 result=no
12998 fi
12999 else
13000 result=$wxUSE_WIZARDDLG
13001 fi
13002
13003 { echo "$as_me:$LINENO: result: $result" >&5
13004 echo "${ECHO_T}$result" >&6; }
13005
13006
13007
13008
13009 enablestring=
13010 defaultval=$wxUSE_ALL_FEATURES
13011 if test -z "$defaultval"; then
13012 if test x"$enablestring" = xdisable; then
13013 defaultval=yes
13014 else
13015 defaultval=no
13016 fi
13017 fi
13018
13019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13020 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13021 # Check whether --enable-menus was given.
13022 if test "${enable_menus+set}" = set; then
13023 enableval=$enable_menus;
13024 if test "$enableval" = yes; then
13025 wx_cv_use_menus='wxUSE_MENUS=yes'
13026 else
13027 wx_cv_use_menus='wxUSE_MENUS=no'
13028 fi
13029
13030 else
13031
13032 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13033
13034 fi
13035
13036
13037 eval "$wx_cv_use_menus"
13038
13039 if test x"$enablestring" = xdisable; then
13040 if test $wxUSE_MENUS = no; then
13041 result=yes
13042 else
13043 result=no
13044 fi
13045 else
13046 result=$wxUSE_MENUS
13047 fi
13048
13049 { echo "$as_me:$LINENO: result: $result" >&5
13050 echo "${ECHO_T}$result" >&6; }
13051
13052
13053 enablestring=
13054 defaultval=$wxUSE_ALL_FEATURES
13055 if test -z "$defaultval"; then
13056 if test x"$enablestring" = xdisable; then
13057 defaultval=yes
13058 else
13059 defaultval=no
13060 fi
13061 fi
13062
13063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13064 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13065 # Check whether --enable-miniframe was given.
13066 if test "${enable_miniframe+set}" = set; then
13067 enableval=$enable_miniframe;
13068 if test "$enableval" = yes; then
13069 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13070 else
13071 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13072 fi
13073
13074 else
13075
13076 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13077
13078 fi
13079
13080
13081 eval "$wx_cv_use_miniframe"
13082
13083 if test x"$enablestring" = xdisable; then
13084 if test $wxUSE_MINIFRAME = no; then
13085 result=yes
13086 else
13087 result=no
13088 fi
13089 else
13090 result=$wxUSE_MINIFRAME
13091 fi
13092
13093 { echo "$as_me:$LINENO: result: $result" >&5
13094 echo "${ECHO_T}$result" >&6; }
13095
13096
13097 enablestring=
13098 defaultval=$wxUSE_ALL_FEATURES
13099 if test -z "$defaultval"; then
13100 if test x"$enablestring" = xdisable; then
13101 defaultval=yes
13102 else
13103 defaultval=no
13104 fi
13105 fi
13106
13107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13108 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13109 # Check whether --enable-tooltips was given.
13110 if test "${enable_tooltips+set}" = set; then
13111 enableval=$enable_tooltips;
13112 if test "$enableval" = yes; then
13113 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13114 else
13115 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13116 fi
13117
13118 else
13119
13120 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13121
13122 fi
13123
13124
13125 eval "$wx_cv_use_tooltips"
13126
13127 if test x"$enablestring" = xdisable; then
13128 if test $wxUSE_TOOLTIPS = no; then
13129 result=yes
13130 else
13131 result=no
13132 fi
13133 else
13134 result=$wxUSE_TOOLTIPS
13135 fi
13136
13137 { echo "$as_me:$LINENO: result: $result" >&5
13138 echo "${ECHO_T}$result" >&6; }
13139
13140
13141 enablestring=
13142 defaultval=$wxUSE_ALL_FEATURES
13143 if test -z "$defaultval"; then
13144 if test x"$enablestring" = xdisable; then
13145 defaultval=yes
13146 else
13147 defaultval=no
13148 fi
13149 fi
13150
13151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13152 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13153 # Check whether --enable-splines was given.
13154 if test "${enable_splines+set}" = set; then
13155 enableval=$enable_splines;
13156 if test "$enableval" = yes; then
13157 wx_cv_use_splines='wxUSE_SPLINES=yes'
13158 else
13159 wx_cv_use_splines='wxUSE_SPLINES=no'
13160 fi
13161
13162 else
13163
13164 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13165
13166 fi
13167
13168
13169 eval "$wx_cv_use_splines"
13170
13171 if test x"$enablestring" = xdisable; then
13172 if test $wxUSE_SPLINES = no; then
13173 result=yes
13174 else
13175 result=no
13176 fi
13177 else
13178 result=$wxUSE_SPLINES
13179 fi
13180
13181 { echo "$as_me:$LINENO: result: $result" >&5
13182 echo "${ECHO_T}$result" >&6; }
13183
13184
13185 enablestring=
13186 defaultval=$wxUSE_ALL_FEATURES
13187 if test -z "$defaultval"; then
13188 if test x"$enablestring" = xdisable; then
13189 defaultval=yes
13190 else
13191 defaultval=no
13192 fi
13193 fi
13194
13195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13196 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13197 # Check whether --enable-mousewheel was given.
13198 if test "${enable_mousewheel+set}" = set; then
13199 enableval=$enable_mousewheel;
13200 if test "$enableval" = yes; then
13201 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13202 else
13203 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13204 fi
13205
13206 else
13207
13208 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13209
13210 fi
13211
13212
13213 eval "$wx_cv_use_mousewheel"
13214
13215 if test x"$enablestring" = xdisable; then
13216 if test $wxUSE_MOUSEWHEEL = no; then
13217 result=yes
13218 else
13219 result=no
13220 fi
13221 else
13222 result=$wxUSE_MOUSEWHEEL
13223 fi
13224
13225 { echo "$as_me:$LINENO: result: $result" >&5
13226 echo "${ECHO_T}$result" >&6; }
13227
13228
13229 enablestring=
13230 defaultval=$wxUSE_ALL_FEATURES
13231 if test -z "$defaultval"; then
13232 if test x"$enablestring" = xdisable; then
13233 defaultval=yes
13234 else
13235 defaultval=no
13236 fi
13237 fi
13238
13239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13240 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13241 # Check whether --enable-validators was given.
13242 if test "${enable_validators+set}" = set; then
13243 enableval=$enable_validators;
13244 if test "$enableval" = yes; then
13245 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13246 else
13247 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13248 fi
13249
13250 else
13251
13252 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13253
13254 fi
13255
13256
13257 eval "$wx_cv_use_validators"
13258
13259 if test x"$enablestring" = xdisable; then
13260 if test $wxUSE_VALIDATORS = no; then
13261 result=yes
13262 else
13263 result=no
13264 fi
13265 else
13266 result=$wxUSE_VALIDATORS
13267 fi
13268
13269 { echo "$as_me:$LINENO: result: $result" >&5
13270 echo "${ECHO_T}$result" >&6; }
13271
13272
13273 enablestring=
13274 defaultval=$wxUSE_ALL_FEATURES
13275 if test -z "$defaultval"; then
13276 if test x"$enablestring" = xdisable; then
13277 defaultval=yes
13278 else
13279 defaultval=no
13280 fi
13281 fi
13282
13283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13284 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13285 # Check whether --enable-busyinfo was given.
13286 if test "${enable_busyinfo+set}" = set; then
13287 enableval=$enable_busyinfo;
13288 if test "$enableval" = yes; then
13289 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13290 else
13291 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13292 fi
13293
13294 else
13295
13296 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13297
13298 fi
13299
13300
13301 eval "$wx_cv_use_busyinfo"
13302
13303 if test x"$enablestring" = xdisable; then
13304 if test $wxUSE_BUSYINFO = no; then
13305 result=yes
13306 else
13307 result=no
13308 fi
13309 else
13310 result=$wxUSE_BUSYINFO
13311 fi
13312
13313 { echo "$as_me:$LINENO: result: $result" >&5
13314 echo "${ECHO_T}$result" >&6; }
13315
13316
13317 enablestring=
13318 defaultval=$wxUSE_ALL_FEATURES
13319 if test -z "$defaultval"; then
13320 if test x"$enablestring" = xdisable; then
13321 defaultval=yes
13322 else
13323 defaultval=no
13324 fi
13325 fi
13326
13327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13328 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13329 # Check whether --enable-joystick was given.
13330 if test "${enable_joystick+set}" = set; then
13331 enableval=$enable_joystick;
13332 if test "$enableval" = yes; then
13333 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13334 else
13335 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13336 fi
13337
13338 else
13339
13340 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13341
13342 fi
13343
13344
13345 eval "$wx_cv_use_joystick"
13346
13347 if test x"$enablestring" = xdisable; then
13348 if test $wxUSE_JOYSTICK = no; then
13349 result=yes
13350 else
13351 result=no
13352 fi
13353 else
13354 result=$wxUSE_JOYSTICK
13355 fi
13356
13357 { echo "$as_me:$LINENO: result: $result" >&5
13358 echo "${ECHO_T}$result" >&6; }
13359
13360
13361 enablestring=
13362 defaultval=$wxUSE_ALL_FEATURES
13363 if test -z "$defaultval"; then
13364 if test x"$enablestring" = xdisable; then
13365 defaultval=yes
13366 else
13367 defaultval=no
13368 fi
13369 fi
13370
13371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13372 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13373 # Check whether --enable-metafile was given.
13374 if test "${enable_metafile+set}" = set; then
13375 enableval=$enable_metafile;
13376 if test "$enableval" = yes; then
13377 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13378 else
13379 wx_cv_use_metafile='wxUSE_METAFILE=no'
13380 fi
13381
13382 else
13383
13384 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13385
13386 fi
13387
13388
13389 eval "$wx_cv_use_metafile"
13390
13391 if test x"$enablestring" = xdisable; then
13392 if test $wxUSE_METAFILE = no; then
13393 result=yes
13394 else
13395 result=no
13396 fi
13397 else
13398 result=$wxUSE_METAFILE
13399 fi
13400
13401 { echo "$as_me:$LINENO: result: $result" >&5
13402 echo "${ECHO_T}$result" >&6; }
13403
13404
13405 enablestring=
13406 defaultval=$wxUSE_ALL_FEATURES
13407 if test -z "$defaultval"; then
13408 if test x"$enablestring" = xdisable; then
13409 defaultval=yes
13410 else
13411 defaultval=no
13412 fi
13413 fi
13414
13415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13416 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13417 # Check whether --enable-dragimage was given.
13418 if test "${enable_dragimage+set}" = set; then
13419 enableval=$enable_dragimage;
13420 if test "$enableval" = yes; then
13421 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13422 else
13423 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13424 fi
13425
13426 else
13427
13428 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13429
13430 fi
13431
13432
13433 eval "$wx_cv_use_dragimage"
13434
13435 if test x"$enablestring" = xdisable; then
13436 if test $wxUSE_DRAGIMAGE = no; then
13437 result=yes
13438 else
13439 result=no
13440 fi
13441 else
13442 result=$wxUSE_DRAGIMAGE
13443 fi
13444
13445 { echo "$as_me:$LINENO: result: $result" >&5
13446 echo "${ECHO_T}$result" >&6; }
13447
13448
13449 enablestring=
13450 defaultval=$wxUSE_ALL_FEATURES
13451 if test -z "$defaultval"; then
13452 if test x"$enablestring" = xdisable; then
13453 defaultval=yes
13454 else
13455 defaultval=no
13456 fi
13457 fi
13458
13459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13460 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13461 # Check whether --enable-accessibility was given.
13462 if test "${enable_accessibility+set}" = set; then
13463 enableval=$enable_accessibility;
13464 if test "$enableval" = yes; then
13465 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13466 else
13467 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13468 fi
13469
13470 else
13471
13472 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13473
13474 fi
13475
13476
13477 eval "$wx_cv_use_accessibility"
13478
13479 if test x"$enablestring" = xdisable; then
13480 if test $wxUSE_ACCESSIBILITY = no; then
13481 result=yes
13482 else
13483 result=no
13484 fi
13485 else
13486 result=$wxUSE_ACCESSIBILITY
13487 fi
13488
13489 { echo "$as_me:$LINENO: result: $result" >&5
13490 echo "${ECHO_T}$result" >&6; }
13491
13492
13493
13494
13495 enablestring=
13496 defaultval=$wxUSE_ALL_FEATURES
13497 if test -z "$defaultval"; then
13498 if test x"$enablestring" = xdisable; then
13499 defaultval=yes
13500 else
13501 defaultval=no
13502 fi
13503 fi
13504
13505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13506 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13507 # Check whether --enable-palette was given.
13508 if test "${enable_palette+set}" = set; then
13509 enableval=$enable_palette;
13510 if test "$enableval" = yes; then
13511 wx_cv_use_palette='wxUSE_PALETTE=yes'
13512 else
13513 wx_cv_use_palette='wxUSE_PALETTE=no'
13514 fi
13515
13516 else
13517
13518 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13519
13520 fi
13521
13522
13523 eval "$wx_cv_use_palette"
13524
13525 if test x"$enablestring" = xdisable; then
13526 if test $wxUSE_PALETTE = no; then
13527 result=yes
13528 else
13529 result=no
13530 fi
13531 else
13532 result=$wxUSE_PALETTE
13533 fi
13534
13535 { echo "$as_me:$LINENO: result: $result" >&5
13536 echo "${ECHO_T}$result" >&6; }
13537
13538
13539 enablestring=
13540 defaultval=$wxUSE_ALL_FEATURES
13541 if test -z "$defaultval"; then
13542 if test x"$enablestring" = xdisable; then
13543 defaultval=yes
13544 else
13545 defaultval=no
13546 fi
13547 fi
13548
13549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13550 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13551 # Check whether --enable-image was given.
13552 if test "${enable_image+set}" = set; then
13553 enableval=$enable_image;
13554 if test "$enableval" = yes; then
13555 wx_cv_use_image='wxUSE_IMAGE=yes'
13556 else
13557 wx_cv_use_image='wxUSE_IMAGE=no'
13558 fi
13559
13560 else
13561
13562 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13563
13564 fi
13565
13566
13567 eval "$wx_cv_use_image"
13568
13569 if test x"$enablestring" = xdisable; then
13570 if test $wxUSE_IMAGE = no; then
13571 result=yes
13572 else
13573 result=no
13574 fi
13575 else
13576 result=$wxUSE_IMAGE
13577 fi
13578
13579 { echo "$as_me:$LINENO: result: $result" >&5
13580 echo "${ECHO_T}$result" >&6; }
13581
13582
13583 enablestring=
13584 defaultval=$wxUSE_ALL_FEATURES
13585 if test -z "$defaultval"; then
13586 if test x"$enablestring" = xdisable; then
13587 defaultval=yes
13588 else
13589 defaultval=no
13590 fi
13591 fi
13592
13593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13594 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13595 # Check whether --enable-gif was given.
13596 if test "${enable_gif+set}" = set; then
13597 enableval=$enable_gif;
13598 if test "$enableval" = yes; then
13599 wx_cv_use_gif='wxUSE_GIF=yes'
13600 else
13601 wx_cv_use_gif='wxUSE_GIF=no'
13602 fi
13603
13604 else
13605
13606 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13607
13608 fi
13609
13610
13611 eval "$wx_cv_use_gif"
13612
13613 if test x"$enablestring" = xdisable; then
13614 if test $wxUSE_GIF = no; then
13615 result=yes
13616 else
13617 result=no
13618 fi
13619 else
13620 result=$wxUSE_GIF
13621 fi
13622
13623 { echo "$as_me:$LINENO: result: $result" >&5
13624 echo "${ECHO_T}$result" >&6; }
13625
13626
13627 enablestring=
13628 defaultval=$wxUSE_ALL_FEATURES
13629 if test -z "$defaultval"; then
13630 if test x"$enablestring" = xdisable; then
13631 defaultval=yes
13632 else
13633 defaultval=no
13634 fi
13635 fi
13636
13637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13638 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13639 # Check whether --enable-pcx was given.
13640 if test "${enable_pcx+set}" = set; then
13641 enableval=$enable_pcx;
13642 if test "$enableval" = yes; then
13643 wx_cv_use_pcx='wxUSE_PCX=yes'
13644 else
13645 wx_cv_use_pcx='wxUSE_PCX=no'
13646 fi
13647
13648 else
13649
13650 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13651
13652 fi
13653
13654
13655 eval "$wx_cv_use_pcx"
13656
13657 if test x"$enablestring" = xdisable; then
13658 if test $wxUSE_PCX = no; then
13659 result=yes
13660 else
13661 result=no
13662 fi
13663 else
13664 result=$wxUSE_PCX
13665 fi
13666
13667 { echo "$as_me:$LINENO: result: $result" >&5
13668 echo "${ECHO_T}$result" >&6; }
13669
13670
13671 enablestring=
13672 defaultval=$wxUSE_ALL_FEATURES
13673 if test -z "$defaultval"; then
13674 if test x"$enablestring" = xdisable; then
13675 defaultval=yes
13676 else
13677 defaultval=no
13678 fi
13679 fi
13680
13681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13682 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13683 # Check whether --enable-tga was given.
13684 if test "${enable_tga+set}" = set; then
13685 enableval=$enable_tga;
13686 if test "$enableval" = yes; then
13687 wx_cv_use_tga='wxUSE_TGA=yes'
13688 else
13689 wx_cv_use_tga='wxUSE_TGA=no'
13690 fi
13691
13692 else
13693
13694 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13695
13696 fi
13697
13698
13699 eval "$wx_cv_use_tga"
13700
13701 if test x"$enablestring" = xdisable; then
13702 if test $wxUSE_TGA = no; then
13703 result=yes
13704 else
13705 result=no
13706 fi
13707 else
13708 result=$wxUSE_TGA
13709 fi
13710
13711 { echo "$as_me:$LINENO: result: $result" >&5
13712 echo "${ECHO_T}$result" >&6; }
13713
13714
13715 enablestring=
13716 defaultval=$wxUSE_ALL_FEATURES
13717 if test -z "$defaultval"; then
13718 if test x"$enablestring" = xdisable; then
13719 defaultval=yes
13720 else
13721 defaultval=no
13722 fi
13723 fi
13724
13725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13726 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13727 # Check whether --enable-iff was given.
13728 if test "${enable_iff+set}" = set; then
13729 enableval=$enable_iff;
13730 if test "$enableval" = yes; then
13731 wx_cv_use_iff='wxUSE_IFF=yes'
13732 else
13733 wx_cv_use_iff='wxUSE_IFF=no'
13734 fi
13735
13736 else
13737
13738 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13739
13740 fi
13741
13742
13743 eval "$wx_cv_use_iff"
13744
13745 if test x"$enablestring" = xdisable; then
13746 if test $wxUSE_IFF = no; then
13747 result=yes
13748 else
13749 result=no
13750 fi
13751 else
13752 result=$wxUSE_IFF
13753 fi
13754
13755 { echo "$as_me:$LINENO: result: $result" >&5
13756 echo "${ECHO_T}$result" >&6; }
13757
13758
13759 enablestring=
13760 defaultval=$wxUSE_ALL_FEATURES
13761 if test -z "$defaultval"; then
13762 if test x"$enablestring" = xdisable; then
13763 defaultval=yes
13764 else
13765 defaultval=no
13766 fi
13767 fi
13768
13769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13770 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13771 # Check whether --enable-pnm was given.
13772 if test "${enable_pnm+set}" = set; then
13773 enableval=$enable_pnm;
13774 if test "$enableval" = yes; then
13775 wx_cv_use_pnm='wxUSE_PNM=yes'
13776 else
13777 wx_cv_use_pnm='wxUSE_PNM=no'
13778 fi
13779
13780 else
13781
13782 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13783
13784 fi
13785
13786
13787 eval "$wx_cv_use_pnm"
13788
13789 if test x"$enablestring" = xdisable; then
13790 if test $wxUSE_PNM = no; then
13791 result=yes
13792 else
13793 result=no
13794 fi
13795 else
13796 result=$wxUSE_PNM
13797 fi
13798
13799 { echo "$as_me:$LINENO: result: $result" >&5
13800 echo "${ECHO_T}$result" >&6; }
13801
13802
13803 enablestring=
13804 defaultval=$wxUSE_ALL_FEATURES
13805 if test -z "$defaultval"; then
13806 if test x"$enablestring" = xdisable; then
13807 defaultval=yes
13808 else
13809 defaultval=no
13810 fi
13811 fi
13812
13813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13814 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13815 # Check whether --enable-xpm was given.
13816 if test "${enable_xpm+set}" = set; then
13817 enableval=$enable_xpm;
13818 if test "$enableval" = yes; then
13819 wx_cv_use_xpm='wxUSE_XPM=yes'
13820 else
13821 wx_cv_use_xpm='wxUSE_XPM=no'
13822 fi
13823
13824 else
13825
13826 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13827
13828 fi
13829
13830
13831 eval "$wx_cv_use_xpm"
13832
13833 if test x"$enablestring" = xdisable; then
13834 if test $wxUSE_XPM = no; then
13835 result=yes
13836 else
13837 result=no
13838 fi
13839 else
13840 result=$wxUSE_XPM
13841 fi
13842
13843 { echo "$as_me:$LINENO: result: $result" >&5
13844 echo "${ECHO_T}$result" >&6; }
13845
13846
13847 enablestring=
13848 defaultval=$wxUSE_ALL_FEATURES
13849 if test -z "$defaultval"; then
13850 if test x"$enablestring" = xdisable; then
13851 defaultval=yes
13852 else
13853 defaultval=no
13854 fi
13855 fi
13856
13857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13858 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13859 # Check whether --enable-ico_cur was given.
13860 if test "${enable_ico_cur+set}" = set; then
13861 enableval=$enable_ico_cur;
13862 if test "$enableval" = yes; then
13863 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13864 else
13865 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13866 fi
13867
13868 else
13869
13870 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13871
13872 fi
13873
13874
13875 eval "$wx_cv_use_ico_cur"
13876
13877 if test x"$enablestring" = xdisable; then
13878 if test $wxUSE_ICO_CUR = no; then
13879 result=yes
13880 else
13881 result=no
13882 fi
13883 else
13884 result=$wxUSE_ICO_CUR
13885 fi
13886
13887 { echo "$as_me:$LINENO: result: $result" >&5
13888 echo "${ECHO_T}$result" >&6; }
13889
13890
13891
13892
13893 enablestring=
13894 defaultval=$wxUSE_ALL_FEATURES
13895 if test -z "$defaultval"; then
13896 if test x"$enablestring" = xdisable; then
13897 defaultval=yes
13898 else
13899 defaultval=no
13900 fi
13901 fi
13902
13903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13904 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13905 # Check whether --enable-dccache was given.
13906 if test "${enable_dccache+set}" = set; then
13907 enableval=$enable_dccache;
13908 if test "$enableval" = yes; then
13909 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13910 else
13911 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13912 fi
13913
13914 else
13915
13916 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13917
13918 fi
13919
13920
13921 eval "$wx_cv_use_dccache"
13922
13923 if test x"$enablestring" = xdisable; then
13924 if test $wxUSE_DC_CACHEING = no; then
13925 result=yes
13926 else
13927 result=no
13928 fi
13929 else
13930 result=$wxUSE_DC_CACHEING
13931 fi
13932
13933 { echo "$as_me:$LINENO: result: $result" >&5
13934 echo "${ECHO_T}$result" >&6; }
13935
13936
13937 enablestring=
13938 defaultval=$wxUSE_ALL_FEATURES
13939 if test -z "$defaultval"; then
13940 if test x"$enablestring" = xdisable; then
13941 defaultval=yes
13942 else
13943 defaultval=no
13944 fi
13945 fi
13946
13947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13948 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13949 # Check whether --enable-ps-in-msw was given.
13950 if test "${enable_ps_in_msw+set}" = set; then
13951 enableval=$enable_ps_in_msw;
13952 if test "$enableval" = yes; then
13953 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13954 else
13955 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13956 fi
13957
13958 else
13959
13960 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13961
13962 fi
13963
13964
13965 eval "$wx_cv_use_ps_in_msw"
13966
13967 if test x"$enablestring" = xdisable; then
13968 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
13969 result=yes
13970 else
13971 result=no
13972 fi
13973 else
13974 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13975 fi
13976
13977 { echo "$as_me:$LINENO: result: $result" >&5
13978 echo "${ECHO_T}$result" >&6; }
13979
13980
13981 enablestring=
13982 defaultval=$wxUSE_ALL_FEATURES
13983 if test -z "$defaultval"; then
13984 if test x"$enablestring" = xdisable; then
13985 defaultval=yes
13986 else
13987 defaultval=no
13988 fi
13989 fi
13990
13991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13992 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13993 # Check whether --enable-ownerdrawn was given.
13994 if test "${enable_ownerdrawn+set}" = set; then
13995 enableval=$enable_ownerdrawn;
13996 if test "$enableval" = yes; then
13997 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13998 else
13999 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14000 fi
14001
14002 else
14003
14004 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14005
14006 fi
14007
14008
14009 eval "$wx_cv_use_ownerdrawn"
14010
14011 if test x"$enablestring" = xdisable; then
14012 if test $wxUSE_OWNER_DRAWN = no; then
14013 result=yes
14014 else
14015 result=no
14016 fi
14017 else
14018 result=$wxUSE_OWNER_DRAWN
14019 fi
14020
14021 { echo "$as_me:$LINENO: result: $result" >&5
14022 echo "${ECHO_T}$result" >&6; }
14023
14024
14025 enablestring=
14026 defaultval=$wxUSE_ALL_FEATURES
14027 if test -z "$defaultval"; then
14028 if test x"$enablestring" = xdisable; then
14029 defaultval=yes
14030 else
14031 defaultval=no
14032 fi
14033 fi
14034
14035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14036 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14037 # Check whether --enable-uxtheme was given.
14038 if test "${enable_uxtheme+set}" = set; then
14039 enableval=$enable_uxtheme;
14040 if test "$enableval" = yes; then
14041 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14042 else
14043 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14044 fi
14045
14046 else
14047
14048 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14049
14050 fi
14051
14052
14053 eval "$wx_cv_use_uxtheme"
14054
14055 if test x"$enablestring" = xdisable; then
14056 if test $wxUSE_UXTHEME = no; then
14057 result=yes
14058 else
14059 result=no
14060 fi
14061 else
14062 result=$wxUSE_UXTHEME
14063 fi
14064
14065 { echo "$as_me:$LINENO: result: $result" >&5
14066 echo "${ECHO_T}$result" >&6; }
14067
14068
14069 enablestring=
14070 defaultval=$wxUSE_ALL_FEATURES
14071 if test -z "$defaultval"; then
14072 if test x"$enablestring" = xdisable; then
14073 defaultval=yes
14074 else
14075 defaultval=no
14076 fi
14077 fi
14078
14079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14080 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14081 # Check whether --enable-wxdib was given.
14082 if test "${enable_wxdib+set}" = set; then
14083 enableval=$enable_wxdib;
14084 if test "$enableval" = yes; then
14085 wx_cv_use_wxdib='wxUSE_DIB=yes'
14086 else
14087 wx_cv_use_wxdib='wxUSE_DIB=no'
14088 fi
14089
14090 else
14091
14092 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14093
14094 fi
14095
14096
14097 eval "$wx_cv_use_wxdib"
14098
14099 if test x"$enablestring" = xdisable; then
14100 if test $wxUSE_DIB = no; then
14101 result=yes
14102 else
14103 result=no
14104 fi
14105 else
14106 result=$wxUSE_DIB
14107 fi
14108
14109 { echo "$as_me:$LINENO: result: $result" >&5
14110 echo "${ECHO_T}$result" >&6; }
14111
14112
14113 if test "$wxUSE_MSW" != 1; then
14114 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14115 fi
14116
14117
14118 enablestring=
14119 defaultval=$wxUSE_ALL_FEATURES
14120 if test -z "$defaultval"; then
14121 if test x"$enablestring" = xdisable; then
14122 defaultval=yes
14123 else
14124 defaultval=no
14125 fi
14126 fi
14127
14128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14129 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14130 # Check whether --enable-autoidman was given.
14131 if test "${enable_autoidman+set}" = set; then
14132 enableval=$enable_autoidman;
14133 if test "$enableval" = yes; then
14134 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14135 else
14136 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14137 fi
14138
14139 else
14140
14141 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14142
14143 fi
14144
14145
14146 eval "$wx_cv_use_autoidman"
14147
14148 if test x"$enablestring" = xdisable; then
14149 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14150 result=yes
14151 else
14152 result=no
14153 fi
14154 else
14155 result=$wxUSE_AUTOID_MANAGEMENT
14156 fi
14157
14158 { echo "$as_me:$LINENO: result: $result" >&5
14159 echo "${ECHO_T}$result" >&6; }
14160
14161
14162 fi
14163
14164
14165 cat >confcache <<\_ACEOF
14166 # This file is a shell script that caches the results of configure
14167 # tests run on this system so they can be shared between configure
14168 # scripts and configure runs, see configure's option --config-cache.
14169 # It is not useful on other systems. If it contains results you don't
14170 # want to keep, you may remove or edit it.
14171 #
14172 # config.status only pays attention to the cache file if you give it
14173 # the --recheck option to rerun configure.
14174 #
14175 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14176 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14177 # following values.
14178
14179 _ACEOF
14180
14181 # The following way of writing the cache mishandles newlines in values,
14182 # but we know of no workaround that is simple, portable, and efficient.
14183 # So, we kill variables containing newlines.
14184 # Ultrix sh set writes to stderr and can't be redirected directly,
14185 # and sets the high bit in the cache file unless we assign to the vars.
14186 (
14187 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14188 eval ac_val=\$$ac_var
14189 case $ac_val in #(
14190 *${as_nl}*)
14191 case $ac_var in #(
14192 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14193 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14194 esac
14195 case $ac_var in #(
14196 _ | IFS | as_nl) ;; #(
14197 *) $as_unset $ac_var ;;
14198 esac ;;
14199 esac
14200 done
14201
14202 (set) 2>&1 |
14203 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14204 *${as_nl}ac_space=\ *)
14205 # `set' does not quote correctly, so add quotes (double-quote
14206 # substitution turns \\\\ into \\, and sed turns \\ into \).
14207 sed -n \
14208 "s/'/'\\\\''/g;
14209 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14210 ;; #(
14211 *)
14212 # `set' quotes correctly as required by POSIX, so do not add quotes.
14213 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14214 ;;
14215 esac |
14216 sort
14217 ) |
14218 sed '
14219 /^ac_cv_env_/b end
14220 t clear
14221 :clear
14222 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14223 t end
14224 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14225 :end' >>confcache
14226 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14227 if test -w "$cache_file"; then
14228 test "x$cache_file" != "x/dev/null" &&
14229 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14230 echo "$as_me: updating cache $cache_file" >&6;}
14231 cat confcache >$cache_file
14232 else
14233 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14234 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14235 fi
14236 fi
14237 rm -f confcache
14238
14239 CFLAGS=${CFLAGS:=}
14240
14241
14242
14243 ac_ext=c
14244 ac_cpp='$CPP $CPPFLAGS'
14245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14248 if test -n "$ac_tool_prefix"; then
14249 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14250 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14253 if test "${ac_cv_prog_CC+set}" = set; then
14254 echo $ECHO_N "(cached) $ECHO_C" >&6
14255 else
14256 if test -n "$CC"; then
14257 ac_cv_prog_CC="$CC" # Let the user override the test.
14258 else
14259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14260 for as_dir in $PATH
14261 do
14262 IFS=$as_save_IFS
14263 test -z "$as_dir" && as_dir=.
14264 for ac_exec_ext in '' $ac_executable_extensions; do
14265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14266 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14268 break 2
14269 fi
14270 done
14271 done
14272 IFS=$as_save_IFS
14273
14274 fi
14275 fi
14276 CC=$ac_cv_prog_CC
14277 if test -n "$CC"; then
14278 { echo "$as_me:$LINENO: result: $CC" >&5
14279 echo "${ECHO_T}$CC" >&6; }
14280 else
14281 { echo "$as_me:$LINENO: result: no" >&5
14282 echo "${ECHO_T}no" >&6; }
14283 fi
14284
14285
14286 fi
14287 if test -z "$ac_cv_prog_CC"; then
14288 ac_ct_CC=$CC
14289 # Extract the first word of "gcc", so it can be a program name with args.
14290 set dummy gcc; ac_word=$2
14291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14293 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14294 echo $ECHO_N "(cached) $ECHO_C" >&6
14295 else
14296 if test -n "$ac_ct_CC"; then
14297 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14298 else
14299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14300 for as_dir in $PATH
14301 do
14302 IFS=$as_save_IFS
14303 test -z "$as_dir" && as_dir=.
14304 for ac_exec_ext in '' $ac_executable_extensions; do
14305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14306 ac_cv_prog_ac_ct_CC="gcc"
14307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14308 break 2
14309 fi
14310 done
14311 done
14312 IFS=$as_save_IFS
14313
14314 fi
14315 fi
14316 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14317 if test -n "$ac_ct_CC"; then
14318 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14319 echo "${ECHO_T}$ac_ct_CC" >&6; }
14320 else
14321 { echo "$as_me:$LINENO: result: no" >&5
14322 echo "${ECHO_T}no" >&6; }
14323 fi
14324
14325 if test "x$ac_ct_CC" = x; then
14326 CC=""
14327 else
14328 case $cross_compiling:$ac_tool_warned in
14329 yes:)
14330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14331 whose name does not start with the host triplet. If you think this
14332 configuration is useful to you, please write to autoconf@gnu.org." >&5
14333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14334 whose name does not start with the host triplet. If you think this
14335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14336 ac_tool_warned=yes ;;
14337 esac
14338 CC=$ac_ct_CC
14339 fi
14340 else
14341 CC="$ac_cv_prog_CC"
14342 fi
14343
14344 if test -z "$CC"; then
14345 if test -n "$ac_tool_prefix"; then
14346 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14347 set dummy ${ac_tool_prefix}cc; ac_word=$2
14348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14350 if test "${ac_cv_prog_CC+set}" = set; then
14351 echo $ECHO_N "(cached) $ECHO_C" >&6
14352 else
14353 if test -n "$CC"; then
14354 ac_cv_prog_CC="$CC" # Let the user override the test.
14355 else
14356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14357 for as_dir in $PATH
14358 do
14359 IFS=$as_save_IFS
14360 test -z "$as_dir" && as_dir=.
14361 for ac_exec_ext in '' $ac_executable_extensions; do
14362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14363 ac_cv_prog_CC="${ac_tool_prefix}cc"
14364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14365 break 2
14366 fi
14367 done
14368 done
14369 IFS=$as_save_IFS
14370
14371 fi
14372 fi
14373 CC=$ac_cv_prog_CC
14374 if test -n "$CC"; then
14375 { echo "$as_me:$LINENO: result: $CC" >&5
14376 echo "${ECHO_T}$CC" >&6; }
14377 else
14378 { echo "$as_me:$LINENO: result: no" >&5
14379 echo "${ECHO_T}no" >&6; }
14380 fi
14381
14382
14383 fi
14384 fi
14385 if test -z "$CC"; then
14386 # Extract the first word of "cc", so it can be a program name with args.
14387 set dummy cc; ac_word=$2
14388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14390 if test "${ac_cv_prog_CC+set}" = set; then
14391 echo $ECHO_N "(cached) $ECHO_C" >&6
14392 else
14393 if test -n "$CC"; then
14394 ac_cv_prog_CC="$CC" # Let the user override the test.
14395 else
14396 ac_prog_rejected=no
14397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14398 for as_dir in $PATH
14399 do
14400 IFS=$as_save_IFS
14401 test -z "$as_dir" && as_dir=.
14402 for ac_exec_ext in '' $ac_executable_extensions; do
14403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14404 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14405 ac_prog_rejected=yes
14406 continue
14407 fi
14408 ac_cv_prog_CC="cc"
14409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14410 break 2
14411 fi
14412 done
14413 done
14414 IFS=$as_save_IFS
14415
14416 if test $ac_prog_rejected = yes; then
14417 # We found a bogon in the path, so make sure we never use it.
14418 set dummy $ac_cv_prog_CC
14419 shift
14420 if test $# != 0; then
14421 # We chose a different compiler from the bogus one.
14422 # However, it has the same basename, so the bogon will be chosen
14423 # first if we set CC to just the basename; use the full file name.
14424 shift
14425 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14426 fi
14427 fi
14428 fi
14429 fi
14430 CC=$ac_cv_prog_CC
14431 if test -n "$CC"; then
14432 { echo "$as_me:$LINENO: result: $CC" >&5
14433 echo "${ECHO_T}$CC" >&6; }
14434 else
14435 { echo "$as_me:$LINENO: result: no" >&5
14436 echo "${ECHO_T}no" >&6; }
14437 fi
14438
14439
14440 fi
14441 if test -z "$CC"; then
14442 if test -n "$ac_tool_prefix"; then
14443 for ac_prog in cl.exe
14444 do
14445 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14446 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14449 if test "${ac_cv_prog_CC+set}" = set; then
14450 echo $ECHO_N "(cached) $ECHO_C" >&6
14451 else
14452 if test -n "$CC"; then
14453 ac_cv_prog_CC="$CC" # Let the user override the test.
14454 else
14455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14456 for as_dir in $PATH
14457 do
14458 IFS=$as_save_IFS
14459 test -z "$as_dir" && as_dir=.
14460 for ac_exec_ext in '' $ac_executable_extensions; do
14461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14462 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14464 break 2
14465 fi
14466 done
14467 done
14468 IFS=$as_save_IFS
14469
14470 fi
14471 fi
14472 CC=$ac_cv_prog_CC
14473 if test -n "$CC"; then
14474 { echo "$as_me:$LINENO: result: $CC" >&5
14475 echo "${ECHO_T}$CC" >&6; }
14476 else
14477 { echo "$as_me:$LINENO: result: no" >&5
14478 echo "${ECHO_T}no" >&6; }
14479 fi
14480
14481
14482 test -n "$CC" && break
14483 done
14484 fi
14485 if test -z "$CC"; then
14486 ac_ct_CC=$CC
14487 for ac_prog in cl.exe
14488 do
14489 # Extract the first word of "$ac_prog", so it can be a program name with args.
14490 set dummy $ac_prog; ac_word=$2
14491 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14493 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14494 echo $ECHO_N "(cached) $ECHO_C" >&6
14495 else
14496 if test -n "$ac_ct_CC"; then
14497 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14498 else
14499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14500 for as_dir in $PATH
14501 do
14502 IFS=$as_save_IFS
14503 test -z "$as_dir" && as_dir=.
14504 for ac_exec_ext in '' $ac_executable_extensions; do
14505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14506 ac_cv_prog_ac_ct_CC="$ac_prog"
14507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14508 break 2
14509 fi
14510 done
14511 done
14512 IFS=$as_save_IFS
14513
14514 fi
14515 fi
14516 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14517 if test -n "$ac_ct_CC"; then
14518 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14519 echo "${ECHO_T}$ac_ct_CC" >&6; }
14520 else
14521 { echo "$as_me:$LINENO: result: no" >&5
14522 echo "${ECHO_T}no" >&6; }
14523 fi
14524
14525
14526 test -n "$ac_ct_CC" && break
14527 done
14528
14529 if test "x$ac_ct_CC" = x; then
14530 CC=""
14531 else
14532 case $cross_compiling:$ac_tool_warned in
14533 yes:)
14534 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14535 whose name does not start with the host triplet. If you think this
14536 configuration is useful to you, please write to autoconf@gnu.org." >&5
14537 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14538 whose name does not start with the host triplet. If you think this
14539 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14540 ac_tool_warned=yes ;;
14541 esac
14542 CC=$ac_ct_CC
14543 fi
14544 fi
14545
14546 fi
14547
14548
14549 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14550 See \`config.log' for more details." >&5
14551 echo "$as_me: error: no acceptable C compiler found in \$PATH
14552 See \`config.log' for more details." >&2;}
14553 { (exit 1); exit 1; }; }
14554
14555 # Provide some information about the compiler.
14556 echo "$as_me:$LINENO: checking for C compiler version" >&5
14557 ac_compiler=`set X $ac_compile; echo $2`
14558 { (ac_try="$ac_compiler --version >&5"
14559 case "(($ac_try" in
14560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14561 *) ac_try_echo=$ac_try;;
14562 esac
14563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14564 (eval "$ac_compiler --version >&5") 2>&5
14565 ac_status=$?
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }
14568 { (ac_try="$ac_compiler -v >&5"
14569 case "(($ac_try" in
14570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14571 *) ac_try_echo=$ac_try;;
14572 esac
14573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14574 (eval "$ac_compiler -v >&5") 2>&5
14575 ac_status=$?
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); }
14578 { (ac_try="$ac_compiler -V >&5"
14579 case "(($ac_try" in
14580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14581 *) ac_try_echo=$ac_try;;
14582 esac
14583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14584 (eval "$ac_compiler -V >&5") 2>&5
14585 ac_status=$?
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }
14588
14589 cat >conftest.$ac_ext <<_ACEOF
14590 /* confdefs.h. */
14591 _ACEOF
14592 cat confdefs.h >>conftest.$ac_ext
14593 cat >>conftest.$ac_ext <<_ACEOF
14594 /* end confdefs.h. */
14595
14596 int
14597 main ()
14598 {
14599
14600 ;
14601 return 0;
14602 }
14603 _ACEOF
14604 ac_clean_files_save=$ac_clean_files
14605 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14606 # Try to create an executable without -o first, disregard a.out.
14607 # It will help us diagnose broken compilers, and finding out an intuition
14608 # of exeext.
14609 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14610 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14611 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14612 #
14613 # List of possible output files, starting from the most likely.
14614 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14615 # only as a last resort. b.out is created by i960 compilers.
14616 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14617 #
14618 # The IRIX 6 linker writes into existing files which may not be
14619 # executable, retaining their permissions. Remove them first so a
14620 # subsequent execution test works.
14621 ac_rmfiles=
14622 for ac_file in $ac_files
14623 do
14624 case $ac_file in
14625 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14626 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14627 esac
14628 done
14629 rm -f $ac_rmfiles
14630
14631 if { (ac_try="$ac_link_default"
14632 case "(($ac_try" in
14633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14634 *) ac_try_echo=$ac_try;;
14635 esac
14636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14637 (eval "$ac_link_default") 2>&5
14638 ac_status=$?
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); }; then
14641 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14642 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14643 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14644 # so that the user can short-circuit this test for compilers unknown to
14645 # Autoconf.
14646 for ac_file in $ac_files ''
14647 do
14648 test -f "$ac_file" || continue
14649 case $ac_file in
14650 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14651 ;;
14652 [ab].out )
14653 # We found the default executable, but exeext='' is most
14654 # certainly right.
14655 break;;
14656 *.* )
14657 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14658 then :; else
14659 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14660 fi
14661 # We set ac_cv_exeext here because the later test for it is not
14662 # safe: cross compilers may not add the suffix if given an `-o'
14663 # argument, so we may need to know it at that point already.
14664 # Even if this section looks crufty: it has the advantage of
14665 # actually working.
14666 break;;
14667 * )
14668 break;;
14669 esac
14670 done
14671 test "$ac_cv_exeext" = no && ac_cv_exeext=
14672
14673 else
14674 ac_file=''
14675 fi
14676
14677 { echo "$as_me:$LINENO: result: $ac_file" >&5
14678 echo "${ECHO_T}$ac_file" >&6; }
14679 if test -z "$ac_file"; then
14680 echo "$as_me: failed program was:" >&5
14681 sed 's/^/| /' conftest.$ac_ext >&5
14682
14683 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14684 See \`config.log' for more details." >&5
14685 echo "$as_me: error: C compiler cannot create executables
14686 See \`config.log' for more details." >&2;}
14687 { (exit 77); exit 77; }; }
14688 fi
14689
14690 ac_exeext=$ac_cv_exeext
14691
14692 # Check that the compiler produces executables we can run. If not, either
14693 # the compiler is broken, or we cross compile.
14694 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14695 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14696 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14697 # If not cross compiling, check that we can run a simple program.
14698 if test "$cross_compiling" != yes; then
14699 if { ac_try='./$ac_file'
14700 { (case "(($ac_try" in
14701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14702 *) ac_try_echo=$ac_try;;
14703 esac
14704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14705 (eval "$ac_try") 2>&5
14706 ac_status=$?
14707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708 (exit $ac_status); }; }; then
14709 cross_compiling=no
14710 else
14711 if test "$cross_compiling" = maybe; then
14712 cross_compiling=yes
14713 else
14714 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14715 If you meant to cross compile, use \`--host'.
14716 See \`config.log' for more details." >&5
14717 echo "$as_me: error: cannot run C compiled programs.
14718 If you meant to cross compile, use \`--host'.
14719 See \`config.log' for more details." >&2;}
14720 { (exit 1); exit 1; }; }
14721 fi
14722 fi
14723 fi
14724 { echo "$as_me:$LINENO: result: yes" >&5
14725 echo "${ECHO_T}yes" >&6; }
14726
14727 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14728 ac_clean_files=$ac_clean_files_save
14729 # Check that the compiler produces executables we can run. If not, either
14730 # the compiler is broken, or we cross compile.
14731 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14732 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14733 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14734 echo "${ECHO_T}$cross_compiling" >&6; }
14735
14736 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14737 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14738 if { (ac_try="$ac_link"
14739 case "(($ac_try" in
14740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14741 *) ac_try_echo=$ac_try;;
14742 esac
14743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14744 (eval "$ac_link") 2>&5
14745 ac_status=$?
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); }; then
14748 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14749 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14750 # work properly (i.e., refer to `conftest.exe'), while it won't with
14751 # `rm'.
14752 for ac_file in conftest.exe conftest conftest.*; do
14753 test -f "$ac_file" || continue
14754 case $ac_file in
14755 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14756 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14757 break;;
14758 * ) break;;
14759 esac
14760 done
14761 else
14762 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14763 See \`config.log' for more details." >&5
14764 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14765 See \`config.log' for more details." >&2;}
14766 { (exit 1); exit 1; }; }
14767 fi
14768
14769 rm -f conftest$ac_cv_exeext
14770 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14771 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14772
14773 rm -f conftest.$ac_ext
14774 EXEEXT=$ac_cv_exeext
14775 ac_exeext=$EXEEXT
14776 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14777 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14778 if test "${ac_cv_objext+set}" = set; then
14779 echo $ECHO_N "(cached) $ECHO_C" >&6
14780 else
14781 cat >conftest.$ac_ext <<_ACEOF
14782 /* confdefs.h. */
14783 _ACEOF
14784 cat confdefs.h >>conftest.$ac_ext
14785 cat >>conftest.$ac_ext <<_ACEOF
14786 /* end confdefs.h. */
14787
14788 int
14789 main ()
14790 {
14791
14792 ;
14793 return 0;
14794 }
14795 _ACEOF
14796 rm -f conftest.o conftest.obj
14797 if { (ac_try="$ac_compile"
14798 case "(($ac_try" in
14799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14800 *) ac_try_echo=$ac_try;;
14801 esac
14802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14803 (eval "$ac_compile") 2>&5
14804 ac_status=$?
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; then
14807 for ac_file in conftest.o conftest.obj conftest.*; do
14808 test -f "$ac_file" || continue;
14809 case $ac_file in
14810 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14811 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14812 break;;
14813 esac
14814 done
14815 else
14816 echo "$as_me: failed program was:" >&5
14817 sed 's/^/| /' conftest.$ac_ext >&5
14818
14819 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14820 See \`config.log' for more details." >&5
14821 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14822 See \`config.log' for more details." >&2;}
14823 { (exit 1); exit 1; }; }
14824 fi
14825
14826 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14827 fi
14828 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14829 echo "${ECHO_T}$ac_cv_objext" >&6; }
14830 OBJEXT=$ac_cv_objext
14831 ac_objext=$OBJEXT
14832 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14833 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14834 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14835 echo $ECHO_N "(cached) $ECHO_C" >&6
14836 else
14837 cat >conftest.$ac_ext <<_ACEOF
14838 /* confdefs.h. */
14839 _ACEOF
14840 cat confdefs.h >>conftest.$ac_ext
14841 cat >>conftest.$ac_ext <<_ACEOF
14842 /* end confdefs.h. */
14843
14844 int
14845 main ()
14846 {
14847 #ifndef __GNUC__
14848 choke me
14849 #endif
14850
14851 ;
14852 return 0;
14853 }
14854 _ACEOF
14855 rm -f conftest.$ac_objext
14856 if { (ac_try="$ac_compile"
14857 case "(($ac_try" in
14858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14859 *) ac_try_echo=$ac_try;;
14860 esac
14861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14862 (eval "$ac_compile") 2>conftest.er1
14863 ac_status=$?
14864 grep -v '^ *+' conftest.er1 >conftest.err
14865 rm -f conftest.er1
14866 cat conftest.err >&5
14867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14868 (exit $ac_status); } && {
14869 test -z "$ac_c_werror_flag" ||
14870 test ! -s conftest.err
14871 } && test -s conftest.$ac_objext; then
14872 ac_compiler_gnu=yes
14873 else
14874 echo "$as_me: failed program was:" >&5
14875 sed 's/^/| /' conftest.$ac_ext >&5
14876
14877 ac_compiler_gnu=no
14878 fi
14879
14880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14881 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14882
14883 fi
14884 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14885 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14886 GCC=`test $ac_compiler_gnu = yes && echo yes`
14887 ac_test_CFLAGS=${CFLAGS+set}
14888 ac_save_CFLAGS=$CFLAGS
14889 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14890 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14891 if test "${ac_cv_prog_cc_g+set}" = set; then
14892 echo $ECHO_N "(cached) $ECHO_C" >&6
14893 else
14894 ac_save_c_werror_flag=$ac_c_werror_flag
14895 ac_c_werror_flag=yes
14896 ac_cv_prog_cc_g=no
14897 CFLAGS="-g"
14898 cat >conftest.$ac_ext <<_ACEOF
14899 /* confdefs.h. */
14900 _ACEOF
14901 cat confdefs.h >>conftest.$ac_ext
14902 cat >>conftest.$ac_ext <<_ACEOF
14903 /* end confdefs.h. */
14904
14905 int
14906 main ()
14907 {
14908
14909 ;
14910 return 0;
14911 }
14912 _ACEOF
14913 rm -f conftest.$ac_objext
14914 if { (ac_try="$ac_compile"
14915 case "(($ac_try" in
14916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14917 *) ac_try_echo=$ac_try;;
14918 esac
14919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14920 (eval "$ac_compile") 2>conftest.er1
14921 ac_status=$?
14922 grep -v '^ *+' conftest.er1 >conftest.err
14923 rm -f conftest.er1
14924 cat conftest.err >&5
14925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14926 (exit $ac_status); } && {
14927 test -z "$ac_c_werror_flag" ||
14928 test ! -s conftest.err
14929 } && test -s conftest.$ac_objext; then
14930 ac_cv_prog_cc_g=yes
14931 else
14932 echo "$as_me: failed program was:" >&5
14933 sed 's/^/| /' conftest.$ac_ext >&5
14934
14935 CFLAGS=""
14936 cat >conftest.$ac_ext <<_ACEOF
14937 /* confdefs.h. */
14938 _ACEOF
14939 cat confdefs.h >>conftest.$ac_ext
14940 cat >>conftest.$ac_ext <<_ACEOF
14941 /* end confdefs.h. */
14942
14943 int
14944 main ()
14945 {
14946
14947 ;
14948 return 0;
14949 }
14950 _ACEOF
14951 rm -f conftest.$ac_objext
14952 if { (ac_try="$ac_compile"
14953 case "(($ac_try" in
14954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14955 *) ac_try_echo=$ac_try;;
14956 esac
14957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14958 (eval "$ac_compile") 2>conftest.er1
14959 ac_status=$?
14960 grep -v '^ *+' conftest.er1 >conftest.err
14961 rm -f conftest.er1
14962 cat conftest.err >&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); } && {
14965 test -z "$ac_c_werror_flag" ||
14966 test ! -s conftest.err
14967 } && test -s conftest.$ac_objext; then
14968 :
14969 else
14970 echo "$as_me: failed program was:" >&5
14971 sed 's/^/| /' conftest.$ac_ext >&5
14972
14973 ac_c_werror_flag=$ac_save_c_werror_flag
14974 CFLAGS="-g"
14975 cat >conftest.$ac_ext <<_ACEOF
14976 /* confdefs.h. */
14977 _ACEOF
14978 cat confdefs.h >>conftest.$ac_ext
14979 cat >>conftest.$ac_ext <<_ACEOF
14980 /* end confdefs.h. */
14981
14982 int
14983 main ()
14984 {
14985
14986 ;
14987 return 0;
14988 }
14989 _ACEOF
14990 rm -f conftest.$ac_objext
14991 if { (ac_try="$ac_compile"
14992 case "(($ac_try" in
14993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14994 *) ac_try_echo=$ac_try;;
14995 esac
14996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14997 (eval "$ac_compile") 2>conftest.er1
14998 ac_status=$?
14999 grep -v '^ *+' conftest.er1 >conftest.err
15000 rm -f conftest.er1
15001 cat conftest.err >&5
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); } && {
15004 test -z "$ac_c_werror_flag" ||
15005 test ! -s conftest.err
15006 } && test -s conftest.$ac_objext; then
15007 ac_cv_prog_cc_g=yes
15008 else
15009 echo "$as_me: failed program was:" >&5
15010 sed 's/^/| /' conftest.$ac_ext >&5
15011
15012
15013 fi
15014
15015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15016 fi
15017
15018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15019 fi
15020
15021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15022 ac_c_werror_flag=$ac_save_c_werror_flag
15023 fi
15024 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15025 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15026 if test "$ac_test_CFLAGS" = set; then
15027 CFLAGS=$ac_save_CFLAGS
15028 elif test $ac_cv_prog_cc_g = yes; then
15029 if test "$GCC" = yes; then
15030 CFLAGS="-g -O2"
15031 else
15032 CFLAGS="-g"
15033 fi
15034 else
15035 if test "$GCC" = yes; then
15036 CFLAGS="-O2"
15037 else
15038 CFLAGS=
15039 fi
15040 fi
15041 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15042 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15043 if test "${ac_cv_prog_cc_c89+set}" = set; then
15044 echo $ECHO_N "(cached) $ECHO_C" >&6
15045 else
15046 ac_cv_prog_cc_c89=no
15047 ac_save_CC=$CC
15048 cat >conftest.$ac_ext <<_ACEOF
15049 /* confdefs.h. */
15050 _ACEOF
15051 cat confdefs.h >>conftest.$ac_ext
15052 cat >>conftest.$ac_ext <<_ACEOF
15053 /* end confdefs.h. */
15054 #include <stdarg.h>
15055 #include <stdio.h>
15056 #include <sys/types.h>
15057 #include <sys/stat.h>
15058 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15059 struct buf { int x; };
15060 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15061 static char *e (p, i)
15062 char **p;
15063 int i;
15064 {
15065 return p[i];
15066 }
15067 static char *f (char * (*g) (char **, int), char **p, ...)
15068 {
15069 char *s;
15070 va_list v;
15071 va_start (v,p);
15072 s = g (p, va_arg (v,int));
15073 va_end (v);
15074 return s;
15075 }
15076
15077 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15078 function prototypes and stuff, but not '\xHH' hex character constants.
15079 These don't provoke an error unfortunately, instead are silently treated
15080 as 'x'. The following induces an error, until -std is added to get
15081 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15082 array size at least. It's necessary to write '\x00'==0 to get something
15083 that's true only with -std. */
15084 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15085
15086 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15087 inside strings and character constants. */
15088 #define FOO(x) 'x'
15089 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15090
15091 int test (int i, double x);
15092 struct s1 {int (*f) (int a);};
15093 struct s2 {int (*f) (double a);};
15094 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15095 int argc;
15096 char **argv;
15097 int
15098 main ()
15099 {
15100 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15101 ;
15102 return 0;
15103 }
15104 _ACEOF
15105 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15106 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15107 do
15108 CC="$ac_save_CC $ac_arg"
15109 rm -f conftest.$ac_objext
15110 if { (ac_try="$ac_compile"
15111 case "(($ac_try" in
15112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15113 *) ac_try_echo=$ac_try;;
15114 esac
15115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15116 (eval "$ac_compile") 2>conftest.er1
15117 ac_status=$?
15118 grep -v '^ *+' conftest.er1 >conftest.err
15119 rm -f conftest.er1
15120 cat conftest.err >&5
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); } && {
15123 test -z "$ac_c_werror_flag" ||
15124 test ! -s conftest.err
15125 } && test -s conftest.$ac_objext; then
15126 ac_cv_prog_cc_c89=$ac_arg
15127 else
15128 echo "$as_me: failed program was:" >&5
15129 sed 's/^/| /' conftest.$ac_ext >&5
15130
15131
15132 fi
15133
15134 rm -f core conftest.err conftest.$ac_objext
15135 test "x$ac_cv_prog_cc_c89" != "xno" && break
15136 done
15137 rm -f conftest.$ac_ext
15138 CC=$ac_save_CC
15139
15140 fi
15141 # AC_CACHE_VAL
15142 case "x$ac_cv_prog_cc_c89" in
15143 x)
15144 { echo "$as_me:$LINENO: result: none needed" >&5
15145 echo "${ECHO_T}none needed" >&6; } ;;
15146 xno)
15147 { echo "$as_me:$LINENO: result: unsupported" >&5
15148 echo "${ECHO_T}unsupported" >&6; } ;;
15149 *)
15150 CC="$CC $ac_cv_prog_cc_c89"
15151 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15152 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15153 esac
15154
15155
15156 ac_ext=c
15157 ac_cpp='$CPP $CPPFLAGS'
15158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15161
15162
15163
15164
15165 ac_ext=c
15166 ac_cpp='$CPP $CPPFLAGS'
15167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15170
15171 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15172 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15173 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15174 echo $ECHO_N "(cached) $ECHO_C" >&6
15175 else
15176 cat >conftest.$ac_ext <<_ACEOF
15177 /* confdefs.h. */
15178 _ACEOF
15179 cat confdefs.h >>conftest.$ac_ext
15180 cat >>conftest.$ac_ext <<_ACEOF
15181 /* end confdefs.h. */
15182
15183 int
15184 main ()
15185 {
15186
15187 #ifndef __INTEL_COMPILER
15188 choke me
15189 #endif
15190
15191 ;
15192 return 0;
15193 }
15194 _ACEOF
15195 rm -f conftest.$ac_objext
15196 if { (ac_try="$ac_compile"
15197 case "(($ac_try" in
15198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15199 *) ac_try_echo=$ac_try;;
15200 esac
15201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15202 (eval "$ac_compile") 2>conftest.er1
15203 ac_status=$?
15204 grep -v '^ *+' conftest.er1 >conftest.err
15205 rm -f conftest.er1
15206 cat conftest.err >&5
15207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15208 (exit $ac_status); } && {
15209 test -z "$ac_c_werror_flag" ||
15210 test ! -s conftest.err
15211 } && test -s conftest.$ac_objext; then
15212 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15213 else
15214 echo "$as_me: failed program was:" >&5
15215 sed 's/^/| /' conftest.$ac_ext >&5
15216
15217 bakefile_cv_c_compiler___INTEL_COMPILER=no
15218
15219 fi
15220
15221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15222
15223
15224 fi
15225 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15226 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15227 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15228 :; INTELCC=yes
15229 else
15230 :;
15231 fi
15232 ac_ext=c
15233 ac_cpp='$CPP $CPPFLAGS'
15234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15237
15238
15239
15240
15241 if test "$INTELCC" = "yes"; then
15242
15243
15244 ac_ext=c
15245 ac_cpp='$CPP $CPPFLAGS'
15246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15249
15250 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15251 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15252 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15253 echo $ECHO_N "(cached) $ECHO_C" >&6
15254 else
15255 cat >conftest.$ac_ext <<_ACEOF
15256 /* confdefs.h. */
15257 _ACEOF
15258 cat confdefs.h >>conftest.$ac_ext
15259 cat >>conftest.$ac_ext <<_ACEOF
15260 /* end confdefs.h. */
15261
15262 int
15263 main ()
15264 {
15265
15266 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15267 choke me
15268 #endif
15269
15270 ;
15271 return 0;
15272 }
15273 _ACEOF
15274 rm -f conftest.$ac_objext
15275 if { (ac_try="$ac_compile"
15276 case "(($ac_try" in
15277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15278 *) ac_try_echo=$ac_try;;
15279 esac
15280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15281 (eval "$ac_compile") 2>conftest.er1
15282 ac_status=$?
15283 grep -v '^ *+' conftest.er1 >conftest.err
15284 rm -f conftest.er1
15285 cat conftest.err >&5
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); } && {
15288 test -z "$ac_c_werror_flag" ||
15289 test ! -s conftest.err
15290 } && test -s conftest.$ac_objext; then
15291 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15292 else
15293 echo "$as_me: failed program was:" >&5
15294 sed 's/^/| /' conftest.$ac_ext >&5
15295
15296 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15297
15298 fi
15299
15300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15301
15302
15303 fi
15304 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15305 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15306 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15307 :; INTELCC8=yes
15308 else
15309 :;
15310 fi
15311 ac_ext=c
15312 ac_cpp='$CPP $CPPFLAGS'
15313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15316
15317
15318
15319
15320
15321 ac_ext=c
15322 ac_cpp='$CPP $CPPFLAGS'
15323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15326
15327 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15328 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15329 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15330 echo $ECHO_N "(cached) $ECHO_C" >&6
15331 else
15332 cat >conftest.$ac_ext <<_ACEOF
15333 /* confdefs.h. */
15334 _ACEOF
15335 cat confdefs.h >>conftest.$ac_ext
15336 cat >>conftest.$ac_ext <<_ACEOF
15337 /* end confdefs.h. */
15338
15339 int
15340 main ()
15341 {
15342
15343 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15344 choke me
15345 #endif
15346
15347 ;
15348 return 0;
15349 }
15350 _ACEOF
15351 rm -f conftest.$ac_objext
15352 if { (ac_try="$ac_compile"
15353 case "(($ac_try" in
15354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15355 *) ac_try_echo=$ac_try;;
15356 esac
15357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15358 (eval "$ac_compile") 2>conftest.er1
15359 ac_status=$?
15360 grep -v '^ *+' conftest.er1 >conftest.err
15361 rm -f conftest.er1
15362 cat conftest.err >&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } && {
15365 test -z "$ac_c_werror_flag" ||
15366 test ! -s conftest.err
15367 } && test -s conftest.$ac_objext; then
15368 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15369 else
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.$ac_ext >&5
15372
15373 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15374
15375 fi
15376
15377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15378
15379
15380 fi
15381 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15382 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15383 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15384 :; INTELCC10=yes
15385 else
15386 :;
15387 fi
15388 ac_ext=c
15389 ac_cpp='$CPP $CPPFLAGS'
15390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15393
15394
15395
15396 fi
15397
15398 if test "x$GCC" != "xyes"; then
15399 if test "xCC" = "xC"; then
15400 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15401 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15402 if test "${bakefile_cv_c_exto+set}" = set; then
15403 echo $ECHO_N "(cached) $ECHO_C" >&6
15404 else
15405 cat >conftest.$ac_ext <<_ACEOF
15406 /* confdefs.h. */
15407 _ACEOF
15408 cat confdefs.h >>conftest.$ac_ext
15409 cat >>conftest.$ac_ext <<_ACEOF
15410 /* end confdefs.h. */
15411
15412 int
15413 main ()
15414 {
15415
15416 ;
15417 return 0;
15418 }
15419 _ACEOF
15420 rm -f conftest.$ac_objext conftest.$ac_ext.o
15421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15422 (eval $ac_compile) 2>&5
15423 ac_status=$?
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); }; then
15426 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15427 case $ac_file in
15428 conftest.$ac_ext.o)
15429 bakefile_cv_c_exto="-ext o"
15430 ;;
15431 *)
15432 ;;
15433 esac
15434 done
15435 else
15436 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15437 See \`config.log' for more details." >&5
15438 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15439 See \`config.log' for more details." >&2;}
15440 { (exit 1); exit 1; }; }
15441
15442 fi
15443
15444 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15445
15446 fi
15447 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15448 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15449 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15450 if test "c" = "c"; then
15451 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15452 fi
15453 if test "c" = "cxx"; then
15454 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15455 fi
15456 fi
15457
15458 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15459 unset ac_cv_prog_cc_g
15460 ac_test_CFLAGS=${CFLAGS+set}
15461 ac_save_CFLAGS=$CFLAGS
15462 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15463 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15464 if test "${ac_cv_prog_cc_g+set}" = set; then
15465 echo $ECHO_N "(cached) $ECHO_C" >&6
15466 else
15467 ac_save_c_werror_flag=$ac_c_werror_flag
15468 ac_c_werror_flag=yes
15469 ac_cv_prog_cc_g=no
15470 CFLAGS="-g"
15471 cat >conftest.$ac_ext <<_ACEOF
15472 /* confdefs.h. */
15473 _ACEOF
15474 cat confdefs.h >>conftest.$ac_ext
15475 cat >>conftest.$ac_ext <<_ACEOF
15476 /* end confdefs.h. */
15477
15478 int
15479 main ()
15480 {
15481
15482 ;
15483 return 0;
15484 }
15485 _ACEOF
15486 rm -f conftest.$ac_objext
15487 if { (ac_try="$ac_compile"
15488 case "(($ac_try" in
15489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15490 *) ac_try_echo=$ac_try;;
15491 esac
15492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15493 (eval "$ac_compile") 2>conftest.er1
15494 ac_status=$?
15495 grep -v '^ *+' conftest.er1 >conftest.err
15496 rm -f conftest.er1
15497 cat conftest.err >&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); } && {
15500 test -z "$ac_c_werror_flag" ||
15501 test ! -s conftest.err
15502 } && test -s conftest.$ac_objext; then
15503 ac_cv_prog_cc_g=yes
15504 else
15505 echo "$as_me: failed program was:" >&5
15506 sed 's/^/| /' conftest.$ac_ext >&5
15507
15508 CFLAGS=""
15509 cat >conftest.$ac_ext <<_ACEOF
15510 /* confdefs.h. */
15511 _ACEOF
15512 cat confdefs.h >>conftest.$ac_ext
15513 cat >>conftest.$ac_ext <<_ACEOF
15514 /* end confdefs.h. */
15515
15516 int
15517 main ()
15518 {
15519
15520 ;
15521 return 0;
15522 }
15523 _ACEOF
15524 rm -f conftest.$ac_objext
15525 if { (ac_try="$ac_compile"
15526 case "(($ac_try" in
15527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15528 *) ac_try_echo=$ac_try;;
15529 esac
15530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15531 (eval "$ac_compile") 2>conftest.er1
15532 ac_status=$?
15533 grep -v '^ *+' conftest.er1 >conftest.err
15534 rm -f conftest.er1
15535 cat conftest.err >&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); } && {
15538 test -z "$ac_c_werror_flag" ||
15539 test ! -s conftest.err
15540 } && test -s conftest.$ac_objext; then
15541 :
15542 else
15543 echo "$as_me: failed program was:" >&5
15544 sed 's/^/| /' conftest.$ac_ext >&5
15545
15546 ac_c_werror_flag=$ac_save_c_werror_flag
15547 CFLAGS="-g"
15548 cat >conftest.$ac_ext <<_ACEOF
15549 /* confdefs.h. */
15550 _ACEOF
15551 cat confdefs.h >>conftest.$ac_ext
15552 cat >>conftest.$ac_ext <<_ACEOF
15553 /* end confdefs.h. */
15554
15555 int
15556 main ()
15557 {
15558
15559 ;
15560 return 0;
15561 }
15562 _ACEOF
15563 rm -f conftest.$ac_objext
15564 if { (ac_try="$ac_compile"
15565 case "(($ac_try" in
15566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15567 *) ac_try_echo=$ac_try;;
15568 esac
15569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15570 (eval "$ac_compile") 2>conftest.er1
15571 ac_status=$?
15572 grep -v '^ *+' conftest.er1 >conftest.err
15573 rm -f conftest.er1
15574 cat conftest.err >&5
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); } && {
15577 test -z "$ac_c_werror_flag" ||
15578 test ! -s conftest.err
15579 } && test -s conftest.$ac_objext; then
15580 ac_cv_prog_cc_g=yes
15581 else
15582 echo "$as_me: failed program was:" >&5
15583 sed 's/^/| /' conftest.$ac_ext >&5
15584
15585
15586 fi
15587
15588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15589 fi
15590
15591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15592 fi
15593
15594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15595 ac_c_werror_flag=$ac_save_c_werror_flag
15596 fi
15597 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15598 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15599 if test "$ac_test_CFLAGS" = set; then
15600 CFLAGS=$ac_save_CFLAGS
15601 elif test $ac_cv_prog_cc_g = yes; then
15602 if test "$GCC" = yes; then
15603 CFLAGS="-g -O2"
15604 else
15605 CFLAGS="-g"
15606 fi
15607 else
15608 if test "$GCC" = yes; then
15609 CFLAGS="-O2"
15610 else
15611 CFLAGS=
15612 fi
15613 fi
15614 fi
15615 fi
15616
15617 case `uname -s` in
15618 AIX*)
15619
15620
15621 ac_ext=c
15622 ac_cpp='$CPP $CPPFLAGS'
15623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15626
15627 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15628 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15629 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15630 echo $ECHO_N "(cached) $ECHO_C" >&6
15631 else
15632 cat >conftest.$ac_ext <<_ACEOF
15633 /* confdefs.h. */
15634 _ACEOF
15635 cat confdefs.h >>conftest.$ac_ext
15636 cat >>conftest.$ac_ext <<_ACEOF
15637 /* end confdefs.h. */
15638
15639 int
15640 main ()
15641 {
15642
15643 #ifndef __xlC__
15644 choke me
15645 #endif
15646
15647 ;
15648 return 0;
15649 }
15650 _ACEOF
15651 rm -f conftest.$ac_objext
15652 if { (ac_try="$ac_compile"
15653 case "(($ac_try" in
15654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15655 *) ac_try_echo=$ac_try;;
15656 esac
15657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15658 (eval "$ac_compile") 2>conftest.er1
15659 ac_status=$?
15660 grep -v '^ *+' conftest.er1 >conftest.err
15661 rm -f conftest.er1
15662 cat conftest.err >&5
15663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15664 (exit $ac_status); } && {
15665 test -z "$ac_c_werror_flag" ||
15666 test ! -s conftest.err
15667 } && test -s conftest.$ac_objext; then
15668 bakefile_cv_c_compiler___xlC__=yes
15669 else
15670 echo "$as_me: failed program was:" >&5
15671 sed 's/^/| /' conftest.$ac_ext >&5
15672
15673 bakefile_cv_c_compiler___xlC__=no
15674
15675 fi
15676
15677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15678
15679
15680 fi
15681 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15682 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15683 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15684 :; XLCC=yes
15685 else
15686 :;
15687 fi
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
15695
15696 ;;
15697
15698 Darwin)
15699
15700
15701 ac_ext=c
15702 ac_cpp='$CPP $CPPFLAGS'
15703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15706
15707 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15708 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15709 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15710 echo $ECHO_N "(cached) $ECHO_C" >&6
15711 else
15712 cat >conftest.$ac_ext <<_ACEOF
15713 /* confdefs.h. */
15714 _ACEOF
15715 cat confdefs.h >>conftest.$ac_ext
15716 cat >>conftest.$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15718
15719 int
15720 main ()
15721 {
15722
15723 #ifndef __MWERKS__
15724 choke me
15725 #endif
15726
15727 ;
15728 return 0;
15729 }
15730 _ACEOF
15731 rm -f conftest.$ac_objext
15732 if { (ac_try="$ac_compile"
15733 case "(($ac_try" in
15734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15735 *) ac_try_echo=$ac_try;;
15736 esac
15737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15738 (eval "$ac_compile") 2>conftest.er1
15739 ac_status=$?
15740 grep -v '^ *+' conftest.er1 >conftest.err
15741 rm -f conftest.er1
15742 cat conftest.err >&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } && {
15745 test -z "$ac_c_werror_flag" ||
15746 test ! -s conftest.err
15747 } && test -s conftest.$ac_objext; then
15748 bakefile_cv_c_compiler___MWERKS__=yes
15749 else
15750 echo "$as_me: failed program was:" >&5
15751 sed 's/^/| /' conftest.$ac_ext >&5
15752
15753 bakefile_cv_c_compiler___MWERKS__=no
15754
15755 fi
15756
15757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15758
15759
15760 fi
15761 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15762 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15763 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15764 :; MWCC=yes
15765 else
15766 :;
15767 fi
15768 ac_ext=c
15769 ac_cpp='$CPP $CPPFLAGS'
15770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15773
15774
15775
15776 if test "$MWCC" != "yes"; then
15777
15778
15779 ac_ext=c
15780 ac_cpp='$CPP $CPPFLAGS'
15781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15784
15785 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15786 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15787 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15788 echo $ECHO_N "(cached) $ECHO_C" >&6
15789 else
15790 cat >conftest.$ac_ext <<_ACEOF
15791 /* confdefs.h. */
15792 _ACEOF
15793 cat confdefs.h >>conftest.$ac_ext
15794 cat >>conftest.$ac_ext <<_ACEOF
15795 /* end confdefs.h. */
15796
15797 int
15798 main ()
15799 {
15800
15801 #ifndef __xlC__
15802 choke me
15803 #endif
15804
15805 ;
15806 return 0;
15807 }
15808 _ACEOF
15809 rm -f conftest.$ac_objext
15810 if { (ac_try="$ac_compile"
15811 case "(($ac_try" in
15812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15813 *) ac_try_echo=$ac_try;;
15814 esac
15815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15816 (eval "$ac_compile") 2>conftest.er1
15817 ac_status=$?
15818 grep -v '^ *+' conftest.er1 >conftest.err
15819 rm -f conftest.er1
15820 cat conftest.err >&5
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); } && {
15823 test -z "$ac_c_werror_flag" ||
15824 test ! -s conftest.err
15825 } && test -s conftest.$ac_objext; then
15826 bakefile_cv_c_compiler___xlC__=yes
15827 else
15828 echo "$as_me: failed program was:" >&5
15829 sed 's/^/| /' conftest.$ac_ext >&5
15830
15831 bakefile_cv_c_compiler___xlC__=no
15832
15833 fi
15834
15835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15836
15837
15838 fi
15839 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15840 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15841 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15842 :; XLCC=yes
15843 else
15844 :;
15845 fi
15846 ac_ext=c
15847 ac_cpp='$CPP $CPPFLAGS'
15848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15851
15852
15853
15854 fi
15855 ;;
15856
15857 IRIX*)
15858
15859
15860 ac_ext=c
15861 ac_cpp='$CPP $CPPFLAGS'
15862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15865
15866 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15867 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15868 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15869 echo $ECHO_N "(cached) $ECHO_C" >&6
15870 else
15871 cat >conftest.$ac_ext <<_ACEOF
15872 /* confdefs.h. */
15873 _ACEOF
15874 cat confdefs.h >>conftest.$ac_ext
15875 cat >>conftest.$ac_ext <<_ACEOF
15876 /* end confdefs.h. */
15877
15878 int
15879 main ()
15880 {
15881
15882 #ifndef _SGI_COMPILER_VERSION
15883 choke me
15884 #endif
15885
15886 ;
15887 return 0;
15888 }
15889 _ACEOF
15890 rm -f conftest.$ac_objext
15891 if { (ac_try="$ac_compile"
15892 case "(($ac_try" in
15893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15894 *) ac_try_echo=$ac_try;;
15895 esac
15896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15897 (eval "$ac_compile") 2>conftest.er1
15898 ac_status=$?
15899 grep -v '^ *+' conftest.er1 >conftest.err
15900 rm -f conftest.er1
15901 cat conftest.err >&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); } && {
15904 test -z "$ac_c_werror_flag" ||
15905 test ! -s conftest.err
15906 } && test -s conftest.$ac_objext; then
15907 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15908 else
15909 echo "$as_me: failed program was:" >&5
15910 sed 's/^/| /' conftest.$ac_ext >&5
15911
15912 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15913
15914 fi
15915
15916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15917
15918
15919 fi
15920 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15921 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15922 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15923 :; SGICC=yes
15924 else
15925 :;
15926 fi
15927 ac_ext=c
15928 ac_cpp='$CPP $CPPFLAGS'
15929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15932
15933
15934
15935 ;;
15936
15937 Linux*)
15938 if test "$INTELCC" != "yes"; then
15939
15940
15941 ac_ext=c
15942 ac_cpp='$CPP $CPPFLAGS'
15943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15946
15947 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15948 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15949 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15950 echo $ECHO_N "(cached) $ECHO_C" >&6
15951 else
15952 cat >conftest.$ac_ext <<_ACEOF
15953 /* confdefs.h. */
15954 _ACEOF
15955 cat confdefs.h >>conftest.$ac_ext
15956 cat >>conftest.$ac_ext <<_ACEOF
15957 /* end confdefs.h. */
15958
15959 int
15960 main ()
15961 {
15962
15963 #ifndef __SUNPRO_C
15964 choke me
15965 #endif
15966
15967 ;
15968 return 0;
15969 }
15970 _ACEOF
15971 rm -f conftest.$ac_objext
15972 if { (ac_try="$ac_compile"
15973 case "(($ac_try" in
15974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15975 *) ac_try_echo=$ac_try;;
15976 esac
15977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15978 (eval "$ac_compile") 2>conftest.er1
15979 ac_status=$?
15980 grep -v '^ *+' conftest.er1 >conftest.err
15981 rm -f conftest.er1
15982 cat conftest.err >&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); } && {
15985 test -z "$ac_c_werror_flag" ||
15986 test ! -s conftest.err
15987 } && test -s conftest.$ac_objext; then
15988 bakefile_cv_c_compiler___SUNPRO_C=yes
15989 else
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.$ac_ext >&5
15992
15993 bakefile_cv_c_compiler___SUNPRO_C=no
15994
15995 fi
15996
15997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15998
15999
16000 fi
16001 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16002 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16003 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16004 :; SUNCC=yes
16005 else
16006 :;
16007 fi
16008 ac_ext=c
16009 ac_cpp='$CPP $CPPFLAGS'
16010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16013
16014
16015
16016 fi
16017 ;;
16018
16019 HP-UX*)
16020
16021
16022 ac_ext=c
16023 ac_cpp='$CPP $CPPFLAGS'
16024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16027
16028 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16029 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16030 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16031 echo $ECHO_N "(cached) $ECHO_C" >&6
16032 else
16033 cat >conftest.$ac_ext <<_ACEOF
16034 /* confdefs.h. */
16035 _ACEOF
16036 cat confdefs.h >>conftest.$ac_ext
16037 cat >>conftest.$ac_ext <<_ACEOF
16038 /* end confdefs.h. */
16039
16040 int
16041 main ()
16042 {
16043
16044 #ifndef __HP_cc
16045 choke me
16046 #endif
16047
16048 ;
16049 return 0;
16050 }
16051 _ACEOF
16052 rm -f conftest.$ac_objext
16053 if { (ac_try="$ac_compile"
16054 case "(($ac_try" in
16055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16056 *) ac_try_echo=$ac_try;;
16057 esac
16058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16059 (eval "$ac_compile") 2>conftest.er1
16060 ac_status=$?
16061 grep -v '^ *+' conftest.er1 >conftest.err
16062 rm -f conftest.er1
16063 cat conftest.err >&5
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); } && {
16066 test -z "$ac_c_werror_flag" ||
16067 test ! -s conftest.err
16068 } && test -s conftest.$ac_objext; then
16069 bakefile_cv_c_compiler___HP_cc=yes
16070 else
16071 echo "$as_me: failed program was:" >&5
16072 sed 's/^/| /' conftest.$ac_ext >&5
16073
16074 bakefile_cv_c_compiler___HP_cc=no
16075
16076 fi
16077
16078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16079
16080
16081 fi
16082 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16083 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16084 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16085 :; HPCC=yes
16086 else
16087 :;
16088 fi
16089 ac_ext=c
16090 ac_cpp='$CPP $CPPFLAGS'
16091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16094
16095
16096
16097 ;;
16098
16099 OSF1)
16100
16101
16102 ac_ext=c
16103 ac_cpp='$CPP $CPPFLAGS'
16104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16107
16108 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16109 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16110 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16111 echo $ECHO_N "(cached) $ECHO_C" >&6
16112 else
16113 cat >conftest.$ac_ext <<_ACEOF
16114 /* confdefs.h. */
16115 _ACEOF
16116 cat confdefs.h >>conftest.$ac_ext
16117 cat >>conftest.$ac_ext <<_ACEOF
16118 /* end confdefs.h. */
16119
16120 int
16121 main ()
16122 {
16123
16124 #ifndef __DECC
16125 choke me
16126 #endif
16127
16128 ;
16129 return 0;
16130 }
16131 _ACEOF
16132 rm -f conftest.$ac_objext
16133 if { (ac_try="$ac_compile"
16134 case "(($ac_try" in
16135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16136 *) ac_try_echo=$ac_try;;
16137 esac
16138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16139 (eval "$ac_compile") 2>conftest.er1
16140 ac_status=$?
16141 grep -v '^ *+' conftest.er1 >conftest.err
16142 rm -f conftest.er1
16143 cat conftest.err >&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); } && {
16146 test -z "$ac_c_werror_flag" ||
16147 test ! -s conftest.err
16148 } && test -s conftest.$ac_objext; then
16149 bakefile_cv_c_compiler___DECC=yes
16150 else
16151 echo "$as_me: failed program was:" >&5
16152 sed 's/^/| /' conftest.$ac_ext >&5
16153
16154 bakefile_cv_c_compiler___DECC=no
16155
16156 fi
16157
16158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16159
16160
16161 fi
16162 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16163 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16164 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16165 :; COMPAQCC=yes
16166 else
16167 :;
16168 fi
16169 ac_ext=c
16170 ac_cpp='$CPP $CPPFLAGS'
16171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16174
16175
16176
16177 ;;
16178
16179 SunOS)
16180
16181
16182 ac_ext=c
16183 ac_cpp='$CPP $CPPFLAGS'
16184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16187
16188 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16189 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16190 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16191 echo $ECHO_N "(cached) $ECHO_C" >&6
16192 else
16193 cat >conftest.$ac_ext <<_ACEOF
16194 /* confdefs.h. */
16195 _ACEOF
16196 cat confdefs.h >>conftest.$ac_ext
16197 cat >>conftest.$ac_ext <<_ACEOF
16198 /* end confdefs.h. */
16199
16200 int
16201 main ()
16202 {
16203
16204 #ifndef __SUNPRO_C
16205 choke me
16206 #endif
16207
16208 ;
16209 return 0;
16210 }
16211 _ACEOF
16212 rm -f conftest.$ac_objext
16213 if { (ac_try="$ac_compile"
16214 case "(($ac_try" in
16215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16216 *) ac_try_echo=$ac_try;;
16217 esac
16218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16219 (eval "$ac_compile") 2>conftest.er1
16220 ac_status=$?
16221 grep -v '^ *+' conftest.er1 >conftest.err
16222 rm -f conftest.er1
16223 cat conftest.err >&5
16224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16225 (exit $ac_status); } && {
16226 test -z "$ac_c_werror_flag" ||
16227 test ! -s conftest.err
16228 } && test -s conftest.$ac_objext; then
16229 bakefile_cv_c_compiler___SUNPRO_C=yes
16230 else
16231 echo "$as_me: failed program was:" >&5
16232 sed 's/^/| /' conftest.$ac_ext >&5
16233
16234 bakefile_cv_c_compiler___SUNPRO_C=no
16235
16236 fi
16237
16238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16239
16240
16241 fi
16242 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16243 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16244 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16245 :; SUNCC=yes
16246 else
16247 :;
16248 fi
16249 ac_ext=c
16250 ac_cpp='$CPP $CPPFLAGS'
16251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16254
16255
16256
16257 ;;
16258 esac
16259 fi
16260
16261
16262
16263 ac_ext=c
16264 ac_cpp='$CPP $CPPFLAGS'
16265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16268 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16269 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16270 # On Suns, sometimes $CPP names a directory.
16271 if test -n "$CPP" && test -d "$CPP"; then
16272 CPP=
16273 fi
16274 if test -z "$CPP"; then
16275 if test "${ac_cv_prog_CPP+set}" = set; then
16276 echo $ECHO_N "(cached) $ECHO_C" >&6
16277 else
16278 # Double quotes because CPP needs to be expanded
16279 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16280 do
16281 ac_preproc_ok=false
16282 for ac_c_preproc_warn_flag in '' yes
16283 do
16284 # Use a header file that comes with gcc, so configuring glibc
16285 # with a fresh cross-compiler works.
16286 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16287 # <limits.h> exists even on freestanding compilers.
16288 # On the NeXT, cc -E runs the code through the compiler's parser,
16289 # not just through cpp. "Syntax error" is here to catch this case.
16290 cat >conftest.$ac_ext <<_ACEOF
16291 /* confdefs.h. */
16292 _ACEOF
16293 cat confdefs.h >>conftest.$ac_ext
16294 cat >>conftest.$ac_ext <<_ACEOF
16295 /* end confdefs.h. */
16296 #ifdef __STDC__
16297 # include <limits.h>
16298 #else
16299 # include <assert.h>
16300 #endif
16301 Syntax error
16302 _ACEOF
16303 if { (ac_try="$ac_cpp conftest.$ac_ext"
16304 case "(($ac_try" in
16305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16306 *) ac_try_echo=$ac_try;;
16307 esac
16308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16309 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16310 ac_status=$?
16311 grep -v '^ *+' conftest.er1 >conftest.err
16312 rm -f conftest.er1
16313 cat conftest.err >&5
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); } >/dev/null && {
16316 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16317 test ! -s conftest.err
16318 }; then
16319 :
16320 else
16321 echo "$as_me: failed program was:" >&5
16322 sed 's/^/| /' conftest.$ac_ext >&5
16323
16324 # Broken: fails on valid input.
16325 continue
16326 fi
16327
16328 rm -f conftest.err conftest.$ac_ext
16329
16330 # OK, works on sane cases. Now check whether nonexistent headers
16331 # can be detected and how.
16332 cat >conftest.$ac_ext <<_ACEOF
16333 /* confdefs.h. */
16334 _ACEOF
16335 cat confdefs.h >>conftest.$ac_ext
16336 cat >>conftest.$ac_ext <<_ACEOF
16337 /* end confdefs.h. */
16338 #include <ac_nonexistent.h>
16339 _ACEOF
16340 if { (ac_try="$ac_cpp conftest.$ac_ext"
16341 case "(($ac_try" in
16342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16343 *) ac_try_echo=$ac_try;;
16344 esac
16345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16346 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16347 ac_status=$?
16348 grep -v '^ *+' conftest.er1 >conftest.err
16349 rm -f conftest.er1
16350 cat conftest.err >&5
16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352 (exit $ac_status); } >/dev/null && {
16353 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16354 test ! -s conftest.err
16355 }; then
16356 # Broken: success on invalid input.
16357 continue
16358 else
16359 echo "$as_me: failed program was:" >&5
16360 sed 's/^/| /' conftest.$ac_ext >&5
16361
16362 # Passes both tests.
16363 ac_preproc_ok=:
16364 break
16365 fi
16366
16367 rm -f conftest.err conftest.$ac_ext
16368
16369 done
16370 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16371 rm -f conftest.err conftest.$ac_ext
16372 if $ac_preproc_ok; then
16373 break
16374 fi
16375
16376 done
16377 ac_cv_prog_CPP=$CPP
16378
16379 fi
16380 CPP=$ac_cv_prog_CPP
16381 else
16382 ac_cv_prog_CPP=$CPP
16383 fi
16384 { echo "$as_me:$LINENO: result: $CPP" >&5
16385 echo "${ECHO_T}$CPP" >&6; }
16386 ac_preproc_ok=false
16387 for ac_c_preproc_warn_flag in '' yes
16388 do
16389 # Use a header file that comes with gcc, so configuring glibc
16390 # with a fresh cross-compiler works.
16391 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16392 # <limits.h> exists even on freestanding compilers.
16393 # On the NeXT, cc -E runs the code through the compiler's parser,
16394 # not just through cpp. "Syntax error" is here to catch this case.
16395 cat >conftest.$ac_ext <<_ACEOF
16396 /* confdefs.h. */
16397 _ACEOF
16398 cat confdefs.h >>conftest.$ac_ext
16399 cat >>conftest.$ac_ext <<_ACEOF
16400 /* end confdefs.h. */
16401 #ifdef __STDC__
16402 # include <limits.h>
16403 #else
16404 # include <assert.h>
16405 #endif
16406 Syntax error
16407 _ACEOF
16408 if { (ac_try="$ac_cpp conftest.$ac_ext"
16409 case "(($ac_try" in
16410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16411 *) ac_try_echo=$ac_try;;
16412 esac
16413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16414 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16415 ac_status=$?
16416 grep -v '^ *+' conftest.er1 >conftest.err
16417 rm -f conftest.er1
16418 cat conftest.err >&5
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); } >/dev/null && {
16421 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16422 test ! -s conftest.err
16423 }; then
16424 :
16425 else
16426 echo "$as_me: failed program was:" >&5
16427 sed 's/^/| /' conftest.$ac_ext >&5
16428
16429 # Broken: fails on valid input.
16430 continue
16431 fi
16432
16433 rm -f conftest.err conftest.$ac_ext
16434
16435 # OK, works on sane cases. Now check whether nonexistent headers
16436 # can be detected and how.
16437 cat >conftest.$ac_ext <<_ACEOF
16438 /* confdefs.h. */
16439 _ACEOF
16440 cat confdefs.h >>conftest.$ac_ext
16441 cat >>conftest.$ac_ext <<_ACEOF
16442 /* end confdefs.h. */
16443 #include <ac_nonexistent.h>
16444 _ACEOF
16445 if { (ac_try="$ac_cpp conftest.$ac_ext"
16446 case "(($ac_try" in
16447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16448 *) ac_try_echo=$ac_try;;
16449 esac
16450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16451 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16452 ac_status=$?
16453 grep -v '^ *+' conftest.er1 >conftest.err
16454 rm -f conftest.er1
16455 cat conftest.err >&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); } >/dev/null && {
16458 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16459 test ! -s conftest.err
16460 }; then
16461 # Broken: success on invalid input.
16462 continue
16463 else
16464 echo "$as_me: failed program was:" >&5
16465 sed 's/^/| /' conftest.$ac_ext >&5
16466
16467 # Passes both tests.
16468 ac_preproc_ok=:
16469 break
16470 fi
16471
16472 rm -f conftest.err conftest.$ac_ext
16473
16474 done
16475 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16476 rm -f conftest.err conftest.$ac_ext
16477 if $ac_preproc_ok; then
16478 :
16479 else
16480 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16481 See \`config.log' for more details." >&5
16482 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16483 See \`config.log' for more details." >&2;}
16484 { (exit 1); exit 1; }; }
16485 fi
16486
16487 ac_ext=c
16488 ac_cpp='$CPP $CPPFLAGS'
16489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16492
16493
16494 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16495 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16496 if test "${ac_cv_path_GREP+set}" = set; then
16497 echo $ECHO_N "(cached) $ECHO_C" >&6
16498 else
16499 # Extract the first word of "grep ggrep" to use in msg output
16500 if test -z "$GREP"; then
16501 set dummy grep ggrep; ac_prog_name=$2
16502 if test "${ac_cv_path_GREP+set}" = set; then
16503 echo $ECHO_N "(cached) $ECHO_C" >&6
16504 else
16505 ac_path_GREP_found=false
16506 # Loop through the user's path and test for each of PROGNAME-LIST
16507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16508 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16509 do
16510 IFS=$as_save_IFS
16511 test -z "$as_dir" && as_dir=.
16512 for ac_prog in grep ggrep; do
16513 for ac_exec_ext in '' $ac_executable_extensions; do
16514 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16515 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16516 # Check for GNU ac_path_GREP and select it if it is found.
16517 # Check for GNU $ac_path_GREP
16518 case `"$ac_path_GREP" --version 2>&1` in
16519 *GNU*)
16520 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16521 *)
16522 ac_count=0
16523 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16524 while :
16525 do
16526 cat "conftest.in" "conftest.in" >"conftest.tmp"
16527 mv "conftest.tmp" "conftest.in"
16528 cp "conftest.in" "conftest.nl"
16529 echo 'GREP' >> "conftest.nl"
16530 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16531 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16532 ac_count=`expr $ac_count + 1`
16533 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16534 # Best one so far, save it but keep looking for a better one
16535 ac_cv_path_GREP="$ac_path_GREP"
16536 ac_path_GREP_max=$ac_count
16537 fi
16538 # 10*(2^10) chars as input seems more than enough
16539 test $ac_count -gt 10 && break
16540 done
16541 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16542 esac
16543
16544
16545 $ac_path_GREP_found && break 3
16546 done
16547 done
16548
16549 done
16550 IFS=$as_save_IFS
16551
16552
16553 fi
16554
16555 GREP="$ac_cv_path_GREP"
16556 if test -z "$GREP"; then
16557 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16558 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16559 { (exit 1); exit 1; }; }
16560 fi
16561
16562 else
16563 ac_cv_path_GREP=$GREP
16564 fi
16565
16566
16567 fi
16568 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16569 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16570 GREP="$ac_cv_path_GREP"
16571
16572
16573 { echo "$as_me:$LINENO: checking for egrep" >&5
16574 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16575 if test "${ac_cv_path_EGREP+set}" = set; then
16576 echo $ECHO_N "(cached) $ECHO_C" >&6
16577 else
16578 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16579 then ac_cv_path_EGREP="$GREP -E"
16580 else
16581 # Extract the first word of "egrep" to use in msg output
16582 if test -z "$EGREP"; then
16583 set dummy egrep; ac_prog_name=$2
16584 if test "${ac_cv_path_EGREP+set}" = set; then
16585 echo $ECHO_N "(cached) $ECHO_C" >&6
16586 else
16587 ac_path_EGREP_found=false
16588 # Loop through the user's path and test for each of PROGNAME-LIST
16589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16590 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16591 do
16592 IFS=$as_save_IFS
16593 test -z "$as_dir" && as_dir=.
16594 for ac_prog in egrep; do
16595 for ac_exec_ext in '' $ac_executable_extensions; do
16596 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16597 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16598 # Check for GNU ac_path_EGREP and select it if it is found.
16599 # Check for GNU $ac_path_EGREP
16600 case `"$ac_path_EGREP" --version 2>&1` in
16601 *GNU*)
16602 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16603 *)
16604 ac_count=0
16605 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16606 while :
16607 do
16608 cat "conftest.in" "conftest.in" >"conftest.tmp"
16609 mv "conftest.tmp" "conftest.in"
16610 cp "conftest.in" "conftest.nl"
16611 echo 'EGREP' >> "conftest.nl"
16612 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16613 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16614 ac_count=`expr $ac_count + 1`
16615 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16616 # Best one so far, save it but keep looking for a better one
16617 ac_cv_path_EGREP="$ac_path_EGREP"
16618 ac_path_EGREP_max=$ac_count
16619 fi
16620 # 10*(2^10) chars as input seems more than enough
16621 test $ac_count -gt 10 && break
16622 done
16623 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16624 esac
16625
16626
16627 $ac_path_EGREP_found && break 3
16628 done
16629 done
16630
16631 done
16632 IFS=$as_save_IFS
16633
16634
16635 fi
16636
16637 EGREP="$ac_cv_path_EGREP"
16638 if test -z "$EGREP"; then
16639 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16640 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16641 { (exit 1); exit 1; }; }
16642 fi
16643
16644 else
16645 ac_cv_path_EGREP=$EGREP
16646 fi
16647
16648
16649 fi
16650 fi
16651 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16652 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16653 EGREP="$ac_cv_path_EGREP"
16654
16655
16656 if test $ac_cv_c_compiler_gnu = yes; then
16657 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16658 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16659 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16660 echo $ECHO_N "(cached) $ECHO_C" >&6
16661 else
16662 ac_pattern="Autoconf.*'x'"
16663 cat >conftest.$ac_ext <<_ACEOF
16664 /* confdefs.h. */
16665 _ACEOF
16666 cat confdefs.h >>conftest.$ac_ext
16667 cat >>conftest.$ac_ext <<_ACEOF
16668 /* end confdefs.h. */
16669 #include <sgtty.h>
16670 Autoconf TIOCGETP
16671 _ACEOF
16672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16673 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16674 ac_cv_prog_gcc_traditional=yes
16675 else
16676 ac_cv_prog_gcc_traditional=no
16677 fi
16678 rm -f conftest*
16679
16680
16681 if test $ac_cv_prog_gcc_traditional = no; then
16682 cat >conftest.$ac_ext <<_ACEOF
16683 /* confdefs.h. */
16684 _ACEOF
16685 cat confdefs.h >>conftest.$ac_ext
16686 cat >>conftest.$ac_ext <<_ACEOF
16687 /* end confdefs.h. */
16688 #include <termio.h>
16689 Autoconf TCGETA
16690 _ACEOF
16691 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16692 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16693 ac_cv_prog_gcc_traditional=yes
16694 fi
16695 rm -f conftest*
16696
16697 fi
16698 fi
16699 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16700 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16701 if test $ac_cv_prog_gcc_traditional = yes; then
16702 CC="$CC -traditional"
16703 fi
16704 fi
16705
16706
16707 CXXFLAGS=${CXXFLAGS:=}
16708
16709
16710
16711 ac_ext=cpp
16712 ac_cpp='$CXXCPP $CPPFLAGS'
16713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16716 if test -z "$CXX"; then
16717 if test -n "$CCC"; then
16718 CXX=$CCC
16719 else
16720 if test -n "$ac_tool_prefix"; then
16721 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16722 do
16723 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16724 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16727 if test "${ac_cv_prog_CXX+set}" = set; then
16728 echo $ECHO_N "(cached) $ECHO_C" >&6
16729 else
16730 if test -n "$CXX"; then
16731 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16732 else
16733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16734 for as_dir in $PATH
16735 do
16736 IFS=$as_save_IFS
16737 test -z "$as_dir" && as_dir=.
16738 for ac_exec_ext in '' $ac_executable_extensions; do
16739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16740 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16742 break 2
16743 fi
16744 done
16745 done
16746 IFS=$as_save_IFS
16747
16748 fi
16749 fi
16750 CXX=$ac_cv_prog_CXX
16751 if test -n "$CXX"; then
16752 { echo "$as_me:$LINENO: result: $CXX" >&5
16753 echo "${ECHO_T}$CXX" >&6; }
16754 else
16755 { echo "$as_me:$LINENO: result: no" >&5
16756 echo "${ECHO_T}no" >&6; }
16757 fi
16758
16759
16760 test -n "$CXX" && break
16761 done
16762 fi
16763 if test -z "$CXX"; then
16764 ac_ct_CXX=$CXX
16765 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16766 do
16767 # Extract the first word of "$ac_prog", so it can be a program name with args.
16768 set dummy $ac_prog; ac_word=$2
16769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16771 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16772 echo $ECHO_N "(cached) $ECHO_C" >&6
16773 else
16774 if test -n "$ac_ct_CXX"; then
16775 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16776 else
16777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16778 for as_dir in $PATH
16779 do
16780 IFS=$as_save_IFS
16781 test -z "$as_dir" && as_dir=.
16782 for ac_exec_ext in '' $ac_executable_extensions; do
16783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16784 ac_cv_prog_ac_ct_CXX="$ac_prog"
16785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16786 break 2
16787 fi
16788 done
16789 done
16790 IFS=$as_save_IFS
16791
16792 fi
16793 fi
16794 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16795 if test -n "$ac_ct_CXX"; then
16796 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16797 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16798 else
16799 { echo "$as_me:$LINENO: result: no" >&5
16800 echo "${ECHO_T}no" >&6; }
16801 fi
16802
16803
16804 test -n "$ac_ct_CXX" && break
16805 done
16806
16807 if test "x$ac_ct_CXX" = x; then
16808 CXX="g++"
16809 else
16810 case $cross_compiling:$ac_tool_warned in
16811 yes:)
16812 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16813 whose name does not start with the host triplet. If you think this
16814 configuration is useful to you, please write to autoconf@gnu.org." >&5
16815 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16816 whose name does not start with the host triplet. If you think this
16817 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16818 ac_tool_warned=yes ;;
16819 esac
16820 CXX=$ac_ct_CXX
16821 fi
16822 fi
16823
16824 fi
16825 fi
16826 # Provide some information about the compiler.
16827 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16828 ac_compiler=`set X $ac_compile; echo $2`
16829 { (ac_try="$ac_compiler --version >&5"
16830 case "(($ac_try" in
16831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16832 *) ac_try_echo=$ac_try;;
16833 esac
16834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16835 (eval "$ac_compiler --version >&5") 2>&5
16836 ac_status=$?
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); }
16839 { (ac_try="$ac_compiler -v >&5"
16840 case "(($ac_try" in
16841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16842 *) ac_try_echo=$ac_try;;
16843 esac
16844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16845 (eval "$ac_compiler -v >&5") 2>&5
16846 ac_status=$?
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); }
16849 { (ac_try="$ac_compiler -V >&5"
16850 case "(($ac_try" in
16851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16852 *) ac_try_echo=$ac_try;;
16853 esac
16854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16855 (eval "$ac_compiler -V >&5") 2>&5
16856 ac_status=$?
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); }
16859
16860 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16861 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16862 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16863 echo $ECHO_N "(cached) $ECHO_C" >&6
16864 else
16865 cat >conftest.$ac_ext <<_ACEOF
16866 /* confdefs.h. */
16867 _ACEOF
16868 cat confdefs.h >>conftest.$ac_ext
16869 cat >>conftest.$ac_ext <<_ACEOF
16870 /* end confdefs.h. */
16871
16872 int
16873 main ()
16874 {
16875 #ifndef __GNUC__
16876 choke me
16877 #endif
16878
16879 ;
16880 return 0;
16881 }
16882 _ACEOF
16883 rm -f conftest.$ac_objext
16884 if { (ac_try="$ac_compile"
16885 case "(($ac_try" in
16886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16887 *) ac_try_echo=$ac_try;;
16888 esac
16889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16890 (eval "$ac_compile") 2>conftest.er1
16891 ac_status=$?
16892 grep -v '^ *+' conftest.er1 >conftest.err
16893 rm -f conftest.er1
16894 cat conftest.err >&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); } && {
16897 test -z "$ac_cxx_werror_flag" ||
16898 test ! -s conftest.err
16899 } && test -s conftest.$ac_objext; then
16900 ac_compiler_gnu=yes
16901 else
16902 echo "$as_me: failed program was:" >&5
16903 sed 's/^/| /' conftest.$ac_ext >&5
16904
16905 ac_compiler_gnu=no
16906 fi
16907
16908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16909 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16910
16911 fi
16912 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16913 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16914 GXX=`test $ac_compiler_gnu = yes && echo yes`
16915 ac_test_CXXFLAGS=${CXXFLAGS+set}
16916 ac_save_CXXFLAGS=$CXXFLAGS
16917 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16918 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16919 if test "${ac_cv_prog_cxx_g+set}" = set; then
16920 echo $ECHO_N "(cached) $ECHO_C" >&6
16921 else
16922 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16923 ac_cxx_werror_flag=yes
16924 ac_cv_prog_cxx_g=no
16925 CXXFLAGS="-g"
16926 cat >conftest.$ac_ext <<_ACEOF
16927 /* confdefs.h. */
16928 _ACEOF
16929 cat confdefs.h >>conftest.$ac_ext
16930 cat >>conftest.$ac_ext <<_ACEOF
16931 /* end confdefs.h. */
16932
16933 int
16934 main ()
16935 {
16936
16937 ;
16938 return 0;
16939 }
16940 _ACEOF
16941 rm -f conftest.$ac_objext
16942 if { (ac_try="$ac_compile"
16943 case "(($ac_try" in
16944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16945 *) ac_try_echo=$ac_try;;
16946 esac
16947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16948 (eval "$ac_compile") 2>conftest.er1
16949 ac_status=$?
16950 grep -v '^ *+' conftest.er1 >conftest.err
16951 rm -f conftest.er1
16952 cat conftest.err >&5
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); } && {
16955 test -z "$ac_cxx_werror_flag" ||
16956 test ! -s conftest.err
16957 } && test -s conftest.$ac_objext; then
16958 ac_cv_prog_cxx_g=yes
16959 else
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.$ac_ext >&5
16962
16963 CXXFLAGS=""
16964 cat >conftest.$ac_ext <<_ACEOF
16965 /* confdefs.h. */
16966 _ACEOF
16967 cat confdefs.h >>conftest.$ac_ext
16968 cat >>conftest.$ac_ext <<_ACEOF
16969 /* end confdefs.h. */
16970
16971 int
16972 main ()
16973 {
16974
16975 ;
16976 return 0;
16977 }
16978 _ACEOF
16979 rm -f conftest.$ac_objext
16980 if { (ac_try="$ac_compile"
16981 case "(($ac_try" in
16982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16983 *) ac_try_echo=$ac_try;;
16984 esac
16985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16986 (eval "$ac_compile") 2>conftest.er1
16987 ac_status=$?
16988 grep -v '^ *+' conftest.er1 >conftest.err
16989 rm -f conftest.er1
16990 cat conftest.err >&5
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); } && {
16993 test -z "$ac_cxx_werror_flag" ||
16994 test ! -s conftest.err
16995 } && test -s conftest.$ac_objext; then
16996 :
16997 else
16998 echo "$as_me: failed program was:" >&5
16999 sed 's/^/| /' conftest.$ac_ext >&5
17000
17001 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17002 CXXFLAGS="-g"
17003 cat >conftest.$ac_ext <<_ACEOF
17004 /* confdefs.h. */
17005 _ACEOF
17006 cat confdefs.h >>conftest.$ac_ext
17007 cat >>conftest.$ac_ext <<_ACEOF
17008 /* end confdefs.h. */
17009
17010 int
17011 main ()
17012 {
17013
17014 ;
17015 return 0;
17016 }
17017 _ACEOF
17018 rm -f conftest.$ac_objext
17019 if { (ac_try="$ac_compile"
17020 case "(($ac_try" in
17021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17022 *) ac_try_echo=$ac_try;;
17023 esac
17024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17025 (eval "$ac_compile") 2>conftest.er1
17026 ac_status=$?
17027 grep -v '^ *+' conftest.er1 >conftest.err
17028 rm -f conftest.er1
17029 cat conftest.err >&5
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); } && {
17032 test -z "$ac_cxx_werror_flag" ||
17033 test ! -s conftest.err
17034 } && test -s conftest.$ac_objext; then
17035 ac_cv_prog_cxx_g=yes
17036 else
17037 echo "$as_me: failed program was:" >&5
17038 sed 's/^/| /' conftest.$ac_ext >&5
17039
17040
17041 fi
17042
17043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17044 fi
17045
17046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17047 fi
17048
17049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17050 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17051 fi
17052 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17053 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17054 if test "$ac_test_CXXFLAGS" = set; then
17055 CXXFLAGS=$ac_save_CXXFLAGS
17056 elif test $ac_cv_prog_cxx_g = yes; then
17057 if test "$GXX" = yes; then
17058 CXXFLAGS="-g -O2"
17059 else
17060 CXXFLAGS="-g"
17061 fi
17062 else
17063 if test "$GXX" = yes; then
17064 CXXFLAGS="-O2"
17065 else
17066 CXXFLAGS=
17067 fi
17068 fi
17069 ac_ext=c
17070 ac_cpp='$CPP $CPPFLAGS'
17071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17074
17075
17076
17077
17078 ac_ext=cpp
17079 ac_cpp='$CXXCPP $CPPFLAGS'
17080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17083
17084 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17085 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17086 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17087 echo $ECHO_N "(cached) $ECHO_C" >&6
17088 else
17089 cat >conftest.$ac_ext <<_ACEOF
17090 /* confdefs.h. */
17091 _ACEOF
17092 cat confdefs.h >>conftest.$ac_ext
17093 cat >>conftest.$ac_ext <<_ACEOF
17094 /* end confdefs.h. */
17095
17096 int
17097 main ()
17098 {
17099
17100 #ifndef __INTEL_COMPILER
17101 choke me
17102 #endif
17103
17104 ;
17105 return 0;
17106 }
17107 _ACEOF
17108 rm -f conftest.$ac_objext
17109 if { (ac_try="$ac_compile"
17110 case "(($ac_try" in
17111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17112 *) ac_try_echo=$ac_try;;
17113 esac
17114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17115 (eval "$ac_compile") 2>conftest.er1
17116 ac_status=$?
17117 grep -v '^ *+' conftest.er1 >conftest.err
17118 rm -f conftest.er1
17119 cat conftest.err >&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); } && {
17122 test -z "$ac_cxx_werror_flag" ||
17123 test ! -s conftest.err
17124 } && test -s conftest.$ac_objext; then
17125 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17126 else
17127 echo "$as_me: failed program was:" >&5
17128 sed 's/^/| /' conftest.$ac_ext >&5
17129
17130 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17131
17132 fi
17133
17134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17135
17136
17137 fi
17138 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17139 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17140 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17141 :; INTELCXX=yes
17142 else
17143 :;
17144 fi
17145 ac_ext=c
17146 ac_cpp='$CPP $CPPFLAGS'
17147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17150
17151
17152
17153
17154 if test "$INTELCXX" = "yes"; then
17155
17156
17157 ac_ext=cpp
17158 ac_cpp='$CXXCPP $CPPFLAGS'
17159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17162
17163 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17164 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17165 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17166 echo $ECHO_N "(cached) $ECHO_C" >&6
17167 else
17168 cat >conftest.$ac_ext <<_ACEOF
17169 /* confdefs.h. */
17170 _ACEOF
17171 cat confdefs.h >>conftest.$ac_ext
17172 cat >>conftest.$ac_ext <<_ACEOF
17173 /* end confdefs.h. */
17174
17175 int
17176 main ()
17177 {
17178
17179 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17180 choke me
17181 #endif
17182
17183 ;
17184 return 0;
17185 }
17186 _ACEOF
17187 rm -f conftest.$ac_objext
17188 if { (ac_try="$ac_compile"
17189 case "(($ac_try" in
17190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17191 *) ac_try_echo=$ac_try;;
17192 esac
17193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17194 (eval "$ac_compile") 2>conftest.er1
17195 ac_status=$?
17196 grep -v '^ *+' conftest.er1 >conftest.err
17197 rm -f conftest.er1
17198 cat conftest.err >&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); } && {
17201 test -z "$ac_cxx_werror_flag" ||
17202 test ! -s conftest.err
17203 } && test -s conftest.$ac_objext; then
17204 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17205 else
17206 echo "$as_me: failed program was:" >&5
17207 sed 's/^/| /' conftest.$ac_ext >&5
17208
17209 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17210
17211 fi
17212
17213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17214
17215
17216 fi
17217 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17218 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17219 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17220 :; INTELCXX8=yes
17221 else
17222 :;
17223 fi
17224 ac_ext=c
17225 ac_cpp='$CPP $CPPFLAGS'
17226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17229
17230
17231
17232
17233
17234 ac_ext=cpp
17235 ac_cpp='$CXXCPP $CPPFLAGS'
17236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17239
17240 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17241 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17242 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17243 echo $ECHO_N "(cached) $ECHO_C" >&6
17244 else
17245 cat >conftest.$ac_ext <<_ACEOF
17246 /* confdefs.h. */
17247 _ACEOF
17248 cat confdefs.h >>conftest.$ac_ext
17249 cat >>conftest.$ac_ext <<_ACEOF
17250 /* end confdefs.h. */
17251
17252 int
17253 main ()
17254 {
17255
17256 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17257 choke me
17258 #endif
17259
17260 ;
17261 return 0;
17262 }
17263 _ACEOF
17264 rm -f conftest.$ac_objext
17265 if { (ac_try="$ac_compile"
17266 case "(($ac_try" in
17267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17268 *) ac_try_echo=$ac_try;;
17269 esac
17270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17271 (eval "$ac_compile") 2>conftest.er1
17272 ac_status=$?
17273 grep -v '^ *+' conftest.er1 >conftest.err
17274 rm -f conftest.er1
17275 cat conftest.err >&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); } && {
17278 test -z "$ac_cxx_werror_flag" ||
17279 test ! -s conftest.err
17280 } && test -s conftest.$ac_objext; then
17281 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17282 else
17283 echo "$as_me: failed program was:" >&5
17284 sed 's/^/| /' conftest.$ac_ext >&5
17285
17286 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17287
17288 fi
17289
17290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17291
17292
17293 fi
17294 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17295 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17296 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17297 :; INTELCXX10=yes
17298 else
17299 :;
17300 fi
17301 ac_ext=c
17302 ac_cpp='$CPP $CPPFLAGS'
17303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17306
17307
17308
17309 fi
17310
17311 if test "x$GCXX" != "xyes"; then
17312 if test "xCXX" = "xC"; then
17313 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17314 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17315 if test "${bakefile_cv_c_exto+set}" = set; then
17316 echo $ECHO_N "(cached) $ECHO_C" >&6
17317 else
17318 cat >conftest.$ac_ext <<_ACEOF
17319 /* confdefs.h. */
17320 _ACEOF
17321 cat confdefs.h >>conftest.$ac_ext
17322 cat >>conftest.$ac_ext <<_ACEOF
17323 /* end confdefs.h. */
17324
17325 int
17326 main ()
17327 {
17328
17329 ;
17330 return 0;
17331 }
17332 _ACEOF
17333 rm -f conftest.$ac_objext conftest.$ac_ext.o
17334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17335 (eval $ac_compile) 2>&5
17336 ac_status=$?
17337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338 (exit $ac_status); }; then
17339 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17340 case $ac_file in
17341 conftest.$ac_ext.o)
17342 bakefile_cv_c_exto="-ext o"
17343 ;;
17344 *)
17345 ;;
17346 esac
17347 done
17348 else
17349 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17350 See \`config.log' for more details." >&5
17351 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17352 See \`config.log' for more details." >&2;}
17353 { (exit 1); exit 1; }; }
17354
17355 fi
17356
17357 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17358
17359 fi
17360 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17361 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17362 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17363 if test "c" = "c"; then
17364 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17365 fi
17366 if test "c" = "cxx"; then
17367 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17368 fi
17369 fi
17370
17371 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17372 unset ac_cv_prog_cc_g
17373 ac_test_CFLAGS=${CFLAGS+set}
17374 ac_save_CFLAGS=$CFLAGS
17375 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17376 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17377 if test "${ac_cv_prog_cc_g+set}" = set; then
17378 echo $ECHO_N "(cached) $ECHO_C" >&6
17379 else
17380 ac_save_c_werror_flag=$ac_c_werror_flag
17381 ac_c_werror_flag=yes
17382 ac_cv_prog_cc_g=no
17383 CFLAGS="-g"
17384 cat >conftest.$ac_ext <<_ACEOF
17385 /* confdefs.h. */
17386 _ACEOF
17387 cat confdefs.h >>conftest.$ac_ext
17388 cat >>conftest.$ac_ext <<_ACEOF
17389 /* end confdefs.h. */
17390
17391 int
17392 main ()
17393 {
17394
17395 ;
17396 return 0;
17397 }
17398 _ACEOF
17399 rm -f conftest.$ac_objext
17400 if { (ac_try="$ac_compile"
17401 case "(($ac_try" in
17402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17403 *) ac_try_echo=$ac_try;;
17404 esac
17405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17406 (eval "$ac_compile") 2>conftest.er1
17407 ac_status=$?
17408 grep -v '^ *+' conftest.er1 >conftest.err
17409 rm -f conftest.er1
17410 cat conftest.err >&5
17411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17412 (exit $ac_status); } && {
17413 test -z "$ac_c_werror_flag" ||
17414 test ! -s conftest.err
17415 } && test -s conftest.$ac_objext; then
17416 ac_cv_prog_cc_g=yes
17417 else
17418 echo "$as_me: failed program was:" >&5
17419 sed 's/^/| /' conftest.$ac_ext >&5
17420
17421 CFLAGS=""
17422 cat >conftest.$ac_ext <<_ACEOF
17423 /* confdefs.h. */
17424 _ACEOF
17425 cat confdefs.h >>conftest.$ac_ext
17426 cat >>conftest.$ac_ext <<_ACEOF
17427 /* end confdefs.h. */
17428
17429 int
17430 main ()
17431 {
17432
17433 ;
17434 return 0;
17435 }
17436 _ACEOF
17437 rm -f conftest.$ac_objext
17438 if { (ac_try="$ac_compile"
17439 case "(($ac_try" in
17440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17441 *) ac_try_echo=$ac_try;;
17442 esac
17443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17444 (eval "$ac_compile") 2>conftest.er1
17445 ac_status=$?
17446 grep -v '^ *+' conftest.er1 >conftest.err
17447 rm -f conftest.er1
17448 cat conftest.err >&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); } && {
17451 test -z "$ac_c_werror_flag" ||
17452 test ! -s conftest.err
17453 } && test -s conftest.$ac_objext; then
17454 :
17455 else
17456 echo "$as_me: failed program was:" >&5
17457 sed 's/^/| /' conftest.$ac_ext >&5
17458
17459 ac_c_werror_flag=$ac_save_c_werror_flag
17460 CFLAGS="-g"
17461 cat >conftest.$ac_ext <<_ACEOF
17462 /* confdefs.h. */
17463 _ACEOF
17464 cat confdefs.h >>conftest.$ac_ext
17465 cat >>conftest.$ac_ext <<_ACEOF
17466 /* end confdefs.h. */
17467
17468 int
17469 main ()
17470 {
17471
17472 ;
17473 return 0;
17474 }
17475 _ACEOF
17476 rm -f conftest.$ac_objext
17477 if { (ac_try="$ac_compile"
17478 case "(($ac_try" in
17479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17480 *) ac_try_echo=$ac_try;;
17481 esac
17482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17483 (eval "$ac_compile") 2>conftest.er1
17484 ac_status=$?
17485 grep -v '^ *+' conftest.er1 >conftest.err
17486 rm -f conftest.er1
17487 cat conftest.err >&5
17488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489 (exit $ac_status); } && {
17490 test -z "$ac_c_werror_flag" ||
17491 test ! -s conftest.err
17492 } && test -s conftest.$ac_objext; then
17493 ac_cv_prog_cc_g=yes
17494 else
17495 echo "$as_me: failed program was:" >&5
17496 sed 's/^/| /' conftest.$ac_ext >&5
17497
17498
17499 fi
17500
17501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17502 fi
17503
17504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17505 fi
17506
17507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17508 ac_c_werror_flag=$ac_save_c_werror_flag
17509 fi
17510 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17511 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17512 if test "$ac_test_CFLAGS" = set; then
17513 CFLAGS=$ac_save_CFLAGS
17514 elif test $ac_cv_prog_cc_g = yes; then
17515 if test "$GCC" = yes; then
17516 CFLAGS="-g -O2"
17517 else
17518 CFLAGS="-g"
17519 fi
17520 else
17521 if test "$GCC" = yes; then
17522 CFLAGS="-O2"
17523 else
17524 CFLAGS=
17525 fi
17526 fi
17527 fi
17528 fi
17529
17530 case `uname -s` in
17531 AIX*)
17532
17533
17534 ac_ext=cpp
17535 ac_cpp='$CXXCPP $CPPFLAGS'
17536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17539
17540 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17541 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17542 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17543 echo $ECHO_N "(cached) $ECHO_C" >&6
17544 else
17545 cat >conftest.$ac_ext <<_ACEOF
17546 /* confdefs.h. */
17547 _ACEOF
17548 cat confdefs.h >>conftest.$ac_ext
17549 cat >>conftest.$ac_ext <<_ACEOF
17550 /* end confdefs.h. */
17551
17552 int
17553 main ()
17554 {
17555
17556 #ifndef __xlC__
17557 choke me
17558 #endif
17559
17560 ;
17561 return 0;
17562 }
17563 _ACEOF
17564 rm -f conftest.$ac_objext
17565 if { (ac_try="$ac_compile"
17566 case "(($ac_try" in
17567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17568 *) ac_try_echo=$ac_try;;
17569 esac
17570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17571 (eval "$ac_compile") 2>conftest.er1
17572 ac_status=$?
17573 grep -v '^ *+' conftest.er1 >conftest.err
17574 rm -f conftest.er1
17575 cat conftest.err >&5
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); } && {
17578 test -z "$ac_cxx_werror_flag" ||
17579 test ! -s conftest.err
17580 } && test -s conftest.$ac_objext; then
17581 bakefile_cv_cxx_compiler___xlC__=yes
17582 else
17583 echo "$as_me: failed program was:" >&5
17584 sed 's/^/| /' conftest.$ac_ext >&5
17585
17586 bakefile_cv_cxx_compiler___xlC__=no
17587
17588 fi
17589
17590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17591
17592
17593 fi
17594 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17595 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17596 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17597 :; XLCXX=yes
17598 else
17599 :;
17600 fi
17601 ac_ext=c
17602 ac_cpp='$CPP $CPPFLAGS'
17603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17606
17607
17608
17609 ;;
17610
17611 Darwin)
17612
17613
17614 ac_ext=cpp
17615 ac_cpp='$CXXCPP $CPPFLAGS'
17616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17619
17620 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17621 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17622 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17623 echo $ECHO_N "(cached) $ECHO_C" >&6
17624 else
17625 cat >conftest.$ac_ext <<_ACEOF
17626 /* confdefs.h. */
17627 _ACEOF
17628 cat confdefs.h >>conftest.$ac_ext
17629 cat >>conftest.$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17631
17632 int
17633 main ()
17634 {
17635
17636 #ifndef __MWERKS__
17637 choke me
17638 #endif
17639
17640 ;
17641 return 0;
17642 }
17643 _ACEOF
17644 rm -f conftest.$ac_objext
17645 if { (ac_try="$ac_compile"
17646 case "(($ac_try" in
17647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17648 *) ac_try_echo=$ac_try;;
17649 esac
17650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17651 (eval "$ac_compile") 2>conftest.er1
17652 ac_status=$?
17653 grep -v '^ *+' conftest.er1 >conftest.err
17654 rm -f conftest.er1
17655 cat conftest.err >&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } && {
17658 test -z "$ac_cxx_werror_flag" ||
17659 test ! -s conftest.err
17660 } && test -s conftest.$ac_objext; then
17661 bakefile_cv_cxx_compiler___MWERKS__=yes
17662 else
17663 echo "$as_me: failed program was:" >&5
17664 sed 's/^/| /' conftest.$ac_ext >&5
17665
17666 bakefile_cv_cxx_compiler___MWERKS__=no
17667
17668 fi
17669
17670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17671
17672
17673 fi
17674 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17675 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17676 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17677 :; MWCXX=yes
17678 else
17679 :;
17680 fi
17681 ac_ext=c
17682 ac_cpp='$CPP $CPPFLAGS'
17683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17686
17687
17688
17689 if test "$MWCXX" != "yes"; then
17690
17691
17692 ac_ext=cpp
17693 ac_cpp='$CXXCPP $CPPFLAGS'
17694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17697
17698 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17699 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17700 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17701 echo $ECHO_N "(cached) $ECHO_C" >&6
17702 else
17703 cat >conftest.$ac_ext <<_ACEOF
17704 /* confdefs.h. */
17705 _ACEOF
17706 cat confdefs.h >>conftest.$ac_ext
17707 cat >>conftest.$ac_ext <<_ACEOF
17708 /* end confdefs.h. */
17709
17710 int
17711 main ()
17712 {
17713
17714 #ifndef __xlC__
17715 choke me
17716 #endif
17717
17718 ;
17719 return 0;
17720 }
17721 _ACEOF
17722 rm -f conftest.$ac_objext
17723 if { (ac_try="$ac_compile"
17724 case "(($ac_try" in
17725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17726 *) ac_try_echo=$ac_try;;
17727 esac
17728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17729 (eval "$ac_compile") 2>conftest.er1
17730 ac_status=$?
17731 grep -v '^ *+' conftest.er1 >conftest.err
17732 rm -f conftest.er1
17733 cat conftest.err >&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); } && {
17736 test -z "$ac_cxx_werror_flag" ||
17737 test ! -s conftest.err
17738 } && test -s conftest.$ac_objext; then
17739 bakefile_cv_cxx_compiler___xlC__=yes
17740 else
17741 echo "$as_me: failed program was:" >&5
17742 sed 's/^/| /' conftest.$ac_ext >&5
17743
17744 bakefile_cv_cxx_compiler___xlC__=no
17745
17746 fi
17747
17748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17749
17750
17751 fi
17752 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17753 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17754 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17755 :; XLCXX=yes
17756 else
17757 :;
17758 fi
17759 ac_ext=c
17760 ac_cpp='$CPP $CPPFLAGS'
17761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17764
17765
17766
17767 fi
17768 ;;
17769
17770 IRIX*)
17771
17772
17773 ac_ext=cpp
17774 ac_cpp='$CXXCPP $CPPFLAGS'
17775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17778
17779 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17780 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17781 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17782 echo $ECHO_N "(cached) $ECHO_C" >&6
17783 else
17784 cat >conftest.$ac_ext <<_ACEOF
17785 /* confdefs.h. */
17786 _ACEOF
17787 cat confdefs.h >>conftest.$ac_ext
17788 cat >>conftest.$ac_ext <<_ACEOF
17789 /* end confdefs.h. */
17790
17791 int
17792 main ()
17793 {
17794
17795 #ifndef _SGI_COMPILER_VERSION
17796 choke me
17797 #endif
17798
17799 ;
17800 return 0;
17801 }
17802 _ACEOF
17803 rm -f conftest.$ac_objext
17804 if { (ac_try="$ac_compile"
17805 case "(($ac_try" in
17806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17807 *) ac_try_echo=$ac_try;;
17808 esac
17809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17810 (eval "$ac_compile") 2>conftest.er1
17811 ac_status=$?
17812 grep -v '^ *+' conftest.er1 >conftest.err
17813 rm -f conftest.er1
17814 cat conftest.err >&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); } && {
17817 test -z "$ac_cxx_werror_flag" ||
17818 test ! -s conftest.err
17819 } && test -s conftest.$ac_objext; then
17820 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17821 else
17822 echo "$as_me: failed program was:" >&5
17823 sed 's/^/| /' conftest.$ac_ext >&5
17824
17825 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17826
17827 fi
17828
17829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17830
17831
17832 fi
17833 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17834 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17835 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17836 :; SGICXX=yes
17837 else
17838 :;
17839 fi
17840 ac_ext=c
17841 ac_cpp='$CPP $CPPFLAGS'
17842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17845
17846
17847
17848 ;;
17849
17850 Linux*)
17851 if test "$INTELCXX" != "yes"; then
17852
17853
17854 ac_ext=cpp
17855 ac_cpp='$CXXCPP $CPPFLAGS'
17856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17859
17860 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17861 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17862 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17863 echo $ECHO_N "(cached) $ECHO_C" >&6
17864 else
17865 cat >conftest.$ac_ext <<_ACEOF
17866 /* confdefs.h. */
17867 _ACEOF
17868 cat confdefs.h >>conftest.$ac_ext
17869 cat >>conftest.$ac_ext <<_ACEOF
17870 /* end confdefs.h. */
17871
17872 int
17873 main ()
17874 {
17875
17876 #ifndef __SUNPRO_CC
17877 choke me
17878 #endif
17879
17880 ;
17881 return 0;
17882 }
17883 _ACEOF
17884 rm -f conftest.$ac_objext
17885 if { (ac_try="$ac_compile"
17886 case "(($ac_try" in
17887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17888 *) ac_try_echo=$ac_try;;
17889 esac
17890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17891 (eval "$ac_compile") 2>conftest.er1
17892 ac_status=$?
17893 grep -v '^ *+' conftest.er1 >conftest.err
17894 rm -f conftest.er1
17895 cat conftest.err >&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); } && {
17898 test -z "$ac_cxx_werror_flag" ||
17899 test ! -s conftest.err
17900 } && test -s conftest.$ac_objext; then
17901 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17902 else
17903 echo "$as_me: failed program was:" >&5
17904 sed 's/^/| /' conftest.$ac_ext >&5
17905
17906 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17907
17908 fi
17909
17910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17911
17912
17913 fi
17914 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17915 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17916 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17917 :; SUNCXX=yes
17918 else
17919 :;
17920 fi
17921 ac_ext=c
17922 ac_cpp='$CPP $CPPFLAGS'
17923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17926
17927
17928
17929 fi
17930 ;;
17931
17932 HP-UX*)
17933
17934
17935 ac_ext=cpp
17936 ac_cpp='$CXXCPP $CPPFLAGS'
17937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17940
17941 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17942 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17943 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17944 echo $ECHO_N "(cached) $ECHO_C" >&6
17945 else
17946 cat >conftest.$ac_ext <<_ACEOF
17947 /* confdefs.h. */
17948 _ACEOF
17949 cat confdefs.h >>conftest.$ac_ext
17950 cat >>conftest.$ac_ext <<_ACEOF
17951 /* end confdefs.h. */
17952
17953 int
17954 main ()
17955 {
17956
17957 #ifndef __HP_aCC
17958 choke me
17959 #endif
17960
17961 ;
17962 return 0;
17963 }
17964 _ACEOF
17965 rm -f conftest.$ac_objext
17966 if { (ac_try="$ac_compile"
17967 case "(($ac_try" in
17968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17969 *) ac_try_echo=$ac_try;;
17970 esac
17971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17972 (eval "$ac_compile") 2>conftest.er1
17973 ac_status=$?
17974 grep -v '^ *+' conftest.er1 >conftest.err
17975 rm -f conftest.er1
17976 cat conftest.err >&5
17977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978 (exit $ac_status); } && {
17979 test -z "$ac_cxx_werror_flag" ||
17980 test ! -s conftest.err
17981 } && test -s conftest.$ac_objext; then
17982 bakefile_cv_cxx_compiler___HP_aCC=yes
17983 else
17984 echo "$as_me: failed program was:" >&5
17985 sed 's/^/| /' conftest.$ac_ext >&5
17986
17987 bakefile_cv_cxx_compiler___HP_aCC=no
17988
17989 fi
17990
17991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17992
17993
17994 fi
17995 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17996 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17997 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17998 :; HPCXX=yes
17999 else
18000 :;
18001 fi
18002 ac_ext=c
18003 ac_cpp='$CPP $CPPFLAGS'
18004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18007
18008
18009
18010 ;;
18011
18012 OSF1)
18013
18014
18015 ac_ext=cpp
18016 ac_cpp='$CXXCPP $CPPFLAGS'
18017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18020
18021 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18022 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18023 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18024 echo $ECHO_N "(cached) $ECHO_C" >&6
18025 else
18026 cat >conftest.$ac_ext <<_ACEOF
18027 /* confdefs.h. */
18028 _ACEOF
18029 cat confdefs.h >>conftest.$ac_ext
18030 cat >>conftest.$ac_ext <<_ACEOF
18031 /* end confdefs.h. */
18032
18033 int
18034 main ()
18035 {
18036
18037 #ifndef __DECCXX
18038 choke me
18039 #endif
18040
18041 ;
18042 return 0;
18043 }
18044 _ACEOF
18045 rm -f conftest.$ac_objext
18046 if { (ac_try="$ac_compile"
18047 case "(($ac_try" in
18048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18049 *) ac_try_echo=$ac_try;;
18050 esac
18051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18052 (eval "$ac_compile") 2>conftest.er1
18053 ac_status=$?
18054 grep -v '^ *+' conftest.er1 >conftest.err
18055 rm -f conftest.er1
18056 cat conftest.err >&5
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); } && {
18059 test -z "$ac_cxx_werror_flag" ||
18060 test ! -s conftest.err
18061 } && test -s conftest.$ac_objext; then
18062 bakefile_cv_cxx_compiler___DECCXX=yes
18063 else
18064 echo "$as_me: failed program was:" >&5
18065 sed 's/^/| /' conftest.$ac_ext >&5
18066
18067 bakefile_cv_cxx_compiler___DECCXX=no
18068
18069 fi
18070
18071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18072
18073
18074 fi
18075 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18076 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18077 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18078 :; COMPAQCXX=yes
18079 else
18080 :;
18081 fi
18082 ac_ext=c
18083 ac_cpp='$CPP $CPPFLAGS'
18084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18087
18088
18089
18090 ;;
18091
18092 SunOS)
18093
18094
18095 ac_ext=cpp
18096 ac_cpp='$CXXCPP $CPPFLAGS'
18097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18100
18101 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18102 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18103 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18104 echo $ECHO_N "(cached) $ECHO_C" >&6
18105 else
18106 cat >conftest.$ac_ext <<_ACEOF
18107 /* confdefs.h. */
18108 _ACEOF
18109 cat confdefs.h >>conftest.$ac_ext
18110 cat >>conftest.$ac_ext <<_ACEOF
18111 /* end confdefs.h. */
18112
18113 int
18114 main ()
18115 {
18116
18117 #ifndef __SUNPRO_CC
18118 choke me
18119 #endif
18120
18121 ;
18122 return 0;
18123 }
18124 _ACEOF
18125 rm -f conftest.$ac_objext
18126 if { (ac_try="$ac_compile"
18127 case "(($ac_try" in
18128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18129 *) ac_try_echo=$ac_try;;
18130 esac
18131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18132 (eval "$ac_compile") 2>conftest.er1
18133 ac_status=$?
18134 grep -v '^ *+' conftest.er1 >conftest.err
18135 rm -f conftest.er1
18136 cat conftest.err >&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); } && {
18139 test -z "$ac_cxx_werror_flag" ||
18140 test ! -s conftest.err
18141 } && test -s conftest.$ac_objext; then
18142 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18143 else
18144 echo "$as_me: failed program was:" >&5
18145 sed 's/^/| /' conftest.$ac_ext >&5
18146
18147 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18148
18149 fi
18150
18151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18152
18153
18154 fi
18155 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18156 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18157 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18158 :; SUNCXX=yes
18159 else
18160 :;
18161 fi
18162 ac_ext=c
18163 ac_cpp='$CPP $CPPFLAGS'
18164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18167
18168
18169
18170 ;;
18171 esac
18172 fi
18173
18174
18175
18176 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18177 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18178 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18179 { (exit 1); exit 1; }; }
18180 fi
18181
18182 if test "x$SUNCXX" != xyes; then
18183 if test -n "$ac_tool_prefix"; then
18184 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18185 set dummy ${ac_tool_prefix}ar; ac_word=$2
18186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18188 if test "${ac_cv_prog_AR+set}" = set; then
18189 echo $ECHO_N "(cached) $ECHO_C" >&6
18190 else
18191 if test -n "$AR"; then
18192 ac_cv_prog_AR="$AR" # Let the user override the test.
18193 else
18194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18195 for as_dir in $PATH
18196 do
18197 IFS=$as_save_IFS
18198 test -z "$as_dir" && as_dir=.
18199 for ac_exec_ext in '' $ac_executable_extensions; do
18200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18201 ac_cv_prog_AR="${ac_tool_prefix}ar"
18202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18203 break 2
18204 fi
18205 done
18206 done
18207 IFS=$as_save_IFS
18208
18209 fi
18210 fi
18211 AR=$ac_cv_prog_AR
18212 if test -n "$AR"; then
18213 { echo "$as_me:$LINENO: result: $AR" >&5
18214 echo "${ECHO_T}$AR" >&6; }
18215 else
18216 { echo "$as_me:$LINENO: result: no" >&5
18217 echo "${ECHO_T}no" >&6; }
18218 fi
18219
18220
18221 fi
18222 if test -z "$ac_cv_prog_AR"; then
18223 ac_ct_AR=$AR
18224 # Extract the first word of "ar", so it can be a program name with args.
18225 set dummy ar; ac_word=$2
18226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18228 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18229 echo $ECHO_N "(cached) $ECHO_C" >&6
18230 else
18231 if test -n "$ac_ct_AR"; then
18232 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18233 else
18234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18235 for as_dir in $PATH
18236 do
18237 IFS=$as_save_IFS
18238 test -z "$as_dir" && as_dir=.
18239 for ac_exec_ext in '' $ac_executable_extensions; do
18240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18241 ac_cv_prog_ac_ct_AR="ar"
18242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18243 break 2
18244 fi
18245 done
18246 done
18247 IFS=$as_save_IFS
18248
18249 fi
18250 fi
18251 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18252 if test -n "$ac_ct_AR"; then
18253 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18254 echo "${ECHO_T}$ac_ct_AR" >&6; }
18255 else
18256 { echo "$as_me:$LINENO: result: no" >&5
18257 echo "${ECHO_T}no" >&6; }
18258 fi
18259
18260 if test "x$ac_ct_AR" = x; then
18261 AR=""
18262 else
18263 case $cross_compiling:$ac_tool_warned in
18264 yes:)
18265 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18266 whose name does not start with the host triplet. If you think this
18267 configuration is useful to you, please write to autoconf@gnu.org." >&5
18268 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18269 whose name does not start with the host triplet. If you think this
18270 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18271 ac_tool_warned=yes ;;
18272 esac
18273 AR=$ac_ct_AR
18274 fi
18275 else
18276 AR="$ac_cv_prog_AR"
18277 fi
18278
18279 if test "x$AR" = "x" ; then
18280 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18281 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18282 { (exit 1); exit 1; }; }
18283 fi
18284 fi
18285
18286
18287 if test "$wxUSE_MAC" = 1; then
18288
18289 retest_macosx_linking=no
18290
18291 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18292 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18293 # Implicitly turn on the new --with-macosx-sdk using the default
18294 # SDK which provides the behavior this option has always had.
18295 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18296 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18297 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18298 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18299 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18300 wxUSE_MACOSX_SDK=yes
18301 fi
18302 else
18303 # Complain to user if he specified an argument to --enable-universal_binary
18304 # and also 1) specified --with-macosx-sdk using the default (yes) or
18305 # 2) specified --with-macosx-sdk using a path or 3) specified
18306 # --without-macosx-sdk (no).
18307 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18308 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18309 See \`config.log' for more details." >&5
18310 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18311 See \`config.log' for more details." >&2;}
18312 { (exit 1); exit 1; }; }
18313 else
18314 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18315 # special-case the empty string because the below test simply
18316 # converts "no" to the empty string anyway.
18317 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18318 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18319 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18320 fi
18321 fi
18322 OSX_UNIV_OPTS="-arch ppc -arch i386"
18323 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18324 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18325 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18326 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18327 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18328 retest_macosx_linking=yes
18329
18330 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18331 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18332 bk_use_pch=no
18333 fi
18334
18335 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18336 wxUSE_MACOSX_SDK=
18337 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18338 # TODO: Search for most recent SDK and use it.
18339 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18340 fi
18341
18342
18343 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18344 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18345 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18346 if ! test -d "$wxUSE_MACOSX_SDK"; then
18347 { { echo "$as_me:$LINENO: error: not found
18348 See \`config.log' for more details." >&5
18349 echo "$as_me: error: not found
18350 See \`config.log' for more details." >&2;}
18351 { (exit 1); exit 1; }; }
18352 else
18353 { echo "$as_me:$LINENO: result: exists" >&5
18354 echo "${ECHO_T}exists" >&6; }
18355 fi
18356 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18357 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18358 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18359 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18360 retest_macosx_linking=yes
18361 fi
18362
18363 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18364 wxUSE_MACOSX_VERSION_MIN=
18365 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18366 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18367 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18368 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18369
18370 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/'`
18371
18372 # If that failed, try again with the new key
18373 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18374
18375 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/'`
18376
18377 fi
18378
18379 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18380 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18381 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18382 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18383 else
18384 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18385 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18386 wxUSE_MACOSX_VERSION_MIN=
18387 fi
18388 else
18389 wxUSE_MACOSX_VERSION_MIN=
18390 fi
18391 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18392 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18393 if test "$wxUSE_OSX_CARBON" = 1 -o "x$OSX_VERSION" = "x10.4"; then
18394 # otherwise configure stops on leopard for universal_binary
18395 wxUSE_MACOSX_VERSION_MIN=10.4
18396 else
18397 # for OS X Cocoa, use 10.5 so we can get 64-bit compile on Snow Leopard
18398 wxUSE_MACOSX_VERSION_MIN=10.5
18399 fi
18400 fi
18401
18402 NEEDS_GCC40="no"
18403 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18404 NEEDS_GCC40="yes"
18405 fi
18406
18407 if test "$wxUSE_OSX_CARBON" = 1; then
18408 NEEDS_GCC40="yes"
18409 fi
18410
18411 if test "x$NEEDS_GCC40" == "xyes"; then
18412 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18413 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18414 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18415 if test "x$CC" = "xgcc"; then
18416 CCVERSION=`$CC --version | grep 4.[2-9].`
18417 if test "x$CCVERSION" != "x"; then
18418 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18419 CC="/usr/bin/gcc-4.0"
18420 fi
18421 fi
18422
18423 if test "x$CXX" = "xg++"; then
18424 CCVERSION=`$CXX --version | grep 4.[2-9].`
18425 if test "x$CCVERSION" != "x"; then
18426 CXX="/usr/bin/g++-4.0"
18427 fi
18428 fi
18429 fi
18430
18431 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18432 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18433 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18434 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18435 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18436 retest_macosx_linking=yes
18437 fi
18438
18439 if test "x$retest_macosx_linking" = "xyes"; then
18440 ac_ext=c
18441 ac_cpp='$CPP $CPPFLAGS'
18442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18445
18446 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18447 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18448 cat >conftest.$ac_ext <<_ACEOF
18449 /* confdefs.h. */
18450 _ACEOF
18451 cat confdefs.h >>conftest.$ac_ext
18452 cat >>conftest.$ac_ext <<_ACEOF
18453 /* end confdefs.h. */
18454
18455 int
18456 main ()
18457 {
18458
18459 ;
18460 return 0;
18461 }
18462 _ACEOF
18463 rm -f conftest.$ac_objext conftest$ac_exeext
18464 if { (ac_try="$ac_link"
18465 case "(($ac_try" in
18466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18467 *) ac_try_echo=$ac_try;;
18468 esac
18469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18470 (eval "$ac_link") 2>conftest.er1
18471 ac_status=$?
18472 grep -v '^ *+' conftest.er1 >conftest.err
18473 rm -f conftest.er1
18474 cat conftest.err >&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); } && {
18477 test -z "$ac_c_werror_flag" ||
18478 test ! -s conftest.err
18479 } && test -s conftest$ac_exeext &&
18480 $as_test_x conftest$ac_exeext; then
18481 { echo "$as_me:$LINENO: result: yes" >&5
18482 echo "${ECHO_T}yes" >&6; }
18483 else
18484 echo "$as_me: failed program was:" >&5
18485 sed 's/^/| /' conftest.$ac_ext >&5
18486
18487 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18488 See \`config.log' for more details." >&5
18489 echo "$as_me: error: no. Try a different SDK
18490 See \`config.log' for more details." >&2;}
18491 { (exit 1); exit 1; }; }; exit 1
18492 fi
18493
18494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18495 conftest$ac_exeext conftest.$ac_ext
18496 ac_ext=c
18497 ac_cpp='$CPP $CPPFLAGS'
18498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18501
18502
18503 ac_ext=cpp
18504 ac_cpp='$CXXCPP $CPPFLAGS'
18505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18508
18509 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18510 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18511 cat >conftest.$ac_ext <<_ACEOF
18512 /* confdefs.h. */
18513 _ACEOF
18514 cat confdefs.h >>conftest.$ac_ext
18515 cat >>conftest.$ac_ext <<_ACEOF
18516 /* end confdefs.h. */
18517
18518 int
18519 main ()
18520 {
18521
18522 ;
18523 return 0;
18524 }
18525 _ACEOF
18526 rm -f conftest.$ac_objext conftest$ac_exeext
18527 if { (ac_try="$ac_link"
18528 case "(($ac_try" in
18529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18530 *) ac_try_echo=$ac_try;;
18531 esac
18532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18533 (eval "$ac_link") 2>conftest.er1
18534 ac_status=$?
18535 grep -v '^ *+' conftest.er1 >conftest.err
18536 rm -f conftest.er1
18537 cat conftest.err >&5
18538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18539 (exit $ac_status); } && {
18540 test -z "$ac_cxx_werror_flag" ||
18541 test ! -s conftest.err
18542 } && test -s conftest$ac_exeext &&
18543 $as_test_x conftest$ac_exeext; then
18544 { echo "$as_me:$LINENO: result: yes" >&5
18545 echo "${ECHO_T}yes" >&6; }
18546 else
18547 echo "$as_me: failed program was:" >&5
18548 sed 's/^/| /' conftest.$ac_ext >&5
18549
18550 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18551 See \`config.log' for more details." >&5
18552 echo "$as_me: error: no. Try a different SDK
18553 See \`config.log' for more details." >&2;}
18554 { (exit 1); exit 1; }; }; exit 1
18555 fi
18556
18557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18558 conftest$ac_exeext conftest.$ac_ext
18559 ac_ext=c
18560 ac_cpp='$CPP $CPPFLAGS'
18561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18564
18565 fi
18566
18567 fi
18568 case "${host}" in
18569
18570 *-*-darwin* )
18571 INSTALL_PROGRAM="cp -fp"
18572 INSTALL_DATA="cp -fp"
18573 ;;
18574 *)
18575 ;;
18576 esac
18577
18578
18579 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18580 CXXFLAGS="-qunique $CXXFLAGS"
18581 fi
18582
18583 case "${host}" in
18584 powerpc-*-darwin* )
18585 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18586 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18587 cat >conftest.$ac_ext <<_ACEOF
18588 /* confdefs.h. */
18589 _ACEOF
18590 cat confdefs.h >>conftest.$ac_ext
18591 cat >>conftest.$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18593
18594 int
18595 main ()
18596 {
18597 #ifndef __POWERPC__
18598 choke me for lack of PowerPC
18599 #endif
18600
18601 ;
18602 return 0;
18603 }
18604 _ACEOF
18605 rm -f conftest.$ac_objext
18606 if { (ac_try="$ac_compile"
18607 case "(($ac_try" in
18608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18609 *) ac_try_echo=$ac_try;;
18610 esac
18611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18612 (eval "$ac_compile") 2>conftest.er1
18613 ac_status=$?
18614 grep -v '^ *+' conftest.er1 >conftest.err
18615 rm -f conftest.er1
18616 cat conftest.err >&5
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); } && {
18619 test -z "$ac_c_werror_flag" ||
18620 test ! -s conftest.err
18621 } && test -s conftest.$ac_objext; then
18622 { echo "$as_me:$LINENO: result: yes" >&5
18623 echo "${ECHO_T}yes" >&6; }
18624 else
18625 echo "$as_me: failed program was:" >&5
18626 sed 's/^/| /' conftest.$ac_ext >&5
18627
18628 { echo "$as_me:$LINENO: result: no" >&5
18629 echo "${ECHO_T}no" >&6; }
18630 cat >>confdefs.h <<\_ACEOF
18631 #define __POWERPC__ 1
18632 _ACEOF
18633
18634
18635 fi
18636
18637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18638 ;;
18639 esac
18640
18641 case "${host}" in
18642 *-*-darwin* )
18643 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18644 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18645 cat >conftest.$ac_ext <<_ACEOF
18646 /* confdefs.h. */
18647 _ACEOF
18648 cat confdefs.h >>conftest.$ac_ext
18649 cat >>conftest.$ac_ext <<_ACEOF
18650 /* end confdefs.h. */
18651 #include <CoreFoundation/CFBase.h>
18652
18653 int
18654 main ()
18655 {
18656
18657 ;
18658 return 0;
18659 }
18660 _ACEOF
18661 rm -f conftest.$ac_objext
18662 if { (ac_try="$ac_compile"
18663 case "(($ac_try" in
18664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18665 *) ac_try_echo=$ac_try;;
18666 esac
18667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18668 (eval "$ac_compile") 2>conftest.er1
18669 ac_status=$?
18670 grep -v '^ *+' conftest.er1 >conftest.err
18671 rm -f conftest.er1
18672 cat conftest.err >&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); } && {
18675 test -z "$ac_c_werror_flag" ||
18676 test ! -s conftest.err
18677 } && test -s conftest.$ac_objext; then
18678 { echo "$as_me:$LINENO: result: yes" >&5
18679 echo "${ECHO_T}yes" >&6; }
18680 else
18681 echo "$as_me: failed program was:" >&5
18682 sed 's/^/| /' conftest.$ac_ext >&5
18683
18684 { echo "$as_me:$LINENO: result: no" >&5
18685 echo "${ECHO_T}no" >&6; }
18686 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18687 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18688 cat >conftest.$ac_ext <<_ACEOF
18689 /* confdefs.h. */
18690 _ACEOF
18691 cat confdefs.h >>conftest.$ac_ext
18692 cat >>conftest.$ac_ext <<_ACEOF
18693 /* end confdefs.h. */
18694 #define __CF_USE_FRAMEWORK_INCLUDES__
18695 #include <CoreFoundation/CFBase.h>
18696
18697 int
18698 main ()
18699 {
18700
18701 ;
18702 return 0;
18703 }
18704 _ACEOF
18705 rm -f conftest.$ac_objext
18706 if { (ac_try="$ac_compile"
18707 case "(($ac_try" in
18708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18709 *) ac_try_echo=$ac_try;;
18710 esac
18711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18712 (eval "$ac_compile") 2>conftest.er1
18713 ac_status=$?
18714 grep -v '^ *+' conftest.er1 >conftest.err
18715 rm -f conftest.er1
18716 cat conftest.err >&5
18717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18718 (exit $ac_status); } && {
18719 test -z "$ac_c_werror_flag" ||
18720 test ! -s conftest.err
18721 } && test -s conftest.$ac_objext; then
18722 { echo "$as_me:$LINENO: result: yes" >&5
18723 echo "${ECHO_T}yes" >&6; }
18724 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18725 else
18726 echo "$as_me: failed program was:" >&5
18727 sed 's/^/| /' conftest.$ac_ext >&5
18728
18729 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18730 See \`config.log' for more details." >&5
18731 echo "$as_me: error: no. CoreFoundation not available.
18732 See \`config.log' for more details." >&2;}
18733 { (exit 1); exit 1; }; }
18734
18735 fi
18736
18737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18738
18739
18740 fi
18741
18742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18743 ;;
18744 esac
18745
18746 wants_win32=0
18747 doesnt_want_win32=0
18748 case "${host}" in
18749 *-*-cygwin*)
18750 if test "$wxUSE_MSW" = 1 ; then
18751 wants_win32=1
18752 else
18753 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18754 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18755 if test "${wx_cv_nocygwin+set}" = set; then
18756 echo $ECHO_N "(cached) $ECHO_C" >&6
18757 else
18758
18759 cat >conftest.$ac_ext <<_ACEOF
18760 /* confdefs.h. */
18761 _ACEOF
18762 cat confdefs.h >>conftest.$ac_ext
18763 cat >>conftest.$ac_ext <<_ACEOF
18764 /* end confdefs.h. */
18765
18766 int
18767 main ()
18768 {
18769
18770 #ifdef __MINGW32__
18771 choke me
18772 #endif
18773
18774 ;
18775 return 0;
18776 }
18777 _ACEOF
18778 rm -f conftest.$ac_objext
18779 if { (ac_try="$ac_compile"
18780 case "(($ac_try" in
18781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18782 *) ac_try_echo=$ac_try;;
18783 esac
18784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18785 (eval "$ac_compile") 2>conftest.er1
18786 ac_status=$?
18787 grep -v '^ *+' conftest.er1 >conftest.err
18788 rm -f conftest.er1
18789 cat conftest.err >&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); } && {
18792 test -z "$ac_c_werror_flag" ||
18793 test ! -s conftest.err
18794 } && test -s conftest.$ac_objext; then
18795 wx_cv_nocygwin=no
18796 else
18797 echo "$as_me: failed program was:" >&5
18798 sed 's/^/| /' conftest.$ac_ext >&5
18799
18800 wx_cv_nocygwin=yes
18801
18802 fi
18803
18804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18805
18806
18807 fi
18808 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18809 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18810
18811 if test "$wx_cv_nocygwin" = "yes"; then
18812 wants_win32=1
18813 else
18814 doesnt_want_win32=1
18815 fi
18816 fi
18817 if test "$wants_win32" = 1 ; then
18818 BAKEFILE_FORCE_PLATFORM=win32
18819 fi
18820 ;;
18821 *-*-mingw*)
18822 wants_win32=1
18823 ;;
18824 esac
18825
18826 if test "$wxUSE_WINE" = "yes"; then
18827 wants_win32=1
18828 LDFLAGS_GUI="-mwindows"
18829 fi
18830
18831 if test "$wants_win32" = 1 ; then
18832 USE_UNIX=0
18833 USE_WIN32=1
18834 cat >>confdefs.h <<\_ACEOF
18835 #define __WIN32__ 1
18836 _ACEOF
18837
18838 cat >>confdefs.h <<\_ACEOF
18839 #define __WIN95__ 1
18840 _ACEOF
18841
18842 cat >>confdefs.h <<\_ACEOF
18843 #define __WINDOWS__ 1
18844 _ACEOF
18845
18846 cat >>confdefs.h <<\_ACEOF
18847 #define __GNUWIN32__ 1
18848 _ACEOF
18849
18850 cat >>confdefs.h <<\_ACEOF
18851 #define STRICT 1
18852 _ACEOF
18853
18854 fi
18855 if test "$doesnt_want_win32" = 1 ; then
18856 USE_UNIX=1
18857 USE_WIN32=0
18858 fi
18859
18860 if test "$USE_UNIX" = 1 ; then
18861 wxUSE_UNIX=yes
18862 cat >>confdefs.h <<\_ACEOF
18863 #define __UNIX__ 1
18864 _ACEOF
18865
18866 fi
18867
18868 case "${host}" in
18869 *-pc-os2_emx | *-pc-os2-emx )
18870 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18871 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18872 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18873 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18874 echo $ECHO_N "(cached) $ECHO_C" >&6
18875 else
18876 ac_check_lib_save_LIBS=$LIBS
18877 LIBS="-lcExt $LIBS"
18878 cat >conftest.$ac_ext <<_ACEOF
18879 /* confdefs.h. */
18880 _ACEOF
18881 cat confdefs.h >>conftest.$ac_ext
18882 cat >>conftest.$ac_ext <<_ACEOF
18883 /* end confdefs.h. */
18884
18885 /* Override any GCC internal prototype to avoid an error.
18886 Use char because int might match the return type of a GCC
18887 builtin and then its argument prototype would still apply. */
18888 #ifdef __cplusplus
18889 extern "C"
18890 #endif
18891 char drand48 ();
18892 int
18893 main ()
18894 {
18895 return drand48 ();
18896 ;
18897 return 0;
18898 }
18899 _ACEOF
18900 rm -f conftest.$ac_objext conftest$ac_exeext
18901 if { (ac_try="$ac_link"
18902 case "(($ac_try" in
18903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18904 *) ac_try_echo=$ac_try;;
18905 esac
18906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18907 (eval "$ac_link") 2>conftest.er1
18908 ac_status=$?
18909 grep -v '^ *+' conftest.er1 >conftest.err
18910 rm -f conftest.er1
18911 cat conftest.err >&5
18912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18913 (exit $ac_status); } && {
18914 test -z "$ac_c_werror_flag" ||
18915 test ! -s conftest.err
18916 } && test -s conftest$ac_exeext &&
18917 $as_test_x conftest$ac_exeext; then
18918 ac_cv_lib_cExt_drand48=yes
18919 else
18920 echo "$as_me: failed program was:" >&5
18921 sed 's/^/| /' conftest.$ac_ext >&5
18922
18923 ac_cv_lib_cExt_drand48=no
18924 fi
18925
18926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18927 conftest$ac_exeext conftest.$ac_ext
18928 LIBS=$ac_check_lib_save_LIBS
18929 fi
18930 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18931 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18932 if test $ac_cv_lib_cExt_drand48 = yes; then
18933 LIBS="$LIBS -lcExt"
18934 fi
18935
18936 else
18937 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18938 fi
18939 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18940 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18941 if test "${wx_cv_gccversion+set}" = set; then
18942 echo $ECHO_N "(cached) $ECHO_C" >&6
18943 else
18944
18945 if test "$cross_compiling" = yes; then
18946 wx_cv_gccversion="EMX2"
18947
18948 else
18949 cat >conftest.$ac_ext <<_ACEOF
18950 /* confdefs.h. */
18951 _ACEOF
18952 cat confdefs.h >>conftest.$ac_ext
18953 cat >>conftest.$ac_ext <<_ACEOF
18954 /* end confdefs.h. */
18955
18956 #include <stdio.h>
18957
18958 int main()
18959 {
18960 FILE *f=fopen("conftestval", "w");
18961 if (!f) exit(1);
18962 fprintf(f,
18963 #if (__GNUC__ < 3)
18964 "EMX2"
18965 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18966 "EMX3"
18967 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18968 "Innotek5"
18969 #else
18970 "Innotek6"
18971 #endif
18972 );
18973 exit(0);
18974 }
18975
18976 _ACEOF
18977 rm -f conftest$ac_exeext
18978 if { (ac_try="$ac_link"
18979 case "(($ac_try" in
18980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18981 *) ac_try_echo=$ac_try;;
18982 esac
18983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18984 (eval "$ac_link") 2>&5
18985 ac_status=$?
18986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18987 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18988 { (case "(($ac_try" in
18989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18990 *) ac_try_echo=$ac_try;;
18991 esac
18992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18993 (eval "$ac_try") 2>&5
18994 ac_status=$?
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); }; }; then
18997 wx_cv_gccversion=`cat conftestval`
18998 else
18999 echo "$as_me: program exited with status $ac_status" >&5
19000 echo "$as_me: failed program was:" >&5
19001 sed 's/^/| /' conftest.$ac_ext >&5
19002
19003 ( exit $ac_status )
19004 wx_cv_gccversion="EMX2"
19005 fi
19006 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19007 fi
19008
19009
19010
19011 fi
19012 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19013 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19014 if test "$wx_cv_gccversion" = "EMX2"; then
19015 LIBS="$LIBS -lstdcpp"
19016 LDFLAGS="$LDFLAGS -Zsysv-signals"
19017 else
19018 if test "$wx_cv_gccversion" = "EMX3"; then
19019 LIBS="$LIBS -lstdcxx -lgcc"
19020 LDFLAGS="$LDFLAGS -Zsysv-signals"
19021 else
19022 LIBS="$LIBS -lstdc++"
19023 fi
19024 fi
19025 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19026 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19027 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19028 wxUSE_OMF=yes
19029 enable_omf=yes
19030 fi
19031 ;;
19032 *)
19033
19034 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19035 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19036 if test "${ac_cv_string_strcasecmp+set}" = set; then
19037 echo $ECHO_N "(cached) $ECHO_C" >&6
19038 else
19039
19040 cat >conftest.$ac_ext <<_ACEOF
19041 /* confdefs.h. */
19042 _ACEOF
19043 cat confdefs.h >>conftest.$ac_ext
19044 cat >>conftest.$ac_ext <<_ACEOF
19045 /* end confdefs.h. */
19046
19047 #include <string.h>
19048
19049 int
19050 main ()
19051 {
19052
19053 strcasecmp("foo", "bar");
19054
19055 ;
19056 return 0;
19057 }
19058 _ACEOF
19059 rm -f conftest.$ac_objext conftest$ac_exeext
19060 if { (ac_try="$ac_link"
19061 case "(($ac_try" in
19062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19063 *) ac_try_echo=$ac_try;;
19064 esac
19065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19066 (eval "$ac_link") 2>conftest.er1
19067 ac_status=$?
19068 grep -v '^ *+' conftest.er1 >conftest.err
19069 rm -f conftest.er1
19070 cat conftest.err >&5
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); } && {
19073 test -z "$ac_c_werror_flag" ||
19074 test ! -s conftest.err
19075 } && test -s conftest$ac_exeext &&
19076 $as_test_x conftest$ac_exeext; then
19077 ac_cv_string_strcasecmp=yes
19078 else
19079 echo "$as_me: failed program was:" >&5
19080 sed 's/^/| /' conftest.$ac_ext >&5
19081
19082 ac_cv_string_strcasecmp=no
19083
19084 fi
19085
19086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19087 conftest$ac_exeext conftest.$ac_ext
19088
19089 fi
19090 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19091 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19092
19093 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19094 cat >>confdefs.h <<\_ACEOF
19095 #define HAVE_STRCASECMP_IN_STRING_H 1
19096 _ACEOF
19097
19098 else
19099 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19100 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19101 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19102 echo $ECHO_N "(cached) $ECHO_C" >&6
19103 else
19104
19105 cat >conftest.$ac_ext <<_ACEOF
19106 /* confdefs.h. */
19107 _ACEOF
19108 cat confdefs.h >>conftest.$ac_ext
19109 cat >>conftest.$ac_ext <<_ACEOF
19110 /* end confdefs.h. */
19111
19112 #include <strings.h>
19113
19114 int
19115 main ()
19116 {
19117
19118 strcasecmp("foo", "bar");
19119
19120 ;
19121 return 0;
19122 }
19123 _ACEOF
19124 rm -f conftest.$ac_objext conftest$ac_exeext
19125 if { (ac_try="$ac_link"
19126 case "(($ac_try" in
19127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19128 *) ac_try_echo=$ac_try;;
19129 esac
19130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19131 (eval "$ac_link") 2>conftest.er1
19132 ac_status=$?
19133 grep -v '^ *+' conftest.er1 >conftest.err
19134 rm -f conftest.er1
19135 cat conftest.err >&5
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); } && {
19138 test -z "$ac_c_werror_flag" ||
19139 test ! -s conftest.err
19140 } && test -s conftest$ac_exeext &&
19141 $as_test_x conftest$ac_exeext; then
19142 ac_cv_strings_strcasecmp=yes
19143 else
19144 echo "$as_me: failed program was:" >&5
19145 sed 's/^/| /' conftest.$ac_ext >&5
19146
19147 ac_cv_strings_strcasecmp=no
19148
19149 fi
19150
19151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19152 conftest$ac_exeext conftest.$ac_ext
19153
19154 fi
19155 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19156 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19157
19158 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19159 cat >>confdefs.h <<\_ACEOF
19160 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19161 _ACEOF
19162
19163 else
19164 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19165 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19166 { (exit 1); exit 1; }; }
19167 fi
19168 fi
19169
19170 ;;
19171 esac
19172
19173
19174 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19175 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19176 if test "${ac_cv_header_stdc+set}" = set; then
19177 echo $ECHO_N "(cached) $ECHO_C" >&6
19178 else
19179 cat >conftest.$ac_ext <<_ACEOF
19180 /* confdefs.h. */
19181 _ACEOF
19182 cat confdefs.h >>conftest.$ac_ext
19183 cat >>conftest.$ac_ext <<_ACEOF
19184 /* end confdefs.h. */
19185 #include <stdlib.h>
19186 #include <stdarg.h>
19187 #include <string.h>
19188 #include <float.h>
19189
19190 int
19191 main ()
19192 {
19193
19194 ;
19195 return 0;
19196 }
19197 _ACEOF
19198 rm -f conftest.$ac_objext
19199 if { (ac_try="$ac_compile"
19200 case "(($ac_try" in
19201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19202 *) ac_try_echo=$ac_try;;
19203 esac
19204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19205 (eval "$ac_compile") 2>conftest.er1
19206 ac_status=$?
19207 grep -v '^ *+' conftest.er1 >conftest.err
19208 rm -f conftest.er1
19209 cat conftest.err >&5
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); } && {
19212 test -z "$ac_c_werror_flag" ||
19213 test ! -s conftest.err
19214 } && test -s conftest.$ac_objext; then
19215 ac_cv_header_stdc=yes
19216 else
19217 echo "$as_me: failed program was:" >&5
19218 sed 's/^/| /' conftest.$ac_ext >&5
19219
19220 ac_cv_header_stdc=no
19221 fi
19222
19223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19224
19225 if test $ac_cv_header_stdc = yes; then
19226 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19227 cat >conftest.$ac_ext <<_ACEOF
19228 /* confdefs.h. */
19229 _ACEOF
19230 cat confdefs.h >>conftest.$ac_ext
19231 cat >>conftest.$ac_ext <<_ACEOF
19232 /* end confdefs.h. */
19233 #include <string.h>
19234
19235 _ACEOF
19236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19237 $EGREP "memchr" >/dev/null 2>&1; then
19238 :
19239 else
19240 ac_cv_header_stdc=no
19241 fi
19242 rm -f conftest*
19243
19244 fi
19245
19246 if test $ac_cv_header_stdc = yes; then
19247 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19248 cat >conftest.$ac_ext <<_ACEOF
19249 /* confdefs.h. */
19250 _ACEOF
19251 cat confdefs.h >>conftest.$ac_ext
19252 cat >>conftest.$ac_ext <<_ACEOF
19253 /* end confdefs.h. */
19254 #include <stdlib.h>
19255
19256 _ACEOF
19257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19258 $EGREP "free" >/dev/null 2>&1; then
19259 :
19260 else
19261 ac_cv_header_stdc=no
19262 fi
19263 rm -f conftest*
19264
19265 fi
19266
19267 if test $ac_cv_header_stdc = yes; then
19268 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19269 if test "$cross_compiling" = yes; then
19270 :
19271 else
19272 cat >conftest.$ac_ext <<_ACEOF
19273 /* confdefs.h. */
19274 _ACEOF
19275 cat confdefs.h >>conftest.$ac_ext
19276 cat >>conftest.$ac_ext <<_ACEOF
19277 /* end confdefs.h. */
19278 #include <ctype.h>
19279 #include <stdlib.h>
19280 #if ((' ' & 0x0FF) == 0x020)
19281 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19282 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19283 #else
19284 # define ISLOWER(c) \
19285 (('a' <= (c) && (c) <= 'i') \
19286 || ('j' <= (c) && (c) <= 'r') \
19287 || ('s' <= (c) && (c) <= 'z'))
19288 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19289 #endif
19290
19291 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19292 int
19293 main ()
19294 {
19295 int i;
19296 for (i = 0; i < 256; i++)
19297 if (XOR (islower (i), ISLOWER (i))
19298 || toupper (i) != TOUPPER (i))
19299 return 2;
19300 return 0;
19301 }
19302 _ACEOF
19303 rm -f conftest$ac_exeext
19304 if { (ac_try="$ac_link"
19305 case "(($ac_try" in
19306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19307 *) ac_try_echo=$ac_try;;
19308 esac
19309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19310 (eval "$ac_link") 2>&5
19311 ac_status=$?
19312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19313 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19314 { (case "(($ac_try" in
19315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19316 *) ac_try_echo=$ac_try;;
19317 esac
19318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19319 (eval "$ac_try") 2>&5
19320 ac_status=$?
19321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19322 (exit $ac_status); }; }; then
19323 :
19324 else
19325 echo "$as_me: program exited with status $ac_status" >&5
19326 echo "$as_me: failed program was:" >&5
19327 sed 's/^/| /' conftest.$ac_ext >&5
19328
19329 ( exit $ac_status )
19330 ac_cv_header_stdc=no
19331 fi
19332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19333 fi
19334
19335
19336 fi
19337 fi
19338 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19339 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19340 if test $ac_cv_header_stdc = yes; then
19341
19342 cat >>confdefs.h <<\_ACEOF
19343 #define STDC_HEADERS 1
19344 _ACEOF
19345
19346 fi
19347
19348 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19359 inttypes.h stdint.h unistd.h
19360 do
19361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19365 echo $ECHO_N "(cached) $ECHO_C" >&6
19366 else
19367 cat >conftest.$ac_ext <<_ACEOF
19368 /* confdefs.h. */
19369 _ACEOF
19370 cat confdefs.h >>conftest.$ac_ext
19371 cat >>conftest.$ac_ext <<_ACEOF
19372 /* end confdefs.h. */
19373 $ac_includes_default
19374
19375 #include <$ac_header>
19376 _ACEOF
19377 rm -f conftest.$ac_objext
19378 if { (ac_try="$ac_compile"
19379 case "(($ac_try" in
19380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19381 *) ac_try_echo=$ac_try;;
19382 esac
19383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19384 (eval "$ac_compile") 2>conftest.er1
19385 ac_status=$?
19386 grep -v '^ *+' conftest.er1 >conftest.err
19387 rm -f conftest.er1
19388 cat conftest.err >&5
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); } && {
19391 test -z "$ac_c_werror_flag" ||
19392 test ! -s conftest.err
19393 } && test -s conftest.$ac_objext; then
19394 eval "$as_ac_Header=yes"
19395 else
19396 echo "$as_me: failed program was:" >&5
19397 sed 's/^/| /' conftest.$ac_ext >&5
19398
19399 eval "$as_ac_Header=no"
19400 fi
19401
19402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19403 fi
19404 ac_res=`eval echo '${'$as_ac_Header'}'`
19405 { echo "$as_me:$LINENO: result: $ac_res" >&5
19406 echo "${ECHO_T}$ac_res" >&6; }
19407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19408 cat >>confdefs.h <<_ACEOF
19409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19410 _ACEOF
19411
19412 fi
19413
19414 done
19415
19416
19417
19418
19419 for ac_header in langinfo.h wchar.h
19420 do
19421 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19422 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19424 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19425 echo $ECHO_N "(cached) $ECHO_C" >&6
19426 else
19427 cat >conftest.$ac_ext <<_ACEOF
19428 /* confdefs.h. */
19429 _ACEOF
19430 cat confdefs.h >>conftest.$ac_ext
19431 cat >>conftest.$ac_ext <<_ACEOF
19432 /* end confdefs.h. */
19433 $ac_includes_default
19434
19435 #include <$ac_header>
19436 _ACEOF
19437 rm -f conftest.$ac_objext
19438 if { (ac_try="$ac_compile"
19439 case "(($ac_try" in
19440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19441 *) ac_try_echo=$ac_try;;
19442 esac
19443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19444 (eval "$ac_compile") 2>conftest.er1
19445 ac_status=$?
19446 grep -v '^ *+' conftest.er1 >conftest.err
19447 rm -f conftest.er1
19448 cat conftest.err >&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); } && {
19451 test -z "$ac_c_werror_flag" ||
19452 test ! -s conftest.err
19453 } && test -s conftest.$ac_objext; then
19454 eval "$as_ac_Header=yes"
19455 else
19456 echo "$as_me: failed program was:" >&5
19457 sed 's/^/| /' conftest.$ac_ext >&5
19458
19459 eval "$as_ac_Header=no"
19460 fi
19461
19462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19463 fi
19464 ac_res=`eval echo '${'$as_ac_Header'}'`
19465 { echo "$as_me:$LINENO: result: $ac_res" >&5
19466 echo "${ECHO_T}$ac_res" >&6; }
19467 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19468 cat >>confdefs.h <<_ACEOF
19469 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19470 _ACEOF
19471
19472 fi
19473
19474 done
19475
19476
19477 if test "$ac_cv_header_wchar_h" != "yes"; then
19478
19479 for ac_header in wcstr.h
19480 do
19481 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19482 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19484 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19485 echo $ECHO_N "(cached) $ECHO_C" >&6
19486 else
19487 cat >conftest.$ac_ext <<_ACEOF
19488 /* confdefs.h. */
19489 _ACEOF
19490 cat confdefs.h >>conftest.$ac_ext
19491 cat >>conftest.$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 $ac_includes_default
19494
19495 #include <$ac_header>
19496 _ACEOF
19497 rm -f conftest.$ac_objext
19498 if { (ac_try="$ac_compile"
19499 case "(($ac_try" in
19500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19501 *) ac_try_echo=$ac_try;;
19502 esac
19503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19504 (eval "$ac_compile") 2>conftest.er1
19505 ac_status=$?
19506 grep -v '^ *+' conftest.er1 >conftest.err
19507 rm -f conftest.er1
19508 cat conftest.err >&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } && {
19511 test -z "$ac_c_werror_flag" ||
19512 test ! -s conftest.err
19513 } && test -s conftest.$ac_objext; then
19514 eval "$as_ac_Header=yes"
19515 else
19516 echo "$as_me: failed program was:" >&5
19517 sed 's/^/| /' conftest.$ac_ext >&5
19518
19519 eval "$as_ac_Header=no"
19520 fi
19521
19522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19523 fi
19524 ac_res=`eval echo '${'$as_ac_Header'}'`
19525 { echo "$as_me:$LINENO: result: $ac_res" >&5
19526 echo "${ECHO_T}$ac_res" >&6; }
19527 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19528 cat >>confdefs.h <<_ACEOF
19529 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19530 _ACEOF
19531
19532 fi
19533
19534 done
19535
19536 fi
19537
19538 case "${host}" in
19539 *-pc-os2_emx | *-pc-os2-emx )
19540 if test $ac_cv_header_langinfo_h = "yes" \
19541 -a \( "$wx_cv_gccversion" = "EMX2" \
19542 -o "$wx_cv_gccversion" = "EMX3" \
19543 -o "$wx_cv_gccversion" = "Innotek5" \); then
19544 LIBS="$LIBS -lintl"
19545 fi
19546 ;;
19547 esac
19548
19549 if test "$USE_UNIX" = 1 ; then
19550
19551 for ac_header in sys/select.h
19552 do
19553 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19554 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19556 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19557 echo $ECHO_N "(cached) $ECHO_C" >&6
19558 else
19559 cat >conftest.$ac_ext <<_ACEOF
19560 /* confdefs.h. */
19561 _ACEOF
19562 cat confdefs.h >>conftest.$ac_ext
19563 cat >>conftest.$ac_ext <<_ACEOF
19564 /* end confdefs.h. */
19565 $ac_includes_default
19566
19567 #include <$ac_header>
19568 _ACEOF
19569 rm -f conftest.$ac_objext
19570 if { (ac_try="$ac_compile"
19571 case "(($ac_try" in
19572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19573 *) ac_try_echo=$ac_try;;
19574 esac
19575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19576 (eval "$ac_compile") 2>conftest.er1
19577 ac_status=$?
19578 grep -v '^ *+' conftest.er1 >conftest.err
19579 rm -f conftest.er1
19580 cat conftest.err >&5
19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); } && {
19583 test -z "$ac_c_werror_flag" ||
19584 test ! -s conftest.err
19585 } && test -s conftest.$ac_objext; then
19586 eval "$as_ac_Header=yes"
19587 else
19588 echo "$as_me: failed program was:" >&5
19589 sed 's/^/| /' conftest.$ac_ext >&5
19590
19591 eval "$as_ac_Header=no"
19592 fi
19593
19594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19595 fi
19596 ac_res=`eval echo '${'$as_ac_Header'}'`
19597 { echo "$as_me:$LINENO: result: $ac_res" >&5
19598 echo "${ECHO_T}$ac_res" >&6; }
19599 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19600 cat >>confdefs.h <<_ACEOF
19601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19602 _ACEOF
19603
19604 fi
19605
19606 done
19607
19608 fi
19609
19610
19611 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19612 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19613 if test "${ac_cv_c_const+set}" = set; then
19614 echo $ECHO_N "(cached) $ECHO_C" >&6
19615 else
19616 cat >conftest.$ac_ext <<_ACEOF
19617 /* confdefs.h. */
19618 _ACEOF
19619 cat confdefs.h >>conftest.$ac_ext
19620 cat >>conftest.$ac_ext <<_ACEOF
19621 /* end confdefs.h. */
19622
19623 int
19624 main ()
19625 {
19626 /* FIXME: Include the comments suggested by Paul. */
19627 #ifndef __cplusplus
19628 /* Ultrix mips cc rejects this. */
19629 typedef int charset[2];
19630 const charset cs;
19631 /* SunOS 4.1.1 cc rejects this. */
19632 char const *const *pcpcc;
19633 char **ppc;
19634 /* NEC SVR4.0.2 mips cc rejects this. */
19635 struct point {int x, y;};
19636 static struct point const zero = {0,0};
19637 /* AIX XL C 1.02.0.0 rejects this.
19638 It does not let you subtract one const X* pointer from another in
19639 an arm of an if-expression whose if-part is not a constant
19640 expression */
19641 const char *g = "string";
19642 pcpcc = &g + (g ? g-g : 0);
19643 /* HPUX 7.0 cc rejects these. */
19644 ++pcpcc;
19645 ppc = (char**) pcpcc;
19646 pcpcc = (char const *const *) ppc;
19647 { /* SCO 3.2v4 cc rejects this. */
19648 char *t;
19649 char const *s = 0 ? (char *) 0 : (char const *) 0;
19650
19651 *t++ = 0;
19652 if (s) return 0;
19653 }
19654 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19655 int x[] = {25, 17};
19656 const int *foo = &x[0];
19657 ++foo;
19658 }
19659 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19660 typedef const int *iptr;
19661 iptr p = 0;
19662 ++p;
19663 }
19664 { /* AIX XL C 1.02.0.0 rejects this saying
19665 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19666 struct s { int j; const int *ap[3]; };
19667 struct s *b; b->j = 5;
19668 }
19669 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19670 const int foo = 10;
19671 if (!foo) return 0;
19672 }
19673 return !cs[0] && !zero.x;
19674 #endif
19675
19676 ;
19677 return 0;
19678 }
19679 _ACEOF
19680 rm -f conftest.$ac_objext
19681 if { (ac_try="$ac_compile"
19682 case "(($ac_try" in
19683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19684 *) ac_try_echo=$ac_try;;
19685 esac
19686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19687 (eval "$ac_compile") 2>conftest.er1
19688 ac_status=$?
19689 grep -v '^ *+' conftest.er1 >conftest.err
19690 rm -f conftest.er1
19691 cat conftest.err >&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); } && {
19694 test -z "$ac_c_werror_flag" ||
19695 test ! -s conftest.err
19696 } && test -s conftest.$ac_objext; then
19697 ac_cv_c_const=yes
19698 else
19699 echo "$as_me: failed program was:" >&5
19700 sed 's/^/| /' conftest.$ac_ext >&5
19701
19702 ac_cv_c_const=no
19703 fi
19704
19705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19706 fi
19707 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19708 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19709 if test $ac_cv_c_const = no; then
19710
19711 cat >>confdefs.h <<\_ACEOF
19712 #define const
19713 _ACEOF
19714
19715 fi
19716
19717 { echo "$as_me:$LINENO: checking for inline" >&5
19718 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19719 if test "${ac_cv_c_inline+set}" = set; then
19720 echo $ECHO_N "(cached) $ECHO_C" >&6
19721 else
19722 ac_cv_c_inline=no
19723 for ac_kw in inline __inline__ __inline; do
19724 cat >conftest.$ac_ext <<_ACEOF
19725 /* confdefs.h. */
19726 _ACEOF
19727 cat confdefs.h >>conftest.$ac_ext
19728 cat >>conftest.$ac_ext <<_ACEOF
19729 /* end confdefs.h. */
19730 #ifndef __cplusplus
19731 typedef int foo_t;
19732 static $ac_kw foo_t static_foo () {return 0; }
19733 $ac_kw foo_t foo () {return 0; }
19734 #endif
19735
19736 _ACEOF
19737 rm -f conftest.$ac_objext
19738 if { (ac_try="$ac_compile"
19739 case "(($ac_try" in
19740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19741 *) ac_try_echo=$ac_try;;
19742 esac
19743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19744 (eval "$ac_compile") 2>conftest.er1
19745 ac_status=$?
19746 grep -v '^ *+' conftest.er1 >conftest.err
19747 rm -f conftest.er1
19748 cat conftest.err >&5
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); } && {
19751 test -z "$ac_c_werror_flag" ||
19752 test ! -s conftest.err
19753 } && test -s conftest.$ac_objext; then
19754 ac_cv_c_inline=$ac_kw
19755 else
19756 echo "$as_me: failed program was:" >&5
19757 sed 's/^/| /' conftest.$ac_ext >&5
19758
19759
19760 fi
19761
19762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19763 test "$ac_cv_c_inline" != no && break
19764 done
19765
19766 fi
19767 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19768 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19769
19770
19771 case $ac_cv_c_inline in
19772 inline | yes) ;;
19773 *)
19774 case $ac_cv_c_inline in
19775 no) ac_val=;;
19776 *) ac_val=$ac_cv_c_inline;;
19777 esac
19778 cat >>confdefs.h <<_ACEOF
19779 #ifndef __cplusplus
19780 #define inline $ac_val
19781 #endif
19782 _ACEOF
19783 ;;
19784 esac
19785
19786
19787 { echo "$as_me:$LINENO: checking for short" >&5
19788 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19789 if test "${ac_cv_type_short+set}" = set; then
19790 echo $ECHO_N "(cached) $ECHO_C" >&6
19791 else
19792 cat >conftest.$ac_ext <<_ACEOF
19793 /* confdefs.h. */
19794 _ACEOF
19795 cat confdefs.h >>conftest.$ac_ext
19796 cat >>conftest.$ac_ext <<_ACEOF
19797 /* end confdefs.h. */
19798 $ac_includes_default
19799 typedef short ac__type_new_;
19800 int
19801 main ()
19802 {
19803 if ((ac__type_new_ *) 0)
19804 return 0;
19805 if (sizeof (ac__type_new_))
19806 return 0;
19807 ;
19808 return 0;
19809 }
19810 _ACEOF
19811 rm -f conftest.$ac_objext
19812 if { (ac_try="$ac_compile"
19813 case "(($ac_try" in
19814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19815 *) ac_try_echo=$ac_try;;
19816 esac
19817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19818 (eval "$ac_compile") 2>conftest.er1
19819 ac_status=$?
19820 grep -v '^ *+' conftest.er1 >conftest.err
19821 rm -f conftest.er1
19822 cat conftest.err >&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); } && {
19825 test -z "$ac_c_werror_flag" ||
19826 test ! -s conftest.err
19827 } && test -s conftest.$ac_objext; then
19828 ac_cv_type_short=yes
19829 else
19830 echo "$as_me: failed program was:" >&5
19831 sed 's/^/| /' conftest.$ac_ext >&5
19832
19833 ac_cv_type_short=no
19834 fi
19835
19836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19837 fi
19838 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19839 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19840
19841 # The cast to long int works around a bug in the HP C Compiler
19842 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19843 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19844 # This bug is HP SR number 8606223364.
19845 { echo "$as_me:$LINENO: checking size of short" >&5
19846 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19847 if test "${ac_cv_sizeof_short+set}" = set; then
19848 echo $ECHO_N "(cached) $ECHO_C" >&6
19849 else
19850 if test "$cross_compiling" = yes; then
19851 # Depending upon the size, compute the lo and hi bounds.
19852 cat >conftest.$ac_ext <<_ACEOF
19853 /* confdefs.h. */
19854 _ACEOF
19855 cat confdefs.h >>conftest.$ac_ext
19856 cat >>conftest.$ac_ext <<_ACEOF
19857 /* end confdefs.h. */
19858 $ac_includes_default
19859 typedef short ac__type_sizeof_;
19860 int
19861 main ()
19862 {
19863 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19864 test_array [0] = 0
19865
19866 ;
19867 return 0;
19868 }
19869 _ACEOF
19870 rm -f conftest.$ac_objext
19871 if { (ac_try="$ac_compile"
19872 case "(($ac_try" in
19873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19874 *) ac_try_echo=$ac_try;;
19875 esac
19876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19877 (eval "$ac_compile") 2>conftest.er1
19878 ac_status=$?
19879 grep -v '^ *+' conftest.er1 >conftest.err
19880 rm -f conftest.er1
19881 cat conftest.err >&5
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); } && {
19884 test -z "$ac_c_werror_flag" ||
19885 test ! -s conftest.err
19886 } && test -s conftest.$ac_objext; then
19887 ac_lo=0 ac_mid=0
19888 while :; do
19889 cat >conftest.$ac_ext <<_ACEOF
19890 /* confdefs.h. */
19891 _ACEOF
19892 cat confdefs.h >>conftest.$ac_ext
19893 cat >>conftest.$ac_ext <<_ACEOF
19894 /* end confdefs.h. */
19895 $ac_includes_default
19896 typedef short ac__type_sizeof_;
19897 int
19898 main ()
19899 {
19900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19901 test_array [0] = 0
19902
19903 ;
19904 return 0;
19905 }
19906 _ACEOF
19907 rm -f conftest.$ac_objext
19908 if { (ac_try="$ac_compile"
19909 case "(($ac_try" in
19910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19911 *) ac_try_echo=$ac_try;;
19912 esac
19913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19914 (eval "$ac_compile") 2>conftest.er1
19915 ac_status=$?
19916 grep -v '^ *+' conftest.er1 >conftest.err
19917 rm -f conftest.er1
19918 cat conftest.err >&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); } && {
19921 test -z "$ac_c_werror_flag" ||
19922 test ! -s conftest.err
19923 } && test -s conftest.$ac_objext; then
19924 ac_hi=$ac_mid; break
19925 else
19926 echo "$as_me: failed program was:" >&5
19927 sed 's/^/| /' conftest.$ac_ext >&5
19928
19929 ac_lo=`expr $ac_mid + 1`
19930 if test $ac_lo -le $ac_mid; then
19931 ac_lo= ac_hi=
19932 break
19933 fi
19934 ac_mid=`expr 2 '*' $ac_mid + 1`
19935 fi
19936
19937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19938 done
19939 else
19940 echo "$as_me: failed program was:" >&5
19941 sed 's/^/| /' conftest.$ac_ext >&5
19942
19943 cat >conftest.$ac_ext <<_ACEOF
19944 /* confdefs.h. */
19945 _ACEOF
19946 cat confdefs.h >>conftest.$ac_ext
19947 cat >>conftest.$ac_ext <<_ACEOF
19948 /* end confdefs.h. */
19949 $ac_includes_default
19950 typedef short ac__type_sizeof_;
19951 int
19952 main ()
19953 {
19954 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19955 test_array [0] = 0
19956
19957 ;
19958 return 0;
19959 }
19960 _ACEOF
19961 rm -f conftest.$ac_objext
19962 if { (ac_try="$ac_compile"
19963 case "(($ac_try" in
19964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19965 *) ac_try_echo=$ac_try;;
19966 esac
19967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19968 (eval "$ac_compile") 2>conftest.er1
19969 ac_status=$?
19970 grep -v '^ *+' conftest.er1 >conftest.err
19971 rm -f conftest.er1
19972 cat conftest.err >&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); } && {
19975 test -z "$ac_c_werror_flag" ||
19976 test ! -s conftest.err
19977 } && test -s conftest.$ac_objext; then
19978 ac_hi=-1 ac_mid=-1
19979 while :; do
19980 cat >conftest.$ac_ext <<_ACEOF
19981 /* confdefs.h. */
19982 _ACEOF
19983 cat confdefs.h >>conftest.$ac_ext
19984 cat >>conftest.$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19986 $ac_includes_default
19987 typedef short ac__type_sizeof_;
19988 int
19989 main ()
19990 {
19991 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19992 test_array [0] = 0
19993
19994 ;
19995 return 0;
19996 }
19997 _ACEOF
19998 rm -f conftest.$ac_objext
19999 if { (ac_try="$ac_compile"
20000 case "(($ac_try" in
20001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20002 *) ac_try_echo=$ac_try;;
20003 esac
20004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20005 (eval "$ac_compile") 2>conftest.er1
20006 ac_status=$?
20007 grep -v '^ *+' conftest.er1 >conftest.err
20008 rm -f conftest.er1
20009 cat conftest.err >&5
20010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20011 (exit $ac_status); } && {
20012 test -z "$ac_c_werror_flag" ||
20013 test ! -s conftest.err
20014 } && test -s conftest.$ac_objext; then
20015 ac_lo=$ac_mid; break
20016 else
20017 echo "$as_me: failed program was:" >&5
20018 sed 's/^/| /' conftest.$ac_ext >&5
20019
20020 ac_hi=`expr '(' $ac_mid ')' - 1`
20021 if test $ac_mid -le $ac_hi; then
20022 ac_lo= ac_hi=
20023 break
20024 fi
20025 ac_mid=`expr 2 '*' $ac_mid`
20026 fi
20027
20028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20029 done
20030 else
20031 echo "$as_me: failed program was:" >&5
20032 sed 's/^/| /' conftest.$ac_ext >&5
20033
20034 ac_lo= ac_hi=
20035 fi
20036
20037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20038 fi
20039
20040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20041 # Binary search between lo and hi bounds.
20042 while test "x$ac_lo" != "x$ac_hi"; do
20043 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20044 cat >conftest.$ac_ext <<_ACEOF
20045 /* confdefs.h. */
20046 _ACEOF
20047 cat confdefs.h >>conftest.$ac_ext
20048 cat >>conftest.$ac_ext <<_ACEOF
20049 /* end confdefs.h. */
20050 $ac_includes_default
20051 typedef short ac__type_sizeof_;
20052 int
20053 main ()
20054 {
20055 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20056 test_array [0] = 0
20057
20058 ;
20059 return 0;
20060 }
20061 _ACEOF
20062 rm -f conftest.$ac_objext
20063 if { (ac_try="$ac_compile"
20064 case "(($ac_try" in
20065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20066 *) ac_try_echo=$ac_try;;
20067 esac
20068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20069 (eval "$ac_compile") 2>conftest.er1
20070 ac_status=$?
20071 grep -v '^ *+' conftest.er1 >conftest.err
20072 rm -f conftest.er1
20073 cat conftest.err >&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); } && {
20076 test -z "$ac_c_werror_flag" ||
20077 test ! -s conftest.err
20078 } && test -s conftest.$ac_objext; then
20079 ac_hi=$ac_mid
20080 else
20081 echo "$as_me: failed program was:" >&5
20082 sed 's/^/| /' conftest.$ac_ext >&5
20083
20084 ac_lo=`expr '(' $ac_mid ')' + 1`
20085 fi
20086
20087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20088 done
20089 case $ac_lo in
20090 ?*) ac_cv_sizeof_short=$ac_lo;;
20091 '') if test "$ac_cv_type_short" = yes; then
20092 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20093 See \`config.log' for more details." >&5
20094 echo "$as_me: error: cannot compute sizeof (short)
20095 See \`config.log' for more details." >&2;}
20096 { (exit 77); exit 77; }; }
20097 else
20098 ac_cv_sizeof_short=0
20099 fi ;;
20100 esac
20101 else
20102 cat >conftest.$ac_ext <<_ACEOF
20103 /* confdefs.h. */
20104 _ACEOF
20105 cat confdefs.h >>conftest.$ac_ext
20106 cat >>conftest.$ac_ext <<_ACEOF
20107 /* end confdefs.h. */
20108 $ac_includes_default
20109 typedef short ac__type_sizeof_;
20110 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20111 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20112 #include <stdio.h>
20113 #include <stdlib.h>
20114 int
20115 main ()
20116 {
20117
20118 FILE *f = fopen ("conftest.val", "w");
20119 if (! f)
20120 return 1;
20121 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20122 {
20123 long int i = longval ();
20124 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20125 return 1;
20126 fprintf (f, "%ld\n", i);
20127 }
20128 else
20129 {
20130 unsigned long int i = ulongval ();
20131 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20132 return 1;
20133 fprintf (f, "%lu\n", i);
20134 }
20135 return ferror (f) || fclose (f) != 0;
20136
20137 ;
20138 return 0;
20139 }
20140 _ACEOF
20141 rm -f conftest$ac_exeext
20142 if { (ac_try="$ac_link"
20143 case "(($ac_try" in
20144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20145 *) ac_try_echo=$ac_try;;
20146 esac
20147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20148 (eval "$ac_link") 2>&5
20149 ac_status=$?
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20152 { (case "(($ac_try" in
20153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20154 *) ac_try_echo=$ac_try;;
20155 esac
20156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20157 (eval "$ac_try") 2>&5
20158 ac_status=$?
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); }; }; then
20161 ac_cv_sizeof_short=`cat conftest.val`
20162 else
20163 echo "$as_me: program exited with status $ac_status" >&5
20164 echo "$as_me: failed program was:" >&5
20165 sed 's/^/| /' conftest.$ac_ext >&5
20166
20167 ( exit $ac_status )
20168 if test "$ac_cv_type_short" = yes; then
20169 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20170 See \`config.log' for more details." >&5
20171 echo "$as_me: error: cannot compute sizeof (short)
20172 See \`config.log' for more details." >&2;}
20173 { (exit 77); exit 77; }; }
20174 else
20175 ac_cv_sizeof_short=0
20176 fi
20177 fi
20178 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20179 fi
20180 rm -f conftest.val
20181 fi
20182 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20183 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20184
20185
20186
20187 cat >>confdefs.h <<_ACEOF
20188 #define SIZEOF_SHORT $ac_cv_sizeof_short
20189 _ACEOF
20190
20191
20192 { echo "$as_me:$LINENO: checking for void *" >&5
20193 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20194 if test "${ac_cv_type_void_p+set}" = set; then
20195 echo $ECHO_N "(cached) $ECHO_C" >&6
20196 else
20197 cat >conftest.$ac_ext <<_ACEOF
20198 /* confdefs.h. */
20199 _ACEOF
20200 cat confdefs.h >>conftest.$ac_ext
20201 cat >>conftest.$ac_ext <<_ACEOF
20202 /* end confdefs.h. */
20203 $ac_includes_default
20204 typedef void * ac__type_new_;
20205 int
20206 main ()
20207 {
20208 if ((ac__type_new_ *) 0)
20209 return 0;
20210 if (sizeof (ac__type_new_))
20211 return 0;
20212 ;
20213 return 0;
20214 }
20215 _ACEOF
20216 rm -f conftest.$ac_objext
20217 if { (ac_try="$ac_compile"
20218 case "(($ac_try" in
20219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20220 *) ac_try_echo=$ac_try;;
20221 esac
20222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20223 (eval "$ac_compile") 2>conftest.er1
20224 ac_status=$?
20225 grep -v '^ *+' conftest.er1 >conftest.err
20226 rm -f conftest.er1
20227 cat conftest.err >&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } && {
20230 test -z "$ac_c_werror_flag" ||
20231 test ! -s conftest.err
20232 } && test -s conftest.$ac_objext; then
20233 ac_cv_type_void_p=yes
20234 else
20235 echo "$as_me: failed program was:" >&5
20236 sed 's/^/| /' conftest.$ac_ext >&5
20237
20238 ac_cv_type_void_p=no
20239 fi
20240
20241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20242 fi
20243 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20244 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20245
20246 # The cast to long int works around a bug in the HP C Compiler
20247 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20248 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20249 # This bug is HP SR number 8606223364.
20250 { echo "$as_me:$LINENO: checking size of void *" >&5
20251 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20252 if test "${ac_cv_sizeof_void_p+set}" = set; then
20253 echo $ECHO_N "(cached) $ECHO_C" >&6
20254 else
20255 if test "$cross_compiling" = yes; then
20256 # Depending upon the size, compute the lo and hi bounds.
20257 cat >conftest.$ac_ext <<_ACEOF
20258 /* confdefs.h. */
20259 _ACEOF
20260 cat confdefs.h >>conftest.$ac_ext
20261 cat >>conftest.$ac_ext <<_ACEOF
20262 /* end confdefs.h. */
20263 $ac_includes_default
20264 typedef void * ac__type_sizeof_;
20265 int
20266 main ()
20267 {
20268 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20269 test_array [0] = 0
20270
20271 ;
20272 return 0;
20273 }
20274 _ACEOF
20275 rm -f conftest.$ac_objext
20276 if { (ac_try="$ac_compile"
20277 case "(($ac_try" in
20278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20279 *) ac_try_echo=$ac_try;;
20280 esac
20281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20282 (eval "$ac_compile") 2>conftest.er1
20283 ac_status=$?
20284 grep -v '^ *+' conftest.er1 >conftest.err
20285 rm -f conftest.er1
20286 cat conftest.err >&5
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); } && {
20289 test -z "$ac_c_werror_flag" ||
20290 test ! -s conftest.err
20291 } && test -s conftest.$ac_objext; then
20292 ac_lo=0 ac_mid=0
20293 while :; do
20294 cat >conftest.$ac_ext <<_ACEOF
20295 /* confdefs.h. */
20296 _ACEOF
20297 cat confdefs.h >>conftest.$ac_ext
20298 cat >>conftest.$ac_ext <<_ACEOF
20299 /* end confdefs.h. */
20300 $ac_includes_default
20301 typedef void * ac__type_sizeof_;
20302 int
20303 main ()
20304 {
20305 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20306 test_array [0] = 0
20307
20308 ;
20309 return 0;
20310 }
20311 _ACEOF
20312 rm -f conftest.$ac_objext
20313 if { (ac_try="$ac_compile"
20314 case "(($ac_try" in
20315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20316 *) ac_try_echo=$ac_try;;
20317 esac
20318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20319 (eval "$ac_compile") 2>conftest.er1
20320 ac_status=$?
20321 grep -v '^ *+' conftest.er1 >conftest.err
20322 rm -f conftest.er1
20323 cat conftest.err >&5
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); } && {
20326 test -z "$ac_c_werror_flag" ||
20327 test ! -s conftest.err
20328 } && test -s conftest.$ac_objext; then
20329 ac_hi=$ac_mid; break
20330 else
20331 echo "$as_me: failed program was:" >&5
20332 sed 's/^/| /' conftest.$ac_ext >&5
20333
20334 ac_lo=`expr $ac_mid + 1`
20335 if test $ac_lo -le $ac_mid; then
20336 ac_lo= ac_hi=
20337 break
20338 fi
20339 ac_mid=`expr 2 '*' $ac_mid + 1`
20340 fi
20341
20342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20343 done
20344 else
20345 echo "$as_me: failed program was:" >&5
20346 sed 's/^/| /' conftest.$ac_ext >&5
20347
20348 cat >conftest.$ac_ext <<_ACEOF
20349 /* confdefs.h. */
20350 _ACEOF
20351 cat confdefs.h >>conftest.$ac_ext
20352 cat >>conftest.$ac_ext <<_ACEOF
20353 /* end confdefs.h. */
20354 $ac_includes_default
20355 typedef void * ac__type_sizeof_;
20356 int
20357 main ()
20358 {
20359 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20360 test_array [0] = 0
20361
20362 ;
20363 return 0;
20364 }
20365 _ACEOF
20366 rm -f conftest.$ac_objext
20367 if { (ac_try="$ac_compile"
20368 case "(($ac_try" in
20369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20370 *) ac_try_echo=$ac_try;;
20371 esac
20372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20373 (eval "$ac_compile") 2>conftest.er1
20374 ac_status=$?
20375 grep -v '^ *+' conftest.er1 >conftest.err
20376 rm -f conftest.er1
20377 cat conftest.err >&5
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); } && {
20380 test -z "$ac_c_werror_flag" ||
20381 test ! -s conftest.err
20382 } && test -s conftest.$ac_objext; then
20383 ac_hi=-1 ac_mid=-1
20384 while :; do
20385 cat >conftest.$ac_ext <<_ACEOF
20386 /* confdefs.h. */
20387 _ACEOF
20388 cat confdefs.h >>conftest.$ac_ext
20389 cat >>conftest.$ac_ext <<_ACEOF
20390 /* end confdefs.h. */
20391 $ac_includes_default
20392 typedef void * ac__type_sizeof_;
20393 int
20394 main ()
20395 {
20396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20397 test_array [0] = 0
20398
20399 ;
20400 return 0;
20401 }
20402 _ACEOF
20403 rm -f conftest.$ac_objext
20404 if { (ac_try="$ac_compile"
20405 case "(($ac_try" in
20406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20407 *) ac_try_echo=$ac_try;;
20408 esac
20409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20410 (eval "$ac_compile") 2>conftest.er1
20411 ac_status=$?
20412 grep -v '^ *+' conftest.er1 >conftest.err
20413 rm -f conftest.er1
20414 cat conftest.err >&5
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); } && {
20417 test -z "$ac_c_werror_flag" ||
20418 test ! -s conftest.err
20419 } && test -s conftest.$ac_objext; then
20420 ac_lo=$ac_mid; break
20421 else
20422 echo "$as_me: failed program was:" >&5
20423 sed 's/^/| /' conftest.$ac_ext >&5
20424
20425 ac_hi=`expr '(' $ac_mid ')' - 1`
20426 if test $ac_mid -le $ac_hi; then
20427 ac_lo= ac_hi=
20428 break
20429 fi
20430 ac_mid=`expr 2 '*' $ac_mid`
20431 fi
20432
20433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20434 done
20435 else
20436 echo "$as_me: failed program was:" >&5
20437 sed 's/^/| /' conftest.$ac_ext >&5
20438
20439 ac_lo= ac_hi=
20440 fi
20441
20442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20443 fi
20444
20445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20446 # Binary search between lo and hi bounds.
20447 while test "x$ac_lo" != "x$ac_hi"; do
20448 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20449 cat >conftest.$ac_ext <<_ACEOF
20450 /* confdefs.h. */
20451 _ACEOF
20452 cat confdefs.h >>conftest.$ac_ext
20453 cat >>conftest.$ac_ext <<_ACEOF
20454 /* end confdefs.h. */
20455 $ac_includes_default
20456 typedef void * ac__type_sizeof_;
20457 int
20458 main ()
20459 {
20460 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20461 test_array [0] = 0
20462
20463 ;
20464 return 0;
20465 }
20466 _ACEOF
20467 rm -f conftest.$ac_objext
20468 if { (ac_try="$ac_compile"
20469 case "(($ac_try" in
20470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20471 *) ac_try_echo=$ac_try;;
20472 esac
20473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20474 (eval "$ac_compile") 2>conftest.er1
20475 ac_status=$?
20476 grep -v '^ *+' conftest.er1 >conftest.err
20477 rm -f conftest.er1
20478 cat conftest.err >&5
20479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20480 (exit $ac_status); } && {
20481 test -z "$ac_c_werror_flag" ||
20482 test ! -s conftest.err
20483 } && test -s conftest.$ac_objext; then
20484 ac_hi=$ac_mid
20485 else
20486 echo "$as_me: failed program was:" >&5
20487 sed 's/^/| /' conftest.$ac_ext >&5
20488
20489 ac_lo=`expr '(' $ac_mid ')' + 1`
20490 fi
20491
20492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20493 done
20494 case $ac_lo in
20495 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20496 '') if test "$ac_cv_type_void_p" = yes; then
20497 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20498 See \`config.log' for more details." >&5
20499 echo "$as_me: error: cannot compute sizeof (void *)
20500 See \`config.log' for more details." >&2;}
20501 { (exit 77); exit 77; }; }
20502 else
20503 ac_cv_sizeof_void_p=0
20504 fi ;;
20505 esac
20506 else
20507 cat >conftest.$ac_ext <<_ACEOF
20508 /* confdefs.h. */
20509 _ACEOF
20510 cat confdefs.h >>conftest.$ac_ext
20511 cat >>conftest.$ac_ext <<_ACEOF
20512 /* end confdefs.h. */
20513 $ac_includes_default
20514 typedef void * ac__type_sizeof_;
20515 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20516 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20517 #include <stdio.h>
20518 #include <stdlib.h>
20519 int
20520 main ()
20521 {
20522
20523 FILE *f = fopen ("conftest.val", "w");
20524 if (! f)
20525 return 1;
20526 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20527 {
20528 long int i = longval ();
20529 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20530 return 1;
20531 fprintf (f, "%ld\n", i);
20532 }
20533 else
20534 {
20535 unsigned long int i = ulongval ();
20536 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20537 return 1;
20538 fprintf (f, "%lu\n", i);
20539 }
20540 return ferror (f) || fclose (f) != 0;
20541
20542 ;
20543 return 0;
20544 }
20545 _ACEOF
20546 rm -f conftest$ac_exeext
20547 if { (ac_try="$ac_link"
20548 case "(($ac_try" in
20549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20550 *) ac_try_echo=$ac_try;;
20551 esac
20552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20553 (eval "$ac_link") 2>&5
20554 ac_status=$?
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20557 { (case "(($ac_try" in
20558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20559 *) ac_try_echo=$ac_try;;
20560 esac
20561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20562 (eval "$ac_try") 2>&5
20563 ac_status=$?
20564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565 (exit $ac_status); }; }; then
20566 ac_cv_sizeof_void_p=`cat conftest.val`
20567 else
20568 echo "$as_me: program exited with status $ac_status" >&5
20569 echo "$as_me: failed program was:" >&5
20570 sed 's/^/| /' conftest.$ac_ext >&5
20571
20572 ( exit $ac_status )
20573 if test "$ac_cv_type_void_p" = yes; then
20574 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20575 See \`config.log' for more details." >&5
20576 echo "$as_me: error: cannot compute sizeof (void *)
20577 See \`config.log' for more details." >&2;}
20578 { (exit 77); exit 77; }; }
20579 else
20580 ac_cv_sizeof_void_p=0
20581 fi
20582 fi
20583 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20584 fi
20585 rm -f conftest.val
20586 fi
20587 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20588 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20589
20590
20591
20592 cat >>confdefs.h <<_ACEOF
20593 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20594 _ACEOF
20595
20596
20597 { echo "$as_me:$LINENO: checking for int" >&5
20598 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20599 if test "${ac_cv_type_int+set}" = set; then
20600 echo $ECHO_N "(cached) $ECHO_C" >&6
20601 else
20602 cat >conftest.$ac_ext <<_ACEOF
20603 /* confdefs.h. */
20604 _ACEOF
20605 cat confdefs.h >>conftest.$ac_ext
20606 cat >>conftest.$ac_ext <<_ACEOF
20607 /* end confdefs.h. */
20608 $ac_includes_default
20609 typedef int ac__type_new_;
20610 int
20611 main ()
20612 {
20613 if ((ac__type_new_ *) 0)
20614 return 0;
20615 if (sizeof (ac__type_new_))
20616 return 0;
20617 ;
20618 return 0;
20619 }
20620 _ACEOF
20621 rm -f conftest.$ac_objext
20622 if { (ac_try="$ac_compile"
20623 case "(($ac_try" in
20624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20625 *) ac_try_echo=$ac_try;;
20626 esac
20627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20628 (eval "$ac_compile") 2>conftest.er1
20629 ac_status=$?
20630 grep -v '^ *+' conftest.er1 >conftest.err
20631 rm -f conftest.er1
20632 cat conftest.err >&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); } && {
20635 test -z "$ac_c_werror_flag" ||
20636 test ! -s conftest.err
20637 } && test -s conftest.$ac_objext; then
20638 ac_cv_type_int=yes
20639 else
20640 echo "$as_me: failed program was:" >&5
20641 sed 's/^/| /' conftest.$ac_ext >&5
20642
20643 ac_cv_type_int=no
20644 fi
20645
20646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20647 fi
20648 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20649 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20650
20651 # The cast to long int works around a bug in the HP C Compiler
20652 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20653 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20654 # This bug is HP SR number 8606223364.
20655 { echo "$as_me:$LINENO: checking size of int" >&5
20656 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20657 if test "${ac_cv_sizeof_int+set}" = set; then
20658 echo $ECHO_N "(cached) $ECHO_C" >&6
20659 else
20660 if test "$cross_compiling" = yes; then
20661 # Depending upon the size, compute the lo and hi bounds.
20662 cat >conftest.$ac_ext <<_ACEOF
20663 /* confdefs.h. */
20664 _ACEOF
20665 cat confdefs.h >>conftest.$ac_ext
20666 cat >>conftest.$ac_ext <<_ACEOF
20667 /* end confdefs.h. */
20668 $ac_includes_default
20669 typedef int ac__type_sizeof_;
20670 int
20671 main ()
20672 {
20673 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20674 test_array [0] = 0
20675
20676 ;
20677 return 0;
20678 }
20679 _ACEOF
20680 rm -f conftest.$ac_objext
20681 if { (ac_try="$ac_compile"
20682 case "(($ac_try" in
20683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20684 *) ac_try_echo=$ac_try;;
20685 esac
20686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20687 (eval "$ac_compile") 2>conftest.er1
20688 ac_status=$?
20689 grep -v '^ *+' conftest.er1 >conftest.err
20690 rm -f conftest.er1
20691 cat conftest.err >&5
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); } && {
20694 test -z "$ac_c_werror_flag" ||
20695 test ! -s conftest.err
20696 } && test -s conftest.$ac_objext; then
20697 ac_lo=0 ac_mid=0
20698 while :; do
20699 cat >conftest.$ac_ext <<_ACEOF
20700 /* confdefs.h. */
20701 _ACEOF
20702 cat confdefs.h >>conftest.$ac_ext
20703 cat >>conftest.$ac_ext <<_ACEOF
20704 /* end confdefs.h. */
20705 $ac_includes_default
20706 typedef int ac__type_sizeof_;
20707 int
20708 main ()
20709 {
20710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20711 test_array [0] = 0
20712
20713 ;
20714 return 0;
20715 }
20716 _ACEOF
20717 rm -f conftest.$ac_objext
20718 if { (ac_try="$ac_compile"
20719 case "(($ac_try" in
20720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20721 *) ac_try_echo=$ac_try;;
20722 esac
20723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20724 (eval "$ac_compile") 2>conftest.er1
20725 ac_status=$?
20726 grep -v '^ *+' conftest.er1 >conftest.err
20727 rm -f conftest.er1
20728 cat conftest.err >&5
20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20730 (exit $ac_status); } && {
20731 test -z "$ac_c_werror_flag" ||
20732 test ! -s conftest.err
20733 } && test -s conftest.$ac_objext; then
20734 ac_hi=$ac_mid; break
20735 else
20736 echo "$as_me: failed program was:" >&5
20737 sed 's/^/| /' conftest.$ac_ext >&5
20738
20739 ac_lo=`expr $ac_mid + 1`
20740 if test $ac_lo -le $ac_mid; then
20741 ac_lo= ac_hi=
20742 break
20743 fi
20744 ac_mid=`expr 2 '*' $ac_mid + 1`
20745 fi
20746
20747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20748 done
20749 else
20750 echo "$as_me: failed program was:" >&5
20751 sed 's/^/| /' conftest.$ac_ext >&5
20752
20753 cat >conftest.$ac_ext <<_ACEOF
20754 /* confdefs.h. */
20755 _ACEOF
20756 cat confdefs.h >>conftest.$ac_ext
20757 cat >>conftest.$ac_ext <<_ACEOF
20758 /* end confdefs.h. */
20759 $ac_includes_default
20760 typedef int ac__type_sizeof_;
20761 int
20762 main ()
20763 {
20764 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20765 test_array [0] = 0
20766
20767 ;
20768 return 0;
20769 }
20770 _ACEOF
20771 rm -f conftest.$ac_objext
20772 if { (ac_try="$ac_compile"
20773 case "(($ac_try" in
20774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20775 *) ac_try_echo=$ac_try;;
20776 esac
20777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20778 (eval "$ac_compile") 2>conftest.er1
20779 ac_status=$?
20780 grep -v '^ *+' conftest.er1 >conftest.err
20781 rm -f conftest.er1
20782 cat conftest.err >&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); } && {
20785 test -z "$ac_c_werror_flag" ||
20786 test ! -s conftest.err
20787 } && test -s conftest.$ac_objext; then
20788 ac_hi=-1 ac_mid=-1
20789 while :; do
20790 cat >conftest.$ac_ext <<_ACEOF
20791 /* confdefs.h. */
20792 _ACEOF
20793 cat confdefs.h >>conftest.$ac_ext
20794 cat >>conftest.$ac_ext <<_ACEOF
20795 /* end confdefs.h. */
20796 $ac_includes_default
20797 typedef int ac__type_sizeof_;
20798 int
20799 main ()
20800 {
20801 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20802 test_array [0] = 0
20803
20804 ;
20805 return 0;
20806 }
20807 _ACEOF
20808 rm -f conftest.$ac_objext
20809 if { (ac_try="$ac_compile"
20810 case "(($ac_try" in
20811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20812 *) ac_try_echo=$ac_try;;
20813 esac
20814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20815 (eval "$ac_compile") 2>conftest.er1
20816 ac_status=$?
20817 grep -v '^ *+' conftest.er1 >conftest.err
20818 rm -f conftest.er1
20819 cat conftest.err >&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); } && {
20822 test -z "$ac_c_werror_flag" ||
20823 test ! -s conftest.err
20824 } && test -s conftest.$ac_objext; then
20825 ac_lo=$ac_mid; break
20826 else
20827 echo "$as_me: failed program was:" >&5
20828 sed 's/^/| /' conftest.$ac_ext >&5
20829
20830 ac_hi=`expr '(' $ac_mid ')' - 1`
20831 if test $ac_mid -le $ac_hi; then
20832 ac_lo= ac_hi=
20833 break
20834 fi
20835 ac_mid=`expr 2 '*' $ac_mid`
20836 fi
20837
20838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20839 done
20840 else
20841 echo "$as_me: failed program was:" >&5
20842 sed 's/^/| /' conftest.$ac_ext >&5
20843
20844 ac_lo= ac_hi=
20845 fi
20846
20847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20848 fi
20849
20850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20851 # Binary search between lo and hi bounds.
20852 while test "x$ac_lo" != "x$ac_hi"; do
20853 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20854 cat >conftest.$ac_ext <<_ACEOF
20855 /* confdefs.h. */
20856 _ACEOF
20857 cat confdefs.h >>conftest.$ac_ext
20858 cat >>conftest.$ac_ext <<_ACEOF
20859 /* end confdefs.h. */
20860 $ac_includes_default
20861 typedef int ac__type_sizeof_;
20862 int
20863 main ()
20864 {
20865 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20866 test_array [0] = 0
20867
20868 ;
20869 return 0;
20870 }
20871 _ACEOF
20872 rm -f conftest.$ac_objext
20873 if { (ac_try="$ac_compile"
20874 case "(($ac_try" in
20875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20876 *) ac_try_echo=$ac_try;;
20877 esac
20878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20879 (eval "$ac_compile") 2>conftest.er1
20880 ac_status=$?
20881 grep -v '^ *+' conftest.er1 >conftest.err
20882 rm -f conftest.er1
20883 cat conftest.err >&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); } && {
20886 test -z "$ac_c_werror_flag" ||
20887 test ! -s conftest.err
20888 } && test -s conftest.$ac_objext; then
20889 ac_hi=$ac_mid
20890 else
20891 echo "$as_me: failed program was:" >&5
20892 sed 's/^/| /' conftest.$ac_ext >&5
20893
20894 ac_lo=`expr '(' $ac_mid ')' + 1`
20895 fi
20896
20897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20898 done
20899 case $ac_lo in
20900 ?*) ac_cv_sizeof_int=$ac_lo;;
20901 '') if test "$ac_cv_type_int" = yes; then
20902 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20903 See \`config.log' for more details." >&5
20904 echo "$as_me: error: cannot compute sizeof (int)
20905 See \`config.log' for more details." >&2;}
20906 { (exit 77); exit 77; }; }
20907 else
20908 ac_cv_sizeof_int=0
20909 fi ;;
20910 esac
20911 else
20912 cat >conftest.$ac_ext <<_ACEOF
20913 /* confdefs.h. */
20914 _ACEOF
20915 cat confdefs.h >>conftest.$ac_ext
20916 cat >>conftest.$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20918 $ac_includes_default
20919 typedef int ac__type_sizeof_;
20920 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20921 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20922 #include <stdio.h>
20923 #include <stdlib.h>
20924 int
20925 main ()
20926 {
20927
20928 FILE *f = fopen ("conftest.val", "w");
20929 if (! f)
20930 return 1;
20931 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20932 {
20933 long int i = longval ();
20934 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20935 return 1;
20936 fprintf (f, "%ld\n", i);
20937 }
20938 else
20939 {
20940 unsigned long int i = ulongval ();
20941 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20942 return 1;
20943 fprintf (f, "%lu\n", i);
20944 }
20945 return ferror (f) || fclose (f) != 0;
20946
20947 ;
20948 return 0;
20949 }
20950 _ACEOF
20951 rm -f conftest$ac_exeext
20952 if { (ac_try="$ac_link"
20953 case "(($ac_try" in
20954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20955 *) ac_try_echo=$ac_try;;
20956 esac
20957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20958 (eval "$ac_link") 2>&5
20959 ac_status=$?
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20962 { (case "(($ac_try" in
20963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20964 *) ac_try_echo=$ac_try;;
20965 esac
20966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20967 (eval "$ac_try") 2>&5
20968 ac_status=$?
20969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); }; }; then
20971 ac_cv_sizeof_int=`cat conftest.val`
20972 else
20973 echo "$as_me: program exited with status $ac_status" >&5
20974 echo "$as_me: failed program was:" >&5
20975 sed 's/^/| /' conftest.$ac_ext >&5
20976
20977 ( exit $ac_status )
20978 if test "$ac_cv_type_int" = yes; then
20979 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20980 See \`config.log' for more details." >&5
20981 echo "$as_me: error: cannot compute sizeof (int)
20982 See \`config.log' for more details." >&2;}
20983 { (exit 77); exit 77; }; }
20984 else
20985 ac_cv_sizeof_int=0
20986 fi
20987 fi
20988 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20989 fi
20990 rm -f conftest.val
20991 fi
20992 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20993 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20994
20995
20996
20997 cat >>confdefs.h <<_ACEOF
20998 #define SIZEOF_INT $ac_cv_sizeof_int
20999 _ACEOF
21000
21001
21002 { echo "$as_me:$LINENO: checking for long" >&5
21003 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21004 if test "${ac_cv_type_long+set}" = set; then
21005 echo $ECHO_N "(cached) $ECHO_C" >&6
21006 else
21007 cat >conftest.$ac_ext <<_ACEOF
21008 /* confdefs.h. */
21009 _ACEOF
21010 cat confdefs.h >>conftest.$ac_ext
21011 cat >>conftest.$ac_ext <<_ACEOF
21012 /* end confdefs.h. */
21013 $ac_includes_default
21014 typedef long ac__type_new_;
21015 int
21016 main ()
21017 {
21018 if ((ac__type_new_ *) 0)
21019 return 0;
21020 if (sizeof (ac__type_new_))
21021 return 0;
21022 ;
21023 return 0;
21024 }
21025 _ACEOF
21026 rm -f conftest.$ac_objext
21027 if { (ac_try="$ac_compile"
21028 case "(($ac_try" in
21029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21030 *) ac_try_echo=$ac_try;;
21031 esac
21032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21033 (eval "$ac_compile") 2>conftest.er1
21034 ac_status=$?
21035 grep -v '^ *+' conftest.er1 >conftest.err
21036 rm -f conftest.er1
21037 cat conftest.err >&5
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); } && {
21040 test -z "$ac_c_werror_flag" ||
21041 test ! -s conftest.err
21042 } && test -s conftest.$ac_objext; then
21043 ac_cv_type_long=yes
21044 else
21045 echo "$as_me: failed program was:" >&5
21046 sed 's/^/| /' conftest.$ac_ext >&5
21047
21048 ac_cv_type_long=no
21049 fi
21050
21051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21052 fi
21053 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21054 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21055
21056 # The cast to long int works around a bug in the HP C Compiler
21057 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21058 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21059 # This bug is HP SR number 8606223364.
21060 { echo "$as_me:$LINENO: checking size of long" >&5
21061 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21062 if test "${ac_cv_sizeof_long+set}" = set; then
21063 echo $ECHO_N "(cached) $ECHO_C" >&6
21064 else
21065 if test "$cross_compiling" = yes; then
21066 # Depending upon the size, compute the lo and hi bounds.
21067 cat >conftest.$ac_ext <<_ACEOF
21068 /* confdefs.h. */
21069 _ACEOF
21070 cat confdefs.h >>conftest.$ac_ext
21071 cat >>conftest.$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21073 $ac_includes_default
21074 typedef long ac__type_sizeof_;
21075 int
21076 main ()
21077 {
21078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21079 test_array [0] = 0
21080
21081 ;
21082 return 0;
21083 }
21084 _ACEOF
21085 rm -f conftest.$ac_objext
21086 if { (ac_try="$ac_compile"
21087 case "(($ac_try" in
21088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21089 *) ac_try_echo=$ac_try;;
21090 esac
21091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21092 (eval "$ac_compile") 2>conftest.er1
21093 ac_status=$?
21094 grep -v '^ *+' conftest.er1 >conftest.err
21095 rm -f conftest.er1
21096 cat conftest.err >&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); } && {
21099 test -z "$ac_c_werror_flag" ||
21100 test ! -s conftest.err
21101 } && test -s conftest.$ac_objext; then
21102 ac_lo=0 ac_mid=0
21103 while :; do
21104 cat >conftest.$ac_ext <<_ACEOF
21105 /* confdefs.h. */
21106 _ACEOF
21107 cat confdefs.h >>conftest.$ac_ext
21108 cat >>conftest.$ac_ext <<_ACEOF
21109 /* end confdefs.h. */
21110 $ac_includes_default
21111 typedef long ac__type_sizeof_;
21112 int
21113 main ()
21114 {
21115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21116 test_array [0] = 0
21117
21118 ;
21119 return 0;
21120 }
21121 _ACEOF
21122 rm -f conftest.$ac_objext
21123 if { (ac_try="$ac_compile"
21124 case "(($ac_try" in
21125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21126 *) ac_try_echo=$ac_try;;
21127 esac
21128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21129 (eval "$ac_compile") 2>conftest.er1
21130 ac_status=$?
21131 grep -v '^ *+' conftest.er1 >conftest.err
21132 rm -f conftest.er1
21133 cat conftest.err >&5
21134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21135 (exit $ac_status); } && {
21136 test -z "$ac_c_werror_flag" ||
21137 test ! -s conftest.err
21138 } && test -s conftest.$ac_objext; then
21139 ac_hi=$ac_mid; break
21140 else
21141 echo "$as_me: failed program was:" >&5
21142 sed 's/^/| /' conftest.$ac_ext >&5
21143
21144 ac_lo=`expr $ac_mid + 1`
21145 if test $ac_lo -le $ac_mid; then
21146 ac_lo= ac_hi=
21147 break
21148 fi
21149 ac_mid=`expr 2 '*' $ac_mid + 1`
21150 fi
21151
21152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21153 done
21154 else
21155 echo "$as_me: failed program was:" >&5
21156 sed 's/^/| /' conftest.$ac_ext >&5
21157
21158 cat >conftest.$ac_ext <<_ACEOF
21159 /* confdefs.h. */
21160 _ACEOF
21161 cat confdefs.h >>conftest.$ac_ext
21162 cat >>conftest.$ac_ext <<_ACEOF
21163 /* end confdefs.h. */
21164 $ac_includes_default
21165 typedef long ac__type_sizeof_;
21166 int
21167 main ()
21168 {
21169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21170 test_array [0] = 0
21171
21172 ;
21173 return 0;
21174 }
21175 _ACEOF
21176 rm -f conftest.$ac_objext
21177 if { (ac_try="$ac_compile"
21178 case "(($ac_try" in
21179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21180 *) ac_try_echo=$ac_try;;
21181 esac
21182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21183 (eval "$ac_compile") 2>conftest.er1
21184 ac_status=$?
21185 grep -v '^ *+' conftest.er1 >conftest.err
21186 rm -f conftest.er1
21187 cat conftest.err >&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } && {
21190 test -z "$ac_c_werror_flag" ||
21191 test ! -s conftest.err
21192 } && test -s conftest.$ac_objext; then
21193 ac_hi=-1 ac_mid=-1
21194 while :; do
21195 cat >conftest.$ac_ext <<_ACEOF
21196 /* confdefs.h. */
21197 _ACEOF
21198 cat confdefs.h >>conftest.$ac_ext
21199 cat >>conftest.$ac_ext <<_ACEOF
21200 /* end confdefs.h. */
21201 $ac_includes_default
21202 typedef long ac__type_sizeof_;
21203 int
21204 main ()
21205 {
21206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21207 test_array [0] = 0
21208
21209 ;
21210 return 0;
21211 }
21212 _ACEOF
21213 rm -f conftest.$ac_objext
21214 if { (ac_try="$ac_compile"
21215 case "(($ac_try" in
21216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21217 *) ac_try_echo=$ac_try;;
21218 esac
21219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21220 (eval "$ac_compile") 2>conftest.er1
21221 ac_status=$?
21222 grep -v '^ *+' conftest.er1 >conftest.err
21223 rm -f conftest.er1
21224 cat conftest.err >&5
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); } && {
21227 test -z "$ac_c_werror_flag" ||
21228 test ! -s conftest.err
21229 } && test -s conftest.$ac_objext; then
21230 ac_lo=$ac_mid; break
21231 else
21232 echo "$as_me: failed program was:" >&5
21233 sed 's/^/| /' conftest.$ac_ext >&5
21234
21235 ac_hi=`expr '(' $ac_mid ')' - 1`
21236 if test $ac_mid -le $ac_hi; then
21237 ac_lo= ac_hi=
21238 break
21239 fi
21240 ac_mid=`expr 2 '*' $ac_mid`
21241 fi
21242
21243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21244 done
21245 else
21246 echo "$as_me: failed program was:" >&5
21247 sed 's/^/| /' conftest.$ac_ext >&5
21248
21249 ac_lo= ac_hi=
21250 fi
21251
21252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21253 fi
21254
21255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21256 # Binary search between lo and hi bounds.
21257 while test "x$ac_lo" != "x$ac_hi"; do
21258 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21259 cat >conftest.$ac_ext <<_ACEOF
21260 /* confdefs.h. */
21261 _ACEOF
21262 cat confdefs.h >>conftest.$ac_ext
21263 cat >>conftest.$ac_ext <<_ACEOF
21264 /* end confdefs.h. */
21265 $ac_includes_default
21266 typedef long ac__type_sizeof_;
21267 int
21268 main ()
21269 {
21270 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21271 test_array [0] = 0
21272
21273 ;
21274 return 0;
21275 }
21276 _ACEOF
21277 rm -f conftest.$ac_objext
21278 if { (ac_try="$ac_compile"
21279 case "(($ac_try" in
21280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21281 *) ac_try_echo=$ac_try;;
21282 esac
21283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21284 (eval "$ac_compile") 2>conftest.er1
21285 ac_status=$?
21286 grep -v '^ *+' conftest.er1 >conftest.err
21287 rm -f conftest.er1
21288 cat conftest.err >&5
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); } && {
21291 test -z "$ac_c_werror_flag" ||
21292 test ! -s conftest.err
21293 } && test -s conftest.$ac_objext; then
21294 ac_hi=$ac_mid
21295 else
21296 echo "$as_me: failed program was:" >&5
21297 sed 's/^/| /' conftest.$ac_ext >&5
21298
21299 ac_lo=`expr '(' $ac_mid ')' + 1`
21300 fi
21301
21302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21303 done
21304 case $ac_lo in
21305 ?*) ac_cv_sizeof_long=$ac_lo;;
21306 '') if test "$ac_cv_type_long" = yes; then
21307 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21308 See \`config.log' for more details." >&5
21309 echo "$as_me: error: cannot compute sizeof (long)
21310 See \`config.log' for more details." >&2;}
21311 { (exit 77); exit 77; }; }
21312 else
21313 ac_cv_sizeof_long=0
21314 fi ;;
21315 esac
21316 else
21317 cat >conftest.$ac_ext <<_ACEOF
21318 /* confdefs.h. */
21319 _ACEOF
21320 cat confdefs.h >>conftest.$ac_ext
21321 cat >>conftest.$ac_ext <<_ACEOF
21322 /* end confdefs.h. */
21323 $ac_includes_default
21324 typedef long ac__type_sizeof_;
21325 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21326 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21327 #include <stdio.h>
21328 #include <stdlib.h>
21329 int
21330 main ()
21331 {
21332
21333 FILE *f = fopen ("conftest.val", "w");
21334 if (! f)
21335 return 1;
21336 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21337 {
21338 long int i = longval ();
21339 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21340 return 1;
21341 fprintf (f, "%ld\n", i);
21342 }
21343 else
21344 {
21345 unsigned long int i = ulongval ();
21346 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21347 return 1;
21348 fprintf (f, "%lu\n", i);
21349 }
21350 return ferror (f) || fclose (f) != 0;
21351
21352 ;
21353 return 0;
21354 }
21355 _ACEOF
21356 rm -f conftest$ac_exeext
21357 if { (ac_try="$ac_link"
21358 case "(($ac_try" in
21359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21360 *) ac_try_echo=$ac_try;;
21361 esac
21362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21363 (eval "$ac_link") 2>&5
21364 ac_status=$?
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21367 { (case "(($ac_try" in
21368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21369 *) ac_try_echo=$ac_try;;
21370 esac
21371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21372 (eval "$ac_try") 2>&5
21373 ac_status=$?
21374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375 (exit $ac_status); }; }; then
21376 ac_cv_sizeof_long=`cat conftest.val`
21377 else
21378 echo "$as_me: program exited with status $ac_status" >&5
21379 echo "$as_me: failed program was:" >&5
21380 sed 's/^/| /' conftest.$ac_ext >&5
21381
21382 ( exit $ac_status )
21383 if test "$ac_cv_type_long" = yes; then
21384 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21385 See \`config.log' for more details." >&5
21386 echo "$as_me: error: cannot compute sizeof (long)
21387 See \`config.log' for more details." >&2;}
21388 { (exit 77); exit 77; }; }
21389 else
21390 ac_cv_sizeof_long=0
21391 fi
21392 fi
21393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21394 fi
21395 rm -f conftest.val
21396 fi
21397 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21398 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21399
21400
21401
21402 cat >>confdefs.h <<_ACEOF
21403 #define SIZEOF_LONG $ac_cv_sizeof_long
21404 _ACEOF
21405
21406
21407 { echo "$as_me:$LINENO: checking for size_t" >&5
21408 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21409 if test "${ac_cv_type_size_t+set}" = set; then
21410 echo $ECHO_N "(cached) $ECHO_C" >&6
21411 else
21412 cat >conftest.$ac_ext <<_ACEOF
21413 /* confdefs.h. */
21414 _ACEOF
21415 cat confdefs.h >>conftest.$ac_ext
21416 cat >>conftest.$ac_ext <<_ACEOF
21417 /* end confdefs.h. */
21418 $ac_includes_default
21419 typedef size_t ac__type_new_;
21420 int
21421 main ()
21422 {
21423 if ((ac__type_new_ *) 0)
21424 return 0;
21425 if (sizeof (ac__type_new_))
21426 return 0;
21427 ;
21428 return 0;
21429 }
21430 _ACEOF
21431 rm -f conftest.$ac_objext
21432 if { (ac_try="$ac_compile"
21433 case "(($ac_try" in
21434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21435 *) ac_try_echo=$ac_try;;
21436 esac
21437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21438 (eval "$ac_compile") 2>conftest.er1
21439 ac_status=$?
21440 grep -v '^ *+' conftest.er1 >conftest.err
21441 rm -f conftest.er1
21442 cat conftest.err >&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); } && {
21445 test -z "$ac_c_werror_flag" ||
21446 test ! -s conftest.err
21447 } && test -s conftest.$ac_objext; then
21448 ac_cv_type_size_t=yes
21449 else
21450 echo "$as_me: failed program was:" >&5
21451 sed 's/^/| /' conftest.$ac_ext >&5
21452
21453 ac_cv_type_size_t=no
21454 fi
21455
21456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21457 fi
21458 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21459 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21460
21461 # The cast to long int works around a bug in the HP C Compiler
21462 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21463 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21464 # This bug is HP SR number 8606223364.
21465 { echo "$as_me:$LINENO: checking size of size_t" >&5
21466 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21467 if test "${ac_cv_sizeof_size_t+set}" = set; then
21468 echo $ECHO_N "(cached) $ECHO_C" >&6
21469 else
21470 if test "$cross_compiling" = yes; then
21471 # Depending upon the size, compute the lo and hi bounds.
21472 cat >conftest.$ac_ext <<_ACEOF
21473 /* confdefs.h. */
21474 _ACEOF
21475 cat confdefs.h >>conftest.$ac_ext
21476 cat >>conftest.$ac_ext <<_ACEOF
21477 /* end confdefs.h. */
21478 $ac_includes_default
21479 typedef size_t ac__type_sizeof_;
21480 int
21481 main ()
21482 {
21483 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21484 test_array [0] = 0
21485
21486 ;
21487 return 0;
21488 }
21489 _ACEOF
21490 rm -f conftest.$ac_objext
21491 if { (ac_try="$ac_compile"
21492 case "(($ac_try" in
21493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21494 *) ac_try_echo=$ac_try;;
21495 esac
21496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21497 (eval "$ac_compile") 2>conftest.er1
21498 ac_status=$?
21499 grep -v '^ *+' conftest.er1 >conftest.err
21500 rm -f conftest.er1
21501 cat conftest.err >&5
21502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21503 (exit $ac_status); } && {
21504 test -z "$ac_c_werror_flag" ||
21505 test ! -s conftest.err
21506 } && test -s conftest.$ac_objext; then
21507 ac_lo=0 ac_mid=0
21508 while :; do
21509 cat >conftest.$ac_ext <<_ACEOF
21510 /* confdefs.h. */
21511 _ACEOF
21512 cat confdefs.h >>conftest.$ac_ext
21513 cat >>conftest.$ac_ext <<_ACEOF
21514 /* end confdefs.h. */
21515 $ac_includes_default
21516 typedef size_t ac__type_sizeof_;
21517 int
21518 main ()
21519 {
21520 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21521 test_array [0] = 0
21522
21523 ;
21524 return 0;
21525 }
21526 _ACEOF
21527 rm -f conftest.$ac_objext
21528 if { (ac_try="$ac_compile"
21529 case "(($ac_try" in
21530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21531 *) ac_try_echo=$ac_try;;
21532 esac
21533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21534 (eval "$ac_compile") 2>conftest.er1
21535 ac_status=$?
21536 grep -v '^ *+' conftest.er1 >conftest.err
21537 rm -f conftest.er1
21538 cat conftest.err >&5
21539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21540 (exit $ac_status); } && {
21541 test -z "$ac_c_werror_flag" ||
21542 test ! -s conftest.err
21543 } && test -s conftest.$ac_objext; then
21544 ac_hi=$ac_mid; break
21545 else
21546 echo "$as_me: failed program was:" >&5
21547 sed 's/^/| /' conftest.$ac_ext >&5
21548
21549 ac_lo=`expr $ac_mid + 1`
21550 if test $ac_lo -le $ac_mid; then
21551 ac_lo= ac_hi=
21552 break
21553 fi
21554 ac_mid=`expr 2 '*' $ac_mid + 1`
21555 fi
21556
21557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21558 done
21559 else
21560 echo "$as_me: failed program was:" >&5
21561 sed 's/^/| /' conftest.$ac_ext >&5
21562
21563 cat >conftest.$ac_ext <<_ACEOF
21564 /* confdefs.h. */
21565 _ACEOF
21566 cat confdefs.h >>conftest.$ac_ext
21567 cat >>conftest.$ac_ext <<_ACEOF
21568 /* end confdefs.h. */
21569 $ac_includes_default
21570 typedef size_t ac__type_sizeof_;
21571 int
21572 main ()
21573 {
21574 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21575 test_array [0] = 0
21576
21577 ;
21578 return 0;
21579 }
21580 _ACEOF
21581 rm -f conftest.$ac_objext
21582 if { (ac_try="$ac_compile"
21583 case "(($ac_try" in
21584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21585 *) ac_try_echo=$ac_try;;
21586 esac
21587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21588 (eval "$ac_compile") 2>conftest.er1
21589 ac_status=$?
21590 grep -v '^ *+' conftest.er1 >conftest.err
21591 rm -f conftest.er1
21592 cat conftest.err >&5
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); } && {
21595 test -z "$ac_c_werror_flag" ||
21596 test ! -s conftest.err
21597 } && test -s conftest.$ac_objext; then
21598 ac_hi=-1 ac_mid=-1
21599 while :; do
21600 cat >conftest.$ac_ext <<_ACEOF
21601 /* confdefs.h. */
21602 _ACEOF
21603 cat confdefs.h >>conftest.$ac_ext
21604 cat >>conftest.$ac_ext <<_ACEOF
21605 /* end confdefs.h. */
21606 $ac_includes_default
21607 typedef size_t ac__type_sizeof_;
21608 int
21609 main ()
21610 {
21611 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21612 test_array [0] = 0
21613
21614 ;
21615 return 0;
21616 }
21617 _ACEOF
21618 rm -f conftest.$ac_objext
21619 if { (ac_try="$ac_compile"
21620 case "(($ac_try" in
21621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21622 *) ac_try_echo=$ac_try;;
21623 esac
21624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21625 (eval "$ac_compile") 2>conftest.er1
21626 ac_status=$?
21627 grep -v '^ *+' conftest.er1 >conftest.err
21628 rm -f conftest.er1
21629 cat conftest.err >&5
21630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21631 (exit $ac_status); } && {
21632 test -z "$ac_c_werror_flag" ||
21633 test ! -s conftest.err
21634 } && test -s conftest.$ac_objext; then
21635 ac_lo=$ac_mid; break
21636 else
21637 echo "$as_me: failed program was:" >&5
21638 sed 's/^/| /' conftest.$ac_ext >&5
21639
21640 ac_hi=`expr '(' $ac_mid ')' - 1`
21641 if test $ac_mid -le $ac_hi; then
21642 ac_lo= ac_hi=
21643 break
21644 fi
21645 ac_mid=`expr 2 '*' $ac_mid`
21646 fi
21647
21648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21649 done
21650 else
21651 echo "$as_me: failed program was:" >&5
21652 sed 's/^/| /' conftest.$ac_ext >&5
21653
21654 ac_lo= ac_hi=
21655 fi
21656
21657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21658 fi
21659
21660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21661 # Binary search between lo and hi bounds.
21662 while test "x$ac_lo" != "x$ac_hi"; do
21663 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21664 cat >conftest.$ac_ext <<_ACEOF
21665 /* confdefs.h. */
21666 _ACEOF
21667 cat confdefs.h >>conftest.$ac_ext
21668 cat >>conftest.$ac_ext <<_ACEOF
21669 /* end confdefs.h. */
21670 $ac_includes_default
21671 typedef size_t ac__type_sizeof_;
21672 int
21673 main ()
21674 {
21675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21676 test_array [0] = 0
21677
21678 ;
21679 return 0;
21680 }
21681 _ACEOF
21682 rm -f conftest.$ac_objext
21683 if { (ac_try="$ac_compile"
21684 case "(($ac_try" in
21685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21686 *) ac_try_echo=$ac_try;;
21687 esac
21688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21689 (eval "$ac_compile") 2>conftest.er1
21690 ac_status=$?
21691 grep -v '^ *+' conftest.er1 >conftest.err
21692 rm -f conftest.er1
21693 cat conftest.err >&5
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); } && {
21696 test -z "$ac_c_werror_flag" ||
21697 test ! -s conftest.err
21698 } && test -s conftest.$ac_objext; then
21699 ac_hi=$ac_mid
21700 else
21701 echo "$as_me: failed program was:" >&5
21702 sed 's/^/| /' conftest.$ac_ext >&5
21703
21704 ac_lo=`expr '(' $ac_mid ')' + 1`
21705 fi
21706
21707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21708 done
21709 case $ac_lo in
21710 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21711 '') if test "$ac_cv_type_size_t" = yes; then
21712 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21713 See \`config.log' for more details." >&5
21714 echo "$as_me: error: cannot compute sizeof (size_t)
21715 See \`config.log' for more details." >&2;}
21716 { (exit 77); exit 77; }; }
21717 else
21718 ac_cv_sizeof_size_t=0
21719 fi ;;
21720 esac
21721 else
21722 cat >conftest.$ac_ext <<_ACEOF
21723 /* confdefs.h. */
21724 _ACEOF
21725 cat confdefs.h >>conftest.$ac_ext
21726 cat >>conftest.$ac_ext <<_ACEOF
21727 /* end confdefs.h. */
21728 $ac_includes_default
21729 typedef size_t ac__type_sizeof_;
21730 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21731 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21732 #include <stdio.h>
21733 #include <stdlib.h>
21734 int
21735 main ()
21736 {
21737
21738 FILE *f = fopen ("conftest.val", "w");
21739 if (! f)
21740 return 1;
21741 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21742 {
21743 long int i = longval ();
21744 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21745 return 1;
21746 fprintf (f, "%ld\n", i);
21747 }
21748 else
21749 {
21750 unsigned long int i = ulongval ();
21751 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21752 return 1;
21753 fprintf (f, "%lu\n", i);
21754 }
21755 return ferror (f) || fclose (f) != 0;
21756
21757 ;
21758 return 0;
21759 }
21760 _ACEOF
21761 rm -f conftest$ac_exeext
21762 if { (ac_try="$ac_link"
21763 case "(($ac_try" in
21764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21765 *) ac_try_echo=$ac_try;;
21766 esac
21767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21768 (eval "$ac_link") 2>&5
21769 ac_status=$?
21770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21771 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21772 { (case "(($ac_try" in
21773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21774 *) ac_try_echo=$ac_try;;
21775 esac
21776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21777 (eval "$ac_try") 2>&5
21778 ac_status=$?
21779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21780 (exit $ac_status); }; }; then
21781 ac_cv_sizeof_size_t=`cat conftest.val`
21782 else
21783 echo "$as_me: program exited with status $ac_status" >&5
21784 echo "$as_me: failed program was:" >&5
21785 sed 's/^/| /' conftest.$ac_ext >&5
21786
21787 ( exit $ac_status )
21788 if test "$ac_cv_type_size_t" = yes; then
21789 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21790 See \`config.log' for more details." >&5
21791 echo "$as_me: error: cannot compute sizeof (size_t)
21792 See \`config.log' for more details." >&2;}
21793 { (exit 77); exit 77; }; }
21794 else
21795 ac_cv_sizeof_size_t=0
21796 fi
21797 fi
21798 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21799 fi
21800 rm -f conftest.val
21801 fi
21802 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21803 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21804
21805
21806
21807 cat >>confdefs.h <<_ACEOF
21808 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21809 _ACEOF
21810
21811
21812
21813 case "${host}" in
21814 arm-*-linux* )
21815 { echo "$as_me:$LINENO: checking for long long" >&5
21816 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21817 if test "${ac_cv_type_long_long+set}" = set; then
21818 echo $ECHO_N "(cached) $ECHO_C" >&6
21819 else
21820 cat >conftest.$ac_ext <<_ACEOF
21821 /* confdefs.h. */
21822 _ACEOF
21823 cat confdefs.h >>conftest.$ac_ext
21824 cat >>conftest.$ac_ext <<_ACEOF
21825 /* end confdefs.h. */
21826 $ac_includes_default
21827 typedef long long ac__type_new_;
21828 int
21829 main ()
21830 {
21831 if ((ac__type_new_ *) 0)
21832 return 0;
21833 if (sizeof (ac__type_new_))
21834 return 0;
21835 ;
21836 return 0;
21837 }
21838 _ACEOF
21839 rm -f conftest.$ac_objext
21840 if { (ac_try="$ac_compile"
21841 case "(($ac_try" in
21842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21843 *) ac_try_echo=$ac_try;;
21844 esac
21845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21846 (eval "$ac_compile") 2>conftest.er1
21847 ac_status=$?
21848 grep -v '^ *+' conftest.er1 >conftest.err
21849 rm -f conftest.er1
21850 cat conftest.err >&5
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); } && {
21853 test -z "$ac_c_werror_flag" ||
21854 test ! -s conftest.err
21855 } && test -s conftest.$ac_objext; then
21856 ac_cv_type_long_long=yes
21857 else
21858 echo "$as_me: failed program was:" >&5
21859 sed 's/^/| /' conftest.$ac_ext >&5
21860
21861 ac_cv_type_long_long=no
21862 fi
21863
21864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21865 fi
21866 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21867 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21868
21869 # The cast to long int works around a bug in the HP C Compiler
21870 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21871 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21872 # This bug is HP SR number 8606223364.
21873 { echo "$as_me:$LINENO: checking size of long long" >&5
21874 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21875 if test "${ac_cv_sizeof_long_long+set}" = set; then
21876 echo $ECHO_N "(cached) $ECHO_C" >&6
21877 else
21878 if test "$cross_compiling" = yes; then
21879 # Depending upon the size, compute the lo and hi bounds.
21880 cat >conftest.$ac_ext <<_ACEOF
21881 /* confdefs.h. */
21882 _ACEOF
21883 cat confdefs.h >>conftest.$ac_ext
21884 cat >>conftest.$ac_ext <<_ACEOF
21885 /* end confdefs.h. */
21886 $ac_includes_default
21887 typedef long long ac__type_sizeof_;
21888 int
21889 main ()
21890 {
21891 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21892 test_array [0] = 0
21893
21894 ;
21895 return 0;
21896 }
21897 _ACEOF
21898 rm -f conftest.$ac_objext
21899 if { (ac_try="$ac_compile"
21900 case "(($ac_try" in
21901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21902 *) ac_try_echo=$ac_try;;
21903 esac
21904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21905 (eval "$ac_compile") 2>conftest.er1
21906 ac_status=$?
21907 grep -v '^ *+' conftest.er1 >conftest.err
21908 rm -f conftest.er1
21909 cat conftest.err >&5
21910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21911 (exit $ac_status); } && {
21912 test -z "$ac_c_werror_flag" ||
21913 test ! -s conftest.err
21914 } && test -s conftest.$ac_objext; then
21915 ac_lo=0 ac_mid=0
21916 while :; do
21917 cat >conftest.$ac_ext <<_ACEOF
21918 /* confdefs.h. */
21919 _ACEOF
21920 cat confdefs.h >>conftest.$ac_ext
21921 cat >>conftest.$ac_ext <<_ACEOF
21922 /* end confdefs.h. */
21923 $ac_includes_default
21924 typedef long long ac__type_sizeof_;
21925 int
21926 main ()
21927 {
21928 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21929 test_array [0] = 0
21930
21931 ;
21932 return 0;
21933 }
21934 _ACEOF
21935 rm -f conftest.$ac_objext
21936 if { (ac_try="$ac_compile"
21937 case "(($ac_try" in
21938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21939 *) ac_try_echo=$ac_try;;
21940 esac
21941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21942 (eval "$ac_compile") 2>conftest.er1
21943 ac_status=$?
21944 grep -v '^ *+' conftest.er1 >conftest.err
21945 rm -f conftest.er1
21946 cat conftest.err >&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); } && {
21949 test -z "$ac_c_werror_flag" ||
21950 test ! -s conftest.err
21951 } && test -s conftest.$ac_objext; then
21952 ac_hi=$ac_mid; break
21953 else
21954 echo "$as_me: failed program was:" >&5
21955 sed 's/^/| /' conftest.$ac_ext >&5
21956
21957 ac_lo=`expr $ac_mid + 1`
21958 if test $ac_lo -le $ac_mid; then
21959 ac_lo= ac_hi=
21960 break
21961 fi
21962 ac_mid=`expr 2 '*' $ac_mid + 1`
21963 fi
21964
21965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21966 done
21967 else
21968 echo "$as_me: failed program was:" >&5
21969 sed 's/^/| /' conftest.$ac_ext >&5
21970
21971 cat >conftest.$ac_ext <<_ACEOF
21972 /* confdefs.h. */
21973 _ACEOF
21974 cat confdefs.h >>conftest.$ac_ext
21975 cat >>conftest.$ac_ext <<_ACEOF
21976 /* end confdefs.h. */
21977 $ac_includes_default
21978 typedef long long ac__type_sizeof_;
21979 int
21980 main ()
21981 {
21982 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21983 test_array [0] = 0
21984
21985 ;
21986 return 0;
21987 }
21988 _ACEOF
21989 rm -f conftest.$ac_objext
21990 if { (ac_try="$ac_compile"
21991 case "(($ac_try" in
21992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21993 *) ac_try_echo=$ac_try;;
21994 esac
21995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21996 (eval "$ac_compile") 2>conftest.er1
21997 ac_status=$?
21998 grep -v '^ *+' conftest.er1 >conftest.err
21999 rm -f conftest.er1
22000 cat conftest.err >&5
22001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002 (exit $ac_status); } && {
22003 test -z "$ac_c_werror_flag" ||
22004 test ! -s conftest.err
22005 } && test -s conftest.$ac_objext; then
22006 ac_hi=-1 ac_mid=-1
22007 while :; do
22008 cat >conftest.$ac_ext <<_ACEOF
22009 /* confdefs.h. */
22010 _ACEOF
22011 cat confdefs.h >>conftest.$ac_ext
22012 cat >>conftest.$ac_ext <<_ACEOF
22013 /* end confdefs.h. */
22014 $ac_includes_default
22015 typedef long long ac__type_sizeof_;
22016 int
22017 main ()
22018 {
22019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22020 test_array [0] = 0
22021
22022 ;
22023 return 0;
22024 }
22025 _ACEOF
22026 rm -f conftest.$ac_objext
22027 if { (ac_try="$ac_compile"
22028 case "(($ac_try" in
22029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22030 *) ac_try_echo=$ac_try;;
22031 esac
22032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22033 (eval "$ac_compile") 2>conftest.er1
22034 ac_status=$?
22035 grep -v '^ *+' conftest.er1 >conftest.err
22036 rm -f conftest.er1
22037 cat conftest.err >&5
22038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22039 (exit $ac_status); } && {
22040 test -z "$ac_c_werror_flag" ||
22041 test ! -s conftest.err
22042 } && test -s conftest.$ac_objext; then
22043 ac_lo=$ac_mid; break
22044 else
22045 echo "$as_me: failed program was:" >&5
22046 sed 's/^/| /' conftest.$ac_ext >&5
22047
22048 ac_hi=`expr '(' $ac_mid ')' - 1`
22049 if test $ac_mid -le $ac_hi; then
22050 ac_lo= ac_hi=
22051 break
22052 fi
22053 ac_mid=`expr 2 '*' $ac_mid`
22054 fi
22055
22056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22057 done
22058 else
22059 echo "$as_me: failed program was:" >&5
22060 sed 's/^/| /' conftest.$ac_ext >&5
22061
22062 ac_lo= ac_hi=
22063 fi
22064
22065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22066 fi
22067
22068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22069 # Binary search between lo and hi bounds.
22070 while test "x$ac_lo" != "x$ac_hi"; do
22071 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22072 cat >conftest.$ac_ext <<_ACEOF
22073 /* confdefs.h. */
22074 _ACEOF
22075 cat confdefs.h >>conftest.$ac_ext
22076 cat >>conftest.$ac_ext <<_ACEOF
22077 /* end confdefs.h. */
22078 $ac_includes_default
22079 typedef long long ac__type_sizeof_;
22080 int
22081 main ()
22082 {
22083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22084 test_array [0] = 0
22085
22086 ;
22087 return 0;
22088 }
22089 _ACEOF
22090 rm -f conftest.$ac_objext
22091 if { (ac_try="$ac_compile"
22092 case "(($ac_try" in
22093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22094 *) ac_try_echo=$ac_try;;
22095 esac
22096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22097 (eval "$ac_compile") 2>conftest.er1
22098 ac_status=$?
22099 grep -v '^ *+' conftest.er1 >conftest.err
22100 rm -f conftest.er1
22101 cat conftest.err >&5
22102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22103 (exit $ac_status); } && {
22104 test -z "$ac_c_werror_flag" ||
22105 test ! -s conftest.err
22106 } && test -s conftest.$ac_objext; then
22107 ac_hi=$ac_mid
22108 else
22109 echo "$as_me: failed program was:" >&5
22110 sed 's/^/| /' conftest.$ac_ext >&5
22111
22112 ac_lo=`expr '(' $ac_mid ')' + 1`
22113 fi
22114
22115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22116 done
22117 case $ac_lo in
22118 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22119 '') if test "$ac_cv_type_long_long" = yes; then
22120 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22121 See \`config.log' for more details." >&5
22122 echo "$as_me: error: cannot compute sizeof (long long)
22123 See \`config.log' for more details." >&2;}
22124 { (exit 77); exit 77; }; }
22125 else
22126 ac_cv_sizeof_long_long=0
22127 fi ;;
22128 esac
22129 else
22130 cat >conftest.$ac_ext <<_ACEOF
22131 /* confdefs.h. */
22132 _ACEOF
22133 cat confdefs.h >>conftest.$ac_ext
22134 cat >>conftest.$ac_ext <<_ACEOF
22135 /* end confdefs.h. */
22136 $ac_includes_default
22137 typedef long long ac__type_sizeof_;
22138 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22139 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22140 #include <stdio.h>
22141 #include <stdlib.h>
22142 int
22143 main ()
22144 {
22145
22146 FILE *f = fopen ("conftest.val", "w");
22147 if (! f)
22148 return 1;
22149 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22150 {
22151 long int i = longval ();
22152 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22153 return 1;
22154 fprintf (f, "%ld\n", i);
22155 }
22156 else
22157 {
22158 unsigned long int i = ulongval ();
22159 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22160 return 1;
22161 fprintf (f, "%lu\n", i);
22162 }
22163 return ferror (f) || fclose (f) != 0;
22164
22165 ;
22166 return 0;
22167 }
22168 _ACEOF
22169 rm -f conftest$ac_exeext
22170 if { (ac_try="$ac_link"
22171 case "(($ac_try" in
22172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22173 *) ac_try_echo=$ac_try;;
22174 esac
22175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22176 (eval "$ac_link") 2>&5
22177 ac_status=$?
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22180 { (case "(($ac_try" in
22181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22182 *) ac_try_echo=$ac_try;;
22183 esac
22184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22185 (eval "$ac_try") 2>&5
22186 ac_status=$?
22187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188 (exit $ac_status); }; }; then
22189 ac_cv_sizeof_long_long=`cat conftest.val`
22190 else
22191 echo "$as_me: program exited with status $ac_status" >&5
22192 echo "$as_me: failed program was:" >&5
22193 sed 's/^/| /' conftest.$ac_ext >&5
22194
22195 ( exit $ac_status )
22196 if test "$ac_cv_type_long_long" = yes; then
22197 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22198 See \`config.log' for more details." >&5
22199 echo "$as_me: error: cannot compute sizeof (long long)
22200 See \`config.log' for more details." >&2;}
22201 { (exit 77); exit 77; }; }
22202 else
22203 ac_cv_sizeof_long_long=0
22204 fi
22205 fi
22206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22207 fi
22208 rm -f conftest.val
22209 fi
22210 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22211 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22212
22213
22214
22215 cat >>confdefs.h <<_ACEOF
22216 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22217 _ACEOF
22218
22219
22220 ;;
22221 *-hp-hpux* )
22222 { echo "$as_me:$LINENO: checking for long long" >&5
22223 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22224 if test "${ac_cv_type_long_long+set}" = set; then
22225 echo $ECHO_N "(cached) $ECHO_C" >&6
22226 else
22227 cat >conftest.$ac_ext <<_ACEOF
22228 /* confdefs.h. */
22229 _ACEOF
22230 cat confdefs.h >>conftest.$ac_ext
22231 cat >>conftest.$ac_ext <<_ACEOF
22232 /* end confdefs.h. */
22233 $ac_includes_default
22234 typedef long long ac__type_new_;
22235 int
22236 main ()
22237 {
22238 if ((ac__type_new_ *) 0)
22239 return 0;
22240 if (sizeof (ac__type_new_))
22241 return 0;
22242 ;
22243 return 0;
22244 }
22245 _ACEOF
22246 rm -f conftest.$ac_objext
22247 if { (ac_try="$ac_compile"
22248 case "(($ac_try" in
22249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22250 *) ac_try_echo=$ac_try;;
22251 esac
22252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22253 (eval "$ac_compile") 2>conftest.er1
22254 ac_status=$?
22255 grep -v '^ *+' conftest.er1 >conftest.err
22256 rm -f conftest.er1
22257 cat conftest.err >&5
22258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22259 (exit $ac_status); } && {
22260 test -z "$ac_c_werror_flag" ||
22261 test ! -s conftest.err
22262 } && test -s conftest.$ac_objext; then
22263 ac_cv_type_long_long=yes
22264 else
22265 echo "$as_me: failed program was:" >&5
22266 sed 's/^/| /' conftest.$ac_ext >&5
22267
22268 ac_cv_type_long_long=no
22269 fi
22270
22271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22272 fi
22273 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22274 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22275
22276 # The cast to long int works around a bug in the HP C Compiler
22277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22279 # This bug is HP SR number 8606223364.
22280 { echo "$as_me:$LINENO: checking size of long long" >&5
22281 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22282 if test "${ac_cv_sizeof_long_long+set}" = set; then
22283 echo $ECHO_N "(cached) $ECHO_C" >&6
22284 else
22285 if test "$cross_compiling" = yes; then
22286 # Depending upon the size, compute the lo and hi bounds.
22287 cat >conftest.$ac_ext <<_ACEOF
22288 /* confdefs.h. */
22289 _ACEOF
22290 cat confdefs.h >>conftest.$ac_ext
22291 cat >>conftest.$ac_ext <<_ACEOF
22292 /* end confdefs.h. */
22293 $ac_includes_default
22294 typedef long long ac__type_sizeof_;
22295 int
22296 main ()
22297 {
22298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22299 test_array [0] = 0
22300
22301 ;
22302 return 0;
22303 }
22304 _ACEOF
22305 rm -f conftest.$ac_objext
22306 if { (ac_try="$ac_compile"
22307 case "(($ac_try" in
22308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22309 *) ac_try_echo=$ac_try;;
22310 esac
22311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22312 (eval "$ac_compile") 2>conftest.er1
22313 ac_status=$?
22314 grep -v '^ *+' conftest.er1 >conftest.err
22315 rm -f conftest.er1
22316 cat conftest.err >&5
22317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318 (exit $ac_status); } && {
22319 test -z "$ac_c_werror_flag" ||
22320 test ! -s conftest.err
22321 } && test -s conftest.$ac_objext; then
22322 ac_lo=0 ac_mid=0
22323 while :; do
22324 cat >conftest.$ac_ext <<_ACEOF
22325 /* confdefs.h. */
22326 _ACEOF
22327 cat confdefs.h >>conftest.$ac_ext
22328 cat >>conftest.$ac_ext <<_ACEOF
22329 /* end confdefs.h. */
22330 $ac_includes_default
22331 typedef long long ac__type_sizeof_;
22332 int
22333 main ()
22334 {
22335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22336 test_array [0] = 0
22337
22338 ;
22339 return 0;
22340 }
22341 _ACEOF
22342 rm -f conftest.$ac_objext
22343 if { (ac_try="$ac_compile"
22344 case "(($ac_try" in
22345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22346 *) ac_try_echo=$ac_try;;
22347 esac
22348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22349 (eval "$ac_compile") 2>conftest.er1
22350 ac_status=$?
22351 grep -v '^ *+' conftest.er1 >conftest.err
22352 rm -f conftest.er1
22353 cat conftest.err >&5
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); } && {
22356 test -z "$ac_c_werror_flag" ||
22357 test ! -s conftest.err
22358 } && test -s conftest.$ac_objext; then
22359 ac_hi=$ac_mid; break
22360 else
22361 echo "$as_me: failed program was:" >&5
22362 sed 's/^/| /' conftest.$ac_ext >&5
22363
22364 ac_lo=`expr $ac_mid + 1`
22365 if test $ac_lo -le $ac_mid; then
22366 ac_lo= ac_hi=
22367 break
22368 fi
22369 ac_mid=`expr 2 '*' $ac_mid + 1`
22370 fi
22371
22372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22373 done
22374 else
22375 echo "$as_me: failed program was:" >&5
22376 sed 's/^/| /' conftest.$ac_ext >&5
22377
22378 cat >conftest.$ac_ext <<_ACEOF
22379 /* confdefs.h. */
22380 _ACEOF
22381 cat confdefs.h >>conftest.$ac_ext
22382 cat >>conftest.$ac_ext <<_ACEOF
22383 /* end confdefs.h. */
22384 $ac_includes_default
22385 typedef long long ac__type_sizeof_;
22386 int
22387 main ()
22388 {
22389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22390 test_array [0] = 0
22391
22392 ;
22393 return 0;
22394 }
22395 _ACEOF
22396 rm -f conftest.$ac_objext
22397 if { (ac_try="$ac_compile"
22398 case "(($ac_try" in
22399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22400 *) ac_try_echo=$ac_try;;
22401 esac
22402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22403 (eval "$ac_compile") 2>conftest.er1
22404 ac_status=$?
22405 grep -v '^ *+' conftest.er1 >conftest.err
22406 rm -f conftest.er1
22407 cat conftest.err >&5
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); } && {
22410 test -z "$ac_c_werror_flag" ||
22411 test ! -s conftest.err
22412 } && test -s conftest.$ac_objext; then
22413 ac_hi=-1 ac_mid=-1
22414 while :; do
22415 cat >conftest.$ac_ext <<_ACEOF
22416 /* confdefs.h. */
22417 _ACEOF
22418 cat confdefs.h >>conftest.$ac_ext
22419 cat >>conftest.$ac_ext <<_ACEOF
22420 /* end confdefs.h. */
22421 $ac_includes_default
22422 typedef long long ac__type_sizeof_;
22423 int
22424 main ()
22425 {
22426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22427 test_array [0] = 0
22428
22429 ;
22430 return 0;
22431 }
22432 _ACEOF
22433 rm -f conftest.$ac_objext
22434 if { (ac_try="$ac_compile"
22435 case "(($ac_try" in
22436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22437 *) ac_try_echo=$ac_try;;
22438 esac
22439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22440 (eval "$ac_compile") 2>conftest.er1
22441 ac_status=$?
22442 grep -v '^ *+' conftest.er1 >conftest.err
22443 rm -f conftest.er1
22444 cat conftest.err >&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); } && {
22447 test -z "$ac_c_werror_flag" ||
22448 test ! -s conftest.err
22449 } && test -s conftest.$ac_objext; then
22450 ac_lo=$ac_mid; break
22451 else
22452 echo "$as_me: failed program was:" >&5
22453 sed 's/^/| /' conftest.$ac_ext >&5
22454
22455 ac_hi=`expr '(' $ac_mid ')' - 1`
22456 if test $ac_mid -le $ac_hi; then
22457 ac_lo= ac_hi=
22458 break
22459 fi
22460 ac_mid=`expr 2 '*' $ac_mid`
22461 fi
22462
22463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22464 done
22465 else
22466 echo "$as_me: failed program was:" >&5
22467 sed 's/^/| /' conftest.$ac_ext >&5
22468
22469 ac_lo= ac_hi=
22470 fi
22471
22472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22473 fi
22474
22475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22476 # Binary search between lo and hi bounds.
22477 while test "x$ac_lo" != "x$ac_hi"; do
22478 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22479 cat >conftest.$ac_ext <<_ACEOF
22480 /* confdefs.h. */
22481 _ACEOF
22482 cat confdefs.h >>conftest.$ac_ext
22483 cat >>conftest.$ac_ext <<_ACEOF
22484 /* end confdefs.h. */
22485 $ac_includes_default
22486 typedef long long ac__type_sizeof_;
22487 int
22488 main ()
22489 {
22490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22491 test_array [0] = 0
22492
22493 ;
22494 return 0;
22495 }
22496 _ACEOF
22497 rm -f conftest.$ac_objext
22498 if { (ac_try="$ac_compile"
22499 case "(($ac_try" in
22500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22501 *) ac_try_echo=$ac_try;;
22502 esac
22503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22504 (eval "$ac_compile") 2>conftest.er1
22505 ac_status=$?
22506 grep -v '^ *+' conftest.er1 >conftest.err
22507 rm -f conftest.er1
22508 cat conftest.err >&5
22509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22510 (exit $ac_status); } && {
22511 test -z "$ac_c_werror_flag" ||
22512 test ! -s conftest.err
22513 } && test -s conftest.$ac_objext; then
22514 ac_hi=$ac_mid
22515 else
22516 echo "$as_me: failed program was:" >&5
22517 sed 's/^/| /' conftest.$ac_ext >&5
22518
22519 ac_lo=`expr '(' $ac_mid ')' + 1`
22520 fi
22521
22522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22523 done
22524 case $ac_lo in
22525 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22526 '') if test "$ac_cv_type_long_long" = yes; then
22527 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22528 See \`config.log' for more details." >&5
22529 echo "$as_me: error: cannot compute sizeof (long long)
22530 See \`config.log' for more details." >&2;}
22531 { (exit 77); exit 77; }; }
22532 else
22533 ac_cv_sizeof_long_long=0
22534 fi ;;
22535 esac
22536 else
22537 cat >conftest.$ac_ext <<_ACEOF
22538 /* confdefs.h. */
22539 _ACEOF
22540 cat confdefs.h >>conftest.$ac_ext
22541 cat >>conftest.$ac_ext <<_ACEOF
22542 /* end confdefs.h. */
22543 $ac_includes_default
22544 typedef long long ac__type_sizeof_;
22545 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22546 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22547 #include <stdio.h>
22548 #include <stdlib.h>
22549 int
22550 main ()
22551 {
22552
22553 FILE *f = fopen ("conftest.val", "w");
22554 if (! f)
22555 return 1;
22556 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22557 {
22558 long int i = longval ();
22559 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22560 return 1;
22561 fprintf (f, "%ld\n", i);
22562 }
22563 else
22564 {
22565 unsigned long int i = ulongval ();
22566 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22567 return 1;
22568 fprintf (f, "%lu\n", i);
22569 }
22570 return ferror (f) || fclose (f) != 0;
22571
22572 ;
22573 return 0;
22574 }
22575 _ACEOF
22576 rm -f conftest$ac_exeext
22577 if { (ac_try="$ac_link"
22578 case "(($ac_try" in
22579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22580 *) ac_try_echo=$ac_try;;
22581 esac
22582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22583 (eval "$ac_link") 2>&5
22584 ac_status=$?
22585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22586 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22587 { (case "(($ac_try" in
22588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22589 *) ac_try_echo=$ac_try;;
22590 esac
22591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22592 (eval "$ac_try") 2>&5
22593 ac_status=$?
22594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22595 (exit $ac_status); }; }; then
22596 ac_cv_sizeof_long_long=`cat conftest.val`
22597 else
22598 echo "$as_me: program exited with status $ac_status" >&5
22599 echo "$as_me: failed program was:" >&5
22600 sed 's/^/| /' conftest.$ac_ext >&5
22601
22602 ( exit $ac_status )
22603 if test "$ac_cv_type_long_long" = yes; then
22604 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22605 See \`config.log' for more details." >&5
22606 echo "$as_me: error: cannot compute sizeof (long long)
22607 See \`config.log' for more details." >&2;}
22608 { (exit 77); exit 77; }; }
22609 else
22610 ac_cv_sizeof_long_long=0
22611 fi
22612 fi
22613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22614 fi
22615 rm -f conftest.val
22616 fi
22617 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22618 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22619
22620
22621
22622 cat >>confdefs.h <<_ACEOF
22623 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22624 _ACEOF
22625
22626
22627 if test "$ac_cv_sizeof_long_long" != 0; then
22628 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22629 fi
22630 ;;
22631 * )
22632 { echo "$as_me:$LINENO: checking for long long" >&5
22633 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22634 if test "${ac_cv_type_long_long+set}" = set; then
22635 echo $ECHO_N "(cached) $ECHO_C" >&6
22636 else
22637 cat >conftest.$ac_ext <<_ACEOF
22638 /* confdefs.h. */
22639 _ACEOF
22640 cat confdefs.h >>conftest.$ac_ext
22641 cat >>conftest.$ac_ext <<_ACEOF
22642 /* end confdefs.h. */
22643 $ac_includes_default
22644 typedef long long ac__type_new_;
22645 int
22646 main ()
22647 {
22648 if ((ac__type_new_ *) 0)
22649 return 0;
22650 if (sizeof (ac__type_new_))
22651 return 0;
22652 ;
22653 return 0;
22654 }
22655 _ACEOF
22656 rm -f conftest.$ac_objext
22657 if { (ac_try="$ac_compile"
22658 case "(($ac_try" in
22659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22660 *) ac_try_echo=$ac_try;;
22661 esac
22662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22663 (eval "$ac_compile") 2>conftest.er1
22664 ac_status=$?
22665 grep -v '^ *+' conftest.er1 >conftest.err
22666 rm -f conftest.er1
22667 cat conftest.err >&5
22668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22669 (exit $ac_status); } && {
22670 test -z "$ac_c_werror_flag" ||
22671 test ! -s conftest.err
22672 } && test -s conftest.$ac_objext; then
22673 ac_cv_type_long_long=yes
22674 else
22675 echo "$as_me: failed program was:" >&5
22676 sed 's/^/| /' conftest.$ac_ext >&5
22677
22678 ac_cv_type_long_long=no
22679 fi
22680
22681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22682 fi
22683 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22684 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22685
22686 # The cast to long int works around a bug in the HP C Compiler
22687 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22688 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22689 # This bug is HP SR number 8606223364.
22690 { echo "$as_me:$LINENO: checking size of long long" >&5
22691 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22692 if test "${ac_cv_sizeof_long_long+set}" = set; then
22693 echo $ECHO_N "(cached) $ECHO_C" >&6
22694 else
22695 if test "$cross_compiling" = yes; then
22696 # Depending upon the size, compute the lo and hi bounds.
22697 cat >conftest.$ac_ext <<_ACEOF
22698 /* confdefs.h. */
22699 _ACEOF
22700 cat confdefs.h >>conftest.$ac_ext
22701 cat >>conftest.$ac_ext <<_ACEOF
22702 /* end confdefs.h. */
22703 $ac_includes_default
22704 typedef long long ac__type_sizeof_;
22705 int
22706 main ()
22707 {
22708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22709 test_array [0] = 0
22710
22711 ;
22712 return 0;
22713 }
22714 _ACEOF
22715 rm -f conftest.$ac_objext
22716 if { (ac_try="$ac_compile"
22717 case "(($ac_try" in
22718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22719 *) ac_try_echo=$ac_try;;
22720 esac
22721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22722 (eval "$ac_compile") 2>conftest.er1
22723 ac_status=$?
22724 grep -v '^ *+' conftest.er1 >conftest.err
22725 rm -f conftest.er1
22726 cat conftest.err >&5
22727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22728 (exit $ac_status); } && {
22729 test -z "$ac_c_werror_flag" ||
22730 test ! -s conftest.err
22731 } && test -s conftest.$ac_objext; then
22732 ac_lo=0 ac_mid=0
22733 while :; do
22734 cat >conftest.$ac_ext <<_ACEOF
22735 /* confdefs.h. */
22736 _ACEOF
22737 cat confdefs.h >>conftest.$ac_ext
22738 cat >>conftest.$ac_ext <<_ACEOF
22739 /* end confdefs.h. */
22740 $ac_includes_default
22741 typedef long long ac__type_sizeof_;
22742 int
22743 main ()
22744 {
22745 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22746 test_array [0] = 0
22747
22748 ;
22749 return 0;
22750 }
22751 _ACEOF
22752 rm -f conftest.$ac_objext
22753 if { (ac_try="$ac_compile"
22754 case "(($ac_try" in
22755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22756 *) ac_try_echo=$ac_try;;
22757 esac
22758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22759 (eval "$ac_compile") 2>conftest.er1
22760 ac_status=$?
22761 grep -v '^ *+' conftest.er1 >conftest.err
22762 rm -f conftest.er1
22763 cat conftest.err >&5
22764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22765 (exit $ac_status); } && {
22766 test -z "$ac_c_werror_flag" ||
22767 test ! -s conftest.err
22768 } && test -s conftest.$ac_objext; then
22769 ac_hi=$ac_mid; break
22770 else
22771 echo "$as_me: failed program was:" >&5
22772 sed 's/^/| /' conftest.$ac_ext >&5
22773
22774 ac_lo=`expr $ac_mid + 1`
22775 if test $ac_lo -le $ac_mid; then
22776 ac_lo= ac_hi=
22777 break
22778 fi
22779 ac_mid=`expr 2 '*' $ac_mid + 1`
22780 fi
22781
22782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22783 done
22784 else
22785 echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.$ac_ext >&5
22787
22788 cat >conftest.$ac_ext <<_ACEOF
22789 /* confdefs.h. */
22790 _ACEOF
22791 cat confdefs.h >>conftest.$ac_ext
22792 cat >>conftest.$ac_ext <<_ACEOF
22793 /* end confdefs.h. */
22794 $ac_includes_default
22795 typedef long long ac__type_sizeof_;
22796 int
22797 main ()
22798 {
22799 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22800 test_array [0] = 0
22801
22802 ;
22803 return 0;
22804 }
22805 _ACEOF
22806 rm -f conftest.$ac_objext
22807 if { (ac_try="$ac_compile"
22808 case "(($ac_try" in
22809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22810 *) ac_try_echo=$ac_try;;
22811 esac
22812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22813 (eval "$ac_compile") 2>conftest.er1
22814 ac_status=$?
22815 grep -v '^ *+' conftest.er1 >conftest.err
22816 rm -f conftest.er1
22817 cat conftest.err >&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); } && {
22820 test -z "$ac_c_werror_flag" ||
22821 test ! -s conftest.err
22822 } && test -s conftest.$ac_objext; then
22823 ac_hi=-1 ac_mid=-1
22824 while :; do
22825 cat >conftest.$ac_ext <<_ACEOF
22826 /* confdefs.h. */
22827 _ACEOF
22828 cat confdefs.h >>conftest.$ac_ext
22829 cat >>conftest.$ac_ext <<_ACEOF
22830 /* end confdefs.h. */
22831 $ac_includes_default
22832 typedef long long ac__type_sizeof_;
22833 int
22834 main ()
22835 {
22836 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22837 test_array [0] = 0
22838
22839 ;
22840 return 0;
22841 }
22842 _ACEOF
22843 rm -f conftest.$ac_objext
22844 if { (ac_try="$ac_compile"
22845 case "(($ac_try" in
22846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22847 *) ac_try_echo=$ac_try;;
22848 esac
22849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22850 (eval "$ac_compile") 2>conftest.er1
22851 ac_status=$?
22852 grep -v '^ *+' conftest.er1 >conftest.err
22853 rm -f conftest.er1
22854 cat conftest.err >&5
22855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22856 (exit $ac_status); } && {
22857 test -z "$ac_c_werror_flag" ||
22858 test ! -s conftest.err
22859 } && test -s conftest.$ac_objext; then
22860 ac_lo=$ac_mid; break
22861 else
22862 echo "$as_me: failed program was:" >&5
22863 sed 's/^/| /' conftest.$ac_ext >&5
22864
22865 ac_hi=`expr '(' $ac_mid ')' - 1`
22866 if test $ac_mid -le $ac_hi; then
22867 ac_lo= ac_hi=
22868 break
22869 fi
22870 ac_mid=`expr 2 '*' $ac_mid`
22871 fi
22872
22873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22874 done
22875 else
22876 echo "$as_me: failed program was:" >&5
22877 sed 's/^/| /' conftest.$ac_ext >&5
22878
22879 ac_lo= ac_hi=
22880 fi
22881
22882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22883 fi
22884
22885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22886 # Binary search between lo and hi bounds.
22887 while test "x$ac_lo" != "x$ac_hi"; do
22888 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22889 cat >conftest.$ac_ext <<_ACEOF
22890 /* confdefs.h. */
22891 _ACEOF
22892 cat confdefs.h >>conftest.$ac_ext
22893 cat >>conftest.$ac_ext <<_ACEOF
22894 /* end confdefs.h. */
22895 $ac_includes_default
22896 typedef long long ac__type_sizeof_;
22897 int
22898 main ()
22899 {
22900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22901 test_array [0] = 0
22902
22903 ;
22904 return 0;
22905 }
22906 _ACEOF
22907 rm -f conftest.$ac_objext
22908 if { (ac_try="$ac_compile"
22909 case "(($ac_try" in
22910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22911 *) ac_try_echo=$ac_try;;
22912 esac
22913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22914 (eval "$ac_compile") 2>conftest.er1
22915 ac_status=$?
22916 grep -v '^ *+' conftest.er1 >conftest.err
22917 rm -f conftest.er1
22918 cat conftest.err >&5
22919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22920 (exit $ac_status); } && {
22921 test -z "$ac_c_werror_flag" ||
22922 test ! -s conftest.err
22923 } && test -s conftest.$ac_objext; then
22924 ac_hi=$ac_mid
22925 else
22926 echo "$as_me: failed program was:" >&5
22927 sed 's/^/| /' conftest.$ac_ext >&5
22928
22929 ac_lo=`expr '(' $ac_mid ')' + 1`
22930 fi
22931
22932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22933 done
22934 case $ac_lo in
22935 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22936 '') if test "$ac_cv_type_long_long" = yes; then
22937 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22938 See \`config.log' for more details." >&5
22939 echo "$as_me: error: cannot compute sizeof (long long)
22940 See \`config.log' for more details." >&2;}
22941 { (exit 77); exit 77; }; }
22942 else
22943 ac_cv_sizeof_long_long=0
22944 fi ;;
22945 esac
22946 else
22947 cat >conftest.$ac_ext <<_ACEOF
22948 /* confdefs.h. */
22949 _ACEOF
22950 cat confdefs.h >>conftest.$ac_ext
22951 cat >>conftest.$ac_ext <<_ACEOF
22952 /* end confdefs.h. */
22953 $ac_includes_default
22954 typedef long long ac__type_sizeof_;
22955 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22956 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22957 #include <stdio.h>
22958 #include <stdlib.h>
22959 int
22960 main ()
22961 {
22962
22963 FILE *f = fopen ("conftest.val", "w");
22964 if (! f)
22965 return 1;
22966 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22967 {
22968 long int i = longval ();
22969 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22970 return 1;
22971 fprintf (f, "%ld\n", i);
22972 }
22973 else
22974 {
22975 unsigned long int i = ulongval ();
22976 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22977 return 1;
22978 fprintf (f, "%lu\n", i);
22979 }
22980 return ferror (f) || fclose (f) != 0;
22981
22982 ;
22983 return 0;
22984 }
22985 _ACEOF
22986 rm -f conftest$ac_exeext
22987 if { (ac_try="$ac_link"
22988 case "(($ac_try" in
22989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22990 *) ac_try_echo=$ac_try;;
22991 esac
22992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22993 (eval "$ac_link") 2>&5
22994 ac_status=$?
22995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22996 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22997 { (case "(($ac_try" in
22998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22999 *) ac_try_echo=$ac_try;;
23000 esac
23001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23002 (eval "$ac_try") 2>&5
23003 ac_status=$?
23004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23005 (exit $ac_status); }; }; then
23006 ac_cv_sizeof_long_long=`cat conftest.val`
23007 else
23008 echo "$as_me: program exited with status $ac_status" >&5
23009 echo "$as_me: failed program was:" >&5
23010 sed 's/^/| /' conftest.$ac_ext >&5
23011
23012 ( exit $ac_status )
23013 if test "$ac_cv_type_long_long" = yes; then
23014 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23015 See \`config.log' for more details." >&5
23016 echo "$as_me: error: cannot compute sizeof (long long)
23017 See \`config.log' for more details." >&2;}
23018 { (exit 77); exit 77; }; }
23019 else
23020 ac_cv_sizeof_long_long=0
23021 fi
23022 fi
23023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23024 fi
23025 rm -f conftest.val
23026 fi
23027 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23028 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23029
23030
23031
23032 cat >>confdefs.h <<_ACEOF
23033 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23034 _ACEOF
23035
23036
23037 esac
23038
23039 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23040 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23041 if test "${ac_cv_type_wchar_t+set}" = set; then
23042 echo $ECHO_N "(cached) $ECHO_C" >&6
23043 else
23044 cat >conftest.$ac_ext <<_ACEOF
23045 /* confdefs.h. */
23046 _ACEOF
23047 cat confdefs.h >>conftest.$ac_ext
23048 cat >>conftest.$ac_ext <<_ACEOF
23049 /* end confdefs.h. */
23050
23051 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23052 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23053 # error "fake wchar_t"
23054 #endif
23055 #ifdef HAVE_WCHAR_H
23056 # ifdef __CYGWIN__
23057 # include <stddef.h>
23058 # endif
23059 # include <wchar.h>
23060 #endif
23061 #ifdef HAVE_STDLIB_H
23062 # include <stdlib.h>
23063 #endif
23064 #include <stdio.h>
23065
23066
23067
23068 typedef wchar_t ac__type_new_;
23069 int
23070 main ()
23071 {
23072 if ((ac__type_new_ *) 0)
23073 return 0;
23074 if (sizeof (ac__type_new_))
23075 return 0;
23076 ;
23077 return 0;
23078 }
23079 _ACEOF
23080 rm -f conftest.$ac_objext
23081 if { (ac_try="$ac_compile"
23082 case "(($ac_try" in
23083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23084 *) ac_try_echo=$ac_try;;
23085 esac
23086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23087 (eval "$ac_compile") 2>conftest.er1
23088 ac_status=$?
23089 grep -v '^ *+' conftest.er1 >conftest.err
23090 rm -f conftest.er1
23091 cat conftest.err >&5
23092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23093 (exit $ac_status); } && {
23094 test -z "$ac_c_werror_flag" ||
23095 test ! -s conftest.err
23096 } && test -s conftest.$ac_objext; then
23097 ac_cv_type_wchar_t=yes
23098 else
23099 echo "$as_me: failed program was:" >&5
23100 sed 's/^/| /' conftest.$ac_ext >&5
23101
23102 ac_cv_type_wchar_t=no
23103 fi
23104
23105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23106 fi
23107 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23108 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23109
23110 # The cast to long int works around a bug in the HP C Compiler
23111 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23112 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23113 # This bug is HP SR number 8606223364.
23114 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23115 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23116 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23117 echo $ECHO_N "(cached) $ECHO_C" >&6
23118 else
23119 if test "$cross_compiling" = yes; then
23120 # Depending upon the size, compute the lo and hi bounds.
23121 cat >conftest.$ac_ext <<_ACEOF
23122 /* confdefs.h. */
23123 _ACEOF
23124 cat confdefs.h >>conftest.$ac_ext
23125 cat >>conftest.$ac_ext <<_ACEOF
23126 /* end confdefs.h. */
23127
23128 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23129 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23130 # error "fake wchar_t"
23131 #endif
23132 #ifdef HAVE_WCHAR_H
23133 # ifdef __CYGWIN__
23134 # include <stddef.h>
23135 # endif
23136 # include <wchar.h>
23137 #endif
23138 #ifdef HAVE_STDLIB_H
23139 # include <stdlib.h>
23140 #endif
23141 #include <stdio.h>
23142
23143
23144
23145 typedef wchar_t ac__type_sizeof_;
23146 int
23147 main ()
23148 {
23149 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23150 test_array [0] = 0
23151
23152 ;
23153 return 0;
23154 }
23155 _ACEOF
23156 rm -f conftest.$ac_objext
23157 if { (ac_try="$ac_compile"
23158 case "(($ac_try" in
23159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23160 *) ac_try_echo=$ac_try;;
23161 esac
23162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23163 (eval "$ac_compile") 2>conftest.er1
23164 ac_status=$?
23165 grep -v '^ *+' conftest.er1 >conftest.err
23166 rm -f conftest.er1
23167 cat conftest.err >&5
23168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23169 (exit $ac_status); } && {
23170 test -z "$ac_c_werror_flag" ||
23171 test ! -s conftest.err
23172 } && test -s conftest.$ac_objext; then
23173 ac_lo=0 ac_mid=0
23174 while :; do
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; break
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 if test $ac_lo -le $ac_mid; then
23234 ac_lo= ac_hi=
23235 break
23236 fi
23237 ac_mid=`expr 2 '*' $ac_mid + 1`
23238 fi
23239
23240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23241 done
23242 else
23243 echo "$as_me: failed program was:" >&5
23244 sed 's/^/| /' conftest.$ac_ext >&5
23245
23246 cat >conftest.$ac_ext <<_ACEOF
23247 /* confdefs.h. */
23248 _ACEOF
23249 cat confdefs.h >>conftest.$ac_ext
23250 cat >>conftest.$ac_ext <<_ACEOF
23251 /* end confdefs.h. */
23252
23253 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23254 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23255 # error "fake wchar_t"
23256 #endif
23257 #ifdef HAVE_WCHAR_H
23258 # ifdef __CYGWIN__
23259 # include <stddef.h>
23260 # endif
23261 # include <wchar.h>
23262 #endif
23263 #ifdef HAVE_STDLIB_H
23264 # include <stdlib.h>
23265 #endif
23266 #include <stdio.h>
23267
23268
23269
23270 typedef wchar_t ac__type_sizeof_;
23271 int
23272 main ()
23273 {
23274 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23275 test_array [0] = 0
23276
23277 ;
23278 return 0;
23279 }
23280 _ACEOF
23281 rm -f conftest.$ac_objext
23282 if { (ac_try="$ac_compile"
23283 case "(($ac_try" in
23284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23285 *) ac_try_echo=$ac_try;;
23286 esac
23287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23288 (eval "$ac_compile") 2>conftest.er1
23289 ac_status=$?
23290 grep -v '^ *+' conftest.er1 >conftest.err
23291 rm -f conftest.er1
23292 cat conftest.err >&5
23293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23294 (exit $ac_status); } && {
23295 test -z "$ac_c_werror_flag" ||
23296 test ! -s conftest.err
23297 } && test -s conftest.$ac_objext; then
23298 ac_hi=-1 ac_mid=-1
23299 while :; do
23300 cat >conftest.$ac_ext <<_ACEOF
23301 /* confdefs.h. */
23302 _ACEOF
23303 cat confdefs.h >>conftest.$ac_ext
23304 cat >>conftest.$ac_ext <<_ACEOF
23305 /* end confdefs.h. */
23306
23307 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23308 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23309 # error "fake wchar_t"
23310 #endif
23311 #ifdef HAVE_WCHAR_H
23312 # ifdef __CYGWIN__
23313 # include <stddef.h>
23314 # endif
23315 # include <wchar.h>
23316 #endif
23317 #ifdef HAVE_STDLIB_H
23318 # include <stdlib.h>
23319 #endif
23320 #include <stdio.h>
23321
23322
23323
23324 typedef wchar_t ac__type_sizeof_;
23325 int
23326 main ()
23327 {
23328 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23329 test_array [0] = 0
23330
23331 ;
23332 return 0;
23333 }
23334 _ACEOF
23335 rm -f conftest.$ac_objext
23336 if { (ac_try="$ac_compile"
23337 case "(($ac_try" in
23338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23339 *) ac_try_echo=$ac_try;;
23340 esac
23341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23342 (eval "$ac_compile") 2>conftest.er1
23343 ac_status=$?
23344 grep -v '^ *+' conftest.er1 >conftest.err
23345 rm -f conftest.er1
23346 cat conftest.err >&5
23347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23348 (exit $ac_status); } && {
23349 test -z "$ac_c_werror_flag" ||
23350 test ! -s conftest.err
23351 } && test -s conftest.$ac_objext; then
23352 ac_lo=$ac_mid; break
23353 else
23354 echo "$as_me: failed program was:" >&5
23355 sed 's/^/| /' conftest.$ac_ext >&5
23356
23357 ac_hi=`expr '(' $ac_mid ')' - 1`
23358 if test $ac_mid -le $ac_hi; then
23359 ac_lo= ac_hi=
23360 break
23361 fi
23362 ac_mid=`expr 2 '*' $ac_mid`
23363 fi
23364
23365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23366 done
23367 else
23368 echo "$as_me: failed program was:" >&5
23369 sed 's/^/| /' conftest.$ac_ext >&5
23370
23371 ac_lo= ac_hi=
23372 fi
23373
23374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23375 fi
23376
23377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23378 # Binary search between lo and hi bounds.
23379 while test "x$ac_lo" != "x$ac_hi"; do
23380 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23381 cat >conftest.$ac_ext <<_ACEOF
23382 /* confdefs.h. */
23383 _ACEOF
23384 cat confdefs.h >>conftest.$ac_ext
23385 cat >>conftest.$ac_ext <<_ACEOF
23386 /* end confdefs.h. */
23387
23388 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23389 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23390 # error "fake wchar_t"
23391 #endif
23392 #ifdef HAVE_WCHAR_H
23393 # ifdef __CYGWIN__
23394 # include <stddef.h>
23395 # endif
23396 # include <wchar.h>
23397 #endif
23398 #ifdef HAVE_STDLIB_H
23399 # include <stdlib.h>
23400 #endif
23401 #include <stdio.h>
23402
23403
23404
23405 typedef wchar_t ac__type_sizeof_;
23406 int
23407 main ()
23408 {
23409 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23410 test_array [0] = 0
23411
23412 ;
23413 return 0;
23414 }
23415 _ACEOF
23416 rm -f conftest.$ac_objext
23417 if { (ac_try="$ac_compile"
23418 case "(($ac_try" in
23419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23420 *) ac_try_echo=$ac_try;;
23421 esac
23422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23423 (eval "$ac_compile") 2>conftest.er1
23424 ac_status=$?
23425 grep -v '^ *+' conftest.er1 >conftest.err
23426 rm -f conftest.er1
23427 cat conftest.err >&5
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); } && {
23430 test -z "$ac_c_werror_flag" ||
23431 test ! -s conftest.err
23432 } && test -s conftest.$ac_objext; then
23433 ac_hi=$ac_mid
23434 else
23435 echo "$as_me: failed program was:" >&5
23436 sed 's/^/| /' conftest.$ac_ext >&5
23437
23438 ac_lo=`expr '(' $ac_mid ')' + 1`
23439 fi
23440
23441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23442 done
23443 case $ac_lo in
23444 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23445 '') if test "$ac_cv_type_wchar_t" = yes; then
23446 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23447 See \`config.log' for more details." >&5
23448 echo "$as_me: error: cannot compute sizeof (wchar_t)
23449 See \`config.log' for more details." >&2;}
23450 { (exit 77); exit 77; }; }
23451 else
23452 ac_cv_sizeof_wchar_t=0
23453 fi ;;
23454 esac
23455 else
23456 cat >conftest.$ac_ext <<_ACEOF
23457 /* confdefs.h. */
23458 _ACEOF
23459 cat confdefs.h >>conftest.$ac_ext
23460 cat >>conftest.$ac_ext <<_ACEOF
23461 /* end confdefs.h. */
23462
23463 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23464 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23465 # error "fake wchar_t"
23466 #endif
23467 #ifdef HAVE_WCHAR_H
23468 # ifdef __CYGWIN__
23469 # include <stddef.h>
23470 # endif
23471 # include <wchar.h>
23472 #endif
23473 #ifdef HAVE_STDLIB_H
23474 # include <stdlib.h>
23475 #endif
23476 #include <stdio.h>
23477
23478
23479
23480 typedef wchar_t ac__type_sizeof_;
23481 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23482 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23483 #include <stdio.h>
23484 #include <stdlib.h>
23485 int
23486 main ()
23487 {
23488
23489 FILE *f = fopen ("conftest.val", "w");
23490 if (! f)
23491 return 1;
23492 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23493 {
23494 long int i = longval ();
23495 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23496 return 1;
23497 fprintf (f, "%ld\n", i);
23498 }
23499 else
23500 {
23501 unsigned long int i = ulongval ();
23502 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23503 return 1;
23504 fprintf (f, "%lu\n", i);
23505 }
23506 return ferror (f) || fclose (f) != 0;
23507
23508 ;
23509 return 0;
23510 }
23511 _ACEOF
23512 rm -f conftest$ac_exeext
23513 if { (ac_try="$ac_link"
23514 case "(($ac_try" in
23515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23516 *) ac_try_echo=$ac_try;;
23517 esac
23518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23519 (eval "$ac_link") 2>&5
23520 ac_status=$?
23521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23522 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23523 { (case "(($ac_try" in
23524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23525 *) ac_try_echo=$ac_try;;
23526 esac
23527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23528 (eval "$ac_try") 2>&5
23529 ac_status=$?
23530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531 (exit $ac_status); }; }; then
23532 ac_cv_sizeof_wchar_t=`cat conftest.val`
23533 else
23534 echo "$as_me: program exited with status $ac_status" >&5
23535 echo "$as_me: failed program was:" >&5
23536 sed 's/^/| /' conftest.$ac_ext >&5
23537
23538 ( exit $ac_status )
23539 if test "$ac_cv_type_wchar_t" = yes; then
23540 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23541 See \`config.log' for more details." >&5
23542 echo "$as_me: error: cannot compute sizeof (wchar_t)
23543 See \`config.log' for more details." >&2;}
23544 { (exit 77); exit 77; }; }
23545 else
23546 ac_cv_sizeof_wchar_t=0
23547 fi
23548 fi
23549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23550 fi
23551 rm -f conftest.val
23552 fi
23553 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23554 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23555
23556
23557
23558 cat >>confdefs.h <<_ACEOF
23559 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23560 _ACEOF
23561
23562
23563 if test "$ac_cv_sizeof_wchar_t" != 0; then
23564 wxUSE_WCHAR_T=yes
23565 else
23566 wxUSE_WCHAR_T=no
23567 fi
23568
23569 { echo "$as_me:$LINENO: checking for va_copy" >&5
23570 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23571 if test "${wx_cv_func_va_copy+set}" = set; then
23572 echo $ECHO_N "(cached) $ECHO_C" >&6
23573 else
23574
23575 ac_ext=cpp
23576 ac_cpp='$CXXCPP $CPPFLAGS'
23577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23580
23581 cat >conftest.$ac_ext <<_ACEOF
23582
23583 #include <stdarg.h>
23584 void foo(char *f, ...)
23585 {
23586 va_list ap1, ap2;
23587 va_start(ap1, f);
23588 va_copy(ap2, ap1);
23589 va_end(ap2);
23590 va_end(ap1);
23591 }
23592 int main()
23593 {
23594 foo("hi", 17);
23595 return 0;
23596 }
23597 _ACEOF
23598 rm -f conftest.$ac_objext conftest$ac_exeext
23599 if { (ac_try="$ac_link"
23600 case "(($ac_try" in
23601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23602 *) ac_try_echo=$ac_try;;
23603 esac
23604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23605 (eval "$ac_link") 2>conftest.er1
23606 ac_status=$?
23607 grep -v '^ *+' conftest.er1 >conftest.err
23608 rm -f conftest.er1
23609 cat conftest.err >&5
23610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23611 (exit $ac_status); } && {
23612 test -z "$ac_cxx_werror_flag" ||
23613 test ! -s conftest.err
23614 } && test -s conftest$ac_exeext &&
23615 $as_test_x conftest$ac_exeext; then
23616 wx_cv_func_va_copy=yes
23617 else
23618 echo "$as_me: failed program was:" >&5
23619 sed 's/^/| /' conftest.$ac_ext >&5
23620
23621 wx_cv_func_va_copy=no
23622
23623 fi
23624
23625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23626 conftest$ac_exeext conftest.$ac_ext
23627 ac_ext=c
23628 ac_cpp='$CPP $CPPFLAGS'
23629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23632
23633
23634
23635 fi
23636 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23637 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23638
23639 if test $wx_cv_func_va_copy = "yes"; then
23640 cat >>confdefs.h <<\_ACEOF
23641 #define HAVE_VA_COPY 1
23642 _ACEOF
23643
23644 else
23645 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23646 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23647 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23648 echo $ECHO_N "(cached) $ECHO_C" >&6
23649 else
23650
23651 if test "$cross_compiling" = yes; then
23652 wx_cv_type_va_list_lvalue=yes
23653
23654 else
23655 cat >conftest.$ac_ext <<_ACEOF
23656
23657 #include <stdarg.h>
23658 int foo(char *f, ...)
23659 {
23660 va_list ap1, ap2;
23661 va_start(ap1, f);
23662 ap2 = ap1;
23663 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23664 return 1;
23665 va_end(ap2);
23666 va_end(ap1);
23667 return 0;
23668 }
23669 int main()
23670 {
23671 return foo("hi", 17);
23672 }
23673 _ACEOF
23674 rm -f conftest$ac_exeext
23675 if { (ac_try="$ac_link"
23676 case "(($ac_try" in
23677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23678 *) ac_try_echo=$ac_try;;
23679 esac
23680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23681 (eval "$ac_link") 2>&5
23682 ac_status=$?
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23685 { (case "(($ac_try" in
23686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23687 *) ac_try_echo=$ac_try;;
23688 esac
23689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23690 (eval "$ac_try") 2>&5
23691 ac_status=$?
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); }; }; then
23694 wx_cv_type_va_list_lvalue=yes
23695 else
23696 echo "$as_me: program exited with status $ac_status" >&5
23697 echo "$as_me: failed program was:" >&5
23698 sed 's/^/| /' conftest.$ac_ext >&5
23699
23700 ( exit $ac_status )
23701 wx_cv_type_va_list_lvalue=no
23702 fi
23703 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23704 fi
23705
23706
23707
23708
23709 fi
23710 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23711 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23712
23713 if test $wx_cv_type_va_list_lvalue != "yes"; then
23714 cat >>confdefs.h <<\_ACEOF
23715 #define VA_LIST_IS_ARRAY 1
23716 _ACEOF
23717
23718 fi
23719 fi
23720
23721 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23722
23723 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23724 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23725 if test "${wx_cv_have_variadic_macros+set}" = set; then
23726 echo $ECHO_N "(cached) $ECHO_C" >&6
23727 else
23728
23729 ac_ext=cpp
23730 ac_cpp='$CXXCPP $CPPFLAGS'
23731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23734
23735 cat >conftest.$ac_ext <<_ACEOF
23736 /* confdefs.h. */
23737 _ACEOF
23738 cat confdefs.h >>conftest.$ac_ext
23739 cat >>conftest.$ac_ext <<_ACEOF
23740 /* end confdefs.h. */
23741
23742 #include <stdio.h>
23743 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23744
23745 int
23746 main ()
23747 {
23748
23749 test("%s %d %p", "test", 1, 0);
23750
23751
23752 ;
23753 return 0;
23754 }
23755 _ACEOF
23756 rm -f conftest.$ac_objext
23757 if { (ac_try="$ac_compile"
23758 case "(($ac_try" in
23759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23760 *) ac_try_echo=$ac_try;;
23761 esac
23762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23763 (eval "$ac_compile") 2>conftest.er1
23764 ac_status=$?
23765 grep -v '^ *+' conftest.er1 >conftest.err
23766 rm -f conftest.er1
23767 cat conftest.err >&5
23768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23769 (exit $ac_status); } && {
23770 test -z "$ac_cxx_werror_flag" ||
23771 test ! -s conftest.err
23772 } && test -s conftest.$ac_objext; then
23773 wx_cv_have_variadic_macros=yes
23774 else
23775 echo "$as_me: failed program was:" >&5
23776 sed 's/^/| /' conftest.$ac_ext >&5
23777
23778 wx_cv_have_variadic_macros=no
23779
23780 fi
23781
23782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23783 ac_ext=c
23784 ac_cpp='$CPP $CPPFLAGS'
23785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23788
23789
23790
23791 fi
23792 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23793 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23794
23795 if test $wx_cv_have_variadic_macros = "yes"; then
23796 cat >>confdefs.h <<\_ACEOF
23797 #define HAVE_VARIADIC_MACROS 1
23798 _ACEOF
23799
23800 fi
23801
23802 fi
23803
23804 LARGEFILE_CPPFLAGS=
23805 # Check whether --enable-largefile was given.
23806 if test "${enable_largefile+set}" = set; then
23807 enableval=$enable_largefile;
23808 fi
23809
23810 if test "$enable_largefile" != no; then
23811 wx_largefile=no
23812
23813 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23814 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23815 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23816 echo $ECHO_N "(cached) $ECHO_C" >&6
23817 else
23818
23819 cat >conftest.$ac_ext <<_ACEOF
23820 /* confdefs.h. */
23821 _ACEOF
23822 cat confdefs.h >>conftest.$ac_ext
23823 cat >>conftest.$ac_ext <<_ACEOF
23824 /* end confdefs.h. */
23825 #define _FILE_OFFSET_BITS 64
23826 #include <sys/types.h>
23827 int
23828 main ()
23829 {
23830 typedef struct {
23831 unsigned int field: sizeof(off_t) == 8;
23832 } wxlf;
23833
23834 ;
23835 return 0;
23836 }
23837 _ACEOF
23838 rm -f conftest.$ac_objext
23839 if { (ac_try="$ac_compile"
23840 case "(($ac_try" in
23841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23842 *) ac_try_echo=$ac_try;;
23843 esac
23844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23845 (eval "$ac_compile") 2>conftest.er1
23846 ac_status=$?
23847 grep -v '^ *+' conftest.er1 >conftest.err
23848 rm -f conftest.er1
23849 cat conftest.err >&5
23850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851 (exit $ac_status); } && {
23852 test -z "$ac_c_werror_flag" ||
23853 test ! -s conftest.err
23854 } && test -s conftest.$ac_objext; then
23855 ac_cv_sys_file_offset_bits=64
23856 else
23857 echo "$as_me: failed program was:" >&5
23858 sed 's/^/| /' conftest.$ac_ext >&5
23859
23860 ac_cv_sys_file_offset_bits=no
23861 fi
23862
23863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23864
23865
23866 fi
23867 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23868 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23869
23870 if test "$ac_cv_sys_file_offset_bits" != no; then
23871 wx_largefile=yes
23872 cat >>confdefs.h <<_ACEOF
23873 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23874 _ACEOF
23875
23876 fi
23877
23878 if test "x$wx_largefile" != "xyes"; then
23879
23880 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23881 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23882 if test "${ac_cv_sys_large_files+set}" = set; then
23883 echo $ECHO_N "(cached) $ECHO_C" >&6
23884 else
23885
23886 cat >conftest.$ac_ext <<_ACEOF
23887 /* confdefs.h. */
23888 _ACEOF
23889 cat confdefs.h >>conftest.$ac_ext
23890 cat >>conftest.$ac_ext <<_ACEOF
23891 /* end confdefs.h. */
23892 #define _LARGE_FILES 1
23893 #include <sys/types.h>
23894 int
23895 main ()
23896 {
23897 typedef struct {
23898 unsigned int field: sizeof(off_t) == 8;
23899 } wxlf;
23900
23901 ;
23902 return 0;
23903 }
23904 _ACEOF
23905 rm -f conftest.$ac_objext
23906 if { (ac_try="$ac_compile"
23907 case "(($ac_try" in
23908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23909 *) ac_try_echo=$ac_try;;
23910 esac
23911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23912 (eval "$ac_compile") 2>conftest.er1
23913 ac_status=$?
23914 grep -v '^ *+' conftest.er1 >conftest.err
23915 rm -f conftest.er1
23916 cat conftest.err >&5
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); } && {
23919 test -z "$ac_c_werror_flag" ||
23920 test ! -s conftest.err
23921 } && test -s conftest.$ac_objext; then
23922 ac_cv_sys_large_files=1
23923 else
23924 echo "$as_me: failed program was:" >&5
23925 sed 's/^/| /' conftest.$ac_ext >&5
23926
23927 ac_cv_sys_large_files=no
23928 fi
23929
23930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23931
23932
23933 fi
23934 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23935 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23936
23937 if test "$ac_cv_sys_large_files" != no; then
23938 wx_largefile=yes
23939 cat >>confdefs.h <<_ACEOF
23940 #define _LARGE_FILES $ac_cv_sys_large_files
23941 _ACEOF
23942
23943 fi
23944
23945 fi
23946
23947 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23948 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23949 if test "x$wx_largefile" = "xyes"; then
23950 cat >>confdefs.h <<\_ACEOF
23951 #define HAVE_LARGEFILE_SUPPORT 1
23952 _ACEOF
23953
23954 fi
23955 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23956 echo "${ECHO_T}$wx_largefile" >&6; }
23957 fi
23958
23959 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23960 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23961 elif test "$ac_cv_sys_large_files" = 1; then
23962 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23963 fi
23964
23965 if test -n "$LARGEFILE_CPPFLAGS"; then
23966 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23967
23968 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23969 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23970 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23971 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23972 echo $ECHO_N "(cached) $ECHO_C" >&6
23973 else
23974
23975 ac_ext=cpp
23976 ac_cpp='$CXXCPP $CPPFLAGS'
23977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23980
23981 cat >conftest.$ac_ext <<_ACEOF
23982 /* confdefs.h. */
23983 _ACEOF
23984 cat confdefs.h >>conftest.$ac_ext
23985 cat >>conftest.$ac_ext <<_ACEOF
23986 /* end confdefs.h. */
23987
23988 int
23989 main ()
23990 {
23991
23992 #ifndef __STDC_EXT__
23993 choke me
23994 #endif
23995
23996 ;
23997 return 0;
23998 }
23999 _ACEOF
24000 rm -f conftest.$ac_objext
24001 if { (ac_try="$ac_compile"
24002 case "(($ac_try" in
24003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24004 *) ac_try_echo=$ac_try;;
24005 esac
24006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24007 (eval "$ac_compile") 2>conftest.er1
24008 ac_status=$?
24009 grep -v '^ *+' conftest.er1 >conftest.err
24010 rm -f conftest.er1
24011 cat conftest.err >&5
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); } && {
24014 test -z "$ac_cxx_werror_flag" ||
24015 test ! -s conftest.err
24016 } && test -s conftest.$ac_objext; then
24017 wx_cv_STDC_EXT_required=no
24018 else
24019 echo "$as_me: failed program was:" >&5
24020 sed 's/^/| /' conftest.$ac_ext >&5
24021
24022 wx_cv_STDC_EXT_required=yes
24023
24024 fi
24025
24026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24027 ac_ext=c
24028 ac_cpp='$CPP $CPPFLAGS'
24029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24032
24033
24034
24035 fi
24036 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24037 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24038 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24039 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24040 fi
24041 fi
24042 fi
24043
24044 ac_ext=cpp
24045 ac_cpp='$CXXCPP $CPPFLAGS'
24046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24049
24050 old_CPPFLAGS="$CPPFLAGS"
24051 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24052 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24053 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24054 if test "${ac_cv_sys_largefile_source+set}" = set; then
24055 echo $ECHO_N "(cached) $ECHO_C" >&6
24056 else
24057 while :; do
24058 cat >conftest.$ac_ext <<_ACEOF
24059 /* confdefs.h. */
24060 _ACEOF
24061 cat confdefs.h >>conftest.$ac_ext
24062 cat >>conftest.$ac_ext <<_ACEOF
24063 /* end confdefs.h. */
24064 #include <sys/types.h> /* for off_t */
24065 #include <stdio.h>
24066 int
24067 main ()
24068 {
24069 int (*fp) (FILE *, off_t, int) = fseeko;
24070 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24071 ;
24072 return 0;
24073 }
24074 _ACEOF
24075 rm -f conftest.$ac_objext conftest$ac_exeext
24076 if { (ac_try="$ac_link"
24077 case "(($ac_try" in
24078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24079 *) ac_try_echo=$ac_try;;
24080 esac
24081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24082 (eval "$ac_link") 2>conftest.er1
24083 ac_status=$?
24084 grep -v '^ *+' conftest.er1 >conftest.err
24085 rm -f conftest.er1
24086 cat conftest.err >&5
24087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088 (exit $ac_status); } && {
24089 test -z "$ac_cxx_werror_flag" ||
24090 test ! -s conftest.err
24091 } && test -s conftest$ac_exeext &&
24092 $as_test_x conftest$ac_exeext; then
24093 ac_cv_sys_largefile_source=no; break
24094 else
24095 echo "$as_me: failed program was:" >&5
24096 sed 's/^/| /' conftest.$ac_ext >&5
24097
24098
24099 fi
24100
24101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24102 conftest$ac_exeext conftest.$ac_ext
24103 cat >conftest.$ac_ext <<_ACEOF
24104 /* confdefs.h. */
24105 _ACEOF
24106 cat confdefs.h >>conftest.$ac_ext
24107 cat >>conftest.$ac_ext <<_ACEOF
24108 /* end confdefs.h. */
24109 #define _LARGEFILE_SOURCE 1
24110 #include <sys/types.h> /* for off_t */
24111 #include <stdio.h>
24112 int
24113 main ()
24114 {
24115 int (*fp) (FILE *, off_t, int) = fseeko;
24116 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24117 ;
24118 return 0;
24119 }
24120 _ACEOF
24121 rm -f conftest.$ac_objext conftest$ac_exeext
24122 if { (ac_try="$ac_link"
24123 case "(($ac_try" in
24124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24125 *) ac_try_echo=$ac_try;;
24126 esac
24127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24128 (eval "$ac_link") 2>conftest.er1
24129 ac_status=$?
24130 grep -v '^ *+' conftest.er1 >conftest.err
24131 rm -f conftest.er1
24132 cat conftest.err >&5
24133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24134 (exit $ac_status); } && {
24135 test -z "$ac_cxx_werror_flag" ||
24136 test ! -s conftest.err
24137 } && test -s conftest$ac_exeext &&
24138 $as_test_x conftest$ac_exeext; then
24139 ac_cv_sys_largefile_source=1; break
24140 else
24141 echo "$as_me: failed program was:" >&5
24142 sed 's/^/| /' conftest.$ac_ext >&5
24143
24144
24145 fi
24146
24147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24148 conftest$ac_exeext conftest.$ac_ext
24149 ac_cv_sys_largefile_source=unknown
24150 break
24151 done
24152 fi
24153 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24154 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24155 case $ac_cv_sys_largefile_source in #(
24156 no | unknown) ;;
24157 *)
24158 cat >>confdefs.h <<_ACEOF
24159 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24160 _ACEOF
24161 ;;
24162 esac
24163 rm -f conftest*
24164
24165 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24166 # in glibc 2.1.3, but that breaks too many other things.
24167 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24168 if test $ac_cv_sys_largefile_source != unknown; then
24169
24170 cat >>confdefs.h <<\_ACEOF
24171 #define HAVE_FSEEKO 1
24172 _ACEOF
24173
24174 fi
24175
24176 CPPFLAGS="$old_CPPFLAGS"
24177 ac_ext=c
24178 ac_cpp='$CPP $CPPFLAGS'
24179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24182
24183 if test "$ac_cv_sys_largefile_source" != no; then
24184 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24185 fi
24186
24187 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24188 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24189 if test "${ac_cv_c_bigendian+set}" = set; then
24190 echo $ECHO_N "(cached) $ECHO_C" >&6
24191 else
24192 ac_cv_c_bigendian=unknown
24193 # See if sys/param.h defines the BYTE_ORDER macro.
24194 cat >conftest.$ac_ext <<_ACEOF
24195 /* confdefs.h. */
24196 _ACEOF
24197 cat confdefs.h >>conftest.$ac_ext
24198 cat >>conftest.$ac_ext <<_ACEOF
24199 /* end confdefs.h. */
24200 #include <sys/types.h>
24201 #include <sys/param.h>
24202 int
24203 main ()
24204 {
24205
24206 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24207 bogus endian macros
24208 #endif
24209 ;
24210 return 0;
24211 }
24212 _ACEOF
24213 rm -f conftest.$ac_objext
24214 if { (ac_try="$ac_compile"
24215 case "(($ac_try" in
24216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24217 *) ac_try_echo=$ac_try;;
24218 esac
24219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24220 (eval "$ac_compile") 2>conftest.er1
24221 ac_status=$?
24222 grep -v '^ *+' conftest.er1 >conftest.err
24223 rm -f conftest.er1
24224 cat conftest.err >&5
24225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24226 (exit $ac_status); } && {
24227 test -z "$ac_c_werror_flag" ||
24228 test ! -s conftest.err
24229 } && test -s conftest.$ac_objext; then
24230 # It does; now see whether it defined to BIG_ENDIAN or not.
24231 cat >conftest.$ac_ext <<_ACEOF
24232 /* confdefs.h. */
24233 _ACEOF
24234 cat confdefs.h >>conftest.$ac_ext
24235 cat >>conftest.$ac_ext <<_ACEOF
24236 /* end confdefs.h. */
24237 #include <sys/types.h>
24238 #include <sys/param.h>
24239 int
24240 main ()
24241 {
24242
24243 #if BYTE_ORDER != BIG_ENDIAN
24244 not big endian
24245 #endif
24246 ;
24247 return 0;
24248 }
24249 _ACEOF
24250 rm -f conftest.$ac_objext
24251 if { (ac_try="$ac_compile"
24252 case "(($ac_try" in
24253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24254 *) ac_try_echo=$ac_try;;
24255 esac
24256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24257 (eval "$ac_compile") 2>conftest.er1
24258 ac_status=$?
24259 grep -v '^ *+' conftest.er1 >conftest.err
24260 rm -f conftest.er1
24261 cat conftest.err >&5
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); } && {
24264 test -z "$ac_c_werror_flag" ||
24265 test ! -s conftest.err
24266 } && test -s conftest.$ac_objext; then
24267 ac_cv_c_bigendian=yes
24268 else
24269 echo "$as_me: failed program was:" >&5
24270 sed 's/^/| /' conftest.$ac_ext >&5
24271
24272 ac_cv_c_bigendian=no
24273 fi
24274
24275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24276 else
24277 echo "$as_me: failed program was:" >&5
24278 sed 's/^/| /' conftest.$ac_ext >&5
24279
24280
24281 fi
24282
24283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24284 if test $ac_cv_c_bigendian = unknown; then
24285 if test "$cross_compiling" = yes; then
24286 ac_cv_c_bigendian=unknown
24287 else
24288 cat >conftest.$ac_ext <<_ACEOF
24289 /* confdefs.h. */
24290 _ACEOF
24291 cat confdefs.h >>conftest.$ac_ext
24292 cat >>conftest.$ac_ext <<_ACEOF
24293 /* end confdefs.h. */
24294 main () {
24295 /* Are we little or big endian? From Harbison&Steele. */
24296 union
24297 {
24298 long l;
24299 char c[sizeof (long)];
24300 } u;
24301 u.l = 1;
24302 exit (u.c[sizeof (long) - 1] == 1);
24303 }
24304 _ACEOF
24305 rm -f conftest$ac_exeext
24306 if { (ac_try="$ac_link"
24307 case "(($ac_try" in
24308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24309 *) ac_try_echo=$ac_try;;
24310 esac
24311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24312 (eval "$ac_link") 2>&5
24313 ac_status=$?
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24316 { (case "(($ac_try" in
24317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24318 *) ac_try_echo=$ac_try;;
24319 esac
24320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24321 (eval "$ac_try") 2>&5
24322 ac_status=$?
24323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24324 (exit $ac_status); }; }; then
24325 ac_cv_c_bigendian=no
24326 else
24327 echo "$as_me: program exited with status $ac_status" >&5
24328 echo "$as_me: failed program was:" >&5
24329 sed 's/^/| /' conftest.$ac_ext >&5
24330
24331 ( exit $ac_status )
24332 ac_cv_c_bigendian=yes
24333 fi
24334 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24335 fi
24336
24337
24338 fi
24339 fi
24340 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24341 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24342 if test $ac_cv_c_bigendian = unknown; then
24343 { 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
24344 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;}
24345 fi
24346 if test $ac_cv_c_bigendian = yes; then
24347 cat >>confdefs.h <<\_ACEOF
24348 #define WORDS_BIGENDIAN 1
24349 _ACEOF
24350
24351 fi
24352
24353
24354
24355
24356 ac_ext=cpp
24357 ac_cpp='$CXXCPP $CPPFLAGS'
24358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24361
24362
24363
24364 for ac_header in iostream
24365 do
24366 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24367 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24369 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24370 echo $ECHO_N "(cached) $ECHO_C" >&6
24371 else
24372 cat >conftest.$ac_ext <<_ACEOF
24373 /* confdefs.h. */
24374 _ACEOF
24375 cat confdefs.h >>conftest.$ac_ext
24376 cat >>conftest.$ac_ext <<_ACEOF
24377 /* end confdefs.h. */
24378
24379
24380 #include <$ac_header>
24381 _ACEOF
24382 rm -f conftest.$ac_objext
24383 if { (ac_try="$ac_compile"
24384 case "(($ac_try" in
24385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24386 *) ac_try_echo=$ac_try;;
24387 esac
24388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24389 (eval "$ac_compile") 2>conftest.er1
24390 ac_status=$?
24391 grep -v '^ *+' conftest.er1 >conftest.err
24392 rm -f conftest.er1
24393 cat conftest.err >&5
24394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24395 (exit $ac_status); } && {
24396 test -z "$ac_cxx_werror_flag" ||
24397 test ! -s conftest.err
24398 } && test -s conftest.$ac_objext; then
24399 eval "$as_ac_Header=yes"
24400 else
24401 echo "$as_me: failed program was:" >&5
24402 sed 's/^/| /' conftest.$ac_ext >&5
24403
24404 eval "$as_ac_Header=no"
24405 fi
24406
24407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24408 fi
24409 ac_res=`eval echo '${'$as_ac_Header'}'`
24410 { echo "$as_me:$LINENO: result: $ac_res" >&5
24411 echo "${ECHO_T}$ac_res" >&6; }
24412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24413 cat >>confdefs.h <<_ACEOF
24414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24415 _ACEOF
24416
24417 fi
24418
24419 done
24420
24421
24422 if test "$ac_cv_header_iostream" = "yes" ; then
24423 :
24424 else
24425 cat >>confdefs.h <<\_ACEOF
24426 #define wxUSE_IOSTREAMH 1
24427 _ACEOF
24428
24429 fi
24430
24431 ac_ext=c
24432 ac_cpp='$CPP $CPPFLAGS'
24433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24436
24437
24438
24439
24440 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24441 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24442 if test "${wx_cv_explicit+set}" = set; then
24443 echo $ECHO_N "(cached) $ECHO_C" >&6
24444 else
24445
24446
24447 ac_ext=cpp
24448 ac_cpp='$CXXCPP $CPPFLAGS'
24449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24452
24453
24454 cat >conftest.$ac_ext <<_ACEOF
24455 /* confdefs.h. */
24456 _ACEOF
24457 cat confdefs.h >>conftest.$ac_ext
24458 cat >>conftest.$ac_ext <<_ACEOF
24459 /* end confdefs.h. */
24460
24461 class Foo { public: explicit Foo(int) {} };
24462
24463 int
24464 main ()
24465 {
24466
24467 return 0;
24468
24469 ;
24470 return 0;
24471 }
24472 _ACEOF
24473 rm -f conftest.$ac_objext
24474 if { (ac_try="$ac_compile"
24475 case "(($ac_try" in
24476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24477 *) ac_try_echo=$ac_try;;
24478 esac
24479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24480 (eval "$ac_compile") 2>conftest.er1
24481 ac_status=$?
24482 grep -v '^ *+' conftest.er1 >conftest.err
24483 rm -f conftest.er1
24484 cat conftest.err >&5
24485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24486 (exit $ac_status); } && {
24487 test -z "$ac_cxx_werror_flag" ||
24488 test ! -s conftest.err
24489 } && test -s conftest.$ac_objext; then
24490
24491 cat >conftest.$ac_ext <<_ACEOF
24492 /* confdefs.h. */
24493 _ACEOF
24494 cat confdefs.h >>conftest.$ac_ext
24495 cat >>conftest.$ac_ext <<_ACEOF
24496 /* end confdefs.h. */
24497
24498 class Foo { public: explicit Foo(int) {} };
24499 static void TakeFoo(const Foo& foo) { }
24500
24501 int
24502 main ()
24503 {
24504
24505 TakeFoo(17);
24506 return 0;
24507
24508 ;
24509 return 0;
24510 }
24511 _ACEOF
24512 rm -f conftest.$ac_objext
24513 if { (ac_try="$ac_compile"
24514 case "(($ac_try" in
24515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24516 *) ac_try_echo=$ac_try;;
24517 esac
24518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24519 (eval "$ac_compile") 2>conftest.er1
24520 ac_status=$?
24521 grep -v '^ *+' conftest.er1 >conftest.err
24522 rm -f conftest.er1
24523 cat conftest.err >&5
24524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24525 (exit $ac_status); } && {
24526 test -z "$ac_cxx_werror_flag" ||
24527 test ! -s conftest.err
24528 } && test -s conftest.$ac_objext; then
24529 wx_cv_explicit=no
24530 else
24531 echo "$as_me: failed program was:" >&5
24532 sed 's/^/| /' conftest.$ac_ext >&5
24533
24534 wx_cv_explicit=yes
24535
24536 fi
24537
24538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24539
24540 else
24541 echo "$as_me: failed program was:" >&5
24542 sed 's/^/| /' conftest.$ac_ext >&5
24543
24544 wx_cv_explicit=no
24545
24546 fi
24547
24548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24549
24550 ac_ext=c
24551 ac_cpp='$CPP $CPPFLAGS'
24552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24555
24556
24557 fi
24558 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24559 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24560
24561 if test "$wx_cv_explicit" = "yes"; then
24562 cat >>confdefs.h <<\_ACEOF
24563 #define HAVE_EXPLICIT 1
24564 _ACEOF
24565
24566 fi
24567
24568
24569 if test "x$SUNCXX" = xyes; then
24570 CXXFLAGS="-features=tmplife $CXXFLAGS"
24571 fi
24572
24573 if test "x$SUNCC" = xyes; then
24574 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24575 fi
24576
24577 if test "x$SGICC" = "xyes"; then
24578 CFLAGS="-woff 3970 $CFLAGS"
24579 fi
24580 if test "x$SGICXX" = "xyes"; then
24581 CXXFLAGS="-woff 3970 $CXXFLAGS"
24582 fi
24583
24584 if test "x$HPCC" = "xyes"; then
24585 CFLAGS="+W 2011,2450 $CFLAGS"
24586 fi
24587 if test "x$HPCXX" = "xyes"; then
24588 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24589 fi
24590
24591 if test "x$COMPAQCXX" = "xyes"; then
24592 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24593 fi
24594
24595 ac_ext=cpp
24596 ac_cpp='$CXXCPP $CPPFLAGS'
24597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24600
24601
24602 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24603 if test "$wxUSE_UNICODE" = "yes"; then
24604 std_string="std::wstring"
24605 char_type="wchar_t"
24606 else
24607 std_string="std::string"
24608 char_type="char"
24609 fi
24610
24611 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24612 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24613 if test "${wx_cv_class_stdstring+set}" = set; then
24614 echo $ECHO_N "(cached) $ECHO_C" >&6
24615 else
24616
24617 cat >conftest.$ac_ext <<_ACEOF
24618 /* confdefs.h. */
24619 _ACEOF
24620 cat confdefs.h >>conftest.$ac_ext
24621 cat >>conftest.$ac_ext <<_ACEOF
24622 /* end confdefs.h. */
24623 #include <string>
24624 int
24625 main ()
24626 {
24627 $std_string foo;
24628 ;
24629 return 0;
24630 }
24631 _ACEOF
24632 rm -f conftest.$ac_objext
24633 if { (ac_try="$ac_compile"
24634 case "(($ac_try" in
24635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24636 *) ac_try_echo=$ac_try;;
24637 esac
24638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24639 (eval "$ac_compile") 2>conftest.er1
24640 ac_status=$?
24641 grep -v '^ *+' conftest.er1 >conftest.err
24642 rm -f conftest.er1
24643 cat conftest.err >&5
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); } && {
24646 test -z "$ac_cxx_werror_flag" ||
24647 test ! -s conftest.err
24648 } && test -s conftest.$ac_objext; then
24649 wx_cv_class_stdstring=yes
24650 else
24651 echo "$as_me: failed program was:" >&5
24652 sed 's/^/| /' conftest.$ac_ext >&5
24653
24654 wx_cv_class_stdstring=no
24655
24656 fi
24657
24658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24659
24660
24661 fi
24662 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24663 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24664
24665 if test "$wx_cv_class_stdstring" = yes; then
24666 if test "$wxUSE_UNICODE" = "yes"; then
24667 cat >>confdefs.h <<\_ACEOF
24668 #define HAVE_STD_WSTRING 1
24669 _ACEOF
24670
24671 fi
24672 else
24673 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24674 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24675 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24676 echo $ECHO_N "(cached) $ECHO_C" >&6
24677 else
24678
24679 cat >conftest.$ac_ext <<_ACEOF
24680 /* confdefs.h. */
24681 _ACEOF
24682 cat confdefs.h >>conftest.$ac_ext
24683 cat >>conftest.$ac_ext <<_ACEOF
24684 /* end confdefs.h. */
24685
24686 #ifdef HAVE_WCHAR_H
24687 # ifdef __CYGWIN__
24688 # include <stddef.h>
24689 # endif
24690 # include <wchar.h>
24691 #endif
24692 #ifdef HAVE_STDLIB_H
24693 # include <stdlib.h>
24694 #endif
24695 #include <stdio.h>
24696 #include <string>
24697
24698 int
24699 main ()
24700 {
24701 std::basic_string<$char_type> foo;
24702 const $char_type* dummy = foo.c_str();
24703 ;
24704 return 0;
24705 }
24706 _ACEOF
24707 rm -f conftest.$ac_objext
24708 if { (ac_try="$ac_compile"
24709 case "(($ac_try" in
24710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24711 *) ac_try_echo=$ac_try;;
24712 esac
24713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24714 (eval "$ac_compile") 2>conftest.er1
24715 ac_status=$?
24716 grep -v '^ *+' conftest.er1 >conftest.err
24717 rm -f conftest.er1
24718 cat conftest.err >&5
24719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24720 (exit $ac_status); } && {
24721 test -z "$ac_cxx_werror_flag" ||
24722 test ! -s conftest.err
24723 } && test -s conftest.$ac_objext; then
24724 wx_cv_class_stdbasicstring=yes
24725 else
24726 echo "$as_me: failed program was:" >&5
24727 sed 's/^/| /' conftest.$ac_ext >&5
24728
24729 wx_cv_class_stdbasicstring=no
24730
24731 fi
24732
24733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24734
24735
24736 fi
24737 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24738 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24739
24740 if test "$wx_cv_class_stdbasicstring" != yes; then
24741 if test "$wxUSE_STL" = "yes"; then
24742 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24743 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24744 { (exit 1); exit 1; }; }
24745 elif test "$wxUSE_STD_STRING" = "yes"; then
24746 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24747 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24748 { (exit 1); exit 1; }; }
24749 else
24750 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24751 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24752 wxUSE_STD_STRING=no
24753 fi
24754 fi
24755 fi
24756 fi
24757
24758 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24759 { echo "$as_me:$LINENO: checking for std::istream" >&5
24760 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24761 if test "${ac_cv_type_std__istream+set}" = set; then
24762 echo $ECHO_N "(cached) $ECHO_C" >&6
24763 else
24764 cat >conftest.$ac_ext <<_ACEOF
24765 /* confdefs.h. */
24766 _ACEOF
24767 cat confdefs.h >>conftest.$ac_ext
24768 cat >>conftest.$ac_ext <<_ACEOF
24769 /* end confdefs.h. */
24770 #include <iostream>
24771
24772 typedef std::istream ac__type_new_;
24773 int
24774 main ()
24775 {
24776 if ((ac__type_new_ *) 0)
24777 return 0;
24778 if (sizeof (ac__type_new_))
24779 return 0;
24780 ;
24781 return 0;
24782 }
24783 _ACEOF
24784 rm -f conftest.$ac_objext
24785 if { (ac_try="$ac_compile"
24786 case "(($ac_try" in
24787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24788 *) ac_try_echo=$ac_try;;
24789 esac
24790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24791 (eval "$ac_compile") 2>conftest.er1
24792 ac_status=$?
24793 grep -v '^ *+' conftest.er1 >conftest.err
24794 rm -f conftest.er1
24795 cat conftest.err >&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } && {
24798 test -z "$ac_cxx_werror_flag" ||
24799 test ! -s conftest.err
24800 } && test -s conftest.$ac_objext; then
24801 ac_cv_type_std__istream=yes
24802 else
24803 echo "$as_me: failed program was:" >&5
24804 sed 's/^/| /' conftest.$ac_ext >&5
24805
24806 ac_cv_type_std__istream=no
24807 fi
24808
24809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24810 fi
24811 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24812 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24813 if test $ac_cv_type_std__istream = yes; then
24814
24815 cat >>confdefs.h <<_ACEOF
24816 #define HAVE_STD__ISTREAM 1
24817 _ACEOF
24818
24819
24820 else
24821 wxUSE_STD_IOSTREAM=no
24822 fi
24823 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24824 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24825 if test "${ac_cv_type_std__ostream+set}" = set; then
24826 echo $ECHO_N "(cached) $ECHO_C" >&6
24827 else
24828 cat >conftest.$ac_ext <<_ACEOF
24829 /* confdefs.h. */
24830 _ACEOF
24831 cat confdefs.h >>conftest.$ac_ext
24832 cat >>conftest.$ac_ext <<_ACEOF
24833 /* end confdefs.h. */
24834 #include <iostream>
24835
24836 typedef std::ostream ac__type_new_;
24837 int
24838 main ()
24839 {
24840 if ((ac__type_new_ *) 0)
24841 return 0;
24842 if (sizeof (ac__type_new_))
24843 return 0;
24844 ;
24845 return 0;
24846 }
24847 _ACEOF
24848 rm -f conftest.$ac_objext
24849 if { (ac_try="$ac_compile"
24850 case "(($ac_try" in
24851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24852 *) ac_try_echo=$ac_try;;
24853 esac
24854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24855 (eval "$ac_compile") 2>conftest.er1
24856 ac_status=$?
24857 grep -v '^ *+' conftest.er1 >conftest.err
24858 rm -f conftest.er1
24859 cat conftest.err >&5
24860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24861 (exit $ac_status); } && {
24862 test -z "$ac_cxx_werror_flag" ||
24863 test ! -s conftest.err
24864 } && test -s conftest.$ac_objext; then
24865 ac_cv_type_std__ostream=yes
24866 else
24867 echo "$as_me: failed program was:" >&5
24868 sed 's/^/| /' conftest.$ac_ext >&5
24869
24870 ac_cv_type_std__ostream=no
24871 fi
24872
24873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24874 fi
24875 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24876 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24877 if test $ac_cv_type_std__ostream = yes; then
24878
24879 cat >>confdefs.h <<_ACEOF
24880 #define HAVE_STD__OSTREAM 1
24881 _ACEOF
24882
24883
24884 else
24885 wxUSE_STD_IOSTREAM=no
24886 fi
24887
24888
24889 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24890 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24891 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24892 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24893 { (exit 1); exit 1; }; }
24894 else
24895 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24896 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24897 fi
24898 fi
24899 fi
24900
24901 if test "$wxUSE_STL" = "yes"; then
24902 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24903 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24904 if test "${wx_cv_lib_stl+set}" = set; then
24905 echo $ECHO_N "(cached) $ECHO_C" >&6
24906 else
24907 cat >conftest.$ac_ext <<_ACEOF
24908 /* confdefs.h. */
24909 _ACEOF
24910 cat confdefs.h >>conftest.$ac_ext
24911 cat >>conftest.$ac_ext <<_ACEOF
24912 /* end confdefs.h. */
24913 #include <string>
24914 #include <functional>
24915 #include <algorithm>
24916 #include <vector>
24917 #include <list>
24918 int
24919 main ()
24920 {
24921 std::vector<int> moo;
24922 std::list<int> foo;
24923 std::vector<int>::iterator it =
24924 std::find_if(moo.begin(), moo.end(),
24925 std::bind2nd(std::less<int>(), 3));
24926 ;
24927 return 0;
24928 }
24929 _ACEOF
24930 rm -f conftest.$ac_objext
24931 if { (ac_try="$ac_compile"
24932 case "(($ac_try" in
24933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24934 *) ac_try_echo=$ac_try;;
24935 esac
24936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24937 (eval "$ac_compile") 2>conftest.er1
24938 ac_status=$?
24939 grep -v '^ *+' conftest.er1 >conftest.err
24940 rm -f conftest.er1
24941 cat conftest.err >&5
24942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24943 (exit $ac_status); } && {
24944 test -z "$ac_cxx_werror_flag" ||
24945 test ! -s conftest.err
24946 } && test -s conftest.$ac_objext; then
24947 wx_cv_lib_stl=yes
24948 else
24949 echo "$as_me: failed program was:" >&5
24950 sed 's/^/| /' conftest.$ac_ext >&5
24951
24952 wx_cv_lib_stl=no
24953
24954 fi
24955
24956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24957
24958 fi
24959 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24960 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24961
24962 if test "$wx_cv_lib_stl" != yes; then
24963 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24964 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24965 { (exit 1); exit 1; }; }
24966 fi
24967
24968 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24969 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24970 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24971 echo $ECHO_N "(cached) $ECHO_C" >&6
24972 else
24973 cat >conftest.$ac_ext <<_ACEOF
24974 /* confdefs.h. */
24975 _ACEOF
24976 cat confdefs.h >>conftest.$ac_ext
24977 cat >>conftest.$ac_ext <<_ACEOF
24978 /* end confdefs.h. */
24979 #include <string>
24980 int
24981 main ()
24982 {
24983 std::string foo, bar;
24984 foo.compare(bar);
24985 foo.compare(1, 1, bar);
24986 foo.compare(1, 1, bar, 1, 1);
24987 foo.compare("");
24988 foo.compare(1, 1, "");
24989 foo.compare(1, 1, "", 2);
24990 ;
24991 return 0;
24992 }
24993 _ACEOF
24994 rm -f conftest.$ac_objext
24995 if { (ac_try="$ac_compile"
24996 case "(($ac_try" in
24997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24998 *) ac_try_echo=$ac_try;;
24999 esac
25000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25001 (eval "$ac_compile") 2>conftest.er1
25002 ac_status=$?
25003 grep -v '^ *+' conftest.er1 >conftest.err
25004 rm -f conftest.er1
25005 cat conftest.err >&5
25006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25007 (exit $ac_status); } && {
25008 test -z "$ac_cxx_werror_flag" ||
25009 test ! -s conftest.err
25010 } && test -s conftest.$ac_objext; then
25011 wx_cv_func_stdstring_compare=yes
25012 else
25013 echo "$as_me: failed program was:" >&5
25014 sed 's/^/| /' conftest.$ac_ext >&5
25015
25016 wx_cv_func_stdstring_compare=no
25017
25018 fi
25019
25020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25021
25022 fi
25023 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25024 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25025
25026 if test "$wx_cv_func_stdstring_compare" = yes; then
25027 cat >>confdefs.h <<\_ACEOF
25028 #define HAVE_STD_STRING_COMPARE 1
25029 _ACEOF
25030
25031 fi
25032
25033 if test "$wx_cv_class_gnuhashmapset" = yes; then
25034 cat >>confdefs.h <<\_ACEOF
25035 #define HAVE_EXT_HASH_MAP 1
25036 _ACEOF
25037
25038 cat >>confdefs.h <<\_ACEOF
25039 #define HAVE_GNU_CXX_HASH_MAP 1
25040 _ACEOF
25041
25042 fi
25043
25044 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25045 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25046 if test "${ac_cv_header_unordered_map+set}" = set; then
25047 echo $ECHO_N "(cached) $ECHO_C" >&6
25048 else
25049 cat >conftest.$ac_ext <<_ACEOF
25050 /* confdefs.h. */
25051 _ACEOF
25052 cat confdefs.h >>conftest.$ac_ext
25053 cat >>conftest.$ac_ext <<_ACEOF
25054 /* end confdefs.h. */
25055
25056
25057
25058 #include <unordered_map>
25059 _ACEOF
25060 rm -f conftest.$ac_objext
25061 if { (ac_try="$ac_compile"
25062 case "(($ac_try" in
25063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25064 *) ac_try_echo=$ac_try;;
25065 esac
25066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25067 (eval "$ac_compile") 2>conftest.er1
25068 ac_status=$?
25069 grep -v '^ *+' conftest.er1 >conftest.err
25070 rm -f conftest.er1
25071 cat conftest.err >&5
25072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25073 (exit $ac_status); } && {
25074 test -z "$ac_cxx_werror_flag" ||
25075 test ! -s conftest.err
25076 } && test -s conftest.$ac_objext; then
25077 ac_cv_header_unordered_map=yes
25078 else
25079 echo "$as_me: failed program was:" >&5
25080 sed 's/^/| /' conftest.$ac_ext >&5
25081
25082 ac_cv_header_unordered_map=no
25083 fi
25084
25085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25086 fi
25087 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25088 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25089 if test $ac_cv_header_unordered_map = yes; then
25090 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25091 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25092 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25093 echo $ECHO_N "(cached) $ECHO_C" >&6
25094 else
25095 cat >conftest.$ac_ext <<_ACEOF
25096 /* confdefs.h. */
25097 _ACEOF
25098 cat confdefs.h >>conftest.$ac_ext
25099 cat >>conftest.$ac_ext <<_ACEOF
25100 /* end confdefs.h. */
25101 #include <unordered_map>
25102 #include <unordered_set>
25103 int
25104 main ()
25105 {
25106 std::unordered_map<double*, char*> test1;
25107 std::unordered_set<char*> test2;
25108 ;
25109 return 0;
25110 }
25111 _ACEOF
25112 rm -f conftest.$ac_objext
25113 if { (ac_try="$ac_compile"
25114 case "(($ac_try" in
25115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25116 *) ac_try_echo=$ac_try;;
25117 esac
25118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25119 (eval "$ac_compile") 2>conftest.er1
25120 ac_status=$?
25121 grep -v '^ *+' conftest.er1 >conftest.err
25122 rm -f conftest.er1
25123 cat conftest.err >&5
25124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25125 (exit $ac_status); } && {
25126 test -z "$ac_cxx_werror_flag" ||
25127 test ! -s conftest.err
25128 } && test -s conftest.$ac_objext; then
25129 wx_cv_class_stdunorderedmapset=yes
25130 else
25131 echo "$as_me: failed program was:" >&5
25132 sed 's/^/| /' conftest.$ac_ext >&5
25133
25134 wx_cv_class_stdunorderedmapset=no
25135 fi
25136
25137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25138
25139
25140 fi
25141 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25142 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25143 fi
25144
25145
25146
25147 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25148 cat >>confdefs.h <<\_ACEOF
25149 #define HAVE_STD_UNORDERED_MAP 1
25150 _ACEOF
25151
25152 cat >>confdefs.h <<\_ACEOF
25153 #define HAVE_STD_UNORDERED_SET 1
25154 _ACEOF
25155
25156 else
25157 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25158 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25159 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25160 echo $ECHO_N "(cached) $ECHO_C" >&6
25161 else
25162 cat >conftest.$ac_ext <<_ACEOF
25163 /* confdefs.h. */
25164 _ACEOF
25165 cat confdefs.h >>conftest.$ac_ext
25166 cat >>conftest.$ac_ext <<_ACEOF
25167 /* end confdefs.h. */
25168
25169
25170
25171 #include <tr1/unordered_map>
25172 _ACEOF
25173 rm -f conftest.$ac_objext
25174 if { (ac_try="$ac_compile"
25175 case "(($ac_try" in
25176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25177 *) ac_try_echo=$ac_try;;
25178 esac
25179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25180 (eval "$ac_compile") 2>conftest.er1
25181 ac_status=$?
25182 grep -v '^ *+' conftest.er1 >conftest.err
25183 rm -f conftest.er1
25184 cat conftest.err >&5
25185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25186 (exit $ac_status); } && {
25187 test -z "$ac_cxx_werror_flag" ||
25188 test ! -s conftest.err
25189 } && test -s conftest.$ac_objext; then
25190 ac_cv_header_tr1_unordered_map=yes
25191 else
25192 echo "$as_me: failed program was:" >&5
25193 sed 's/^/| /' conftest.$ac_ext >&5
25194
25195 ac_cv_header_tr1_unordered_map=no
25196 fi
25197
25198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25199 fi
25200 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25201 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25202 if test $ac_cv_header_tr1_unordered_map = yes; then
25203 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25204 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25205 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25206 echo $ECHO_N "(cached) $ECHO_C" >&6
25207 else
25208 cat >conftest.$ac_ext <<_ACEOF
25209 /* confdefs.h. */
25210 _ACEOF
25211 cat confdefs.h >>conftest.$ac_ext
25212 cat >>conftest.$ac_ext <<_ACEOF
25213 /* end confdefs.h. */
25214 #include <tr1/unordered_map>
25215 #include <tr1/unordered_set>
25216 int
25217 main ()
25218 {
25219 std::tr1::unordered_map<double*, char*> test1;
25220 std::tr1::unordered_set<char*> test2;
25221 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25222 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25223 #endif
25224 ;
25225 return 0;
25226 }
25227 _ACEOF
25228 rm -f conftest.$ac_objext
25229 if { (ac_try="$ac_compile"
25230 case "(($ac_try" in
25231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25232 *) ac_try_echo=$ac_try;;
25233 esac
25234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25235 (eval "$ac_compile") 2>conftest.er1
25236 ac_status=$?
25237 grep -v '^ *+' conftest.er1 >conftest.err
25238 rm -f conftest.er1
25239 cat conftest.err >&5
25240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25241 (exit $ac_status); } && {
25242 test -z "$ac_cxx_werror_flag" ||
25243 test ! -s conftest.err
25244 } && test -s conftest.$ac_objext; then
25245 wx_cv_class_tr1unorderedmapset=yes
25246 else
25247 echo "$as_me: failed program was:" >&5
25248 sed 's/^/| /' conftest.$ac_ext >&5
25249
25250 wx_cv_class_tr1unorderedmapset=no
25251 fi
25252
25253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25254
25255
25256 fi
25257 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25258 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25259 fi
25260
25261
25262
25263 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25264 cat >>confdefs.h <<\_ACEOF
25265 #define HAVE_TR1_UNORDERED_MAP 1
25266 _ACEOF
25267
25268 cat >>confdefs.h <<\_ACEOF
25269 #define HAVE_TR1_UNORDERED_SET 1
25270 _ACEOF
25271
25272 else
25273 { echo "$as_me:$LINENO: checking for hash_map" >&5
25274 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25275 if test "${ac_cv_header_hash_map+set}" = set; then
25276 echo $ECHO_N "(cached) $ECHO_C" >&6
25277 else
25278 cat >conftest.$ac_ext <<_ACEOF
25279 /* confdefs.h. */
25280 _ACEOF
25281 cat confdefs.h >>conftest.$ac_ext
25282 cat >>conftest.$ac_ext <<_ACEOF
25283 /* end confdefs.h. */
25284
25285
25286
25287 #include <hash_map>
25288 _ACEOF
25289 rm -f conftest.$ac_objext
25290 if { (ac_try="$ac_compile"
25291 case "(($ac_try" in
25292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25293 *) ac_try_echo=$ac_try;;
25294 esac
25295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25296 (eval "$ac_compile") 2>conftest.er1
25297 ac_status=$?
25298 grep -v '^ *+' conftest.er1 >conftest.err
25299 rm -f conftest.er1
25300 cat conftest.err >&5
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); } && {
25303 test -z "$ac_cxx_werror_flag" ||
25304 test ! -s conftest.err
25305 } && test -s conftest.$ac_objext; then
25306 ac_cv_header_hash_map=yes
25307 else
25308 echo "$as_me: failed program was:" >&5
25309 sed 's/^/| /' conftest.$ac_ext >&5
25310
25311 ac_cv_header_hash_map=no
25312 fi
25313
25314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25315 fi
25316 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25317 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25318 if test $ac_cv_header_hash_map = yes; then
25319 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25320 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25321 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25322 echo $ECHO_N "(cached) $ECHO_C" >&6
25323 else
25324 cat >conftest.$ac_ext <<_ACEOF
25325 /* confdefs.h. */
25326 _ACEOF
25327 cat confdefs.h >>conftest.$ac_ext
25328 cat >>conftest.$ac_ext <<_ACEOF
25329 /* end confdefs.h. */
25330 #include <hash_map>
25331 #include <hash_set>
25332 int
25333 main ()
25334 {
25335 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25336 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25337 ;
25338 return 0;
25339 }
25340 _ACEOF
25341 rm -f conftest.$ac_objext
25342 if { (ac_try="$ac_compile"
25343 case "(($ac_try" in
25344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25345 *) ac_try_echo=$ac_try;;
25346 esac
25347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25348 (eval "$ac_compile") 2>conftest.er1
25349 ac_status=$?
25350 grep -v '^ *+' conftest.er1 >conftest.err
25351 rm -f conftest.er1
25352 cat conftest.err >&5
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); } && {
25355 test -z "$ac_cxx_werror_flag" ||
25356 test ! -s conftest.err
25357 } && test -s conftest.$ac_objext; then
25358 wx_cv_class_stdhashmapset=yes
25359 else
25360 echo "$as_me: failed program was:" >&5
25361 sed 's/^/| /' conftest.$ac_ext >&5
25362
25363 wx_cv_class_stdhashmapset=no
25364 fi
25365
25366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25367
25368
25369 fi
25370 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25371 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25372 fi
25373
25374
25375
25376 if test "$wx_cv_class_stdhashmapset" = yes; then
25377 cat >>confdefs.h <<\_ACEOF
25378 #define HAVE_HASH_MAP 1
25379 _ACEOF
25380
25381 cat >>confdefs.h <<\_ACEOF
25382 #define HAVE_STD_HASH_MAP 1
25383 _ACEOF
25384
25385 fi
25386
25387 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25388 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25389 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25390 echo $ECHO_N "(cached) $ECHO_C" >&6
25391 else
25392 cat >conftest.$ac_ext <<_ACEOF
25393 /* confdefs.h. */
25394 _ACEOF
25395 cat confdefs.h >>conftest.$ac_ext
25396 cat >>conftest.$ac_ext <<_ACEOF
25397 /* end confdefs.h. */
25398
25399
25400
25401 #include <ext/hash_map>
25402 _ACEOF
25403 rm -f conftest.$ac_objext
25404 if { (ac_try="$ac_compile"
25405 case "(($ac_try" in
25406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25407 *) ac_try_echo=$ac_try;;
25408 esac
25409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25410 (eval "$ac_compile") 2>conftest.er1
25411 ac_status=$?
25412 grep -v '^ *+' conftest.er1 >conftest.err
25413 rm -f conftest.er1
25414 cat conftest.err >&5
25415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25416 (exit $ac_status); } && {
25417 test -z "$ac_cxx_werror_flag" ||
25418 test ! -s conftest.err
25419 } && test -s conftest.$ac_objext; then
25420 ac_cv_header_ext_hash_map=yes
25421 else
25422 echo "$as_me: failed program was:" >&5
25423 sed 's/^/| /' conftest.$ac_ext >&5
25424
25425 ac_cv_header_ext_hash_map=no
25426 fi
25427
25428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25429 fi
25430 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25431 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25432 if test $ac_cv_header_ext_hash_map = yes; then
25433 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25434 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25435 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25436 echo $ECHO_N "(cached) $ECHO_C" >&6
25437 else
25438 cat >conftest.$ac_ext <<_ACEOF
25439 /* confdefs.h. */
25440 _ACEOF
25441 cat confdefs.h >>conftest.$ac_ext
25442 cat >>conftest.$ac_ext <<_ACEOF
25443 /* end confdefs.h. */
25444 #include <ext/hash_map>
25445 #include <ext/hash_set>
25446 int
25447 main ()
25448 {
25449 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25450 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25451 ;
25452 return 0;
25453 }
25454 _ACEOF
25455 rm -f conftest.$ac_objext
25456 if { (ac_try="$ac_compile"
25457 case "(($ac_try" in
25458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25459 *) ac_try_echo=$ac_try;;
25460 esac
25461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25462 (eval "$ac_compile") 2>conftest.er1
25463 ac_status=$?
25464 grep -v '^ *+' conftest.er1 >conftest.err
25465 rm -f conftest.er1
25466 cat conftest.err >&5
25467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25468 (exit $ac_status); } && {
25469 test -z "$ac_cxx_werror_flag" ||
25470 test ! -s conftest.err
25471 } && test -s conftest.$ac_objext; then
25472 wx_cv_class_gnuhashmapset=yes
25473 else
25474 echo "$as_me: failed program was:" >&5
25475 sed 's/^/| /' conftest.$ac_ext >&5
25476
25477 wx_cv_class_gnuhashmapset=no
25478 fi
25479
25480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25481
25482
25483 fi
25484 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25485 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25486 fi
25487
25488
25489
25490 fi
25491 fi
25492 fi
25493
25494
25495
25496 if test -n "$GCC"; then
25497 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25498 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25499 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25500 echo $ECHO_N "(cached) $ECHO_C" >&6
25501 else
25502
25503 cat >conftest.$ac_ext <<_ACEOF
25504 /* confdefs.h. */
25505 _ACEOF
25506 cat confdefs.h >>conftest.$ac_ext
25507 cat >>conftest.$ac_ext <<_ACEOF
25508 /* end confdefs.h. */
25509
25510 int
25511 main ()
25512 {
25513
25514 unsigned int value=0;
25515 /* wxAtomicInc doesn't use return value here */
25516 __sync_fetch_and_add(&value, 2);
25517 __sync_sub_and_fetch(&value, 1);
25518 /* but wxAtomicDec does, so mimic that: */
25519 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25520
25521 ;
25522 return 0;
25523 }
25524 _ACEOF
25525 rm -f conftest.$ac_objext conftest$ac_exeext
25526 if { (ac_try="$ac_link"
25527 case "(($ac_try" in
25528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25529 *) ac_try_echo=$ac_try;;
25530 esac
25531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25532 (eval "$ac_link") 2>conftest.er1
25533 ac_status=$?
25534 grep -v '^ *+' conftest.er1 >conftest.err
25535 rm -f conftest.er1
25536 cat conftest.err >&5
25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538 (exit $ac_status); } && {
25539 test -z "$ac_cxx_werror_flag" ||
25540 test ! -s conftest.err
25541 } && test -s conftest$ac_exeext &&
25542 $as_test_x conftest$ac_exeext; then
25543 wx_cv_cc_gcc_atomic_builtins=yes
25544 else
25545 echo "$as_me: failed program was:" >&5
25546 sed 's/^/| /' conftest.$ac_ext >&5
25547
25548 wx_cv_cc_gcc_atomic_builtins=no
25549 fi
25550
25551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25552 conftest$ac_exeext conftest.$ac_ext
25553
25554 fi
25555
25556 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25557 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25558 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25559 cat >>confdefs.h <<\_ACEOF
25560 #define HAVE_GCC_ATOMIC_BUILTINS 1
25561 _ACEOF
25562
25563 fi
25564 fi
25565
25566
25567 ac_ext=c
25568 ac_cpp='$CPP $CPPFLAGS'
25569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25572
25573
25574
25575 SEARCH_INCLUDE="\
25576 /usr/local/include \
25577 /usr/local/X11/include \
25578 /usr/local/include/X11 \
25579 /usr/local/X11R7/include \
25580 /usr/local/X11R6/include \
25581 /usr/local/include/X11R7 \
25582 /usr/local/include/X11R6 \
25583 \
25584 /usr/Motif-2.1/include \
25585 /usr/Motif-1.2/include \
25586 /usr/include/Motif1.2 \
25587 \
25588 /usr/dt/include \
25589 /usr/openwin/include \
25590 \
25591 /usr/include/Xm \
25592 \
25593 /usr/X11R7/include \
25594 /usr/X11R6/include \
25595 /usr/X11R6.4/include \
25596 \
25597 /usr/include/X11R7 \
25598 /usr/include/X11R6 \
25599 \
25600 /usr/X11/include \
25601 /usr/include/X11 \
25602 \
25603 /usr/XFree86/include/X11 \
25604 /usr/pkg/include \
25605 \
25606 /usr/local/X1R5/include \
25607 /usr/local/include/X11R5 \
25608 /usr/X11R5/include \
25609 /usr/include/X11R5 \
25610 \
25611 /usr/local/X11R4/include \
25612 /usr/local/include/X11R4 \
25613 /usr/X11R4/include \
25614 /usr/include/X11R4 \
25615 \
25616 /usr/openwin/share/include"
25617
25618 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25619 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25620
25621 case "${host}" in
25622 *-*-irix6* )
25623 if test "${wx_cv_std_libpath+set}" = set; then
25624 echo $ECHO_N "(cached) $ECHO_C" >&6
25625 else
25626
25627 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25628 for e in a so sl dylib dll.a; do
25629 libc="$d/libc.$e"
25630 if test -f $libc; then
25631 save_LIBS="$LIBS"
25632 LIBS="$libc"
25633 cat >conftest.$ac_ext <<_ACEOF
25634 int main() { return 0; }
25635 _ACEOF
25636 rm -f conftest.$ac_objext conftest$ac_exeext
25637 if { (ac_try="$ac_link"
25638 case "(($ac_try" in
25639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25640 *) ac_try_echo=$ac_try;;
25641 esac
25642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25643 (eval "$ac_link") 2>conftest.er1
25644 ac_status=$?
25645 grep -v '^ *+' conftest.er1 >conftest.err
25646 rm -f conftest.er1
25647 cat conftest.err >&5
25648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25649 (exit $ac_status); } && {
25650 test -z "$ac_c_werror_flag" ||
25651 test ! -s conftest.err
25652 } && test -s conftest$ac_exeext &&
25653 $as_test_x conftest$ac_exeext; then
25654 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25655 else
25656 echo "$as_me: failed program was:" >&5
25657 sed 's/^/| /' conftest.$ac_ext >&5
25658
25659
25660 fi
25661
25662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25663 conftest$ac_exeext conftest.$ac_ext
25664 LIBS="$save_LIBS"
25665 if test "x$wx_cv_std_libpath" != "x"; then
25666 break 2
25667 fi
25668 fi
25669 done
25670 done
25671 if test "x$wx_cv_std_libpath" = "x"; then
25672 wx_cv_std_libpath="lib"
25673 fi
25674
25675
25676 fi
25677
25678 ;;
25679
25680 *-*-solaris2* )
25681 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25682 wx_cv_std_libpath="lib/64"
25683 else
25684 wx_cv_std_libpath="lib"
25685 fi
25686 ;;
25687
25688 *-*-linux* )
25689 if test "$ac_cv_sizeof_void_p" = 8 -a \
25690 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25691 wx_cv_std_libpath="lib64"
25692 else
25693 wx_cv_std_libpath="lib"
25694 fi
25695 ;;
25696
25697 *)
25698 wx_cv_std_libpath="lib";
25699 ;;
25700 esac
25701
25702 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25703 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25704
25705 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25706
25707 if test "$build" != "$host" -a "$GCC" = yes; then
25708 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25709 cross_root=`dirname $cross_root`
25710 cross_root=`dirname $cross_root`
25711
25712 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25713 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25714 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25715
25716 if test -z "$PKG_CONFIG_PATH"; then
25717 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25718 export PKG_CONFIG_PATH
25719 fi
25720
25721 if test -z "$x_includes" -o "$x_includes" = NONE; then
25722
25723 ac_find_includes=
25724 for ac_dir in $SEARCH_INCLUDE /usr/include;
25725 do
25726 if test -f "$ac_dir/X11/Intrinsic.h"; then
25727 ac_find_includes=$ac_dir
25728 break
25729 fi
25730 done
25731
25732 x_includes=$ac_find_includes
25733 fi
25734 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25735
25736 ac_find_libraries=
25737 for ac_dir in $SEARCH_LIB;
25738 do
25739 for ac_extension in a so sl dylib dll.a; do
25740 if test -f "$ac_dir/libXt.$ac_extension"; then
25741 ac_find_libraries=$ac_dir
25742 break 2
25743 fi
25744 done
25745 done
25746
25747 x_libraries=$ac_find_libraries
25748 fi
25749 fi
25750 fi
25751
25752
25753 cat >confcache <<\_ACEOF
25754 # This file is a shell script that caches the results of configure
25755 # tests run on this system so they can be shared between configure
25756 # scripts and configure runs, see configure's option --config-cache.
25757 # It is not useful on other systems. If it contains results you don't
25758 # want to keep, you may remove or edit it.
25759 #
25760 # config.status only pays attention to the cache file if you give it
25761 # the --recheck option to rerun configure.
25762 #
25763 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25764 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25765 # following values.
25766
25767 _ACEOF
25768
25769 # The following way of writing the cache mishandles newlines in values,
25770 # but we know of no workaround that is simple, portable, and efficient.
25771 # So, we kill variables containing newlines.
25772 # Ultrix sh set writes to stderr and can't be redirected directly,
25773 # and sets the high bit in the cache file unless we assign to the vars.
25774 (
25775 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25776 eval ac_val=\$$ac_var
25777 case $ac_val in #(
25778 *${as_nl}*)
25779 case $ac_var in #(
25780 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25781 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25782 esac
25783 case $ac_var in #(
25784 _ | IFS | as_nl) ;; #(
25785 *) $as_unset $ac_var ;;
25786 esac ;;
25787 esac
25788 done
25789
25790 (set) 2>&1 |
25791 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25792 *${as_nl}ac_space=\ *)
25793 # `set' does not quote correctly, so add quotes (double-quote
25794 # substitution turns \\\\ into \\, and sed turns \\ into \).
25795 sed -n \
25796 "s/'/'\\\\''/g;
25797 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25798 ;; #(
25799 *)
25800 # `set' quotes correctly as required by POSIX, so do not add quotes.
25801 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25802 ;;
25803 esac |
25804 sort
25805 ) |
25806 sed '
25807 /^ac_cv_env_/b end
25808 t clear
25809 :clear
25810 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25811 t end
25812 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25813 :end' >>confcache
25814 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25815 if test -w "$cache_file"; then
25816 test "x$cache_file" != "x/dev/null" &&
25817 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25818 echo "$as_me: updating cache $cache_file" >&6;}
25819 cat confcache >$cache_file
25820 else
25821 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25822 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25823 fi
25824 fi
25825 rm -f confcache
25826
25827 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25828 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25829 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25830 if test "${wx_cv_lib_glibc21+set}" = set; then
25831 echo $ECHO_N "(cached) $ECHO_C" >&6
25832 else
25833
25834 cat >conftest.$ac_ext <<_ACEOF
25835 /* confdefs.h. */
25836 _ACEOF
25837 cat confdefs.h >>conftest.$ac_ext
25838 cat >>conftest.$ac_ext <<_ACEOF
25839 /* end confdefs.h. */
25840 #include <features.h>
25841 int
25842 main ()
25843 {
25844
25845 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25846 not glibc 2.1
25847 #endif
25848
25849 ;
25850 return 0;
25851 }
25852 _ACEOF
25853 rm -f conftest.$ac_objext
25854 if { (ac_try="$ac_compile"
25855 case "(($ac_try" in
25856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25857 *) ac_try_echo=$ac_try;;
25858 esac
25859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25860 (eval "$ac_compile") 2>conftest.er1
25861 ac_status=$?
25862 grep -v '^ *+' conftest.er1 >conftest.err
25863 rm -f conftest.er1
25864 cat conftest.err >&5
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); } && {
25867 test -z "$ac_c_werror_flag" ||
25868 test ! -s conftest.err
25869 } && test -s conftest.$ac_objext; then
25870
25871 wx_cv_lib_glibc21=yes
25872
25873 else
25874 echo "$as_me: failed program was:" >&5
25875 sed 's/^/| /' conftest.$ac_ext >&5
25876
25877
25878 wx_cv_lib_glibc21=no
25879
25880
25881 fi
25882
25883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25884
25885 fi
25886 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25887 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25888 if test "$wx_cv_lib_glibc21" = "yes"; then
25889 cat >>confdefs.h <<\_ACEOF
25890 #define wxHAVE_GLIBC2 1
25891 _ACEOF
25892
25893 fi
25894 fi
25895
25896 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25897 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25898 cat >>confdefs.h <<\_ACEOF
25899 #define _GNU_SOURCE 1
25900 _ACEOF
25901
25902 fi
25903 fi
25904
25905 have_cos=0
25906 have_floor=0
25907
25908 for ac_func in cos
25909 do
25910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25911 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25913 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25914 echo $ECHO_N "(cached) $ECHO_C" >&6
25915 else
25916 cat >conftest.$ac_ext <<_ACEOF
25917 /* confdefs.h. */
25918 _ACEOF
25919 cat confdefs.h >>conftest.$ac_ext
25920 cat >>conftest.$ac_ext <<_ACEOF
25921 /* end confdefs.h. */
25922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25924 #define $ac_func innocuous_$ac_func
25925
25926 /* System header to define __stub macros and hopefully few prototypes,
25927 which can conflict with char $ac_func (); below.
25928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25929 <limits.h> exists even on freestanding compilers. */
25930
25931 #ifdef __STDC__
25932 # include <limits.h>
25933 #else
25934 # include <assert.h>
25935 #endif
25936
25937 #undef $ac_func
25938
25939 /* Override any GCC internal prototype to avoid an error.
25940 Use char because int might match the return type of a GCC
25941 builtin and then its argument prototype would still apply. */
25942 #ifdef __cplusplus
25943 extern "C"
25944 #endif
25945 char $ac_func ();
25946 /* The GNU C library defines this for functions which it implements
25947 to always fail with ENOSYS. Some functions are actually named
25948 something starting with __ and the normal name is an alias. */
25949 #if defined __stub_$ac_func || defined __stub___$ac_func
25950 choke me
25951 #endif
25952
25953 int
25954 main ()
25955 {
25956 return $ac_func ();
25957 ;
25958 return 0;
25959 }
25960 _ACEOF
25961 rm -f conftest.$ac_objext conftest$ac_exeext
25962 if { (ac_try="$ac_link"
25963 case "(($ac_try" in
25964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25965 *) ac_try_echo=$ac_try;;
25966 esac
25967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25968 (eval "$ac_link") 2>conftest.er1
25969 ac_status=$?
25970 grep -v '^ *+' conftest.er1 >conftest.err
25971 rm -f conftest.er1
25972 cat conftest.err >&5
25973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25974 (exit $ac_status); } && {
25975 test -z "$ac_c_werror_flag" ||
25976 test ! -s conftest.err
25977 } && test -s conftest$ac_exeext &&
25978 $as_test_x conftest$ac_exeext; then
25979 eval "$as_ac_var=yes"
25980 else
25981 echo "$as_me: failed program was:" >&5
25982 sed 's/^/| /' conftest.$ac_ext >&5
25983
25984 eval "$as_ac_var=no"
25985 fi
25986
25987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25988 conftest$ac_exeext conftest.$ac_ext
25989 fi
25990 ac_res=`eval echo '${'$as_ac_var'}'`
25991 { echo "$as_me:$LINENO: result: $ac_res" >&5
25992 echo "${ECHO_T}$ac_res" >&6; }
25993 if test `eval echo '${'$as_ac_var'}'` = yes; then
25994 cat >>confdefs.h <<_ACEOF
25995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25996 _ACEOF
25997 have_cos=1
25998 fi
25999 done
26000
26001
26002 for ac_func in floor
26003 do
26004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26005 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26007 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26008 echo $ECHO_N "(cached) $ECHO_C" >&6
26009 else
26010 cat >conftest.$ac_ext <<_ACEOF
26011 /* confdefs.h. */
26012 _ACEOF
26013 cat confdefs.h >>conftest.$ac_ext
26014 cat >>conftest.$ac_ext <<_ACEOF
26015 /* end confdefs.h. */
26016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26018 #define $ac_func innocuous_$ac_func
26019
26020 /* System header to define __stub macros and hopefully few prototypes,
26021 which can conflict with char $ac_func (); below.
26022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26023 <limits.h> exists even on freestanding compilers. */
26024
26025 #ifdef __STDC__
26026 # include <limits.h>
26027 #else
26028 # include <assert.h>
26029 #endif
26030
26031 #undef $ac_func
26032
26033 /* Override any GCC internal prototype to avoid an error.
26034 Use char because int might match the return type of a GCC
26035 builtin and then its argument prototype would still apply. */
26036 #ifdef __cplusplus
26037 extern "C"
26038 #endif
26039 char $ac_func ();
26040 /* The GNU C library defines this for functions which it implements
26041 to always fail with ENOSYS. Some functions are actually named
26042 something starting with __ and the normal name is an alias. */
26043 #if defined __stub_$ac_func || defined __stub___$ac_func
26044 choke me
26045 #endif
26046
26047 int
26048 main ()
26049 {
26050 return $ac_func ();
26051 ;
26052 return 0;
26053 }
26054 _ACEOF
26055 rm -f conftest.$ac_objext conftest$ac_exeext
26056 if { (ac_try="$ac_link"
26057 case "(($ac_try" in
26058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26059 *) ac_try_echo=$ac_try;;
26060 esac
26061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26062 (eval "$ac_link") 2>conftest.er1
26063 ac_status=$?
26064 grep -v '^ *+' conftest.er1 >conftest.err
26065 rm -f conftest.er1
26066 cat conftest.err >&5
26067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26068 (exit $ac_status); } && {
26069 test -z "$ac_c_werror_flag" ||
26070 test ! -s conftest.err
26071 } && test -s conftest$ac_exeext &&
26072 $as_test_x conftest$ac_exeext; then
26073 eval "$as_ac_var=yes"
26074 else
26075 echo "$as_me: failed program was:" >&5
26076 sed 's/^/| /' conftest.$ac_ext >&5
26077
26078 eval "$as_ac_var=no"
26079 fi
26080
26081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26082 conftest$ac_exeext conftest.$ac_ext
26083 fi
26084 ac_res=`eval echo '${'$as_ac_var'}'`
26085 { echo "$as_me:$LINENO: result: $ac_res" >&5
26086 echo "${ECHO_T}$ac_res" >&6; }
26087 if test `eval echo '${'$as_ac_var'}'` = yes; then
26088 cat >>confdefs.h <<_ACEOF
26089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26090 _ACEOF
26091 have_floor=1
26092 fi
26093 done
26094
26095 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26096 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26097 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26098 { echo "$as_me:$LINENO: result: yes" >&5
26099 echo "${ECHO_T}yes" >&6; }
26100 else
26101 { echo "$as_me:$LINENO: result: no" >&5
26102 echo "${ECHO_T}no" >&6; }
26103 LIBS="$LIBS -lm"
26104 # use different functions to avoid configure caching
26105 have_sin=0
26106 have_ceil=0
26107
26108 for ac_func in sin
26109 do
26110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26111 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26113 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26114 echo $ECHO_N "(cached) $ECHO_C" >&6
26115 else
26116 cat >conftest.$ac_ext <<_ACEOF
26117 /* confdefs.h. */
26118 _ACEOF
26119 cat confdefs.h >>conftest.$ac_ext
26120 cat >>conftest.$ac_ext <<_ACEOF
26121 /* end confdefs.h. */
26122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26124 #define $ac_func innocuous_$ac_func
26125
26126 /* System header to define __stub macros and hopefully few prototypes,
26127 which can conflict with char $ac_func (); below.
26128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26129 <limits.h> exists even on freestanding compilers. */
26130
26131 #ifdef __STDC__
26132 # include <limits.h>
26133 #else
26134 # include <assert.h>
26135 #endif
26136
26137 #undef $ac_func
26138
26139 /* Override any GCC internal prototype to avoid an error.
26140 Use char because int might match the return type of a GCC
26141 builtin and then its argument prototype would still apply. */
26142 #ifdef __cplusplus
26143 extern "C"
26144 #endif
26145 char $ac_func ();
26146 /* The GNU C library defines this for functions which it implements
26147 to always fail with ENOSYS. Some functions are actually named
26148 something starting with __ and the normal name is an alias. */
26149 #if defined __stub_$ac_func || defined __stub___$ac_func
26150 choke me
26151 #endif
26152
26153 int
26154 main ()
26155 {
26156 return $ac_func ();
26157 ;
26158 return 0;
26159 }
26160 _ACEOF
26161 rm -f conftest.$ac_objext conftest$ac_exeext
26162 if { (ac_try="$ac_link"
26163 case "(($ac_try" in
26164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26165 *) ac_try_echo=$ac_try;;
26166 esac
26167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26168 (eval "$ac_link") 2>conftest.er1
26169 ac_status=$?
26170 grep -v '^ *+' conftest.er1 >conftest.err
26171 rm -f conftest.er1
26172 cat conftest.err >&5
26173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26174 (exit $ac_status); } && {
26175 test -z "$ac_c_werror_flag" ||
26176 test ! -s conftest.err
26177 } && test -s conftest$ac_exeext &&
26178 $as_test_x conftest$ac_exeext; then
26179 eval "$as_ac_var=yes"
26180 else
26181 echo "$as_me: failed program was:" >&5
26182 sed 's/^/| /' conftest.$ac_ext >&5
26183
26184 eval "$as_ac_var=no"
26185 fi
26186
26187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26188 conftest$ac_exeext conftest.$ac_ext
26189 fi
26190 ac_res=`eval echo '${'$as_ac_var'}'`
26191 { echo "$as_me:$LINENO: result: $ac_res" >&5
26192 echo "${ECHO_T}$ac_res" >&6; }
26193 if test `eval echo '${'$as_ac_var'}'` = yes; then
26194 cat >>confdefs.h <<_ACEOF
26195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26196 _ACEOF
26197 have_sin=1
26198 fi
26199 done
26200
26201
26202 for ac_func in ceil
26203 do
26204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26205 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26207 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26208 echo $ECHO_N "(cached) $ECHO_C" >&6
26209 else
26210 cat >conftest.$ac_ext <<_ACEOF
26211 /* confdefs.h. */
26212 _ACEOF
26213 cat confdefs.h >>conftest.$ac_ext
26214 cat >>conftest.$ac_ext <<_ACEOF
26215 /* end confdefs.h. */
26216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26218 #define $ac_func innocuous_$ac_func
26219
26220 /* System header to define __stub macros and hopefully few prototypes,
26221 which can conflict with char $ac_func (); below.
26222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26223 <limits.h> exists even on freestanding compilers. */
26224
26225 #ifdef __STDC__
26226 # include <limits.h>
26227 #else
26228 # include <assert.h>
26229 #endif
26230
26231 #undef $ac_func
26232
26233 /* Override any GCC internal prototype to avoid an error.
26234 Use char because int might match the return type of a GCC
26235 builtin and then its argument prototype would still apply. */
26236 #ifdef __cplusplus
26237 extern "C"
26238 #endif
26239 char $ac_func ();
26240 /* The GNU C library defines this for functions which it implements
26241 to always fail with ENOSYS. Some functions are actually named
26242 something starting with __ and the normal name is an alias. */
26243 #if defined __stub_$ac_func || defined __stub___$ac_func
26244 choke me
26245 #endif
26246
26247 int
26248 main ()
26249 {
26250 return $ac_func ();
26251 ;
26252 return 0;
26253 }
26254 _ACEOF
26255 rm -f conftest.$ac_objext conftest$ac_exeext
26256 if { (ac_try="$ac_link"
26257 case "(($ac_try" in
26258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26259 *) ac_try_echo=$ac_try;;
26260 esac
26261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26262 (eval "$ac_link") 2>conftest.er1
26263 ac_status=$?
26264 grep -v '^ *+' conftest.er1 >conftest.err
26265 rm -f conftest.er1
26266 cat conftest.err >&5
26267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26268 (exit $ac_status); } && {
26269 test -z "$ac_c_werror_flag" ||
26270 test ! -s conftest.err
26271 } && test -s conftest$ac_exeext &&
26272 $as_test_x conftest$ac_exeext; then
26273 eval "$as_ac_var=yes"
26274 else
26275 echo "$as_me: failed program was:" >&5
26276 sed 's/^/| /' conftest.$ac_ext >&5
26277
26278 eval "$as_ac_var=no"
26279 fi
26280
26281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26282 conftest$ac_exeext conftest.$ac_ext
26283 fi
26284 ac_res=`eval echo '${'$as_ac_var'}'`
26285 { echo "$as_me:$LINENO: result: $ac_res" >&5
26286 echo "${ECHO_T}$ac_res" >&6; }
26287 if test `eval echo '${'$as_ac_var'}'` = yes; then
26288 cat >>confdefs.h <<_ACEOF
26289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26290 _ACEOF
26291 have_ceil=1
26292 fi
26293 done
26294
26295 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26296 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26297 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26298 { echo "$as_me:$LINENO: result: yes" >&5
26299 echo "${ECHO_T}yes" >&6; }
26300 else
26301 { echo "$as_me:$LINENO: result: no" >&5
26302 echo "${ECHO_T}no" >&6; }
26303 # not sure we should warn the user, crash, etc.
26304 fi
26305 fi
26306
26307 ac_ext=cpp
26308 ac_cpp='$CXXCPP $CPPFLAGS'
26309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26312
26313 if test "wxUSE_UNICODE" = "yes"; then
26314
26315 for wx_func in wcstoull
26316 do
26317 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26318 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26319 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26320 echo $ECHO_N "(cached) $ECHO_C" >&6
26321 else
26322
26323 cat >conftest.$ac_ext <<_ACEOF
26324
26325 /* confdefs.h. */
26326 _ACEOF
26327 cat confdefs.h >>conftest.$ac_ext
26328 cat >>conftest.$ac_ext <<_ACEOF
26329 /* end confdefs.h. */
26330
26331
26332 $ac_includes_default
26333
26334 int
26335 main ()
26336 {
26337
26338 #ifndef $wx_func
26339 &$wx_func;
26340 #endif
26341
26342
26343 ;
26344 return 0;
26345 }
26346
26347 _ACEOF
26348 rm -f conftest.$ac_objext conftest$ac_exeext
26349 if { (ac_try="$ac_link"
26350 case "(($ac_try" in
26351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26352 *) ac_try_echo=$ac_try;;
26353 esac
26354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26355 (eval "$ac_link") 2>conftest.er1
26356 ac_status=$?
26357 grep -v '^ *+' conftest.er1 >conftest.err
26358 rm -f conftest.er1
26359 cat conftest.err >&5
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); } && {
26362 test -z "$ac_cxx_werror_flag" ||
26363 test ! -s conftest.err
26364 } && test -s conftest$ac_exeext &&
26365 $as_test_x conftest$ac_exeext; then
26366 eval wx_cv_func_$wx_func=yes
26367 else
26368 echo "$as_me: failed program was:" >&5
26369 sed 's/^/| /' conftest.$ac_ext >&5
26370
26371 eval wx_cv_func_$wx_func=no
26372 fi
26373
26374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26375 conftest$ac_exeext conftest.$ac_ext
26376
26377 fi
26378 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26379 { echo "$as_me:$LINENO: result: $ac_res" >&5
26380 echo "${ECHO_T}$ac_res" >&6; }
26381
26382 if eval test \$wx_cv_func_$wx_func = yes
26383 then
26384 cat >>confdefs.h <<_ACEOF
26385 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26386 _ACEOF
26387
26388
26389 else
26390 :
26391
26392 fi
26393 done
26394
26395 else
26396
26397 for wx_func in strtoull
26398 do
26399 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26400 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26401 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26402 echo $ECHO_N "(cached) $ECHO_C" >&6
26403 else
26404
26405 cat >conftest.$ac_ext <<_ACEOF
26406
26407 /* confdefs.h. */
26408 _ACEOF
26409 cat confdefs.h >>conftest.$ac_ext
26410 cat >>conftest.$ac_ext <<_ACEOF
26411 /* end confdefs.h. */
26412
26413
26414 $ac_includes_default
26415
26416 int
26417 main ()
26418 {
26419
26420 #ifndef $wx_func
26421 &$wx_func;
26422 #endif
26423
26424
26425 ;
26426 return 0;
26427 }
26428
26429 _ACEOF
26430 rm -f conftest.$ac_objext conftest$ac_exeext
26431 if { (ac_try="$ac_link"
26432 case "(($ac_try" in
26433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26434 *) ac_try_echo=$ac_try;;
26435 esac
26436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26437 (eval "$ac_link") 2>conftest.er1
26438 ac_status=$?
26439 grep -v '^ *+' conftest.er1 >conftest.err
26440 rm -f conftest.er1
26441 cat conftest.err >&5
26442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26443 (exit $ac_status); } && {
26444 test -z "$ac_cxx_werror_flag" ||
26445 test ! -s conftest.err
26446 } && test -s conftest$ac_exeext &&
26447 $as_test_x conftest$ac_exeext; then
26448 eval wx_cv_func_$wx_func=yes
26449 else
26450 echo "$as_me: failed program was:" >&5
26451 sed 's/^/| /' conftest.$ac_ext >&5
26452
26453 eval wx_cv_func_$wx_func=no
26454 fi
26455
26456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26457 conftest$ac_exeext conftest.$ac_ext
26458
26459 fi
26460 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26461 { echo "$as_me:$LINENO: result: $ac_res" >&5
26462 echo "${ECHO_T}$ac_res" >&6; }
26463
26464 if eval test \$wx_cv_func_$wx_func = yes
26465 then
26466 cat >>confdefs.h <<_ACEOF
26467 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26468 _ACEOF
26469
26470
26471 else
26472 :
26473
26474 fi
26475 done
26476
26477 fi
26478 ac_ext=c
26479 ac_cpp='$CPP $CPPFLAGS'
26480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26483
26484
26485
26486
26487 if test "$wxUSE_REGEX" != "no"; then
26488 cat >>confdefs.h <<\_ACEOF
26489 #define wxUSE_REGEX 1
26490 _ACEOF
26491
26492
26493 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26494 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26495 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26496 wxUSE_REGEX=builtin
26497 fi
26498
26499 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26500 { echo "$as_me:$LINENO: checking for regex.h" >&5
26501 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26502 if test "${ac_cv_header_regex_h+set}" = set; then
26503 echo $ECHO_N "(cached) $ECHO_C" >&6
26504 else
26505 cat >conftest.$ac_ext <<_ACEOF
26506 /* confdefs.h. */
26507 _ACEOF
26508 cat confdefs.h >>conftest.$ac_ext
26509 cat >>conftest.$ac_ext <<_ACEOF
26510 /* end confdefs.h. */
26511
26512
26513 #include <regex.h>
26514 _ACEOF
26515 rm -f conftest.$ac_objext
26516 if { (ac_try="$ac_compile"
26517 case "(($ac_try" in
26518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26519 *) ac_try_echo=$ac_try;;
26520 esac
26521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26522 (eval "$ac_compile") 2>conftest.er1
26523 ac_status=$?
26524 grep -v '^ *+' conftest.er1 >conftest.err
26525 rm -f conftest.er1
26526 cat conftest.err >&5
26527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26528 (exit $ac_status); } && {
26529 test -z "$ac_c_werror_flag" ||
26530 test ! -s conftest.err
26531 } && test -s conftest.$ac_objext; then
26532 ac_cv_header_regex_h=yes
26533 else
26534 echo "$as_me: failed program was:" >&5
26535 sed 's/^/| /' conftest.$ac_ext >&5
26536
26537 ac_cv_header_regex_h=no
26538 fi
26539
26540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26541 fi
26542 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26543 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26544 if test $ac_cv_header_regex_h = yes; then
26545
26546
26547 for ac_func in regcomp re_search
26548 do
26549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26550 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26552 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26553 echo $ECHO_N "(cached) $ECHO_C" >&6
26554 else
26555 cat >conftest.$ac_ext <<_ACEOF
26556 /* confdefs.h. */
26557 _ACEOF
26558 cat confdefs.h >>conftest.$ac_ext
26559 cat >>conftest.$ac_ext <<_ACEOF
26560 /* end confdefs.h. */
26561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26563 #define $ac_func innocuous_$ac_func
26564
26565 /* System header to define __stub macros and hopefully few prototypes,
26566 which can conflict with char $ac_func (); below.
26567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26568 <limits.h> exists even on freestanding compilers. */
26569
26570 #ifdef __STDC__
26571 # include <limits.h>
26572 #else
26573 # include <assert.h>
26574 #endif
26575
26576 #undef $ac_func
26577
26578 /* Override any GCC internal prototype to avoid an error.
26579 Use char because int might match the return type of a GCC
26580 builtin and then its argument prototype would still apply. */
26581 #ifdef __cplusplus
26582 extern "C"
26583 #endif
26584 char $ac_func ();
26585 /* The GNU C library defines this for functions which it implements
26586 to always fail with ENOSYS. Some functions are actually named
26587 something starting with __ and the normal name is an alias. */
26588 #if defined __stub_$ac_func || defined __stub___$ac_func
26589 choke me
26590 #endif
26591
26592 int
26593 main ()
26594 {
26595 return $ac_func ();
26596 ;
26597 return 0;
26598 }
26599 _ACEOF
26600 rm -f conftest.$ac_objext conftest$ac_exeext
26601 if { (ac_try="$ac_link"
26602 case "(($ac_try" in
26603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26604 *) ac_try_echo=$ac_try;;
26605 esac
26606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26607 (eval "$ac_link") 2>conftest.er1
26608 ac_status=$?
26609 grep -v '^ *+' conftest.er1 >conftest.err
26610 rm -f conftest.er1
26611 cat conftest.err >&5
26612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26613 (exit $ac_status); } && {
26614 test -z "$ac_c_werror_flag" ||
26615 test ! -s conftest.err
26616 } && test -s conftest$ac_exeext &&
26617 $as_test_x conftest$ac_exeext; then
26618 eval "$as_ac_var=yes"
26619 else
26620 echo "$as_me: failed program was:" >&5
26621 sed 's/^/| /' conftest.$ac_ext >&5
26622
26623 eval "$as_ac_var=no"
26624 fi
26625
26626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26627 conftest$ac_exeext conftest.$ac_ext
26628 fi
26629 ac_res=`eval echo '${'$as_ac_var'}'`
26630 { echo "$as_me:$LINENO: result: $ac_res" >&5
26631 echo "${ECHO_T}$ac_res" >&6; }
26632 if test `eval echo '${'$as_ac_var'}'` = yes; then
26633 cat >>confdefs.h <<_ACEOF
26634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26635 _ACEOF
26636
26637 fi
26638 done
26639
26640 fi
26641
26642
26643
26644 if test "x$ac_cv_func_regcomp" != "xyes"; then
26645 if test "$wxUSE_REGEX" = "sys" ; then
26646 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26647 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26648 { (exit 1); exit 1; }; }
26649 else
26650 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26651 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26652 wxUSE_REGEX=builtin
26653 fi
26654 else
26655 wxUSE_REGEX=sys
26656 cat >>confdefs.h <<\_ACEOF
26657 #define WX_NO_REGEX_ADVANCED 1
26658 _ACEOF
26659
26660 fi
26661 fi
26662 fi
26663
26664
26665 ZLIB_LINK=
26666 if test "$wxUSE_ZLIB" != "no" ; then
26667 cat >>confdefs.h <<\_ACEOF
26668 #define wxUSE_ZLIB 1
26669 _ACEOF
26670
26671
26672 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26673 if test "$USE_DARWIN" = 1; then
26674 system_zlib_h_ok="yes"
26675 else
26676 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26677 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26678 if test "${ac_cv_header_zlib_h+set}" = set; then
26679 echo $ECHO_N "(cached) $ECHO_C" >&6
26680 else
26681 if test "$cross_compiling" = yes; then
26682 unset ac_cv_header_zlib_h
26683
26684 else
26685 cat >conftest.$ac_ext <<_ACEOF
26686 /* confdefs.h. */
26687 _ACEOF
26688 cat confdefs.h >>conftest.$ac_ext
26689 cat >>conftest.$ac_ext <<_ACEOF
26690 /* end confdefs.h. */
26691
26692 #include <zlib.h>
26693 #include <stdio.h>
26694
26695 int main()
26696 {
26697 FILE *f=fopen("conftestval", "w");
26698 if (!f) exit(1);
26699 fprintf(f, "%s",
26700 ZLIB_VERSION[0] == '1' &&
26701 (ZLIB_VERSION[2] > '1' ||
26702 (ZLIB_VERSION[2] == '1' &&
26703 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26704 exit(0);
26705 }
26706
26707 _ACEOF
26708 rm -f conftest$ac_exeext
26709 if { (ac_try="$ac_link"
26710 case "(($ac_try" in
26711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26712 *) ac_try_echo=$ac_try;;
26713 esac
26714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26715 (eval "$ac_link") 2>&5
26716 ac_status=$?
26717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26718 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26719 { (case "(($ac_try" in
26720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26721 *) ac_try_echo=$ac_try;;
26722 esac
26723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26724 (eval "$ac_try") 2>&5
26725 ac_status=$?
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); }; }; then
26728 ac_cv_header_zlib_h=`cat conftestval`
26729 else
26730 echo "$as_me: program exited with status $ac_status" >&5
26731 echo "$as_me: failed program was:" >&5
26732 sed 's/^/| /' conftest.$ac_ext >&5
26733
26734 ( exit $ac_status )
26735 ac_cv_header_zlib_h=no
26736 fi
26737 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26738 fi
26739
26740
26741
26742 fi
26743 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26744 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26745 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26746 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26747 if test "${ac_cv_header_zlib_h+set}" = set; then
26748 echo $ECHO_N "(cached) $ECHO_C" >&6
26749 else
26750 cat >conftest.$ac_ext <<_ACEOF
26751 /* confdefs.h. */
26752 _ACEOF
26753 cat confdefs.h >>conftest.$ac_ext
26754 cat >>conftest.$ac_ext <<_ACEOF
26755 /* end confdefs.h. */
26756
26757
26758 #include <zlib.h>
26759 _ACEOF
26760 rm -f conftest.$ac_objext
26761 if { (ac_try="$ac_compile"
26762 case "(($ac_try" in
26763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26764 *) ac_try_echo=$ac_try;;
26765 esac
26766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26767 (eval "$ac_compile") 2>conftest.er1
26768 ac_status=$?
26769 grep -v '^ *+' conftest.er1 >conftest.err
26770 rm -f conftest.er1
26771 cat conftest.err >&5
26772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26773 (exit $ac_status); } && {
26774 test -z "$ac_c_werror_flag" ||
26775 test ! -s conftest.err
26776 } && test -s conftest.$ac_objext; then
26777 ac_cv_header_zlib_h=yes
26778 else
26779 echo "$as_me: failed program was:" >&5
26780 sed 's/^/| /' conftest.$ac_ext >&5
26781
26782 ac_cv_header_zlib_h=no
26783 fi
26784
26785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26786 fi
26787 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26788 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26789
26790
26791
26792 system_zlib_h_ok=$ac_cv_header_zlib_h
26793 fi
26794
26795 if test "$system_zlib_h_ok" = "yes"; then
26796 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26797 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26798 if test "${ac_cv_lib_z_deflate+set}" = set; then
26799 echo $ECHO_N "(cached) $ECHO_C" >&6
26800 else
26801 ac_check_lib_save_LIBS=$LIBS
26802 LIBS="-lz $LIBS"
26803 cat >conftest.$ac_ext <<_ACEOF
26804 /* confdefs.h. */
26805 _ACEOF
26806 cat confdefs.h >>conftest.$ac_ext
26807 cat >>conftest.$ac_ext <<_ACEOF
26808 /* end confdefs.h. */
26809
26810 /* Override any GCC internal prototype to avoid an error.
26811 Use char because int might match the return type of a GCC
26812 builtin and then its argument prototype would still apply. */
26813 #ifdef __cplusplus
26814 extern "C"
26815 #endif
26816 char deflate ();
26817 int
26818 main ()
26819 {
26820 return deflate ();
26821 ;
26822 return 0;
26823 }
26824 _ACEOF
26825 rm -f conftest.$ac_objext conftest$ac_exeext
26826 if { (ac_try="$ac_link"
26827 case "(($ac_try" in
26828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26829 *) ac_try_echo=$ac_try;;
26830 esac
26831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26832 (eval "$ac_link") 2>conftest.er1
26833 ac_status=$?
26834 grep -v '^ *+' conftest.er1 >conftest.err
26835 rm -f conftest.er1
26836 cat conftest.err >&5
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); } && {
26839 test -z "$ac_c_werror_flag" ||
26840 test ! -s conftest.err
26841 } && test -s conftest$ac_exeext &&
26842 $as_test_x conftest$ac_exeext; then
26843 ac_cv_lib_z_deflate=yes
26844 else
26845 echo "$as_me: failed program was:" >&5
26846 sed 's/^/| /' conftest.$ac_ext >&5
26847
26848 ac_cv_lib_z_deflate=no
26849 fi
26850
26851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26852 conftest$ac_exeext conftest.$ac_ext
26853 LIBS=$ac_check_lib_save_LIBS
26854 fi
26855 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26856 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26857 if test $ac_cv_lib_z_deflate = yes; then
26858 ZLIB_LINK=" -lz"
26859 fi
26860
26861 fi
26862
26863 if test "x$ZLIB_LINK" = "x" ; then
26864 if test "$wxUSE_ZLIB" = "sys" ; then
26865 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26866 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26867 { (exit 1); exit 1; }; }
26868 else
26869 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26870 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26871 wxUSE_ZLIB=builtin
26872 fi
26873 else
26874 wxUSE_ZLIB=sys
26875 fi
26876 fi
26877 fi
26878
26879
26880 PNG_LINK=
26881 if test "$wxUSE_LIBPNG" != "no" ; then
26882 cat >>confdefs.h <<\_ACEOF
26883 #define wxUSE_LIBPNG 1
26884 _ACEOF
26885
26886
26887 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26888 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26889 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26890 wxUSE_LIBPNG=sys
26891 fi
26892
26893 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26894 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26895 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26896 wxUSE_LIBPNG=builtin
26897 fi
26898
26899 if test "$wxUSE_MGL" != 1 ; then
26900 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26901 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26902 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26903 if test "${ac_cv_header_png_h+set}" = set; then
26904 echo $ECHO_N "(cached) $ECHO_C" >&6
26905 else
26906 if test "$cross_compiling" = yes; then
26907 unset ac_cv_header_png_h
26908
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 #include <png.h>
26918 #include <stdio.h>
26919
26920 int main()
26921 {
26922 FILE *f=fopen("conftestval", "w");
26923 if (!f) exit(1);
26924 fprintf(f, "%s",
26925 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26926 exit(0);
26927 }
26928
26929 _ACEOF
26930 rm -f conftest$ac_exeext
26931 if { (ac_try="$ac_link"
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_link") 2>&5
26938 ac_status=$?
26939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26941 { (case "(($ac_try" in
26942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26943 *) ac_try_echo=$ac_try;;
26944 esac
26945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26946 (eval "$ac_try") 2>&5
26947 ac_status=$?
26948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26949 (exit $ac_status); }; }; then
26950 ac_cv_header_png_h=`cat conftestval`
26951 else
26952 echo "$as_me: program exited with status $ac_status" >&5
26953 echo "$as_me: failed program was:" >&5
26954 sed 's/^/| /' conftest.$ac_ext >&5
26955
26956 ( exit $ac_status )
26957 ac_cv_header_png_h=no
26958 fi
26959 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26960 fi
26961
26962
26963
26964 fi
26965 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26966 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26967 { echo "$as_me:$LINENO: checking for png.h" >&5
26968 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26969 if test "${ac_cv_header_png_h+set}" = set; then
26970 echo $ECHO_N "(cached) $ECHO_C" >&6
26971 else
26972 cat >conftest.$ac_ext <<_ACEOF
26973 /* confdefs.h. */
26974 _ACEOF
26975 cat confdefs.h >>conftest.$ac_ext
26976 cat >>conftest.$ac_ext <<_ACEOF
26977 /* end confdefs.h. */
26978
26979
26980 #include <png.h>
26981 _ACEOF
26982 rm -f conftest.$ac_objext
26983 if { (ac_try="$ac_compile"
26984 case "(($ac_try" in
26985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26986 *) ac_try_echo=$ac_try;;
26987 esac
26988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26989 (eval "$ac_compile") 2>conftest.er1
26990 ac_status=$?
26991 grep -v '^ *+' conftest.er1 >conftest.err
26992 rm -f conftest.er1
26993 cat conftest.err >&5
26994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26995 (exit $ac_status); } && {
26996 test -z "$ac_c_werror_flag" ||
26997 test ! -s conftest.err
26998 } && test -s conftest.$ac_objext; then
26999 ac_cv_header_png_h=yes
27000 else
27001 echo "$as_me: failed program was:" >&5
27002 sed 's/^/| /' conftest.$ac_ext >&5
27003
27004 ac_cv_header_png_h=no
27005 fi
27006
27007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27008 fi
27009 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27010 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27011
27012
27013
27014 if test "$ac_cv_header_png_h" = "yes"; then
27015 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
27016 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
27017 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
27018 echo $ECHO_N "(cached) $ECHO_C" >&6
27019 else
27020 ac_check_lib_save_LIBS=$LIBS
27021 LIBS="-lpng -lz -lm $LIBS"
27022 cat >conftest.$ac_ext <<_ACEOF
27023 /* confdefs.h. */
27024 _ACEOF
27025 cat confdefs.h >>conftest.$ac_ext
27026 cat >>conftest.$ac_ext <<_ACEOF
27027 /* end confdefs.h. */
27028
27029 /* Override any GCC internal prototype to avoid an error.
27030 Use char because int might match the return type of a GCC
27031 builtin and then its argument prototype would still apply. */
27032 #ifdef __cplusplus
27033 extern "C"
27034 #endif
27035 char png_check_sig ();
27036 int
27037 main ()
27038 {
27039 return png_check_sig ();
27040 ;
27041 return 0;
27042 }
27043 _ACEOF
27044 rm -f conftest.$ac_objext conftest$ac_exeext
27045 if { (ac_try="$ac_link"
27046 case "(($ac_try" in
27047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27048 *) ac_try_echo=$ac_try;;
27049 esac
27050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27051 (eval "$ac_link") 2>conftest.er1
27052 ac_status=$?
27053 grep -v '^ *+' conftest.er1 >conftest.err
27054 rm -f conftest.er1
27055 cat conftest.err >&5
27056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27057 (exit $ac_status); } && {
27058 test -z "$ac_c_werror_flag" ||
27059 test ! -s conftest.err
27060 } && test -s conftest$ac_exeext &&
27061 $as_test_x conftest$ac_exeext; then
27062 ac_cv_lib_png_png_check_sig=yes
27063 else
27064 echo "$as_me: failed program was:" >&5
27065 sed 's/^/| /' conftest.$ac_ext >&5
27066
27067 ac_cv_lib_png_png_check_sig=no
27068 fi
27069
27070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27071 conftest$ac_exeext conftest.$ac_ext
27072 LIBS=$ac_check_lib_save_LIBS
27073 fi
27074 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27075 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
27076 if test $ac_cv_lib_png_png_check_sig = yes; then
27077 PNG_LINK=" -lpng -lz"
27078 fi
27079
27080 fi
27081
27082 if test "x$PNG_LINK" = "x" ; then
27083 if test "$wxUSE_LIBPNG" = "sys" ; then
27084 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27085 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27086 { (exit 1); exit 1; }; }
27087 else
27088 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27089 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27090 wxUSE_LIBPNG=builtin
27091 fi
27092 else
27093 wxUSE_LIBPNG=sys
27094 fi
27095 fi
27096 fi
27097 fi
27098
27099
27100 JPEG_LINK=
27101 if test "$wxUSE_LIBJPEG" != "no" ; then
27102 cat >>confdefs.h <<\_ACEOF
27103 #define wxUSE_LIBJPEG 1
27104 _ACEOF
27105
27106
27107 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27108 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27109 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27110 wxUSE_LIBJPEG=sys
27111 fi
27112
27113 if test "$wxUSE_MGL" != 1 ; then
27114 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27115 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27116 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27117 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27118 echo $ECHO_N "(cached) $ECHO_C" >&6
27119 else
27120 cat >conftest.$ac_ext <<_ACEOF
27121 /* confdefs.h. */
27122 _ACEOF
27123 cat confdefs.h >>conftest.$ac_ext
27124 cat >>conftest.$ac_ext <<_ACEOF
27125 /* end confdefs.h. */
27126
27127 #undef HAVE_STDLIB_H
27128 #include <stdio.h>
27129 #include <jpeglib.h>
27130
27131 int
27132 main ()
27133 {
27134
27135
27136 ;
27137 return 0;
27138 }
27139 _ACEOF
27140 rm -f conftest.$ac_objext
27141 if { (ac_try="$ac_compile"
27142 case "(($ac_try" in
27143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27144 *) ac_try_echo=$ac_try;;
27145 esac
27146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27147 (eval "$ac_compile") 2>conftest.er1
27148 ac_status=$?
27149 grep -v '^ *+' conftest.er1 >conftest.err
27150 rm -f conftest.er1
27151 cat conftest.err >&5
27152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27153 (exit $ac_status); } && {
27154 test -z "$ac_c_werror_flag" ||
27155 test ! -s conftest.err
27156 } && test -s conftest.$ac_objext; then
27157 ac_cv_header_jpeglib_h=yes
27158 else
27159 echo "$as_me: failed program was:" >&5
27160 sed 's/^/| /' conftest.$ac_ext >&5
27161
27162 ac_cv_header_jpeglib_h=no
27163
27164 fi
27165
27166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27167
27168 fi
27169
27170 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27171 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27172
27173 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27174 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27175 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27176 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27177 echo $ECHO_N "(cached) $ECHO_C" >&6
27178 else
27179 ac_check_lib_save_LIBS=$LIBS
27180 LIBS="-ljpeg $LIBS"
27181 cat >conftest.$ac_ext <<_ACEOF
27182 /* confdefs.h. */
27183 _ACEOF
27184 cat confdefs.h >>conftest.$ac_ext
27185 cat >>conftest.$ac_ext <<_ACEOF
27186 /* end confdefs.h. */
27187
27188 /* Override any GCC internal prototype to avoid an error.
27189 Use char because int might match the return type of a GCC
27190 builtin and then its argument prototype would still apply. */
27191 #ifdef __cplusplus
27192 extern "C"
27193 #endif
27194 char jpeg_read_header ();
27195 int
27196 main ()
27197 {
27198 return jpeg_read_header ();
27199 ;
27200 return 0;
27201 }
27202 _ACEOF
27203 rm -f conftest.$ac_objext conftest$ac_exeext
27204 if { (ac_try="$ac_link"
27205 case "(($ac_try" in
27206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27207 *) ac_try_echo=$ac_try;;
27208 esac
27209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27210 (eval "$ac_link") 2>conftest.er1
27211 ac_status=$?
27212 grep -v '^ *+' conftest.er1 >conftest.err
27213 rm -f conftest.er1
27214 cat conftest.err >&5
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); } && {
27217 test -z "$ac_c_werror_flag" ||
27218 test ! -s conftest.err
27219 } && test -s conftest$ac_exeext &&
27220 $as_test_x conftest$ac_exeext; then
27221 ac_cv_lib_jpeg_jpeg_read_header=yes
27222 else
27223 echo "$as_me: failed program was:" >&5
27224 sed 's/^/| /' conftest.$ac_ext >&5
27225
27226 ac_cv_lib_jpeg_jpeg_read_header=no
27227 fi
27228
27229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27230 conftest$ac_exeext conftest.$ac_ext
27231 LIBS=$ac_check_lib_save_LIBS
27232 fi
27233 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27234 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27235 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27236 JPEG_LINK=" -ljpeg"
27237 fi
27238
27239 fi
27240
27241 if test "x$JPEG_LINK" = "x" ; then
27242 if test "$wxUSE_LIBJPEG" = "sys" ; then
27243 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27244 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27245 { (exit 1); exit 1; }; }
27246 else
27247 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27248 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27249 wxUSE_LIBJPEG=builtin
27250 fi
27251 else
27252 wxUSE_LIBJPEG=sys
27253
27254 if test "$wxUSE_MSW" = 1; then
27255 { echo "$as_me:$LINENO: checking for boolean" >&5
27256 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27257 if test "${ac_cv_type_boolean+set}" = set; then
27258 echo $ECHO_N "(cached) $ECHO_C" >&6
27259 else
27260 cat >conftest.$ac_ext <<_ACEOF
27261 /* confdefs.h. */
27262 _ACEOF
27263 cat confdefs.h >>conftest.$ac_ext
27264 cat >>conftest.$ac_ext <<_ACEOF
27265 /* end confdefs.h. */
27266 #include <windows.h>
27267
27268 typedef boolean ac__type_new_;
27269 int
27270 main ()
27271 {
27272 if ((ac__type_new_ *) 0)
27273 return 0;
27274 if (sizeof (ac__type_new_))
27275 return 0;
27276 ;
27277 return 0;
27278 }
27279 _ACEOF
27280 rm -f conftest.$ac_objext
27281 if { (ac_try="$ac_compile"
27282 case "(($ac_try" in
27283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27284 *) ac_try_echo=$ac_try;;
27285 esac
27286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27287 (eval "$ac_compile") 2>conftest.er1
27288 ac_status=$?
27289 grep -v '^ *+' conftest.er1 >conftest.err
27290 rm -f conftest.er1
27291 cat conftest.err >&5
27292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27293 (exit $ac_status); } && {
27294 test -z "$ac_c_werror_flag" ||
27295 test ! -s conftest.err
27296 } && test -s conftest.$ac_objext; then
27297 ac_cv_type_boolean=yes
27298 else
27299 echo "$as_me: failed program was:" >&5
27300 sed 's/^/| /' conftest.$ac_ext >&5
27301
27302 ac_cv_type_boolean=no
27303 fi
27304
27305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27306 fi
27307 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27308 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27309 if test $ac_cv_type_boolean = yes; then
27310
27311 cat >>confdefs.h <<_ACEOF
27312 #define HAVE_BOOLEAN 1
27313 _ACEOF
27314
27315
27316 { echo "$as_me:$LINENO: checking for boolean" >&5
27317 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27318 if test "${ac_cv_type_boolean+set}" = set; then
27319 echo $ECHO_N "(cached) $ECHO_C" >&6
27320 else
27321 cat >conftest.$ac_ext <<_ACEOF
27322 /* confdefs.h. */
27323 _ACEOF
27324 cat confdefs.h >>conftest.$ac_ext
27325 cat >>conftest.$ac_ext <<_ACEOF
27326 /* end confdefs.h. */
27327
27328 #undef HAVE_BOOLEAN
27329 #include <stdio.h>
27330 #include <jpeglib.h>
27331
27332
27333 typedef boolean ac__type_new_;
27334 int
27335 main ()
27336 {
27337 if ((ac__type_new_ *) 0)
27338 return 0;
27339 if (sizeof (ac__type_new_))
27340 return 0;
27341 ;
27342 return 0;
27343 }
27344 _ACEOF
27345 rm -f conftest.$ac_objext
27346 if { (ac_try="$ac_compile"
27347 case "(($ac_try" in
27348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27349 *) ac_try_echo=$ac_try;;
27350 esac
27351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27352 (eval "$ac_compile") 2>conftest.er1
27353 ac_status=$?
27354 grep -v '^ *+' conftest.er1 >conftest.err
27355 rm -f conftest.er1
27356 cat conftest.err >&5
27357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27358 (exit $ac_status); } && {
27359 test -z "$ac_c_werror_flag" ||
27360 test ! -s conftest.err
27361 } && test -s conftest.$ac_objext; then
27362 ac_cv_type_boolean=yes
27363 else
27364 echo "$as_me: failed program was:" >&5
27365 sed 's/^/| /' conftest.$ac_ext >&5
27366
27367 ac_cv_type_boolean=no
27368 fi
27369
27370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27371 fi
27372 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27373 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27374
27375 # The cast to long int works around a bug in the HP C Compiler
27376 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27377 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27378 # This bug is HP SR number 8606223364.
27379 { echo "$as_me:$LINENO: checking size of boolean" >&5
27380 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27381 if test "${ac_cv_sizeof_boolean+set}" = set; then
27382 echo $ECHO_N "(cached) $ECHO_C" >&6
27383 else
27384 if test "$cross_compiling" = yes; then
27385 # Depending upon the size, compute the lo and hi bounds.
27386 cat >conftest.$ac_ext <<_ACEOF
27387 /* confdefs.h. */
27388 _ACEOF
27389 cat confdefs.h >>conftest.$ac_ext
27390 cat >>conftest.$ac_ext <<_ACEOF
27391 /* end confdefs.h. */
27392
27393 #undef HAVE_BOOLEAN
27394 #include <stdio.h>
27395 #include <jpeglib.h>
27396
27397
27398 typedef boolean ac__type_sizeof_;
27399 int
27400 main ()
27401 {
27402 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27403 test_array [0] = 0
27404
27405 ;
27406 return 0;
27407 }
27408 _ACEOF
27409 rm -f conftest.$ac_objext
27410 if { (ac_try="$ac_compile"
27411 case "(($ac_try" in
27412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27413 *) ac_try_echo=$ac_try;;
27414 esac
27415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27416 (eval "$ac_compile") 2>conftest.er1
27417 ac_status=$?
27418 grep -v '^ *+' conftest.er1 >conftest.err
27419 rm -f conftest.er1
27420 cat conftest.err >&5
27421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27422 (exit $ac_status); } && {
27423 test -z "$ac_c_werror_flag" ||
27424 test ! -s conftest.err
27425 } && test -s conftest.$ac_objext; then
27426 ac_lo=0 ac_mid=0
27427 while :; do
27428 cat >conftest.$ac_ext <<_ACEOF
27429 /* confdefs.h. */
27430 _ACEOF
27431 cat confdefs.h >>conftest.$ac_ext
27432 cat >>conftest.$ac_ext <<_ACEOF
27433 /* end confdefs.h. */
27434
27435 #undef HAVE_BOOLEAN
27436 #include <stdio.h>
27437 #include <jpeglib.h>
27438
27439
27440 typedef boolean ac__type_sizeof_;
27441 int
27442 main ()
27443 {
27444 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27445 test_array [0] = 0
27446
27447 ;
27448 return 0;
27449 }
27450 _ACEOF
27451 rm -f conftest.$ac_objext
27452 if { (ac_try="$ac_compile"
27453 case "(($ac_try" in
27454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27455 *) ac_try_echo=$ac_try;;
27456 esac
27457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27458 (eval "$ac_compile") 2>conftest.er1
27459 ac_status=$?
27460 grep -v '^ *+' conftest.er1 >conftest.err
27461 rm -f conftest.er1
27462 cat conftest.err >&5
27463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464 (exit $ac_status); } && {
27465 test -z "$ac_c_werror_flag" ||
27466 test ! -s conftest.err
27467 } && test -s conftest.$ac_objext; then
27468 ac_hi=$ac_mid; break
27469 else
27470 echo "$as_me: failed program was:" >&5
27471 sed 's/^/| /' conftest.$ac_ext >&5
27472
27473 ac_lo=`expr $ac_mid + 1`
27474 if test $ac_lo -le $ac_mid; then
27475 ac_lo= ac_hi=
27476 break
27477 fi
27478 ac_mid=`expr 2 '*' $ac_mid + 1`
27479 fi
27480
27481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27482 done
27483 else
27484 echo "$as_me: failed program was:" >&5
27485 sed 's/^/| /' conftest.$ac_ext >&5
27486
27487 cat >conftest.$ac_ext <<_ACEOF
27488 /* confdefs.h. */
27489 _ACEOF
27490 cat confdefs.h >>conftest.$ac_ext
27491 cat >>conftest.$ac_ext <<_ACEOF
27492 /* end confdefs.h. */
27493
27494 #undef HAVE_BOOLEAN
27495 #include <stdio.h>
27496 #include <jpeglib.h>
27497
27498
27499 typedef boolean ac__type_sizeof_;
27500 int
27501 main ()
27502 {
27503 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27504 test_array [0] = 0
27505
27506 ;
27507 return 0;
27508 }
27509 _ACEOF
27510 rm -f conftest.$ac_objext
27511 if { (ac_try="$ac_compile"
27512 case "(($ac_try" in
27513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27514 *) ac_try_echo=$ac_try;;
27515 esac
27516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27517 (eval "$ac_compile") 2>conftest.er1
27518 ac_status=$?
27519 grep -v '^ *+' conftest.er1 >conftest.err
27520 rm -f conftest.er1
27521 cat conftest.err >&5
27522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27523 (exit $ac_status); } && {
27524 test -z "$ac_c_werror_flag" ||
27525 test ! -s conftest.err
27526 } && test -s conftest.$ac_objext; then
27527 ac_hi=-1 ac_mid=-1
27528 while :; do
27529 cat >conftest.$ac_ext <<_ACEOF
27530 /* confdefs.h. */
27531 _ACEOF
27532 cat confdefs.h >>conftest.$ac_ext
27533 cat >>conftest.$ac_ext <<_ACEOF
27534 /* end confdefs.h. */
27535
27536 #undef HAVE_BOOLEAN
27537 #include <stdio.h>
27538 #include <jpeglib.h>
27539
27540
27541 typedef boolean ac__type_sizeof_;
27542 int
27543 main ()
27544 {
27545 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27546 test_array [0] = 0
27547
27548 ;
27549 return 0;
27550 }
27551 _ACEOF
27552 rm -f conftest.$ac_objext
27553 if { (ac_try="$ac_compile"
27554 case "(($ac_try" in
27555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27556 *) ac_try_echo=$ac_try;;
27557 esac
27558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27559 (eval "$ac_compile") 2>conftest.er1
27560 ac_status=$?
27561 grep -v '^ *+' conftest.er1 >conftest.err
27562 rm -f conftest.er1
27563 cat conftest.err >&5
27564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27565 (exit $ac_status); } && {
27566 test -z "$ac_c_werror_flag" ||
27567 test ! -s conftest.err
27568 } && test -s conftest.$ac_objext; then
27569 ac_lo=$ac_mid; break
27570 else
27571 echo "$as_me: failed program was:" >&5
27572 sed 's/^/| /' conftest.$ac_ext >&5
27573
27574 ac_hi=`expr '(' $ac_mid ')' - 1`
27575 if test $ac_mid -le $ac_hi; then
27576 ac_lo= ac_hi=
27577 break
27578 fi
27579 ac_mid=`expr 2 '*' $ac_mid`
27580 fi
27581
27582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27583 done
27584 else
27585 echo "$as_me: failed program was:" >&5
27586 sed 's/^/| /' conftest.$ac_ext >&5
27587
27588 ac_lo= ac_hi=
27589 fi
27590
27591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27592 fi
27593
27594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27595 # Binary search between lo and hi bounds.
27596 while test "x$ac_lo" != "x$ac_hi"; do
27597 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27598 cat >conftest.$ac_ext <<_ACEOF
27599 /* confdefs.h. */
27600 _ACEOF
27601 cat confdefs.h >>conftest.$ac_ext
27602 cat >>conftest.$ac_ext <<_ACEOF
27603 /* end confdefs.h. */
27604
27605 #undef HAVE_BOOLEAN
27606 #include <stdio.h>
27607 #include <jpeglib.h>
27608
27609
27610 typedef boolean ac__type_sizeof_;
27611 int
27612 main ()
27613 {
27614 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27615 test_array [0] = 0
27616
27617 ;
27618 return 0;
27619 }
27620 _ACEOF
27621 rm -f conftest.$ac_objext
27622 if { (ac_try="$ac_compile"
27623 case "(($ac_try" in
27624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27625 *) ac_try_echo=$ac_try;;
27626 esac
27627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27628 (eval "$ac_compile") 2>conftest.er1
27629 ac_status=$?
27630 grep -v '^ *+' conftest.er1 >conftest.err
27631 rm -f conftest.er1
27632 cat conftest.err >&5
27633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27634 (exit $ac_status); } && {
27635 test -z "$ac_c_werror_flag" ||
27636 test ! -s conftest.err
27637 } && test -s conftest.$ac_objext; then
27638 ac_hi=$ac_mid
27639 else
27640 echo "$as_me: failed program was:" >&5
27641 sed 's/^/| /' conftest.$ac_ext >&5
27642
27643 ac_lo=`expr '(' $ac_mid ')' + 1`
27644 fi
27645
27646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27647 done
27648 case $ac_lo in
27649 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27650 '') if test "$ac_cv_type_boolean" = yes; then
27651 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27652 See \`config.log' for more details." >&5
27653 echo "$as_me: error: cannot compute sizeof (boolean)
27654 See \`config.log' for more details." >&2;}
27655 { (exit 77); exit 77; }; }
27656 else
27657 ac_cv_sizeof_boolean=0
27658 fi ;;
27659 esac
27660 else
27661 cat >conftest.$ac_ext <<_ACEOF
27662 /* confdefs.h. */
27663 _ACEOF
27664 cat confdefs.h >>conftest.$ac_ext
27665 cat >>conftest.$ac_ext <<_ACEOF
27666 /* end confdefs.h. */
27667
27668 #undef HAVE_BOOLEAN
27669 #include <stdio.h>
27670 #include <jpeglib.h>
27671
27672
27673 typedef boolean ac__type_sizeof_;
27674 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27675 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27676 #include <stdio.h>
27677 #include <stdlib.h>
27678 int
27679 main ()
27680 {
27681
27682 FILE *f = fopen ("conftest.val", "w");
27683 if (! f)
27684 return 1;
27685 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27686 {
27687 long int i = longval ();
27688 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27689 return 1;
27690 fprintf (f, "%ld\n", i);
27691 }
27692 else
27693 {
27694 unsigned long int i = ulongval ();
27695 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27696 return 1;
27697 fprintf (f, "%lu\n", i);
27698 }
27699 return ferror (f) || fclose (f) != 0;
27700
27701 ;
27702 return 0;
27703 }
27704 _ACEOF
27705 rm -f conftest$ac_exeext
27706 if { (ac_try="$ac_link"
27707 case "(($ac_try" in
27708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27709 *) ac_try_echo=$ac_try;;
27710 esac
27711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27712 (eval "$ac_link") 2>&5
27713 ac_status=$?
27714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27715 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27716 { (case "(($ac_try" in
27717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27718 *) ac_try_echo=$ac_try;;
27719 esac
27720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27721 (eval "$ac_try") 2>&5
27722 ac_status=$?
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); }; }; then
27725 ac_cv_sizeof_boolean=`cat conftest.val`
27726 else
27727 echo "$as_me: program exited with status $ac_status" >&5
27728 echo "$as_me: failed program was:" >&5
27729 sed 's/^/| /' conftest.$ac_ext >&5
27730
27731 ( exit $ac_status )
27732 if test "$ac_cv_type_boolean" = yes; then
27733 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27734 See \`config.log' for more details." >&5
27735 echo "$as_me: error: cannot compute sizeof (boolean)
27736 See \`config.log' for more details." >&2;}
27737 { (exit 77); exit 77; }; }
27738 else
27739 ac_cv_sizeof_boolean=0
27740 fi
27741 fi
27742 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27743 fi
27744 rm -f conftest.val
27745 fi
27746 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27747 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27748
27749
27750
27751 cat >>confdefs.h <<_ACEOF
27752 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27753 _ACEOF
27754
27755
27756 cat >>confdefs.h <<_ACEOF
27757 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27758 _ACEOF
27759
27760
27761 fi
27762
27763 fi
27764 fi
27765 fi
27766 fi
27767 fi
27768
27769
27770 TIFF_LINK=
27771 TIFF_PREREQ_LINKS=-lm
27772 if test "$wxUSE_LIBTIFF" != "no" ; then
27773 cat >>confdefs.h <<\_ACEOF
27774 #define wxUSE_LIBTIFF 1
27775 _ACEOF
27776
27777
27778 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27779 if test "$wxUSE_LIBJPEG" = "sys"; then
27780 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27781 fi
27782 if test "$wxUSE_ZLIB" = "sys"; then
27783 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27784 fi
27785 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27786 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27787 if test "${ac_cv_header_tiffio_h+set}" = set; then
27788 echo $ECHO_N "(cached) $ECHO_C" >&6
27789 else
27790 cat >conftest.$ac_ext <<_ACEOF
27791 /* confdefs.h. */
27792 _ACEOF
27793 cat confdefs.h >>conftest.$ac_ext
27794 cat >>conftest.$ac_ext <<_ACEOF
27795 /* end confdefs.h. */
27796
27797
27798
27799 #include <tiffio.h>
27800 _ACEOF
27801 rm -f conftest.$ac_objext
27802 if { (ac_try="$ac_compile"
27803 case "(($ac_try" in
27804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27805 *) ac_try_echo=$ac_try;;
27806 esac
27807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27808 (eval "$ac_compile") 2>conftest.er1
27809 ac_status=$?
27810 grep -v '^ *+' conftest.er1 >conftest.err
27811 rm -f conftest.er1
27812 cat conftest.err >&5
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); } && {
27815 test -z "$ac_c_werror_flag" ||
27816 test ! -s conftest.err
27817 } && test -s conftest.$ac_objext; then
27818 ac_cv_header_tiffio_h=yes
27819 else
27820 echo "$as_me: failed program was:" >&5
27821 sed 's/^/| /' conftest.$ac_ext >&5
27822
27823 ac_cv_header_tiffio_h=no
27824 fi
27825
27826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27827 fi
27828 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27829 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27830 if test $ac_cv_header_tiffio_h = yes; then
27831
27832 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27833 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27834 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27835 echo $ECHO_N "(cached) $ECHO_C" >&6
27836 else
27837 ac_check_lib_save_LIBS=$LIBS
27838 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27839 cat >conftest.$ac_ext <<_ACEOF
27840 /* confdefs.h. */
27841 _ACEOF
27842 cat confdefs.h >>conftest.$ac_ext
27843 cat >>conftest.$ac_ext <<_ACEOF
27844 /* end confdefs.h. */
27845
27846 /* Override any GCC internal prototype to avoid an error.
27847 Use char because int might match the return type of a GCC
27848 builtin and then its argument prototype would still apply. */
27849 #ifdef __cplusplus
27850 extern "C"
27851 #endif
27852 char TIFFError ();
27853 int
27854 main ()
27855 {
27856 return TIFFError ();
27857 ;
27858 return 0;
27859 }
27860 _ACEOF
27861 rm -f conftest.$ac_objext conftest$ac_exeext
27862 if { (ac_try="$ac_link"
27863 case "(($ac_try" in
27864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27865 *) ac_try_echo=$ac_try;;
27866 esac
27867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27868 (eval "$ac_link") 2>conftest.er1
27869 ac_status=$?
27870 grep -v '^ *+' conftest.er1 >conftest.err
27871 rm -f conftest.er1
27872 cat conftest.err >&5
27873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27874 (exit $ac_status); } && {
27875 test -z "$ac_c_werror_flag" ||
27876 test ! -s conftest.err
27877 } && test -s conftest$ac_exeext &&
27878 $as_test_x conftest$ac_exeext; then
27879 ac_cv_lib_tiff_TIFFError=yes
27880 else
27881 echo "$as_me: failed program was:" >&5
27882 sed 's/^/| /' conftest.$ac_ext >&5
27883
27884 ac_cv_lib_tiff_TIFFError=no
27885 fi
27886
27887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27888 conftest$ac_exeext conftest.$ac_ext
27889 LIBS=$ac_check_lib_save_LIBS
27890 fi
27891 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27892 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27893 if test $ac_cv_lib_tiff_TIFFError = yes; then
27894 TIFF_LINK=" -ltiff"
27895 fi
27896
27897
27898 fi
27899
27900
27901
27902 if test "x$TIFF_LINK" = "x" ; then
27903 if test "$wxUSE_LIBTIFF" = "sys" ; then
27904 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27905 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27906 { (exit 1); exit 1; }; }
27907 else
27908 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27909 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27910 wxUSE_LIBTIFF=builtin
27911 fi
27912 else
27913 wxUSE_LIBTIFF=sys
27914 fi
27915 fi
27916 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27917 if test "$wxUSE_LIBJPEG" = "no"; then
27918 ac_configure_args="$ac_configure_args --disable-jpeg"
27919 fi
27920 subdirs="$subdirs src/tiff"
27921
27922 fi
27923 fi
27924
27925
27926 if test "$wxUSE_WCHAR_T" != "yes"; then
27927 if test "$wxUSE_EXPAT" != "no"; then
27928 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27929 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27930 wxUSE_EXPAT=no
27931 fi
27932 if test "$wxUSE_XML" != "no"; then
27933 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27934 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27935 wxUSE_XML=no
27936 fi
27937 fi
27938
27939 if test "$wxUSE_EXPAT" != "no"; then
27940 wxUSE_XML=yes
27941 cat >>confdefs.h <<\_ACEOF
27942 #define wxUSE_EXPAT 1
27943 _ACEOF
27944
27945 cat >>confdefs.h <<\_ACEOF
27946 #define wxUSE_XML 1
27947 _ACEOF
27948
27949
27950 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27951 { echo "$as_me:$LINENO: checking for expat.h" >&5
27952 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27953 if test "${ac_cv_header_expat_h+set}" = set; then
27954 echo $ECHO_N "(cached) $ECHO_C" >&6
27955 else
27956 cat >conftest.$ac_ext <<_ACEOF
27957 /* confdefs.h. */
27958 _ACEOF
27959 cat confdefs.h >>conftest.$ac_ext
27960 cat >>conftest.$ac_ext <<_ACEOF
27961 /* end confdefs.h. */
27962
27963
27964 #include <expat.h>
27965 _ACEOF
27966 rm -f conftest.$ac_objext
27967 if { (ac_try="$ac_compile"
27968 case "(($ac_try" in
27969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27970 *) ac_try_echo=$ac_try;;
27971 esac
27972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27973 (eval "$ac_compile") 2>conftest.er1
27974 ac_status=$?
27975 grep -v '^ *+' conftest.er1 >conftest.err
27976 rm -f conftest.er1
27977 cat conftest.err >&5
27978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27979 (exit $ac_status); } && {
27980 test -z "$ac_c_werror_flag" ||
27981 test ! -s conftest.err
27982 } && test -s conftest.$ac_objext; then
27983 ac_cv_header_expat_h=yes
27984 else
27985 echo "$as_me: failed program was:" >&5
27986 sed 's/^/| /' conftest.$ac_ext >&5
27987
27988 ac_cv_header_expat_h=no
27989 fi
27990
27991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27992 fi
27993 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27994 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27995 if test $ac_cv_header_expat_h = yes; then
27996 found_expat_h=1
27997 fi
27998
27999
28000 if test "x$found_expat_h" = "x1"; then
28001 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28002 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28003 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28004 echo $ECHO_N "(cached) $ECHO_C" >&6
28005 else
28006
28007 ac_ext=cpp
28008 ac_cpp='$CXXCPP $CPPFLAGS'
28009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28012
28013 cat >conftest.$ac_ext <<_ACEOF
28014 /* confdefs.h. */
28015 _ACEOF
28016 cat confdefs.h >>conftest.$ac_ext
28017 cat >>conftest.$ac_ext <<_ACEOF
28018 /* end confdefs.h. */
28019 #include <expat.h>
28020 int
28021 main ()
28022 {
28023
28024 ;
28025 return 0;
28026 }
28027 _ACEOF
28028 rm -f conftest.$ac_objext
28029 if { (ac_try="$ac_compile"
28030 case "(($ac_try" in
28031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28032 *) ac_try_echo=$ac_try;;
28033 esac
28034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28035 (eval "$ac_compile") 2>conftest.er1
28036 ac_status=$?
28037 grep -v '^ *+' conftest.er1 >conftest.err
28038 rm -f conftest.er1
28039 cat conftest.err >&5
28040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28041 (exit $ac_status); } && {
28042 test -z "$ac_cxx_werror_flag" ||
28043 test ! -s conftest.err
28044 } && test -s conftest.$ac_objext; then
28045 wx_cv_expat_is_not_broken=yes
28046 else
28047 echo "$as_me: failed program was:" >&5
28048 sed 's/^/| /' conftest.$ac_ext >&5
28049
28050 wx_cv_expat_is_not_broken=no
28051
28052 fi
28053
28054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28055 ac_ext=c
28056 ac_cpp='$CPP $CPPFLAGS'
28057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28060
28061
28062
28063 fi
28064 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28065 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28066 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28067 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28068 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28069 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28070 echo $ECHO_N "(cached) $ECHO_C" >&6
28071 else
28072 ac_check_lib_save_LIBS=$LIBS
28073 LIBS="-lexpat $LIBS"
28074 cat >conftest.$ac_ext <<_ACEOF
28075 /* confdefs.h. */
28076 _ACEOF
28077 cat confdefs.h >>conftest.$ac_ext
28078 cat >>conftest.$ac_ext <<_ACEOF
28079 /* end confdefs.h. */
28080
28081 /* Override any GCC internal prototype to avoid an error.
28082 Use char because int might match the return type of a GCC
28083 builtin and then its argument prototype would still apply. */
28084 #ifdef __cplusplus
28085 extern "C"
28086 #endif
28087 char XML_ParserCreate ();
28088 int
28089 main ()
28090 {
28091 return XML_ParserCreate ();
28092 ;
28093 return 0;
28094 }
28095 _ACEOF
28096 rm -f conftest.$ac_objext conftest$ac_exeext
28097 if { (ac_try="$ac_link"
28098 case "(($ac_try" in
28099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28100 *) ac_try_echo=$ac_try;;
28101 esac
28102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28103 (eval "$ac_link") 2>conftest.er1
28104 ac_status=$?
28105 grep -v '^ *+' conftest.er1 >conftest.err
28106 rm -f conftest.er1
28107 cat conftest.err >&5
28108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28109 (exit $ac_status); } && {
28110 test -z "$ac_c_werror_flag" ||
28111 test ! -s conftest.err
28112 } && test -s conftest$ac_exeext &&
28113 $as_test_x conftest$ac_exeext; then
28114 ac_cv_lib_expat_XML_ParserCreate=yes
28115 else
28116 echo "$as_me: failed program was:" >&5
28117 sed 's/^/| /' conftest.$ac_ext >&5
28118
28119 ac_cv_lib_expat_XML_ParserCreate=no
28120 fi
28121
28122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28123 conftest$ac_exeext conftest.$ac_ext
28124 LIBS=$ac_check_lib_save_LIBS
28125 fi
28126 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28127 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28128 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28129 EXPAT_LINK=" -lexpat"
28130 fi
28131
28132 fi
28133 fi
28134 if test "x$EXPAT_LINK" = "x" ; then
28135 if test "$wxUSE_EXPAT" = "sys" ; then
28136 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28137 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28138 { (exit 1); exit 1; }; }
28139 else
28140 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28141 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28142 wxUSE_EXPAT=builtin
28143 fi
28144 else
28145 wxUSE_EXPAT=sys
28146 fi
28147 fi
28148 if test "$wxUSE_EXPAT" = "builtin" ; then
28149 subdirs="$subdirs src/expat"
28150
28151 fi
28152 fi
28153
28154
28155
28156 if test "$wxUSE_LIBMSPACK" != "no"; then
28157 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28158 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28159 if test "${ac_cv_header_mspack_h+set}" = set; then
28160 echo $ECHO_N "(cached) $ECHO_C" >&6
28161 else
28162 cat >conftest.$ac_ext <<_ACEOF
28163 /* confdefs.h. */
28164 _ACEOF
28165 cat confdefs.h >>conftest.$ac_ext
28166 cat >>conftest.$ac_ext <<_ACEOF
28167 /* end confdefs.h. */
28168
28169
28170 #include <mspack.h>
28171 _ACEOF
28172 rm -f conftest.$ac_objext
28173 if { (ac_try="$ac_compile"
28174 case "(($ac_try" in
28175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28176 *) ac_try_echo=$ac_try;;
28177 esac
28178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28179 (eval "$ac_compile") 2>conftest.er1
28180 ac_status=$?
28181 grep -v '^ *+' conftest.er1 >conftest.err
28182 rm -f conftest.er1
28183 cat conftest.err >&5
28184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28185 (exit $ac_status); } && {
28186 test -z "$ac_c_werror_flag" ||
28187 test ! -s conftest.err
28188 } && test -s conftest.$ac_objext; then
28189 ac_cv_header_mspack_h=yes
28190 else
28191 echo "$as_me: failed program was:" >&5
28192 sed 's/^/| /' conftest.$ac_ext >&5
28193
28194 ac_cv_header_mspack_h=no
28195 fi
28196
28197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28198 fi
28199 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28200 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28201 if test $ac_cv_header_mspack_h = yes; then
28202 found_mspack_h=1
28203 fi
28204
28205
28206 if test "x$found_mspack_h" = "x1"; then
28207 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28208 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28209 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28210 echo $ECHO_N "(cached) $ECHO_C" >&6
28211 else
28212 ac_check_lib_save_LIBS=$LIBS
28213 LIBS="-lmspack $LIBS"
28214 cat >conftest.$ac_ext <<_ACEOF
28215 /* confdefs.h. */
28216 _ACEOF
28217 cat confdefs.h >>conftest.$ac_ext
28218 cat >>conftest.$ac_ext <<_ACEOF
28219 /* end confdefs.h. */
28220
28221 /* Override any GCC internal prototype to avoid an error.
28222 Use char because int might match the return type of a GCC
28223 builtin and then its argument prototype would still apply. */
28224 #ifdef __cplusplus
28225 extern "C"
28226 #endif
28227 char mspack_create_chm_decompressor ();
28228 int
28229 main ()
28230 {
28231 return mspack_create_chm_decompressor ();
28232 ;
28233 return 0;
28234 }
28235 _ACEOF
28236 rm -f conftest.$ac_objext conftest$ac_exeext
28237 if { (ac_try="$ac_link"
28238 case "(($ac_try" in
28239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28240 *) ac_try_echo=$ac_try;;
28241 esac
28242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28243 (eval "$ac_link") 2>conftest.er1
28244 ac_status=$?
28245 grep -v '^ *+' conftest.er1 >conftest.err
28246 rm -f conftest.er1
28247 cat conftest.err >&5
28248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28249 (exit $ac_status); } && {
28250 test -z "$ac_c_werror_flag" ||
28251 test ! -s conftest.err
28252 } && test -s conftest$ac_exeext &&
28253 $as_test_x conftest$ac_exeext; then
28254 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28255 else
28256 echo "$as_me: failed program was:" >&5
28257 sed 's/^/| /' conftest.$ac_ext >&5
28258
28259 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28260 fi
28261
28262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28263 conftest$ac_exeext conftest.$ac_ext
28264 LIBS=$ac_check_lib_save_LIBS
28265 fi
28266 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28267 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28268 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28269 MSPACK_LINK=" -lmspack"
28270 fi
28271
28272 fi
28273 if test "x$MSPACK_LINK" = "x" ; then
28274 wxUSE_LIBMSPACK=no
28275 fi
28276 fi
28277
28278 if test "$wxUSE_LIBMSPACK" != "no"; then
28279 cat >>confdefs.h <<\_ACEOF
28280 #define wxUSE_LIBMSPACK 1
28281 _ACEOF
28282
28283 fi
28284
28285
28286
28287 AFMINSTALL=
28288 WIN32INSTALL=
28289
28290 TOOLKIT=
28291 TOOLKIT_INCLUDE=
28292 WIDGET_SET=
28293
28294 if test "$USE_WIN32" = 1 ; then
28295
28296 for ac_header in w32api.h
28297 do
28298 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28299 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28301 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28302 echo $ECHO_N "(cached) $ECHO_C" >&6
28303 else
28304 cat >conftest.$ac_ext <<_ACEOF
28305 /* confdefs.h. */
28306 _ACEOF
28307 cat confdefs.h >>conftest.$ac_ext
28308 cat >>conftest.$ac_ext <<_ACEOF
28309 /* end confdefs.h. */
28310
28311
28312 #include <$ac_header>
28313 _ACEOF
28314 rm -f conftest.$ac_objext
28315 if { (ac_try="$ac_compile"
28316 case "(($ac_try" in
28317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28318 *) ac_try_echo=$ac_try;;
28319 esac
28320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28321 (eval "$ac_compile") 2>conftest.er1
28322 ac_status=$?
28323 grep -v '^ *+' conftest.er1 >conftest.err
28324 rm -f conftest.er1
28325 cat conftest.err >&5
28326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28327 (exit $ac_status); } && {
28328 test -z "$ac_c_werror_flag" ||
28329 test ! -s conftest.err
28330 } && test -s conftest.$ac_objext; then
28331 eval "$as_ac_Header=yes"
28332 else
28333 echo "$as_me: failed program was:" >&5
28334 sed 's/^/| /' conftest.$ac_ext >&5
28335
28336 eval "$as_ac_Header=no"
28337 fi
28338
28339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28340 fi
28341 ac_res=`eval echo '${'$as_ac_Header'}'`
28342 { echo "$as_me:$LINENO: result: $ac_res" >&5
28343 echo "${ECHO_T}$ac_res" >&6; }
28344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28345 cat >>confdefs.h <<_ACEOF
28346 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28347 _ACEOF
28348
28349 fi
28350
28351 done
28352
28353 { echo "$as_me:$LINENO: checking for windows.h" >&5
28354 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28355 if test "${ac_cv_header_windows_h+set}" = set; then
28356 echo $ECHO_N "(cached) $ECHO_C" >&6
28357 else
28358 cat >conftest.$ac_ext <<_ACEOF
28359 /* confdefs.h. */
28360 _ACEOF
28361 cat confdefs.h >>conftest.$ac_ext
28362 cat >>conftest.$ac_ext <<_ACEOF
28363 /* end confdefs.h. */
28364
28365
28366 #include <windows.h>
28367 _ACEOF
28368 rm -f conftest.$ac_objext
28369 if { (ac_try="$ac_compile"
28370 case "(($ac_try" in
28371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28372 *) ac_try_echo=$ac_try;;
28373 esac
28374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28375 (eval "$ac_compile") 2>conftest.er1
28376 ac_status=$?
28377 grep -v '^ *+' conftest.er1 >conftest.err
28378 rm -f conftest.er1
28379 cat conftest.err >&5
28380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28381 (exit $ac_status); } && {
28382 test -z "$ac_c_werror_flag" ||
28383 test ! -s conftest.err
28384 } && test -s conftest.$ac_objext; then
28385 ac_cv_header_windows_h=yes
28386 else
28387 echo "$as_me: failed program was:" >&5
28388 sed 's/^/| /' conftest.$ac_ext >&5
28389
28390 ac_cv_header_windows_h=no
28391 fi
28392
28393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28394 fi
28395 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28396 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28397 if test $ac_cv_header_windows_h = yes; then
28398 :
28399 else
28400
28401 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28402 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28403 { (exit 1); exit 1; }; }
28404
28405 fi
28406
28407
28408
28409 case "${host}" in
28410 x86_64-*-mingw32* )
28411 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28412
28413 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
28414 ;;
28415 * )
28416 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28417 ;;
28418 esac
28419 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28420 LIBS="$LIBS -loleacc"
28421 fi
28422
28423 case "${host}" in
28424 *-*-cygwin* )
28425 LIBS="$LIBS -lkernel32 -luser32"
28426 esac
28427
28428 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28429 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28430
28431 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28432
28433 WIN32INSTALL=win32install
28434
28435 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28436 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28437 if test "${ac_cv_header_pbt_h+set}" = set; then
28438 echo $ECHO_N "(cached) $ECHO_C" >&6
28439 else
28440 cat >conftest.$ac_ext <<_ACEOF
28441 /* confdefs.h. */
28442 _ACEOF
28443 cat confdefs.h >>conftest.$ac_ext
28444 cat >>conftest.$ac_ext <<_ACEOF
28445 /* end confdefs.h. */
28446
28447
28448 #include <pbt.h>
28449 _ACEOF
28450 rm -f conftest.$ac_objext
28451 if { (ac_try="$ac_compile"
28452 case "(($ac_try" in
28453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28454 *) ac_try_echo=$ac_try;;
28455 esac
28456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28457 (eval "$ac_compile") 2>conftest.er1
28458 ac_status=$?
28459 grep -v '^ *+' conftest.er1 >conftest.err
28460 rm -f conftest.er1
28461 cat conftest.err >&5
28462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463 (exit $ac_status); } && {
28464 test -z "$ac_c_werror_flag" ||
28465 test ! -s conftest.err
28466 } && test -s conftest.$ac_objext; then
28467 ac_cv_header_pbt_h=yes
28468 else
28469 echo "$as_me: failed program was:" >&5
28470 sed 's/^/| /' conftest.$ac_ext >&5
28471
28472 ac_cv_header_pbt_h=no
28473 fi
28474
28475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28476 fi
28477 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28478 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28479 if test $ac_cv_header_pbt_h = yes; then
28480 :
28481 else
28482 cat >>confdefs.h <<\_ACEOF
28483 #define NEED_PBT_H 1
28484 _ACEOF
28485
28486 fi
28487
28488
28489 fi
28490
28491 if test "$wxUSE_GUI" = "yes"; then
28492 USE_GUI=1
28493
28494 GUI_TK_LIBRARY=
28495
28496 WXGTK12=
28497 WXGTK127=
28498 WXGTK2=
28499 WXGPE=
28500
28501 if test "$wxUSE_COCOA" = 1 ; then
28502 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28503 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28504 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28505 wxUSE_PRINTING_ARCHITECTURE=no
28506 fi
28507 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28508 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28509 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28510 wxUSE_DRAG_AND_DROP=no
28511 fi
28512 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28513 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28514 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28515 wxUSE_DRAGIMAGE=no
28516 fi
28517 fi
28518
28519 if test "$wxUSE_MSW" = 1 ; then
28520 TOOLKIT=MSW
28521 GUIDIST=MSW_DIST
28522
28523 case "${host}" in
28524 *-*-mingw32* )
28525 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28526 esac
28527 fi
28528
28529 if test "$wxUSE_GTK" = 1; then
28530 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28531 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28532
28533 gtk_version_cached=1
28534 if test "${wx_cv_lib_gtk+set}" = set; then
28535 echo $ECHO_N "(cached) $ECHO_C" >&6
28536 else
28537
28538 gtk_version_cached=0
28539 { echo "$as_me:$LINENO: result: " >&5
28540 echo "${ECHO_T}" >&6; }
28541
28542 GTK_MODULES=
28543 if test "$wxUSE_THREADS" = "yes"; then
28544 GTK_MODULES=gthread
28545 fi
28546
28547 wx_cv_lib_gtk=
28548 if test "x$wxGTK_VERSION" != "x1"
28549 then
28550 case "${host}" in
28551 *-*-solaris2* )
28552 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28553 enable_gtktest=no
28554 fi
28555 esac
28556
28557 # Check whether --enable-gtktest was given.
28558 if test "${enable_gtktest+set}" = set; then
28559 enableval=$enable_gtktest;
28560 else
28561 enable_gtktest=yes
28562 fi
28563
28564
28565 pkg_config_args=gtk+-2.0
28566 for module in . $GTK_MODULES
28567 do
28568 case "$module" in
28569 gthread)
28570 pkg_config_args="$pkg_config_args gthread-2.0"
28571 ;;
28572 esac
28573 done
28574
28575 no_gtk=""
28576
28577 # Extract the first word of "pkg-config", so it can be a program name with args.
28578 set dummy pkg-config; ac_word=$2
28579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28581 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28582 echo $ECHO_N "(cached) $ECHO_C" >&6
28583 else
28584 case $PKG_CONFIG in
28585 [\\/]* | ?:[\\/]*)
28586 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28587 ;;
28588 *)
28589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28590 for as_dir in $PATH
28591 do
28592 IFS=$as_save_IFS
28593 test -z "$as_dir" && as_dir=.
28594 for ac_exec_ext in '' $ac_executable_extensions; do
28595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28596 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28598 break 2
28599 fi
28600 done
28601 done
28602 IFS=$as_save_IFS
28603
28604 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28605 ;;
28606 esac
28607 fi
28608 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28609 if test -n "$PKG_CONFIG"; then
28610 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28611 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28612 else
28613 { echo "$as_me:$LINENO: result: no" >&5
28614 echo "${ECHO_T}no" >&6; }
28615 fi
28616
28617
28618
28619 if test x$PKG_CONFIG != xno ; then
28620 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28621 :
28622 else
28623 echo "*** pkg-config too old; version 0.7 or better required."
28624 no_gtk=yes
28625 PKG_CONFIG=no
28626 fi
28627 else
28628 no_gtk=yes
28629 fi
28630
28631 min_gtk_version=2.4.0
28632 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28633 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28634
28635 if test x$PKG_CONFIG != xno ; then
28636 ## don't try to run the test against uninstalled libtool libs
28637 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28638 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28639 enable_gtktest=no
28640 fi
28641
28642 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28643 :
28644 else
28645 no_gtk=yes
28646 fi
28647 fi
28648
28649 if test x"$no_gtk" = x ; then
28650 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28651 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28652 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28653 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28654 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28655 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28656 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28657 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28658 if test "x$enable_gtktest" = "xyes" ; then
28659 ac_save_CFLAGS="$CFLAGS"
28660 ac_save_LIBS="$LIBS"
28661 CFLAGS="$CFLAGS $GTK_CFLAGS"
28662 LIBS="$GTK_LIBS $LIBS"
28663 rm -f conf.gtktest
28664 if test "$cross_compiling" = yes; then
28665 echo $ac_n "cross compiling; assumed OK... $ac_c"
28666 else
28667 cat >conftest.$ac_ext <<_ACEOF
28668 /* confdefs.h. */
28669 _ACEOF
28670 cat confdefs.h >>conftest.$ac_ext
28671 cat >>conftest.$ac_ext <<_ACEOF
28672 /* end confdefs.h. */
28673
28674 #include <gtk/gtk.h>
28675 #include <stdio.h>
28676 #include <stdlib.h>
28677
28678 int
28679 main ()
28680 {
28681 int major, minor, micro;
28682 char *tmp_version;
28683
28684 system ("touch conf.gtktest");
28685
28686 /* HP/UX 9 (%@#!) writes to sscanf strings */
28687 tmp_version = g_strdup("$min_gtk_version");
28688 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28689 printf("%s, bad version string\n", "$min_gtk_version");
28690 exit(1);
28691 }
28692
28693 if ((gtk_major_version != $gtk_config_major_version) ||
28694 (gtk_minor_version != $gtk_config_minor_version) ||
28695 (gtk_micro_version != $gtk_config_micro_version))
28696 {
28697 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28698 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28699 gtk_major_version, gtk_minor_version, gtk_micro_version);
28700 printf ("*** was found! If pkg-config was correct, then it is best\n");
28701 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28702 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28703 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28704 printf("*** required on your system.\n");
28705 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28706 printf("*** to point to the correct configuration files\n");
28707 }
28708 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28709 (gtk_minor_version != GTK_MINOR_VERSION) ||
28710 (gtk_micro_version != GTK_MICRO_VERSION))
28711 {
28712 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28713 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28714 printf("*** library (version %d.%d.%d)\n",
28715 gtk_major_version, gtk_minor_version, gtk_micro_version);
28716 }
28717 else
28718 {
28719 if ((gtk_major_version > major) ||
28720 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28721 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28722 {
28723 return 0;
28724 }
28725 else
28726 {
28727 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28728 gtk_major_version, gtk_minor_version, gtk_micro_version);
28729 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28730 major, minor, micro);
28731 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28732 printf("***\n");
28733 printf("*** If you have already installed a sufficiently new version, this error\n");
28734 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28735 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28736 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28737 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28738 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28739 printf("*** so that the correct libraries are found at run-time))\n");
28740 }
28741 }
28742 return 1;
28743 }
28744
28745 _ACEOF
28746 rm -f conftest$ac_exeext
28747 if { (ac_try="$ac_link"
28748 case "(($ac_try" in
28749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28750 *) ac_try_echo=$ac_try;;
28751 esac
28752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28753 (eval "$ac_link") 2>&5
28754 ac_status=$?
28755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28756 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28757 { (case "(($ac_try" in
28758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28759 *) ac_try_echo=$ac_try;;
28760 esac
28761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28762 (eval "$ac_try") 2>&5
28763 ac_status=$?
28764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28765 (exit $ac_status); }; }; then
28766 :
28767 else
28768 echo "$as_me: program exited with status $ac_status" >&5
28769 echo "$as_me: failed program was:" >&5
28770 sed 's/^/| /' conftest.$ac_ext >&5
28771
28772 ( exit $ac_status )
28773 no_gtk=yes
28774 fi
28775 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28776 fi
28777
28778
28779 CFLAGS="$ac_save_CFLAGS"
28780 LIBS="$ac_save_LIBS"
28781 fi
28782 fi
28783 if test "x$no_gtk" = x ; then
28784 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28785 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28786 wx_cv_lib_gtk=2.0
28787 else
28788 { echo "$as_me:$LINENO: result: no" >&5
28789 echo "${ECHO_T}no" >&6; }
28790 if test "$PKG_CONFIG" = "no" ; then
28791 echo "*** A new enough version of pkg-config was not found."
28792 echo "*** See http://pkgconfig.sourceforge.net"
28793 else
28794 if test -f conf.gtktest ; then
28795 :
28796 else
28797 echo "*** Could not run GTK+ test program, checking why..."
28798 ac_save_CFLAGS="$CFLAGS"
28799 ac_save_LIBS="$LIBS"
28800 CFLAGS="$CFLAGS $GTK_CFLAGS"
28801 LIBS="$LIBS $GTK_LIBS"
28802 cat >conftest.$ac_ext <<_ACEOF
28803 /* confdefs.h. */
28804 _ACEOF
28805 cat confdefs.h >>conftest.$ac_ext
28806 cat >>conftest.$ac_ext <<_ACEOF
28807 /* end confdefs.h. */
28808
28809 #include <gtk/gtk.h>
28810 #include <stdio.h>
28811
28812 int
28813 main ()
28814 {
28815 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28816 ;
28817 return 0;
28818 }
28819 _ACEOF
28820 rm -f conftest.$ac_objext conftest$ac_exeext
28821 if { (ac_try="$ac_link"
28822 case "(($ac_try" in
28823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28824 *) ac_try_echo=$ac_try;;
28825 esac
28826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28827 (eval "$ac_link") 2>conftest.er1
28828 ac_status=$?
28829 grep -v '^ *+' conftest.er1 >conftest.err
28830 rm -f conftest.er1
28831 cat conftest.err >&5
28832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28833 (exit $ac_status); } && {
28834 test -z "$ac_c_werror_flag" ||
28835 test ! -s conftest.err
28836 } && test -s conftest$ac_exeext &&
28837 $as_test_x conftest$ac_exeext; then
28838 echo "*** The test program compiled, but did not run. This usually means"
28839 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28840 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28841 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28842 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28843 echo "*** is required on your system"
28844 echo "***"
28845 echo "*** If you have an old version installed, it is best to remove it, although"
28846 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28847 else
28848 echo "$as_me: failed program was:" >&5
28849 sed 's/^/| /' conftest.$ac_ext >&5
28850
28851 echo "*** The test program failed to compile or link. See the file config.log for the"
28852 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28853 fi
28854
28855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28856 conftest$ac_exeext conftest.$ac_ext
28857 CFLAGS="$ac_save_CFLAGS"
28858 LIBS="$ac_save_LIBS"
28859 fi
28860 fi
28861 GTK_CFLAGS=""
28862 GTK_LIBS=""
28863 :
28864 fi
28865
28866
28867 rm -f conf.gtktest
28868
28869
28870 case "${host}" in
28871 *-*-solaris2* )
28872 if test "$wxUSE_SHARED" != "yes"; then
28873 GTK_LIBS="$GTK_LIBS -lX11"
28874 fi
28875 esac
28876 fi
28877
28878 if test -z "$wx_cv_lib_gtk"; then
28879 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28880
28881 # Check whether --with-gtk-prefix was given.
28882 if test "${with_gtk_prefix+set}" = set; then
28883 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28884 else
28885 gtk_config_prefix=""
28886 fi
28887
28888
28889 # Check whether --with-gtk-exec-prefix was given.
28890 if test "${with_gtk_exec_prefix+set}" = set; then
28891 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28892 else
28893 gtk_config_exec_prefix=""
28894 fi
28895
28896 # Check whether --enable-gtktest was given.
28897 if test "${enable_gtktest+set}" = set; then
28898 enableval=$enable_gtktest;
28899 else
28900 enable_gtktest=yes
28901 fi
28902
28903
28904 for module in . $GTK_MODULES
28905 do
28906 case "$module" in
28907 gthread)
28908 gtk_config_args="$gtk_config_args gthread"
28909 ;;
28910 esac
28911 done
28912
28913 if test x$gtk_config_exec_prefix != x ; then
28914 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28915 if test x${GTK_CONFIG+set} != xset ; then
28916 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28917 fi
28918 fi
28919 if test x$gtk_config_prefix != x ; then
28920 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28921 if test x${GTK_CONFIG+set} != xset ; then
28922 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28923 fi
28924 fi
28925
28926 # Extract the first word of "gtk-config", so it can be a program name with args.
28927 set dummy gtk-config; ac_word=$2
28928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28930 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28931 echo $ECHO_N "(cached) $ECHO_C" >&6
28932 else
28933 case $GTK_CONFIG in
28934 [\\/]* | ?:[\\/]*)
28935 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28936 ;;
28937 *)
28938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28939 for as_dir in $PATH
28940 do
28941 IFS=$as_save_IFS
28942 test -z "$as_dir" && as_dir=.
28943 for ac_exec_ext in '' $ac_executable_extensions; do
28944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28945 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28947 break 2
28948 fi
28949 done
28950 done
28951 IFS=$as_save_IFS
28952
28953 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28954 ;;
28955 esac
28956 fi
28957 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28958 if test -n "$GTK_CONFIG"; then
28959 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28960 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28961 else
28962 { echo "$as_me:$LINENO: result: no" >&5
28963 echo "${ECHO_T}no" >&6; }
28964 fi
28965
28966
28967 min_gtk_version=1.2.7
28968 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28969 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28970 no_gtk=""
28971 if test "$GTK_CONFIG" = "no" ; then
28972 no_gtk=yes
28973 else
28974 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28975 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28976 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28978 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28980 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28981 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28982 if test "x$enable_gtktest" = "xyes" ; then
28983 ac_save_CFLAGS="$CFLAGS"
28984 ac_save_LIBS="$LIBS"
28985 CFLAGS="$CFLAGS $GTK_CFLAGS"
28986 LIBS="$GTK_LIBS $LIBS"
28987 rm -f conf.gtktest
28988 if test "$cross_compiling" = yes; then
28989 echo $ac_n "cross compiling; assumed OK... $ac_c"
28990 else
28991 cat >conftest.$ac_ext <<_ACEOF
28992 /* confdefs.h. */
28993 _ACEOF
28994 cat confdefs.h >>conftest.$ac_ext
28995 cat >>conftest.$ac_ext <<_ACEOF
28996 /* end confdefs.h. */
28997
28998 #include <gtk/gtk.h>
28999 #include <stdio.h>
29000 #include <stdlib.h>
29001
29002 int
29003 main ()
29004 {
29005 int major, minor, micro;
29006 char *tmp_version;
29007
29008 system ("touch conf.gtktest");
29009
29010 /* HP/UX 9 (%@#!) writes to sscanf strings */
29011 tmp_version = g_strdup("$min_gtk_version");
29012 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29013 printf("%s, bad version string\n", "$min_gtk_version");
29014 exit(1);
29015 }
29016
29017 if ((gtk_major_version != $gtk_config_major_version) ||
29018 (gtk_minor_version != $gtk_config_minor_version) ||
29019 (gtk_micro_version != $gtk_config_micro_version))
29020 {
29021 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29022 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29023 gtk_major_version, gtk_minor_version, gtk_micro_version);
29024 printf ("*** was found! If gtk-config was correct, then it is best\n");
29025 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29026 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29027 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29028 printf("*** required on your system.\n");
29029 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29030 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29031 printf("*** before re-running configure\n");
29032 }
29033 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29034 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29035 (gtk_minor_version != GTK_MINOR_VERSION) ||
29036 (gtk_micro_version != GTK_MICRO_VERSION))
29037 {
29038 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29039 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29040 printf("*** library (version %d.%d.%d)\n",
29041 gtk_major_version, gtk_minor_version, gtk_micro_version);
29042 }
29043 #endif /* defined (GTK_MAJOR_VERSION) ... */
29044 else
29045 {
29046 if ((gtk_major_version > major) ||
29047 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29048 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29049 {
29050 return 0;
29051 }
29052 else
29053 {
29054 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29055 gtk_major_version, gtk_minor_version, gtk_micro_version);
29056 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29057 major, minor, micro);
29058 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29059 printf("***\n");
29060 printf("*** If you have already installed a sufficiently new version, this error\n");
29061 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29062 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29063 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29064 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29065 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29066 printf("*** so that the correct libraries are found at run-time))\n");
29067 }
29068 }
29069 return 1;
29070 }
29071
29072 _ACEOF
29073 rm -f conftest$ac_exeext
29074 if { (ac_try="$ac_link"
29075 case "(($ac_try" in
29076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29077 *) ac_try_echo=$ac_try;;
29078 esac
29079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29080 (eval "$ac_link") 2>&5
29081 ac_status=$?
29082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29083 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29084 { (case "(($ac_try" in
29085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29086 *) ac_try_echo=$ac_try;;
29087 esac
29088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29089 (eval "$ac_try") 2>&5
29090 ac_status=$?
29091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092 (exit $ac_status); }; }; then
29093 :
29094 else
29095 echo "$as_me: program exited with status $ac_status" >&5
29096 echo "$as_me: failed program was:" >&5
29097 sed 's/^/| /' conftest.$ac_ext >&5
29098
29099 ( exit $ac_status )
29100 no_gtk=yes
29101 fi
29102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29103 fi
29104
29105
29106 CFLAGS="$ac_save_CFLAGS"
29107 LIBS="$ac_save_LIBS"
29108 fi
29109 fi
29110 if test "x$no_gtk" = x ; then
29111 { echo "$as_me:$LINENO: result: yes" >&5
29112 echo "${ECHO_T}yes" >&6; }
29113 wx_cv_lib_gtk=1.2.7
29114 else
29115 { echo "$as_me:$LINENO: result: no" >&5
29116 echo "${ECHO_T}no" >&6; }
29117 if test "$GTK_CONFIG" = "no" ; then
29118 echo "*** The gtk-config script installed by GTK could not be found"
29119 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29120 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29121 echo "*** full path to gtk-config."
29122 else
29123 if test -f conf.gtktest ; then
29124 :
29125 else
29126 echo "*** Could not run GTK test program, checking why..."
29127 CFLAGS="$CFLAGS $GTK_CFLAGS"
29128 LIBS="$LIBS $GTK_LIBS"
29129 cat >conftest.$ac_ext <<_ACEOF
29130 /* confdefs.h. */
29131 _ACEOF
29132 cat confdefs.h >>conftest.$ac_ext
29133 cat >>conftest.$ac_ext <<_ACEOF
29134 /* end confdefs.h. */
29135
29136 #include <gtk/gtk.h>
29137 #include <stdio.h>
29138
29139 int
29140 main ()
29141 {
29142 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29143 ;
29144 return 0;
29145 }
29146 _ACEOF
29147 rm -f conftest.$ac_objext conftest$ac_exeext
29148 if { (ac_try="$ac_link"
29149 case "(($ac_try" in
29150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29151 *) ac_try_echo=$ac_try;;
29152 esac
29153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29154 (eval "$ac_link") 2>conftest.er1
29155 ac_status=$?
29156 grep -v '^ *+' conftest.er1 >conftest.err
29157 rm -f conftest.er1
29158 cat conftest.err >&5
29159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29160 (exit $ac_status); } && {
29161 test -z "$ac_c_werror_flag" ||
29162 test ! -s conftest.err
29163 } && test -s conftest$ac_exeext &&
29164 $as_test_x conftest$ac_exeext; then
29165 echo "*** The test program compiled, but did not run. This usually means"
29166 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29167 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29168 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29169 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29170 echo "*** is required on your system"
29171 echo "***"
29172 echo "*** If you have an old version installed, it is best to remove it, although"
29173 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29174 echo "***"
29175 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29176 echo "*** came with the system with the command"
29177 echo "***"
29178 echo "*** rpm --erase --nodeps gtk gtk-devel"
29179 else
29180 echo "$as_me: failed program was:" >&5
29181 sed 's/^/| /' conftest.$ac_ext >&5
29182
29183 echo "*** The test program failed to compile or link. See the file config.log for the"
29184 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29185 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29186 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29187 fi
29188
29189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29190 conftest$ac_exeext conftest.$ac_ext
29191 CFLAGS="$ac_save_CFLAGS"
29192 LIBS="$ac_save_LIBS"
29193 fi
29194 fi
29195 GTK_CFLAGS=""
29196 GTK_LIBS=""
29197 :
29198 fi
29199
29200
29201 rm -f conf.gtktest
29202
29203
29204 if test -z "$wx_cv_lib_gtk"; then
29205
29206 # Check whether --with-gtk-prefix was given.
29207 if test "${with_gtk_prefix+set}" = set; then
29208 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29209 else
29210 gtk_config_prefix=""
29211 fi
29212
29213
29214 # Check whether --with-gtk-exec-prefix was given.
29215 if test "${with_gtk_exec_prefix+set}" = set; then
29216 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29217 else
29218 gtk_config_exec_prefix=""
29219 fi
29220
29221 # Check whether --enable-gtktest was given.
29222 if test "${enable_gtktest+set}" = set; then
29223 enableval=$enable_gtktest;
29224 else
29225 enable_gtktest=yes
29226 fi
29227
29228
29229 for module in . $GTK_MODULES
29230 do
29231 case "$module" in
29232 gthread)
29233 gtk_config_args="$gtk_config_args gthread"
29234 ;;
29235 esac
29236 done
29237
29238 if test x$gtk_config_exec_prefix != x ; then
29239 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29240 if test x${GTK_CONFIG+set} != xset ; then
29241 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29242 fi
29243 fi
29244 if test x$gtk_config_prefix != x ; then
29245 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29246 if test x${GTK_CONFIG+set} != xset ; then
29247 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29248 fi
29249 fi
29250
29251 # Extract the first word of "gtk-config", so it can be a program name with args.
29252 set dummy gtk-config; ac_word=$2
29253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29255 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29256 echo $ECHO_N "(cached) $ECHO_C" >&6
29257 else
29258 case $GTK_CONFIG in
29259 [\\/]* | ?:[\\/]*)
29260 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29261 ;;
29262 *)
29263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29264 for as_dir in $PATH
29265 do
29266 IFS=$as_save_IFS
29267 test -z "$as_dir" && as_dir=.
29268 for ac_exec_ext in '' $ac_executable_extensions; do
29269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29270 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29272 break 2
29273 fi
29274 done
29275 done
29276 IFS=$as_save_IFS
29277
29278 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29279 ;;
29280 esac
29281 fi
29282 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29283 if test -n "$GTK_CONFIG"; then
29284 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29285 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29286 else
29287 { echo "$as_me:$LINENO: result: no" >&5
29288 echo "${ECHO_T}no" >&6; }
29289 fi
29290
29291
29292 min_gtk_version=1.2.3
29293 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29294 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29295 no_gtk=""
29296 if test "$GTK_CONFIG" = "no" ; then
29297 no_gtk=yes
29298 else
29299 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29300 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29301 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29302 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29303 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29304 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29305 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29306 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29307 if test "x$enable_gtktest" = "xyes" ; then
29308 ac_save_CFLAGS="$CFLAGS"
29309 ac_save_LIBS="$LIBS"
29310 CFLAGS="$CFLAGS $GTK_CFLAGS"
29311 LIBS="$GTK_LIBS $LIBS"
29312 rm -f conf.gtktest
29313 if test "$cross_compiling" = yes; then
29314 echo $ac_n "cross compiling; assumed OK... $ac_c"
29315 else
29316 cat >conftest.$ac_ext <<_ACEOF
29317 /* confdefs.h. */
29318 _ACEOF
29319 cat confdefs.h >>conftest.$ac_ext
29320 cat >>conftest.$ac_ext <<_ACEOF
29321 /* end confdefs.h. */
29322
29323 #include <gtk/gtk.h>
29324 #include <stdio.h>
29325 #include <stdlib.h>
29326
29327 int
29328 main ()
29329 {
29330 int major, minor, micro;
29331 char *tmp_version;
29332
29333 system ("touch conf.gtktest");
29334
29335 /* HP/UX 9 (%@#!) writes to sscanf strings */
29336 tmp_version = g_strdup("$min_gtk_version");
29337 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29338 printf("%s, bad version string\n", "$min_gtk_version");
29339 exit(1);
29340 }
29341
29342 if ((gtk_major_version != $gtk_config_major_version) ||
29343 (gtk_minor_version != $gtk_config_minor_version) ||
29344 (gtk_micro_version != $gtk_config_micro_version))
29345 {
29346 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29347 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29348 gtk_major_version, gtk_minor_version, gtk_micro_version);
29349 printf ("*** was found! If gtk-config was correct, then it is best\n");
29350 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29351 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29352 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29353 printf("*** required on your system.\n");
29354 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29355 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29356 printf("*** before re-running configure\n");
29357 }
29358 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29359 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29360 (gtk_minor_version != GTK_MINOR_VERSION) ||
29361 (gtk_micro_version != GTK_MICRO_VERSION))
29362 {
29363 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29364 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29365 printf("*** library (version %d.%d.%d)\n",
29366 gtk_major_version, gtk_minor_version, gtk_micro_version);
29367 }
29368 #endif /* defined (GTK_MAJOR_VERSION) ... */
29369 else
29370 {
29371 if ((gtk_major_version > major) ||
29372 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29373 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29374 {
29375 return 0;
29376 }
29377 else
29378 {
29379 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29380 gtk_major_version, gtk_minor_version, gtk_micro_version);
29381 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29382 major, minor, micro);
29383 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29384 printf("***\n");
29385 printf("*** If you have already installed a sufficiently new version, this error\n");
29386 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29387 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29388 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29389 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29390 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29391 printf("*** so that the correct libraries are found at run-time))\n");
29392 }
29393 }
29394 return 1;
29395 }
29396
29397 _ACEOF
29398 rm -f conftest$ac_exeext
29399 if { (ac_try="$ac_link"
29400 case "(($ac_try" in
29401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29402 *) ac_try_echo=$ac_try;;
29403 esac
29404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29405 (eval "$ac_link") 2>&5
29406 ac_status=$?
29407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29409 { (case "(($ac_try" in
29410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29411 *) ac_try_echo=$ac_try;;
29412 esac
29413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29414 (eval "$ac_try") 2>&5
29415 ac_status=$?
29416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29417 (exit $ac_status); }; }; then
29418 :
29419 else
29420 echo "$as_me: program exited with status $ac_status" >&5
29421 echo "$as_me: failed program was:" >&5
29422 sed 's/^/| /' conftest.$ac_ext >&5
29423
29424 ( exit $ac_status )
29425 no_gtk=yes
29426 fi
29427 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29428 fi
29429
29430
29431 CFLAGS="$ac_save_CFLAGS"
29432 LIBS="$ac_save_LIBS"
29433 fi
29434 fi
29435 if test "x$no_gtk" = x ; then
29436 { echo "$as_me:$LINENO: result: yes" >&5
29437 echo "${ECHO_T}yes" >&6; }
29438 wx_cv_lib_gtk=1.2.3
29439 else
29440 { echo "$as_me:$LINENO: result: no" >&5
29441 echo "${ECHO_T}no" >&6; }
29442 if test "$GTK_CONFIG" = "no" ; then
29443 echo "*** The gtk-config script installed by GTK could not be found"
29444 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29445 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29446 echo "*** full path to gtk-config."
29447 else
29448 if test -f conf.gtktest ; then
29449 :
29450 else
29451 echo "*** Could not run GTK test program, checking why..."
29452 CFLAGS="$CFLAGS $GTK_CFLAGS"
29453 LIBS="$LIBS $GTK_LIBS"
29454 cat >conftest.$ac_ext <<_ACEOF
29455 /* confdefs.h. */
29456 _ACEOF
29457 cat confdefs.h >>conftest.$ac_ext
29458 cat >>conftest.$ac_ext <<_ACEOF
29459 /* end confdefs.h. */
29460
29461 #include <gtk/gtk.h>
29462 #include <stdio.h>
29463
29464 int
29465 main ()
29466 {
29467 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29468 ;
29469 return 0;
29470 }
29471 _ACEOF
29472 rm -f conftest.$ac_objext conftest$ac_exeext
29473 if { (ac_try="$ac_link"
29474 case "(($ac_try" in
29475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29476 *) ac_try_echo=$ac_try;;
29477 esac
29478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29479 (eval "$ac_link") 2>conftest.er1
29480 ac_status=$?
29481 grep -v '^ *+' conftest.er1 >conftest.err
29482 rm -f conftest.er1
29483 cat conftest.err >&5
29484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29485 (exit $ac_status); } && {
29486 test -z "$ac_c_werror_flag" ||
29487 test ! -s conftest.err
29488 } && test -s conftest$ac_exeext &&
29489 $as_test_x conftest$ac_exeext; then
29490 echo "*** The test program compiled, but did not run. This usually means"
29491 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29492 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29493 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29494 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29495 echo "*** is required on your system"
29496 echo "***"
29497 echo "*** If you have an old version installed, it is best to remove it, although"
29498 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29499 echo "***"
29500 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29501 echo "*** came with the system with the command"
29502 echo "***"
29503 echo "*** rpm --erase --nodeps gtk gtk-devel"
29504 else
29505 echo "$as_me: failed program was:" >&5
29506 sed 's/^/| /' conftest.$ac_ext >&5
29507
29508 echo "*** The test program failed to compile or link. See the file config.log for the"
29509 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29510 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29511 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29512 fi
29513
29514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29515 conftest$ac_exeext conftest.$ac_ext
29516 CFLAGS="$ac_save_CFLAGS"
29517 LIBS="$ac_save_LIBS"
29518 fi
29519 fi
29520 GTK_CFLAGS=""
29521 GTK_LIBS=""
29522 :
29523 fi
29524
29525
29526 rm -f conf.gtktest
29527
29528 fi
29529 fi
29530 fi
29531
29532 if test -z "$wx_cv_lib_gtk"; then
29533 wx_cv_lib_gtk=none
29534 else
29535 wx_cv_cflags_gtk=$GTK_CFLAGS
29536 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29537 fi
29538
29539
29540 fi
29541
29542
29543 if test "$gtk_version_cached" = 1; then
29544 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29545 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29546 fi
29547
29548 case "$wx_cv_lib_gtk" in
29549 2.0) WXGTK2=1
29550 TOOLKIT_VERSION=2
29551 ;;
29552 1.2.7) WXGTK127=1
29553 WXGTK12=1
29554 ;;
29555 1.2.3) WXGTK12=1
29556 ;;
29557 *) { { echo "$as_me:$LINENO: error:
29558 The development files for GTK+ were not found. For GTK+ 2, please
29559 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29560 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29561 and that the version is 1.2.3 or above. Also check that the
29562 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29563 --libs' are in the LD_LIBRARY_PATH or equivalent.
29564 " >&5
29565 echo "$as_me: error:
29566 The development files for GTK+ were not found. For GTK+ 2, please
29567 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29568 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29569 and that the version is 1.2.3 or above. Also check that the
29570 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29571 --libs' are in the LD_LIBRARY_PATH or equivalent.
29572 " >&2;}
29573 { (exit 1); exit 1; }; }
29574 ;;
29575 esac
29576
29577 if test "$WXGTK2" = 1; then
29578 save_CFLAGS="$CFLAGS"
29579 save_LIBS="$LIBS"
29580 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29581 LIBS="$LIBS $wx_cv_libs_gtk"
29582
29583 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
29584 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
29585 cat >conftest.$ac_ext <<_ACEOF
29586 /* confdefs.h. */
29587 _ACEOF
29588 cat confdefs.h >>conftest.$ac_ext
29589 cat >>conftest.$ac_ext <<_ACEOF
29590 /* end confdefs.h. */
29591
29592 #include <gtk/gtk.h>
29593
29594 int
29595 main ()
29596 {
29597
29598 #if !GTK_CHECK_VERSION(2,18,0)
29599 Not GTK+ 2.18
29600 #endif
29601
29602 ;
29603 return 0;
29604 }
29605 _ACEOF
29606 rm -f conftest.$ac_objext
29607 if { (ac_try="$ac_compile"
29608 case "(($ac_try" in
29609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29610 *) ac_try_echo=$ac_try;;
29611 esac
29612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29613 (eval "$ac_compile") 2>conftest.er1
29614 ac_status=$?
29615 grep -v '^ *+' conftest.er1 >conftest.err
29616 rm -f conftest.er1
29617 cat conftest.err >&5
29618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29619 (exit $ac_status); } && {
29620 test -z "$ac_c_werror_flag" ||
29621 test ! -s conftest.err
29622 } && test -s conftest.$ac_objext; then
29623
29624 cat >>confdefs.h <<\_ACEOF
29625 #define __WXGTK218__ 1
29626 _ACEOF
29627
29628 cat >>confdefs.h <<\_ACEOF
29629 #define __WXGTK210__ 1
29630 _ACEOF
29631
29632 cat >>confdefs.h <<\_ACEOF
29633 #define __WXGTK26__ 1
29634 _ACEOF
29635
29636 { echo "$as_me:$LINENO: result: yes" >&5
29637 echo "${ECHO_T}yes" >&6; }
29638 ac_wxgtk218=1
29639
29640 else
29641 echo "$as_me: failed program was:" >&5
29642 sed 's/^/| /' conftest.$ac_ext >&5
29643
29644
29645 { echo "$as_me:$LINENO: result: no" >&5
29646 echo "${ECHO_T}no" >&6; }
29647 ac_wxgtk218=0
29648
29649 fi
29650
29651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29652
29653 if test "$ac_wxgtk218" = 0; then
29654 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29655 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29656 cat >conftest.$ac_ext <<_ACEOF
29657 /* confdefs.h. */
29658 _ACEOF
29659 cat confdefs.h >>conftest.$ac_ext
29660 cat >>conftest.$ac_ext <<_ACEOF
29661 /* end confdefs.h. */
29662
29663 #include <gtk/gtk.h>
29664
29665 int
29666 main ()
29667 {
29668
29669 #if !GTK_CHECK_VERSION(2,10,0)
29670 Not GTK+ 2.10
29671 #endif
29672
29673 ;
29674 return 0;
29675 }
29676 _ACEOF
29677 rm -f conftest.$ac_objext
29678 if { (ac_try="$ac_compile"
29679 case "(($ac_try" in
29680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29681 *) ac_try_echo=$ac_try;;
29682 esac
29683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29684 (eval "$ac_compile") 2>conftest.er1
29685 ac_status=$?
29686 grep -v '^ *+' conftest.er1 >conftest.err
29687 rm -f conftest.er1
29688 cat conftest.err >&5
29689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29690 (exit $ac_status); } && {
29691 test -z "$ac_c_werror_flag" ||
29692 test ! -s conftest.err
29693 } && test -s conftest.$ac_objext; then
29694
29695 cat >>confdefs.h <<\_ACEOF
29696 #define __WXGTK210__ 1
29697 _ACEOF
29698
29699 cat >>confdefs.h <<\_ACEOF
29700 #define __WXGTK26__ 1
29701 _ACEOF
29702
29703 { echo "$as_me:$LINENO: result: yes" >&5
29704 echo "${ECHO_T}yes" >&6; }
29705 ac_wxgtk210=1
29706
29707 else
29708 echo "$as_me: failed program was:" >&5
29709 sed 's/^/| /' conftest.$ac_ext >&5
29710
29711
29712 { echo "$as_me:$LINENO: result: no" >&5
29713 echo "${ECHO_T}no" >&6; }
29714 ac_wxgtk210=0
29715
29716 fi
29717
29718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29719
29720 if test "$ac_wxgtk210" = 0; then
29721 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29722 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29723 cat >conftest.$ac_ext <<_ACEOF
29724 /* confdefs.h. */
29725 _ACEOF
29726 cat confdefs.h >>conftest.$ac_ext
29727 cat >>conftest.$ac_ext <<_ACEOF
29728 /* end confdefs.h. */
29729
29730 #include <gtk/gtk.h>
29731
29732 int
29733 main ()
29734 {
29735
29736 #if !GTK_CHECK_VERSION(2,6,0)
29737 Not GTK+ 2.6
29738 #endif
29739
29740 ;
29741 return 0;
29742 }
29743 _ACEOF
29744 rm -f conftest.$ac_objext
29745 if { (ac_try="$ac_compile"
29746 case "(($ac_try" in
29747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29748 *) ac_try_echo=$ac_try;;
29749 esac
29750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29751 (eval "$ac_compile") 2>conftest.er1
29752 ac_status=$?
29753 grep -v '^ *+' conftest.er1 >conftest.err
29754 rm -f conftest.er1
29755 cat conftest.err >&5
29756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757 (exit $ac_status); } && {
29758 test -z "$ac_c_werror_flag" ||
29759 test ! -s conftest.err
29760 } && test -s conftest.$ac_objext; then
29761
29762 cat >>confdefs.h <<\_ACEOF
29763 #define __WXGTK26__ 1
29764 _ACEOF
29765
29766 { echo "$as_me:$LINENO: result: yes" >&5
29767 echo "${ECHO_T}yes" >&6; }
29768 ac_wxgtk26=1
29769
29770 else
29771 echo "$as_me: failed program was:" >&5
29772 sed 's/^/| /' conftest.$ac_ext >&5
29773
29774
29775 { echo "$as_me:$LINENO: result: no" >&5
29776 echo "${ECHO_T}no" >&6; }
29777 ac_wxgtk26=0
29778
29779 fi
29780
29781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29782 fi
29783 fi
29784
29785 CFLAGS="$save_CFLAGS"
29786 LIBS="$save_LIBS"
29787 else
29788 if test "$wxUSE_UNICODE" = "yes"; then
29789 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29790 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29791 wxUSE_UNICODE=no
29792 fi
29793
29794 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29795 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29796 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29797 echo $ECHO_N "(cached) $ECHO_C" >&6
29798 else
29799 ac_check_lib_save_LIBS=$LIBS
29800 LIBS="-lgdk $LIBS"
29801 cat >conftest.$ac_ext <<_ACEOF
29802 /* confdefs.h. */
29803 _ACEOF
29804 cat confdefs.h >>conftest.$ac_ext
29805 cat >>conftest.$ac_ext <<_ACEOF
29806 /* end confdefs.h. */
29807
29808 /* Override any GCC internal prototype to avoid an error.
29809 Use char because int might match the return type of a GCC
29810 builtin and then its argument prototype would still apply. */
29811 #ifdef __cplusplus
29812 extern "C"
29813 #endif
29814 char gdk_im_open ();
29815 int
29816 main ()
29817 {
29818 return gdk_im_open ();
29819 ;
29820 return 0;
29821 }
29822 _ACEOF
29823 rm -f conftest.$ac_objext conftest$ac_exeext
29824 if { (ac_try="$ac_link"
29825 case "(($ac_try" in
29826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29827 *) ac_try_echo=$ac_try;;
29828 esac
29829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29830 (eval "$ac_link") 2>conftest.er1
29831 ac_status=$?
29832 grep -v '^ *+' conftest.er1 >conftest.err
29833 rm -f conftest.er1
29834 cat conftest.err >&5
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); } && {
29837 test -z "$ac_c_werror_flag" ||
29838 test ! -s conftest.err
29839 } && test -s conftest$ac_exeext &&
29840 $as_test_x conftest$ac_exeext; then
29841 ac_cv_lib_gdk_gdk_im_open=yes
29842 else
29843 echo "$as_me: failed program was:" >&5
29844 sed 's/^/| /' conftest.$ac_ext >&5
29845
29846 ac_cv_lib_gdk_gdk_im_open=no
29847 fi
29848
29849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29850 conftest$ac_exeext conftest.$ac_ext
29851 LIBS=$ac_check_lib_save_LIBS
29852 fi
29853 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29854 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29855 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29856 cat >>confdefs.h <<\_ACEOF
29857 #define HAVE_XIM 1
29858 _ACEOF
29859
29860 fi
29861
29862
29863 if test "$USE_DARWIN" != 1; then
29864
29865 for ac_func in poll
29866 do
29867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29868 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29870 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29871 echo $ECHO_N "(cached) $ECHO_C" >&6
29872 else
29873 cat >conftest.$ac_ext <<_ACEOF
29874 /* confdefs.h. */
29875 _ACEOF
29876 cat confdefs.h >>conftest.$ac_ext
29877 cat >>conftest.$ac_ext <<_ACEOF
29878 /* end confdefs.h. */
29879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29881 #define $ac_func innocuous_$ac_func
29882
29883 /* System header to define __stub macros and hopefully few prototypes,
29884 which can conflict with char $ac_func (); below.
29885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29886 <limits.h> exists even on freestanding compilers. */
29887
29888 #ifdef __STDC__
29889 # include <limits.h>
29890 #else
29891 # include <assert.h>
29892 #endif
29893
29894 #undef $ac_func
29895
29896 /* Override any GCC internal prototype to avoid an error.
29897 Use char because int might match the return type of a GCC
29898 builtin and then its argument prototype would still apply. */
29899 #ifdef __cplusplus
29900 extern "C"
29901 #endif
29902 char $ac_func ();
29903 /* The GNU C library defines this for functions which it implements
29904 to always fail with ENOSYS. Some functions are actually named
29905 something starting with __ and the normal name is an alias. */
29906 #if defined __stub_$ac_func || defined __stub___$ac_func
29907 choke me
29908 #endif
29909
29910 int
29911 main ()
29912 {
29913 return $ac_func ();
29914 ;
29915 return 0;
29916 }
29917 _ACEOF
29918 rm -f conftest.$ac_objext conftest$ac_exeext
29919 if { (ac_try="$ac_link"
29920 case "(($ac_try" in
29921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29922 *) ac_try_echo=$ac_try;;
29923 esac
29924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29925 (eval "$ac_link") 2>conftest.er1
29926 ac_status=$?
29927 grep -v '^ *+' conftest.er1 >conftest.err
29928 rm -f conftest.er1
29929 cat conftest.err >&5
29930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29931 (exit $ac_status); } && {
29932 test -z "$ac_c_werror_flag" ||
29933 test ! -s conftest.err
29934 } && test -s conftest$ac_exeext &&
29935 $as_test_x conftest$ac_exeext; then
29936 eval "$as_ac_var=yes"
29937 else
29938 echo "$as_me: failed program was:" >&5
29939 sed 's/^/| /' conftest.$ac_ext >&5
29940
29941 eval "$as_ac_var=no"
29942 fi
29943
29944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29945 conftest$ac_exeext conftest.$ac_ext
29946 fi
29947 ac_res=`eval echo '${'$as_ac_var'}'`
29948 { echo "$as_me:$LINENO: result: $ac_res" >&5
29949 echo "${ECHO_T}$ac_res" >&6; }
29950 if test `eval echo '${'$as_ac_var'}'` = yes; then
29951 cat >>confdefs.h <<_ACEOF
29952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29953 _ACEOF
29954
29955 fi
29956 done
29957
29958 fi
29959 fi
29960
29961 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29962 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29963
29964 AFMINSTALL=afminstall
29965 TOOLKIT=GTK
29966 GUIDIST=GTK_DIST
29967
29968 if test "$wxUSE_GPE" = "yes"; then
29969 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29970 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29971
29972 ac_find_libraries=
29973 for ac_dir in $SEARCH_LIB;
29974 do
29975 for ac_extension in a so sl dylib dll.a; do
29976 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29977 ac_find_libraries=$ac_dir
29978 break 2
29979 fi
29980 done
29981 done
29982
29983 if test "$ac_find_libraries" != "" ; then
29984
29985 if test "$ac_find_libraries" = "default location"; then
29986 ac_path_to_link=""
29987 else
29988 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29989 result=$?
29990 if test $result = 0; then
29991 ac_path_to_link=""
29992 else
29993 ac_path_to_link=" -L$ac_find_libraries"
29994 fi
29995 fi
29996
29997 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29998 WXGPE=1
29999 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30000 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30001 else
30002 { echo "$as_me:$LINENO: result: not found" >&5
30003 echo "${ECHO_T}not found" >&6; }
30004 fi
30005
30006 fi
30007 fi
30008
30009 if test "$wxUSE_MGL" = 1; then
30010 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30011 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30012 if test "x$MGL_ROOT" = 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 MGL library. Make sure MGL_ROOT is set." >&5
30016 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30017 { (exit 1); exit 1; }; }
30018 else
30019 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30020 echo "${ECHO_T}$MGL_ROOT" >&6; }
30021 fi
30022
30023 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30024 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30025 case "${host}" in
30026 *-*-linux* )
30027 if test "x$wxUSE_SHARED" = xyes ; then
30028 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30029 else
30030 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30031 fi
30032 ;;
30033 *-pc-msdosdjgpp )
30034 mgl_os_candidates="dos32/dj2"
30035 ;;
30036 *)
30037 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30038 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30039 { (exit 1); exit 1; }; }
30040 esac
30041
30042 mgl_lib_type=""
30043 mgl_os=""
30044
30045 for mgl_os_i in $mgl_os_candidates ; do
30046 if test "x$mgl_os" = x ; then
30047 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30048 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30049 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30050 mgl_lib_type=debug
30051 mgl_os=$mgl_os_i
30052 fi
30053 fi
30054 if test "x$mgl_lib_type" = x ; then
30055 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30056 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30057 mgl_lib_type=release
30058 mgl_os=$mgl_os_i
30059 fi
30060 fi
30061 fi
30062 done
30063
30064 if test "x$mgl_os" = x ; then
30065 { echo "$as_me:$LINENO: result: not found" >&5
30066 echo "${ECHO_T}not found" >&6; }
30067 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30068 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30069 { (exit 1); exit 1; }; }
30070 fi
30071 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30072 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30073
30074 wxUSE_UNIVERSAL="yes"
30075
30076 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30077 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30078
30079 AFMINSTALL=afminstall
30080 TOOLKIT=MGL
30081 GUIDIST=MGL_DIST
30082 fi
30083
30084 if test "$wxUSE_DFB" = 1; then
30085
30086
30087 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30088 if test -n "$ac_tool_prefix"; then
30089 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30090 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30093 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30094 echo $ECHO_N "(cached) $ECHO_C" >&6
30095 else
30096 case $PKG_CONFIG in
30097 [\\/]* | ?:[\\/]*)
30098 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30099 ;;
30100 *)
30101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30102 for as_dir in $PATH
30103 do
30104 IFS=$as_save_IFS
30105 test -z "$as_dir" && as_dir=.
30106 for ac_exec_ext in '' $ac_executable_extensions; do
30107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30108 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30110 break 2
30111 fi
30112 done
30113 done
30114 IFS=$as_save_IFS
30115
30116 ;;
30117 esac
30118 fi
30119 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30120 if test -n "$PKG_CONFIG"; then
30121 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30122 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30123 else
30124 { echo "$as_me:$LINENO: result: no" >&5
30125 echo "${ECHO_T}no" >&6; }
30126 fi
30127
30128
30129 fi
30130 if test -z "$ac_cv_path_PKG_CONFIG"; then
30131 ac_pt_PKG_CONFIG=$PKG_CONFIG
30132 # Extract the first word of "pkg-config", so it can be a program name with args.
30133 set dummy pkg-config; ac_word=$2
30134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30136 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30137 echo $ECHO_N "(cached) $ECHO_C" >&6
30138 else
30139 case $ac_pt_PKG_CONFIG in
30140 [\\/]* | ?:[\\/]*)
30141 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30142 ;;
30143 *)
30144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30145 for as_dir in $PATH
30146 do
30147 IFS=$as_save_IFS
30148 test -z "$as_dir" && as_dir=.
30149 for ac_exec_ext in '' $ac_executable_extensions; do
30150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30151 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30153 break 2
30154 fi
30155 done
30156 done
30157 IFS=$as_save_IFS
30158
30159 ;;
30160 esac
30161 fi
30162 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30163 if test -n "$ac_pt_PKG_CONFIG"; then
30164 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30165 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30166 else
30167 { echo "$as_me:$LINENO: result: no" >&5
30168 echo "${ECHO_T}no" >&6; }
30169 fi
30170
30171 if test "x$ac_pt_PKG_CONFIG" = x; then
30172 PKG_CONFIG=""
30173 else
30174 case $cross_compiling:$ac_tool_warned in
30175 yes:)
30176 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30177 whose name does not start with the host triplet. If you think this
30178 configuration is useful to you, please write to autoconf@gnu.org." >&5
30179 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30180 whose name does not start with the host triplet. If you think this
30181 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30182 ac_tool_warned=yes ;;
30183 esac
30184 PKG_CONFIG=$ac_pt_PKG_CONFIG
30185 fi
30186 else
30187 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30188 fi
30189
30190 fi
30191 if test -n "$PKG_CONFIG"; then
30192 _pkg_min_version=0.9.0
30193 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30194 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30195 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30196 { echo "$as_me:$LINENO: result: yes" >&5
30197 echo "${ECHO_T}yes" >&6; }
30198 else
30199 { echo "$as_me:$LINENO: result: no" >&5
30200 echo "${ECHO_T}no" >&6; }
30201 PKG_CONFIG=""
30202 fi
30203
30204 fi
30205
30206
30207 pkg_failed=no
30208 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30209 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30210
30211 if test -n "$PKG_CONFIG"; then
30212 if test -n "$DIRECTFB_CFLAGS"; then
30213 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30214 else
30215 if test -n "$PKG_CONFIG" && \
30216 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30217 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30218 ac_status=$?
30219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30220 (exit $ac_status); }; then
30221 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30222 else
30223 pkg_failed=yes
30224 fi
30225 fi
30226 else
30227 pkg_failed=untried
30228 fi
30229 if test -n "$PKG_CONFIG"; then
30230 if test -n "$DIRECTFB_LIBS"; then
30231 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30232 else
30233 if test -n "$PKG_CONFIG" && \
30234 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30235 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30236 ac_status=$?
30237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30238 (exit $ac_status); }; then
30239 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30240 else
30241 pkg_failed=yes
30242 fi
30243 fi
30244 else
30245 pkg_failed=untried
30246 fi
30247
30248
30249
30250 if test $pkg_failed = yes; then
30251
30252 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30253 _pkg_short_errors_supported=yes
30254 else
30255 _pkg_short_errors_supported=no
30256 fi
30257 if test $_pkg_short_errors_supported = yes; then
30258 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30259 else
30260 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30261 fi
30262 # Put the nasty error message in config.log where it belongs
30263 echo "$DIRECTFB_PKG_ERRORS" >&5
30264
30265
30266 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30267 echo "$as_me: error: DirectFB not found." >&2;}
30268 { (exit 1); exit 1; }; }
30269
30270
30271 elif test $pkg_failed = untried; then
30272
30273 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30274 echo "$as_me: error: DirectFB not found." >&2;}
30275 { (exit 1); exit 1; }; }
30276
30277
30278 else
30279 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30280 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30281 { echo "$as_me:$LINENO: result: yes" >&5
30282 echo "${ECHO_T}yes" >&6; }
30283
30284 wxUSE_UNIVERSAL="yes"
30285 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30286 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30287 TOOLKIT=DFB
30288 GUIDIST=DFB_DIST
30289
30290 fi
30291 fi
30292
30293 if test "$wxUSE_MICROWIN" = 1; then
30294 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30295 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30296 if test "x$MICROWINDOWS" = x ; then
30297 { echo "$as_me:$LINENO: result: not found" >&5
30298 echo "${ECHO_T}not found" >&6; }
30299 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30300 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30301 { (exit 1); exit 1; }; }
30302 else
30303 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30304 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30305 fi
30306
30307 if test -f $MICROWINDOWS/lib/libmwin.a; then
30308 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30309 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30310 else
30311 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30312 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30313 { (exit 1); exit 1; }; }
30314 fi
30315
30316 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30317 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30318
30319 wxUSE_UNIVERSAL="yes"
30320
30321 AFMINSTALL=afminstall
30322 TOOLKIT=MICROWIN
30323 GUIDIST=MICROWIN_DIST
30324
30325 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30326 fi
30327
30328 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30329 { echo "$as_me:$LINENO: checking for X" >&5
30330 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30331
30332
30333 # Check whether --with-x was given.
30334 if test "${with_x+set}" = set; then
30335 withval=$with_x;
30336 fi
30337
30338 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30339 if test "x$with_x" = xno; then
30340 # The user explicitly disabled X.
30341 have_x=disabled
30342 else
30343 case $x_includes,$x_libraries in #(
30344 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30345 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30346 { (exit 1); exit 1; }; };; #(
30347 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30348 echo $ECHO_N "(cached) $ECHO_C" >&6
30349 else
30350 # One or both of the vars are not set, and there is no cached value.
30351 ac_x_includes=no ac_x_libraries=no
30352 rm -f -r conftest.dir
30353 if mkdir conftest.dir; then
30354 cd conftest.dir
30355 cat >Imakefile <<'_ACEOF'
30356 incroot:
30357 @echo incroot='${INCROOT}'
30358 usrlibdir:
30359 @echo usrlibdir='${USRLIBDIR}'
30360 libdir:
30361 @echo libdir='${LIBDIR}'
30362 _ACEOF
30363 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30364 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30365 for ac_var in incroot usrlibdir libdir; do
30366 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30367 done
30368 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30369 for ac_extension in a so sl; do
30370 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30371 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30372 ac_im_usrlibdir=$ac_im_libdir; break
30373 fi
30374 done
30375 # Screen out bogus values from the imake configuration. They are
30376 # bogus both because they are the default anyway, and because
30377 # using them would break gcc on systems where it needs fixed includes.
30378 case $ac_im_incroot in
30379 /usr/include) ac_x_includes= ;;
30380 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30381 esac
30382 case $ac_im_usrlibdir in
30383 /usr/lib | /lib) ;;
30384 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30385 esac
30386 fi
30387 cd ..
30388 rm -f -r conftest.dir
30389 fi
30390
30391 # Standard set of common directories for X headers.
30392 # Check X11 before X11Rn because it is often a symlink to the current release.
30393 ac_x_header_dirs='
30394 /usr/X11/include
30395 /usr/X11R6/include
30396 /usr/X11R5/include
30397 /usr/X11R4/include
30398
30399 /usr/include/X11
30400 /usr/include/X11R6
30401 /usr/include/X11R5
30402 /usr/include/X11R4
30403
30404 /usr/local/X11/include
30405 /usr/local/X11R6/include
30406 /usr/local/X11R5/include
30407 /usr/local/X11R4/include
30408
30409 /usr/local/include/X11
30410 /usr/local/include/X11R6
30411 /usr/local/include/X11R5
30412 /usr/local/include/X11R4
30413
30414 /usr/X386/include
30415 /usr/x386/include
30416 /usr/XFree86/include/X11
30417
30418 /usr/include
30419 /usr/local/include
30420 /usr/unsupported/include
30421 /usr/athena/include
30422 /usr/local/x11r5/include
30423 /usr/lpp/Xamples/include
30424
30425 /usr/openwin/include
30426 /usr/openwin/share/include'
30427
30428 if test "$ac_x_includes" = no; then
30429 # Guess where to find include files, by looking for Xlib.h.
30430 # First, try using that file with no special directory specified.
30431 cat >conftest.$ac_ext <<_ACEOF
30432 /* confdefs.h. */
30433 _ACEOF
30434 cat confdefs.h >>conftest.$ac_ext
30435 cat >>conftest.$ac_ext <<_ACEOF
30436 /* end confdefs.h. */
30437 #include <X11/Xlib.h>
30438 _ACEOF
30439 if { (ac_try="$ac_cpp conftest.$ac_ext"
30440 case "(($ac_try" in
30441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30442 *) ac_try_echo=$ac_try;;
30443 esac
30444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30445 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30446 ac_status=$?
30447 grep -v '^ *+' conftest.er1 >conftest.err
30448 rm -f conftest.er1
30449 cat conftest.err >&5
30450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451 (exit $ac_status); } >/dev/null && {
30452 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30453 test ! -s conftest.err
30454 }; then
30455 # We can compile using X headers with no special include directory.
30456 ac_x_includes=
30457 else
30458 echo "$as_me: failed program was:" >&5
30459 sed 's/^/| /' conftest.$ac_ext >&5
30460
30461 for ac_dir in $ac_x_header_dirs; do
30462 if test -r "$ac_dir/X11/Xlib.h"; then
30463 ac_x_includes=$ac_dir
30464 break
30465 fi
30466 done
30467 fi
30468
30469 rm -f conftest.err conftest.$ac_ext
30470 fi # $ac_x_includes = no
30471
30472 if test "$ac_x_libraries" = no; then
30473 # Check for the libraries.
30474 # See if we find them without any special options.
30475 # Don't add to $LIBS permanently.
30476 ac_save_LIBS=$LIBS
30477 LIBS="-lX11 $LIBS"
30478 cat >conftest.$ac_ext <<_ACEOF
30479 /* confdefs.h. */
30480 _ACEOF
30481 cat confdefs.h >>conftest.$ac_ext
30482 cat >>conftest.$ac_ext <<_ACEOF
30483 /* end confdefs.h. */
30484 #include <X11/Xlib.h>
30485 int
30486 main ()
30487 {
30488 XrmInitialize ()
30489 ;
30490 return 0;
30491 }
30492 _ACEOF
30493 rm -f conftest.$ac_objext conftest$ac_exeext
30494 if { (ac_try="$ac_link"
30495 case "(($ac_try" in
30496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30497 *) ac_try_echo=$ac_try;;
30498 esac
30499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30500 (eval "$ac_link") 2>conftest.er1
30501 ac_status=$?
30502 grep -v '^ *+' conftest.er1 >conftest.err
30503 rm -f conftest.er1
30504 cat conftest.err >&5
30505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506 (exit $ac_status); } && {
30507 test -z "$ac_c_werror_flag" ||
30508 test ! -s conftest.err
30509 } && test -s conftest$ac_exeext &&
30510 $as_test_x conftest$ac_exeext; then
30511 LIBS=$ac_save_LIBS
30512 # We can link X programs with no special library path.
30513 ac_x_libraries=
30514 else
30515 echo "$as_me: failed program was:" >&5
30516 sed 's/^/| /' conftest.$ac_ext >&5
30517
30518 LIBS=$ac_save_LIBS
30519 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30520 do
30521 # Don't even attempt the hair of trying to link an X program!
30522 for ac_extension in a so sl; do
30523 if test -r "$ac_dir/libX11.$ac_extension"; then
30524 ac_x_libraries=$ac_dir
30525 break 2
30526 fi
30527 done
30528 done
30529 fi
30530
30531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30532 conftest$ac_exeext conftest.$ac_ext
30533 fi # $ac_x_libraries = no
30534
30535 case $ac_x_includes,$ac_x_libraries in #(
30536 no,* | *,no | *\'*)
30537 # Didn't find X, or a directory has "'" in its name.
30538 ac_cv_have_x="have_x=no";; #(
30539 *)
30540 # Record where we found X for the cache.
30541 ac_cv_have_x="have_x=yes\
30542 ac_x_includes='$ac_x_includes'\
30543 ac_x_libraries='$ac_x_libraries'"
30544 esac
30545 fi
30546 ;; #(
30547 *) have_x=yes;;
30548 esac
30549 eval "$ac_cv_have_x"
30550 fi # $with_x != no
30551
30552 if test "$have_x" != yes; then
30553 { echo "$as_me:$LINENO: result: $have_x" >&5
30554 echo "${ECHO_T}$have_x" >&6; }
30555 no_x=yes
30556 else
30557 # If each of the values was on the command line, it overrides each guess.
30558 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30559 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30560 # Update the cache value to reflect the command line values.
30561 ac_cv_have_x="have_x=yes\
30562 ac_x_includes='$x_includes'\
30563 ac_x_libraries='$x_libraries'"
30564 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30565 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30566 fi
30567
30568 if test "$no_x" = yes; then
30569 # Not all programs may use this symbol, but it does not hurt to define it.
30570
30571 cat >>confdefs.h <<\_ACEOF
30572 #define X_DISPLAY_MISSING 1
30573 _ACEOF
30574
30575 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30576 else
30577 if test -n "$x_includes"; then
30578 X_CFLAGS="$X_CFLAGS -I$x_includes"
30579 fi
30580
30581 # It would also be nice to do this for all -L options, not just this one.
30582 if test -n "$x_libraries"; then
30583 X_LIBS="$X_LIBS -L$x_libraries"
30584 # For Solaris; some versions of Sun CC require a space after -R and
30585 # others require no space. Words are not sufficient . . . .
30586 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30587 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30588 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30589 ac_xsave_c_werror_flag=$ac_c_werror_flag
30590 ac_c_werror_flag=yes
30591 cat >conftest.$ac_ext <<_ACEOF
30592 /* confdefs.h. */
30593 _ACEOF
30594 cat confdefs.h >>conftest.$ac_ext
30595 cat >>conftest.$ac_ext <<_ACEOF
30596 /* end confdefs.h. */
30597
30598 int
30599 main ()
30600 {
30601
30602 ;
30603 return 0;
30604 }
30605 _ACEOF
30606 rm -f conftest.$ac_objext conftest$ac_exeext
30607 if { (ac_try="$ac_link"
30608 case "(($ac_try" in
30609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30610 *) ac_try_echo=$ac_try;;
30611 esac
30612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30613 (eval "$ac_link") 2>conftest.er1
30614 ac_status=$?
30615 grep -v '^ *+' conftest.er1 >conftest.err
30616 rm -f conftest.er1
30617 cat conftest.err >&5
30618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30619 (exit $ac_status); } && {
30620 test -z "$ac_c_werror_flag" ||
30621 test ! -s conftest.err
30622 } && test -s conftest$ac_exeext &&
30623 $as_test_x conftest$ac_exeext; then
30624 { echo "$as_me:$LINENO: result: no" >&5
30625 echo "${ECHO_T}no" >&6; }
30626 X_LIBS="$X_LIBS -R$x_libraries"
30627 else
30628 echo "$as_me: failed program was:" >&5
30629 sed 's/^/| /' conftest.$ac_ext >&5
30630
30631 LIBS="$ac_xsave_LIBS -R $x_libraries"
30632 cat >conftest.$ac_ext <<_ACEOF
30633 /* confdefs.h. */
30634 _ACEOF
30635 cat confdefs.h >>conftest.$ac_ext
30636 cat >>conftest.$ac_ext <<_ACEOF
30637 /* end confdefs.h. */
30638
30639 int
30640 main ()
30641 {
30642
30643 ;
30644 return 0;
30645 }
30646 _ACEOF
30647 rm -f conftest.$ac_objext conftest$ac_exeext
30648 if { (ac_try="$ac_link"
30649 case "(($ac_try" in
30650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30651 *) ac_try_echo=$ac_try;;
30652 esac
30653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30654 (eval "$ac_link") 2>conftest.er1
30655 ac_status=$?
30656 grep -v '^ *+' conftest.er1 >conftest.err
30657 rm -f conftest.er1
30658 cat conftest.err >&5
30659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660 (exit $ac_status); } && {
30661 test -z "$ac_c_werror_flag" ||
30662 test ! -s conftest.err
30663 } && test -s conftest$ac_exeext &&
30664 $as_test_x conftest$ac_exeext; then
30665 { echo "$as_me:$LINENO: result: yes" >&5
30666 echo "${ECHO_T}yes" >&6; }
30667 X_LIBS="$X_LIBS -R $x_libraries"
30668 else
30669 echo "$as_me: failed program was:" >&5
30670 sed 's/^/| /' conftest.$ac_ext >&5
30671
30672 { echo "$as_me:$LINENO: result: neither works" >&5
30673 echo "${ECHO_T}neither works" >&6; }
30674 fi
30675
30676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30677 conftest$ac_exeext conftest.$ac_ext
30678 fi
30679
30680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30681 conftest$ac_exeext conftest.$ac_ext
30682 ac_c_werror_flag=$ac_xsave_c_werror_flag
30683 LIBS=$ac_xsave_LIBS
30684 fi
30685
30686 # Check for system-dependent libraries X programs must link with.
30687 # Do this before checking for the system-independent R6 libraries
30688 # (-lICE), since we may need -lsocket or whatever for X linking.
30689
30690 if test "$ISC" = yes; then
30691 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30692 else
30693 # Martyn Johnson says this is needed for Ultrix, if the X
30694 # libraries were built with DECnet support. And Karl Berry says
30695 # the Alpha needs dnet_stub (dnet does not exist).
30696 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30697 cat >conftest.$ac_ext <<_ACEOF
30698 /* confdefs.h. */
30699 _ACEOF
30700 cat confdefs.h >>conftest.$ac_ext
30701 cat >>conftest.$ac_ext <<_ACEOF
30702 /* end confdefs.h. */
30703
30704 /* Override any GCC internal prototype to avoid an error.
30705 Use char because int might match the return type of a GCC
30706 builtin and then its argument prototype would still apply. */
30707 #ifdef __cplusplus
30708 extern "C"
30709 #endif
30710 char XOpenDisplay ();
30711 int
30712 main ()
30713 {
30714 return XOpenDisplay ();
30715 ;
30716 return 0;
30717 }
30718 _ACEOF
30719 rm -f conftest.$ac_objext conftest$ac_exeext
30720 if { (ac_try="$ac_link"
30721 case "(($ac_try" in
30722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30723 *) ac_try_echo=$ac_try;;
30724 esac
30725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30726 (eval "$ac_link") 2>conftest.er1
30727 ac_status=$?
30728 grep -v '^ *+' conftest.er1 >conftest.err
30729 rm -f conftest.er1
30730 cat conftest.err >&5
30731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30732 (exit $ac_status); } && {
30733 test -z "$ac_c_werror_flag" ||
30734 test ! -s conftest.err
30735 } && test -s conftest$ac_exeext &&
30736 $as_test_x conftest$ac_exeext; then
30737 :
30738 else
30739 echo "$as_me: failed program was:" >&5
30740 sed 's/^/| /' conftest.$ac_ext >&5
30741
30742 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30743 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30744 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30745 echo $ECHO_N "(cached) $ECHO_C" >&6
30746 else
30747 ac_check_lib_save_LIBS=$LIBS
30748 LIBS="-ldnet $LIBS"
30749 cat >conftest.$ac_ext <<_ACEOF
30750 /* confdefs.h. */
30751 _ACEOF
30752 cat confdefs.h >>conftest.$ac_ext
30753 cat >>conftest.$ac_ext <<_ACEOF
30754 /* end confdefs.h. */
30755
30756 /* Override any GCC internal prototype to avoid an error.
30757 Use char because int might match the return type of a GCC
30758 builtin and then its argument prototype would still apply. */
30759 #ifdef __cplusplus
30760 extern "C"
30761 #endif
30762 char dnet_ntoa ();
30763 int
30764 main ()
30765 {
30766 return dnet_ntoa ();
30767 ;
30768 return 0;
30769 }
30770 _ACEOF
30771 rm -f conftest.$ac_objext conftest$ac_exeext
30772 if { (ac_try="$ac_link"
30773 case "(($ac_try" in
30774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30775 *) ac_try_echo=$ac_try;;
30776 esac
30777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30778 (eval "$ac_link") 2>conftest.er1
30779 ac_status=$?
30780 grep -v '^ *+' conftest.er1 >conftest.err
30781 rm -f conftest.er1
30782 cat conftest.err >&5
30783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784 (exit $ac_status); } && {
30785 test -z "$ac_c_werror_flag" ||
30786 test ! -s conftest.err
30787 } && test -s conftest$ac_exeext &&
30788 $as_test_x conftest$ac_exeext; then
30789 ac_cv_lib_dnet_dnet_ntoa=yes
30790 else
30791 echo "$as_me: failed program was:" >&5
30792 sed 's/^/| /' conftest.$ac_ext >&5
30793
30794 ac_cv_lib_dnet_dnet_ntoa=no
30795 fi
30796
30797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30798 conftest$ac_exeext conftest.$ac_ext
30799 LIBS=$ac_check_lib_save_LIBS
30800 fi
30801 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30802 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30803 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30804 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30805 fi
30806
30807 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30808 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30809 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30810 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30811 echo $ECHO_N "(cached) $ECHO_C" >&6
30812 else
30813 ac_check_lib_save_LIBS=$LIBS
30814 LIBS="-ldnet_stub $LIBS"
30815 cat >conftest.$ac_ext <<_ACEOF
30816 /* confdefs.h. */
30817 _ACEOF
30818 cat confdefs.h >>conftest.$ac_ext
30819 cat >>conftest.$ac_ext <<_ACEOF
30820 /* end confdefs.h. */
30821
30822 /* Override any GCC internal prototype to avoid an error.
30823 Use char because int might match the return type of a GCC
30824 builtin and then its argument prototype would still apply. */
30825 #ifdef __cplusplus
30826 extern "C"
30827 #endif
30828 char dnet_ntoa ();
30829 int
30830 main ()
30831 {
30832 return dnet_ntoa ();
30833 ;
30834 return 0;
30835 }
30836 _ACEOF
30837 rm -f conftest.$ac_objext conftest$ac_exeext
30838 if { (ac_try="$ac_link"
30839 case "(($ac_try" in
30840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30841 *) ac_try_echo=$ac_try;;
30842 esac
30843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30844 (eval "$ac_link") 2>conftest.er1
30845 ac_status=$?
30846 grep -v '^ *+' conftest.er1 >conftest.err
30847 rm -f conftest.er1
30848 cat conftest.err >&5
30849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30850 (exit $ac_status); } && {
30851 test -z "$ac_c_werror_flag" ||
30852 test ! -s conftest.err
30853 } && test -s conftest$ac_exeext &&
30854 $as_test_x conftest$ac_exeext; then
30855 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30856 else
30857 echo "$as_me: failed program was:" >&5
30858 sed 's/^/| /' conftest.$ac_ext >&5
30859
30860 ac_cv_lib_dnet_stub_dnet_ntoa=no
30861 fi
30862
30863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30864 conftest$ac_exeext conftest.$ac_ext
30865 LIBS=$ac_check_lib_save_LIBS
30866 fi
30867 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30868 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30869 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30870 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30871 fi
30872
30873 fi
30874 fi
30875
30876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30877 conftest$ac_exeext conftest.$ac_ext
30878 LIBS="$ac_xsave_LIBS"
30879
30880 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30881 # to get the SysV transport functions.
30882 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30883 # needs -lnsl.
30884 # The nsl library prevents programs from opening the X display
30885 # on Irix 5.2, according to T.E. Dickey.
30886 # The functions gethostbyname, getservbyname, and inet_addr are
30887 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30888 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30889 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30890 if test "${ac_cv_func_gethostbyname+set}" = set; then
30891 echo $ECHO_N "(cached) $ECHO_C" >&6
30892 else
30893 cat >conftest.$ac_ext <<_ACEOF
30894 /* confdefs.h. */
30895 _ACEOF
30896 cat confdefs.h >>conftest.$ac_ext
30897 cat >>conftest.$ac_ext <<_ACEOF
30898 /* end confdefs.h. */
30899 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30901 #define gethostbyname innocuous_gethostbyname
30902
30903 /* System header to define __stub macros and hopefully few prototypes,
30904 which can conflict with char gethostbyname (); below.
30905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30906 <limits.h> exists even on freestanding compilers. */
30907
30908 #ifdef __STDC__
30909 # include <limits.h>
30910 #else
30911 # include <assert.h>
30912 #endif
30913
30914 #undef gethostbyname
30915
30916 /* Override any GCC internal prototype to avoid an error.
30917 Use char because int might match the return type of a GCC
30918 builtin and then its argument prototype would still apply. */
30919 #ifdef __cplusplus
30920 extern "C"
30921 #endif
30922 char gethostbyname ();
30923 /* The GNU C library defines this for functions which it implements
30924 to always fail with ENOSYS. Some functions are actually named
30925 something starting with __ and the normal name is an alias. */
30926 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30927 choke me
30928 #endif
30929
30930 int
30931 main ()
30932 {
30933 return gethostbyname ();
30934 ;
30935 return 0;
30936 }
30937 _ACEOF
30938 rm -f conftest.$ac_objext conftest$ac_exeext
30939 if { (ac_try="$ac_link"
30940 case "(($ac_try" in
30941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30942 *) ac_try_echo=$ac_try;;
30943 esac
30944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30945 (eval "$ac_link") 2>conftest.er1
30946 ac_status=$?
30947 grep -v '^ *+' conftest.er1 >conftest.err
30948 rm -f conftest.er1
30949 cat conftest.err >&5
30950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30951 (exit $ac_status); } && {
30952 test -z "$ac_c_werror_flag" ||
30953 test ! -s conftest.err
30954 } && test -s conftest$ac_exeext &&
30955 $as_test_x conftest$ac_exeext; then
30956 ac_cv_func_gethostbyname=yes
30957 else
30958 echo "$as_me: failed program was:" >&5
30959 sed 's/^/| /' conftest.$ac_ext >&5
30960
30961 ac_cv_func_gethostbyname=no
30962 fi
30963
30964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30965 conftest$ac_exeext conftest.$ac_ext
30966 fi
30967 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30968 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30969
30970 if test $ac_cv_func_gethostbyname = no; then
30971 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30972 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30973 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30974 echo $ECHO_N "(cached) $ECHO_C" >&6
30975 else
30976 ac_check_lib_save_LIBS=$LIBS
30977 LIBS="-lnsl $LIBS"
30978 cat >conftest.$ac_ext <<_ACEOF
30979 /* confdefs.h. */
30980 _ACEOF
30981 cat confdefs.h >>conftest.$ac_ext
30982 cat >>conftest.$ac_ext <<_ACEOF
30983 /* end confdefs.h. */
30984
30985 /* Override any GCC internal prototype to avoid an error.
30986 Use char because int might match the return type of a GCC
30987 builtin and then its argument prototype would still apply. */
30988 #ifdef __cplusplus
30989 extern "C"
30990 #endif
30991 char gethostbyname ();
30992 int
30993 main ()
30994 {
30995 return gethostbyname ();
30996 ;
30997 return 0;
30998 }
30999 _ACEOF
31000 rm -f conftest.$ac_objext conftest$ac_exeext
31001 if { (ac_try="$ac_link"
31002 case "(($ac_try" in
31003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31004 *) ac_try_echo=$ac_try;;
31005 esac
31006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31007 (eval "$ac_link") 2>conftest.er1
31008 ac_status=$?
31009 grep -v '^ *+' conftest.er1 >conftest.err
31010 rm -f conftest.er1
31011 cat conftest.err >&5
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); } && {
31014 test -z "$ac_c_werror_flag" ||
31015 test ! -s conftest.err
31016 } && test -s conftest$ac_exeext &&
31017 $as_test_x conftest$ac_exeext; then
31018 ac_cv_lib_nsl_gethostbyname=yes
31019 else
31020 echo "$as_me: failed program was:" >&5
31021 sed 's/^/| /' conftest.$ac_ext >&5
31022
31023 ac_cv_lib_nsl_gethostbyname=no
31024 fi
31025
31026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31027 conftest$ac_exeext conftest.$ac_ext
31028 LIBS=$ac_check_lib_save_LIBS
31029 fi
31030 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31031 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31032 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31033 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31034 fi
31035
31036 if test $ac_cv_lib_nsl_gethostbyname = no; then
31037 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31038 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31039 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31040 echo $ECHO_N "(cached) $ECHO_C" >&6
31041 else
31042 ac_check_lib_save_LIBS=$LIBS
31043 LIBS="-lbsd $LIBS"
31044 cat >conftest.$ac_ext <<_ACEOF
31045 /* confdefs.h. */
31046 _ACEOF
31047 cat confdefs.h >>conftest.$ac_ext
31048 cat >>conftest.$ac_ext <<_ACEOF
31049 /* end confdefs.h. */
31050
31051 /* Override any GCC internal prototype to avoid an error.
31052 Use char because int might match the return type of a GCC
31053 builtin and then its argument prototype would still apply. */
31054 #ifdef __cplusplus
31055 extern "C"
31056 #endif
31057 char gethostbyname ();
31058 int
31059 main ()
31060 {
31061 return gethostbyname ();
31062 ;
31063 return 0;
31064 }
31065 _ACEOF
31066 rm -f conftest.$ac_objext conftest$ac_exeext
31067 if { (ac_try="$ac_link"
31068 case "(($ac_try" in
31069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31070 *) ac_try_echo=$ac_try;;
31071 esac
31072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31073 (eval "$ac_link") 2>conftest.er1
31074 ac_status=$?
31075 grep -v '^ *+' conftest.er1 >conftest.err
31076 rm -f conftest.er1
31077 cat conftest.err >&5
31078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31079 (exit $ac_status); } && {
31080 test -z "$ac_c_werror_flag" ||
31081 test ! -s conftest.err
31082 } && test -s conftest$ac_exeext &&
31083 $as_test_x conftest$ac_exeext; then
31084 ac_cv_lib_bsd_gethostbyname=yes
31085 else
31086 echo "$as_me: failed program was:" >&5
31087 sed 's/^/| /' conftest.$ac_ext >&5
31088
31089 ac_cv_lib_bsd_gethostbyname=no
31090 fi
31091
31092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31093 conftest$ac_exeext conftest.$ac_ext
31094 LIBS=$ac_check_lib_save_LIBS
31095 fi
31096 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31097 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31098 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31099 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31100 fi
31101
31102 fi
31103 fi
31104
31105 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31106 # socket/setsockopt and other routines are undefined under SCO ODT
31107 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31108 # on later versions), says Simon Leinen: it contains gethostby*
31109 # variants that don't use the name server (or something). -lsocket
31110 # must be given before -lnsl if both are needed. We assume that
31111 # if connect needs -lnsl, so does gethostbyname.
31112 { echo "$as_me:$LINENO: checking for connect" >&5
31113 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31114 if test "${ac_cv_func_connect+set}" = set; then
31115 echo $ECHO_N "(cached) $ECHO_C" >&6
31116 else
31117 cat >conftest.$ac_ext <<_ACEOF
31118 /* confdefs.h. */
31119 _ACEOF
31120 cat confdefs.h >>conftest.$ac_ext
31121 cat >>conftest.$ac_ext <<_ACEOF
31122 /* end confdefs.h. */
31123 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31125 #define connect innocuous_connect
31126
31127 /* System header to define __stub macros and hopefully few prototypes,
31128 which can conflict with char connect (); below.
31129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31130 <limits.h> exists even on freestanding compilers. */
31131
31132 #ifdef __STDC__
31133 # include <limits.h>
31134 #else
31135 # include <assert.h>
31136 #endif
31137
31138 #undef connect
31139
31140 /* Override any GCC internal prototype to avoid an error.
31141 Use char because int might match the return type of a GCC
31142 builtin and then its argument prototype would still apply. */
31143 #ifdef __cplusplus
31144 extern "C"
31145 #endif
31146 char connect ();
31147 /* The GNU C library defines this for functions which it implements
31148 to always fail with ENOSYS. Some functions are actually named
31149 something starting with __ and the normal name is an alias. */
31150 #if defined __stub_connect || defined __stub___connect
31151 choke me
31152 #endif
31153
31154 int
31155 main ()
31156 {
31157 return connect ();
31158 ;
31159 return 0;
31160 }
31161 _ACEOF
31162 rm -f conftest.$ac_objext conftest$ac_exeext
31163 if { (ac_try="$ac_link"
31164 case "(($ac_try" in
31165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31166 *) ac_try_echo=$ac_try;;
31167 esac
31168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31169 (eval "$ac_link") 2>conftest.er1
31170 ac_status=$?
31171 grep -v '^ *+' conftest.er1 >conftest.err
31172 rm -f conftest.er1
31173 cat conftest.err >&5
31174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31175 (exit $ac_status); } && {
31176 test -z "$ac_c_werror_flag" ||
31177 test ! -s conftest.err
31178 } && test -s conftest$ac_exeext &&
31179 $as_test_x conftest$ac_exeext; then
31180 ac_cv_func_connect=yes
31181 else
31182 echo "$as_me: failed program was:" >&5
31183 sed 's/^/| /' conftest.$ac_ext >&5
31184
31185 ac_cv_func_connect=no
31186 fi
31187
31188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31189 conftest$ac_exeext conftest.$ac_ext
31190 fi
31191 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31192 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31193
31194 if test $ac_cv_func_connect = no; then
31195 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31196 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31197 if test "${ac_cv_lib_socket_connect+set}" = set; then
31198 echo $ECHO_N "(cached) $ECHO_C" >&6
31199 else
31200 ac_check_lib_save_LIBS=$LIBS
31201 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31202 cat >conftest.$ac_ext <<_ACEOF
31203 /* confdefs.h. */
31204 _ACEOF
31205 cat confdefs.h >>conftest.$ac_ext
31206 cat >>conftest.$ac_ext <<_ACEOF
31207 /* end confdefs.h. */
31208
31209 /* Override any GCC internal prototype to avoid an error.
31210 Use char because int might match the return type of a GCC
31211 builtin and then its argument prototype would still apply. */
31212 #ifdef __cplusplus
31213 extern "C"
31214 #endif
31215 char connect ();
31216 int
31217 main ()
31218 {
31219 return connect ();
31220 ;
31221 return 0;
31222 }
31223 _ACEOF
31224 rm -f conftest.$ac_objext conftest$ac_exeext
31225 if { (ac_try="$ac_link"
31226 case "(($ac_try" in
31227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31228 *) ac_try_echo=$ac_try;;
31229 esac
31230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31231 (eval "$ac_link") 2>conftest.er1
31232 ac_status=$?
31233 grep -v '^ *+' conftest.er1 >conftest.err
31234 rm -f conftest.er1
31235 cat conftest.err >&5
31236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31237 (exit $ac_status); } && {
31238 test -z "$ac_c_werror_flag" ||
31239 test ! -s conftest.err
31240 } && test -s conftest$ac_exeext &&
31241 $as_test_x conftest$ac_exeext; then
31242 ac_cv_lib_socket_connect=yes
31243 else
31244 echo "$as_me: failed program was:" >&5
31245 sed 's/^/| /' conftest.$ac_ext >&5
31246
31247 ac_cv_lib_socket_connect=no
31248 fi
31249
31250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31251 conftest$ac_exeext conftest.$ac_ext
31252 LIBS=$ac_check_lib_save_LIBS
31253 fi
31254 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31255 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31256 if test $ac_cv_lib_socket_connect = yes; then
31257 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31258 fi
31259
31260 fi
31261
31262 # Guillermo Gomez says -lposix is necessary on A/UX.
31263 { echo "$as_me:$LINENO: checking for remove" >&5
31264 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31265 if test "${ac_cv_func_remove+set}" = set; then
31266 echo $ECHO_N "(cached) $ECHO_C" >&6
31267 else
31268 cat >conftest.$ac_ext <<_ACEOF
31269 /* confdefs.h. */
31270 _ACEOF
31271 cat confdefs.h >>conftest.$ac_ext
31272 cat >>conftest.$ac_ext <<_ACEOF
31273 /* end confdefs.h. */
31274 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31276 #define remove innocuous_remove
31277
31278 /* System header to define __stub macros and hopefully few prototypes,
31279 which can conflict with char remove (); below.
31280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31281 <limits.h> exists even on freestanding compilers. */
31282
31283 #ifdef __STDC__
31284 # include <limits.h>
31285 #else
31286 # include <assert.h>
31287 #endif
31288
31289 #undef remove
31290
31291 /* Override any GCC internal prototype to avoid an error.
31292 Use char because int might match the return type of a GCC
31293 builtin and then its argument prototype would still apply. */
31294 #ifdef __cplusplus
31295 extern "C"
31296 #endif
31297 char remove ();
31298 /* The GNU C library defines this for functions which it implements
31299 to always fail with ENOSYS. Some functions are actually named
31300 something starting with __ and the normal name is an alias. */
31301 #if defined __stub_remove || defined __stub___remove
31302 choke me
31303 #endif
31304
31305 int
31306 main ()
31307 {
31308 return remove ();
31309 ;
31310 return 0;
31311 }
31312 _ACEOF
31313 rm -f conftest.$ac_objext conftest$ac_exeext
31314 if { (ac_try="$ac_link"
31315 case "(($ac_try" in
31316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31317 *) ac_try_echo=$ac_try;;
31318 esac
31319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31320 (eval "$ac_link") 2>conftest.er1
31321 ac_status=$?
31322 grep -v '^ *+' conftest.er1 >conftest.err
31323 rm -f conftest.er1
31324 cat conftest.err >&5
31325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31326 (exit $ac_status); } && {
31327 test -z "$ac_c_werror_flag" ||
31328 test ! -s conftest.err
31329 } && test -s conftest$ac_exeext &&
31330 $as_test_x conftest$ac_exeext; then
31331 ac_cv_func_remove=yes
31332 else
31333 echo "$as_me: failed program was:" >&5
31334 sed 's/^/| /' conftest.$ac_ext >&5
31335
31336 ac_cv_func_remove=no
31337 fi
31338
31339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31340 conftest$ac_exeext conftest.$ac_ext
31341 fi
31342 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31343 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31344
31345 if test $ac_cv_func_remove = no; then
31346 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31347 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31348 if test "${ac_cv_lib_posix_remove+set}" = set; then
31349 echo $ECHO_N "(cached) $ECHO_C" >&6
31350 else
31351 ac_check_lib_save_LIBS=$LIBS
31352 LIBS="-lposix $LIBS"
31353 cat >conftest.$ac_ext <<_ACEOF
31354 /* confdefs.h. */
31355 _ACEOF
31356 cat confdefs.h >>conftest.$ac_ext
31357 cat >>conftest.$ac_ext <<_ACEOF
31358 /* end confdefs.h. */
31359
31360 /* Override any GCC internal prototype to avoid an error.
31361 Use char because int might match the return type of a GCC
31362 builtin and then its argument prototype would still apply. */
31363 #ifdef __cplusplus
31364 extern "C"
31365 #endif
31366 char remove ();
31367 int
31368 main ()
31369 {
31370 return remove ();
31371 ;
31372 return 0;
31373 }
31374 _ACEOF
31375 rm -f conftest.$ac_objext conftest$ac_exeext
31376 if { (ac_try="$ac_link"
31377 case "(($ac_try" in
31378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31379 *) ac_try_echo=$ac_try;;
31380 esac
31381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31382 (eval "$ac_link") 2>conftest.er1
31383 ac_status=$?
31384 grep -v '^ *+' conftest.er1 >conftest.err
31385 rm -f conftest.er1
31386 cat conftest.err >&5
31387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388 (exit $ac_status); } && {
31389 test -z "$ac_c_werror_flag" ||
31390 test ! -s conftest.err
31391 } && test -s conftest$ac_exeext &&
31392 $as_test_x conftest$ac_exeext; then
31393 ac_cv_lib_posix_remove=yes
31394 else
31395 echo "$as_me: failed program was:" >&5
31396 sed 's/^/| /' conftest.$ac_ext >&5
31397
31398 ac_cv_lib_posix_remove=no
31399 fi
31400
31401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31402 conftest$ac_exeext conftest.$ac_ext
31403 LIBS=$ac_check_lib_save_LIBS
31404 fi
31405 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31406 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31407 if test $ac_cv_lib_posix_remove = yes; then
31408 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31409 fi
31410
31411 fi
31412
31413 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31414 { echo "$as_me:$LINENO: checking for shmat" >&5
31415 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31416 if test "${ac_cv_func_shmat+set}" = set; then
31417 echo $ECHO_N "(cached) $ECHO_C" >&6
31418 else
31419 cat >conftest.$ac_ext <<_ACEOF
31420 /* confdefs.h. */
31421 _ACEOF
31422 cat confdefs.h >>conftest.$ac_ext
31423 cat >>conftest.$ac_ext <<_ACEOF
31424 /* end confdefs.h. */
31425 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31427 #define shmat innocuous_shmat
31428
31429 /* System header to define __stub macros and hopefully few prototypes,
31430 which can conflict with char shmat (); below.
31431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31432 <limits.h> exists even on freestanding compilers. */
31433
31434 #ifdef __STDC__
31435 # include <limits.h>
31436 #else
31437 # include <assert.h>
31438 #endif
31439
31440 #undef shmat
31441
31442 /* Override any GCC internal prototype to avoid an error.
31443 Use char because int might match the return type of a GCC
31444 builtin and then its argument prototype would still apply. */
31445 #ifdef __cplusplus
31446 extern "C"
31447 #endif
31448 char shmat ();
31449 /* The GNU C library defines this for functions which it implements
31450 to always fail with ENOSYS. Some functions are actually named
31451 something starting with __ and the normal name is an alias. */
31452 #if defined __stub_shmat || defined __stub___shmat
31453 choke me
31454 #endif
31455
31456 int
31457 main ()
31458 {
31459 return shmat ();
31460 ;
31461 return 0;
31462 }
31463 _ACEOF
31464 rm -f conftest.$ac_objext conftest$ac_exeext
31465 if { (ac_try="$ac_link"
31466 case "(($ac_try" in
31467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31468 *) ac_try_echo=$ac_try;;
31469 esac
31470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31471 (eval "$ac_link") 2>conftest.er1
31472 ac_status=$?
31473 grep -v '^ *+' conftest.er1 >conftest.err
31474 rm -f conftest.er1
31475 cat conftest.err >&5
31476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31477 (exit $ac_status); } && {
31478 test -z "$ac_c_werror_flag" ||
31479 test ! -s conftest.err
31480 } && test -s conftest$ac_exeext &&
31481 $as_test_x conftest$ac_exeext; then
31482 ac_cv_func_shmat=yes
31483 else
31484 echo "$as_me: failed program was:" >&5
31485 sed 's/^/| /' conftest.$ac_ext >&5
31486
31487 ac_cv_func_shmat=no
31488 fi
31489
31490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31491 conftest$ac_exeext conftest.$ac_ext
31492 fi
31493 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31494 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31495
31496 if test $ac_cv_func_shmat = no; then
31497 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31498 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31499 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31500 echo $ECHO_N "(cached) $ECHO_C" >&6
31501 else
31502 ac_check_lib_save_LIBS=$LIBS
31503 LIBS="-lipc $LIBS"
31504 cat >conftest.$ac_ext <<_ACEOF
31505 /* confdefs.h. */
31506 _ACEOF
31507 cat confdefs.h >>conftest.$ac_ext
31508 cat >>conftest.$ac_ext <<_ACEOF
31509 /* end confdefs.h. */
31510
31511 /* Override any GCC internal prototype to avoid an error.
31512 Use char because int might match the return type of a GCC
31513 builtin and then its argument prototype would still apply. */
31514 #ifdef __cplusplus
31515 extern "C"
31516 #endif
31517 char shmat ();
31518 int
31519 main ()
31520 {
31521 return shmat ();
31522 ;
31523 return 0;
31524 }
31525 _ACEOF
31526 rm -f conftest.$ac_objext conftest$ac_exeext
31527 if { (ac_try="$ac_link"
31528 case "(($ac_try" in
31529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31530 *) ac_try_echo=$ac_try;;
31531 esac
31532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31533 (eval "$ac_link") 2>conftest.er1
31534 ac_status=$?
31535 grep -v '^ *+' conftest.er1 >conftest.err
31536 rm -f conftest.er1
31537 cat conftest.err >&5
31538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539 (exit $ac_status); } && {
31540 test -z "$ac_c_werror_flag" ||
31541 test ! -s conftest.err
31542 } && test -s conftest$ac_exeext &&
31543 $as_test_x conftest$ac_exeext; then
31544 ac_cv_lib_ipc_shmat=yes
31545 else
31546 echo "$as_me: failed program was:" >&5
31547 sed 's/^/| /' conftest.$ac_ext >&5
31548
31549 ac_cv_lib_ipc_shmat=no
31550 fi
31551
31552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31553 conftest$ac_exeext conftest.$ac_ext
31554 LIBS=$ac_check_lib_save_LIBS
31555 fi
31556 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31557 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31558 if test $ac_cv_lib_ipc_shmat = yes; then
31559 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31560 fi
31561
31562 fi
31563 fi
31564
31565 # Check for libraries that X11R6 Xt/Xaw programs need.
31566 ac_save_LDFLAGS=$LDFLAGS
31567 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31568 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31569 # check for ICE first), but we must link in the order -lSM -lICE or
31570 # we get undefined symbols. So assume we have SM if we have ICE.
31571 # These have to be linked with before -lX11, unlike the other
31572 # libraries we check for below, so use a different variable.
31573 # John Interrante, Karl Berry
31574 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31575 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31576 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31577 echo $ECHO_N "(cached) $ECHO_C" >&6
31578 else
31579 ac_check_lib_save_LIBS=$LIBS
31580 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31581 cat >conftest.$ac_ext <<_ACEOF
31582 /* confdefs.h. */
31583 _ACEOF
31584 cat confdefs.h >>conftest.$ac_ext
31585 cat >>conftest.$ac_ext <<_ACEOF
31586 /* end confdefs.h. */
31587
31588 /* Override any GCC internal prototype to avoid an error.
31589 Use char because int might match the return type of a GCC
31590 builtin and then its argument prototype would still apply. */
31591 #ifdef __cplusplus
31592 extern "C"
31593 #endif
31594 char IceConnectionNumber ();
31595 int
31596 main ()
31597 {
31598 return IceConnectionNumber ();
31599 ;
31600 return 0;
31601 }
31602 _ACEOF
31603 rm -f conftest.$ac_objext conftest$ac_exeext
31604 if { (ac_try="$ac_link"
31605 case "(($ac_try" in
31606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31607 *) ac_try_echo=$ac_try;;
31608 esac
31609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31610 (eval "$ac_link") 2>conftest.er1
31611 ac_status=$?
31612 grep -v '^ *+' conftest.er1 >conftest.err
31613 rm -f conftest.er1
31614 cat conftest.err >&5
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); } && {
31617 test -z "$ac_c_werror_flag" ||
31618 test ! -s conftest.err
31619 } && test -s conftest$ac_exeext &&
31620 $as_test_x conftest$ac_exeext; then
31621 ac_cv_lib_ICE_IceConnectionNumber=yes
31622 else
31623 echo "$as_me: failed program was:" >&5
31624 sed 's/^/| /' conftest.$ac_ext >&5
31625
31626 ac_cv_lib_ICE_IceConnectionNumber=no
31627 fi
31628
31629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31630 conftest$ac_exeext conftest.$ac_ext
31631 LIBS=$ac_check_lib_save_LIBS
31632 fi
31633 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31634 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31635 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31636 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31637 fi
31638
31639 LDFLAGS=$ac_save_LDFLAGS
31640
31641 fi
31642
31643
31644 if test "$no_x" = "yes"; then
31645 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31646 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31647 { (exit 1); exit 1; }; }
31648 fi
31649
31650 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31651 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31652 AFMINSTALL=afminstall
31653 COMPILED_X_PROGRAM=0
31654
31655 fi
31656
31657 if test "$wxUSE_X11" = 1; then
31658 if test "$wxUSE_NANOX" = "yes"; then
31659 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31660 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31661 if test "x$MICROWIN" = x ; then
31662 { echo "$as_me:$LINENO: result: not found" >&5
31663 echo "${ECHO_T}not found" >&6; }
31664 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31665 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31666 { (exit 1); exit 1; }; }
31667 else
31668 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31669 echo "${ECHO_T}$MICROWIN" >&6; }
31670 cat >>confdefs.h <<\_ACEOF
31671 #define wxUSE_NANOX 1
31672 _ACEOF
31673
31674 fi
31675 fi
31676
31677 if test "$wxUSE_UNICODE" = "yes"; then
31678
31679
31680 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31681 if test -n "$ac_tool_prefix"; then
31682 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31683 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31684 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31686 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31687 echo $ECHO_N "(cached) $ECHO_C" >&6
31688 else
31689 case $PKG_CONFIG in
31690 [\\/]* | ?:[\\/]*)
31691 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31692 ;;
31693 *)
31694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31695 for as_dir in $PATH
31696 do
31697 IFS=$as_save_IFS
31698 test -z "$as_dir" && as_dir=.
31699 for ac_exec_ext in '' $ac_executable_extensions; do
31700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31701 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31703 break 2
31704 fi
31705 done
31706 done
31707 IFS=$as_save_IFS
31708
31709 ;;
31710 esac
31711 fi
31712 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31713 if test -n "$PKG_CONFIG"; then
31714 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31715 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31716 else
31717 { echo "$as_me:$LINENO: result: no" >&5
31718 echo "${ECHO_T}no" >&6; }
31719 fi
31720
31721
31722 fi
31723 if test -z "$ac_cv_path_PKG_CONFIG"; then
31724 ac_pt_PKG_CONFIG=$PKG_CONFIG
31725 # Extract the first word of "pkg-config", so it can be a program name with args.
31726 set dummy pkg-config; ac_word=$2
31727 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31729 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31730 echo $ECHO_N "(cached) $ECHO_C" >&6
31731 else
31732 case $ac_pt_PKG_CONFIG in
31733 [\\/]* | ?:[\\/]*)
31734 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31735 ;;
31736 *)
31737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31738 for as_dir in $PATH
31739 do
31740 IFS=$as_save_IFS
31741 test -z "$as_dir" && as_dir=.
31742 for ac_exec_ext in '' $ac_executable_extensions; do
31743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31744 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31746 break 2
31747 fi
31748 done
31749 done
31750 IFS=$as_save_IFS
31751
31752 ;;
31753 esac
31754 fi
31755 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31756 if test -n "$ac_pt_PKG_CONFIG"; then
31757 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31758 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31759 else
31760 { echo "$as_me:$LINENO: result: no" >&5
31761 echo "${ECHO_T}no" >&6; }
31762 fi
31763
31764 if test "x$ac_pt_PKG_CONFIG" = x; then
31765 PKG_CONFIG=""
31766 else
31767 case $cross_compiling:$ac_tool_warned in
31768 yes:)
31769 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31770 whose name does not start with the host triplet. If you think this
31771 configuration is useful to you, please write to autoconf@gnu.org." >&5
31772 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31773 whose name does not start with the host triplet. If you think this
31774 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31775 ac_tool_warned=yes ;;
31776 esac
31777 PKG_CONFIG=$ac_pt_PKG_CONFIG
31778 fi
31779 else
31780 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31781 fi
31782
31783 fi
31784 if test -n "$PKG_CONFIG"; then
31785 _pkg_min_version=0.9.0
31786 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31787 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31788 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31789 { echo "$as_me:$LINENO: result: yes" >&5
31790 echo "${ECHO_T}yes" >&6; }
31791 else
31792 { echo "$as_me:$LINENO: result: no" >&5
31793 echo "${ECHO_T}no" >&6; }
31794 PKG_CONFIG=""
31795 fi
31796
31797 fi
31798
31799
31800 pkg_failed=no
31801 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31802 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31803
31804 if test -n "$PKG_CONFIG"; then
31805 if test -n "$PANGOX_CFLAGS"; then
31806 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31807 else
31808 if test -n "$PKG_CONFIG" && \
31809 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31810 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31811 ac_status=$?
31812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813 (exit $ac_status); }; then
31814 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31815 else
31816 pkg_failed=yes
31817 fi
31818 fi
31819 else
31820 pkg_failed=untried
31821 fi
31822 if test -n "$PKG_CONFIG"; then
31823 if test -n "$PANGOX_LIBS"; then
31824 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31825 else
31826 if test -n "$PKG_CONFIG" && \
31827 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31828 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31829 ac_status=$?
31830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31831 (exit $ac_status); }; then
31832 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31833 else
31834 pkg_failed=yes
31835 fi
31836 fi
31837 else
31838 pkg_failed=untried
31839 fi
31840
31841
31842
31843 if test $pkg_failed = yes; then
31844
31845 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31846 _pkg_short_errors_supported=yes
31847 else
31848 _pkg_short_errors_supported=no
31849 fi
31850 if test $_pkg_short_errors_supported = yes; then
31851 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31852 else
31853 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31854 fi
31855 # Put the nasty error message in config.log where it belongs
31856 echo "$PANGOX_PKG_ERRORS" >&5
31857
31858
31859 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31860 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31861 { (exit 1); exit 1; }; }
31862
31863
31864 elif test $pkg_failed = untried; then
31865
31866 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31867 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31868 { (exit 1); exit 1; }; }
31869
31870
31871 else
31872 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31873 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31874 { echo "$as_me:$LINENO: result: yes" >&5
31875 echo "${ECHO_T}yes" >&6; }
31876
31877 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31878 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31879 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31880
31881 fi
31882
31883 pkg_failed=no
31884 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31885 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31886
31887 if test -n "$PKG_CONFIG"; then
31888 if test -n "$PANGOFT2_CFLAGS"; then
31889 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31890 else
31891 if test -n "$PKG_CONFIG" && \
31892 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31893 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31894 ac_status=$?
31895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31896 (exit $ac_status); }; then
31897 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31898 else
31899 pkg_failed=yes
31900 fi
31901 fi
31902 else
31903 pkg_failed=untried
31904 fi
31905 if test -n "$PKG_CONFIG"; then
31906 if test -n "$PANGOFT2_LIBS"; then
31907 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31908 else
31909 if test -n "$PKG_CONFIG" && \
31910 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31911 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31912 ac_status=$?
31913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31914 (exit $ac_status); }; then
31915 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31916 else
31917 pkg_failed=yes
31918 fi
31919 fi
31920 else
31921 pkg_failed=untried
31922 fi
31923
31924
31925
31926 if test $pkg_failed = yes; then
31927
31928 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31929 _pkg_short_errors_supported=yes
31930 else
31931 _pkg_short_errors_supported=no
31932 fi
31933 if test $_pkg_short_errors_supported = yes; then
31934 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31935 else
31936 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31937 fi
31938 # Put the nasty error message in config.log where it belongs
31939 echo "$PANGOFT2_PKG_ERRORS" >&5
31940
31941
31942 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31943 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31944 wxUSE_PRINTING_ARCHITECTURE="no"
31945
31946
31947 elif test $pkg_failed = untried; then
31948
31949 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31950 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31951 wxUSE_PRINTING_ARCHITECTURE="no"
31952
31953
31954 else
31955 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31956 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31957 { echo "$as_me:$LINENO: result: yes" >&5
31958 echo "${ECHO_T}yes" >&6; }
31959
31960 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31961 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31962 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31963
31964 fi
31965
31966 pkg_failed=no
31967 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31968 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31969
31970 if test -n "$PKG_CONFIG"; then
31971 if test -n "$PANGOXFT_CFLAGS"; then
31972 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31973 else
31974 if test -n "$PKG_CONFIG" && \
31975 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31976 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31977 ac_status=$?
31978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31979 (exit $ac_status); }; then
31980 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31981 else
31982 pkg_failed=yes
31983 fi
31984 fi
31985 else
31986 pkg_failed=untried
31987 fi
31988 if test -n "$PKG_CONFIG"; then
31989 if test -n "$PANGOXFT_LIBS"; then
31990 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31991 else
31992 if test -n "$PKG_CONFIG" && \
31993 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31994 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31995 ac_status=$?
31996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31997 (exit $ac_status); }; then
31998 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31999 else
32000 pkg_failed=yes
32001 fi
32002 fi
32003 else
32004 pkg_failed=untried
32005 fi
32006
32007
32008
32009 if test $pkg_failed = yes; then
32010
32011 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32012 _pkg_short_errors_supported=yes
32013 else
32014 _pkg_short_errors_supported=no
32015 fi
32016 if test $_pkg_short_errors_supported = yes; then
32017 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32018 else
32019 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32020 fi
32021 # Put the nasty error message in config.log where it belongs
32022 echo "$PANGOXFT_PKG_ERRORS" >&5
32023
32024
32025 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32026 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32027
32028
32029 elif test $pkg_failed = untried; then
32030
32031 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32032 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32033
32034
32035 else
32036 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32037 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32038 { echo "$as_me:$LINENO: result: yes" >&5
32039 echo "${ECHO_T}yes" >&6; }
32040
32041 cat >>confdefs.h <<\_ACEOF
32042 #define HAVE_PANGO_XFT 1
32043 _ACEOF
32044
32045 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32046 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32047 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32048
32049 fi
32050 save_LIBS="$LIBS"
32051 LIBS="$LIBS $PANGOX_LIBS"
32052
32053 for ac_func in pango_font_family_is_monospace
32054 do
32055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32056 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32058 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32059 echo $ECHO_N "(cached) $ECHO_C" >&6
32060 else
32061 cat >conftest.$ac_ext <<_ACEOF
32062 /* confdefs.h. */
32063 _ACEOF
32064 cat confdefs.h >>conftest.$ac_ext
32065 cat >>conftest.$ac_ext <<_ACEOF
32066 /* end confdefs.h. */
32067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32069 #define $ac_func innocuous_$ac_func
32070
32071 /* System header to define __stub macros and hopefully few prototypes,
32072 which can conflict with char $ac_func (); below.
32073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32074 <limits.h> exists even on freestanding compilers. */
32075
32076 #ifdef __STDC__
32077 # include <limits.h>
32078 #else
32079 # include <assert.h>
32080 #endif
32081
32082 #undef $ac_func
32083
32084 /* Override any GCC internal prototype to avoid an error.
32085 Use char because int might match the return type of a GCC
32086 builtin and then its argument prototype would still apply. */
32087 #ifdef __cplusplus
32088 extern "C"
32089 #endif
32090 char $ac_func ();
32091 /* The GNU C library defines this for functions which it implements
32092 to always fail with ENOSYS. Some functions are actually named
32093 something starting with __ and the normal name is an alias. */
32094 #if defined __stub_$ac_func || defined __stub___$ac_func
32095 choke me
32096 #endif
32097
32098 int
32099 main ()
32100 {
32101 return $ac_func ();
32102 ;
32103 return 0;
32104 }
32105 _ACEOF
32106 rm -f conftest.$ac_objext conftest$ac_exeext
32107 if { (ac_try="$ac_link"
32108 case "(($ac_try" in
32109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32110 *) ac_try_echo=$ac_try;;
32111 esac
32112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32113 (eval "$ac_link") 2>conftest.er1
32114 ac_status=$?
32115 grep -v '^ *+' conftest.er1 >conftest.err
32116 rm -f conftest.er1
32117 cat conftest.err >&5
32118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32119 (exit $ac_status); } && {
32120 test -z "$ac_c_werror_flag" ||
32121 test ! -s conftest.err
32122 } && test -s conftest$ac_exeext &&
32123 $as_test_x conftest$ac_exeext; then
32124 eval "$as_ac_var=yes"
32125 else
32126 echo "$as_me: failed program was:" >&5
32127 sed 's/^/| /' conftest.$ac_ext >&5
32128
32129 eval "$as_ac_var=no"
32130 fi
32131
32132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32133 conftest$ac_exeext conftest.$ac_ext
32134 fi
32135 ac_res=`eval echo '${'$as_ac_var'}'`
32136 { echo "$as_me:$LINENO: result: $ac_res" >&5
32137 echo "${ECHO_T}$ac_res" >&6; }
32138 if test `eval echo '${'$as_ac_var'}'` = yes; then
32139 cat >>confdefs.h <<_ACEOF
32140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32141 _ACEOF
32142
32143 fi
32144 done
32145
32146 LIBS="$save_LIBS"
32147 fi
32148
32149 wxUSE_UNIVERSAL="yes"
32150
32151 if test "$wxUSE_NANOX" = "yes"; then
32152 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32153 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"
32154 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32155 else
32156 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32157 fi
32158
32159 TOOLKIT=X11
32160 GUIDIST=X11_DIST
32161 fi
32162
32163 if test "$wxUSE_MOTIF" = 1; then
32164 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32165 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32166
32167 ac_find_includes=
32168 for ac_dir in $SEARCH_INCLUDE /usr/include;
32169 do
32170 if test -f "$ac_dir/Xm/Xm.h"; then
32171 ac_find_includes=$ac_dir
32172 break
32173 fi
32174 done
32175
32176 if test "$ac_find_includes" != "" ; then
32177 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32178 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32179
32180 if test "x$ac_find_includes" = "x/usr/include"; then
32181 ac_path_to_include=""
32182 else
32183 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32184 result=$?
32185 if test $result = 0; then
32186 ac_path_to_include=""
32187 else
32188 ac_path_to_include=" -I$ac_find_includes"
32189 fi
32190 fi
32191
32192 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32193 else
32194 save_CFLAGS=$CFLAGS
32195 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32196
32197 cat >conftest.$ac_ext <<_ACEOF
32198 /* confdefs.h. */
32199 _ACEOF
32200 cat confdefs.h >>conftest.$ac_ext
32201 cat >>conftest.$ac_ext <<_ACEOF
32202 /* end confdefs.h. */
32203
32204 #include <Xm/Xm.h>
32205
32206 int
32207 main ()
32208 {
32209
32210 int version;
32211 version = xmUseVersion;
32212
32213 ;
32214 return 0;
32215 }
32216 _ACEOF
32217 rm -f conftest.$ac_objext
32218 if { (ac_try="$ac_compile"
32219 case "(($ac_try" in
32220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32221 *) ac_try_echo=$ac_try;;
32222 esac
32223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32224 (eval "$ac_compile") 2>conftest.er1
32225 ac_status=$?
32226 grep -v '^ *+' conftest.er1 >conftest.err
32227 rm -f conftest.er1
32228 cat conftest.err >&5
32229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32230 (exit $ac_status); } && {
32231 test -z "$ac_c_werror_flag" ||
32232 test ! -s conftest.err
32233 } && test -s conftest.$ac_objext; then
32234
32235 { echo "$as_me:$LINENO: result: found in default search path" >&5
32236 echo "${ECHO_T}found in default search path" >&6; }
32237 COMPILED_X_PROGRAM=1
32238
32239 else
32240 echo "$as_me: failed program was:" >&5
32241 sed 's/^/| /' conftest.$ac_ext >&5
32242
32243
32244 { echo "$as_me:$LINENO: result: no" >&5
32245 echo "${ECHO_T}no" >&6; }
32246 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32247 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32248 { (exit 1); exit 1; }; }
32249
32250
32251 fi
32252
32253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32254
32255 CFLAGS=$save_CFLAGS
32256 fi
32257
32258
32259 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32260 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32261
32262 ac_find_libraries=
32263 for ac_dir in $SEARCH_LIB;
32264 do
32265 for ac_extension in a so sl dylib dll.a; do
32266 if test -f "$ac_dir/libXm.$ac_extension"; then
32267 ac_find_libraries=$ac_dir
32268 break 2
32269 fi
32270 done
32271 done
32272
32273
32274 if test "x$ac_find_libraries" != "x" ; then
32275 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32276 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32277
32278
32279 if test "$ac_find_libraries" = "default location"; then
32280 ac_path_to_link=""
32281 else
32282 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32283 result=$?
32284 if test $result = 0; then
32285 ac_path_to_link=""
32286 else
32287 ac_path_to_link=" -L$ac_find_libraries"
32288 fi
32289 fi
32290
32291 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32292 else
32293 save_CFLAGS=$CFLAGS
32294 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32295 save_LIBS="$LIBS"
32296 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32297
32298 cat >conftest.$ac_ext <<_ACEOF
32299 /* confdefs.h. */
32300 _ACEOF
32301 cat confdefs.h >>conftest.$ac_ext
32302 cat >>conftest.$ac_ext <<_ACEOF
32303 /* end confdefs.h. */
32304
32305 #include <Xm/Xm.h>
32306
32307 int
32308 main ()
32309 {
32310
32311 int version;
32312 version = xmUseVersion;
32313
32314 ;
32315 return 0;
32316 }
32317 _ACEOF
32318 rm -f conftest.$ac_objext conftest$ac_exeext
32319 if { (ac_try="$ac_link"
32320 case "(($ac_try" in
32321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32322 *) ac_try_echo=$ac_try;;
32323 esac
32324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32325 (eval "$ac_link") 2>conftest.er1
32326 ac_status=$?
32327 grep -v '^ *+' conftest.er1 >conftest.err
32328 rm -f conftest.er1
32329 cat conftest.err >&5
32330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32331 (exit $ac_status); } && {
32332 test -z "$ac_c_werror_flag" ||
32333 test ! -s conftest.err
32334 } && test -s conftest$ac_exeext &&
32335 $as_test_x conftest$ac_exeext; then
32336
32337 { echo "$as_me:$LINENO: result: found in default search path" >&5
32338 echo "${ECHO_T}found in default search path" >&6; }
32339 COMPILED_X_PROGRAM=1
32340
32341 else
32342 echo "$as_me: failed program was:" >&5
32343 sed 's/^/| /' conftest.$ac_ext >&5
32344
32345
32346 { echo "$as_me:$LINENO: result: no" >&5
32347 echo "${ECHO_T}no" >&6; }
32348 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32349 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32350 { (exit 1); exit 1; }; }
32351
32352
32353 fi
32354
32355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32356 conftest$ac_exeext conftest.$ac_ext
32357
32358 CFLAGS=$save_CFLAGS
32359 LIBS="$save_LIBS"
32360 fi
32361
32362 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32363 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32364 libp_link=""
32365 libsm_ice_link=""
32366 libs_found=0
32367 for libp in "" " -lXp"; do
32368 if test "$libs_found" = 0; then
32369 for libsm_ice in "" " -lSM -lICE"; do
32370 if test "$libs_found" = 0; then
32371 save_LIBS="$LIBS"
32372 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32373 save_CFLAGS=$CFLAGS
32374 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32375
32376 cat >conftest.$ac_ext <<_ACEOF
32377 /* confdefs.h. */
32378 _ACEOF
32379 cat confdefs.h >>conftest.$ac_ext
32380 cat >>conftest.$ac_ext <<_ACEOF
32381 /* end confdefs.h. */
32382
32383 #include <Xm/Xm.h>
32384 #include <Xm/List.h>
32385
32386 int
32387 main ()
32388 {
32389
32390 XmString string = NULL;
32391 Widget w = NULL;
32392 int position = 0;
32393 XmListAddItem(w, string, position);
32394
32395 ;
32396 return 0;
32397 }
32398 _ACEOF
32399 rm -f conftest.$ac_objext conftest$ac_exeext
32400 if { (ac_try="$ac_link"
32401 case "(($ac_try" in
32402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32403 *) ac_try_echo=$ac_try;;
32404 esac
32405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32406 (eval "$ac_link") 2>conftest.er1
32407 ac_status=$?
32408 grep -v '^ *+' conftest.er1 >conftest.err
32409 rm -f conftest.er1
32410 cat conftest.err >&5
32411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32412 (exit $ac_status); } && {
32413 test -z "$ac_c_werror_flag" ||
32414 test ! -s conftest.err
32415 } && test -s conftest$ac_exeext &&
32416 $as_test_x conftest$ac_exeext; then
32417
32418 libp_link="$libp"
32419 libsm_ice_link="$libsm_ice"
32420 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32421 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32422 libs_found=1
32423
32424 else
32425 echo "$as_me: failed program was:" >&5
32426 sed 's/^/| /' conftest.$ac_ext >&5
32427
32428
32429
32430 fi
32431
32432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32433 conftest$ac_exeext conftest.$ac_ext
32434
32435 LIBS="$save_LIBS"
32436 CFLAGS=$save_CFLAGS
32437 fi
32438 done
32439 fi
32440 done
32441
32442 if test "$libs_found" = 0; then
32443 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32444 echo "${ECHO_T}can't find the right libraries" >&6; }
32445 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32446 echo "$as_me: error: can't link a simple motif program" >&2;}
32447 { (exit 1); exit 1; }; }
32448 fi
32449
32450 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32451 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32452 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32453 echo $ECHO_N "(cached) $ECHO_C" >&6
32454 else
32455 ac_check_lib_save_LIBS=$LIBS
32456 LIBS="-lSgm $LIBS"
32457 cat >conftest.$ac_ext <<_ACEOF
32458 /* confdefs.h. */
32459 _ACEOF
32460 cat confdefs.h >>conftest.$ac_ext
32461 cat >>conftest.$ac_ext <<_ACEOF
32462 /* end confdefs.h. */
32463
32464 /* Override any GCC internal prototype to avoid an error.
32465 Use char because int might match the return type of a GCC
32466 builtin and then its argument prototype would still apply. */
32467 #ifdef __cplusplus
32468 extern "C"
32469 #endif
32470 char SgCreateList ();
32471 int
32472 main ()
32473 {
32474 return SgCreateList ();
32475 ;
32476 return 0;
32477 }
32478 _ACEOF
32479 rm -f conftest.$ac_objext conftest$ac_exeext
32480 if { (ac_try="$ac_link"
32481 case "(($ac_try" in
32482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32483 *) ac_try_echo=$ac_try;;
32484 esac
32485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32486 (eval "$ac_link") 2>conftest.er1
32487 ac_status=$?
32488 grep -v '^ *+' conftest.er1 >conftest.err
32489 rm -f conftest.er1
32490 cat conftest.err >&5
32491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32492 (exit $ac_status); } && {
32493 test -z "$ac_c_werror_flag" ||
32494 test ! -s conftest.err
32495 } && test -s conftest$ac_exeext &&
32496 $as_test_x conftest$ac_exeext; then
32497 ac_cv_lib_Sgm_SgCreateList=yes
32498 else
32499 echo "$as_me: failed program was:" >&5
32500 sed 's/^/| /' conftest.$ac_ext >&5
32501
32502 ac_cv_lib_Sgm_SgCreateList=no
32503 fi
32504
32505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32506 conftest$ac_exeext conftest.$ac_ext
32507 LIBS=$ac_check_lib_save_LIBS
32508 fi
32509 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32510 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32511 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32512 libsgm_link=" -lSgm"
32513 fi
32514
32515
32516 save_CFLAGS=$CFLAGS
32517 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32518
32519 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32520 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32521 if test "${wx_cv_lib_motif2+set}" = set; then
32522 echo $ECHO_N "(cached) $ECHO_C" >&6
32523 else
32524 cat >conftest.$ac_ext <<_ACEOF
32525 /* confdefs.h. */
32526 _ACEOF
32527 cat confdefs.h >>conftest.$ac_ext
32528 cat >>conftest.$ac_ext <<_ACEOF
32529 /* end confdefs.h. */
32530
32531 #include <Xm/Xm.h>
32532
32533 int
32534 main ()
32535 {
32536
32537 #if XmVersion < 2000
32538 Not Motif 2
32539 #endif
32540
32541 ;
32542 return 0;
32543 }
32544 _ACEOF
32545 rm -f conftest.$ac_objext
32546 if { (ac_try="$ac_compile"
32547 case "(($ac_try" in
32548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32549 *) ac_try_echo=$ac_try;;
32550 esac
32551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32552 (eval "$ac_compile") 2>conftest.er1
32553 ac_status=$?
32554 grep -v '^ *+' conftest.er1 >conftest.err
32555 rm -f conftest.er1
32556 cat conftest.err >&5
32557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32558 (exit $ac_status); } && {
32559 test -z "$ac_c_werror_flag" ||
32560 test ! -s conftest.err
32561 } && test -s conftest.$ac_objext; then
32562 wx_cv_lib_motif2="yes"
32563 else
32564 echo "$as_me: failed program was:" >&5
32565 sed 's/^/| /' conftest.$ac_ext >&5
32566
32567 wx_cv_lib_motif2="no"
32568 fi
32569
32570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32571 fi
32572 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32573 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32574 if test "$wx_cv_lib_motif2" = "yes"; then
32575 cat >>confdefs.h <<\_ACEOF
32576 #define __WXMOTIF20__ 1
32577 _ACEOF
32578
32579 else
32580 cat >>confdefs.h <<\_ACEOF
32581 #define __WXMOTIF20__ 0
32582 _ACEOF
32583
32584 fi
32585
32586 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32587 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32588 if test "${wx_cv_lib_lesstif+set}" = set; then
32589 echo $ECHO_N "(cached) $ECHO_C" >&6
32590 else
32591 cat >conftest.$ac_ext <<_ACEOF
32592 /* confdefs.h. */
32593 _ACEOF
32594 cat confdefs.h >>conftest.$ac_ext
32595 cat >>conftest.$ac_ext <<_ACEOF
32596 /* end confdefs.h. */
32597
32598 #include <Xm/Xm.h>
32599
32600 int
32601 main ()
32602 {
32603
32604 #if !defined(LesstifVersion) || LesstifVersion <= 0
32605 Not Lesstif
32606 #endif
32607
32608 ;
32609 return 0;
32610 }
32611 _ACEOF
32612 rm -f conftest.$ac_objext
32613 if { (ac_try="$ac_compile"
32614 case "(($ac_try" in
32615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32616 *) ac_try_echo=$ac_try;;
32617 esac
32618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32619 (eval "$ac_compile") 2>conftest.er1
32620 ac_status=$?
32621 grep -v '^ *+' conftest.er1 >conftest.err
32622 rm -f conftest.er1
32623 cat conftest.err >&5
32624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32625 (exit $ac_status); } && {
32626 test -z "$ac_c_werror_flag" ||
32627 test ! -s conftest.err
32628 } && test -s conftest.$ac_objext; then
32629 wx_cv_lib_lesstif="yes"
32630 else
32631 echo "$as_me: failed program was:" >&5
32632 sed 's/^/| /' conftest.$ac_ext >&5
32633
32634 wx_cv_lib_lesstif="no"
32635 fi
32636
32637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32638
32639 fi
32640 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32641 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32642 if test "$wx_cv_lib_lesstif" = "yes"; then
32643 cat >>confdefs.h <<\_ACEOF
32644 #define __WXLESSTIF__ 1
32645 _ACEOF
32646
32647 else
32648 cat >>confdefs.h <<\_ACEOF
32649 #define __WXLESSTIF__ 0
32650 _ACEOF
32651
32652 fi
32653
32654 CFLAGS=$save_CFLAGS
32655
32656 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32657 TOOLKIT=MOTIF
32658 GUIDIST=MOTIF_DIST
32659 fi
32660
32661 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32662 if test "$wxUSE_LIBXPM" = "sys"; then
32663 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32664 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32665
32666 ac_find_libraries=
32667 for ac_dir in $SEARCH_LIB;
32668 do
32669 for ac_extension in a so sl dylib dll.a; do
32670 if test -f "$ac_dir/libXpm.$ac_extension"; then
32671 ac_find_libraries=$ac_dir
32672 break 2
32673 fi
32674 done
32675 done
32676
32677 if test "$ac_find_libraries" != "" ; then
32678
32679 if test "$ac_find_libraries" = "default location"; then
32680 ac_path_to_link=""
32681 else
32682 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32683 result=$?
32684 if test $result = 0; then
32685 ac_path_to_link=""
32686 else
32687 ac_path_to_link=" -L$ac_find_libraries"
32688 fi
32689 fi
32690
32691 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32692 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32693 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32694
32695 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32696 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32697 if test "${wx_cv_x11_xpm_h+set}" = set; then
32698 echo $ECHO_N "(cached) $ECHO_C" >&6
32699 else
32700
32701 save_CFLAGS=$CFLAGS
32702 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32703
32704 cat >conftest.$ac_ext <<_ACEOF
32705 /* confdefs.h. */
32706 _ACEOF
32707 cat confdefs.h >>conftest.$ac_ext
32708 cat >>conftest.$ac_ext <<_ACEOF
32709 /* end confdefs.h. */
32710
32711 #include <X11/xpm.h>
32712
32713 int
32714 main ()
32715 {
32716
32717 int version;
32718 version = XpmLibraryVersion();
32719
32720 ;
32721 return 0;
32722 }
32723 _ACEOF
32724 rm -f conftest.$ac_objext
32725 if { (ac_try="$ac_compile"
32726 case "(($ac_try" in
32727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32728 *) ac_try_echo=$ac_try;;
32729 esac
32730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32731 (eval "$ac_compile") 2>conftest.er1
32732 ac_status=$?
32733 grep -v '^ *+' conftest.er1 >conftest.err
32734 rm -f conftest.er1
32735 cat conftest.err >&5
32736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32737 (exit $ac_status); } && {
32738 test -z "$ac_c_werror_flag" ||
32739 test ! -s conftest.err
32740 } && test -s conftest.$ac_objext; then
32741 wx_cv_x11_xpm_h=yes
32742 else
32743 echo "$as_me: failed program was:" >&5
32744 sed 's/^/| /' conftest.$ac_ext >&5
32745
32746 wx_cv_x11_xpm_h=no
32747
32748 fi
32749
32750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32751
32752 CFLAGS=$save_CFLAGS
32753
32754
32755 fi
32756 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32757 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32758
32759 if test $wx_cv_x11_xpm_h = "yes"; then
32760 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32761 cat >>confdefs.h <<\_ACEOF
32762 #define wxHAVE_LIB_XPM 1
32763 _ACEOF
32764
32765 else
32766 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32767 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32768 fi
32769 fi
32770
32771 fi
32772
32773 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32774 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32775 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32776 echo $ECHO_N "(cached) $ECHO_C" >&6
32777 else
32778 ac_check_lib_save_LIBS=$LIBS
32779 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32780 cat >conftest.$ac_ext <<_ACEOF
32781 /* confdefs.h. */
32782 _ACEOF
32783 cat confdefs.h >>conftest.$ac_ext
32784 cat >>conftest.$ac_ext <<_ACEOF
32785 /* end confdefs.h. */
32786
32787 /* Override any GCC internal prototype to avoid an error.
32788 Use char because int might match the return type of a GCC
32789 builtin and then its argument prototype would still apply. */
32790 #ifdef __cplusplus
32791 extern "C"
32792 #endif
32793 char XShapeQueryExtension ();
32794 int
32795 main ()
32796 {
32797 return XShapeQueryExtension ();
32798 ;
32799 return 0;
32800 }
32801 _ACEOF
32802 rm -f conftest.$ac_objext conftest$ac_exeext
32803 if { (ac_try="$ac_link"
32804 case "(($ac_try" in
32805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32806 *) ac_try_echo=$ac_try;;
32807 esac
32808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32809 (eval "$ac_link") 2>conftest.er1
32810 ac_status=$?
32811 grep -v '^ *+' conftest.er1 >conftest.err
32812 rm -f conftest.er1
32813 cat conftest.err >&5
32814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32815 (exit $ac_status); } && {
32816 test -z "$ac_c_werror_flag" ||
32817 test ! -s conftest.err
32818 } && test -s conftest$ac_exeext &&
32819 $as_test_x conftest$ac_exeext; then
32820 ac_cv_lib_Xext_XShapeQueryExtension=yes
32821 else
32822 echo "$as_me: failed program was:" >&5
32823 sed 's/^/| /' conftest.$ac_ext >&5
32824
32825 ac_cv_lib_Xext_XShapeQueryExtension=no
32826 fi
32827
32828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32829 conftest$ac_exeext conftest.$ac_ext
32830 LIBS=$ac_check_lib_save_LIBS
32831 fi
32832 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32833 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32834 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32835
32836 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32837 wxHAVE_XEXT_LIB=1
32838
32839 fi
32840
32841
32842 if test "$wxHAVE_XEXT_LIB" = 1; then
32843 save_CFLAGS="$CFLAGS"
32844 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32845
32846 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32847 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32848 cat >conftest.$ac_ext <<_ACEOF
32849 /* confdefs.h. */
32850 _ACEOF
32851 cat confdefs.h >>conftest.$ac_ext
32852 cat >>conftest.$ac_ext <<_ACEOF
32853 /* end confdefs.h. */
32854
32855 #include <X11/Xlib.h>
32856 #include <X11/extensions/shape.h>
32857
32858 int
32859 main ()
32860 {
32861
32862 int dummy1, dummy2;
32863 XShapeQueryExtension((Display*)NULL,
32864 (int*)NULL, (int*)NULL);
32865
32866 ;
32867 return 0;
32868 }
32869 _ACEOF
32870 rm -f conftest.$ac_objext
32871 if { (ac_try="$ac_compile"
32872 case "(($ac_try" in
32873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32874 *) ac_try_echo=$ac_try;;
32875 esac
32876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32877 (eval "$ac_compile") 2>conftest.er1
32878 ac_status=$?
32879 grep -v '^ *+' conftest.er1 >conftest.err
32880 rm -f conftest.er1
32881 cat conftest.err >&5
32882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32883 (exit $ac_status); } && {
32884 test -z "$ac_c_werror_flag" ||
32885 test ! -s conftest.err
32886 } && test -s conftest.$ac_objext; then
32887
32888 cat >>confdefs.h <<\_ACEOF
32889 #define HAVE_XSHAPE 1
32890 _ACEOF
32891
32892 { echo "$as_me:$LINENO: result: found" >&5
32893 echo "${ECHO_T}found" >&6; }
32894
32895 else
32896 echo "$as_me: failed program was:" >&5
32897 sed 's/^/| /' conftest.$ac_ext >&5
32898
32899
32900 { echo "$as_me:$LINENO: result: not found" >&5
32901 echo "${ECHO_T}not found" >&6; }
32902
32903 fi
32904
32905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32906 CFLAGS="$save_CFLAGS"
32907
32908 fi
32909 fi
32910
32911 if test "$wxUSE_OSX_CARBON" = 1; then
32912 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32913 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32914 if test "$GCC" = yes; then
32915 { echo "$as_me:$LINENO: result: gcc" >&5
32916 echo "${ECHO_T}gcc" >&6; }
32917 CPPFLAGS_PASCAL="-fpascal-strings"
32918 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32919 { echo "$as_me:$LINENO: result: xlc" >&5
32920 echo "${ECHO_T}xlc" >&6; }
32921 CPPFLAGS_PASCAL="-qmacpstr"
32922 else
32923 { echo "$as_me:$LINENO: result: none" >&5
32924 echo "${ECHO_T}none" >&6; }
32925 fi
32926
32927 if test "x$wxUSE_UNIX" = "xyes"; then
32928 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32929 else
32930 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32931 fi
32932
32933 TOOLKIT=OSX_CARBON
32934 GUIDIST=OSX_CARBON_DIST
32935 WXBASEPORT="_carbon"
32936
32937 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
32938 fi
32939
32940 if test "$wxUSE_OSX_COCOA" = 1; then
32941 TOOLKIT=OSX_COCOA
32942 GUIDIST=OSX_COCOA_DIST
32943
32944 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
32945 fi
32946
32947 if test "$wxUSE_COCOA" = 1; then
32948 TOOLKIT=COCOA
32949 GUIDIST=COCOA_DIST
32950 fi
32951
32952 if test "$wxUSE_PM" = 1; then
32953 TOOLKIT=PM
32954 GUIDIST=PM_DIST
32955 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32956 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32957 if test "${wx_cv_spbcdata+set}" = set; then
32958 echo $ECHO_N "(cached) $ECHO_C" >&6
32959 else
32960
32961 cat >conftest.$ac_ext <<_ACEOF
32962 /* confdefs.h. */
32963 _ACEOF
32964 cat confdefs.h >>conftest.$ac_ext
32965 cat >>conftest.$ac_ext <<_ACEOF
32966 /* end confdefs.h. */
32967
32968 #define INCL_PM
32969 #include <os2.h>
32970
32971 int
32972 main ()
32973 {
32974
32975 SPBCDATA test;
32976
32977 ;
32978 return 0;
32979 }
32980 _ACEOF
32981 rm -f conftest.$ac_objext
32982 if { (ac_try="$ac_compile"
32983 case "(($ac_try" in
32984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32985 *) ac_try_echo=$ac_try;;
32986 esac
32987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32988 (eval "$ac_compile") 2>conftest.er1
32989 ac_status=$?
32990 grep -v '^ *+' conftest.er1 >conftest.err
32991 rm -f conftest.er1
32992 cat conftest.err >&5
32993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32994 (exit $ac_status); } && {
32995 test -z "$ac_c_werror_flag" ||
32996 test ! -s conftest.err
32997 } && test -s conftest.$ac_objext; then
32998 wx_cv_spbcdata=yes
32999 else
33000 echo "$as_me: failed program was:" >&5
33001 sed 's/^/| /' conftest.$ac_ext >&5
33002
33003 wx_cv_spbcdata=no
33004
33005 fi
33006
33007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33008
33009
33010 fi
33011 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33012 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33013
33014 if test $wx_cv_spbcdata = "yes"; then
33015 cat >>confdefs.h <<\_ACEOF
33016 #define HAVE_SPBCDATA 1
33017 _ACEOF
33018
33019 fi
33020 fi
33021
33022 if test "$TOOLKIT" = "PM" ; then
33023 TOOLKIT_DIR="os2"
33024 else
33025 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33026 fi
33027
33028 if test "$wxUSE_UNIVERSAL" = "yes"; then
33029 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33030 WIDGET_SET=univ
33031 fi
33032
33033 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33034 DISTDIR="wx\$(TOOLKIT)"
33035 else
33036 USE_GUI=0
33037
33038 TOOLKIT_DIR="base"
33039
33040 if test "$USE_WIN32" = 1 ; then
33041 TOOLKIT="MSW"
33042 fi
33043
33044 GUIDIST="BASE_DIST"
33045 DISTDIR="wxBase"
33046 fi
33047
33048
33049
33050 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33051 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33052 wxUSE_UNICODE_UTF8=yes
33053 elif test "$USE_OS2" = 1 ; then
33054 wxUSE_UNICODE_UTF8=yes
33055 else
33056 wxUSE_UNICODE_UTF8=no
33057 fi
33058 fi
33059
33060
33061 if test "$wxUSE_GUI" = "yes"; then
33062 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33063
33064 for ac_header in X11/Xlib.h
33065 do
33066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33067 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33069 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33070 echo $ECHO_N "(cached) $ECHO_C" >&6
33071 else
33072 cat >conftest.$ac_ext <<_ACEOF
33073 /* confdefs.h. */
33074 _ACEOF
33075 cat confdefs.h >>conftest.$ac_ext
33076 cat >>conftest.$ac_ext <<_ACEOF
33077 /* end confdefs.h. */
33078
33079
33080 #include <$ac_header>
33081 _ACEOF
33082 rm -f conftest.$ac_objext
33083 if { (ac_try="$ac_compile"
33084 case "(($ac_try" in
33085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33086 *) ac_try_echo=$ac_try;;
33087 esac
33088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33089 (eval "$ac_compile") 2>conftest.er1
33090 ac_status=$?
33091 grep -v '^ *+' conftest.er1 >conftest.err
33092 rm -f conftest.er1
33093 cat conftest.err >&5
33094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33095 (exit $ac_status); } && {
33096 test -z "$ac_c_werror_flag" ||
33097 test ! -s conftest.err
33098 } && test -s conftest.$ac_objext; then
33099 eval "$as_ac_Header=yes"
33100 else
33101 echo "$as_me: failed program was:" >&5
33102 sed 's/^/| /' conftest.$ac_ext >&5
33103
33104 eval "$as_ac_Header=no"
33105 fi
33106
33107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33108 fi
33109 ac_res=`eval echo '${'$as_ac_Header'}'`
33110 { echo "$as_me:$LINENO: result: $ac_res" >&5
33111 echo "${ECHO_T}$ac_res" >&6; }
33112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33113 cat >>confdefs.h <<_ACEOF
33114 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33115 _ACEOF
33116
33117 fi
33118
33119 done
33120
33121
33122 for ac_header in X11/XKBlib.h
33123 do
33124 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33125 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33127 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33128 echo $ECHO_N "(cached) $ECHO_C" >&6
33129 else
33130 cat >conftest.$ac_ext <<_ACEOF
33131 /* confdefs.h. */
33132 _ACEOF
33133 cat confdefs.h >>conftest.$ac_ext
33134 cat >>conftest.$ac_ext <<_ACEOF
33135 /* end confdefs.h. */
33136
33137 #if HAVE_X11_XLIB_H
33138 #include <X11/Xlib.h>
33139 #endif
33140
33141
33142 #include <$ac_header>
33143 _ACEOF
33144 rm -f conftest.$ac_objext
33145 if { (ac_try="$ac_compile"
33146 case "(($ac_try" in
33147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33148 *) ac_try_echo=$ac_try;;
33149 esac
33150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33151 (eval "$ac_compile") 2>conftest.er1
33152 ac_status=$?
33153 grep -v '^ *+' conftest.er1 >conftest.err
33154 rm -f conftest.er1
33155 cat conftest.err >&5
33156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33157 (exit $ac_status); } && {
33158 test -z "$ac_c_werror_flag" ||
33159 test ! -s conftest.err
33160 } && test -s conftest.$ac_objext; then
33161 eval "$as_ac_Header=yes"
33162 else
33163 echo "$as_me: failed program was:" >&5
33164 sed 's/^/| /' conftest.$ac_ext >&5
33165
33166 eval "$as_ac_Header=no"
33167 fi
33168
33169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33170 fi
33171 ac_res=`eval echo '${'$as_ac_Header'}'`
33172 { echo "$as_me:$LINENO: result: $ac_res" >&5
33173 echo "${ECHO_T}$ac_res" >&6; }
33174 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33175 cat >>confdefs.h <<_ACEOF
33176 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33177 _ACEOF
33178
33179 fi
33180
33181 done
33182
33183 fi
33184 fi
33185
33186
33187
33188 if test "$wxUSE_DISPLAY" = "yes"; then
33189 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33190 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33191 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33192
33193 ac_find_libraries=
33194 for ac_dir in $SEARCH_LIB;
33195 do
33196 for ac_extension in a so sl dylib dll.a; do
33197 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33198 ac_find_libraries=$ac_dir
33199 break 2
33200 fi
33201 done
33202 done
33203
33204 if test "$ac_find_libraries" != "" ; then
33205
33206 if test "$ac_find_libraries" = "default location"; then
33207 ac_path_to_link=""
33208 else
33209 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33210 result=$?
33211 if test $result = 0; then
33212 ac_path_to_link=""
33213 else
33214 ac_path_to_link=" -L$ac_find_libraries"
33215 fi
33216 fi
33217
33218 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33219 LDFLAGS="$LDFLAGS $ac_path_to_link"
33220 fi
33221 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33222 { echo "$as_me:$LINENO: result: yes" >&5
33223 echo "${ECHO_T}yes" >&6; }
33224
33225 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33226 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33227
33228 ac_find_libraries=
33229 for ac_dir in $SEARCH_LIB;
33230 do
33231 for ac_extension in a so sl dylib dll.a; do
33232 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33233 ac_find_libraries=$ac_dir
33234 break 2
33235 fi
33236 done
33237 done
33238
33239 if test "$ac_find_libraries" != "" ; then
33240 { echo "$as_me:$LINENO: result: yes" >&5
33241 echo "${ECHO_T}yes" >&6; }
33242
33243 for ac_header in X11/extensions/xf86vmode.h
33244 do
33245 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33246 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33249 echo $ECHO_N "(cached) $ECHO_C" >&6
33250 else
33251 cat >conftest.$ac_ext <<_ACEOF
33252 /* confdefs.h. */
33253 _ACEOF
33254 cat confdefs.h >>conftest.$ac_ext
33255 cat >>conftest.$ac_ext <<_ACEOF
33256 /* end confdefs.h. */
33257
33258 #if HAVE_X11_XLIB_H
33259 #include <X11/Xlib.h>
33260 #endif
33261
33262
33263 #include <$ac_header>
33264 _ACEOF
33265 rm -f conftest.$ac_objext
33266 if { (ac_try="$ac_compile"
33267 case "(($ac_try" in
33268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33269 *) ac_try_echo=$ac_try;;
33270 esac
33271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33272 (eval "$ac_compile") 2>conftest.er1
33273 ac_status=$?
33274 grep -v '^ *+' conftest.er1 >conftest.err
33275 rm -f conftest.er1
33276 cat conftest.err >&5
33277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33278 (exit $ac_status); } && {
33279 test -z "$ac_c_werror_flag" ||
33280 test ! -s conftest.err
33281 } && test -s conftest.$ac_objext; then
33282 eval "$as_ac_Header=yes"
33283 else
33284 echo "$as_me: failed program was:" >&5
33285 sed 's/^/| /' conftest.$ac_ext >&5
33286
33287 eval "$as_ac_Header=no"
33288 fi
33289
33290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33291 fi
33292 ac_res=`eval echo '${'$as_ac_Header'}'`
33293 { echo "$as_me:$LINENO: result: $ac_res" >&5
33294 echo "${ECHO_T}$ac_res" >&6; }
33295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33296 cat >>confdefs.h <<_ACEOF
33297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33298 _ACEOF
33299
33300 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33301
33302 fi
33303
33304 done
33305
33306 else
33307 { echo "$as_me:$LINENO: result: no" >&5
33308 echo "${ECHO_T}no" >&6; }
33309 fi
33310
33311 else
33312 { echo "$as_me:$LINENO: result: no" >&5
33313 echo "${ECHO_T}no" >&6; }
33314 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33315 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33316 wxUSE_DISPLAY="no"
33317 fi
33318 elif test "$wxUSE_MSW" = 1; then
33319 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33320 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33321 if test "${ac_cv_header_ddraw_h+set}" = set; then
33322 echo $ECHO_N "(cached) $ECHO_C" >&6
33323 else
33324 cat >conftest.$ac_ext <<_ACEOF
33325 /* confdefs.h. */
33326 _ACEOF
33327 cat confdefs.h >>conftest.$ac_ext
33328 cat >>conftest.$ac_ext <<_ACEOF
33329 /* end confdefs.h. */
33330 #include <windows.h>
33331
33332 #include <ddraw.h>
33333 _ACEOF
33334 rm -f conftest.$ac_objext
33335 if { (ac_try="$ac_compile"
33336 case "(($ac_try" in
33337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33338 *) ac_try_echo=$ac_try;;
33339 esac
33340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33341 (eval "$ac_compile") 2>conftest.er1
33342 ac_status=$?
33343 grep -v '^ *+' conftest.er1 >conftest.err
33344 rm -f conftest.er1
33345 cat conftest.err >&5
33346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33347 (exit $ac_status); } && {
33348 test -z "$ac_c_werror_flag" ||
33349 test ! -s conftest.err
33350 } && test -s conftest.$ac_objext; then
33351 ac_cv_header_ddraw_h=yes
33352 else
33353 echo "$as_me: failed program was:" >&5
33354 sed 's/^/| /' conftest.$ac_ext >&5
33355
33356 ac_cv_header_ddraw_h=no
33357 fi
33358
33359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33360 fi
33361 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33362 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33363
33364
33365 fi
33366 fi
33367
33368 if test "$wxUSE_DETECT_SM" = "yes"; then
33369 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33370 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33371 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33372
33373 ac_find_libraries=
33374 for ac_dir in $SEARCH_LIB;
33375 do
33376 for ac_extension in a so sl dylib dll.a; do
33377 if test -f "$ac_dir/libSM.$ac_extension"; then
33378 ac_find_libraries=$ac_dir
33379 break 2
33380 fi
33381 done
33382 done
33383
33384 if test "$ac_find_libraries" != "" ; then
33385
33386 if test "$ac_find_libraries" = "default location"; then
33387 ac_path_to_link=""
33388 else
33389 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33390 result=$?
33391 if test $result = 0; then
33392 ac_path_to_link=""
33393 else
33394 ac_path_to_link=" -L$ac_find_libraries"
33395 fi
33396 fi
33397
33398 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33399 LDFLAGS="$LDFLAGS $ac_path_to_link"
33400 fi
33401 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33402 { echo "$as_me:$LINENO: result: yes" >&5
33403 echo "${ECHO_T}yes" >&6; }
33404 else
33405 { echo "$as_me:$LINENO: result: no" >&5
33406 echo "${ECHO_T}no" >&6; }
33407 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33408 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33409 wxUSE_DETECT_SM="no"
33410 fi
33411 else
33412 wxUSE_DETECT_SM="no"
33413 fi
33414 fi
33415
33416
33417
33418 USE_OPENGL=0
33419 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33420
33421
33422 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33423 OPENGL_LIBS="-framework OpenGL -framework AGL"
33424 elif test "$wxUSE_MSW" = 1; then
33425 OPENGL_LIBS="-lopengl32 -lglu32"
33426 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33427
33428 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33429 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33430
33431 ac_find_includes=
33432 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33433 do
33434 if test -f "$ac_dir/GL/gl.h"; then
33435 ac_find_includes=$ac_dir
33436 break
33437 fi
33438 done
33439
33440 if test "$ac_find_includes" != "" ; then
33441 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33442 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33443
33444 if test "x$ac_find_includes" = "x/usr/include"; then
33445 ac_path_to_include=""
33446 else
33447 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33448 result=$?
33449 if test $result = 0; then
33450 ac_path_to_include=""
33451 else
33452 ac_path_to_include=" -I$ac_find_includes"
33453 fi
33454 fi
33455
33456 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33457 else
33458 { echo "$as_me:$LINENO: result: not found" >&5
33459 echo "${ECHO_T}not found" >&6; }
33460 fi
33461
33462 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33463 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33464 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33465 echo $ECHO_N "(cached) $ECHO_C" >&6
33466 else
33467 cat >conftest.$ac_ext <<_ACEOF
33468 /* confdefs.h. */
33469 _ACEOF
33470 cat confdefs.h >>conftest.$ac_ext
33471 cat >>conftest.$ac_ext <<_ACEOF
33472 /* end confdefs.h. */
33473
33474
33475 #include <GL/gl.h>
33476 _ACEOF
33477 rm -f conftest.$ac_objext
33478 if { (ac_try="$ac_compile"
33479 case "(($ac_try" in
33480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33481 *) ac_try_echo=$ac_try;;
33482 esac
33483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33484 (eval "$ac_compile") 2>conftest.er1
33485 ac_status=$?
33486 grep -v '^ *+' conftest.er1 >conftest.err
33487 rm -f conftest.er1
33488 cat conftest.err >&5
33489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33490 (exit $ac_status); } && {
33491 test -z "$ac_c_werror_flag" ||
33492 test ! -s conftest.err
33493 } && test -s conftest.$ac_objext; then
33494 ac_cv_header_GL_gl_h=yes
33495 else
33496 echo "$as_me: failed program was:" >&5
33497 sed 's/^/| /' conftest.$ac_ext >&5
33498
33499 ac_cv_header_GL_gl_h=no
33500 fi
33501
33502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33503 fi
33504 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33505 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33506 if test $ac_cv_header_GL_gl_h = yes; then
33507
33508 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33509 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33510 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33511 echo $ECHO_N "(cached) $ECHO_C" >&6
33512 else
33513 cat >conftest.$ac_ext <<_ACEOF
33514 /* confdefs.h. */
33515 _ACEOF
33516 cat confdefs.h >>conftest.$ac_ext
33517 cat >>conftest.$ac_ext <<_ACEOF
33518 /* end confdefs.h. */
33519
33520
33521 #include <GL/glu.h>
33522 _ACEOF
33523 rm -f conftest.$ac_objext
33524 if { (ac_try="$ac_compile"
33525 case "(($ac_try" in
33526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33527 *) ac_try_echo=$ac_try;;
33528 esac
33529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33530 (eval "$ac_compile") 2>conftest.er1
33531 ac_status=$?
33532 grep -v '^ *+' conftest.er1 >conftest.err
33533 rm -f conftest.er1
33534 cat conftest.err >&5
33535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33536 (exit $ac_status); } && {
33537 test -z "$ac_c_werror_flag" ||
33538 test ! -s conftest.err
33539 } && test -s conftest.$ac_objext; then
33540 ac_cv_header_GL_glu_h=yes
33541 else
33542 echo "$as_me: failed program was:" >&5
33543 sed 's/^/| /' conftest.$ac_ext >&5
33544
33545 ac_cv_header_GL_glu_h=no
33546 fi
33547
33548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33549 fi
33550 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33551 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33552 if test $ac_cv_header_GL_glu_h = yes; then
33553
33554 found_gl=0
33555
33556 { echo "$as_me:$LINENO: checking for -lGL" >&5
33557 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33558
33559 ac_find_libraries=
33560 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33561 do
33562 for ac_extension in a so sl dylib dll.a; do
33563 if test -f "$ac_dir/libGL.$ac_extension"; then
33564 ac_find_libraries=$ac_dir
33565 break 2
33566 fi
33567 done
33568 done
33569
33570 if test "$ac_find_libraries" != "" ; then
33571 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33572 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33573
33574
33575 if test "$ac_find_libraries" = "default location"; then
33576 ac_path_to_link=""
33577 else
33578 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33579 result=$?
33580 if test $result = 0; then
33581 ac_path_to_link=""
33582 else
33583 ac_path_to_link=" -L$ac_find_libraries"
33584 fi
33585 fi
33586
33587 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33588 LDFLAGS_GL="$ac_path_to_link"
33589 fi
33590
33591 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33592 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33593
33594 ac_find_libraries=
33595 for ac_dir in $SEARCH_LIB;
33596 do
33597 for ac_extension in a so sl dylib dll.a; do
33598 if test -f "$ac_dir/libGLU.$ac_extension"; then
33599 ac_find_libraries=$ac_dir
33600 break 2
33601 fi
33602 done
33603 done
33604
33605 if test "$ac_find_libraries" != "" ; then
33606
33607 if test "$ac_find_libraries" = "default location"; then
33608 ac_path_to_link=""
33609 else
33610 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33611 result=$?
33612 if test $result = 0; then
33613 ac_path_to_link=""
33614 else
33615 ac_path_to_link=" -L$ac_find_libraries"
33616 fi
33617 fi
33618
33619 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33620 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33621 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33622 fi
33623
33624 found_gl=1
33625 OPENGL_LIBS="-lGL -lGLU"
33626 { echo "$as_me:$LINENO: result: yes" >&5
33627 echo "${ECHO_T}yes" >&6; }
33628 else
33629 { echo "$as_me:$LINENO: result: no" >&5
33630 echo "${ECHO_T}no" >&6; }
33631 fi
33632 else
33633 { echo "$as_me:$LINENO: result: no" >&5
33634 echo "${ECHO_T}no" >&6; }
33635 fi
33636
33637 if test "$found_gl" != 1; then
33638 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33639 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33640
33641 ac_find_libraries=
33642 for ac_dir in $SEARCH_LIB;
33643 do
33644 for ac_extension in a so sl dylib dll.a; do
33645 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33646 ac_find_libraries=$ac_dir
33647 break 2
33648 fi
33649 done
33650 done
33651
33652 if test "$ac_find_libraries" != "" ; then
33653
33654 if test "$ac_find_libraries" = "default location"; then
33655 ac_path_to_link=""
33656 else
33657 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33658 result=$?
33659 if test $result = 0; then
33660 ac_path_to_link=""
33661 else
33662 ac_path_to_link=" -L$ac_find_libraries"
33663 fi
33664 fi
33665
33666 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33667 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33668 { echo "$as_me:$LINENO: result: yes" >&5
33669 echo "${ECHO_T}yes" >&6; }
33670 else
33671 { echo "$as_me:$LINENO: result: no" >&5
33672 echo "${ECHO_T}no" >&6; }
33673 fi
33674 fi
33675
33676 fi
33677
33678
33679
33680 fi
33681
33682
33683
33684 if test "x$OPENGL_LIBS" = "x"; then
33685 if test "$wxUSE_OPENGL" = "yes"; then
33686 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33687 echo "$as_me: error: OpenGL libraries not available" >&2;}
33688 { (exit 1); exit 1; }; }
33689 else
33690 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33691 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33692 wxUSE_OPENGL=no
33693 USE_OPENGL=0
33694 fi
33695 fi
33696 else
33697 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33698 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33699 wxUSE_OPENGL="no"
33700 fi
33701
33702 if test "$wxUSE_OPENGL" = "auto"; then
33703 wxUSE_OPENGL=yes
33704 fi
33705
33706 if test "$wxUSE_OPENGL" = "yes"; then
33707 USE_OPENGL=1
33708 cat >>confdefs.h <<\_ACEOF
33709 #define wxUSE_OPENGL 1
33710 _ACEOF
33711
33712 cat >>confdefs.h <<\_ACEOF
33713 #define wxUSE_GLCANVAS 1
33714 _ACEOF
33715
33716 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33717 fi
33718 fi
33719
33720
33721 if test -n "$TOOLKIT" ; then
33722 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33723 fi
33724
33725
33726
33727 if test "$wxUSE_SHARED" = "yes"; then
33728 case "${host}" in
33729 *-pc-msdosdjgpp )
33730 wxUSE_SHARED=no
33731 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33732 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33733 ;;
33734 esac
33735 fi
33736
33737 if test "$wxUSE_SHARED" = "yes"; then
33738
33739
33740 case "${host}" in
33741 *-*-cygwin* | *-*-mingw* )
33742 wx_cv_version_script=no
33743 ;;
33744
33745 *)
33746 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33747 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33748 if test "${wx_cv_version_script+set}" = set; then
33749 echo $ECHO_N "(cached) $ECHO_C" >&6
33750 else
33751
33752 echo "VER_1 { *; };" >conftest.sym
33753 echo "int main() { return 0; }" >conftest.cpp
33754
33755 if { ac_try='
33756 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33757 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33759 (eval $ac_try) 2>&5
33760 ac_status=$?
33761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33762 (exit $ac_status); }; } ; then
33763 if test -s conftest.stderr ; then
33764 wx_cv_version_script=no
33765 else
33766 wx_cv_version_script=yes
33767 fi
33768 else
33769 wx_cv_version_script=no
33770 fi
33771
33772 if test $wx_cv_version_script = yes
33773 then
33774 echo "struct B { virtual ~B() { } }; \
33775 struct D : public B { }; \
33776 void F() { D d; }" > conftest.cpp
33777
33778 if { ac_try='
33779 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33780 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33782 (eval $ac_try) 2>&5
33783 ac_status=$?
33784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33785 (exit $ac_status); }; } &&
33786 { ac_try='
33787 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33788 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33790 (eval $ac_try) 2>&5
33791 ac_status=$?
33792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33793 (exit $ac_status); }; }
33794 then
33795 if { ac_try='
33796 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33797 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33799 (eval $ac_try) 2>&5
33800 ac_status=$?
33801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33802 (exit $ac_status); }; }
33803 then
33804 wx_cv_version_script=yes
33805 else
33806 wx_cv_version_script=no
33807 fi
33808 fi
33809 fi
33810
33811 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33812 rm -f conftest1.output conftest2.output conftest3.output
33813
33814 fi
33815 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33816 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33817
33818 if test $wx_cv_version_script = yes ; then
33819 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33820 fi
33821 ;;
33822 esac
33823
33824
33825 if test "$wxUSE_VISIBILITY" != "no"; then
33826
33827
33828 if test -n "$GCC"; then
33829 CFLAGS_VISIBILITY="-fvisibility=hidden"
33830 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33831 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33832 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33833 if test "${wx_cv_cc_visibility+set}" = set; then
33834 echo $ECHO_N "(cached) $ECHO_C" >&6
33835 else
33836
33837 wx_save_CXXFLAGS="$CXXFLAGS"
33838 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33839 ac_ext=cpp
33840 ac_cpp='$CXXCPP $CPPFLAGS'
33841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33844
33845 cat >conftest.$ac_ext <<_ACEOF
33846 /* confdefs.h. */
33847 _ACEOF
33848 cat confdefs.h >>conftest.$ac_ext
33849 cat >>conftest.$ac_ext <<_ACEOF
33850 /* end confdefs.h. */
33851
33852 /* we need gcc >= 4.0, older versions with visibility support
33853 didn't have class visibility: */
33854 #if defined(__GNUC__) && __GNUC__ < 4
33855 error this gcc is too old;
33856 #endif
33857
33858 /* visibility only makes sense for ELF shared libs: */
33859 #if !defined(__ELF__) && !defined(__APPLE__)
33860 error this platform has no visibility;
33861 #endif
33862
33863 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33864 extern __attribute__((__visibility__("default"))) int exportedvar;
33865 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33866 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33867 class __attribute__((__visibility__("default"))) Foo {
33868 Foo() {}
33869 };
33870
33871 int
33872 main ()
33873 {
33874
33875 ;
33876 return 0;
33877 }
33878 _ACEOF
33879 rm -f conftest.$ac_objext
33880 if { (ac_try="$ac_compile"
33881 case "(($ac_try" in
33882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33883 *) ac_try_echo=$ac_try;;
33884 esac
33885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33886 (eval "$ac_compile") 2>conftest.er1
33887 ac_status=$?
33888 grep -v '^ *+' conftest.er1 >conftest.err
33889 rm -f conftest.er1
33890 cat conftest.err >&5
33891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33892 (exit $ac_status); } && {
33893 test -z "$ac_cxx_werror_flag" ||
33894 test ! -s conftest.err
33895 } && test -s conftest.$ac_objext; then
33896 wx_cv_cc_visibility=yes
33897 else
33898 echo "$as_me: failed program was:" >&5
33899 sed 's/^/| /' conftest.$ac_ext >&5
33900
33901 wx_cv_cc_visibility=no
33902 fi
33903
33904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33905 ac_ext=c
33906 ac_cpp='$CPP $CPPFLAGS'
33907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33910
33911 CXXFLAGS="$wx_save_CXXFLAGS"
33912 fi
33913
33914 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33915 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33916 if test $wx_cv_cc_visibility = yes; then
33917 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33918 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33919 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33920 echo $ECHO_N "(cached) $ECHO_C" >&6
33921 else
33922
33923 wx_save_CXXFLAGS="$CXXFLAGS"
33924 wx_save_LDFLAGS="$LDFLAGS"
33925 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33926 LDFLAGS="$LDFLAGS -shared -fPIC"
33927 ac_ext=cpp
33928 ac_cpp='$CXXCPP $CPPFLAGS'
33929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33932
33933 cat >conftest.$ac_ext <<_ACEOF
33934 /* confdefs.h. */
33935 _ACEOF
33936 cat confdefs.h >>conftest.$ac_ext
33937 cat >>conftest.$ac_ext <<_ACEOF
33938 /* end confdefs.h. */
33939
33940 #include <string>
33941
33942 int
33943 main ()
33944 {
33945
33946 std::string s("hello");
33947 return s.length();
33948
33949 ;
33950 return 0;
33951 }
33952 _ACEOF
33953 rm -f conftest.$ac_objext conftest$ac_exeext
33954 if { (ac_try="$ac_link"
33955 case "(($ac_try" in
33956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33957 *) ac_try_echo=$ac_try;;
33958 esac
33959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33960 (eval "$ac_link") 2>conftest.er1
33961 ac_status=$?
33962 grep -v '^ *+' conftest.er1 >conftest.err
33963 rm -f conftest.er1
33964 cat conftest.err >&5
33965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33966 (exit $ac_status); } && {
33967 test -z "$ac_cxx_werror_flag" ||
33968 test ! -s conftest.err
33969 } && test -s conftest$ac_exeext &&
33970 $as_test_x conftest$ac_exeext; then
33971 wx_cv_cc_broken_libstdcxx_visibility=no
33972 else
33973 echo "$as_me: failed program was:" >&5
33974 sed 's/^/| /' conftest.$ac_ext >&5
33975
33976 wx_cv_cc_broken_libstdcxx_visibility=yes
33977 fi
33978
33979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33980 conftest$ac_exeext conftest.$ac_ext
33981 ac_ext=c
33982 ac_cpp='$CPP $CPPFLAGS'
33983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33986
33987 CXXFLAGS="$wx_save_CXXFLAGS"
33988 LDFLAGS="$wx_save_LDFLAGS"
33989 fi
33990
33991 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33992 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33993
33994 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33995 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33996 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33997 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33998 echo $ECHO_N "(cached) $ECHO_C" >&6
33999 else
34000
34001 ac_ext=cpp
34002 ac_cpp='$CXXCPP $CPPFLAGS'
34003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34006
34007 cat >conftest.$ac_ext <<_ACEOF
34008 /* confdefs.h. */
34009 _ACEOF
34010 cat confdefs.h >>conftest.$ac_ext
34011 cat >>conftest.$ac_ext <<_ACEOF
34012 /* end confdefs.h. */
34013
34014 #pragma GCC visibility push(default)
34015 #include <string>
34016 #pragma GCC visibility pop
34017
34018 int
34019 main ()
34020 {
34021
34022 std::string s("hello");
34023 return s.length();
34024
34025 ;
34026 return 0;
34027 }
34028 _ACEOF
34029 rm -f conftest.$ac_objext conftest$ac_exeext
34030 if { (ac_try="$ac_link"
34031 case "(($ac_try" in
34032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34033 *) ac_try_echo=$ac_try;;
34034 esac
34035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34036 (eval "$ac_link") 2>conftest.er1
34037 ac_status=$?
34038 grep -v '^ *+' conftest.er1 >conftest.err
34039 rm -f conftest.er1
34040 cat conftest.err >&5
34041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34042 (exit $ac_status); } && {
34043 test -z "$ac_cxx_werror_flag" ||
34044 test ! -s conftest.err
34045 } && test -s conftest$ac_exeext &&
34046 $as_test_x conftest$ac_exeext; then
34047 wx_cv_cc_visibility_workaround=no
34048 else
34049 echo "$as_me: failed program was:" >&5
34050 sed 's/^/| /' conftest.$ac_ext >&5
34051
34052 wx_cv_cc_visibility_workaround=yes
34053 fi
34054
34055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34056 conftest$ac_exeext conftest.$ac_ext
34057 ac_ext=c
34058 ac_cpp='$CPP $CPPFLAGS'
34059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34062
34063
34064 fi
34065
34066 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34067 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34068
34069 if test $wx_cv_cc_visibility_workaround = no; then
34070 wx_cv_cc_visibility=no
34071 fi
34072 fi
34073 fi
34074
34075 if test $wx_cv_cc_visibility = yes; then
34076 cat >>confdefs.h <<\_ACEOF
34077 #define HAVE_VISIBILITY 1
34078 _ACEOF
34079
34080 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34081 cat >>confdefs.h <<\_ACEOF
34082 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34083 _ACEOF
34084
34085 fi
34086 else
34087 CFLAGS_VISIBILITY=""
34088 CXXFLAGS_VISIBILITY=""
34089 fi
34090
34091
34092 fi
34093
34094 fi
34095
34096 if test "x$SUNCXX" = xyes; then
34097 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34098 WXCONFIG_RPATH="-R\$libdir"
34099 else
34100 case "${host}" in
34101 *-*-linux* | *-*-gnu* )
34102 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34103 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34104 ;;
34105
34106 *-*-solaris2* )
34107
34108 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34109
34110 saveLdflags="$LDFLAGS"
34111 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34112 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34113 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34114 cat >conftest.$ac_ext <<_ACEOF
34115 /* confdefs.h. */
34116 _ACEOF
34117 cat confdefs.h >>conftest.$ac_ext
34118 cat >>conftest.$ac_ext <<_ACEOF
34119 /* end confdefs.h. */
34120
34121 int
34122 main ()
34123 {
34124
34125 ;
34126 return 0;
34127 }
34128 _ACEOF
34129 rm -f conftest.$ac_objext conftest$ac_exeext
34130 if { (ac_try="$ac_link"
34131 case "(($ac_try" in
34132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34133 *) ac_try_echo=$ac_try;;
34134 esac
34135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34136 (eval "$ac_link") 2>conftest.er1
34137 ac_status=$?
34138 grep -v '^ *+' conftest.er1 >conftest.err
34139 rm -f conftest.er1
34140 cat conftest.err >&5
34141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34142 (exit $ac_status); } && {
34143 test -z "$ac_c_werror_flag" ||
34144 test ! -s conftest.err
34145 } && test -s conftest$ac_exeext &&
34146 $as_test_x conftest$ac_exeext; then
34147
34148 { echo "$as_me:$LINENO: result: yes" >&5
34149 echo "${ECHO_T}yes" >&6; }
34150 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34151 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34152
34153 else
34154 echo "$as_me: failed program was:" >&5
34155 sed 's/^/| /' conftest.$ac_ext >&5
34156
34157
34158 { echo "$as_me:$LINENO: result: no" >&5
34159 echo "${ECHO_T}no" >&6; }
34160 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34161 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34162 LDFLAGS="$saveLdflags -Wl,-R,/"
34163 cat >conftest.$ac_ext <<_ACEOF
34164 /* confdefs.h. */
34165 _ACEOF
34166 cat confdefs.h >>conftest.$ac_ext
34167 cat >>conftest.$ac_ext <<_ACEOF
34168 /* end confdefs.h. */
34169
34170 int
34171 main ()
34172 {
34173
34174 ;
34175 return 0;
34176 }
34177 _ACEOF
34178 rm -f conftest.$ac_objext conftest$ac_exeext
34179 if { (ac_try="$ac_link"
34180 case "(($ac_try" in
34181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34182 *) ac_try_echo=$ac_try;;
34183 esac
34184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34185 (eval "$ac_link") 2>conftest.er1
34186 ac_status=$?
34187 grep -v '^ *+' conftest.er1 >conftest.err
34188 rm -f conftest.er1
34189 cat conftest.err >&5
34190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34191 (exit $ac_status); } && {
34192 test -z "$ac_c_werror_flag" ||
34193 test ! -s conftest.err
34194 } && test -s conftest$ac_exeext &&
34195 $as_test_x conftest$ac_exeext; then
34196
34197 { echo "$as_me:$LINENO: result: yes" >&5
34198 echo "${ECHO_T}yes" >&6; }
34199 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34200 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34201
34202 else
34203 echo "$as_me: failed program was:" >&5
34204 sed 's/^/| /' conftest.$ac_ext >&5
34205
34206
34207 { echo "$as_me:$LINENO: result: no" >&5
34208 echo "${ECHO_T}no" >&6; }
34209
34210 fi
34211
34212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34213 conftest$ac_exeext conftest.$ac_ext
34214
34215 fi
34216
34217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34218 conftest$ac_exeext conftest.$ac_ext
34219 LDFLAGS="$saveLdflags"
34220 ;;
34221
34222 *-*-darwin* )
34223 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
34224 if test "$install_name_tool" -a -x "$install_name_tool"; then
34225 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34226 cat <<EOF >change-install-names
34227 #!/bin/sh
34228 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34229 for i in \${libnames} ; do
34230 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34231 for dep in \${libnames} ; do
34232 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34233 done
34234 done
34235 EOF
34236 chmod +x change-install-names
34237 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34238 fi
34239
34240 HEADER_PAD_OPTION="-headerpad_max_install_names"
34241 ;;
34242
34243 *-*-cygwin* | *-*-mingw32* )
34244 ;;
34245
34246 *-*-hpux* )
34247 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34248 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34249 ;;
34250
34251 esac
34252 fi
34253
34254 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34255
34256 if test $wxUSE_RPATH = "no"; then
34257 SAMPLES_RPATH_FLAG=''
34258 DYLIB_PATH_POSTLINK=''
34259 WXCONFIG_RPATH=''
34260 fi
34261
34262 SHARED=1
34263
34264 else
34265
34266 config_linkage_component="-static"
34267 SHARED=0
34268
34269 fi
34270
34271
34272 UNICODE=0
34273 lib_unicode_suffix=
34274 WX_CHARTYPE="ansi"
34275 if test "$wxUSE_UNICODE" = "yes"; then
34276 lib_unicode_suffix=u
34277 WX_CHARTYPE="unicode"
34278 UNICODE=1
34279 fi
34280
34281 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34282 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34283
34284 DEBUG_INFO=0
34285 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34286 DEBUG_INFO=1
34287 fi
34288
34289 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34290
34291 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34292
34293 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34294
34295
34296 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34297 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34298 else
34299 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34300 fi
34301 if test "${TOOLKIT_DIR}" = "os2"; then
34302 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34303 else
34304 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34305 fi
34306
34307
34308
34309 if test "$wxUSE_COCOA" = 1; then
34310
34311 ac_ext=c
34312 ac_cpp='$CPP $CPPFLAGS'
34313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34316
34317 ac_ext=m
34318
34319 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34320 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34321 cat >conftest.$ac_ext <<_ACEOF
34322 /* confdefs.h. */
34323 _ACEOF
34324 cat confdefs.h >>conftest.$ac_ext
34325 cat >>conftest.$ac_ext <<_ACEOF
34326 /* end confdefs.h. */
34327 #include <AppKit/NSEvent.h>
34328 #include <CoreFoundation/CoreFoundation.h>
34329
34330 int
34331 main ()
34332 {
34333
34334 ;
34335 return 0;
34336 }
34337 _ACEOF
34338 rm -f conftest.$ac_objext
34339 if { (ac_try="$ac_compile"
34340 case "(($ac_try" in
34341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34342 *) ac_try_echo=$ac_try;;
34343 esac
34344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34345 (eval "$ac_compile") 2>conftest.er1
34346 ac_status=$?
34347 grep -v '^ *+' conftest.er1 >conftest.err
34348 rm -f conftest.er1
34349 cat conftest.err >&5
34350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34351 (exit $ac_status); } && {
34352 test -z "$ac_c_werror_flag" ||
34353 test ! -s conftest.err
34354 } && test -s conftest.$ac_objext; then
34355 { echo "$as_me:$LINENO: result: no" >&5
34356 echo "${ECHO_T}no" >&6; }
34357 else
34358 echo "$as_me: failed program was:" >&5
34359 sed 's/^/| /' conftest.$ac_ext >&5
34360
34361 { echo "$as_me:$LINENO: result: yes" >&5
34362 echo "${ECHO_T}yes" >&6; }
34363 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34364 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34365 cat >conftest.$ac_ext <<_ACEOF
34366 /* confdefs.h. */
34367 _ACEOF
34368 cat confdefs.h >>conftest.$ac_ext
34369 cat >>conftest.$ac_ext <<_ACEOF
34370 /* end confdefs.h. */
34371 #define __Point__ 1
34372 #include <AppKit/NSEvent.h>
34373 #include <CoreFoundation/CoreFoundation.h>
34374
34375 int
34376 main ()
34377 {
34378
34379 ;
34380 return 0;
34381 }
34382 _ACEOF
34383 rm -f conftest.$ac_objext
34384 if { (ac_try="$ac_compile"
34385 case "(($ac_try" in
34386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34387 *) ac_try_echo=$ac_try;;
34388 esac
34389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34390 (eval "$ac_compile") 2>conftest.er1
34391 ac_status=$?
34392 grep -v '^ *+' conftest.er1 >conftest.err
34393 rm -f conftest.er1
34394 cat conftest.err >&5
34395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34396 (exit $ac_status); } && {
34397 test -z "$ac_c_werror_flag" ||
34398 test ! -s conftest.err
34399 } && test -s conftest.$ac_objext; then
34400 { echo "$as_me:$LINENO: result: yes" >&5
34401 echo "${ECHO_T}yes" >&6; }
34402 cat >>confdefs.h <<\_ACEOF
34403 #define __Point__ 1
34404 _ACEOF
34405
34406
34407 else
34408 echo "$as_me: failed program was:" >&5
34409 sed 's/^/| /' conftest.$ac_ext >&5
34410
34411 { { echo "$as_me:$LINENO: error: no
34412 See \`config.log' for more details." >&5
34413 echo "$as_me: error: no
34414 See \`config.log' for more details." >&2;}
34415 { (exit 1); exit 1; }; }
34416
34417 fi
34418
34419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34420
34421 fi
34422
34423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34424 ac_ext=c
34425 ac_cpp='$CPP $CPPFLAGS'
34426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34429
34430 fi
34431
34432
34433 { echo "$as_me:$LINENO: checking for mode_t" >&5
34434 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34435 if test "${ac_cv_type_mode_t+set}" = set; then
34436 echo $ECHO_N "(cached) $ECHO_C" >&6
34437 else
34438 cat >conftest.$ac_ext <<_ACEOF
34439 /* confdefs.h. */
34440 _ACEOF
34441 cat confdefs.h >>conftest.$ac_ext
34442 cat >>conftest.$ac_ext <<_ACEOF
34443 /* end confdefs.h. */
34444 $ac_includes_default
34445 typedef mode_t ac__type_new_;
34446 int
34447 main ()
34448 {
34449 if ((ac__type_new_ *) 0)
34450 return 0;
34451 if (sizeof (ac__type_new_))
34452 return 0;
34453 ;
34454 return 0;
34455 }
34456 _ACEOF
34457 rm -f conftest.$ac_objext
34458 if { (ac_try="$ac_compile"
34459 case "(($ac_try" in
34460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34461 *) ac_try_echo=$ac_try;;
34462 esac
34463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34464 (eval "$ac_compile") 2>conftest.er1
34465 ac_status=$?
34466 grep -v '^ *+' conftest.er1 >conftest.err
34467 rm -f conftest.er1
34468 cat conftest.err >&5
34469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34470 (exit $ac_status); } && {
34471 test -z "$ac_c_werror_flag" ||
34472 test ! -s conftest.err
34473 } && test -s conftest.$ac_objext; then
34474 ac_cv_type_mode_t=yes
34475 else
34476 echo "$as_me: failed program was:" >&5
34477 sed 's/^/| /' conftest.$ac_ext >&5
34478
34479 ac_cv_type_mode_t=no
34480 fi
34481
34482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34483 fi
34484 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34485 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34486 if test $ac_cv_type_mode_t = yes; then
34487 :
34488 else
34489
34490 cat >>confdefs.h <<_ACEOF
34491 #define mode_t int
34492 _ACEOF
34493
34494 fi
34495
34496 { echo "$as_me:$LINENO: checking for off_t" >&5
34497 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34498 if test "${ac_cv_type_off_t+set}" = set; then
34499 echo $ECHO_N "(cached) $ECHO_C" >&6
34500 else
34501 cat >conftest.$ac_ext <<_ACEOF
34502 /* confdefs.h. */
34503 _ACEOF
34504 cat confdefs.h >>conftest.$ac_ext
34505 cat >>conftest.$ac_ext <<_ACEOF
34506 /* end confdefs.h. */
34507 $ac_includes_default
34508 typedef off_t ac__type_new_;
34509 int
34510 main ()
34511 {
34512 if ((ac__type_new_ *) 0)
34513 return 0;
34514 if (sizeof (ac__type_new_))
34515 return 0;
34516 ;
34517 return 0;
34518 }
34519 _ACEOF
34520 rm -f conftest.$ac_objext
34521 if { (ac_try="$ac_compile"
34522 case "(($ac_try" in
34523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34524 *) ac_try_echo=$ac_try;;
34525 esac
34526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34527 (eval "$ac_compile") 2>conftest.er1
34528 ac_status=$?
34529 grep -v '^ *+' conftest.er1 >conftest.err
34530 rm -f conftest.er1
34531 cat conftest.err >&5
34532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34533 (exit $ac_status); } && {
34534 test -z "$ac_c_werror_flag" ||
34535 test ! -s conftest.err
34536 } && test -s conftest.$ac_objext; then
34537 ac_cv_type_off_t=yes
34538 else
34539 echo "$as_me: failed program was:" >&5
34540 sed 's/^/| /' conftest.$ac_ext >&5
34541
34542 ac_cv_type_off_t=no
34543 fi
34544
34545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34546 fi
34547 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34548 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34549 if test $ac_cv_type_off_t = yes; then
34550 :
34551 else
34552
34553 cat >>confdefs.h <<_ACEOF
34554 #define off_t long int
34555 _ACEOF
34556
34557 fi
34558
34559 { echo "$as_me:$LINENO: checking for pid_t" >&5
34560 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34561 if test "${ac_cv_type_pid_t+set}" = set; then
34562 echo $ECHO_N "(cached) $ECHO_C" >&6
34563 else
34564 cat >conftest.$ac_ext <<_ACEOF
34565 /* confdefs.h. */
34566 _ACEOF
34567 cat confdefs.h >>conftest.$ac_ext
34568 cat >>conftest.$ac_ext <<_ACEOF
34569 /* end confdefs.h. */
34570 $ac_includes_default
34571 typedef pid_t ac__type_new_;
34572 int
34573 main ()
34574 {
34575 if ((ac__type_new_ *) 0)
34576 return 0;
34577 if (sizeof (ac__type_new_))
34578 return 0;
34579 ;
34580 return 0;
34581 }
34582 _ACEOF
34583 rm -f conftest.$ac_objext
34584 if { (ac_try="$ac_compile"
34585 case "(($ac_try" in
34586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34587 *) ac_try_echo=$ac_try;;
34588 esac
34589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34590 (eval "$ac_compile") 2>conftest.er1
34591 ac_status=$?
34592 grep -v '^ *+' conftest.er1 >conftest.err
34593 rm -f conftest.er1
34594 cat conftest.err >&5
34595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34596 (exit $ac_status); } && {
34597 test -z "$ac_c_werror_flag" ||
34598 test ! -s conftest.err
34599 } && test -s conftest.$ac_objext; then
34600 ac_cv_type_pid_t=yes
34601 else
34602 echo "$as_me: failed program was:" >&5
34603 sed 's/^/| /' conftest.$ac_ext >&5
34604
34605 ac_cv_type_pid_t=no
34606 fi
34607
34608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34609 fi
34610 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34611 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34612 if test $ac_cv_type_pid_t = yes; then
34613 :
34614 else
34615
34616 cat >>confdefs.h <<_ACEOF
34617 #define pid_t int
34618 _ACEOF
34619
34620 fi
34621
34622 { echo "$as_me:$LINENO: checking for size_t" >&5
34623 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34624 if test "${ac_cv_type_size_t+set}" = set; then
34625 echo $ECHO_N "(cached) $ECHO_C" >&6
34626 else
34627 cat >conftest.$ac_ext <<_ACEOF
34628 /* confdefs.h. */
34629 _ACEOF
34630 cat confdefs.h >>conftest.$ac_ext
34631 cat >>conftest.$ac_ext <<_ACEOF
34632 /* end confdefs.h. */
34633 $ac_includes_default
34634 typedef size_t ac__type_new_;
34635 int
34636 main ()
34637 {
34638 if ((ac__type_new_ *) 0)
34639 return 0;
34640 if (sizeof (ac__type_new_))
34641 return 0;
34642 ;
34643 return 0;
34644 }
34645 _ACEOF
34646 rm -f conftest.$ac_objext
34647 if { (ac_try="$ac_compile"
34648 case "(($ac_try" in
34649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34650 *) ac_try_echo=$ac_try;;
34651 esac
34652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34653 (eval "$ac_compile") 2>conftest.er1
34654 ac_status=$?
34655 grep -v '^ *+' conftest.er1 >conftest.err
34656 rm -f conftest.er1
34657 cat conftest.err >&5
34658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34659 (exit $ac_status); } && {
34660 test -z "$ac_c_werror_flag" ||
34661 test ! -s conftest.err
34662 } && test -s conftest.$ac_objext; then
34663 ac_cv_type_size_t=yes
34664 else
34665 echo "$as_me: failed program was:" >&5
34666 sed 's/^/| /' conftest.$ac_ext >&5
34667
34668 ac_cv_type_size_t=no
34669 fi
34670
34671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34672 fi
34673 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34674 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34675 if test $ac_cv_type_size_t = yes; then
34676 :
34677 else
34678
34679 cat >>confdefs.h <<_ACEOF
34680 #define size_t unsigned int
34681 _ACEOF
34682
34683 fi
34684
34685
34686 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34687 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34688 if test "${ac_cv_type_ssize_t+set}" = set; then
34689 echo $ECHO_N "(cached) $ECHO_C" >&6
34690 else
34691 cat >conftest.$ac_ext <<_ACEOF
34692 /* confdefs.h. */
34693 _ACEOF
34694 cat confdefs.h >>conftest.$ac_ext
34695 cat >>conftest.$ac_ext <<_ACEOF
34696 /* end confdefs.h. */
34697 $ac_includes_default
34698 typedef ssize_t ac__type_new_;
34699 int
34700 main ()
34701 {
34702 if ((ac__type_new_ *) 0)
34703 return 0;
34704 if (sizeof (ac__type_new_))
34705 return 0;
34706 ;
34707 return 0;
34708 }
34709 _ACEOF
34710 rm -f conftest.$ac_objext
34711 if { (ac_try="$ac_compile"
34712 case "(($ac_try" in
34713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34714 *) ac_try_echo=$ac_try;;
34715 esac
34716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34717 (eval "$ac_compile") 2>conftest.er1
34718 ac_status=$?
34719 grep -v '^ *+' conftest.er1 >conftest.err
34720 rm -f conftest.er1
34721 cat conftest.err >&5
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); } && {
34724 test -z "$ac_c_werror_flag" ||
34725 test ! -s conftest.err
34726 } && test -s conftest.$ac_objext; then
34727 ac_cv_type_ssize_t=yes
34728 else
34729 echo "$as_me: failed program was:" >&5
34730 sed 's/^/| /' conftest.$ac_ext >&5
34731
34732 ac_cv_type_ssize_t=no
34733 fi
34734
34735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34736 fi
34737 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34738 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34739 if test $ac_cv_type_ssize_t = yes; then
34740
34741 cat >>confdefs.h <<_ACEOF
34742 #define HAVE_SSIZE_T 1
34743 _ACEOF
34744
34745
34746 fi
34747
34748
34749 ac_ext=cpp
34750 ac_cpp='$CXXCPP $CPPFLAGS'
34751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34754 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34755 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34756 if test "${wx_cv_size_t_is_uint+set}" = set; then
34757 echo $ECHO_N "(cached) $ECHO_C" >&6
34758 else
34759
34760 cat >conftest.$ac_ext <<_ACEOF
34761 /* confdefs.h. */
34762 _ACEOF
34763 cat confdefs.h >>conftest.$ac_ext
34764 cat >>conftest.$ac_ext <<_ACEOF
34765 /* end confdefs.h. */
34766 #include <stddef.h>
34767 int
34768 main ()
34769 {
34770
34771 return 0; }
34772
34773 struct Foo { void foo(size_t); void foo(unsigned int); };
34774
34775 int bar() {
34776
34777 ;
34778 return 0;
34779 }
34780 _ACEOF
34781 rm -f conftest.$ac_objext
34782 if { (ac_try="$ac_compile"
34783 case "(($ac_try" in
34784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34785 *) ac_try_echo=$ac_try;;
34786 esac
34787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34788 (eval "$ac_compile") 2>conftest.er1
34789 ac_status=$?
34790 grep -v '^ *+' conftest.er1 >conftest.err
34791 rm -f conftest.er1
34792 cat conftest.err >&5
34793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34794 (exit $ac_status); } && {
34795 test -z "$ac_cxx_werror_flag" ||
34796 test ! -s conftest.err
34797 } && test -s conftest.$ac_objext; then
34798 wx_cv_size_t_is_uint=no
34799 else
34800 echo "$as_me: failed program was:" >&5
34801 sed 's/^/| /' conftest.$ac_ext >&5
34802
34803 wx_cv_size_t_is_uint=yes
34804
34805 fi
34806
34807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34808
34809
34810 fi
34811 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34812 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34813
34814 if test "$wx_cv_size_t_is_uint" = "yes"; then
34815 cat >>confdefs.h <<\_ACEOF
34816 #define wxSIZE_T_IS_UINT 1
34817 _ACEOF
34818
34819 else
34820 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34821 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34822 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34823 echo $ECHO_N "(cached) $ECHO_C" >&6
34824 else
34825 cat >conftest.$ac_ext <<_ACEOF
34826 /* confdefs.h. */
34827 _ACEOF
34828 cat confdefs.h >>conftest.$ac_ext
34829 cat >>conftest.$ac_ext <<_ACEOF
34830 /* end confdefs.h. */
34831 #include <stddef.h>
34832 int
34833 main ()
34834 {
34835
34836 return 0; }
34837
34838 struct Foo { void foo(size_t); void foo(unsigned long); };
34839
34840 int bar() {
34841
34842 ;
34843 return 0;
34844 }
34845 _ACEOF
34846 rm -f conftest.$ac_objext
34847 if { (ac_try="$ac_compile"
34848 case "(($ac_try" in
34849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34850 *) ac_try_echo=$ac_try;;
34851 esac
34852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34853 (eval "$ac_compile") 2>conftest.er1
34854 ac_status=$?
34855 grep -v '^ *+' conftest.er1 >conftest.err
34856 rm -f conftest.er1
34857 cat conftest.err >&5
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); } && {
34860 test -z "$ac_cxx_werror_flag" ||
34861 test ! -s conftest.err
34862 } && test -s conftest.$ac_objext; then
34863 wx_cv_size_t_is_ulong=no
34864 else
34865 echo "$as_me: failed program was:" >&5
34866 sed 's/^/| /' conftest.$ac_ext >&5
34867
34868 wx_cv_size_t_is_ulong=yes
34869
34870 fi
34871
34872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34873
34874 fi
34875 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34876 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34877
34878 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34879 cat >>confdefs.h <<\_ACEOF
34880 #define wxSIZE_T_IS_ULONG 1
34881 _ACEOF
34882
34883 fi
34884 fi
34885
34886 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34887 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34888 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34889 echo $ECHO_N "(cached) $ECHO_C" >&6
34890 else
34891 cat >conftest.$ac_ext <<_ACEOF
34892 /* confdefs.h. */
34893 _ACEOF
34894 cat confdefs.h >>conftest.$ac_ext
34895 cat >>conftest.$ac_ext <<_ACEOF
34896 /* end confdefs.h. */
34897 #include <wchar.h>
34898 int
34899 main ()
34900 {
34901
34902 return 0; }
34903
34904 struct Foo { void foo(wchar_t);
34905 void foo(unsigned short);
34906 void foo(unsigned int);
34907 void foo(unsigned long); };
34908
34909 int bar() {
34910
34911 ;
34912 return 0;
34913 }
34914 _ACEOF
34915 rm -f conftest.$ac_objext
34916 if { (ac_try="$ac_compile"
34917 case "(($ac_try" in
34918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34919 *) ac_try_echo=$ac_try;;
34920 esac
34921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34922 (eval "$ac_compile") 2>conftest.er1
34923 ac_status=$?
34924 grep -v '^ *+' conftest.er1 >conftest.err
34925 rm -f conftest.er1
34926 cat conftest.err >&5
34927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34928 (exit $ac_status); } && {
34929 test -z "$ac_cxx_werror_flag" ||
34930 test ! -s conftest.err
34931 } && test -s conftest.$ac_objext; then
34932 wx_cv_wchar_t_is_separate_type=yes
34933 else
34934 echo "$as_me: failed program was:" >&5
34935 sed 's/^/| /' conftest.$ac_ext >&5
34936
34937 wx_cv_wchar_t_is_separate_type=no
34938
34939 fi
34940
34941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34942
34943 fi
34944 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34945 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34946
34947 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34948 cat >>confdefs.h <<\_ACEOF
34949 #define wxWCHAR_T_IS_REAL_TYPE 1
34950 _ACEOF
34951
34952 else
34953 cat >>confdefs.h <<\_ACEOF
34954 #define wxWCHAR_T_IS_REAL_TYPE 0
34955 _ACEOF
34956
34957 fi
34958
34959 ac_ext=c
34960 ac_cpp='$CPP $CPPFLAGS'
34961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34964
34965
34966 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34967 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34968 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34969 echo $ECHO_N "(cached) $ECHO_C" >&6
34970 else
34971
34972 cat >conftest.$ac_ext <<_ACEOF
34973 /* confdefs.h. */
34974 _ACEOF
34975 cat confdefs.h >>conftest.$ac_ext
34976 cat >>conftest.$ac_ext <<_ACEOF
34977 /* end confdefs.h. */
34978 #include <pwd.h>
34979 int
34980 main ()
34981 {
34982
34983 char *p;
34984 struct passwd *pw;
34985 p = pw->pw_gecos;
34986
34987 ;
34988 return 0;
34989 }
34990 _ACEOF
34991 rm -f conftest.$ac_objext
34992 if { (ac_try="$ac_compile"
34993 case "(($ac_try" in
34994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34995 *) ac_try_echo=$ac_try;;
34996 esac
34997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34998 (eval "$ac_compile") 2>conftest.er1
34999 ac_status=$?
35000 grep -v '^ *+' conftest.er1 >conftest.err
35001 rm -f conftest.er1
35002 cat conftest.err >&5
35003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004 (exit $ac_status); } && {
35005 test -z "$ac_c_werror_flag" ||
35006 test ! -s conftest.err
35007 } && test -s conftest.$ac_objext; then
35008
35009 wx_cv_struct_pw_gecos=yes
35010
35011 else
35012 echo "$as_me: failed program was:" >&5
35013 sed 's/^/| /' conftest.$ac_ext >&5
35014
35015
35016 wx_cv_struct_pw_gecos=no
35017
35018
35019 fi
35020
35021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35022
35023
35024 fi
35025 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35026 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35027
35028 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35029 cat >>confdefs.h <<\_ACEOF
35030 #define HAVE_PW_GECOS 1
35031 _ACEOF
35032
35033 fi
35034
35035
35036 if test "$wxUSE_WCHAR_T" = "yes"; then
35037 cat >>confdefs.h <<\_ACEOF
35038 #define wxUSE_WCHAR_T 1
35039 _ACEOF
35040
35041
35042 WCSLEN_FOUND=0
35043 WCHAR_LINK=
35044
35045 for ac_func in wcslen
35046 do
35047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35048 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35050 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35051 echo $ECHO_N "(cached) $ECHO_C" >&6
35052 else
35053 cat >conftest.$ac_ext <<_ACEOF
35054 /* confdefs.h. */
35055 _ACEOF
35056 cat confdefs.h >>conftest.$ac_ext
35057 cat >>conftest.$ac_ext <<_ACEOF
35058 /* end confdefs.h. */
35059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35061 #define $ac_func innocuous_$ac_func
35062
35063 /* System header to define __stub macros and hopefully few prototypes,
35064 which can conflict with char $ac_func (); below.
35065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35066 <limits.h> exists even on freestanding compilers. */
35067
35068 #ifdef __STDC__
35069 # include <limits.h>
35070 #else
35071 # include <assert.h>
35072 #endif
35073
35074 #undef $ac_func
35075
35076 /* Override any GCC internal prototype to avoid an error.
35077 Use char because int might match the return type of a GCC
35078 builtin and then its argument prototype would still apply. */
35079 #ifdef __cplusplus
35080 extern "C"
35081 #endif
35082 char $ac_func ();
35083 /* The GNU C library defines this for functions which it implements
35084 to always fail with ENOSYS. Some functions are actually named
35085 something starting with __ and the normal name is an alias. */
35086 #if defined __stub_$ac_func || defined __stub___$ac_func
35087 choke me
35088 #endif
35089
35090 int
35091 main ()
35092 {
35093 return $ac_func ();
35094 ;
35095 return 0;
35096 }
35097 _ACEOF
35098 rm -f conftest.$ac_objext conftest$ac_exeext
35099 if { (ac_try="$ac_link"
35100 case "(($ac_try" in
35101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35102 *) ac_try_echo=$ac_try;;
35103 esac
35104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35105 (eval "$ac_link") 2>conftest.er1
35106 ac_status=$?
35107 grep -v '^ *+' conftest.er1 >conftest.err
35108 rm -f conftest.er1
35109 cat conftest.err >&5
35110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35111 (exit $ac_status); } && {
35112 test -z "$ac_c_werror_flag" ||
35113 test ! -s conftest.err
35114 } && test -s conftest$ac_exeext &&
35115 $as_test_x conftest$ac_exeext; then
35116 eval "$as_ac_var=yes"
35117 else
35118 echo "$as_me: failed program was:" >&5
35119 sed 's/^/| /' conftest.$ac_ext >&5
35120
35121 eval "$as_ac_var=no"
35122 fi
35123
35124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35125 conftest$ac_exeext conftest.$ac_ext
35126 fi
35127 ac_res=`eval echo '${'$as_ac_var'}'`
35128 { echo "$as_me:$LINENO: result: $ac_res" >&5
35129 echo "${ECHO_T}$ac_res" >&6; }
35130 if test `eval echo '${'$as_ac_var'}'` = yes; then
35131 cat >>confdefs.h <<_ACEOF
35132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35133 _ACEOF
35134 WCSLEN_FOUND=1
35135 fi
35136 done
35137
35138
35139 if test "$WCSLEN_FOUND" = 0; then
35140 if test "$TOOLKIT" = "MSW"; then
35141 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35142 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35143 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35144 echo $ECHO_N "(cached) $ECHO_C" >&6
35145 else
35146 ac_check_lib_save_LIBS=$LIBS
35147 LIBS="-lmsvcrt $LIBS"
35148 cat >conftest.$ac_ext <<_ACEOF
35149 /* confdefs.h. */
35150 _ACEOF
35151 cat confdefs.h >>conftest.$ac_ext
35152 cat >>conftest.$ac_ext <<_ACEOF
35153 /* end confdefs.h. */
35154
35155 /* Override any GCC internal prototype to avoid an error.
35156 Use char because int might match the return type of a GCC
35157 builtin and then its argument prototype would still apply. */
35158 #ifdef __cplusplus
35159 extern "C"
35160 #endif
35161 char wcslen ();
35162 int
35163 main ()
35164 {
35165 return wcslen ();
35166 ;
35167 return 0;
35168 }
35169 _ACEOF
35170 rm -f conftest.$ac_objext conftest$ac_exeext
35171 if { (ac_try="$ac_link"
35172 case "(($ac_try" in
35173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35174 *) ac_try_echo=$ac_try;;
35175 esac
35176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35177 (eval "$ac_link") 2>conftest.er1
35178 ac_status=$?
35179 grep -v '^ *+' conftest.er1 >conftest.err
35180 rm -f conftest.er1
35181 cat conftest.err >&5
35182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35183 (exit $ac_status); } && {
35184 test -z "$ac_c_werror_flag" ||
35185 test ! -s conftest.err
35186 } && test -s conftest$ac_exeext &&
35187 $as_test_x conftest$ac_exeext; then
35188 ac_cv_lib_msvcrt_wcslen=yes
35189 else
35190 echo "$as_me: failed program was:" >&5
35191 sed 's/^/| /' conftest.$ac_ext >&5
35192
35193 ac_cv_lib_msvcrt_wcslen=no
35194 fi
35195
35196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35197 conftest$ac_exeext conftest.$ac_ext
35198 LIBS=$ac_check_lib_save_LIBS
35199 fi
35200 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35201 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35202 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35203 WCHAR_OK=1
35204 fi
35205
35206 else
35207 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35208 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35209 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35210 echo $ECHO_N "(cached) $ECHO_C" >&6
35211 else
35212 ac_check_lib_save_LIBS=$LIBS
35213 LIBS="-lw $LIBS"
35214 cat >conftest.$ac_ext <<_ACEOF
35215 /* confdefs.h. */
35216 _ACEOF
35217 cat confdefs.h >>conftest.$ac_ext
35218 cat >>conftest.$ac_ext <<_ACEOF
35219 /* end confdefs.h. */
35220
35221 /* Override any GCC internal prototype to avoid an error.
35222 Use char because int might match the return type of a GCC
35223 builtin and then its argument prototype would still apply. */
35224 #ifdef __cplusplus
35225 extern "C"
35226 #endif
35227 char wcslen ();
35228 int
35229 main ()
35230 {
35231 return wcslen ();
35232 ;
35233 return 0;
35234 }
35235 _ACEOF
35236 rm -f conftest.$ac_objext conftest$ac_exeext
35237 if { (ac_try="$ac_link"
35238 case "(($ac_try" in
35239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35240 *) ac_try_echo=$ac_try;;
35241 esac
35242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35243 (eval "$ac_link") 2>conftest.er1
35244 ac_status=$?
35245 grep -v '^ *+' conftest.er1 >conftest.err
35246 rm -f conftest.er1
35247 cat conftest.err >&5
35248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35249 (exit $ac_status); } && {
35250 test -z "$ac_c_werror_flag" ||
35251 test ! -s conftest.err
35252 } && test -s conftest$ac_exeext &&
35253 $as_test_x conftest$ac_exeext; then
35254 ac_cv_lib_w_wcslen=yes
35255 else
35256 echo "$as_me: failed program was:" >&5
35257 sed 's/^/| /' conftest.$ac_ext >&5
35258
35259 ac_cv_lib_w_wcslen=no
35260 fi
35261
35262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35263 conftest$ac_exeext conftest.$ac_ext
35264 LIBS=$ac_check_lib_save_LIBS
35265 fi
35266 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35267 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35268 if test $ac_cv_lib_w_wcslen = yes; then
35269
35270 WCHAR_LINK=" -lw"
35271 WCSLEN_FOUND=1
35272
35273 fi
35274
35275 fi
35276 fi
35277
35278 if test "$WCSLEN_FOUND" = 1; then
35279 cat >>confdefs.h <<\_ACEOF
35280 #define HAVE_WCSLEN 1
35281 _ACEOF
35282
35283 fi
35284
35285
35286
35287
35288
35289
35290 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35291 do
35292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35293 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35295 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35296 echo $ECHO_N "(cached) $ECHO_C" >&6
35297 else
35298 cat >conftest.$ac_ext <<_ACEOF
35299 /* confdefs.h. */
35300 _ACEOF
35301 cat confdefs.h >>conftest.$ac_ext
35302 cat >>conftest.$ac_ext <<_ACEOF
35303 /* end confdefs.h. */
35304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35306 #define $ac_func innocuous_$ac_func
35307
35308 /* System header to define __stub macros and hopefully few prototypes,
35309 which can conflict with char $ac_func (); below.
35310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35311 <limits.h> exists even on freestanding compilers. */
35312
35313 #ifdef __STDC__
35314 # include <limits.h>
35315 #else
35316 # include <assert.h>
35317 #endif
35318
35319 #undef $ac_func
35320
35321 /* Override any GCC internal prototype to avoid an error.
35322 Use char because int might match the return type of a GCC
35323 builtin and then its argument prototype would still apply. */
35324 #ifdef __cplusplus
35325 extern "C"
35326 #endif
35327 char $ac_func ();
35328 /* The GNU C library defines this for functions which it implements
35329 to always fail with ENOSYS. Some functions are actually named
35330 something starting with __ and the normal name is an alias. */
35331 #if defined __stub_$ac_func || defined __stub___$ac_func
35332 choke me
35333 #endif
35334
35335 int
35336 main ()
35337 {
35338 return $ac_func ();
35339 ;
35340 return 0;
35341 }
35342 _ACEOF
35343 rm -f conftest.$ac_objext conftest$ac_exeext
35344 if { (ac_try="$ac_link"
35345 case "(($ac_try" in
35346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35347 *) ac_try_echo=$ac_try;;
35348 esac
35349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35350 (eval "$ac_link") 2>conftest.er1
35351 ac_status=$?
35352 grep -v '^ *+' conftest.er1 >conftest.err
35353 rm -f conftest.er1
35354 cat conftest.err >&5
35355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35356 (exit $ac_status); } && {
35357 test -z "$ac_c_werror_flag" ||
35358 test ! -s conftest.err
35359 } && test -s conftest$ac_exeext &&
35360 $as_test_x conftest$ac_exeext; then
35361 eval "$as_ac_var=yes"
35362 else
35363 echo "$as_me: failed program was:" >&5
35364 sed 's/^/| /' conftest.$ac_ext >&5
35365
35366 eval "$as_ac_var=no"
35367 fi
35368
35369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35370 conftest$ac_exeext conftest.$ac_ext
35371 fi
35372 ac_res=`eval echo '${'$as_ac_var'}'`
35373 { echo "$as_me:$LINENO: result: $ac_res" >&5
35374 echo "${ECHO_T}$ac_res" >&6; }
35375 if test `eval echo '${'$as_ac_var'}'` = yes; then
35376 cat >>confdefs.h <<_ACEOF
35377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35378 _ACEOF
35379
35380 fi
35381 done
35382
35383
35384 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35385 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35386 fi
35387
35388 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35389 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35390 if test "${ac_cv_type_mbstate_t+set}" = set; then
35391 echo $ECHO_N "(cached) $ECHO_C" >&6
35392 else
35393 cat >conftest.$ac_ext <<_ACEOF
35394 /* confdefs.h. */
35395 _ACEOF
35396 cat confdefs.h >>conftest.$ac_ext
35397 cat >>conftest.$ac_ext <<_ACEOF
35398 /* end confdefs.h. */
35399 #include <wchar.h>
35400
35401 typedef mbstate_t ac__type_new_;
35402 int
35403 main ()
35404 {
35405 if ((ac__type_new_ *) 0)
35406 return 0;
35407 if (sizeof (ac__type_new_))
35408 return 0;
35409 ;
35410 return 0;
35411 }
35412 _ACEOF
35413 rm -f conftest.$ac_objext
35414 if { (ac_try="$ac_compile"
35415 case "(($ac_try" in
35416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35417 *) ac_try_echo=$ac_try;;
35418 esac
35419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35420 (eval "$ac_compile") 2>conftest.er1
35421 ac_status=$?
35422 grep -v '^ *+' conftest.er1 >conftest.err
35423 rm -f conftest.er1
35424 cat conftest.err >&5
35425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426 (exit $ac_status); } && {
35427 test -z "$ac_c_werror_flag" ||
35428 test ! -s conftest.err
35429 } && test -s conftest.$ac_objext; then
35430 ac_cv_type_mbstate_t=yes
35431 else
35432 echo "$as_me: failed program was:" >&5
35433 sed 's/^/| /' conftest.$ac_ext >&5
35434
35435 ac_cv_type_mbstate_t=no
35436 fi
35437
35438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35439 fi
35440 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35441 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35442 if test $ac_cv_type_mbstate_t = yes; then
35443
35444 cat >>confdefs.h <<_ACEOF
35445 #define HAVE_MBSTATE_T 1
35446 _ACEOF
35447
35448
35449 for ac_func in wcsrtombs
35450 do
35451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35452 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35454 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35455 echo $ECHO_N "(cached) $ECHO_C" >&6
35456 else
35457 cat >conftest.$ac_ext <<_ACEOF
35458 /* confdefs.h. */
35459 _ACEOF
35460 cat confdefs.h >>conftest.$ac_ext
35461 cat >>conftest.$ac_ext <<_ACEOF
35462 /* end confdefs.h. */
35463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35465 #define $ac_func innocuous_$ac_func
35466
35467 /* System header to define __stub macros and hopefully few prototypes,
35468 which can conflict with char $ac_func (); below.
35469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35470 <limits.h> exists even on freestanding compilers. */
35471
35472 #ifdef __STDC__
35473 # include <limits.h>
35474 #else
35475 # include <assert.h>
35476 #endif
35477
35478 #undef $ac_func
35479
35480 /* Override any GCC internal prototype to avoid an error.
35481 Use char because int might match the return type of a GCC
35482 builtin and then its argument prototype would still apply. */
35483 #ifdef __cplusplus
35484 extern "C"
35485 #endif
35486 char $ac_func ();
35487 /* The GNU C library defines this for functions which it implements
35488 to always fail with ENOSYS. Some functions are actually named
35489 something starting with __ and the normal name is an alias. */
35490 #if defined __stub_$ac_func || defined __stub___$ac_func
35491 choke me
35492 #endif
35493
35494 int
35495 main ()
35496 {
35497 return $ac_func ();
35498 ;
35499 return 0;
35500 }
35501 _ACEOF
35502 rm -f conftest.$ac_objext conftest$ac_exeext
35503 if { (ac_try="$ac_link"
35504 case "(($ac_try" in
35505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35506 *) ac_try_echo=$ac_try;;
35507 esac
35508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35509 (eval "$ac_link") 2>conftest.er1
35510 ac_status=$?
35511 grep -v '^ *+' conftest.er1 >conftest.err
35512 rm -f conftest.er1
35513 cat conftest.err >&5
35514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35515 (exit $ac_status); } && {
35516 test -z "$ac_c_werror_flag" ||
35517 test ! -s conftest.err
35518 } && test -s conftest$ac_exeext &&
35519 $as_test_x conftest$ac_exeext; then
35520 eval "$as_ac_var=yes"
35521 else
35522 echo "$as_me: failed program was:" >&5
35523 sed 's/^/| /' conftest.$ac_ext >&5
35524
35525 eval "$as_ac_var=no"
35526 fi
35527
35528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35529 conftest$ac_exeext conftest.$ac_ext
35530 fi
35531 ac_res=`eval echo '${'$as_ac_var'}'`
35532 { echo "$as_me:$LINENO: result: $ac_res" >&5
35533 echo "${ECHO_T}$ac_res" >&6; }
35534 if test `eval echo '${'$as_ac_var'}'` = yes; then
35535 cat >>confdefs.h <<_ACEOF
35536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35537 _ACEOF
35538
35539 fi
35540 done
35541
35542 fi
35543
35544 else
35545 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35546 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35547 fi
35548
35549
35550
35551
35552 for ac_func in snprintf vsnprintf vsscanf
35553 do
35554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35555 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35557 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35558 echo $ECHO_N "(cached) $ECHO_C" >&6
35559 else
35560 cat >conftest.$ac_ext <<_ACEOF
35561 /* confdefs.h. */
35562 _ACEOF
35563 cat confdefs.h >>conftest.$ac_ext
35564 cat >>conftest.$ac_ext <<_ACEOF
35565 /* end confdefs.h. */
35566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35568 #define $ac_func innocuous_$ac_func
35569
35570 /* System header to define __stub macros and hopefully few prototypes,
35571 which can conflict with char $ac_func (); below.
35572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35573 <limits.h> exists even on freestanding compilers. */
35574
35575 #ifdef __STDC__
35576 # include <limits.h>
35577 #else
35578 # include <assert.h>
35579 #endif
35580
35581 #undef $ac_func
35582
35583 /* Override any GCC internal prototype to avoid an error.
35584 Use char because int might match the return type of a GCC
35585 builtin and then its argument prototype would still apply. */
35586 #ifdef __cplusplus
35587 extern "C"
35588 #endif
35589 char $ac_func ();
35590 /* The GNU C library defines this for functions which it implements
35591 to always fail with ENOSYS. Some functions are actually named
35592 something starting with __ and the normal name is an alias. */
35593 #if defined __stub_$ac_func || defined __stub___$ac_func
35594 choke me
35595 #endif
35596
35597 int
35598 main ()
35599 {
35600 return $ac_func ();
35601 ;
35602 return 0;
35603 }
35604 _ACEOF
35605 rm -f conftest.$ac_objext conftest$ac_exeext
35606 if { (ac_try="$ac_link"
35607 case "(($ac_try" in
35608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35609 *) ac_try_echo=$ac_try;;
35610 esac
35611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35612 (eval "$ac_link") 2>conftest.er1
35613 ac_status=$?
35614 grep -v '^ *+' conftest.er1 >conftest.err
35615 rm -f conftest.er1
35616 cat conftest.err >&5
35617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35618 (exit $ac_status); } && {
35619 test -z "$ac_c_werror_flag" ||
35620 test ! -s conftest.err
35621 } && test -s conftest$ac_exeext &&
35622 $as_test_x conftest$ac_exeext; then
35623 eval "$as_ac_var=yes"
35624 else
35625 echo "$as_me: failed program was:" >&5
35626 sed 's/^/| /' conftest.$ac_ext >&5
35627
35628 eval "$as_ac_var=no"
35629 fi
35630
35631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35632 conftest$ac_exeext conftest.$ac_ext
35633 fi
35634 ac_res=`eval echo '${'$as_ac_var'}'`
35635 { echo "$as_me:$LINENO: result: $ac_res" >&5
35636 echo "${ECHO_T}$ac_res" >&6; }
35637 if test `eval echo '${'$as_ac_var'}'` = yes; then
35638 cat >>confdefs.h <<_ACEOF
35639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35640 _ACEOF
35641
35642 fi
35643 done
35644
35645
35646 ac_ext=cpp
35647 ac_cpp='$CXXCPP $CPPFLAGS'
35648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35651
35652 if test "$ac_cv_func_vsnprintf" = "yes"; then
35653 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35654 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35655 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35656 echo $ECHO_N "(cached) $ECHO_C" >&6
35657 else
35658
35659 cat >conftest.$ac_ext <<_ACEOF
35660 /* confdefs.h. */
35661 _ACEOF
35662 cat confdefs.h >>conftest.$ac_ext
35663 cat >>conftest.$ac_ext <<_ACEOF
35664 /* end confdefs.h. */
35665
35666 #include <stdio.h>
35667 #include <stdarg.h>
35668 #ifdef __MSL__
35669 #if __MSL__ >= 0x6000
35670 namespace std {}
35671 using namespace std;
35672 #endif
35673 #endif
35674
35675 int
35676 main ()
35677 {
35678
35679 char *buf;
35680 va_list ap;
35681 vsnprintf(buf, 10u, "%s", ap);
35682
35683 ;
35684 return 0;
35685 }
35686 _ACEOF
35687 rm -f conftest.$ac_objext
35688 if { (ac_try="$ac_compile"
35689 case "(($ac_try" in
35690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35691 *) ac_try_echo=$ac_try;;
35692 esac
35693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35694 (eval "$ac_compile") 2>conftest.er1
35695 ac_status=$?
35696 grep -v '^ *+' conftest.er1 >conftest.err
35697 rm -f conftest.er1
35698 cat conftest.err >&5
35699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35700 (exit $ac_status); } && {
35701 test -z "$ac_cxx_werror_flag" ||
35702 test ! -s conftest.err
35703 } && test -s conftest.$ac_objext; then
35704 wx_cv_func_vsnprintf_decl=yes
35705 else
35706 echo "$as_me: failed program was:" >&5
35707 sed 's/^/| /' conftest.$ac_ext >&5
35708
35709 wx_cv_func_vsnprintf_decl=no
35710
35711 fi
35712
35713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35714
35715
35716 fi
35717 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35718 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35719
35720 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35721 cat >>confdefs.h <<\_ACEOF
35722 #define HAVE_VSNPRINTF_DECL 1
35723 _ACEOF
35724
35725
35726 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35727 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35728 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35729 echo $ECHO_N "(cached) $ECHO_C" >&6
35730 else
35731
35732 cat >conftest.$ac_ext <<_ACEOF
35733 /* confdefs.h. */
35734 _ACEOF
35735 cat confdefs.h >>conftest.$ac_ext
35736 cat >>conftest.$ac_ext <<_ACEOF
35737 /* end confdefs.h. */
35738
35739 #include <stdio.h>
35740 #include <stdarg.h>
35741 #ifdef __MSL__
35742 #if __MSL__ >= 0x6000
35743 namespace std {}
35744 using namespace std;
35745 #endif
35746 #endif
35747
35748 int
35749 main ()
35750 {
35751
35752 char *buf;
35753 va_list ap;
35754 const char *fmt = "%s";
35755 vsnprintf(buf, 10u, fmt, ap);
35756
35757 ;
35758 return 0;
35759 }
35760 _ACEOF
35761 rm -f conftest.$ac_objext
35762 if { (ac_try="$ac_compile"
35763 case "(($ac_try" in
35764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35765 *) ac_try_echo=$ac_try;;
35766 esac
35767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35768 (eval "$ac_compile") 2>conftest.er1
35769 ac_status=$?
35770 grep -v '^ *+' conftest.er1 >conftest.err
35771 rm -f conftest.er1
35772 cat conftest.err >&5
35773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35774 (exit $ac_status); } && {
35775 test -z "$ac_cxx_werror_flag" ||
35776 test ! -s conftest.err
35777 } && test -s conftest.$ac_objext; then
35778 wx_cv_func_broken_vsnprintf_decl=no
35779 else
35780 echo "$as_me: failed program was:" >&5
35781 sed 's/^/| /' conftest.$ac_ext >&5
35782
35783 wx_cv_func_broken_vsnprintf_decl=yes
35784
35785 fi
35786
35787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35788
35789
35790 fi
35791 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35792 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35793
35794 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35795 cat >>confdefs.h <<\_ACEOF
35796 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35797 _ACEOF
35798
35799 fi
35800 fi
35801 fi
35802
35803 if test "$ac_cv_func_snprintf" = "yes"; then
35804 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35805 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35806 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35807 echo $ECHO_N "(cached) $ECHO_C" >&6
35808 else
35809
35810 cat >conftest.$ac_ext <<_ACEOF
35811 /* confdefs.h. */
35812 _ACEOF
35813 cat confdefs.h >>conftest.$ac_ext
35814 cat >>conftest.$ac_ext <<_ACEOF
35815 /* end confdefs.h. */
35816
35817 #include <stdio.h>
35818 #include <stdarg.h>
35819 #ifdef __MSL__
35820 #if __MSL__ >= 0x6000
35821 namespace std {}
35822 using namespace std;
35823 #endif
35824 #endif
35825
35826 int
35827 main ()
35828 {
35829
35830 char *buf;
35831 snprintf(buf, 10u, "%s", "wx");
35832
35833 ;
35834 return 0;
35835 }
35836 _ACEOF
35837 rm -f conftest.$ac_objext
35838 if { (ac_try="$ac_compile"
35839 case "(($ac_try" in
35840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35841 *) ac_try_echo=$ac_try;;
35842 esac
35843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35844 (eval "$ac_compile") 2>conftest.er1
35845 ac_status=$?
35846 grep -v '^ *+' conftest.er1 >conftest.err
35847 rm -f conftest.er1
35848 cat conftest.err >&5
35849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35850 (exit $ac_status); } && {
35851 test -z "$ac_cxx_werror_flag" ||
35852 test ! -s conftest.err
35853 } && test -s conftest.$ac_objext; then
35854 wx_cv_func_snprintf_decl=yes
35855 else
35856 echo "$as_me: failed program was:" >&5
35857 sed 's/^/| /' conftest.$ac_ext >&5
35858
35859 wx_cv_func_snprintf_decl=no
35860
35861 fi
35862
35863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35864
35865
35866 fi
35867 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35868 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35869
35870 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35871 cat >>confdefs.h <<\_ACEOF
35872 #define HAVE_SNPRINTF_DECL 1
35873 _ACEOF
35874
35875 fi
35876
35877 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35878
35879 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35880 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35881 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35882 echo $ECHO_N "(cached) $ECHO_C" >&6
35883 else
35884
35885 if test "$cross_compiling" = yes; then
35886
35887 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35888 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35889 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35890 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35891 wx_cv_func_snprintf_pos_params=no
35892
35893
35894 else
35895 cat >conftest.$ac_ext <<_ACEOF
35896 /* confdefs.h. */
35897 _ACEOF
35898 cat confdefs.h >>conftest.$ac_ext
35899 cat >>conftest.$ac_ext <<_ACEOF
35900 /* end confdefs.h. */
35901
35902 #include <stdio.h>
35903
35904 int main (void)
35905 {
35906 char buffer[128];
35907 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35908 if (strcmp ("2 3 1", buffer) == 0)
35909 exit (0);
35910 exit (1);
35911 }
35912
35913 _ACEOF
35914 rm -f conftest$ac_exeext
35915 if { (ac_try="$ac_link"
35916 case "(($ac_try" in
35917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35918 *) ac_try_echo=$ac_try;;
35919 esac
35920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35921 (eval "$ac_link") 2>&5
35922 ac_status=$?
35923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35924 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35925 { (case "(($ac_try" in
35926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35927 *) ac_try_echo=$ac_try;;
35928 esac
35929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35930 (eval "$ac_try") 2>&5
35931 ac_status=$?
35932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35933 (exit $ac_status); }; }; then
35934 wx_cv_func_snprintf_pos_params=no
35935 else
35936 echo "$as_me: program exited with status $ac_status" >&5
35937 echo "$as_me: failed program was:" >&5
35938 sed 's/^/| /' conftest.$ac_ext >&5
35939
35940 ( exit $ac_status )
35941 wx_cv_func_snprintf_pos_params=yes
35942 fi
35943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35944 fi
35945
35946
35947
35948
35949 fi
35950 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35951 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35952
35953 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35954 cat >>confdefs.h <<\_ACEOF
35955 #define HAVE_UNIX98_PRINTF 1
35956 _ACEOF
35957
35958 fi
35959 fi
35960 fi
35961
35962 if test "$ac_cv_func_vsscanf" = "yes"; then
35963 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35964 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35965 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35966 echo $ECHO_N "(cached) $ECHO_C" >&6
35967 else
35968
35969 cat >conftest.$ac_ext <<_ACEOF
35970 /* confdefs.h. */
35971 _ACEOF
35972 cat confdefs.h >>conftest.$ac_ext
35973 cat >>conftest.$ac_ext <<_ACEOF
35974 /* end confdefs.h. */
35975
35976 #include <stdio.h>
35977 #include <stdarg.h>
35978 #ifdef __MSL__
35979 #if __MSL__ >= 0x6000
35980 namespace std {}
35981 using namespace std;
35982 #endif
35983 #endif
35984
35985 int
35986 main ()
35987 {
35988
35989 char *buf;
35990 va_list args;
35991 vsscanf(buf, "%s", args);
35992
35993 ;
35994 return 0;
35995 }
35996 _ACEOF
35997 rm -f conftest.$ac_objext
35998 if { (ac_try="$ac_compile"
35999 case "(($ac_try" in
36000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36001 *) ac_try_echo=$ac_try;;
36002 esac
36003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36004 (eval "$ac_compile") 2>conftest.er1
36005 ac_status=$?
36006 grep -v '^ *+' conftest.er1 >conftest.err
36007 rm -f conftest.er1
36008 cat conftest.err >&5
36009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36010 (exit $ac_status); } && {
36011 test -z "$ac_cxx_werror_flag" ||
36012 test ! -s conftest.err
36013 } && test -s conftest.$ac_objext; then
36014 wx_cv_func_vsscanf_decl=yes
36015 else
36016 echo "$as_me: failed program was:" >&5
36017 sed 's/^/| /' conftest.$ac_ext >&5
36018
36019 wx_cv_func_vsscanf_decl=no
36020
36021 fi
36022
36023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36024
36025
36026 fi
36027 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36028 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36029
36030 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36031 cat >>confdefs.h <<\_ACEOF
36032 #define HAVE_VSSCANF_DECL 1
36033 _ACEOF
36034
36035 fi
36036 fi
36037 ac_ext=c
36038 ac_cpp='$CPP $CPPFLAGS'
36039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36042
36043
36044 if test "$wxUSE_UNICODE" = yes; then
36045
36046 wchar_headers="#include <stdio.h>
36047 #include <wchar.h>"
36048 case "${host}" in
36049 *-*-solaris2* )
36050
36051 for ac_header in widec.h
36052 do
36053 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36054 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36056 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36057 echo $ECHO_N "(cached) $ECHO_C" >&6
36058 else
36059 cat >conftest.$ac_ext <<_ACEOF
36060 /* confdefs.h. */
36061 _ACEOF
36062 cat confdefs.h >>conftest.$ac_ext
36063 cat >>conftest.$ac_ext <<_ACEOF
36064 /* end confdefs.h. */
36065 $ac_includes_default
36066
36067 #include <$ac_header>
36068 _ACEOF
36069 rm -f conftest.$ac_objext
36070 if { (ac_try="$ac_compile"
36071 case "(($ac_try" in
36072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36073 *) ac_try_echo=$ac_try;;
36074 esac
36075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36076 (eval "$ac_compile") 2>conftest.er1
36077 ac_status=$?
36078 grep -v '^ *+' conftest.er1 >conftest.err
36079 rm -f conftest.er1
36080 cat conftest.err >&5
36081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36082 (exit $ac_status); } && {
36083 test -z "$ac_c_werror_flag" ||
36084 test ! -s conftest.err
36085 } && test -s conftest.$ac_objext; then
36086 eval "$as_ac_Header=yes"
36087 else
36088 echo "$as_me: failed program was:" >&5
36089 sed 's/^/| /' conftest.$ac_ext >&5
36090
36091 eval "$as_ac_Header=no"
36092 fi
36093
36094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36095 fi
36096 ac_res=`eval echo '${'$as_ac_Header'}'`
36097 { echo "$as_me:$LINENO: result: $ac_res" >&5
36098 echo "${ECHO_T}$ac_res" >&6; }
36099 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36100 cat >>confdefs.h <<_ACEOF
36101 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36102 _ACEOF
36103
36104 fi
36105
36106 done
36107
36108 if test "$ac_cv_header_widec_h" = "yes"; then
36109 wchar_headers="$wchar_headers
36110 #include <widec.h>"
36111 fi
36112 esac
36113
36114
36115 for wx_func in putws fputws wprintf vswprintf vswscanf
36116 do
36117 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36118 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36119 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36120 echo $ECHO_N "(cached) $ECHO_C" >&6
36121 else
36122
36123 cat >conftest.$ac_ext <<_ACEOF
36124
36125 /* confdefs.h. */
36126 _ACEOF
36127 cat confdefs.h >>conftest.$ac_ext
36128 cat >>conftest.$ac_ext <<_ACEOF
36129 /* end confdefs.h. */
36130
36131 $wchar_headers
36132 $ac_includes_default
36133
36134 int
36135 main ()
36136 {
36137
36138 #ifndef $wx_func
36139 &$wx_func;
36140 #endif
36141
36142
36143 ;
36144 return 0;
36145 }
36146
36147 _ACEOF
36148 rm -f conftest.$ac_objext conftest$ac_exeext
36149 if { (ac_try="$ac_link"
36150 case "(($ac_try" in
36151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36152 *) ac_try_echo=$ac_try;;
36153 esac
36154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36155 (eval "$ac_link") 2>conftest.er1
36156 ac_status=$?
36157 grep -v '^ *+' conftest.er1 >conftest.err
36158 rm -f conftest.er1
36159 cat conftest.err >&5
36160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36161 (exit $ac_status); } && {
36162 test -z "$ac_c_werror_flag" ||
36163 test ! -s conftest.err
36164 } && test -s conftest$ac_exeext &&
36165 $as_test_x conftest$ac_exeext; then
36166 eval wx_cv_func_$wx_func=yes
36167 else
36168 echo "$as_me: failed program was:" >&5
36169 sed 's/^/| /' conftest.$ac_ext >&5
36170
36171 eval wx_cv_func_$wx_func=no
36172 fi
36173
36174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36175 conftest$ac_exeext conftest.$ac_ext
36176
36177 fi
36178 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36179 { echo "$as_me:$LINENO: result: $ac_res" >&5
36180 echo "${ECHO_T}$ac_res" >&6; }
36181
36182 if eval test \$wx_cv_func_$wx_func = yes
36183 then
36184 cat >>confdefs.h <<_ACEOF
36185 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36186 _ACEOF
36187
36188
36189 else
36190 :
36191
36192 fi
36193 done
36194
36195
36196 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36197 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36198 cat >conftest.$ac_ext <<_ACEOF
36199 /* confdefs.h. */
36200 _ACEOF
36201 cat confdefs.h >>conftest.$ac_ext
36202 cat >>conftest.$ac_ext <<_ACEOF
36203 /* end confdefs.h. */
36204 #include <wchar.h>
36205 int
36206 main ()
36207 {
36208 &_vsnwprintf;
36209 ;
36210 return 0;
36211 }
36212 _ACEOF
36213 rm -f conftest.$ac_objext
36214 if { (ac_try="$ac_compile"
36215 case "(($ac_try" in
36216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36217 *) ac_try_echo=$ac_try;;
36218 esac
36219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36220 (eval "$ac_compile") 2>conftest.er1
36221 ac_status=$?
36222 grep -v '^ *+' conftest.er1 >conftest.err
36223 rm -f conftest.er1
36224 cat conftest.err >&5
36225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36226 (exit $ac_status); } && {
36227 test -z "$ac_c_werror_flag" ||
36228 test ! -s conftest.err
36229 } && test -s conftest.$ac_objext; then
36230 { echo "$as_me:$LINENO: result: yes" >&5
36231 echo "${ECHO_T}yes" >&6; }
36232 cat >>confdefs.h <<\_ACEOF
36233 #define HAVE__VSNWPRINTF 1
36234 _ACEOF
36235
36236 else
36237 echo "$as_me: failed program was:" >&5
36238 sed 's/^/| /' conftest.$ac_ext >&5
36239
36240 { echo "$as_me:$LINENO: result: no" >&5
36241 echo "${ECHO_T}no" >&6; }
36242 fi
36243
36244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36245 fi
36246
36247 if test "$wxUSE_FILE" = "yes"; then
36248
36249 for wx_func in fsync
36250 do
36251 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36252 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36253 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36254 echo $ECHO_N "(cached) $ECHO_C" >&6
36255 else
36256
36257 cat >conftest.$ac_ext <<_ACEOF
36258
36259 /* confdefs.h. */
36260 _ACEOF
36261 cat confdefs.h >>conftest.$ac_ext
36262 cat >>conftest.$ac_ext <<_ACEOF
36263 /* end confdefs.h. */
36264
36265
36266 $ac_includes_default
36267
36268 int
36269 main ()
36270 {
36271
36272 #ifndef $wx_func
36273 &$wx_func;
36274 #endif
36275
36276
36277 ;
36278 return 0;
36279 }
36280
36281 _ACEOF
36282 rm -f conftest.$ac_objext conftest$ac_exeext
36283 if { (ac_try="$ac_link"
36284 case "(($ac_try" in
36285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36286 *) ac_try_echo=$ac_try;;
36287 esac
36288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36289 (eval "$ac_link") 2>conftest.er1
36290 ac_status=$?
36291 grep -v '^ *+' conftest.er1 >conftest.err
36292 rm -f conftest.er1
36293 cat conftest.err >&5
36294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36295 (exit $ac_status); } && {
36296 test -z "$ac_c_werror_flag" ||
36297 test ! -s conftest.err
36298 } && test -s conftest$ac_exeext &&
36299 $as_test_x conftest$ac_exeext; then
36300 eval wx_cv_func_$wx_func=yes
36301 else
36302 echo "$as_me: failed program was:" >&5
36303 sed 's/^/| /' conftest.$ac_ext >&5
36304
36305 eval wx_cv_func_$wx_func=no
36306 fi
36307
36308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36309 conftest$ac_exeext conftest.$ac_ext
36310
36311 fi
36312 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36313 { echo "$as_me:$LINENO: result: $ac_res" >&5
36314 echo "${ECHO_T}$ac_res" >&6; }
36315
36316 if eval test \$wx_cv_func_$wx_func = yes
36317 then
36318 cat >>confdefs.h <<_ACEOF
36319 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36320 _ACEOF
36321
36322
36323 else
36324 :
36325
36326 fi
36327 done
36328
36329 fi
36330
36331 ac_ext=cpp
36332 ac_cpp='$CXXCPP $CPPFLAGS'
36333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36336
36337
36338 for wx_func in round
36339 do
36340 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36341 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36342 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36343 echo $ECHO_N "(cached) $ECHO_C" >&6
36344 else
36345
36346 cat >conftest.$ac_ext <<_ACEOF
36347
36348 /* confdefs.h. */
36349 _ACEOF
36350 cat confdefs.h >>conftest.$ac_ext
36351 cat >>conftest.$ac_ext <<_ACEOF
36352 /* end confdefs.h. */
36353
36354 #include <math.h>
36355 $ac_includes_default
36356
36357 int
36358 main ()
36359 {
36360
36361 #ifndef $wx_func
36362 &$wx_func;
36363 #endif
36364
36365
36366 ;
36367 return 0;
36368 }
36369
36370 _ACEOF
36371 rm -f conftest.$ac_objext conftest$ac_exeext
36372 if { (ac_try="$ac_link"
36373 case "(($ac_try" in
36374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36375 *) ac_try_echo=$ac_try;;
36376 esac
36377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36378 (eval "$ac_link") 2>conftest.er1
36379 ac_status=$?
36380 grep -v '^ *+' conftest.er1 >conftest.err
36381 rm -f conftest.er1
36382 cat conftest.err >&5
36383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36384 (exit $ac_status); } && {
36385 test -z "$ac_cxx_werror_flag" ||
36386 test ! -s conftest.err
36387 } && test -s conftest$ac_exeext &&
36388 $as_test_x conftest$ac_exeext; then
36389 eval wx_cv_func_$wx_func=yes
36390 else
36391 echo "$as_me: failed program was:" >&5
36392 sed 's/^/| /' conftest.$ac_ext >&5
36393
36394 eval wx_cv_func_$wx_func=no
36395 fi
36396
36397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36398 conftest$ac_exeext conftest.$ac_ext
36399
36400 fi
36401 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36402 { echo "$as_me:$LINENO: result: $ac_res" >&5
36403 echo "${ECHO_T}$ac_res" >&6; }
36404
36405 if eval test \$wx_cv_func_$wx_func = yes
36406 then
36407 cat >>confdefs.h <<_ACEOF
36408 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36409 _ACEOF
36410
36411
36412 else
36413 :
36414
36415 fi
36416 done
36417
36418 ac_ext=c
36419 ac_cpp='$CPP $CPPFLAGS'
36420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36423
36424
36425 if test "$TOOLKIT" != "MSW"; then
36426
36427 if test "$wxUSE_LIBICONV" != "no" ; then
36428
36429
36430
36431 # Check whether --with-libiconv-prefix was given.
36432 if test "${with_libiconv_prefix+set}" = set; then
36433 withval=$with_libiconv_prefix;
36434 for dir in `echo "$withval" | tr : ' '`; do
36435 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36436 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36437 done
36438
36439 fi
36440
36441
36442 { echo "$as_me:$LINENO: checking for iconv" >&5
36443 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36444 if test "${am_cv_func_iconv+set}" = set; then
36445 echo $ECHO_N "(cached) $ECHO_C" >&6
36446 else
36447
36448 am_cv_func_iconv="no, consider installing GNU libiconv"
36449 am_cv_lib_iconv=no
36450 cat >conftest.$ac_ext <<_ACEOF
36451 /* confdefs.h. */
36452 _ACEOF
36453 cat confdefs.h >>conftest.$ac_ext
36454 cat >>conftest.$ac_ext <<_ACEOF
36455 /* end confdefs.h. */
36456 #include <stdlib.h>
36457 #include <iconv.h>
36458 int
36459 main ()
36460 {
36461 iconv_t cd = iconv_open("","");
36462 iconv(cd,NULL,NULL,NULL,NULL);
36463 iconv_close(cd);
36464 ;
36465 return 0;
36466 }
36467 _ACEOF
36468 rm -f conftest.$ac_objext conftest$ac_exeext
36469 if { (ac_try="$ac_link"
36470 case "(($ac_try" in
36471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36472 *) ac_try_echo=$ac_try;;
36473 esac
36474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36475 (eval "$ac_link") 2>conftest.er1
36476 ac_status=$?
36477 grep -v '^ *+' conftest.er1 >conftest.err
36478 rm -f conftest.er1
36479 cat conftest.err >&5
36480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36481 (exit $ac_status); } && {
36482 test -z "$ac_c_werror_flag" ||
36483 test ! -s conftest.err
36484 } && test -s conftest$ac_exeext &&
36485 $as_test_x conftest$ac_exeext; then
36486 am_cv_func_iconv=yes
36487 else
36488 echo "$as_me: failed program was:" >&5
36489 sed 's/^/| /' conftest.$ac_ext >&5
36490
36491
36492 fi
36493
36494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36495 conftest$ac_exeext conftest.$ac_ext
36496 if test "$am_cv_func_iconv" != yes; then
36497 am_save_LIBS="$LIBS"
36498 LIBS="$LIBS -liconv"
36499 cat >conftest.$ac_ext <<_ACEOF
36500 /* confdefs.h. */
36501 _ACEOF
36502 cat confdefs.h >>conftest.$ac_ext
36503 cat >>conftest.$ac_ext <<_ACEOF
36504 /* end confdefs.h. */
36505 #include <stdlib.h>
36506 #include <iconv.h>
36507 int
36508 main ()
36509 {
36510 iconv_t cd = iconv_open("","");
36511 iconv(cd,NULL,NULL,NULL,NULL);
36512 iconv_close(cd);
36513 ;
36514 return 0;
36515 }
36516 _ACEOF
36517 rm -f conftest.$ac_objext conftest$ac_exeext
36518 if { (ac_try="$ac_link"
36519 case "(($ac_try" in
36520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36521 *) ac_try_echo=$ac_try;;
36522 esac
36523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36524 (eval "$ac_link") 2>conftest.er1
36525 ac_status=$?
36526 grep -v '^ *+' conftest.er1 >conftest.err
36527 rm -f conftest.er1
36528 cat conftest.err >&5
36529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36530 (exit $ac_status); } && {
36531 test -z "$ac_c_werror_flag" ||
36532 test ! -s conftest.err
36533 } && test -s conftest$ac_exeext &&
36534 $as_test_x conftest$ac_exeext; then
36535 am_cv_lib_iconv=yes
36536 am_cv_func_iconv=yes
36537 else
36538 echo "$as_me: failed program was:" >&5
36539 sed 's/^/| /' conftest.$ac_ext >&5
36540
36541
36542 fi
36543
36544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36545 conftest$ac_exeext conftest.$ac_ext
36546 LIBS="$am_save_LIBS"
36547 fi
36548
36549 fi
36550 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36551 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36552 if test "$am_cv_func_iconv" = yes; then
36553
36554 cat >>confdefs.h <<\_ACEOF
36555 #define HAVE_ICONV 1
36556 _ACEOF
36557
36558 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36559 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36560 if test "${wx_cv_func_iconv_const+set}" = set; then
36561 echo $ECHO_N "(cached) $ECHO_C" >&6
36562 else
36563 cat >conftest.$ac_ext <<_ACEOF
36564 /* confdefs.h. */
36565 _ACEOF
36566 cat confdefs.h >>conftest.$ac_ext
36567 cat >>conftest.$ac_ext <<_ACEOF
36568 /* end confdefs.h. */
36569
36570 #include <stdlib.h>
36571 #include <iconv.h>
36572 extern
36573 #ifdef __cplusplus
36574 "C"
36575 #endif
36576 #if defined(__STDC__) || defined(__cplusplus)
36577 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36578 #else
36579 size_t iconv();
36580 #endif
36581
36582 int
36583 main ()
36584 {
36585
36586 ;
36587 return 0;
36588 }
36589 _ACEOF
36590 rm -f conftest.$ac_objext
36591 if { (ac_try="$ac_compile"
36592 case "(($ac_try" in
36593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36594 *) ac_try_echo=$ac_try;;
36595 esac
36596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36597 (eval "$ac_compile") 2>conftest.er1
36598 ac_status=$?
36599 grep -v '^ *+' conftest.er1 >conftest.err
36600 rm -f conftest.er1
36601 cat conftest.err >&5
36602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36603 (exit $ac_status); } && {
36604 test -z "$ac_c_werror_flag" ||
36605 test ! -s conftest.err
36606 } && test -s conftest.$ac_objext; then
36607 wx_cv_func_iconv_const="no"
36608 else
36609 echo "$as_me: failed program was:" >&5
36610 sed 's/^/| /' conftest.$ac_ext >&5
36611
36612 wx_cv_func_iconv_const="yes"
36613
36614 fi
36615
36616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36617
36618 fi
36619 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36620 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36621
36622 iconv_const=
36623 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36624 iconv_const="const"
36625 fi
36626
36627
36628 cat >>confdefs.h <<_ACEOF
36629 #define ICONV_CONST $iconv_const
36630 _ACEOF
36631
36632 fi
36633 LIBICONV=
36634 if test "$am_cv_lib_iconv" = yes; then
36635 LIBICONV="-liconv"
36636 fi
36637
36638
36639 LIBS="$LIBICONV $LIBS"
36640 fi
36641
36642 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36643
36644 for ac_func in sigaction
36645 do
36646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36647 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36649 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36650 echo $ECHO_N "(cached) $ECHO_C" >&6
36651 else
36652 cat >conftest.$ac_ext <<_ACEOF
36653 /* confdefs.h. */
36654 _ACEOF
36655 cat confdefs.h >>conftest.$ac_ext
36656 cat >>conftest.$ac_ext <<_ACEOF
36657 /* end confdefs.h. */
36658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36660 #define $ac_func innocuous_$ac_func
36661
36662 /* System header to define __stub macros and hopefully few prototypes,
36663 which can conflict with char $ac_func (); below.
36664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36665 <limits.h> exists even on freestanding compilers. */
36666
36667 #ifdef __STDC__
36668 # include <limits.h>
36669 #else
36670 # include <assert.h>
36671 #endif
36672
36673 #undef $ac_func
36674
36675 /* Override any GCC internal prototype to avoid an error.
36676 Use char because int might match the return type of a GCC
36677 builtin and then its argument prototype would still apply. */
36678 #ifdef __cplusplus
36679 extern "C"
36680 #endif
36681 char $ac_func ();
36682 /* The GNU C library defines this for functions which it implements
36683 to always fail with ENOSYS. Some functions are actually named
36684 something starting with __ and the normal name is an alias. */
36685 #if defined __stub_$ac_func || defined __stub___$ac_func
36686 choke me
36687 #endif
36688
36689 int
36690 main ()
36691 {
36692 return $ac_func ();
36693 ;
36694 return 0;
36695 }
36696 _ACEOF
36697 rm -f conftest.$ac_objext conftest$ac_exeext
36698 if { (ac_try="$ac_link"
36699 case "(($ac_try" in
36700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36701 *) ac_try_echo=$ac_try;;
36702 esac
36703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36704 (eval "$ac_link") 2>conftest.er1
36705 ac_status=$?
36706 grep -v '^ *+' conftest.er1 >conftest.err
36707 rm -f conftest.er1
36708 cat conftest.err >&5
36709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36710 (exit $ac_status); } && {
36711 test -z "$ac_c_werror_flag" ||
36712 test ! -s conftest.err
36713 } && test -s conftest$ac_exeext &&
36714 $as_test_x conftest$ac_exeext; then
36715 eval "$as_ac_var=yes"
36716 else
36717 echo "$as_me: failed program was:" >&5
36718 sed 's/^/| /' conftest.$ac_ext >&5
36719
36720 eval "$as_ac_var=no"
36721 fi
36722
36723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36724 conftest$ac_exeext conftest.$ac_ext
36725 fi
36726 ac_res=`eval echo '${'$as_ac_var'}'`
36727 { echo "$as_me:$LINENO: result: $ac_res" >&5
36728 echo "${ECHO_T}$ac_res" >&6; }
36729 if test `eval echo '${'$as_ac_var'}'` = yes; then
36730 cat >>confdefs.h <<_ACEOF
36731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36732 _ACEOF
36733
36734 fi
36735 done
36736
36737
36738 if test "$ac_cv_func_sigaction" = "no"; then
36739 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36740 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36741 wxUSE_ON_FATAL_EXCEPTION=no
36742 fi
36743
36744 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36745 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36746 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36747 if test "${wx_cv_type_sa_handler+set}" = set; then
36748 echo $ECHO_N "(cached) $ECHO_C" >&6
36749 else
36750
36751 ac_ext=cpp
36752 ac_cpp='$CXXCPP $CPPFLAGS'
36753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36756
36757 cat >conftest.$ac_ext <<_ACEOF
36758 /* confdefs.h. */
36759 _ACEOF
36760 cat confdefs.h >>conftest.$ac_ext
36761 cat >>conftest.$ac_ext <<_ACEOF
36762 /* end confdefs.h. */
36763 #include <signal.h>
36764 int
36765 main ()
36766 {
36767
36768 extern void testSigHandler(int);
36769
36770 struct sigaction sa;
36771 sa.sa_handler = testSigHandler;
36772
36773 ;
36774 return 0;
36775 }
36776 _ACEOF
36777 rm -f conftest.$ac_objext
36778 if { (ac_try="$ac_compile"
36779 case "(($ac_try" in
36780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36781 *) ac_try_echo=$ac_try;;
36782 esac
36783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36784 (eval "$ac_compile") 2>conftest.er1
36785 ac_status=$?
36786 grep -v '^ *+' conftest.er1 >conftest.err
36787 rm -f conftest.er1
36788 cat conftest.err >&5
36789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36790 (exit $ac_status); } && {
36791 test -z "$ac_cxx_werror_flag" ||
36792 test ! -s conftest.err
36793 } && test -s conftest.$ac_objext; then
36794
36795 wx_cv_type_sa_handler=int
36796
36797 else
36798 echo "$as_me: failed program was:" >&5
36799 sed 's/^/| /' conftest.$ac_ext >&5
36800
36801
36802 wx_cv_type_sa_handler=void
36803
36804 fi
36805
36806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36807 ac_ext=c
36808 ac_cpp='$CPP $CPPFLAGS'
36809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36812
36813
36814 fi
36815 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36816 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36817
36818 cat >>confdefs.h <<_ACEOF
36819 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36820 _ACEOF
36821
36822 fi
36823 fi
36824
36825 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36826 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36827 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36828 if test "${wx_cv_func_backtrace+set}" = set; then
36829 echo $ECHO_N "(cached) $ECHO_C" >&6
36830 else
36831
36832 ac_ext=cpp
36833 ac_cpp='$CXXCPP $CPPFLAGS'
36834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36837
36838 cat >conftest.$ac_ext <<_ACEOF
36839 /* confdefs.h. */
36840 _ACEOF
36841 cat confdefs.h >>conftest.$ac_ext
36842 cat >>conftest.$ac_ext <<_ACEOF
36843 /* end confdefs.h. */
36844 #include <execinfo.h>
36845 int
36846 main ()
36847 {
36848
36849 void *trace[1];
36850 char **messages;
36851
36852 backtrace(trace, 1);
36853 messages = backtrace_symbols(trace, 1);
36854
36855 ;
36856 return 0;
36857 }
36858 _ACEOF
36859 rm -f conftest.$ac_objext
36860 if { (ac_try="$ac_compile"
36861 case "(($ac_try" in
36862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36863 *) ac_try_echo=$ac_try;;
36864 esac
36865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36866 (eval "$ac_compile") 2>conftest.er1
36867 ac_status=$?
36868 grep -v '^ *+' conftest.er1 >conftest.err
36869 rm -f conftest.er1
36870 cat conftest.err >&5
36871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36872 (exit $ac_status); } && {
36873 test -z "$ac_cxx_werror_flag" ||
36874 test ! -s conftest.err
36875 } && test -s conftest.$ac_objext; then
36876 wx_cv_func_backtrace=yes
36877 else
36878 echo "$as_me: failed program was:" >&5
36879 sed 's/^/| /' conftest.$ac_ext >&5
36880
36881 wx_cv_func_backtrace=no
36882
36883 fi
36884
36885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36886 ac_ext=c
36887 ac_cpp='$CPP $CPPFLAGS'
36888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36891
36892
36893
36894 fi
36895 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36896 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36897
36898
36899 if test "$wx_cv_func_backtrace" = "no"; then
36900 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36901 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36902 wxUSE_STACKWALKER=no
36903 else
36904 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36905 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36906 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36907 echo $ECHO_N "(cached) $ECHO_C" >&6
36908 else
36909
36910 ac_ext=cpp
36911 ac_cpp='$CXXCPP $CPPFLAGS'
36912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36915
36916 cat >conftest.$ac_ext <<_ACEOF
36917 /* confdefs.h. */
36918 _ACEOF
36919 cat confdefs.h >>conftest.$ac_ext
36920 cat >>conftest.$ac_ext <<_ACEOF
36921 /* end confdefs.h. */
36922 #include <cxxabi.h>
36923 int
36924 main ()
36925 {
36926
36927 int rc;
36928 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36929
36930 ;
36931 return 0;
36932 }
36933 _ACEOF
36934 rm -f conftest.$ac_objext conftest$ac_exeext
36935 if { (ac_try="$ac_link"
36936 case "(($ac_try" in
36937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36938 *) ac_try_echo=$ac_try;;
36939 esac
36940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36941 (eval "$ac_link") 2>conftest.er1
36942 ac_status=$?
36943 grep -v '^ *+' conftest.er1 >conftest.err
36944 rm -f conftest.er1
36945 cat conftest.err >&5
36946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36947 (exit $ac_status); } && {
36948 test -z "$ac_cxx_werror_flag" ||
36949 test ! -s conftest.err
36950 } && test -s conftest$ac_exeext &&
36951 $as_test_x conftest$ac_exeext; then
36952 wx_cv_func_cxa_demangle=yes
36953 else
36954 echo "$as_me: failed program was:" >&5
36955 sed 's/^/| /' conftest.$ac_ext >&5
36956
36957 wx_cv_func_cxa_demangle=no
36958
36959 fi
36960
36961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36962 conftest$ac_exeext conftest.$ac_ext
36963 ac_ext=c
36964 ac_cpp='$CPP $CPPFLAGS'
36965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36968
36969
36970
36971 fi
36972 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36973 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36974
36975 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36976 cat >>confdefs.h <<\_ACEOF
36977 #define HAVE_CXA_DEMANGLE 1
36978 _ACEOF
36979
36980 fi
36981 fi
36982 fi
36983
36984 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36985 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36986 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36987 wxUSE_STACKWALKER=no
36988 fi
36989
36990
36991
36992
36993 for ac_func in mkstemp mktemp
36994 do
36995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36996 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36998 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36999 echo $ECHO_N "(cached) $ECHO_C" >&6
37000 else
37001 cat >conftest.$ac_ext <<_ACEOF
37002 /* confdefs.h. */
37003 _ACEOF
37004 cat confdefs.h >>conftest.$ac_ext
37005 cat >>conftest.$ac_ext <<_ACEOF
37006 /* end confdefs.h. */
37007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37009 #define $ac_func innocuous_$ac_func
37010
37011 /* System header to define __stub macros and hopefully few prototypes,
37012 which can conflict with char $ac_func (); below.
37013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37014 <limits.h> exists even on freestanding compilers. */
37015
37016 #ifdef __STDC__
37017 # include <limits.h>
37018 #else
37019 # include <assert.h>
37020 #endif
37021
37022 #undef $ac_func
37023
37024 /* Override any GCC internal prototype to avoid an error.
37025 Use char because int might match the return type of a GCC
37026 builtin and then its argument prototype would still apply. */
37027 #ifdef __cplusplus
37028 extern "C"
37029 #endif
37030 char $ac_func ();
37031 /* The GNU C library defines this for functions which it implements
37032 to always fail with ENOSYS. Some functions are actually named
37033 something starting with __ and the normal name is an alias. */
37034 #if defined __stub_$ac_func || defined __stub___$ac_func
37035 choke me
37036 #endif
37037
37038 int
37039 main ()
37040 {
37041 return $ac_func ();
37042 ;
37043 return 0;
37044 }
37045 _ACEOF
37046 rm -f conftest.$ac_objext conftest$ac_exeext
37047 if { (ac_try="$ac_link"
37048 case "(($ac_try" in
37049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37050 *) ac_try_echo=$ac_try;;
37051 esac
37052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37053 (eval "$ac_link") 2>conftest.er1
37054 ac_status=$?
37055 grep -v '^ *+' conftest.er1 >conftest.err
37056 rm -f conftest.er1
37057 cat conftest.err >&5
37058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37059 (exit $ac_status); } && {
37060 test -z "$ac_c_werror_flag" ||
37061 test ! -s conftest.err
37062 } && test -s conftest$ac_exeext &&
37063 $as_test_x conftest$ac_exeext; then
37064 eval "$as_ac_var=yes"
37065 else
37066 echo "$as_me: failed program was:" >&5
37067 sed 's/^/| /' conftest.$ac_ext >&5
37068
37069 eval "$as_ac_var=no"
37070 fi
37071
37072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37073 conftest$ac_exeext conftest.$ac_ext
37074 fi
37075 ac_res=`eval echo '${'$as_ac_var'}'`
37076 { echo "$as_me:$LINENO: result: $ac_res" >&5
37077 echo "${ECHO_T}$ac_res" >&6; }
37078 if test `eval echo '${'$as_ac_var'}'` = yes; then
37079 cat >>confdefs.h <<_ACEOF
37080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37081 _ACEOF
37082 break
37083 fi
37084 done
37085
37086
37087 { echo "$as_me:$LINENO: checking for statfs" >&5
37088 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37089 if test "${wx_cv_func_statfs+set}" = set; then
37090 echo $ECHO_N "(cached) $ECHO_C" >&6
37091 else
37092 cat >conftest.$ac_ext <<_ACEOF
37093 /* confdefs.h. */
37094 _ACEOF
37095 cat confdefs.h >>conftest.$ac_ext
37096 cat >>conftest.$ac_ext <<_ACEOF
37097 /* end confdefs.h. */
37098
37099 #if defined(__BSD__)
37100 #include <sys/param.h>
37101 #include <sys/mount.h>
37102 #else
37103 #include <sys/vfs.h>
37104 #endif
37105
37106 int
37107 main ()
37108 {
37109
37110 long l;
37111 struct statfs fs;
37112 statfs("/", &fs);
37113 l = fs.f_bsize;
37114 l += fs.f_blocks;
37115 l += fs.f_bavail;
37116
37117 ;
37118 return 0;
37119 }
37120 _ACEOF
37121 rm -f conftest.$ac_objext
37122 if { (ac_try="$ac_compile"
37123 case "(($ac_try" in
37124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37125 *) ac_try_echo=$ac_try;;
37126 esac
37127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37128 (eval "$ac_compile") 2>conftest.er1
37129 ac_status=$?
37130 grep -v '^ *+' conftest.er1 >conftest.err
37131 rm -f conftest.er1
37132 cat conftest.err >&5
37133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134 (exit $ac_status); } && {
37135 test -z "$ac_c_werror_flag" ||
37136 test ! -s conftest.err
37137 } && test -s conftest.$ac_objext; then
37138 wx_cv_func_statfs=yes
37139 else
37140 echo "$as_me: failed program was:" >&5
37141 sed 's/^/| /' conftest.$ac_ext >&5
37142
37143 wx_cv_func_statfs=no
37144
37145 fi
37146
37147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37148
37149 fi
37150 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37151 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37152
37153 if test "$wx_cv_func_statfs" = "yes"; then
37154 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37155 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37156 if test "${wx_cv_func_statfs_decl+set}" = set; then
37157 echo $ECHO_N "(cached) $ECHO_C" >&6
37158 else
37159 ac_ext=cpp
37160 ac_cpp='$CXXCPP $CPPFLAGS'
37161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37164
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
37172 #if defined(__BSD__)
37173 #include <sys/param.h>
37174 #include <sys/mount.h>
37175 #else
37176 #include <sys/vfs.h>
37177 #endif
37178
37179 int
37180 main ()
37181 {
37182
37183 struct statfs fs;
37184 statfs("", &fs);
37185
37186 ;
37187 return 0;
37188 }
37189 _ACEOF
37190 rm -f conftest.$ac_objext
37191 if { (ac_try="$ac_compile"
37192 case "(($ac_try" in
37193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37194 *) ac_try_echo=$ac_try;;
37195 esac
37196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37197 (eval "$ac_compile") 2>conftest.er1
37198 ac_status=$?
37199 grep -v '^ *+' conftest.er1 >conftest.err
37200 rm -f conftest.er1
37201 cat conftest.err >&5
37202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37203 (exit $ac_status); } && {
37204 test -z "$ac_cxx_werror_flag" ||
37205 test ! -s conftest.err
37206 } && test -s conftest.$ac_objext; then
37207 wx_cv_func_statfs_decl=yes
37208 else
37209 echo "$as_me: failed program was:" >&5
37210 sed 's/^/| /' conftest.$ac_ext >&5
37211
37212 wx_cv_func_statfs_decl=no
37213
37214 fi
37215
37216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37217 ac_ext=c
37218 ac_cpp='$CPP $CPPFLAGS'
37219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37222
37223
37224 fi
37225 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37226 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37227
37228 if test "$wx_cv_func_statfs_decl" = "yes"; then
37229 cat >>confdefs.h <<\_ACEOF
37230 #define HAVE_STATFS_DECL 1
37231 _ACEOF
37232
37233 fi
37234
37235 wx_cv_type_statvfs_t="struct statfs"
37236 cat >>confdefs.h <<\_ACEOF
37237 #define HAVE_STATFS 1
37238 _ACEOF
37239
37240 else
37241 { echo "$as_me:$LINENO: checking for statvfs" >&5
37242 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37243 if test "${wx_cv_func_statvfs+set}" = set; then
37244 echo $ECHO_N "(cached) $ECHO_C" >&6
37245 else
37246 cat >conftest.$ac_ext <<_ACEOF
37247 /* confdefs.h. */
37248 _ACEOF
37249 cat confdefs.h >>conftest.$ac_ext
37250 cat >>conftest.$ac_ext <<_ACEOF
37251 /* end confdefs.h. */
37252
37253 #include <stddef.h>
37254 #include <sys/statvfs.h>
37255
37256 int
37257 main ()
37258 {
37259
37260 statvfs("/", NULL);
37261
37262 ;
37263 return 0;
37264 }
37265 _ACEOF
37266 rm -f conftest.$ac_objext
37267 if { (ac_try="$ac_compile"
37268 case "(($ac_try" in
37269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37270 *) ac_try_echo=$ac_try;;
37271 esac
37272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37273 (eval "$ac_compile") 2>conftest.er1
37274 ac_status=$?
37275 grep -v '^ *+' conftest.er1 >conftest.err
37276 rm -f conftest.er1
37277 cat conftest.err >&5
37278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37279 (exit $ac_status); } && {
37280 test -z "$ac_c_werror_flag" ||
37281 test ! -s conftest.err
37282 } && test -s conftest.$ac_objext; then
37283 wx_cv_func_statvfs=yes
37284 else
37285 echo "$as_me: failed program was:" >&5
37286 sed 's/^/| /' conftest.$ac_ext >&5
37287
37288 wx_cv_func_statvfs=no
37289
37290 fi
37291
37292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37293
37294 fi
37295 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37296 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37297
37298 if test "$wx_cv_func_statvfs" = "yes"; then
37299 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37300 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37301 if test "${wx_cv_type_statvfs_t+set}" = set; then
37302 echo $ECHO_N "(cached) $ECHO_C" >&6
37303 else
37304 ac_ext=cpp
37305 ac_cpp='$CXXCPP $CPPFLAGS'
37306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37309
37310 cat >conftest.$ac_ext <<_ACEOF
37311 /* confdefs.h. */
37312 _ACEOF
37313 cat confdefs.h >>conftest.$ac_ext
37314 cat >>conftest.$ac_ext <<_ACEOF
37315 /* end confdefs.h. */
37316
37317 #include <sys/statvfs.h>
37318
37319 int
37320 main ()
37321 {
37322
37323 long l;
37324 statvfs_t fs;
37325 statvfs("/", &fs);
37326 l = fs.f_bsize;
37327 l += fs.f_blocks;
37328 l += fs.f_bavail;
37329
37330 ;
37331 return 0;
37332 }
37333 _ACEOF
37334 rm -f conftest.$ac_objext
37335 if { (ac_try="$ac_compile"
37336 case "(($ac_try" in
37337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37338 *) ac_try_echo=$ac_try;;
37339 esac
37340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37341 (eval "$ac_compile") 2>conftest.er1
37342 ac_status=$?
37343 grep -v '^ *+' conftest.er1 >conftest.err
37344 rm -f conftest.er1
37345 cat conftest.err >&5
37346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37347 (exit $ac_status); } && {
37348 test -z "$ac_cxx_werror_flag" ||
37349 test ! -s conftest.err
37350 } && test -s conftest.$ac_objext; then
37351 wx_cv_type_statvfs_t=statvfs_t
37352 else
37353 echo "$as_me: failed program was:" >&5
37354 sed 's/^/| /' conftest.$ac_ext >&5
37355
37356
37357 cat >conftest.$ac_ext <<_ACEOF
37358 /* confdefs.h. */
37359 _ACEOF
37360 cat confdefs.h >>conftest.$ac_ext
37361 cat >>conftest.$ac_ext <<_ACEOF
37362 /* end confdefs.h. */
37363
37364 #include <sys/statvfs.h>
37365
37366 int
37367 main ()
37368 {
37369
37370 long l;
37371 struct statvfs fs;
37372 statvfs("/", &fs);
37373 l = fs.f_bsize;
37374 l += fs.f_blocks;
37375 l += fs.f_bavail;
37376
37377 ;
37378 return 0;
37379 }
37380 _ACEOF
37381 rm -f conftest.$ac_objext
37382 if { (ac_try="$ac_compile"
37383 case "(($ac_try" in
37384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37385 *) ac_try_echo=$ac_try;;
37386 esac
37387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37388 (eval "$ac_compile") 2>conftest.er1
37389 ac_status=$?
37390 grep -v '^ *+' conftest.er1 >conftest.err
37391 rm -f conftest.er1
37392 cat conftest.err >&5
37393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37394 (exit $ac_status); } && {
37395 test -z "$ac_cxx_werror_flag" ||
37396 test ! -s conftest.err
37397 } && test -s conftest.$ac_objext; then
37398 wx_cv_type_statvfs_t="struct statvfs"
37399 else
37400 echo "$as_me: failed program was:" >&5
37401 sed 's/^/| /' conftest.$ac_ext >&5
37402
37403 wx_cv_type_statvfs_t="unknown"
37404
37405 fi
37406
37407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37408
37409
37410 fi
37411
37412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37413 ac_ext=c
37414 ac_cpp='$CPP $CPPFLAGS'
37415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37418
37419
37420 fi
37421 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37422 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37423
37424 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37425 cat >>confdefs.h <<\_ACEOF
37426 #define HAVE_STATVFS 1
37427 _ACEOF
37428
37429 fi
37430 else
37431 wx_cv_type_statvfs_t="unknown"
37432 fi
37433 fi
37434
37435 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37436 cat >>confdefs.h <<_ACEOF
37437 #define WX_STATFS_T $wx_cv_type_statvfs_t
37438 _ACEOF
37439
37440 else
37441 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37442 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37443 fi
37444
37445 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37446
37447
37448 for ac_func in fcntl flock
37449 do
37450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37451 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37453 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37454 echo $ECHO_N "(cached) $ECHO_C" >&6
37455 else
37456 cat >conftest.$ac_ext <<_ACEOF
37457 /* confdefs.h. */
37458 _ACEOF
37459 cat confdefs.h >>conftest.$ac_ext
37460 cat >>conftest.$ac_ext <<_ACEOF
37461 /* end confdefs.h. */
37462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37464 #define $ac_func innocuous_$ac_func
37465
37466 /* System header to define __stub macros and hopefully few prototypes,
37467 which can conflict with char $ac_func (); below.
37468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37469 <limits.h> exists even on freestanding compilers. */
37470
37471 #ifdef __STDC__
37472 # include <limits.h>
37473 #else
37474 # include <assert.h>
37475 #endif
37476
37477 #undef $ac_func
37478
37479 /* Override any GCC internal prototype to avoid an error.
37480 Use char because int might match the return type of a GCC
37481 builtin and then its argument prototype would still apply. */
37482 #ifdef __cplusplus
37483 extern "C"
37484 #endif
37485 char $ac_func ();
37486 /* The GNU C library defines this for functions which it implements
37487 to always fail with ENOSYS. Some functions are actually named
37488 something starting with __ and the normal name is an alias. */
37489 #if defined __stub_$ac_func || defined __stub___$ac_func
37490 choke me
37491 #endif
37492
37493 int
37494 main ()
37495 {
37496 return $ac_func ();
37497 ;
37498 return 0;
37499 }
37500 _ACEOF
37501 rm -f conftest.$ac_objext conftest$ac_exeext
37502 if { (ac_try="$ac_link"
37503 case "(($ac_try" in
37504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37505 *) ac_try_echo=$ac_try;;
37506 esac
37507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37508 (eval "$ac_link") 2>conftest.er1
37509 ac_status=$?
37510 grep -v '^ *+' conftest.er1 >conftest.err
37511 rm -f conftest.er1
37512 cat conftest.err >&5
37513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37514 (exit $ac_status); } && {
37515 test -z "$ac_c_werror_flag" ||
37516 test ! -s conftest.err
37517 } && test -s conftest$ac_exeext &&
37518 $as_test_x conftest$ac_exeext; then
37519 eval "$as_ac_var=yes"
37520 else
37521 echo "$as_me: failed program was:" >&5
37522 sed 's/^/| /' conftest.$ac_ext >&5
37523
37524 eval "$as_ac_var=no"
37525 fi
37526
37527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37528 conftest$ac_exeext conftest.$ac_ext
37529 fi
37530 ac_res=`eval echo '${'$as_ac_var'}'`
37531 { echo "$as_me:$LINENO: result: $ac_res" >&5
37532 echo "${ECHO_T}$ac_res" >&6; }
37533 if test `eval echo '${'$as_ac_var'}'` = yes; then
37534 cat >>confdefs.h <<_ACEOF
37535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37536 _ACEOF
37537 break
37538 fi
37539 done
37540
37541
37542 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37543 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37544 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37545 wxUSE_SNGLINST_CHECKER=no
37546 fi
37547 fi
37548
37549
37550
37551 for ac_func in setenv putenv
37552 do
37553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37554 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37556 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37557 echo $ECHO_N "(cached) $ECHO_C" >&6
37558 else
37559 cat >conftest.$ac_ext <<_ACEOF
37560 /* confdefs.h. */
37561 _ACEOF
37562 cat confdefs.h >>conftest.$ac_ext
37563 cat >>conftest.$ac_ext <<_ACEOF
37564 /* end confdefs.h. */
37565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37567 #define $ac_func innocuous_$ac_func
37568
37569 /* System header to define __stub macros and hopefully few prototypes,
37570 which can conflict with char $ac_func (); below.
37571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37572 <limits.h> exists even on freestanding compilers. */
37573
37574 #ifdef __STDC__
37575 # include <limits.h>
37576 #else
37577 # include <assert.h>
37578 #endif
37579
37580 #undef $ac_func
37581
37582 /* Override any GCC internal prototype to avoid an error.
37583 Use char because int might match the return type of a GCC
37584 builtin and then its argument prototype would still apply. */
37585 #ifdef __cplusplus
37586 extern "C"
37587 #endif
37588 char $ac_func ();
37589 /* The GNU C library defines this for functions which it implements
37590 to always fail with ENOSYS. Some functions are actually named
37591 something starting with __ and the normal name is an alias. */
37592 #if defined __stub_$ac_func || defined __stub___$ac_func
37593 choke me
37594 #endif
37595
37596 int
37597 main ()
37598 {
37599 return $ac_func ();
37600 ;
37601 return 0;
37602 }
37603 _ACEOF
37604 rm -f conftest.$ac_objext conftest$ac_exeext
37605 if { (ac_try="$ac_link"
37606 case "(($ac_try" in
37607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37608 *) ac_try_echo=$ac_try;;
37609 esac
37610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37611 (eval "$ac_link") 2>conftest.er1
37612 ac_status=$?
37613 grep -v '^ *+' conftest.er1 >conftest.err
37614 rm -f conftest.er1
37615 cat conftest.err >&5
37616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37617 (exit $ac_status); } && {
37618 test -z "$ac_c_werror_flag" ||
37619 test ! -s conftest.err
37620 } && test -s conftest$ac_exeext &&
37621 $as_test_x conftest$ac_exeext; then
37622 eval "$as_ac_var=yes"
37623 else
37624 echo "$as_me: failed program was:" >&5
37625 sed 's/^/| /' conftest.$ac_ext >&5
37626
37627 eval "$as_ac_var=no"
37628 fi
37629
37630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37631 conftest$ac_exeext conftest.$ac_ext
37632 fi
37633 ac_res=`eval echo '${'$as_ac_var'}'`
37634 { echo "$as_me:$LINENO: result: $ac_res" >&5
37635 echo "${ECHO_T}$ac_res" >&6; }
37636 if test `eval echo '${'$as_ac_var'}'` = yes; then
37637 cat >>confdefs.h <<_ACEOF
37638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37639 _ACEOF
37640 break
37641 fi
37642 done
37643
37644 if test "$ac_cv_func_setenv" = "yes"; then
37645
37646 for ac_func in unsetenv
37647 do
37648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37649 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37651 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37652 echo $ECHO_N "(cached) $ECHO_C" >&6
37653 else
37654 cat >conftest.$ac_ext <<_ACEOF
37655 /* confdefs.h. */
37656 _ACEOF
37657 cat confdefs.h >>conftest.$ac_ext
37658 cat >>conftest.$ac_ext <<_ACEOF
37659 /* end confdefs.h. */
37660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37662 #define $ac_func innocuous_$ac_func
37663
37664 /* System header to define __stub macros and hopefully few prototypes,
37665 which can conflict with char $ac_func (); below.
37666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37667 <limits.h> exists even on freestanding compilers. */
37668
37669 #ifdef __STDC__
37670 # include <limits.h>
37671 #else
37672 # include <assert.h>
37673 #endif
37674
37675 #undef $ac_func
37676
37677 /* Override any GCC internal prototype to avoid an error.
37678 Use char because int might match the return type of a GCC
37679 builtin and then its argument prototype would still apply. */
37680 #ifdef __cplusplus
37681 extern "C"
37682 #endif
37683 char $ac_func ();
37684 /* The GNU C library defines this for functions which it implements
37685 to always fail with ENOSYS. Some functions are actually named
37686 something starting with __ and the normal name is an alias. */
37687 #if defined __stub_$ac_func || defined __stub___$ac_func
37688 choke me
37689 #endif
37690
37691 int
37692 main ()
37693 {
37694 return $ac_func ();
37695 ;
37696 return 0;
37697 }
37698 _ACEOF
37699 rm -f conftest.$ac_objext conftest$ac_exeext
37700 if { (ac_try="$ac_link"
37701 case "(($ac_try" in
37702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37703 *) ac_try_echo=$ac_try;;
37704 esac
37705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37706 (eval "$ac_link") 2>conftest.er1
37707 ac_status=$?
37708 grep -v '^ *+' conftest.er1 >conftest.err
37709 rm -f conftest.er1
37710 cat conftest.err >&5
37711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37712 (exit $ac_status); } && {
37713 test -z "$ac_c_werror_flag" ||
37714 test ! -s conftest.err
37715 } && test -s conftest$ac_exeext &&
37716 $as_test_x conftest$ac_exeext; then
37717 eval "$as_ac_var=yes"
37718 else
37719 echo "$as_me: failed program was:" >&5
37720 sed 's/^/| /' conftest.$ac_ext >&5
37721
37722 eval "$as_ac_var=no"
37723 fi
37724
37725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37726 conftest$ac_exeext conftest.$ac_ext
37727 fi
37728 ac_res=`eval echo '${'$as_ac_var'}'`
37729 { echo "$as_me:$LINENO: result: $ac_res" >&5
37730 echo "${ECHO_T}$ac_res" >&6; }
37731 if test `eval echo '${'$as_ac_var'}'` = yes; then
37732 cat >>confdefs.h <<_ACEOF
37733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37734 _ACEOF
37735
37736 fi
37737 done
37738
37739 fi
37740
37741 HAVE_SOME_SLEEP_FUNC=0
37742 if test "$USE_BEOS" = 1; then
37743 cat >>confdefs.h <<\_ACEOF
37744 #define HAVE_SLEEP 1
37745 _ACEOF
37746
37747 HAVE_SOME_SLEEP_FUNC=1
37748 fi
37749
37750 if test "$USE_DARWIN" = 1; then
37751 cat >>confdefs.h <<\_ACEOF
37752 #define HAVE_USLEEP 1
37753 _ACEOF
37754
37755 HAVE_SOME_SLEEP_FUNC=1
37756 fi
37757
37758 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37759 POSIX4_LINK=
37760
37761 for ac_func in nanosleep
37762 do
37763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37764 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37766 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37767 echo $ECHO_N "(cached) $ECHO_C" >&6
37768 else
37769 cat >conftest.$ac_ext <<_ACEOF
37770 /* confdefs.h. */
37771 _ACEOF
37772 cat confdefs.h >>conftest.$ac_ext
37773 cat >>conftest.$ac_ext <<_ACEOF
37774 /* end confdefs.h. */
37775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37777 #define $ac_func innocuous_$ac_func
37778
37779 /* System header to define __stub macros and hopefully few prototypes,
37780 which can conflict with char $ac_func (); below.
37781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37782 <limits.h> exists even on freestanding compilers. */
37783
37784 #ifdef __STDC__
37785 # include <limits.h>
37786 #else
37787 # include <assert.h>
37788 #endif
37789
37790 #undef $ac_func
37791
37792 /* Override any GCC internal prototype to avoid an error.
37793 Use char because int might match the return type of a GCC
37794 builtin and then its argument prototype would still apply. */
37795 #ifdef __cplusplus
37796 extern "C"
37797 #endif
37798 char $ac_func ();
37799 /* The GNU C library defines this for functions which it implements
37800 to always fail with ENOSYS. Some functions are actually named
37801 something starting with __ and the normal name is an alias. */
37802 #if defined __stub_$ac_func || defined __stub___$ac_func
37803 choke me
37804 #endif
37805
37806 int
37807 main ()
37808 {
37809 return $ac_func ();
37810 ;
37811 return 0;
37812 }
37813 _ACEOF
37814 rm -f conftest.$ac_objext conftest$ac_exeext
37815 if { (ac_try="$ac_link"
37816 case "(($ac_try" in
37817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37818 *) ac_try_echo=$ac_try;;
37819 esac
37820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37821 (eval "$ac_link") 2>conftest.er1
37822 ac_status=$?
37823 grep -v '^ *+' conftest.er1 >conftest.err
37824 rm -f conftest.er1
37825 cat conftest.err >&5
37826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37827 (exit $ac_status); } && {
37828 test -z "$ac_c_werror_flag" ||
37829 test ! -s conftest.err
37830 } && test -s conftest$ac_exeext &&
37831 $as_test_x conftest$ac_exeext; then
37832 eval "$as_ac_var=yes"
37833 else
37834 echo "$as_me: failed program was:" >&5
37835 sed 's/^/| /' conftest.$ac_ext >&5
37836
37837 eval "$as_ac_var=no"
37838 fi
37839
37840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37841 conftest$ac_exeext conftest.$ac_ext
37842 fi
37843 ac_res=`eval echo '${'$as_ac_var'}'`
37844 { echo "$as_me:$LINENO: result: $ac_res" >&5
37845 echo "${ECHO_T}$ac_res" >&6; }
37846 if test `eval echo '${'$as_ac_var'}'` = yes; then
37847 cat >>confdefs.h <<_ACEOF
37848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37849 _ACEOF
37850 cat >>confdefs.h <<\_ACEOF
37851 #define HAVE_NANOSLEEP 1
37852 _ACEOF
37853
37854 else
37855
37856 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37857 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37858 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37859 echo $ECHO_N "(cached) $ECHO_C" >&6
37860 else
37861 ac_check_lib_save_LIBS=$LIBS
37862 LIBS="-lposix4 $LIBS"
37863 cat >conftest.$ac_ext <<_ACEOF
37864 /* confdefs.h. */
37865 _ACEOF
37866 cat confdefs.h >>conftest.$ac_ext
37867 cat >>conftest.$ac_ext <<_ACEOF
37868 /* end confdefs.h. */
37869
37870 /* Override any GCC internal prototype to avoid an error.
37871 Use char because int might match the return type of a GCC
37872 builtin and then its argument prototype would still apply. */
37873 #ifdef __cplusplus
37874 extern "C"
37875 #endif
37876 char nanosleep ();
37877 int
37878 main ()
37879 {
37880 return nanosleep ();
37881 ;
37882 return 0;
37883 }
37884 _ACEOF
37885 rm -f conftest.$ac_objext conftest$ac_exeext
37886 if { (ac_try="$ac_link"
37887 case "(($ac_try" in
37888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37889 *) ac_try_echo=$ac_try;;
37890 esac
37891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37892 (eval "$ac_link") 2>conftest.er1
37893 ac_status=$?
37894 grep -v '^ *+' conftest.er1 >conftest.err
37895 rm -f conftest.er1
37896 cat conftest.err >&5
37897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37898 (exit $ac_status); } && {
37899 test -z "$ac_c_werror_flag" ||
37900 test ! -s conftest.err
37901 } && test -s conftest$ac_exeext &&
37902 $as_test_x conftest$ac_exeext; then
37903 ac_cv_lib_posix4_nanosleep=yes
37904 else
37905 echo "$as_me: failed program was:" >&5
37906 sed 's/^/| /' conftest.$ac_ext >&5
37907
37908 ac_cv_lib_posix4_nanosleep=no
37909 fi
37910
37911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37912 conftest$ac_exeext conftest.$ac_ext
37913 LIBS=$ac_check_lib_save_LIBS
37914 fi
37915 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37916 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37917 if test $ac_cv_lib_posix4_nanosleep = yes; then
37918
37919 cat >>confdefs.h <<\_ACEOF
37920 #define HAVE_NANOSLEEP 1
37921 _ACEOF
37922
37923 POSIX4_LINK=" -lposix4"
37924
37925 else
37926
37927
37928 for wx_func in usleep
37929 do
37930 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37931 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37932 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37933 echo $ECHO_N "(cached) $ECHO_C" >&6
37934 else
37935
37936 cat >conftest.$ac_ext <<_ACEOF
37937
37938 /* confdefs.h. */
37939 _ACEOF
37940 cat confdefs.h >>conftest.$ac_ext
37941 cat >>conftest.$ac_ext <<_ACEOF
37942 /* end confdefs.h. */
37943
37944
37945 $ac_includes_default
37946
37947 int
37948 main ()
37949 {
37950
37951 #ifndef $wx_func
37952 &$wx_func;
37953 #endif
37954
37955
37956 ;
37957 return 0;
37958 }
37959
37960 _ACEOF
37961 rm -f conftest.$ac_objext conftest$ac_exeext
37962 if { (ac_try="$ac_link"
37963 case "(($ac_try" in
37964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37965 *) ac_try_echo=$ac_try;;
37966 esac
37967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37968 (eval "$ac_link") 2>conftest.er1
37969 ac_status=$?
37970 grep -v '^ *+' conftest.er1 >conftest.err
37971 rm -f conftest.er1
37972 cat conftest.err >&5
37973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37974 (exit $ac_status); } && {
37975 test -z "$ac_c_werror_flag" ||
37976 test ! -s conftest.err
37977 } && test -s conftest$ac_exeext &&
37978 $as_test_x conftest$ac_exeext; then
37979 eval wx_cv_func_$wx_func=yes
37980 else
37981 echo "$as_me: failed program was:" >&5
37982 sed 's/^/| /' conftest.$ac_ext >&5
37983
37984 eval wx_cv_func_$wx_func=no
37985 fi
37986
37987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37988 conftest$ac_exeext conftest.$ac_ext
37989
37990 fi
37991 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37992 { echo "$as_me:$LINENO: result: $ac_res" >&5
37993 echo "${ECHO_T}$ac_res" >&6; }
37994
37995 if eval test \$wx_cv_func_$wx_func = yes
37996 then
37997 cat >>confdefs.h <<_ACEOF
37998 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37999 _ACEOF
38000
38001
38002 else
38003 :
38004 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38005 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38006
38007 fi
38008 done
38009
38010
38011
38012 fi
38013
38014
38015
38016 fi
38017 done
38018
38019 fi
38020
38021
38022 for wx_func in uname
38023 do
38024 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38025 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38026 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38027 echo $ECHO_N "(cached) $ECHO_C" >&6
38028 else
38029
38030 cat >conftest.$ac_ext <<_ACEOF
38031
38032 /* confdefs.h. */
38033 _ACEOF
38034 cat confdefs.h >>conftest.$ac_ext
38035 cat >>conftest.$ac_ext <<_ACEOF
38036 /* end confdefs.h. */
38037
38038 #include <sys/utsname.h>
38039 $ac_includes_default
38040
38041 int
38042 main ()
38043 {
38044
38045 #ifndef $wx_func
38046 &$wx_func;
38047 #endif
38048
38049
38050 ;
38051 return 0;
38052 }
38053
38054 _ACEOF
38055 rm -f conftest.$ac_objext conftest$ac_exeext
38056 if { (ac_try="$ac_link"
38057 case "(($ac_try" in
38058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38059 *) ac_try_echo=$ac_try;;
38060 esac
38061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38062 (eval "$ac_link") 2>conftest.er1
38063 ac_status=$?
38064 grep -v '^ *+' conftest.er1 >conftest.err
38065 rm -f conftest.er1
38066 cat conftest.err >&5
38067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38068 (exit $ac_status); } && {
38069 test -z "$ac_c_werror_flag" ||
38070 test ! -s conftest.err
38071 } && test -s conftest$ac_exeext &&
38072 $as_test_x conftest$ac_exeext; then
38073 eval wx_cv_func_$wx_func=yes
38074 else
38075 echo "$as_me: failed program was:" >&5
38076 sed 's/^/| /' conftest.$ac_ext >&5
38077
38078 eval wx_cv_func_$wx_func=no
38079 fi
38080
38081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38082 conftest$ac_exeext conftest.$ac_ext
38083
38084 fi
38085 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38086 { echo "$as_me:$LINENO: result: $ac_res" >&5
38087 echo "${ECHO_T}$ac_res" >&6; }
38088
38089 if eval test \$wx_cv_func_$wx_func = yes
38090 then
38091 cat >>confdefs.h <<_ACEOF
38092 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38093 _ACEOF
38094
38095
38096 else
38097 :
38098
38099 fi
38100 done
38101
38102 if test "$wx_cv_func_uname" != yes; then
38103
38104 for wx_func in gethostname
38105 do
38106 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38107 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38108 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38109 echo $ECHO_N "(cached) $ECHO_C" >&6
38110 else
38111
38112 cat >conftest.$ac_ext <<_ACEOF
38113
38114 /* confdefs.h. */
38115 _ACEOF
38116 cat confdefs.h >>conftest.$ac_ext
38117 cat >>conftest.$ac_ext <<_ACEOF
38118 /* end confdefs.h. */
38119
38120
38121 $ac_includes_default
38122
38123 int
38124 main ()
38125 {
38126
38127 #ifndef $wx_func
38128 &$wx_func;
38129 #endif
38130
38131
38132 ;
38133 return 0;
38134 }
38135
38136 _ACEOF
38137 rm -f conftest.$ac_objext conftest$ac_exeext
38138 if { (ac_try="$ac_link"
38139 case "(($ac_try" in
38140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38141 *) ac_try_echo=$ac_try;;
38142 esac
38143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38144 (eval "$ac_link") 2>conftest.er1
38145 ac_status=$?
38146 grep -v '^ *+' conftest.er1 >conftest.err
38147 rm -f conftest.er1
38148 cat conftest.err >&5
38149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38150 (exit $ac_status); } && {
38151 test -z "$ac_c_werror_flag" ||
38152 test ! -s conftest.err
38153 } && test -s conftest$ac_exeext &&
38154 $as_test_x conftest$ac_exeext; then
38155 eval wx_cv_func_$wx_func=yes
38156 else
38157 echo "$as_me: failed program was:" >&5
38158 sed 's/^/| /' conftest.$ac_ext >&5
38159
38160 eval wx_cv_func_$wx_func=no
38161 fi
38162
38163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38164 conftest$ac_exeext conftest.$ac_ext
38165
38166 fi
38167 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38168 { echo "$as_me:$LINENO: result: $ac_res" >&5
38169 echo "${ECHO_T}$ac_res" >&6; }
38170
38171 if eval test \$wx_cv_func_$wx_func = yes
38172 then
38173 cat >>confdefs.h <<_ACEOF
38174 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38175 _ACEOF
38176
38177
38178 else
38179 :
38180
38181 fi
38182 done
38183
38184 fi
38185
38186
38187 for wx_func in strtok_r
38188 do
38189 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38190 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38191 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38192 echo $ECHO_N "(cached) $ECHO_C" >&6
38193 else
38194
38195 cat >conftest.$ac_ext <<_ACEOF
38196
38197 /* confdefs.h. */
38198 _ACEOF
38199 cat confdefs.h >>conftest.$ac_ext
38200 cat >>conftest.$ac_ext <<_ACEOF
38201 /* end confdefs.h. */
38202
38203 #define _REENTRANT
38204 $ac_includes_default
38205
38206 int
38207 main ()
38208 {
38209
38210 #ifndef $wx_func
38211 &$wx_func;
38212 #endif
38213
38214
38215 ;
38216 return 0;
38217 }
38218
38219 _ACEOF
38220 rm -f conftest.$ac_objext conftest$ac_exeext
38221 if { (ac_try="$ac_link"
38222 case "(($ac_try" in
38223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38224 *) ac_try_echo=$ac_try;;
38225 esac
38226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38227 (eval "$ac_link") 2>conftest.er1
38228 ac_status=$?
38229 grep -v '^ *+' conftest.er1 >conftest.err
38230 rm -f conftest.er1
38231 cat conftest.err >&5
38232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38233 (exit $ac_status); } && {
38234 test -z "$ac_c_werror_flag" ||
38235 test ! -s conftest.err
38236 } && test -s conftest$ac_exeext &&
38237 $as_test_x conftest$ac_exeext; then
38238 eval wx_cv_func_$wx_func=yes
38239 else
38240 echo "$as_me: failed program was:" >&5
38241 sed 's/^/| /' conftest.$ac_ext >&5
38242
38243 eval wx_cv_func_$wx_func=no
38244 fi
38245
38246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38247 conftest$ac_exeext conftest.$ac_ext
38248
38249 fi
38250 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38251 { echo "$as_me:$LINENO: result: $ac_res" >&5
38252 echo "${ECHO_T}$ac_res" >&6; }
38253
38254 if eval test \$wx_cv_func_$wx_func = yes
38255 then
38256 cat >>confdefs.h <<_ACEOF
38257 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38258 _ACEOF
38259
38260
38261 else
38262 :
38263
38264 fi
38265 done
38266
38267
38268 INET_LINK=
38269
38270 for ac_func in inet_addr
38271 do
38272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38273 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38275 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38276 echo $ECHO_N "(cached) $ECHO_C" >&6
38277 else
38278 cat >conftest.$ac_ext <<_ACEOF
38279 /* confdefs.h. */
38280 _ACEOF
38281 cat confdefs.h >>conftest.$ac_ext
38282 cat >>conftest.$ac_ext <<_ACEOF
38283 /* end confdefs.h. */
38284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38286 #define $ac_func innocuous_$ac_func
38287
38288 /* System header to define __stub macros and hopefully few prototypes,
38289 which can conflict with char $ac_func (); below.
38290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38291 <limits.h> exists even on freestanding compilers. */
38292
38293 #ifdef __STDC__
38294 # include <limits.h>
38295 #else
38296 # include <assert.h>
38297 #endif
38298
38299 #undef $ac_func
38300
38301 /* Override any GCC internal prototype to avoid an error.
38302 Use char because int might match the return type of a GCC
38303 builtin and then its argument prototype would still apply. */
38304 #ifdef __cplusplus
38305 extern "C"
38306 #endif
38307 char $ac_func ();
38308 /* The GNU C library defines this for functions which it implements
38309 to always fail with ENOSYS. Some functions are actually named
38310 something starting with __ and the normal name is an alias. */
38311 #if defined __stub_$ac_func || defined __stub___$ac_func
38312 choke me
38313 #endif
38314
38315 int
38316 main ()
38317 {
38318 return $ac_func ();
38319 ;
38320 return 0;
38321 }
38322 _ACEOF
38323 rm -f conftest.$ac_objext conftest$ac_exeext
38324 if { (ac_try="$ac_link"
38325 case "(($ac_try" in
38326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38327 *) ac_try_echo=$ac_try;;
38328 esac
38329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38330 (eval "$ac_link") 2>conftest.er1
38331 ac_status=$?
38332 grep -v '^ *+' conftest.er1 >conftest.err
38333 rm -f conftest.er1
38334 cat conftest.err >&5
38335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38336 (exit $ac_status); } && {
38337 test -z "$ac_c_werror_flag" ||
38338 test ! -s conftest.err
38339 } && test -s conftest$ac_exeext &&
38340 $as_test_x conftest$ac_exeext; then
38341 eval "$as_ac_var=yes"
38342 else
38343 echo "$as_me: failed program was:" >&5
38344 sed 's/^/| /' conftest.$ac_ext >&5
38345
38346 eval "$as_ac_var=no"
38347 fi
38348
38349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38350 conftest$ac_exeext conftest.$ac_ext
38351 fi
38352 ac_res=`eval echo '${'$as_ac_var'}'`
38353 { echo "$as_me:$LINENO: result: $ac_res" >&5
38354 echo "${ECHO_T}$ac_res" >&6; }
38355 if test `eval echo '${'$as_ac_var'}'` = yes; then
38356 cat >>confdefs.h <<_ACEOF
38357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38358 _ACEOF
38359 cat >>confdefs.h <<\_ACEOF
38360 #define HAVE_INET_ADDR 1
38361 _ACEOF
38362
38363 else
38364
38365 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38366 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38367 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38368 echo $ECHO_N "(cached) $ECHO_C" >&6
38369 else
38370 ac_check_lib_save_LIBS=$LIBS
38371 LIBS="-lnsl $LIBS"
38372 cat >conftest.$ac_ext <<_ACEOF
38373 /* confdefs.h. */
38374 _ACEOF
38375 cat confdefs.h >>conftest.$ac_ext
38376 cat >>conftest.$ac_ext <<_ACEOF
38377 /* end confdefs.h. */
38378
38379 /* Override any GCC internal prototype to avoid an error.
38380 Use char because int might match the return type of a GCC
38381 builtin and then its argument prototype would still apply. */
38382 #ifdef __cplusplus
38383 extern "C"
38384 #endif
38385 char inet_addr ();
38386 int
38387 main ()
38388 {
38389 return inet_addr ();
38390 ;
38391 return 0;
38392 }
38393 _ACEOF
38394 rm -f conftest.$ac_objext conftest$ac_exeext
38395 if { (ac_try="$ac_link"
38396 case "(($ac_try" in
38397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38398 *) ac_try_echo=$ac_try;;
38399 esac
38400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38401 (eval "$ac_link") 2>conftest.er1
38402 ac_status=$?
38403 grep -v '^ *+' conftest.er1 >conftest.err
38404 rm -f conftest.er1
38405 cat conftest.err >&5
38406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38407 (exit $ac_status); } && {
38408 test -z "$ac_c_werror_flag" ||
38409 test ! -s conftest.err
38410 } && test -s conftest$ac_exeext &&
38411 $as_test_x conftest$ac_exeext; then
38412 ac_cv_lib_nsl_inet_addr=yes
38413 else
38414 echo "$as_me: failed program was:" >&5
38415 sed 's/^/| /' conftest.$ac_ext >&5
38416
38417 ac_cv_lib_nsl_inet_addr=no
38418 fi
38419
38420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38421 conftest$ac_exeext conftest.$ac_ext
38422 LIBS=$ac_check_lib_save_LIBS
38423 fi
38424 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38425 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38426 if test $ac_cv_lib_nsl_inet_addr = yes; then
38427 INET_LINK="nsl"
38428 else
38429
38430 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38431 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38432 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38433 echo $ECHO_N "(cached) $ECHO_C" >&6
38434 else
38435 ac_check_lib_save_LIBS=$LIBS
38436 LIBS="-lresolv $LIBS"
38437 cat >conftest.$ac_ext <<_ACEOF
38438 /* confdefs.h. */
38439 _ACEOF
38440 cat confdefs.h >>conftest.$ac_ext
38441 cat >>conftest.$ac_ext <<_ACEOF
38442 /* end confdefs.h. */
38443
38444 /* Override any GCC internal prototype to avoid an error.
38445 Use char because int might match the return type of a GCC
38446 builtin and then its argument prototype would still apply. */
38447 #ifdef __cplusplus
38448 extern "C"
38449 #endif
38450 char inet_addr ();
38451 int
38452 main ()
38453 {
38454 return inet_addr ();
38455 ;
38456 return 0;
38457 }
38458 _ACEOF
38459 rm -f conftest.$ac_objext conftest$ac_exeext
38460 if { (ac_try="$ac_link"
38461 case "(($ac_try" in
38462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38463 *) ac_try_echo=$ac_try;;
38464 esac
38465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38466 (eval "$ac_link") 2>conftest.er1
38467 ac_status=$?
38468 grep -v '^ *+' conftest.er1 >conftest.err
38469 rm -f conftest.er1
38470 cat conftest.err >&5
38471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38472 (exit $ac_status); } && {
38473 test -z "$ac_c_werror_flag" ||
38474 test ! -s conftest.err
38475 } && test -s conftest$ac_exeext &&
38476 $as_test_x conftest$ac_exeext; then
38477 ac_cv_lib_resolv_inet_addr=yes
38478 else
38479 echo "$as_me: failed program was:" >&5
38480 sed 's/^/| /' conftest.$ac_ext >&5
38481
38482 ac_cv_lib_resolv_inet_addr=no
38483 fi
38484
38485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38486 conftest$ac_exeext conftest.$ac_ext
38487 LIBS=$ac_check_lib_save_LIBS
38488 fi
38489 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38490 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38491 if test $ac_cv_lib_resolv_inet_addr = yes; then
38492 INET_LINK="resolv"
38493 else
38494
38495 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38496 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38497 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38498 echo $ECHO_N "(cached) $ECHO_C" >&6
38499 else
38500 ac_check_lib_save_LIBS=$LIBS
38501 LIBS="-lsocket $LIBS"
38502 cat >conftest.$ac_ext <<_ACEOF
38503 /* confdefs.h. */
38504 _ACEOF
38505 cat confdefs.h >>conftest.$ac_ext
38506 cat >>conftest.$ac_ext <<_ACEOF
38507 /* end confdefs.h. */
38508
38509 /* Override any GCC internal prototype to avoid an error.
38510 Use char because int might match the return type of a GCC
38511 builtin and then its argument prototype would still apply. */
38512 #ifdef __cplusplus
38513 extern "C"
38514 #endif
38515 char inet_addr ();
38516 int
38517 main ()
38518 {
38519 return inet_addr ();
38520 ;
38521 return 0;
38522 }
38523 _ACEOF
38524 rm -f conftest.$ac_objext conftest$ac_exeext
38525 if { (ac_try="$ac_link"
38526 case "(($ac_try" in
38527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38528 *) ac_try_echo=$ac_try;;
38529 esac
38530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38531 (eval "$ac_link") 2>conftest.er1
38532 ac_status=$?
38533 grep -v '^ *+' conftest.er1 >conftest.err
38534 rm -f conftest.er1
38535 cat conftest.err >&5
38536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38537 (exit $ac_status); } && {
38538 test -z "$ac_c_werror_flag" ||
38539 test ! -s conftest.err
38540 } && test -s conftest$ac_exeext &&
38541 $as_test_x conftest$ac_exeext; then
38542 ac_cv_lib_socket_inet_addr=yes
38543 else
38544 echo "$as_me: failed program was:" >&5
38545 sed 's/^/| /' conftest.$ac_ext >&5
38546
38547 ac_cv_lib_socket_inet_addr=no
38548 fi
38549
38550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38551 conftest$ac_exeext conftest.$ac_ext
38552 LIBS=$ac_check_lib_save_LIBS
38553 fi
38554 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38555 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38556 if test $ac_cv_lib_socket_inet_addr = yes; then
38557 INET_LINK="socket"
38558
38559 fi
38560
38561
38562
38563 fi
38564
38565
38566
38567 fi
38568
38569
38570
38571 fi
38572 done
38573
38574
38575
38576 for ac_func in inet_aton
38577 do
38578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38579 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38581 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38582 echo $ECHO_N "(cached) $ECHO_C" >&6
38583 else
38584 cat >conftest.$ac_ext <<_ACEOF
38585 /* confdefs.h. */
38586 _ACEOF
38587 cat confdefs.h >>conftest.$ac_ext
38588 cat >>conftest.$ac_ext <<_ACEOF
38589 /* end confdefs.h. */
38590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38592 #define $ac_func innocuous_$ac_func
38593
38594 /* System header to define __stub macros and hopefully few prototypes,
38595 which can conflict with char $ac_func (); below.
38596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38597 <limits.h> exists even on freestanding compilers. */
38598
38599 #ifdef __STDC__
38600 # include <limits.h>
38601 #else
38602 # include <assert.h>
38603 #endif
38604
38605 #undef $ac_func
38606
38607 /* Override any GCC internal prototype to avoid an error.
38608 Use char because int might match the return type of a GCC
38609 builtin and then its argument prototype would still apply. */
38610 #ifdef __cplusplus
38611 extern "C"
38612 #endif
38613 char $ac_func ();
38614 /* The GNU C library defines this for functions which it implements
38615 to always fail with ENOSYS. Some functions are actually named
38616 something starting with __ and the normal name is an alias. */
38617 #if defined __stub_$ac_func || defined __stub___$ac_func
38618 choke me
38619 #endif
38620
38621 int
38622 main ()
38623 {
38624 return $ac_func ();
38625 ;
38626 return 0;
38627 }
38628 _ACEOF
38629 rm -f conftest.$ac_objext conftest$ac_exeext
38630 if { (ac_try="$ac_link"
38631 case "(($ac_try" in
38632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38633 *) ac_try_echo=$ac_try;;
38634 esac
38635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38636 (eval "$ac_link") 2>conftest.er1
38637 ac_status=$?
38638 grep -v '^ *+' conftest.er1 >conftest.err
38639 rm -f conftest.er1
38640 cat conftest.err >&5
38641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642 (exit $ac_status); } && {
38643 test -z "$ac_c_werror_flag" ||
38644 test ! -s conftest.err
38645 } && test -s conftest$ac_exeext &&
38646 $as_test_x conftest$ac_exeext; then
38647 eval "$as_ac_var=yes"
38648 else
38649 echo "$as_me: failed program was:" >&5
38650 sed 's/^/| /' conftest.$ac_ext >&5
38651
38652 eval "$as_ac_var=no"
38653 fi
38654
38655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38656 conftest$ac_exeext conftest.$ac_ext
38657 fi
38658 ac_res=`eval echo '${'$as_ac_var'}'`
38659 { echo "$as_me:$LINENO: result: $ac_res" >&5
38660 echo "${ECHO_T}$ac_res" >&6; }
38661 if test `eval echo '${'$as_ac_var'}'` = yes; then
38662 cat >>confdefs.h <<_ACEOF
38663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38664 _ACEOF
38665 cat >>confdefs.h <<\_ACEOF
38666 #define HAVE_INET_ATON 1
38667 _ACEOF
38668
38669 else
38670
38671 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38672 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38673 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38674 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38675 echo $ECHO_N "(cached) $ECHO_C" >&6
38676 else
38677 ac_check_lib_save_LIBS=$LIBS
38678 LIBS="-l$INET_LINK $LIBS"
38679 cat >conftest.$ac_ext <<_ACEOF
38680 /* confdefs.h. */
38681 _ACEOF
38682 cat confdefs.h >>conftest.$ac_ext
38683 cat >>conftest.$ac_ext <<_ACEOF
38684 /* end confdefs.h. */
38685
38686 /* Override any GCC internal prototype to avoid an error.
38687 Use char because int might match the return type of a GCC
38688 builtin and then its argument prototype would still apply. */
38689 #ifdef __cplusplus
38690 extern "C"
38691 #endif
38692 char inet_aton ();
38693 int
38694 main ()
38695 {
38696 return inet_aton ();
38697 ;
38698 return 0;
38699 }
38700 _ACEOF
38701 rm -f conftest.$ac_objext conftest$ac_exeext
38702 if { (ac_try="$ac_link"
38703 case "(($ac_try" in
38704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38705 *) ac_try_echo=$ac_try;;
38706 esac
38707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38708 (eval "$ac_link") 2>conftest.er1
38709 ac_status=$?
38710 grep -v '^ *+' conftest.er1 >conftest.err
38711 rm -f conftest.er1
38712 cat conftest.err >&5
38713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38714 (exit $ac_status); } && {
38715 test -z "$ac_c_werror_flag" ||
38716 test ! -s conftest.err
38717 } && test -s conftest$ac_exeext &&
38718 $as_test_x conftest$ac_exeext; then
38719 eval "$as_ac_Lib=yes"
38720 else
38721 echo "$as_me: failed program was:" >&5
38722 sed 's/^/| /' conftest.$ac_ext >&5
38723
38724 eval "$as_ac_Lib=no"
38725 fi
38726
38727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38728 conftest$ac_exeext conftest.$ac_ext
38729 LIBS=$ac_check_lib_save_LIBS
38730 fi
38731 ac_res=`eval echo '${'$as_ac_Lib'}'`
38732 { echo "$as_me:$LINENO: result: $ac_res" >&5
38733 echo "${ECHO_T}$ac_res" >&6; }
38734 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38735 cat >>confdefs.h <<\_ACEOF
38736 #define HAVE_INET_ATON 1
38737 _ACEOF
38738
38739 fi
38740
38741
38742 fi
38743 done
38744
38745
38746 if test "x$INET_LINK" != "x"; then
38747 cat >>confdefs.h <<\_ACEOF
38748 #define HAVE_INET_ADDR 1
38749 _ACEOF
38750
38751 INET_LINK=" -l$INET_LINK"
38752 fi
38753
38754
38755 for wx_func in fdopen
38756 do
38757 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38758 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38759 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38760 echo $ECHO_N "(cached) $ECHO_C" >&6
38761 else
38762
38763 cat >conftest.$ac_ext <<_ACEOF
38764
38765 /* confdefs.h. */
38766 _ACEOF
38767 cat confdefs.h >>conftest.$ac_ext
38768 cat >>conftest.$ac_ext <<_ACEOF
38769 /* end confdefs.h. */
38770
38771
38772 $ac_includes_default
38773
38774 int
38775 main ()
38776 {
38777
38778 #ifndef $wx_func
38779 &$wx_func;
38780 #endif
38781
38782
38783 ;
38784 return 0;
38785 }
38786
38787 _ACEOF
38788 rm -f conftest.$ac_objext conftest$ac_exeext
38789 if { (ac_try="$ac_link"
38790 case "(($ac_try" in
38791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38792 *) ac_try_echo=$ac_try;;
38793 esac
38794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38795 (eval "$ac_link") 2>conftest.er1
38796 ac_status=$?
38797 grep -v '^ *+' conftest.er1 >conftest.err
38798 rm -f conftest.er1
38799 cat conftest.err >&5
38800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38801 (exit $ac_status); } && {
38802 test -z "$ac_c_werror_flag" ||
38803 test ! -s conftest.err
38804 } && test -s conftest$ac_exeext &&
38805 $as_test_x conftest$ac_exeext; then
38806 eval wx_cv_func_$wx_func=yes
38807 else
38808 echo "$as_me: failed program was:" >&5
38809 sed 's/^/| /' conftest.$ac_ext >&5
38810
38811 eval wx_cv_func_$wx_func=no
38812 fi
38813
38814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38815 conftest$ac_exeext conftest.$ac_ext
38816
38817 fi
38818 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38819 { echo "$as_me:$LINENO: result: $ac_res" >&5
38820 echo "${ECHO_T}$ac_res" >&6; }
38821
38822 if eval test \$wx_cv_func_$wx_func = yes
38823 then
38824 cat >>confdefs.h <<_ACEOF
38825 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38826 _ACEOF
38827
38828
38829 else
38830 :
38831
38832 fi
38833 done
38834
38835
38836 if test "$wxUSE_TARSTREAM" = "yes"; then
38837
38838 for wx_func in sysconf
38839 do
38840 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38841 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38842 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38843 echo $ECHO_N "(cached) $ECHO_C" >&6
38844 else
38845
38846 cat >conftest.$ac_ext <<_ACEOF
38847
38848 /* confdefs.h. */
38849 _ACEOF
38850 cat confdefs.h >>conftest.$ac_ext
38851 cat >>conftest.$ac_ext <<_ACEOF
38852 /* end confdefs.h. */
38853
38854
38855 $ac_includes_default
38856
38857 int
38858 main ()
38859 {
38860
38861 #ifndef $wx_func
38862 &$wx_func;
38863 #endif
38864
38865
38866 ;
38867 return 0;
38868 }
38869
38870 _ACEOF
38871 rm -f conftest.$ac_objext conftest$ac_exeext
38872 if { (ac_try="$ac_link"
38873 case "(($ac_try" in
38874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38875 *) ac_try_echo=$ac_try;;
38876 esac
38877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38878 (eval "$ac_link") 2>conftest.er1
38879 ac_status=$?
38880 grep -v '^ *+' conftest.er1 >conftest.err
38881 rm -f conftest.er1
38882 cat conftest.err >&5
38883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38884 (exit $ac_status); } && {
38885 test -z "$ac_c_werror_flag" ||
38886 test ! -s conftest.err
38887 } && test -s conftest$ac_exeext &&
38888 $as_test_x conftest$ac_exeext; then
38889 eval wx_cv_func_$wx_func=yes
38890 else
38891 echo "$as_me: failed program was:" >&5
38892 sed 's/^/| /' conftest.$ac_ext >&5
38893
38894 eval wx_cv_func_$wx_func=no
38895 fi
38896
38897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38898 conftest$ac_exeext conftest.$ac_ext
38899
38900 fi
38901 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38902 { echo "$as_me:$LINENO: result: $ac_res" >&5
38903 echo "${ECHO_T}$ac_res" >&6; }
38904
38905 if eval test \$wx_cv_func_$wx_func = yes
38906 then
38907 cat >>confdefs.h <<_ACEOF
38908 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38909 _ACEOF
38910
38911
38912 else
38913 :
38914
38915 fi
38916 done
38917
38918
38919
38920 for wx_func in getpwuid_r
38921 do
38922 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38923 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38924 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38925 echo $ECHO_N "(cached) $ECHO_C" >&6
38926 else
38927
38928 cat >conftest.$ac_ext <<_ACEOF
38929
38930 /* confdefs.h. */
38931 _ACEOF
38932 cat confdefs.h >>conftest.$ac_ext
38933 cat >>conftest.$ac_ext <<_ACEOF
38934 /* end confdefs.h. */
38935
38936
38937 #define _REENTRANT
38938 #include <pwd.h>
38939
38940 $ac_includes_default
38941
38942 int
38943 main ()
38944 {
38945
38946 #ifndef $wx_func
38947 &$wx_func;
38948 #endif
38949
38950 struct passwd pw, *ppw;
38951 char buf[1024];
38952 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38953
38954
38955 ;
38956 return 0;
38957 }
38958
38959 _ACEOF
38960 rm -f conftest.$ac_objext conftest$ac_exeext
38961 if { (ac_try="$ac_link"
38962 case "(($ac_try" in
38963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38964 *) ac_try_echo=$ac_try;;
38965 esac
38966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38967 (eval "$ac_link") 2>conftest.er1
38968 ac_status=$?
38969 grep -v '^ *+' conftest.er1 >conftest.err
38970 rm -f conftest.er1
38971 cat conftest.err >&5
38972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38973 (exit $ac_status); } && {
38974 test -z "$ac_c_werror_flag" ||
38975 test ! -s conftest.err
38976 } && test -s conftest$ac_exeext &&
38977 $as_test_x conftest$ac_exeext; then
38978 eval wx_cv_func_$wx_func=yes
38979 else
38980 echo "$as_me: failed program was:" >&5
38981 sed 's/^/| /' conftest.$ac_ext >&5
38982
38983 eval wx_cv_func_$wx_func=no
38984 fi
38985
38986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38987 conftest$ac_exeext conftest.$ac_ext
38988
38989 fi
38990 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38991 { echo "$as_me:$LINENO: result: $ac_res" >&5
38992 echo "${ECHO_T}$ac_res" >&6; }
38993
38994 if eval test \$wx_cv_func_$wx_func = yes
38995 then
38996 cat >>confdefs.h <<_ACEOF
38997 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38998 _ACEOF
38999
39000
39001 else
39002 :
39003
39004 fi
39005 done
39006
39007
39008
39009 for wx_func in getgrgid_r
39010 do
39011 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39012 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39013 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39014 echo $ECHO_N "(cached) $ECHO_C" >&6
39015 else
39016
39017 cat >conftest.$ac_ext <<_ACEOF
39018
39019 /* confdefs.h. */
39020 _ACEOF
39021 cat confdefs.h >>conftest.$ac_ext
39022 cat >>conftest.$ac_ext <<_ACEOF
39023 /* end confdefs.h. */
39024
39025
39026 #define _REENTRANT
39027 #include <grp.h>
39028
39029 $ac_includes_default
39030
39031 int
39032 main ()
39033 {
39034
39035 #ifndef $wx_func
39036 &$wx_func;
39037 #endif
39038
39039 struct group grp, *pgrp;
39040 char buf[1024];
39041 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39042
39043
39044 ;
39045 return 0;
39046 }
39047
39048 _ACEOF
39049 rm -f conftest.$ac_objext conftest$ac_exeext
39050 if { (ac_try="$ac_link"
39051 case "(($ac_try" in
39052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39053 *) ac_try_echo=$ac_try;;
39054 esac
39055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39056 (eval "$ac_link") 2>conftest.er1
39057 ac_status=$?
39058 grep -v '^ *+' conftest.er1 >conftest.err
39059 rm -f conftest.er1
39060 cat conftest.err >&5
39061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39062 (exit $ac_status); } && {
39063 test -z "$ac_c_werror_flag" ||
39064 test ! -s conftest.err
39065 } && test -s conftest$ac_exeext &&
39066 $as_test_x conftest$ac_exeext; then
39067 eval wx_cv_func_$wx_func=yes
39068 else
39069 echo "$as_me: failed program was:" >&5
39070 sed 's/^/| /' conftest.$ac_ext >&5
39071
39072 eval wx_cv_func_$wx_func=no
39073 fi
39074
39075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39076 conftest$ac_exeext conftest.$ac_ext
39077
39078 fi
39079 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39080 { echo "$as_me:$LINENO: result: $ac_res" >&5
39081 echo "${ECHO_T}$ac_res" >&6; }
39082
39083 if eval test \$wx_cv_func_$wx_func = yes
39084 then
39085 cat >>confdefs.h <<_ACEOF
39086 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39087 _ACEOF
39088
39089
39090 else
39091 :
39092
39093 fi
39094 done
39095
39096 fi
39097
39098 fi
39099
39100
39101
39102 cat >confcache <<\_ACEOF
39103 # This file is a shell script that caches the results of configure
39104 # tests run on this system so they can be shared between configure
39105 # scripts and configure runs, see configure's option --config-cache.
39106 # It is not useful on other systems. If it contains results you don't
39107 # want to keep, you may remove or edit it.
39108 #
39109 # config.status only pays attention to the cache file if you give it
39110 # the --recheck option to rerun configure.
39111 #
39112 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39113 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39114 # following values.
39115
39116 _ACEOF
39117
39118 # The following way of writing the cache mishandles newlines in values,
39119 # but we know of no workaround that is simple, portable, and efficient.
39120 # So, we kill variables containing newlines.
39121 # Ultrix sh set writes to stderr and can't be redirected directly,
39122 # and sets the high bit in the cache file unless we assign to the vars.
39123 (
39124 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39125 eval ac_val=\$$ac_var
39126 case $ac_val in #(
39127 *${as_nl}*)
39128 case $ac_var in #(
39129 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39130 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39131 esac
39132 case $ac_var in #(
39133 _ | IFS | as_nl) ;; #(
39134 *) $as_unset $ac_var ;;
39135 esac ;;
39136 esac
39137 done
39138
39139 (set) 2>&1 |
39140 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39141 *${as_nl}ac_space=\ *)
39142 # `set' does not quote correctly, so add quotes (double-quote
39143 # substitution turns \\\\ into \\, and sed turns \\ into \).
39144 sed -n \
39145 "s/'/'\\\\''/g;
39146 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39147 ;; #(
39148 *)
39149 # `set' quotes correctly as required by POSIX, so do not add quotes.
39150 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39151 ;;
39152 esac |
39153 sort
39154 ) |
39155 sed '
39156 /^ac_cv_env_/b end
39157 t clear
39158 :clear
39159 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39160 t end
39161 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39162 :end' >>confcache
39163 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
39164 if test -w "$cache_file"; then
39165 test "x$cache_file" != "x/dev/null" &&
39166 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39167 echo "$as_me: updating cache $cache_file" >&6;}
39168 cat confcache >$cache_file
39169 else
39170 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39171 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39172 fi
39173 fi
39174 rm -f confcache
39175
39176
39177 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39178
39179
39180 THREADS_LINK=
39181 THREADS_CFLAGS=
39182
39183 if test "$wxUSE_THREADS" = "yes" ; then
39184 if test "$USE_BEOS" = 1; then
39185 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39186 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39187 wxUSE_THREADS="no"
39188 fi
39189 fi
39190
39191 if test "$wxUSE_THREADS" = "yes" ; then
39192
39193
39194 THREAD_OPTS="-pthread"
39195 if test "x$SUNCXX" = xyes; then
39196 THREAD_OPTS="-mt lthread $THREAD_OPTS"
39197 fi
39198
39199 case "${host}" in
39200 *-*-solaris2* | *-*-sunos4* )
39201 if test "x$GCC" = "xyes"; then
39202 THREAD_OPTS="-pthreads $THREAD_OPTS"
39203 fi
39204 ;;
39205 *-*-freebsd*)
39206 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39207 ;;
39208 *-*-darwin* | *-*-cygwin* )
39209 THREAD_OPTS=""
39210 ;;
39211 *-*-aix*)
39212 THREAD_OPTS="pthreads"
39213 ;;
39214 *-hp-hpux* )
39215 if test "x$GCC" = "xyes"; then
39216 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39217 THREAD_OPTS=""
39218 else
39219 THREAD_OPTS="-mt"
39220 fi
39221 ;;
39222
39223 *-*-irix* )
39224 if test "x$GCC" = "xyes"; then
39225 THREAD_OPTS=""
39226 fi
39227 ;;
39228
39229 *-*-*UnixWare*)
39230 if test "x$GCC" != "xyes"; then
39231 THREAD_OPTS="-Ethread"
39232 fi
39233 ;;
39234 esac
39235
39236 THREAD_OPTS="$THREAD_OPTS pthread none"
39237
39238 THREADS_OK=no
39239 for flag in $THREAD_OPTS; do
39240 case $flag in
39241 none)
39242 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39243 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39244 ;;
39245
39246 -*)
39247 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39248 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39249 THREADS_CFLAGS="$flag"
39250 ;;
39251
39252 *)
39253 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39254 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39255 THREADS_LINK="-l$flag"
39256 ;;
39257 esac
39258
39259 save_LIBS="$LIBS"
39260 save_CFLAGS="$CFLAGS"
39261 LIBS="$THREADS_LINK $LIBS"
39262 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39263
39264 cat >conftest.$ac_ext <<_ACEOF
39265 /* confdefs.h. */
39266 _ACEOF
39267 cat confdefs.h >>conftest.$ac_ext
39268 cat >>conftest.$ac_ext <<_ACEOF
39269 /* end confdefs.h. */
39270 #include <pthread.h>
39271 int
39272 main ()
39273 {
39274 pthread_create(0,0,0,0);
39275 ;
39276 return 0;
39277 }
39278 _ACEOF
39279 rm -f conftest.$ac_objext conftest$ac_exeext
39280 if { (ac_try="$ac_link"
39281 case "(($ac_try" in
39282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39283 *) ac_try_echo=$ac_try;;
39284 esac
39285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39286 (eval "$ac_link") 2>conftest.er1
39287 ac_status=$?
39288 grep -v '^ *+' conftest.er1 >conftest.err
39289 rm -f conftest.er1
39290 cat conftest.err >&5
39291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39292 (exit $ac_status); } && {
39293 test -z "$ac_c_werror_flag" ||
39294 test ! -s conftest.err
39295 } && test -s conftest$ac_exeext &&
39296 $as_test_x conftest$ac_exeext; then
39297 THREADS_OK=yes
39298 else
39299 echo "$as_me: failed program was:" >&5
39300 sed 's/^/| /' conftest.$ac_ext >&5
39301
39302
39303 fi
39304
39305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39306 conftest$ac_exeext conftest.$ac_ext
39307
39308 LIBS="$save_LIBS"
39309 CFLAGS="$save_CFLAGS"
39310
39311 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39312 echo "${ECHO_T}$THREADS_OK" >&6; }
39313 if test "x$THREADS_OK" = "xyes"; then
39314 break;
39315 fi
39316
39317 THREADS_LINK=""
39318 THREADS_CFLAGS=""
39319 done
39320
39321 if test "x$THREADS_OK" != "xyes"; then
39322 wxUSE_THREADS=no
39323 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39324 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39325 else
39326 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39327 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
39328 LIBS="$THREADS_LINK $LIBS"
39329
39330 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39331 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39332 flag=no
39333 case "${host}" in
39334 *-aix*)
39335 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39336 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
39337 flag="-D_THREAD_SAFE"
39338 ;;
39339 *-freebsd*)
39340 flag="-D_THREAD_SAFE"
39341 ;;
39342 *-hp-hpux* )
39343 flag="-D_REENTRANT"
39344 if test "x$GCC" != "xyes"; then
39345 flag="$flag -D_RWSTD_MULTI_THREAD"
39346 fi
39347 ;;
39348 *solaris* | alpha*-osf*)
39349 flag="-D_REENTRANT"
39350 ;;
39351 esac
39352 { echo "$as_me:$LINENO: result: ${flag}" >&5
39353 echo "${ECHO_T}${flag}" >&6; }
39354 if test "x$flag" != xno; then
39355 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39356 fi
39357
39358 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39359 fi
39360 fi
39361
39362 if test "$wxUSE_THREADS" = "yes" ; then
39363
39364 for ac_func in thr_setconcurrency
39365 do
39366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39367 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39369 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39370 echo $ECHO_N "(cached) $ECHO_C" >&6
39371 else
39372 cat >conftest.$ac_ext <<_ACEOF
39373 /* confdefs.h. */
39374 _ACEOF
39375 cat confdefs.h >>conftest.$ac_ext
39376 cat >>conftest.$ac_ext <<_ACEOF
39377 /* end confdefs.h. */
39378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39380 #define $ac_func innocuous_$ac_func
39381
39382 /* System header to define __stub macros and hopefully few prototypes,
39383 which can conflict with char $ac_func (); below.
39384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39385 <limits.h> exists even on freestanding compilers. */
39386
39387 #ifdef __STDC__
39388 # include <limits.h>
39389 #else
39390 # include <assert.h>
39391 #endif
39392
39393 #undef $ac_func
39394
39395 /* Override any GCC internal prototype to avoid an error.
39396 Use char because int might match the return type of a GCC
39397 builtin and then its argument prototype would still apply. */
39398 #ifdef __cplusplus
39399 extern "C"
39400 #endif
39401 char $ac_func ();
39402 /* The GNU C library defines this for functions which it implements
39403 to always fail with ENOSYS. Some functions are actually named
39404 something starting with __ and the normal name is an alias. */
39405 #if defined __stub_$ac_func || defined __stub___$ac_func
39406 choke me
39407 #endif
39408
39409 int
39410 main ()
39411 {
39412 return $ac_func ();
39413 ;
39414 return 0;
39415 }
39416 _ACEOF
39417 rm -f conftest.$ac_objext conftest$ac_exeext
39418 if { (ac_try="$ac_link"
39419 case "(($ac_try" in
39420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39421 *) ac_try_echo=$ac_try;;
39422 esac
39423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39424 (eval "$ac_link") 2>conftest.er1
39425 ac_status=$?
39426 grep -v '^ *+' conftest.er1 >conftest.err
39427 rm -f conftest.er1
39428 cat conftest.err >&5
39429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39430 (exit $ac_status); } && {
39431 test -z "$ac_c_werror_flag" ||
39432 test ! -s conftest.err
39433 } && test -s conftest$ac_exeext &&
39434 $as_test_x conftest$ac_exeext; then
39435 eval "$as_ac_var=yes"
39436 else
39437 echo "$as_me: failed program was:" >&5
39438 sed 's/^/| /' conftest.$ac_ext >&5
39439
39440 eval "$as_ac_var=no"
39441 fi
39442
39443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39444 conftest$ac_exeext conftest.$ac_ext
39445 fi
39446 ac_res=`eval echo '${'$as_ac_var'}'`
39447 { echo "$as_me:$LINENO: result: $ac_res" >&5
39448 echo "${ECHO_T}$ac_res" >&6; }
39449 if test `eval echo '${'$as_ac_var'}'` = yes; then
39450 cat >>confdefs.h <<_ACEOF
39451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39452 _ACEOF
39453
39454 fi
39455 done
39456
39457
39458 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39459 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39460 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39461 echo $ECHO_N "(cached) $ECHO_C" >&6
39462 else
39463
39464 ac_ext=cpp
39465 ac_cpp='$CXXCPP $CPPFLAGS'
39466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39469
39470 cat >conftest.$ac_ext <<_ACEOF
39471 /* confdefs.h. */
39472 _ACEOF
39473 cat confdefs.h >>conftest.$ac_ext
39474 cat >>conftest.$ac_ext <<_ACEOF
39475 /* end confdefs.h. */
39476 #include <pthread.h>
39477 void ThreadCleanupFunc(void *p);
39478
39479 int
39480 main ()
39481 {
39482
39483 void *p;
39484 pthread_cleanup_push(ThreadCleanupFunc, p);
39485 pthread_cleanup_pop(0);
39486
39487 ;
39488 return 0;
39489 }
39490 _ACEOF
39491 rm -f conftest.$ac_objext
39492 if { (ac_try="$ac_compile"
39493 case "(($ac_try" in
39494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39495 *) ac_try_echo=$ac_try;;
39496 esac
39497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39498 (eval "$ac_compile") 2>conftest.er1
39499 ac_status=$?
39500 grep -v '^ *+' conftest.er1 >conftest.err
39501 rm -f conftest.er1
39502 cat conftest.err >&5
39503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39504 (exit $ac_status); } && {
39505 test -z "$ac_cxx_werror_flag" ||
39506 test ! -s conftest.err
39507 } && test -s conftest.$ac_objext; then
39508
39509 wx_cv_func_pthread_cleanup=yes
39510
39511 else
39512 echo "$as_me: failed program was:" >&5
39513 sed 's/^/| /' conftest.$ac_ext >&5
39514
39515
39516 wx_cv_func_pthread_cleanup=no
39517
39518
39519 fi
39520
39521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39522 ac_ext=c
39523 ac_cpp='$CPP $CPPFLAGS'
39524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39527
39528
39529 fi
39530 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39531 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39532 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39533 cat >>confdefs.h <<\_ACEOF
39534 #define wxHAVE_PTHREAD_CLEANUP 1
39535 _ACEOF
39536
39537 fi
39538
39539
39540 for ac_header in sched.h
39541 do
39542 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39543 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39546 echo $ECHO_N "(cached) $ECHO_C" >&6
39547 else
39548 cat >conftest.$ac_ext <<_ACEOF
39549 /* confdefs.h. */
39550 _ACEOF
39551 cat confdefs.h >>conftest.$ac_ext
39552 cat >>conftest.$ac_ext <<_ACEOF
39553 /* end confdefs.h. */
39554 $ac_includes_default
39555
39556 #include <$ac_header>
39557 _ACEOF
39558 rm -f conftest.$ac_objext
39559 if { (ac_try="$ac_compile"
39560 case "(($ac_try" in
39561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39562 *) ac_try_echo=$ac_try;;
39563 esac
39564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39565 (eval "$ac_compile") 2>conftest.er1
39566 ac_status=$?
39567 grep -v '^ *+' conftest.er1 >conftest.err
39568 rm -f conftest.er1
39569 cat conftest.err >&5
39570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39571 (exit $ac_status); } && {
39572 test -z "$ac_c_werror_flag" ||
39573 test ! -s conftest.err
39574 } && test -s conftest.$ac_objext; then
39575 eval "$as_ac_Header=yes"
39576 else
39577 echo "$as_me: failed program was:" >&5
39578 sed 's/^/| /' conftest.$ac_ext >&5
39579
39580 eval "$as_ac_Header=no"
39581 fi
39582
39583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39584 fi
39585 ac_res=`eval echo '${'$as_ac_Header'}'`
39586 { echo "$as_me:$LINENO: result: $ac_res" >&5
39587 echo "${ECHO_T}$ac_res" >&6; }
39588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39589 cat >>confdefs.h <<_ACEOF
39590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39591 _ACEOF
39592
39593 fi
39594
39595 done
39596
39597 if test "$ac_cv_header_sched_h" = "yes"; then
39598 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39599 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39600 if test "${ac_cv_func_sched_yield+set}" = set; then
39601 echo $ECHO_N "(cached) $ECHO_C" >&6
39602 else
39603 cat >conftest.$ac_ext <<_ACEOF
39604 /* confdefs.h. */
39605 _ACEOF
39606 cat confdefs.h >>conftest.$ac_ext
39607 cat >>conftest.$ac_ext <<_ACEOF
39608 /* end confdefs.h. */
39609 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39611 #define sched_yield innocuous_sched_yield
39612
39613 /* System header to define __stub macros and hopefully few prototypes,
39614 which can conflict with char sched_yield (); below.
39615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39616 <limits.h> exists even on freestanding compilers. */
39617
39618 #ifdef __STDC__
39619 # include <limits.h>
39620 #else
39621 # include <assert.h>
39622 #endif
39623
39624 #undef sched_yield
39625
39626 /* Override any GCC internal prototype to avoid an error.
39627 Use char because int might match the return type of a GCC
39628 builtin and then its argument prototype would still apply. */
39629 #ifdef __cplusplus
39630 extern "C"
39631 #endif
39632 char sched_yield ();
39633 /* The GNU C library defines this for functions which it implements
39634 to always fail with ENOSYS. Some functions are actually named
39635 something starting with __ and the normal name is an alias. */
39636 #if defined __stub_sched_yield || defined __stub___sched_yield
39637 choke me
39638 #endif
39639
39640 int
39641 main ()
39642 {
39643 return sched_yield ();
39644 ;
39645 return 0;
39646 }
39647 _ACEOF
39648 rm -f conftest.$ac_objext conftest$ac_exeext
39649 if { (ac_try="$ac_link"
39650 case "(($ac_try" in
39651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39652 *) ac_try_echo=$ac_try;;
39653 esac
39654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39655 (eval "$ac_link") 2>conftest.er1
39656 ac_status=$?
39657 grep -v '^ *+' conftest.er1 >conftest.err
39658 rm -f conftest.er1
39659 cat conftest.err >&5
39660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39661 (exit $ac_status); } && {
39662 test -z "$ac_c_werror_flag" ||
39663 test ! -s conftest.err
39664 } && test -s conftest$ac_exeext &&
39665 $as_test_x conftest$ac_exeext; then
39666 ac_cv_func_sched_yield=yes
39667 else
39668 echo "$as_me: failed program was:" >&5
39669 sed 's/^/| /' conftest.$ac_ext >&5
39670
39671 ac_cv_func_sched_yield=no
39672 fi
39673
39674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39675 conftest$ac_exeext conftest.$ac_ext
39676 fi
39677 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39678 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39679 if test $ac_cv_func_sched_yield = yes; then
39680 cat >>confdefs.h <<\_ACEOF
39681 #define HAVE_SCHED_YIELD 1
39682 _ACEOF
39683
39684 else
39685
39686 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39687 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39688 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39689 echo $ECHO_N "(cached) $ECHO_C" >&6
39690 else
39691 ac_check_lib_save_LIBS=$LIBS
39692 LIBS="-lposix4 $LIBS"
39693 cat >conftest.$ac_ext <<_ACEOF
39694 /* confdefs.h. */
39695 _ACEOF
39696 cat confdefs.h >>conftest.$ac_ext
39697 cat >>conftest.$ac_ext <<_ACEOF
39698 /* end confdefs.h. */
39699
39700 /* Override any GCC internal prototype to avoid an error.
39701 Use char because int might match the return type of a GCC
39702 builtin and then its argument prototype would still apply. */
39703 #ifdef __cplusplus
39704 extern "C"
39705 #endif
39706 char sched_yield ();
39707 int
39708 main ()
39709 {
39710 return sched_yield ();
39711 ;
39712 return 0;
39713 }
39714 _ACEOF
39715 rm -f conftest.$ac_objext conftest$ac_exeext
39716 if { (ac_try="$ac_link"
39717 case "(($ac_try" in
39718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39719 *) ac_try_echo=$ac_try;;
39720 esac
39721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39722 (eval "$ac_link") 2>conftest.er1
39723 ac_status=$?
39724 grep -v '^ *+' conftest.er1 >conftest.err
39725 rm -f conftest.er1
39726 cat conftest.err >&5
39727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39728 (exit $ac_status); } && {
39729 test -z "$ac_c_werror_flag" ||
39730 test ! -s conftest.err
39731 } && test -s conftest$ac_exeext &&
39732 $as_test_x conftest$ac_exeext; then
39733 ac_cv_lib_posix4_sched_yield=yes
39734 else
39735 echo "$as_me: failed program was:" >&5
39736 sed 's/^/| /' conftest.$ac_ext >&5
39737
39738 ac_cv_lib_posix4_sched_yield=no
39739 fi
39740
39741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39742 conftest$ac_exeext conftest.$ac_ext
39743 LIBS=$ac_check_lib_save_LIBS
39744 fi
39745 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39746 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39747 if test $ac_cv_lib_posix4_sched_yield = yes; then
39748 cat >>confdefs.h <<\_ACEOF
39749 #define HAVE_SCHED_YIELD 1
39750 _ACEOF
39751 POSIX4_LINK=" -lposix4"
39752 else
39753 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39754 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39755
39756 fi
39757
39758
39759
39760 fi
39761
39762 fi
39763
39764 HAVE_PRIOR_FUNCS=0
39765 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39766 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39767 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39768 echo $ECHO_N "(cached) $ECHO_C" >&6
39769 else
39770 cat >conftest.$ac_ext <<_ACEOF
39771 /* confdefs.h. */
39772 _ACEOF
39773 cat confdefs.h >>conftest.$ac_ext
39774 cat >>conftest.$ac_ext <<_ACEOF
39775 /* end confdefs.h. */
39776 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39778 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39779
39780 /* System header to define __stub macros and hopefully few prototypes,
39781 which can conflict with char pthread_attr_getschedpolicy (); below.
39782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39783 <limits.h> exists even on freestanding compilers. */
39784
39785 #ifdef __STDC__
39786 # include <limits.h>
39787 #else
39788 # include <assert.h>
39789 #endif
39790
39791 #undef pthread_attr_getschedpolicy
39792
39793 /* Override any GCC internal prototype to avoid an error.
39794 Use char because int might match the return type of a GCC
39795 builtin and then its argument prototype would still apply. */
39796 #ifdef __cplusplus
39797 extern "C"
39798 #endif
39799 char pthread_attr_getschedpolicy ();
39800 /* The GNU C library defines this for functions which it implements
39801 to always fail with ENOSYS. Some functions are actually named
39802 something starting with __ and the normal name is an alias. */
39803 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39804 choke me
39805 #endif
39806
39807 int
39808 main ()
39809 {
39810 return pthread_attr_getschedpolicy ();
39811 ;
39812 return 0;
39813 }
39814 _ACEOF
39815 rm -f conftest.$ac_objext conftest$ac_exeext
39816 if { (ac_try="$ac_link"
39817 case "(($ac_try" in
39818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39819 *) ac_try_echo=$ac_try;;
39820 esac
39821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39822 (eval "$ac_link") 2>conftest.er1
39823 ac_status=$?
39824 grep -v '^ *+' conftest.er1 >conftest.err
39825 rm -f conftest.er1
39826 cat conftest.err >&5
39827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39828 (exit $ac_status); } && {
39829 test -z "$ac_c_werror_flag" ||
39830 test ! -s conftest.err
39831 } && test -s conftest$ac_exeext &&
39832 $as_test_x conftest$ac_exeext; then
39833 ac_cv_func_pthread_attr_getschedpolicy=yes
39834 else
39835 echo "$as_me: failed program was:" >&5
39836 sed 's/^/| /' conftest.$ac_ext >&5
39837
39838 ac_cv_func_pthread_attr_getschedpolicy=no
39839 fi
39840
39841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39842 conftest$ac_exeext conftest.$ac_ext
39843 fi
39844 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39845 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39846 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39847 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39848 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39849 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39850 echo $ECHO_N "(cached) $ECHO_C" >&6
39851 else
39852 cat >conftest.$ac_ext <<_ACEOF
39853 /* confdefs.h. */
39854 _ACEOF
39855 cat confdefs.h >>conftest.$ac_ext
39856 cat >>conftest.$ac_ext <<_ACEOF
39857 /* end confdefs.h. */
39858 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39860 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39861
39862 /* System header to define __stub macros and hopefully few prototypes,
39863 which can conflict with char pthread_attr_setschedparam (); below.
39864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39865 <limits.h> exists even on freestanding compilers. */
39866
39867 #ifdef __STDC__
39868 # include <limits.h>
39869 #else
39870 # include <assert.h>
39871 #endif
39872
39873 #undef pthread_attr_setschedparam
39874
39875 /* Override any GCC internal prototype to avoid an error.
39876 Use char because int might match the return type of a GCC
39877 builtin and then its argument prototype would still apply. */
39878 #ifdef __cplusplus
39879 extern "C"
39880 #endif
39881 char pthread_attr_setschedparam ();
39882 /* The GNU C library defines this for functions which it implements
39883 to always fail with ENOSYS. Some functions are actually named
39884 something starting with __ and the normal name is an alias. */
39885 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39886 choke me
39887 #endif
39888
39889 int
39890 main ()
39891 {
39892 return pthread_attr_setschedparam ();
39893 ;
39894 return 0;
39895 }
39896 _ACEOF
39897 rm -f conftest.$ac_objext conftest$ac_exeext
39898 if { (ac_try="$ac_link"
39899 case "(($ac_try" in
39900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39901 *) ac_try_echo=$ac_try;;
39902 esac
39903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39904 (eval "$ac_link") 2>conftest.er1
39905 ac_status=$?
39906 grep -v '^ *+' conftest.er1 >conftest.err
39907 rm -f conftest.er1
39908 cat conftest.err >&5
39909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39910 (exit $ac_status); } && {
39911 test -z "$ac_c_werror_flag" ||
39912 test ! -s conftest.err
39913 } && test -s conftest$ac_exeext &&
39914 $as_test_x conftest$ac_exeext; then
39915 ac_cv_func_pthread_attr_setschedparam=yes
39916 else
39917 echo "$as_me: failed program was:" >&5
39918 sed 's/^/| /' conftest.$ac_ext >&5
39919
39920 ac_cv_func_pthread_attr_setschedparam=no
39921 fi
39922
39923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39924 conftest$ac_exeext conftest.$ac_ext
39925 fi
39926 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39927 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39928 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39929 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39930 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39931 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39932 echo $ECHO_N "(cached) $ECHO_C" >&6
39933 else
39934 cat >conftest.$ac_ext <<_ACEOF
39935 /* confdefs.h. */
39936 _ACEOF
39937 cat confdefs.h >>conftest.$ac_ext
39938 cat >>conftest.$ac_ext <<_ACEOF
39939 /* end confdefs.h. */
39940 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39942 #define sched_get_priority_max innocuous_sched_get_priority_max
39943
39944 /* System header to define __stub macros and hopefully few prototypes,
39945 which can conflict with char sched_get_priority_max (); below.
39946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39947 <limits.h> exists even on freestanding compilers. */
39948
39949 #ifdef __STDC__
39950 # include <limits.h>
39951 #else
39952 # include <assert.h>
39953 #endif
39954
39955 #undef sched_get_priority_max
39956
39957 /* Override any GCC internal prototype to avoid an error.
39958 Use char because int might match the return type of a GCC
39959 builtin and then its argument prototype would still apply. */
39960 #ifdef __cplusplus
39961 extern "C"
39962 #endif
39963 char sched_get_priority_max ();
39964 /* The GNU C library defines this for functions which it implements
39965 to always fail with ENOSYS. Some functions are actually named
39966 something starting with __ and the normal name is an alias. */
39967 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39968 choke me
39969 #endif
39970
39971 int
39972 main ()
39973 {
39974 return sched_get_priority_max ();
39975 ;
39976 return 0;
39977 }
39978 _ACEOF
39979 rm -f conftest.$ac_objext conftest$ac_exeext
39980 if { (ac_try="$ac_link"
39981 case "(($ac_try" in
39982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39983 *) ac_try_echo=$ac_try;;
39984 esac
39985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39986 (eval "$ac_link") 2>conftest.er1
39987 ac_status=$?
39988 grep -v '^ *+' conftest.er1 >conftest.err
39989 rm -f conftest.er1
39990 cat conftest.err >&5
39991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39992 (exit $ac_status); } && {
39993 test -z "$ac_c_werror_flag" ||
39994 test ! -s conftest.err
39995 } && test -s conftest$ac_exeext &&
39996 $as_test_x conftest$ac_exeext; then
39997 ac_cv_func_sched_get_priority_max=yes
39998 else
39999 echo "$as_me: failed program was:" >&5
40000 sed 's/^/| /' conftest.$ac_ext >&5
40001
40002 ac_cv_func_sched_get_priority_max=no
40003 fi
40004
40005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40006 conftest$ac_exeext conftest.$ac_ext
40007 fi
40008 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40009 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40010 if test $ac_cv_func_sched_get_priority_max = yes; then
40011 HAVE_PRIOR_FUNCS=1
40012 else
40013 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40014 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40015 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40016 echo $ECHO_N "(cached) $ECHO_C" >&6
40017 else
40018 ac_check_lib_save_LIBS=$LIBS
40019 LIBS="-lposix4 $LIBS"
40020 cat >conftest.$ac_ext <<_ACEOF
40021 /* confdefs.h. */
40022 _ACEOF
40023 cat confdefs.h >>conftest.$ac_ext
40024 cat >>conftest.$ac_ext <<_ACEOF
40025 /* end confdefs.h. */
40026
40027 /* Override any GCC internal prototype to avoid an error.
40028 Use char because int might match the return type of a GCC
40029 builtin and then its argument prototype would still apply. */
40030 #ifdef __cplusplus
40031 extern "C"
40032 #endif
40033 char sched_get_priority_max ();
40034 int
40035 main ()
40036 {
40037 return sched_get_priority_max ();
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_lib_posix4_sched_get_priority_max=yes
40061 else
40062 echo "$as_me: failed program was:" >&5
40063 sed 's/^/| /' conftest.$ac_ext >&5
40064
40065 ac_cv_lib_posix4_sched_get_priority_max=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 LIBS=$ac_check_lib_save_LIBS
40071 fi
40072 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40073 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40074 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40075
40076 HAVE_PRIOR_FUNCS=1
40077 POSIX4_LINK=" -lposix4"
40078
40079 fi
40080
40081
40082 fi
40083
40084
40085 fi
40086
40087
40088 fi
40089
40090
40091 if test "$HAVE_PRIOR_FUNCS" = 1; then
40092 cat >>confdefs.h <<\_ACEOF
40093 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40094 _ACEOF
40095
40096 else
40097 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40098 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40099 fi
40100
40101 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40102 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40103 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40104 echo $ECHO_N "(cached) $ECHO_C" >&6
40105 else
40106 cat >conftest.$ac_ext <<_ACEOF
40107 /* confdefs.h. */
40108 _ACEOF
40109 cat confdefs.h >>conftest.$ac_ext
40110 cat >>conftest.$ac_ext <<_ACEOF
40111 /* end confdefs.h. */
40112 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40114 #define pthread_cancel innocuous_pthread_cancel
40115
40116 /* System header to define __stub macros and hopefully few prototypes,
40117 which can conflict with char pthread_cancel (); below.
40118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40119 <limits.h> exists even on freestanding compilers. */
40120
40121 #ifdef __STDC__
40122 # include <limits.h>
40123 #else
40124 # include <assert.h>
40125 #endif
40126
40127 #undef pthread_cancel
40128
40129 /* Override any GCC internal prototype to avoid an error.
40130 Use char because int might match the return type of a GCC
40131 builtin and then its argument prototype would still apply. */
40132 #ifdef __cplusplus
40133 extern "C"
40134 #endif
40135 char pthread_cancel ();
40136 /* The GNU C library defines this for functions which it implements
40137 to always fail with ENOSYS. Some functions are actually named
40138 something starting with __ and the normal name is an alias. */
40139 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40140 choke me
40141 #endif
40142
40143 int
40144 main ()
40145 {
40146 return pthread_cancel ();
40147 ;
40148 return 0;
40149 }
40150 _ACEOF
40151 rm -f conftest.$ac_objext conftest$ac_exeext
40152 if { (ac_try="$ac_link"
40153 case "(($ac_try" in
40154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40155 *) ac_try_echo=$ac_try;;
40156 esac
40157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40158 (eval "$ac_link") 2>conftest.er1
40159 ac_status=$?
40160 grep -v '^ *+' conftest.er1 >conftest.err
40161 rm -f conftest.er1
40162 cat conftest.err >&5
40163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40164 (exit $ac_status); } && {
40165 test -z "$ac_c_werror_flag" ||
40166 test ! -s conftest.err
40167 } && test -s conftest$ac_exeext &&
40168 $as_test_x conftest$ac_exeext; then
40169 ac_cv_func_pthread_cancel=yes
40170 else
40171 echo "$as_me: failed program was:" >&5
40172 sed 's/^/| /' conftest.$ac_ext >&5
40173
40174 ac_cv_func_pthread_cancel=no
40175 fi
40176
40177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40178 conftest$ac_exeext conftest.$ac_ext
40179 fi
40180 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40181 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40182 if test $ac_cv_func_pthread_cancel = yes; then
40183 cat >>confdefs.h <<\_ACEOF
40184 #define HAVE_PTHREAD_CANCEL 1
40185 _ACEOF
40186
40187 else
40188 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40189 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40190 fi
40191
40192
40193 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40194 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40195 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40196 echo $ECHO_N "(cached) $ECHO_C" >&6
40197 else
40198 cat >conftest.$ac_ext <<_ACEOF
40199 /* confdefs.h. */
40200 _ACEOF
40201 cat confdefs.h >>conftest.$ac_ext
40202 cat >>conftest.$ac_ext <<_ACEOF
40203 /* end confdefs.h. */
40204 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40206 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40207
40208 /* System header to define __stub macros and hopefully few prototypes,
40209 which can conflict with char pthread_mutex_timedlock (); below.
40210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40211 <limits.h> exists even on freestanding compilers. */
40212
40213 #ifdef __STDC__
40214 # include <limits.h>
40215 #else
40216 # include <assert.h>
40217 #endif
40218
40219 #undef pthread_mutex_timedlock
40220
40221 /* Override any GCC internal prototype to avoid an error.
40222 Use char because int might match the return type of a GCC
40223 builtin and then its argument prototype would still apply. */
40224 #ifdef __cplusplus
40225 extern "C"
40226 #endif
40227 char pthread_mutex_timedlock ();
40228 /* The GNU C library defines this for functions which it implements
40229 to always fail with ENOSYS. Some functions are actually named
40230 something starting with __ and the normal name is an alias. */
40231 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40232 choke me
40233 #endif
40234
40235 int
40236 main ()
40237 {
40238 return pthread_mutex_timedlock ();
40239 ;
40240 return 0;
40241 }
40242 _ACEOF
40243 rm -f conftest.$ac_objext conftest$ac_exeext
40244 if { (ac_try="$ac_link"
40245 case "(($ac_try" in
40246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40247 *) ac_try_echo=$ac_try;;
40248 esac
40249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40250 (eval "$ac_link") 2>conftest.er1
40251 ac_status=$?
40252 grep -v '^ *+' conftest.er1 >conftest.err
40253 rm -f conftest.er1
40254 cat conftest.err >&5
40255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40256 (exit $ac_status); } && {
40257 test -z "$ac_c_werror_flag" ||
40258 test ! -s conftest.err
40259 } && test -s conftest$ac_exeext &&
40260 $as_test_x conftest$ac_exeext; then
40261 ac_cv_func_pthread_mutex_timedlock=yes
40262 else
40263 echo "$as_me: failed program was:" >&5
40264 sed 's/^/| /' conftest.$ac_ext >&5
40265
40266 ac_cv_func_pthread_mutex_timedlock=no
40267 fi
40268
40269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40270 conftest$ac_exeext conftest.$ac_ext
40271 fi
40272 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40273 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40274 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40275 cat >>confdefs.h <<\_ACEOF
40276 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40277 _ACEOF
40278
40279 else
40280 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40281 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40282 fi
40283
40284
40285 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40286 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40287 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40288 echo $ECHO_N "(cached) $ECHO_C" >&6
40289 else
40290 cat >conftest.$ac_ext <<_ACEOF
40291 /* confdefs.h. */
40292 _ACEOF
40293 cat confdefs.h >>conftest.$ac_ext
40294 cat >>conftest.$ac_ext <<_ACEOF
40295 /* end confdefs.h. */
40296 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40298 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40299
40300 /* System header to define __stub macros and hopefully few prototypes,
40301 which can conflict with char pthread_attr_setstacksize (); below.
40302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40303 <limits.h> exists even on freestanding compilers. */
40304
40305 #ifdef __STDC__
40306 # include <limits.h>
40307 #else
40308 # include <assert.h>
40309 #endif
40310
40311 #undef pthread_attr_setstacksize
40312
40313 /* Override any GCC internal prototype to avoid an error.
40314 Use char because int might match the return type of a GCC
40315 builtin and then its argument prototype would still apply. */
40316 #ifdef __cplusplus
40317 extern "C"
40318 #endif
40319 char pthread_attr_setstacksize ();
40320 /* The GNU C library defines this for functions which it implements
40321 to always fail with ENOSYS. Some functions are actually named
40322 something starting with __ and the normal name is an alias. */
40323 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40324 choke me
40325 #endif
40326
40327 int
40328 main ()
40329 {
40330 return pthread_attr_setstacksize ();
40331 ;
40332 return 0;
40333 }
40334 _ACEOF
40335 rm -f conftest.$ac_objext conftest$ac_exeext
40336 if { (ac_try="$ac_link"
40337 case "(($ac_try" in
40338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40339 *) ac_try_echo=$ac_try;;
40340 esac
40341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40342 (eval "$ac_link") 2>conftest.er1
40343 ac_status=$?
40344 grep -v '^ *+' conftest.er1 >conftest.err
40345 rm -f conftest.er1
40346 cat conftest.err >&5
40347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40348 (exit $ac_status); } && {
40349 test -z "$ac_c_werror_flag" ||
40350 test ! -s conftest.err
40351 } && test -s conftest$ac_exeext &&
40352 $as_test_x conftest$ac_exeext; then
40353 ac_cv_func_pthread_attr_setstacksize=yes
40354 else
40355 echo "$as_me: failed program was:" >&5
40356 sed 's/^/| /' conftest.$ac_ext >&5
40357
40358 ac_cv_func_pthread_attr_setstacksize=no
40359 fi
40360
40361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40362 conftest$ac_exeext conftest.$ac_ext
40363 fi
40364 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40365 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40366 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40367 cat >>confdefs.h <<\_ACEOF
40368 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40369 _ACEOF
40370
40371 fi
40372
40373
40374
40375 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40376 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40377 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40378 echo $ECHO_N "(cached) $ECHO_C" >&6
40379 else
40380
40381 cat >conftest.$ac_ext <<_ACEOF
40382 /* confdefs.h. */
40383 _ACEOF
40384 cat confdefs.h >>conftest.$ac_ext
40385 cat >>conftest.$ac_ext <<_ACEOF
40386 /* end confdefs.h. */
40387 #include <pthread.h>
40388 int
40389 main ()
40390 {
40391
40392 pthread_mutexattr_t attr;
40393 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40394
40395 ;
40396 return 0;
40397 }
40398 _ACEOF
40399 rm -f conftest.$ac_objext
40400 if { (ac_try="$ac_compile"
40401 case "(($ac_try" in
40402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40403 *) ac_try_echo=$ac_try;;
40404 esac
40405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40406 (eval "$ac_compile") 2>conftest.er1
40407 ac_status=$?
40408 grep -v '^ *+' conftest.er1 >conftest.err
40409 rm -f conftest.er1
40410 cat conftest.err >&5
40411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40412 (exit $ac_status); } && {
40413 test -z "$ac_c_werror_flag" ||
40414 test ! -s conftest.err
40415 } && test -s conftest.$ac_objext; then
40416 wx_cv_type_pthread_mutexattr_t=yes
40417 else
40418 echo "$as_me: failed program was:" >&5
40419 sed 's/^/| /' conftest.$ac_ext >&5
40420
40421 wx_cv_type_pthread_mutexattr_t=no
40422
40423 fi
40424
40425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40426
40427 fi
40428 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40429 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40430
40431 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40432 cat >>confdefs.h <<\_ACEOF
40433 #define HAVE_PTHREAD_MUTEXATTR_T 1
40434 _ACEOF
40435
40436
40437 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40438 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40439 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40440 echo $ECHO_N "(cached) $ECHO_C" >&6
40441 else
40442
40443 cat >conftest.$ac_ext <<_ACEOF
40444 /* confdefs.h. */
40445 _ACEOF
40446 cat confdefs.h >>conftest.$ac_ext
40447 cat >>conftest.$ac_ext <<_ACEOF
40448 /* end confdefs.h. */
40449 #include <pthread.h>
40450 int
40451 main ()
40452 {
40453
40454 pthread_mutexattr_t attr;
40455 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40456
40457 ;
40458 return 0;
40459 }
40460 _ACEOF
40461 rm -f conftest.$ac_objext
40462 if { (ac_try="$ac_compile"
40463 case "(($ac_try" in
40464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40465 *) ac_try_echo=$ac_try;;
40466 esac
40467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40468 (eval "$ac_compile") 2>conftest.er1
40469 ac_status=$?
40470 grep -v '^ *+' conftest.er1 >conftest.err
40471 rm -f conftest.er1
40472 cat conftest.err >&5
40473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40474 (exit $ac_status); } && {
40475 test -z "$ac_c_werror_flag" ||
40476 test ! -s conftest.err
40477 } && test -s conftest.$ac_objext; then
40478 wx_cv_func_pthread_mutexattr_settype_decl=yes
40479 else
40480 echo "$as_me: failed program was:" >&5
40481 sed 's/^/| /' conftest.$ac_ext >&5
40482
40483 wx_cv_func_pthread_mutexattr_settype_decl=no
40484
40485 fi
40486
40487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40488
40489 fi
40490 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40491 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40492 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40493 cat >>confdefs.h <<\_ACEOF
40494 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40495 _ACEOF
40496
40497 fi
40498 else
40499 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40500 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40501 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40502 echo $ECHO_N "(cached) $ECHO_C" >&6
40503 else
40504
40505 cat >conftest.$ac_ext <<_ACEOF
40506 /* confdefs.h. */
40507 _ACEOF
40508 cat confdefs.h >>conftest.$ac_ext
40509 cat >>conftest.$ac_ext <<_ACEOF
40510 /* end confdefs.h. */
40511 #include <pthread.h>
40512 int
40513 main ()
40514 {
40515
40516 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40517
40518 ;
40519 return 0;
40520 }
40521 _ACEOF
40522 rm -f conftest.$ac_objext
40523 if { (ac_try="$ac_compile"
40524 case "(($ac_try" in
40525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40526 *) ac_try_echo=$ac_try;;
40527 esac
40528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40529 (eval "$ac_compile") 2>conftest.er1
40530 ac_status=$?
40531 grep -v '^ *+' conftest.er1 >conftest.err
40532 rm -f conftest.er1
40533 cat conftest.err >&5
40534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40535 (exit $ac_status); } && {
40536 test -z "$ac_c_werror_flag" ||
40537 test ! -s conftest.err
40538 } && test -s conftest.$ac_objext; then
40539
40540 wx_cv_type_pthread_rec_mutex_init=yes
40541
40542 else
40543 echo "$as_me: failed program was:" >&5
40544 sed 's/^/| /' conftest.$ac_ext >&5
40545
40546
40547 wx_cv_type_pthread_rec_mutex_init=no
40548
40549
40550 fi
40551
40552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40553
40554 fi
40555 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40556 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40557 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40558 cat >>confdefs.h <<\_ACEOF
40559 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40560 _ACEOF
40561
40562 else
40563 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40564 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40565 fi
40566 fi
40567
40568 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40569 if test "$USE_NETBSD" = 1; then
40570 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40571 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40572 wxUSE_COMPILER_TLS=no
40573 else
40574 wxUSE_COMPILER_TLS=yes
40575 fi
40576 fi
40577
40578 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40579 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40580 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40581 if test "${wx_cv_cc___thread+set}" = set; then
40582 echo $ECHO_N "(cached) $ECHO_C" >&6
40583 else
40584
40585 cat >conftest.$ac_ext <<_ACEOF
40586 /* confdefs.h. */
40587 _ACEOF
40588 cat confdefs.h >>conftest.$ac_ext
40589 cat >>conftest.$ac_ext <<_ACEOF
40590 /* end confdefs.h. */
40591 #include <pthread.h>
40592 int
40593 main ()
40594 {
40595
40596 static __thread int n = 0;
40597 static __thread int *p = 0;
40598
40599 ;
40600 return 0;
40601 }
40602 _ACEOF
40603 rm -f conftest.$ac_objext
40604 if { (ac_try="$ac_compile"
40605 case "(($ac_try" in
40606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40607 *) ac_try_echo=$ac_try;;
40608 esac
40609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40610 (eval "$ac_compile") 2>conftest.er1
40611 ac_status=$?
40612 grep -v '^ *+' conftest.er1 >conftest.err
40613 rm -f conftest.er1
40614 cat conftest.err >&5
40615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40616 (exit $ac_status); } && {
40617 test -z "$ac_c_werror_flag" ||
40618 test ! -s conftest.err
40619 } && test -s conftest.$ac_objext; then
40620 wx_cv_cc___thread=yes
40621 else
40622 echo "$as_me: failed program was:" >&5
40623 sed 's/^/| /' conftest.$ac_ext >&5
40624
40625 wx_cv_cc___thread=no
40626
40627 fi
40628
40629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40630
40631
40632 fi
40633 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40634 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40635
40636 if test "$wx_cv_cc___thread" = "yes"; then
40637
40638 GXX_VERSION=""
40639
40640
40641
40642 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40643 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40644
40645 if test "x$GCC" = "xyes" ; then
40646
40647 if test -z "" ; then
40648
40649 ax_gcc_option_test="int main()
40650 {
40651 return 0;
40652 }"
40653
40654 else
40655
40656 ax_gcc_option_test=""
40657
40658 fi
40659
40660
40661 # Dump the test program to file
40662 cat <<EOF > conftest.c
40663 $ax_gcc_option_test
40664 EOF
40665
40666 # Dump back the file to the log, useful for debugging purposes
40667 { ac_try='cat conftest.c 1>&5'
40668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40669 (eval $ac_try) 2>&5
40670 ac_status=$?
40671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40672 (exit $ac_status); }; }
40673
40674 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40676 (eval $ac_try) 2>&5
40677 ac_status=$?
40678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40679 (exit $ac_status); }; } ; then
40680
40681 { echo "$as_me:$LINENO: result: yes" >&5
40682 echo "${ECHO_T}yes" >&6; }
40683
40684 ax_gcc_version_option=yes
40685
40686
40687 else
40688
40689 { echo "$as_me:$LINENO: result: no" >&5
40690 echo "${ECHO_T}no" >&6; }
40691
40692 ax_gcc_version_option=no
40693
40694
40695 fi
40696
40697
40698 else
40699
40700 { echo "$as_me:$LINENO: result: no gcc available" >&5
40701 echo "${ECHO_T}no gcc available" >&6; }
40702
40703 fi
40704
40705
40706 if test "x$GXX" = "xyes"; then
40707
40708 if test "x$ax_gxx_version_option" != "no"; then
40709
40710 { echo "$as_me:$LINENO: checking gxx version" >&5
40711 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40712 if test "${ax_cv_gxx_version+set}" = set; then
40713 echo $ECHO_N "(cached) $ECHO_C" >&6
40714 else
40715
40716 ax_cv_gxx_version="`$CXX -dumpversion`"
40717 if test "x$ax_cv_gxx_version" = "x"; then
40718
40719 ax_cv_gxx_version=""
40720
40721 fi
40722
40723
40724 fi
40725 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40726 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40727 GXX_VERSION=$ax_cv_gxx_version
40728
40729 fi
40730
40731
40732 fi
40733
40734
40735
40736 if test -n "$ax_cv_gxx_version"; then
40737 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40738 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40739 case "$ax_cv_gxx_version" in
40740 1.* | 2.* | 3.* )
40741 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40742 echo "${ECHO_T}no, it's broken" >&6; }
40743 wx_cv_cc___thread=no
40744 ;;
40745 *)
40746 { echo "$as_me:$LINENO: result: yes, it works" >&5
40747 echo "${ECHO_T}yes, it works" >&6; }
40748 ;;
40749 esac
40750 fi
40751 fi
40752
40753 if test "$wx_cv_cc___thread" = "yes"; then
40754 cat >>confdefs.h <<\_ACEOF
40755 #define HAVE___THREAD_KEYWORD 1
40756 _ACEOF
40757
40758 fi
40759 fi
40760 fi
40761
40762 else
40763 if test "$wxUSE_THREADS" = "yes" ; then
40764 case "${host}" in
40765 x86_64-*-mingw32* )
40766 ;;
40767 *-*-mingw32* )
40768 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40769 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40770 if test "${wx_cv_cflags_mthread+set}" = set; then
40771 echo $ECHO_N "(cached) $ECHO_C" >&6
40772 else
40773
40774 CFLAGS_OLD="$CFLAGS"
40775 CFLAGS="-mthreads $CFLAGS"
40776 cat >conftest.$ac_ext <<_ACEOF
40777 /* confdefs.h. */
40778 _ACEOF
40779 cat confdefs.h >>conftest.$ac_ext
40780 cat >>conftest.$ac_ext <<_ACEOF
40781 /* end confdefs.h. */
40782
40783 int
40784 main ()
40785 {
40786
40787 ;
40788 return 0;
40789 }
40790 _ACEOF
40791 rm -f conftest.$ac_objext
40792 if { (ac_try="$ac_compile"
40793 case "(($ac_try" in
40794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40795 *) ac_try_echo=$ac_try;;
40796 esac
40797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40798 (eval "$ac_compile") 2>conftest.er1
40799 ac_status=$?
40800 grep -v '^ *+' conftest.er1 >conftest.err
40801 rm -f conftest.er1
40802 cat conftest.err >&5
40803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40804 (exit $ac_status); } && {
40805 test -z "$ac_c_werror_flag" ||
40806 test ! -s conftest.err
40807 } && test -s conftest.$ac_objext; then
40808 wx_cv_cflags_mthread=yes
40809 else
40810 echo "$as_me: failed program was:" >&5
40811 sed 's/^/| /' conftest.$ac_ext >&5
40812
40813 wx_cv_cflags_mthread=no
40814
40815 fi
40816
40817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40818
40819
40820 fi
40821 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40822 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40823
40824 if test "$wx_cv_cflags_mthread" = "yes"; then
40825 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40826 LDFLAGS="$LDFLAGS -mthreads"
40827 else
40828 CFLAGS="$CFLAGS_OLD"
40829 fi
40830 ;;
40831 *-pc-os2*emx )
40832 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40833 LDFLAGS="$LDFLAGS -Zmt"
40834 ;;
40835 esac
40836 fi
40837 fi
40838
40839 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40840 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40841 if test "${ac_cv_func_localtime_r+set}" = set; then
40842 echo $ECHO_N "(cached) $ECHO_C" >&6
40843 else
40844 cat >conftest.$ac_ext <<_ACEOF
40845 /* confdefs.h. */
40846 _ACEOF
40847 cat confdefs.h >>conftest.$ac_ext
40848 cat >>conftest.$ac_ext <<_ACEOF
40849 /* end confdefs.h. */
40850 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40852 #define localtime_r innocuous_localtime_r
40853
40854 /* System header to define __stub macros and hopefully few prototypes,
40855 which can conflict with char localtime_r (); below.
40856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40857 <limits.h> exists even on freestanding compilers. */
40858
40859 #ifdef __STDC__
40860 # include <limits.h>
40861 #else
40862 # include <assert.h>
40863 #endif
40864
40865 #undef localtime_r
40866
40867 /* Override any GCC internal prototype to avoid an error.
40868 Use char because int might match the return type of a GCC
40869 builtin and then its argument prototype would still apply. */
40870 #ifdef __cplusplus
40871 extern "C"
40872 #endif
40873 char localtime_r ();
40874 /* The GNU C library defines this for functions which it implements
40875 to always fail with ENOSYS. Some functions are actually named
40876 something starting with __ and the normal name is an alias. */
40877 #if defined __stub_localtime_r || defined __stub___localtime_r
40878 choke me
40879 #endif
40880
40881 int
40882 main ()
40883 {
40884 return localtime_r ();
40885 ;
40886 return 0;
40887 }
40888 _ACEOF
40889 rm -f conftest.$ac_objext conftest$ac_exeext
40890 if { (ac_try="$ac_link"
40891 case "(($ac_try" in
40892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40893 *) ac_try_echo=$ac_try;;
40894 esac
40895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40896 (eval "$ac_link") 2>conftest.er1
40897 ac_status=$?
40898 grep -v '^ *+' conftest.er1 >conftest.err
40899 rm -f conftest.er1
40900 cat conftest.err >&5
40901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40902 (exit $ac_status); } && {
40903 test -z "$ac_c_werror_flag" ||
40904 test ! -s conftest.err
40905 } && test -s conftest$ac_exeext &&
40906 $as_test_x conftest$ac_exeext; then
40907 ac_cv_func_localtime_r=yes
40908 else
40909 echo "$as_me: failed program was:" >&5
40910 sed 's/^/| /' conftest.$ac_ext >&5
40911
40912 ac_cv_func_localtime_r=no
40913 fi
40914
40915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40916 conftest$ac_exeext conftest.$ac_ext
40917 fi
40918 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40919 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40920 if test $ac_cv_func_localtime_r = yes; then
40921 cat >>confdefs.h <<\_ACEOF
40922 #define HAVE_LOCALTIME_R 1
40923 _ACEOF
40924
40925 fi
40926
40927 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40928 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40929 if test "${ac_cv_func_gmtime_r+set}" = set; then
40930 echo $ECHO_N "(cached) $ECHO_C" >&6
40931 else
40932 cat >conftest.$ac_ext <<_ACEOF
40933 /* confdefs.h. */
40934 _ACEOF
40935 cat confdefs.h >>conftest.$ac_ext
40936 cat >>conftest.$ac_ext <<_ACEOF
40937 /* end confdefs.h. */
40938 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40940 #define gmtime_r innocuous_gmtime_r
40941
40942 /* System header to define __stub macros and hopefully few prototypes,
40943 which can conflict with char gmtime_r (); below.
40944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40945 <limits.h> exists even on freestanding compilers. */
40946
40947 #ifdef __STDC__
40948 # include <limits.h>
40949 #else
40950 # include <assert.h>
40951 #endif
40952
40953 #undef gmtime_r
40954
40955 /* Override any GCC internal prototype to avoid an error.
40956 Use char because int might match the return type of a GCC
40957 builtin and then its argument prototype would still apply. */
40958 #ifdef __cplusplus
40959 extern "C"
40960 #endif
40961 char gmtime_r ();
40962 /* The GNU C library defines this for functions which it implements
40963 to always fail with ENOSYS. Some functions are actually named
40964 something starting with __ and the normal name is an alias. */
40965 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40966 choke me
40967 #endif
40968
40969 int
40970 main ()
40971 {
40972 return gmtime_r ();
40973 ;
40974 return 0;
40975 }
40976 _ACEOF
40977 rm -f conftest.$ac_objext conftest$ac_exeext
40978 if { (ac_try="$ac_link"
40979 case "(($ac_try" in
40980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40981 *) ac_try_echo=$ac_try;;
40982 esac
40983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40984 (eval "$ac_link") 2>conftest.er1
40985 ac_status=$?
40986 grep -v '^ *+' conftest.er1 >conftest.err
40987 rm -f conftest.er1
40988 cat conftest.err >&5
40989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40990 (exit $ac_status); } && {
40991 test -z "$ac_c_werror_flag" ||
40992 test ! -s conftest.err
40993 } && test -s conftest$ac_exeext &&
40994 $as_test_x conftest$ac_exeext; then
40995 ac_cv_func_gmtime_r=yes
40996 else
40997 echo "$as_me: failed program was:" >&5
40998 sed 's/^/| /' conftest.$ac_ext >&5
40999
41000 ac_cv_func_gmtime_r=no
41001 fi
41002
41003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41004 conftest$ac_exeext conftest.$ac_ext
41005 fi
41006 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41007 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41008 if test $ac_cv_func_gmtime_r = yes; then
41009 cat >>confdefs.h <<\_ACEOF
41010 #define HAVE_GMTIME_R 1
41011 _ACEOF
41012
41013 fi
41014
41015
41016
41017
41018 ac_ext=c
41019 ac_cpp='$CPP $CPPFLAGS'
41020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41023
41024 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41025 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41026
41027 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41028 echo $ECHO_N "(cached) $ECHO_C" >&6
41029 else
41030
41031
41032 ################################################################
41033
41034 ac_cv_func_which_gethostbyname_r=unknown
41035
41036 #
41037 # ONE ARGUMENT (sanity check)
41038 #
41039
41040 # This should fail, as there is no variant of gethostbyname_r() that takes
41041 # a single argument. If it actually compiles, then we can assume that
41042 # netdb.h is not declaring the function, and the compiler is thereby
41043 # assuming an implicit prototype. In which case, we're out of luck.
41044 #
41045 cat >conftest.$ac_ext <<_ACEOF
41046 /* confdefs.h. */
41047 _ACEOF
41048 cat confdefs.h >>conftest.$ac_ext
41049 cat >>conftest.$ac_ext <<_ACEOF
41050 /* end confdefs.h. */
41051 #include <netdb.h>
41052 int
41053 main ()
41054 {
41055
41056 char *name = "www.gnu.org";
41057 (void)gethostbyname_r(name) /* ; */
41058
41059 ;
41060 return 0;
41061 }
41062 _ACEOF
41063 rm -f conftest.$ac_objext
41064 if { (ac_try="$ac_compile"
41065 case "(($ac_try" in
41066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41067 *) ac_try_echo=$ac_try;;
41068 esac
41069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41070 (eval "$ac_compile") 2>conftest.er1
41071 ac_status=$?
41072 grep -v '^ *+' conftest.er1 >conftest.err
41073 rm -f conftest.er1
41074 cat conftest.err >&5
41075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41076 (exit $ac_status); } && {
41077 test -z "$ac_c_werror_flag" ||
41078 test ! -s conftest.err
41079 } && test -s conftest.$ac_objext; then
41080 ac_cv_func_which_gethostbyname_r=no
41081 else
41082 echo "$as_me: failed program was:" >&5
41083 sed 's/^/| /' conftest.$ac_ext >&5
41084
41085
41086 fi
41087
41088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41089
41090 #
41091 # SIX ARGUMENTS
41092 # (e.g. Linux)
41093 #
41094
41095 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41096
41097 cat >conftest.$ac_ext <<_ACEOF
41098 /* confdefs.h. */
41099 _ACEOF
41100 cat confdefs.h >>conftest.$ac_ext
41101 cat >>conftest.$ac_ext <<_ACEOF
41102 /* end confdefs.h. */
41103 #include <netdb.h>
41104 int
41105 main ()
41106 {
41107
41108 char *name = "www.gnu.org";
41109 struct hostent ret, *retp;
41110 char buf[1024];
41111 int buflen = 1024;
41112 int my_h_errno;
41113 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41114
41115 ;
41116 return 0;
41117 }
41118 _ACEOF
41119 rm -f conftest.$ac_objext
41120 if { (ac_try="$ac_compile"
41121 case "(($ac_try" in
41122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41123 *) ac_try_echo=$ac_try;;
41124 esac
41125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41126 (eval "$ac_compile") 2>conftest.er1
41127 ac_status=$?
41128 grep -v '^ *+' conftest.er1 >conftest.err
41129 rm -f conftest.er1
41130 cat conftest.err >&5
41131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41132 (exit $ac_status); } && {
41133 test -z "$ac_c_werror_flag" ||
41134 test ! -s conftest.err
41135 } && test -s conftest.$ac_objext; then
41136 ac_cv_func_which_gethostbyname_r=six
41137 else
41138 echo "$as_me: failed program was:" >&5
41139 sed 's/^/| /' conftest.$ac_ext >&5
41140
41141
41142 fi
41143
41144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41145
41146 fi
41147
41148 #
41149 # FIVE ARGUMENTS
41150 # (e.g. Solaris)
41151 #
41152
41153 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41154
41155 cat >conftest.$ac_ext <<_ACEOF
41156 /* confdefs.h. */
41157 _ACEOF
41158 cat confdefs.h >>conftest.$ac_ext
41159 cat >>conftest.$ac_ext <<_ACEOF
41160 /* end confdefs.h. */
41161 #include <netdb.h>
41162 int
41163 main ()
41164 {
41165
41166 char *name = "www.gnu.org";
41167 struct hostent ret;
41168 char buf[1024];
41169 int buflen = 1024;
41170 int my_h_errno;
41171 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41172
41173 ;
41174 return 0;
41175 }
41176 _ACEOF
41177 rm -f conftest.$ac_objext
41178 if { (ac_try="$ac_compile"
41179 case "(($ac_try" in
41180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41181 *) ac_try_echo=$ac_try;;
41182 esac
41183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41184 (eval "$ac_compile") 2>conftest.er1
41185 ac_status=$?
41186 grep -v '^ *+' conftest.er1 >conftest.err
41187 rm -f conftest.er1
41188 cat conftest.err >&5
41189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41190 (exit $ac_status); } && {
41191 test -z "$ac_c_werror_flag" ||
41192 test ! -s conftest.err
41193 } && test -s conftest.$ac_objext; then
41194 ac_cv_func_which_gethostbyname_r=five
41195 else
41196 echo "$as_me: failed program was:" >&5
41197 sed 's/^/| /' conftest.$ac_ext >&5
41198
41199
41200 fi
41201
41202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41203
41204 fi
41205
41206 #
41207 # THREE ARGUMENTS
41208 # (e.g. AIX, HP-UX, Tru64)
41209 #
41210
41211 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41212
41213 cat >conftest.$ac_ext <<_ACEOF
41214 /* confdefs.h. */
41215 _ACEOF
41216 cat confdefs.h >>conftest.$ac_ext
41217 cat >>conftest.$ac_ext <<_ACEOF
41218 /* end confdefs.h. */
41219 #include <netdb.h>
41220 int
41221 main ()
41222 {
41223
41224 char *name = "www.gnu.org";
41225 struct hostent ret;
41226 struct hostent_data data;
41227 (void)gethostbyname_r(name, &ret, &data) /* ; */
41228
41229 ;
41230 return 0;
41231 }
41232 _ACEOF
41233 rm -f conftest.$ac_objext
41234 if { (ac_try="$ac_compile"
41235 case "(($ac_try" in
41236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41237 *) ac_try_echo=$ac_try;;
41238 esac
41239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41240 (eval "$ac_compile") 2>conftest.er1
41241 ac_status=$?
41242 grep -v '^ *+' conftest.er1 >conftest.err
41243 rm -f conftest.er1
41244 cat conftest.err >&5
41245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41246 (exit $ac_status); } && {
41247 test -z "$ac_c_werror_flag" ||
41248 test ! -s conftest.err
41249 } && test -s conftest.$ac_objext; then
41250 ac_cv_func_which_gethostbyname_r=three
41251 else
41252 echo "$as_me: failed program was:" >&5
41253 sed 's/^/| /' conftest.$ac_ext >&5
41254
41255
41256 fi
41257
41258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41259
41260 fi
41261
41262 ################################################################
41263
41264
41265 fi
41266
41267 case "$ac_cv_func_which_gethostbyname_r" in
41268 three)
41269 { echo "$as_me:$LINENO: result: three" >&5
41270 echo "${ECHO_T}three" >&6; }
41271 cat >>confdefs.h <<\_ACEOF
41272 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41273 _ACEOF
41274
41275 ;;
41276
41277 five)
41278 { echo "$as_me:$LINENO: result: five" >&5
41279 echo "${ECHO_T}five" >&6; }
41280 cat >>confdefs.h <<\_ACEOF
41281 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41282 _ACEOF
41283
41284 ;;
41285
41286 six)
41287 { echo "$as_me:$LINENO: result: six" >&5
41288 echo "${ECHO_T}six" >&6; }
41289 cat >>confdefs.h <<\_ACEOF
41290 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41291 _ACEOF
41292
41293 ;;
41294
41295 no)
41296 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41297 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41298 ;;
41299
41300 unknown)
41301 { echo "$as_me:$LINENO: result: can't tell" >&5
41302 echo "${ECHO_T}can't tell" >&6; }
41303 ;;
41304
41305 *)
41306 { { echo "$as_me:$LINENO: error: internal error" >&5
41307 echo "$as_me: error: internal error" >&2;}
41308 { (exit 1); exit 1; }; }
41309 ;;
41310 esac
41311
41312 ac_ext=c
41313 ac_cpp='$CPP $CPPFLAGS'
41314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41317
41318
41319
41320 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41321 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41322 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41323 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41324 if test "${ac_cv_func_gethostbyname+set}" = set; then
41325 echo $ECHO_N "(cached) $ECHO_C" >&6
41326 else
41327 cat >conftest.$ac_ext <<_ACEOF
41328 /* confdefs.h. */
41329 _ACEOF
41330 cat confdefs.h >>conftest.$ac_ext
41331 cat >>conftest.$ac_ext <<_ACEOF
41332 /* end confdefs.h. */
41333 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41335 #define gethostbyname innocuous_gethostbyname
41336
41337 /* System header to define __stub macros and hopefully few prototypes,
41338 which can conflict with char gethostbyname (); below.
41339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41340 <limits.h> exists even on freestanding compilers. */
41341
41342 #ifdef __STDC__
41343 # include <limits.h>
41344 #else
41345 # include <assert.h>
41346 #endif
41347
41348 #undef gethostbyname
41349
41350 /* Override any GCC internal prototype to avoid an error.
41351 Use char because int might match the return type of a GCC
41352 builtin and then its argument prototype would still apply. */
41353 #ifdef __cplusplus
41354 extern "C"
41355 #endif
41356 char gethostbyname ();
41357 /* The GNU C library defines this for functions which it implements
41358 to always fail with ENOSYS. Some functions are actually named
41359 something starting with __ and the normal name is an alias. */
41360 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41361 choke me
41362 #endif
41363
41364 int
41365 main ()
41366 {
41367 return gethostbyname ();
41368 ;
41369 return 0;
41370 }
41371 _ACEOF
41372 rm -f conftest.$ac_objext conftest$ac_exeext
41373 if { (ac_try="$ac_link"
41374 case "(($ac_try" in
41375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41376 *) ac_try_echo=$ac_try;;
41377 esac
41378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41379 (eval "$ac_link") 2>conftest.er1
41380 ac_status=$?
41381 grep -v '^ *+' conftest.er1 >conftest.err
41382 rm -f conftest.er1
41383 cat conftest.err >&5
41384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41385 (exit $ac_status); } && {
41386 test -z "$ac_c_werror_flag" ||
41387 test ! -s conftest.err
41388 } && test -s conftest$ac_exeext &&
41389 $as_test_x conftest$ac_exeext; then
41390 ac_cv_func_gethostbyname=yes
41391 else
41392 echo "$as_me: failed program was:" >&5
41393 sed 's/^/| /' conftest.$ac_ext >&5
41394
41395 ac_cv_func_gethostbyname=no
41396 fi
41397
41398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41399 conftest$ac_exeext conftest.$ac_ext
41400 fi
41401 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41402 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41403 if test $ac_cv_func_gethostbyname = yes; then
41404 cat >>confdefs.h <<\_ACEOF
41405 #define HAVE_GETHOSTBYNAME 1
41406 _ACEOF
41407
41408 fi
41409
41410 fi
41411
41412 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41413 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41414 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41415 echo $ECHO_N "(cached) $ECHO_C" >&6
41416 else
41417
41418 ac_ext=cpp
41419 ac_cpp='$CXXCPP $CPPFLAGS'
41420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41423
41424
41425 cat >conftest.$ac_ext <<_ACEOF
41426 /* confdefs.h. */
41427 _ACEOF
41428 cat confdefs.h >>conftest.$ac_ext
41429 cat >>conftest.$ac_ext <<_ACEOF
41430 /* end confdefs.h. */
41431 #include <netdb.h>
41432 int
41433 main ()
41434 {
41435
41436 char *name;
41437 char *proto;
41438 struct servent *se, *res;
41439 char buffer[2048];
41440 int buflen = 2048;
41441 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41442
41443 ;
41444 return 0;
41445 }
41446 _ACEOF
41447 rm -f conftest.$ac_objext
41448 if { (ac_try="$ac_compile"
41449 case "(($ac_try" in
41450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41451 *) ac_try_echo=$ac_try;;
41452 esac
41453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41454 (eval "$ac_compile") 2>conftest.er1
41455 ac_status=$?
41456 grep -v '^ *+' conftest.er1 >conftest.err
41457 rm -f conftest.er1
41458 cat conftest.err >&5
41459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41460 (exit $ac_status); } && {
41461 test -z "$ac_cxx_werror_flag" ||
41462 test ! -s conftest.err
41463 } && test -s conftest.$ac_objext; then
41464 ac_cv_func_which_getservbyname_r=six
41465 else
41466 echo "$as_me: failed program was:" >&5
41467 sed 's/^/| /' conftest.$ac_ext >&5
41468
41469
41470 cat >conftest.$ac_ext <<_ACEOF
41471 /* confdefs.h. */
41472 _ACEOF
41473 cat confdefs.h >>conftest.$ac_ext
41474 cat >>conftest.$ac_ext <<_ACEOF
41475 /* end confdefs.h. */
41476 #include <netdb.h>
41477 int
41478 main ()
41479 {
41480
41481 char *name;
41482 char *proto;
41483 struct servent *se;
41484 char buffer[2048];
41485 int buflen = 2048;
41486 (void) getservbyname_r(name, proto, se, buffer, buflen)
41487
41488 ;
41489 return 0;
41490 }
41491 _ACEOF
41492 rm -f conftest.$ac_objext
41493 if { (ac_try="$ac_compile"
41494 case "(($ac_try" in
41495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41496 *) ac_try_echo=$ac_try;;
41497 esac
41498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41499 (eval "$ac_compile") 2>conftest.er1
41500 ac_status=$?
41501 grep -v '^ *+' conftest.er1 >conftest.err
41502 rm -f conftest.er1
41503 cat conftest.err >&5
41504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41505 (exit $ac_status); } && {
41506 test -z "$ac_cxx_werror_flag" ||
41507 test ! -s conftest.err
41508 } && test -s conftest.$ac_objext; then
41509 ac_cv_func_which_getservbyname_r=five
41510 else
41511 echo "$as_me: failed program was:" >&5
41512 sed 's/^/| /' conftest.$ac_ext >&5
41513
41514
41515 cat >conftest.$ac_ext <<_ACEOF
41516 /* confdefs.h. */
41517 _ACEOF
41518 cat confdefs.h >>conftest.$ac_ext
41519 cat >>conftest.$ac_ext <<_ACEOF
41520 /* end confdefs.h. */
41521 #include <netdb.h>
41522 int
41523 main ()
41524 {
41525
41526 char *name;
41527 char *proto;
41528 struct servent *se;
41529 struct servent_data data;
41530 (void) getservbyname_r(name, proto, se, &data);
41531
41532 ;
41533 return 0;
41534 }
41535 _ACEOF
41536 rm -f conftest.$ac_objext
41537 if { (ac_try="$ac_compile"
41538 case "(($ac_try" in
41539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41540 *) ac_try_echo=$ac_try;;
41541 esac
41542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41543 (eval "$ac_compile") 2>conftest.er1
41544 ac_status=$?
41545 grep -v '^ *+' conftest.er1 >conftest.err
41546 rm -f conftest.er1
41547 cat conftest.err >&5
41548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41549 (exit $ac_status); } && {
41550 test -z "$ac_cxx_werror_flag" ||
41551 test ! -s conftest.err
41552 } && test -s conftest.$ac_objext; then
41553 ac_cv_func_which_getservbyname_r=four
41554 else
41555 echo "$as_me: failed program was:" >&5
41556 sed 's/^/| /' conftest.$ac_ext >&5
41557
41558 ac_cv_func_which_getservbyname_r=no
41559
41560 fi
41561
41562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41563
41564
41565 fi
41566
41567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41568
41569
41570 fi
41571
41572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41573 ac_ext=c
41574 ac_cpp='$CPP $CPPFLAGS'
41575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41578
41579
41580
41581 fi
41582 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41583 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41584
41585 if test $ac_cv_func_which_getservbyname_r = six; then
41586 cat >>confdefs.h <<\_ACEOF
41587 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41588 _ACEOF
41589
41590 elif test $ac_cv_func_which_getservbyname_r = five; then
41591 cat >>confdefs.h <<\_ACEOF
41592 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41593 _ACEOF
41594
41595 elif test $ac_cv_func_which_getservbyname_r = four; then
41596 cat >>confdefs.h <<\_ACEOF
41597 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41598 _ACEOF
41599
41600 fi
41601
41602
41603 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41604 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41605
41606 for ac_func in getservbyname
41607 do
41608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41609 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41611 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41612 echo $ECHO_N "(cached) $ECHO_C" >&6
41613 else
41614 cat >conftest.$ac_ext <<_ACEOF
41615 /* confdefs.h. */
41616 _ACEOF
41617 cat confdefs.h >>conftest.$ac_ext
41618 cat >>conftest.$ac_ext <<_ACEOF
41619 /* end confdefs.h. */
41620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41622 #define $ac_func innocuous_$ac_func
41623
41624 /* System header to define __stub macros and hopefully few prototypes,
41625 which can conflict with char $ac_func (); below.
41626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41627 <limits.h> exists even on freestanding compilers. */
41628
41629 #ifdef __STDC__
41630 # include <limits.h>
41631 #else
41632 # include <assert.h>
41633 #endif
41634
41635 #undef $ac_func
41636
41637 /* Override any GCC internal prototype to avoid an error.
41638 Use char because int might match the return type of a GCC
41639 builtin and then its argument prototype would still apply. */
41640 #ifdef __cplusplus
41641 extern "C"
41642 #endif
41643 char $ac_func ();
41644 /* The GNU C library defines this for functions which it implements
41645 to always fail with ENOSYS. Some functions are actually named
41646 something starting with __ and the normal name is an alias. */
41647 #if defined __stub_$ac_func || defined __stub___$ac_func
41648 choke me
41649 #endif
41650
41651 int
41652 main ()
41653 {
41654 return $ac_func ();
41655 ;
41656 return 0;
41657 }
41658 _ACEOF
41659 rm -f conftest.$ac_objext conftest$ac_exeext
41660 if { (ac_try="$ac_link"
41661 case "(($ac_try" in
41662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41663 *) ac_try_echo=$ac_try;;
41664 esac
41665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41666 (eval "$ac_link") 2>conftest.er1
41667 ac_status=$?
41668 grep -v '^ *+' conftest.er1 >conftest.err
41669 rm -f conftest.er1
41670 cat conftest.err >&5
41671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41672 (exit $ac_status); } && {
41673 test -z "$ac_c_werror_flag" ||
41674 test ! -s conftest.err
41675 } && test -s conftest$ac_exeext &&
41676 $as_test_x conftest$ac_exeext; then
41677 eval "$as_ac_var=yes"
41678 else
41679 echo "$as_me: failed program was:" >&5
41680 sed 's/^/| /' conftest.$ac_ext >&5
41681
41682 eval "$as_ac_var=no"
41683 fi
41684
41685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41686 conftest$ac_exeext conftest.$ac_ext
41687 fi
41688 ac_res=`eval echo '${'$as_ac_var'}'`
41689 { echo "$as_me:$LINENO: result: $ac_res" >&5
41690 echo "${ECHO_T}$ac_res" >&6; }
41691 if test `eval echo '${'$as_ac_var'}'` = yes; then
41692 cat >>confdefs.h <<_ACEOF
41693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41694 _ACEOF
41695 cat >>confdefs.h <<\_ACEOF
41696 #define HAVE_GETSERVBYNAME 1
41697 _ACEOF
41698
41699 fi
41700 done
41701
41702 fi
41703
41704 if test "$wxUSE_THREADS" = "yes"; then
41705 cat >>confdefs.h <<\_ACEOF
41706 #define wxUSE_THREADS 1
41707 _ACEOF
41708
41709
41710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41711 else
41712 if test "$wx_cv_func_strtok_r" = "yes"; then
41713 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41714 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41715 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41716 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41717 { echo "$as_me:$LINENO: result: yes" >&5
41718 echo "${ECHO_T}yes" >&6; }
41719 else
41720 { echo "$as_me:$LINENO: result: no" >&5
41721 echo "${ECHO_T}no" >&6; }
41722 fi
41723 fi
41724 fi
41725
41726 if test "$WXGTK2" = 1 ; then
41727 cat >>confdefs.h <<_ACEOF
41728 #define __WXGTK20__ $WXGTK2
41729 _ACEOF
41730
41731 WXGTK12=1
41732 fi
41733
41734 if test "$WXGTK12" = 1 ; then
41735 cat >>confdefs.h <<_ACEOF
41736 #define __WXGTK12__ $WXGTK12
41737 _ACEOF
41738
41739 fi
41740
41741 if test "$WXGTK127" = 1 ; then
41742 cat >>confdefs.h <<_ACEOF
41743 #define __WXGTK127__ $WXGTK127
41744 _ACEOF
41745
41746 fi
41747
41748 if test "$WXGPE" = 1 ; then
41749 cat >>confdefs.h <<_ACEOF
41750 #define __WXGPE__ $WXGPE
41751 _ACEOF
41752
41753 fi
41754
41755 DEBUG_CFLAGS=
41756 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
41757 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41758 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41759 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41760 DEBUG_CFLAGS="-g"
41761 fi
41762
41763 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41764 wxUSE_DEBUG_INFO=yes
41765 if test "$GCC" = yes; then
41766 DEBUG_CFLAGS="-ggdb"
41767 fi
41768 fi
41769
41770 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
41771 if test "$wxUSE_GTK" = 1 ; then
41772 if test "x$wxGTK_VERSION" = "x1" ; then
41773 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41774 fi
41775 fi
41776 fi
41777
41778 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41779 cat >>confdefs.h <<\_ACEOF
41780 #define wxUSE_MEMORY_TRACING 1
41781 _ACEOF
41782
41783 cat >>confdefs.h <<\_ACEOF
41784 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41785 _ACEOF
41786
41787 cat >>confdefs.h <<\_ACEOF
41788 #define wxUSE_DEBUG_NEW_ALWAYS 1
41789 _ACEOF
41790
41791 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41792 fi
41793
41794 if test "$wxUSE_DMALLOC" = "yes" ; then
41795 DMALLOC_LIBS="-ldmallocthcxx"
41796 fi
41797
41798 PROFILE_FLAGS=
41799 if test "$wxUSE_PROFILE" = "yes" ; then
41800 PROFILE_FLAGS=" -pg"
41801 fi
41802
41803 if test "$GCC" = "yes" ; then
41804 if test "$wxUSE_NO_RTTI" = "yes" ; then
41805 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41806 fi
41807 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41808 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41809 fi
41810 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41811 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41812 fi
41813
41814 case "${host}" in
41815 powerpc*-*-aix* )
41816 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41817 ;;
41818 *-hppa* )
41819 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41820 ;;
41821 esac
41822 fi
41823
41824 OPTIMISE_CFLAGS=
41825 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
41826 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41827 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41828 else
41829 if test "$wxUSE_OPTIMISE" = "no" ; then
41830 if test "$GCC" = yes ; then
41831 OPTIMISE_CFLAGS="-O0"
41832 fi
41833 else
41834 if test "$GCC" = yes ; then
41835 case "${host}" in
41836 *-pc-os2_emx | *-pc-os2-emx )
41837 OPTIMISE_CFLAGS="-O2"
41838 ;;
41839 *)
41840 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41841 ;;
41842 esac
41843 else
41844 OPTIMISE_CFLAGS="-O"
41845 fi
41846 fi
41847 fi
41848
41849
41850 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41851 cat >>confdefs.h <<\_ACEOF
41852 #define WXWIN_COMPATIBILITY_2_6 1
41853 _ACEOF
41854
41855
41856 WXWIN_COMPATIBILITY_2_8="yes"
41857 fi
41858
41859 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41860 cat >>confdefs.h <<\_ACEOF
41861 #define WXWIN_COMPATIBILITY_2_8 1
41862 _ACEOF
41863
41864 fi
41865
41866
41867 if test "$wxUSE_GUI" = "yes"; then
41868 cat >>confdefs.h <<\_ACEOF
41869 #define wxUSE_GUI 1
41870 _ACEOF
41871
41872
41873 fi
41874
41875
41876 if test "$wxUSE_UNIX" = "yes"; then
41877 cat >>confdefs.h <<\_ACEOF
41878 #define wxUSE_UNIX 1
41879 _ACEOF
41880
41881 fi
41882
41883
41884 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41885
41886 HAVE_DL_FUNCS=0
41887 HAVE_SHL_FUNCS=0
41888 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41889 if test "$USE_DOS" = 1; then
41890 HAVE_DL_FUNCS=0
41891 else
41892
41893 for ac_func in dlopen
41894 do
41895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41896 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41898 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41899 echo $ECHO_N "(cached) $ECHO_C" >&6
41900 else
41901 cat >conftest.$ac_ext <<_ACEOF
41902 /* confdefs.h. */
41903 _ACEOF
41904 cat confdefs.h >>conftest.$ac_ext
41905 cat >>conftest.$ac_ext <<_ACEOF
41906 /* end confdefs.h. */
41907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41909 #define $ac_func innocuous_$ac_func
41910
41911 /* System header to define __stub macros and hopefully few prototypes,
41912 which can conflict with char $ac_func (); below.
41913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41914 <limits.h> exists even on freestanding compilers. */
41915
41916 #ifdef __STDC__
41917 # include <limits.h>
41918 #else
41919 # include <assert.h>
41920 #endif
41921
41922 #undef $ac_func
41923
41924 /* Override any GCC internal prototype to avoid an error.
41925 Use char because int might match the return type of a GCC
41926 builtin and then its argument prototype would still apply. */
41927 #ifdef __cplusplus
41928 extern "C"
41929 #endif
41930 char $ac_func ();
41931 /* The GNU C library defines this for functions which it implements
41932 to always fail with ENOSYS. Some functions are actually named
41933 something starting with __ and the normal name is an alias. */
41934 #if defined __stub_$ac_func || defined __stub___$ac_func
41935 choke me
41936 #endif
41937
41938 int
41939 main ()
41940 {
41941 return $ac_func ();
41942 ;
41943 return 0;
41944 }
41945 _ACEOF
41946 rm -f conftest.$ac_objext conftest$ac_exeext
41947 if { (ac_try="$ac_link"
41948 case "(($ac_try" in
41949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41950 *) ac_try_echo=$ac_try;;
41951 esac
41952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41953 (eval "$ac_link") 2>conftest.er1
41954 ac_status=$?
41955 grep -v '^ *+' conftest.er1 >conftest.err
41956 rm -f conftest.er1
41957 cat conftest.err >&5
41958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41959 (exit $ac_status); } && {
41960 test -z "$ac_c_werror_flag" ||
41961 test ! -s conftest.err
41962 } && test -s conftest$ac_exeext &&
41963 $as_test_x conftest$ac_exeext; then
41964 eval "$as_ac_var=yes"
41965 else
41966 echo "$as_me: failed program was:" >&5
41967 sed 's/^/| /' conftest.$ac_ext >&5
41968
41969 eval "$as_ac_var=no"
41970 fi
41971
41972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41973 conftest$ac_exeext conftest.$ac_ext
41974 fi
41975 ac_res=`eval echo '${'$as_ac_var'}'`
41976 { echo "$as_me:$LINENO: result: $ac_res" >&5
41977 echo "${ECHO_T}$ac_res" >&6; }
41978 if test `eval echo '${'$as_ac_var'}'` = yes; then
41979 cat >>confdefs.h <<_ACEOF
41980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41981 _ACEOF
41982
41983 cat >>confdefs.h <<\_ACEOF
41984 #define HAVE_DLOPEN 1
41985 _ACEOF
41986
41987 HAVE_DL_FUNCS=1
41988
41989 else
41990
41991 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41992 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41993 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41994 echo $ECHO_N "(cached) $ECHO_C" >&6
41995 else
41996 ac_check_lib_save_LIBS=$LIBS
41997 LIBS="-ldl $LIBS"
41998 cat >conftest.$ac_ext <<_ACEOF
41999 /* confdefs.h. */
42000 _ACEOF
42001 cat confdefs.h >>conftest.$ac_ext
42002 cat >>conftest.$ac_ext <<_ACEOF
42003 /* end confdefs.h. */
42004
42005 /* Override any GCC internal prototype to avoid an error.
42006 Use char because int might match the return type of a GCC
42007 builtin and then its argument prototype would still apply. */
42008 #ifdef __cplusplus
42009 extern "C"
42010 #endif
42011 char dlopen ();
42012 int
42013 main ()
42014 {
42015 return dlopen ();
42016 ;
42017 return 0;
42018 }
42019 _ACEOF
42020 rm -f conftest.$ac_objext conftest$ac_exeext
42021 if { (ac_try="$ac_link"
42022 case "(($ac_try" in
42023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42024 *) ac_try_echo=$ac_try;;
42025 esac
42026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42027 (eval "$ac_link") 2>conftest.er1
42028 ac_status=$?
42029 grep -v '^ *+' conftest.er1 >conftest.err
42030 rm -f conftest.er1
42031 cat conftest.err >&5
42032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42033 (exit $ac_status); } && {
42034 test -z "$ac_c_werror_flag" ||
42035 test ! -s conftest.err
42036 } && test -s conftest$ac_exeext &&
42037 $as_test_x conftest$ac_exeext; then
42038 ac_cv_lib_dl_dlopen=yes
42039 else
42040 echo "$as_me: failed program was:" >&5
42041 sed 's/^/| /' conftest.$ac_ext >&5
42042
42043 ac_cv_lib_dl_dlopen=no
42044 fi
42045
42046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42047 conftest$ac_exeext conftest.$ac_ext
42048 LIBS=$ac_check_lib_save_LIBS
42049 fi
42050 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42051 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42052 if test $ac_cv_lib_dl_dlopen = yes; then
42053
42054 cat >>confdefs.h <<\_ACEOF
42055 #define HAVE_DLOPEN 1
42056 _ACEOF
42057
42058 HAVE_DL_FUNCS=1
42059 DL_LINK=" -ldl$DL_LINK"
42060
42061 else
42062
42063
42064 for ac_func in shl_load
42065 do
42066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42067 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42069 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42070 echo $ECHO_N "(cached) $ECHO_C" >&6
42071 else
42072 cat >conftest.$ac_ext <<_ACEOF
42073 /* confdefs.h. */
42074 _ACEOF
42075 cat confdefs.h >>conftest.$ac_ext
42076 cat >>conftest.$ac_ext <<_ACEOF
42077 /* end confdefs.h. */
42078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42080 #define $ac_func innocuous_$ac_func
42081
42082 /* System header to define __stub macros and hopefully few prototypes,
42083 which can conflict with char $ac_func (); below.
42084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42085 <limits.h> exists even on freestanding compilers. */
42086
42087 #ifdef __STDC__
42088 # include <limits.h>
42089 #else
42090 # include <assert.h>
42091 #endif
42092
42093 #undef $ac_func
42094
42095 /* Override any GCC internal prototype to avoid an error.
42096 Use char because int might match the return type of a GCC
42097 builtin and then its argument prototype would still apply. */
42098 #ifdef __cplusplus
42099 extern "C"
42100 #endif
42101 char $ac_func ();
42102 /* The GNU C library defines this for functions which it implements
42103 to always fail with ENOSYS. Some functions are actually named
42104 something starting with __ and the normal name is an alias. */
42105 #if defined __stub_$ac_func || defined __stub___$ac_func
42106 choke me
42107 #endif
42108
42109 int
42110 main ()
42111 {
42112 return $ac_func ();
42113 ;
42114 return 0;
42115 }
42116 _ACEOF
42117 rm -f conftest.$ac_objext conftest$ac_exeext
42118 if { (ac_try="$ac_link"
42119 case "(($ac_try" in
42120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42121 *) ac_try_echo=$ac_try;;
42122 esac
42123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42124 (eval "$ac_link") 2>conftest.er1
42125 ac_status=$?
42126 grep -v '^ *+' conftest.er1 >conftest.err
42127 rm -f conftest.er1
42128 cat conftest.err >&5
42129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42130 (exit $ac_status); } && {
42131 test -z "$ac_c_werror_flag" ||
42132 test ! -s conftest.err
42133 } && test -s conftest$ac_exeext &&
42134 $as_test_x conftest$ac_exeext; then
42135 eval "$as_ac_var=yes"
42136 else
42137 echo "$as_me: failed program was:" >&5
42138 sed 's/^/| /' conftest.$ac_ext >&5
42139
42140 eval "$as_ac_var=no"
42141 fi
42142
42143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42144 conftest$ac_exeext conftest.$ac_ext
42145 fi
42146 ac_res=`eval echo '${'$as_ac_var'}'`
42147 { echo "$as_me:$LINENO: result: $ac_res" >&5
42148 echo "${ECHO_T}$ac_res" >&6; }
42149 if test `eval echo '${'$as_ac_var'}'` = yes; then
42150 cat >>confdefs.h <<_ACEOF
42151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42152 _ACEOF
42153
42154 cat >>confdefs.h <<\_ACEOF
42155 #define HAVE_SHL_LOAD 1
42156 _ACEOF
42157
42158 HAVE_SHL_FUNCS=1
42159
42160 else
42161
42162 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42163 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42164 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42165 echo $ECHO_N "(cached) $ECHO_C" >&6
42166 else
42167 ac_check_lib_save_LIBS=$LIBS
42168 LIBS="-lshl_load $LIBS"
42169 cat >conftest.$ac_ext <<_ACEOF
42170 /* confdefs.h. */
42171 _ACEOF
42172 cat confdefs.h >>conftest.$ac_ext
42173 cat >>conftest.$ac_ext <<_ACEOF
42174 /* end confdefs.h. */
42175
42176 /* Override any GCC internal prototype to avoid an error.
42177 Use char because int might match the return type of a GCC
42178 builtin and then its argument prototype would still apply. */
42179 #ifdef __cplusplus
42180 extern "C"
42181 #endif
42182 char dld ();
42183 int
42184 main ()
42185 {
42186 return dld ();
42187 ;
42188 return 0;
42189 }
42190 _ACEOF
42191 rm -f conftest.$ac_objext conftest$ac_exeext
42192 if { (ac_try="$ac_link"
42193 case "(($ac_try" in
42194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42195 *) ac_try_echo=$ac_try;;
42196 esac
42197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42198 (eval "$ac_link") 2>conftest.er1
42199 ac_status=$?
42200 grep -v '^ *+' conftest.er1 >conftest.err
42201 rm -f conftest.er1
42202 cat conftest.err >&5
42203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42204 (exit $ac_status); } && {
42205 test -z "$ac_c_werror_flag" ||
42206 test ! -s conftest.err
42207 } && test -s conftest$ac_exeext &&
42208 $as_test_x conftest$ac_exeext; then
42209 ac_cv_lib_shl_load_dld=yes
42210 else
42211 echo "$as_me: failed program was:" >&5
42212 sed 's/^/| /' conftest.$ac_ext >&5
42213
42214 ac_cv_lib_shl_load_dld=no
42215 fi
42216
42217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42218 conftest$ac_exeext conftest.$ac_ext
42219 LIBS=$ac_check_lib_save_LIBS
42220 fi
42221 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42222 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42223 if test $ac_cv_lib_shl_load_dld = yes; then
42224
42225 HAVE_SHL_FUNCS=1
42226 DL_LINK=" -ldld$DL_LINK"
42227
42228 fi
42229
42230
42231 fi
42232 done
42233
42234
42235 fi
42236
42237
42238 fi
42239 done
42240
42241
42242 if test "$HAVE_DL_FUNCS" = 1; then
42243
42244 for ac_func in dlerror
42245 do
42246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42247 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42249 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42250 echo $ECHO_N "(cached) $ECHO_C" >&6
42251 else
42252 cat >conftest.$ac_ext <<_ACEOF
42253 /* confdefs.h. */
42254 _ACEOF
42255 cat confdefs.h >>conftest.$ac_ext
42256 cat >>conftest.$ac_ext <<_ACEOF
42257 /* end confdefs.h. */
42258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42260 #define $ac_func innocuous_$ac_func
42261
42262 /* System header to define __stub macros and hopefully few prototypes,
42263 which can conflict with char $ac_func (); below.
42264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42265 <limits.h> exists even on freestanding compilers. */
42266
42267 #ifdef __STDC__
42268 # include <limits.h>
42269 #else
42270 # include <assert.h>
42271 #endif
42272
42273 #undef $ac_func
42274
42275 /* Override any GCC internal prototype to avoid an error.
42276 Use char because int might match the return type of a GCC
42277 builtin and then its argument prototype would still apply. */
42278 #ifdef __cplusplus
42279 extern "C"
42280 #endif
42281 char $ac_func ();
42282 /* The GNU C library defines this for functions which it implements
42283 to always fail with ENOSYS. Some functions are actually named
42284 something starting with __ and the normal name is an alias. */
42285 #if defined __stub_$ac_func || defined __stub___$ac_func
42286 choke me
42287 #endif
42288
42289 int
42290 main ()
42291 {
42292 return $ac_func ();
42293 ;
42294 return 0;
42295 }
42296 _ACEOF
42297 rm -f conftest.$ac_objext conftest$ac_exeext
42298 if { (ac_try="$ac_link"
42299 case "(($ac_try" in
42300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42301 *) ac_try_echo=$ac_try;;
42302 esac
42303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42304 (eval "$ac_link") 2>conftest.er1
42305 ac_status=$?
42306 grep -v '^ *+' conftest.er1 >conftest.err
42307 rm -f conftest.er1
42308 cat conftest.err >&5
42309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42310 (exit $ac_status); } && {
42311 test -z "$ac_c_werror_flag" ||
42312 test ! -s conftest.err
42313 } && test -s conftest$ac_exeext &&
42314 $as_test_x conftest$ac_exeext; then
42315 eval "$as_ac_var=yes"
42316 else
42317 echo "$as_me: failed program was:" >&5
42318 sed 's/^/| /' conftest.$ac_ext >&5
42319
42320 eval "$as_ac_var=no"
42321 fi
42322
42323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42324 conftest$ac_exeext conftest.$ac_ext
42325 fi
42326 ac_res=`eval echo '${'$as_ac_var'}'`
42327 { echo "$as_me:$LINENO: result: $ac_res" >&5
42328 echo "${ECHO_T}$ac_res" >&6; }
42329 if test `eval echo '${'$as_ac_var'}'` = yes; then
42330 cat >>confdefs.h <<_ACEOF
42331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42332 _ACEOF
42333 cat >>confdefs.h <<\_ACEOF
42334 #define HAVE_DLERROR 1
42335 _ACEOF
42336
42337 else
42338
42339 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42340 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42341 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42342 echo $ECHO_N "(cached) $ECHO_C" >&6
42343 else
42344 ac_check_lib_save_LIBS=$LIBS
42345 LIBS="-ldl $LIBS"
42346 cat >conftest.$ac_ext <<_ACEOF
42347 /* confdefs.h. */
42348 _ACEOF
42349 cat confdefs.h >>conftest.$ac_ext
42350 cat >>conftest.$ac_ext <<_ACEOF
42351 /* end confdefs.h. */
42352
42353 /* Override any GCC internal prototype to avoid an error.
42354 Use char because int might match the return type of a GCC
42355 builtin and then its argument prototype would still apply. */
42356 #ifdef __cplusplus
42357 extern "C"
42358 #endif
42359 char dlerror ();
42360 int
42361 main ()
42362 {
42363 return dlerror ();
42364 ;
42365 return 0;
42366 }
42367 _ACEOF
42368 rm -f conftest.$ac_objext conftest$ac_exeext
42369 if { (ac_try="$ac_link"
42370 case "(($ac_try" in
42371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42372 *) ac_try_echo=$ac_try;;
42373 esac
42374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42375 (eval "$ac_link") 2>conftest.er1
42376 ac_status=$?
42377 grep -v '^ *+' conftest.er1 >conftest.err
42378 rm -f conftest.er1
42379 cat conftest.err >&5
42380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42381 (exit $ac_status); } && {
42382 test -z "$ac_c_werror_flag" ||
42383 test ! -s conftest.err
42384 } && test -s conftest$ac_exeext &&
42385 $as_test_x conftest$ac_exeext; then
42386 ac_cv_lib_dl_dlerror=yes
42387 else
42388 echo "$as_me: failed program was:" >&5
42389 sed 's/^/| /' conftest.$ac_ext >&5
42390
42391 ac_cv_lib_dl_dlerror=no
42392 fi
42393
42394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42395 conftest$ac_exeext conftest.$ac_ext
42396 LIBS=$ac_check_lib_save_LIBS
42397 fi
42398 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42399 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42400 if test $ac_cv_lib_dl_dlerror = yes; then
42401 cat >>confdefs.h <<\_ACEOF
42402 #define HAVE_DLERROR 1
42403 _ACEOF
42404
42405 fi
42406
42407
42408
42409 fi
42410 done
42411
42412 fi
42413 fi
42414
42415 if test "$USE_DARWIN" = 1; then
42416 HAVE_DL_FUNCS=1
42417 fi
42418
42419 if test "$HAVE_DL_FUNCS" = 0; then
42420 if test "$HAVE_SHL_FUNCS" = 0; then
42421 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42422 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42423 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42424 wxUSE_DYNAMIC_LOADER=no
42425 wxUSE_DYNLIB_CLASS=no
42426 else
42427 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42428 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42429 fi
42430 fi
42431 fi
42432 fi
42433 fi
42434
42435 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42436 cat >>confdefs.h <<\_ACEOF
42437 #define wxUSE_DYNAMIC_LOADER 1
42438 _ACEOF
42439
42440 fi
42441 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42442 cat >>confdefs.h <<\_ACEOF
42443 #define wxUSE_DYNLIB_CLASS 1
42444 _ACEOF
42445
42446 fi
42447
42448
42449
42450 if test "$wxUSE_PLUGINS" = "yes" ; then
42451 if test "$wxUSE_SHARED" = "no" ; then
42452 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42453 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42454 wxUSE_PLUGINS=no
42455 fi
42456 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42457 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42458 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42459 wxUSE_PLUGINS=no
42460 fi
42461 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42462 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42463 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42464 wxUSE_PLUGINS=no
42465 fi
42466 if test "$wxUSE_PLUGINS" = "yes" ; then
42467 cat >>confdefs.h <<\_ACEOF
42468 #define wxUSE_PLUGINS 1
42469 _ACEOF
42470
42471 fi
42472 fi
42473
42474
42475 if test "$wxUSE_FSWATCHER" = "yes"; then
42476 cat >>confdefs.h <<\_ACEOF
42477 #define wxUSE_FSWATCHER 1
42478 _ACEOF
42479
42480 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
42481
42482 if test "$wxUSE_UNIX" = "yes"; then
42483
42484 for ac_header in sys/inotify.h
42485 do
42486 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42487 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42490 echo $ECHO_N "(cached) $ECHO_C" >&6
42491 else
42492 cat >conftest.$ac_ext <<_ACEOF
42493 /* confdefs.h. */
42494 _ACEOF
42495 cat confdefs.h >>conftest.$ac_ext
42496 cat >>conftest.$ac_ext <<_ACEOF
42497 /* end confdefs.h. */
42498 $ac_includes_default
42499
42500 #include <$ac_header>
42501 _ACEOF
42502 rm -f conftest.$ac_objext
42503 if { (ac_try="$ac_compile"
42504 case "(($ac_try" in
42505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42506 *) ac_try_echo=$ac_try;;
42507 esac
42508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42509 (eval "$ac_compile") 2>conftest.er1
42510 ac_status=$?
42511 grep -v '^ *+' conftest.er1 >conftest.err
42512 rm -f conftest.er1
42513 cat conftest.err >&5
42514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42515 (exit $ac_status); } && {
42516 test -z "$ac_c_werror_flag" ||
42517 test ! -s conftest.err
42518 } && test -s conftest.$ac_objext; then
42519 eval "$as_ac_Header=yes"
42520 else
42521 echo "$as_me: failed program was:" >&5
42522 sed 's/^/| /' conftest.$ac_ext >&5
42523
42524 eval "$as_ac_Header=no"
42525 fi
42526
42527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42528 fi
42529 ac_res=`eval echo '${'$as_ac_Header'}'`
42530 { echo "$as_me:$LINENO: result: $ac_res" >&5
42531 echo "${ECHO_T}$ac_res" >&6; }
42532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42533 cat >>confdefs.h <<_ACEOF
42534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42535 _ACEOF
42536
42537 fi
42538
42539 done
42540
42541 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
42542 cat >>confdefs.h <<\_ACEOF
42543 #define wxHAS_INOTIFY 1
42544 _ACEOF
42545
42546 else
42547
42548 for ac_header in sys/event.h
42549 do
42550 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42551 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42553 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42554 echo $ECHO_N "(cached) $ECHO_C" >&6
42555 else
42556 cat >conftest.$ac_ext <<_ACEOF
42557 /* confdefs.h. */
42558 _ACEOF
42559 cat confdefs.h >>conftest.$ac_ext
42560 cat >>conftest.$ac_ext <<_ACEOF
42561 /* end confdefs.h. */
42562 $ac_includes_default
42563
42564 #include <$ac_header>
42565 _ACEOF
42566 rm -f conftest.$ac_objext
42567 if { (ac_try="$ac_compile"
42568 case "(($ac_try" in
42569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42570 *) ac_try_echo=$ac_try;;
42571 esac
42572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42573 (eval "$ac_compile") 2>conftest.er1
42574 ac_status=$?
42575 grep -v '^ *+' conftest.er1 >conftest.err
42576 rm -f conftest.er1
42577 cat conftest.err >&5
42578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42579 (exit $ac_status); } && {
42580 test -z "$ac_c_werror_flag" ||
42581 test ! -s conftest.err
42582 } && test -s conftest.$ac_objext; then
42583 eval "$as_ac_Header=yes"
42584 else
42585 echo "$as_me: failed program was:" >&5
42586 sed 's/^/| /' conftest.$ac_ext >&5
42587
42588 eval "$as_ac_Header=no"
42589 fi
42590
42591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42592 fi
42593 ac_res=`eval echo '${'$as_ac_Header'}'`
42594 { echo "$as_me:$LINENO: result: $ac_res" >&5
42595 echo "${ECHO_T}$ac_res" >&6; }
42596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42597 cat >>confdefs.h <<_ACEOF
42598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42599 _ACEOF
42600
42601 fi
42602
42603 done
42604
42605 if test "$ac_cv_header_sys_event_h" = "yes"; then
42606 cat >>confdefs.h <<\_ACEOF
42607 #define wxHAS_KQUEUE 1
42608 _ACEOF
42609
42610 else
42611 { echo "$as_me:$LINENO: WARNING: No native wxFileSystemWatcher implementation available for on this platform" >&5
42612 echo "$as_me: WARNING: No native wxFileSystemWatcher implementation available for on this platform" >&2;}
42613 fi
42614 fi
42615 fi
42616 fi
42617
42618
42619 if test "$wxUSE_STL" = "yes"; then
42620 cat >>confdefs.h <<\_ACEOF
42621 #define wxUSE_STL 1
42622 _ACEOF
42623
42624 fi
42625
42626 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42627 cat >>confdefs.h <<\_ACEOF
42628 #define wxUSE_EXTENDED_RTTI 1
42629 _ACEOF
42630
42631 fi
42632
42633 if test "$wxUSE_ANY" = "yes"; then
42634 cat >>confdefs.h <<\_ACEOF
42635 #define wxUSE_ANY 1
42636 _ACEOF
42637
42638 fi
42639
42640 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42641 cat >>confdefs.h <<\_ACEOF
42642 #define wxUSE_APPLE_IEEE 1
42643 _ACEOF
42644
42645 fi
42646
42647 if test "$wxUSE_TIMER" = "yes"; then
42648 cat >>confdefs.h <<\_ACEOF
42649 #define wxUSE_TIMER 1
42650 _ACEOF
42651
42652 fi
42653
42654 if test "$USE_UNIX" = 1 ; then
42655 if test "$wxUSE_MGL" != 1; then
42656 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42657 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42658 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42659 echo $ECHO_N "(cached) $ECHO_C" >&6
42660 else
42661
42662 cat >conftest.$ac_ext <<_ACEOF
42663 /* confdefs.h. */
42664 _ACEOF
42665 cat confdefs.h >>conftest.$ac_ext
42666 cat >>conftest.$ac_ext <<_ACEOF
42667 /* end confdefs.h. */
42668
42669 #include <sys/ioctl.h>
42670 #include <sys/soundcard.h>
42671
42672 int
42673 main ()
42674 {
42675
42676 ioctl(0, SNDCTL_DSP_SPEED, 0);
42677
42678 ;
42679 return 0;
42680 }
42681 _ACEOF
42682 rm -f conftest.$ac_objext conftest$ac_exeext
42683 if { (ac_try="$ac_link"
42684 case "(($ac_try" in
42685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42686 *) ac_try_echo=$ac_try;;
42687 esac
42688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42689 (eval "$ac_link") 2>conftest.er1
42690 ac_status=$?
42691 grep -v '^ *+' conftest.er1 >conftest.err
42692 rm -f conftest.er1
42693 cat conftest.err >&5
42694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42695 (exit $ac_status); } && {
42696 test -z "$ac_c_werror_flag" ||
42697 test ! -s conftest.err
42698 } && test -s conftest$ac_exeext &&
42699 $as_test_x conftest$ac_exeext; then
42700 ac_cv_header_sys_soundcard=yes
42701 else
42702 echo "$as_me: failed program was:" >&5
42703 sed 's/^/| /' conftest.$ac_ext >&5
42704
42705
42706 saveLibs="$LIBS"
42707 LIBS="$saveLibs -lossaudio"
42708 cat >conftest.$ac_ext <<_ACEOF
42709 /* confdefs.h. */
42710 _ACEOF
42711 cat confdefs.h >>conftest.$ac_ext
42712 cat >>conftest.$ac_ext <<_ACEOF
42713 /* end confdefs.h. */
42714
42715 #include <sys/ioctl.h>
42716 #include <sys/soundcard.h>
42717
42718 int
42719 main ()
42720 {
42721
42722 ioctl(0, SNDCTL_DSP_SPEED, 0);
42723
42724 ;
42725 return 0;
42726 }
42727 _ACEOF
42728 rm -f conftest.$ac_objext conftest$ac_exeext
42729 if { (ac_try="$ac_link"
42730 case "(($ac_try" in
42731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42732 *) ac_try_echo=$ac_try;;
42733 esac
42734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42735 (eval "$ac_link") 2>conftest.er1
42736 ac_status=$?
42737 grep -v '^ *+' conftest.er1 >conftest.err
42738 rm -f conftest.er1
42739 cat conftest.err >&5
42740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42741 (exit $ac_status); } && {
42742 test -z "$ac_c_werror_flag" ||
42743 test ! -s conftest.err
42744 } && test -s conftest$ac_exeext &&
42745 $as_test_x conftest$ac_exeext; then
42746 ac_cv_header_sys_soundcard=yes
42747 else
42748 echo "$as_me: failed program was:" >&5
42749 sed 's/^/| /' conftest.$ac_ext >&5
42750
42751
42752 LIBS="$saveLibs"
42753 ac_cv_header_sys_soundcard=no
42754
42755
42756 fi
42757
42758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42759 conftest$ac_exeext conftest.$ac_ext
42760
42761
42762 fi
42763
42764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42765 conftest$ac_exeext conftest.$ac_ext
42766
42767 fi
42768 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42769 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42770 fi
42771
42772 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42773 cat >>confdefs.h <<\_ACEOF
42774 #define HAVE_SYS_SOUNDCARD_H 1
42775 _ACEOF
42776
42777 fi
42778 fi
42779
42780 WITH_PLUGIN_SDL=0
42781 if test "$wxUSE_SOUND" = "yes"; then
42782 if test "$USE_UNIX" = 1 ; then
42783 if test "$wxUSE_LIBSDL" != "no"; then
42784
42785 # Check whether --with-sdl-prefix was given.
42786 if test "${with_sdl_prefix+set}" = set; then
42787 withval=$with_sdl_prefix; sdl_prefix="$withval"
42788 else
42789 sdl_prefix=""
42790 fi
42791
42792
42793 # Check whether --with-sdl-exec-prefix was given.
42794 if test "${with_sdl_exec_prefix+set}" = set; then
42795 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42796 else
42797 sdl_exec_prefix=""
42798 fi
42799
42800 # Check whether --enable-sdltest was given.
42801 if test "${enable_sdltest+set}" = set; then
42802 enableval=$enable_sdltest;
42803 else
42804 enable_sdltest=yes
42805 fi
42806
42807
42808 if test x$sdl_exec_prefix != x ; then
42809 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42810 if test x${SDL_CONFIG+set} != xset ; then
42811 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42812 fi
42813 fi
42814 if test x$sdl_prefix != x ; then
42815 sdl_args="$sdl_args --prefix=$sdl_prefix"
42816 if test x${SDL_CONFIG+set} != xset ; then
42817 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42818 fi
42819 fi
42820
42821 if test "x$prefix" != xNONE; then
42822 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42823 fi
42824 # Extract the first word of "sdl-config", so it can be a program name with args.
42825 set dummy sdl-config; ac_word=$2
42826 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42828 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42829 echo $ECHO_N "(cached) $ECHO_C" >&6
42830 else
42831 case $SDL_CONFIG in
42832 [\\/]* | ?:[\\/]*)
42833 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42834 ;;
42835 *)
42836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42837 for as_dir in $PATH
42838 do
42839 IFS=$as_save_IFS
42840 test -z "$as_dir" && as_dir=.
42841 for ac_exec_ext in '' $ac_executable_extensions; do
42842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42843 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42845 break 2
42846 fi
42847 done
42848 done
42849 IFS=$as_save_IFS
42850
42851 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42852 ;;
42853 esac
42854 fi
42855 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42856 if test -n "$SDL_CONFIG"; then
42857 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42858 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42859 else
42860 { echo "$as_me:$LINENO: result: no" >&5
42861 echo "${ECHO_T}no" >&6; }
42862 fi
42863
42864
42865 min_sdl_version=1.2.0
42866 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42867 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42868 no_sdl=""
42869 if test "$SDL_CONFIG" = "no" ; then
42870 no_sdl=yes
42871 else
42872 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42873 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42874
42875 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42876 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42877 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42878 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42879 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42880 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42881 if test "x$enable_sdltest" = "xyes" ; then
42882 ac_save_CFLAGS="$CFLAGS"
42883 ac_save_CXXFLAGS="$CXXFLAGS"
42884 ac_save_LIBS="$LIBS"
42885 CFLAGS="$CFLAGS $SDL_CFLAGS"
42886 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42887 LIBS="$LIBS $SDL_LIBS"
42888 rm -f conf.sdltest
42889 if test "$cross_compiling" = yes; then
42890 echo $ac_n "cross compiling; assumed OK... $ac_c"
42891 else
42892 cat >conftest.$ac_ext <<_ACEOF
42893 /* confdefs.h. */
42894 _ACEOF
42895 cat confdefs.h >>conftest.$ac_ext
42896 cat >>conftest.$ac_ext <<_ACEOF
42897 /* end confdefs.h. */
42898
42899 #include <stdio.h>
42900 #include <stdlib.h>
42901 #include <string.h>
42902 #include "SDL.h"
42903
42904 char*
42905 my_strdup (char *str)
42906 {
42907 char *new_str;
42908
42909 if (str)
42910 {
42911 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42912 strcpy (new_str, str);
42913 }
42914 else
42915 new_str = NULL;
42916
42917 return new_str;
42918 }
42919
42920 int main (int argc, char *argv[])
42921 {
42922 int major, minor, micro;
42923 char *tmp_version;
42924
42925 /* This hangs on some systems (?)
42926 system ("touch conf.sdltest");
42927 */
42928 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42929
42930 /* HP/UX 9 (%@#!) writes to sscanf strings */
42931 tmp_version = my_strdup("$min_sdl_version");
42932 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42933 printf("%s, bad version string\n", "$min_sdl_version");
42934 exit(1);
42935 }
42936
42937 if (($sdl_major_version > major) ||
42938 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42939 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42940 {
42941 return 0;
42942 }
42943 else
42944 {
42945 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42946 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42947 printf("*** best to upgrade to the required version.\n");
42948 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42949 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42950 printf("*** config.cache before re-running configure\n");
42951 return 1;
42952 }
42953 }
42954
42955
42956 _ACEOF
42957 rm -f conftest$ac_exeext
42958 if { (ac_try="$ac_link"
42959 case "(($ac_try" in
42960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42961 *) ac_try_echo=$ac_try;;
42962 esac
42963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42964 (eval "$ac_link") 2>&5
42965 ac_status=$?
42966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42967 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42968 { (case "(($ac_try" in
42969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42970 *) ac_try_echo=$ac_try;;
42971 esac
42972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42973 (eval "$ac_try") 2>&5
42974 ac_status=$?
42975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42976 (exit $ac_status); }; }; then
42977 :
42978 else
42979 echo "$as_me: program exited with status $ac_status" >&5
42980 echo "$as_me: failed program was:" >&5
42981 sed 's/^/| /' conftest.$ac_ext >&5
42982
42983 ( exit $ac_status )
42984 no_sdl=yes
42985 fi
42986 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42987 fi
42988
42989
42990 CFLAGS="$ac_save_CFLAGS"
42991 CXXFLAGS="$ac_save_CXXFLAGS"
42992 LIBS="$ac_save_LIBS"
42993 fi
42994 fi
42995 if test "x$no_sdl" = x ; then
42996 { echo "$as_me:$LINENO: result: yes" >&5
42997 echo "${ECHO_T}yes" >&6; }
42998
42999 EXTRALIBS_SDL="$SDL_LIBS"
43000 CFLAGS="$SDL_CFLAGS $CFLAGS"
43001 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43002 cat >>confdefs.h <<\_ACEOF
43003 #define wxUSE_LIBSDL 1
43004 _ACEOF
43005
43006
43007 else
43008 { echo "$as_me:$LINENO: result: no" >&5
43009 echo "${ECHO_T}no" >&6; }
43010 if test "$SDL_CONFIG" = "no" ; then
43011 echo "*** The sdl-config script installed by SDL could not be found"
43012 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43013 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43014 echo "*** full path to sdl-config."
43015 else
43016 if test -f conf.sdltest ; then
43017 :
43018 else
43019 echo "*** Could not run SDL test program, checking why..."
43020 CFLAGS="$CFLAGS $SDL_CFLAGS"
43021 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43022 LIBS="$LIBS $SDL_LIBS"
43023 cat >conftest.$ac_ext <<_ACEOF
43024 /* confdefs.h. */
43025 _ACEOF
43026 cat confdefs.h >>conftest.$ac_ext
43027 cat >>conftest.$ac_ext <<_ACEOF
43028 /* end confdefs.h. */
43029
43030 #include <stdio.h>
43031 #include "SDL.h"
43032
43033 int main(int argc, char *argv[])
43034 { return 0; }
43035 #undef main
43036 #define main K_and_R_C_main
43037
43038 int
43039 main ()
43040 {
43041 return 0;
43042 ;
43043 return 0;
43044 }
43045 _ACEOF
43046 rm -f conftest.$ac_objext conftest$ac_exeext
43047 if { (ac_try="$ac_link"
43048 case "(($ac_try" in
43049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43050 *) ac_try_echo=$ac_try;;
43051 esac
43052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43053 (eval "$ac_link") 2>conftest.er1
43054 ac_status=$?
43055 grep -v '^ *+' conftest.er1 >conftest.err
43056 rm -f conftest.er1
43057 cat conftest.err >&5
43058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43059 (exit $ac_status); } && {
43060 test -z "$ac_c_werror_flag" ||
43061 test ! -s conftest.err
43062 } && test -s conftest$ac_exeext &&
43063 $as_test_x conftest$ac_exeext; then
43064 echo "*** The test program compiled, but did not run. This usually means"
43065 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43066 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43067 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43068 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43069 echo "*** is required on your system"
43070 echo "***"
43071 echo "*** If you have an old version installed, it is best to remove it, although"
43072 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43073 else
43074 echo "$as_me: failed program was:" >&5
43075 sed 's/^/| /' conftest.$ac_ext >&5
43076
43077 echo "*** The test program failed to compile or link. See the file config.log for the"
43078 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43079 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43080 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43081 fi
43082
43083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43084 conftest$ac_exeext conftest.$ac_ext
43085 CFLAGS="$ac_save_CFLAGS"
43086 CXXFLAGS="$ac_save_CXXFLAGS"
43087 LIBS="$ac_save_LIBS"
43088 fi
43089 fi
43090 SDL_CFLAGS=""
43091 SDL_LIBS=""
43092 wxUSE_LIBSDL="no"
43093 fi
43094
43095
43096 rm -f conf.sdltest
43097
43098 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43099 WITH_PLUGIN_SDL=1
43100 fi
43101 fi
43102 else
43103 if test "$wxUSE_MGL" = 1; then
43104 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43105 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43106 wxUSE_SOUND="no"
43107 fi
43108 fi
43109 fi
43110
43111 if test "$wxUSE_SOUND" = "yes"; then
43112 cat >>confdefs.h <<\_ACEOF
43113 #define wxUSE_SOUND 1
43114 _ACEOF
43115
43116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43117 fi
43118
43119 if test "$WXGTK2" = 1; then
43120
43121
43122 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43123 if test -n "$ac_tool_prefix"; then
43124 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43125 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43126 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43128 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43129 echo $ECHO_N "(cached) $ECHO_C" >&6
43130 else
43131 case $PKG_CONFIG in
43132 [\\/]* | ?:[\\/]*)
43133 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43134 ;;
43135 *)
43136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43137 for as_dir in $PATH
43138 do
43139 IFS=$as_save_IFS
43140 test -z "$as_dir" && as_dir=.
43141 for ac_exec_ext in '' $ac_executable_extensions; do
43142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43143 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43145 break 2
43146 fi
43147 done
43148 done
43149 IFS=$as_save_IFS
43150
43151 ;;
43152 esac
43153 fi
43154 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43155 if test -n "$PKG_CONFIG"; then
43156 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43157 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43158 else
43159 { echo "$as_me:$LINENO: result: no" >&5
43160 echo "${ECHO_T}no" >&6; }
43161 fi
43162
43163
43164 fi
43165 if test -z "$ac_cv_path_PKG_CONFIG"; then
43166 ac_pt_PKG_CONFIG=$PKG_CONFIG
43167 # Extract the first word of "pkg-config", so it can be a program name with args.
43168 set dummy pkg-config; ac_word=$2
43169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43171 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43172 echo $ECHO_N "(cached) $ECHO_C" >&6
43173 else
43174 case $ac_pt_PKG_CONFIG in
43175 [\\/]* | ?:[\\/]*)
43176 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43177 ;;
43178 *)
43179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43180 for as_dir in $PATH
43181 do
43182 IFS=$as_save_IFS
43183 test -z "$as_dir" && as_dir=.
43184 for ac_exec_ext in '' $ac_executable_extensions; do
43185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43186 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43188 break 2
43189 fi
43190 done
43191 done
43192 IFS=$as_save_IFS
43193
43194 ;;
43195 esac
43196 fi
43197 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43198 if test -n "$ac_pt_PKG_CONFIG"; then
43199 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43200 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43201 else
43202 { echo "$as_me:$LINENO: result: no" >&5
43203 echo "${ECHO_T}no" >&6; }
43204 fi
43205
43206 if test "x$ac_pt_PKG_CONFIG" = x; then
43207 PKG_CONFIG=""
43208 else
43209 case $cross_compiling:$ac_tool_warned in
43210 yes:)
43211 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43212 whose name does not start with the host triplet. If you think this
43213 configuration is useful to you, please write to autoconf@gnu.org." >&5
43214 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43215 whose name does not start with the host triplet. If you think this
43216 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43217 ac_tool_warned=yes ;;
43218 esac
43219 PKG_CONFIG=$ac_pt_PKG_CONFIG
43220 fi
43221 else
43222 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43223 fi
43224
43225 fi
43226 if test -n "$PKG_CONFIG"; then
43227 _pkg_min_version=0.9.0
43228 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43229 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43230 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43231 { echo "$as_me:$LINENO: result: yes" >&5
43232 echo "${ECHO_T}yes" >&6; }
43233 else
43234 { echo "$as_me:$LINENO: result: no" >&5
43235 echo "${ECHO_T}no" >&6; }
43236 PKG_CONFIG=""
43237 fi
43238
43239 fi
43240
43241 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43242
43243 if test "$wxUSE_GTKPRINT" = "yes" ; then
43244
43245
43246 pkg_failed=no
43247 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
43248 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
43249
43250 if test -n "$PKG_CONFIG"; then
43251 if test -n "$GTKPRINT_CFLAGS"; then
43252 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
43253 else
43254 if test -n "$PKG_CONFIG" && \
43255 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43256 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43257 ac_status=$?
43258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43259 (exit $ac_status); }; then
43260 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43261 else
43262 pkg_failed=yes
43263 fi
43264 fi
43265 else
43266 pkg_failed=untried
43267 fi
43268 if test -n "$PKG_CONFIG"; then
43269 if test -n "$GTKPRINT_LIBS"; then
43270 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
43271 else
43272 if test -n "$PKG_CONFIG" && \
43273 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43274 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43275 ac_status=$?
43276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43277 (exit $ac_status); }; then
43278 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43279 else
43280 pkg_failed=yes
43281 fi
43282 fi
43283 else
43284 pkg_failed=untried
43285 fi
43286
43287
43288
43289 if test $pkg_failed = yes; then
43290
43291 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43292 _pkg_short_errors_supported=yes
43293 else
43294 _pkg_short_errors_supported=no
43295 fi
43296 if test $_pkg_short_errors_supported = yes; then
43297 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43298 else
43299 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43300 fi
43301 # Put the nasty error message in config.log where it belongs
43302 echo "$GTKPRINT_PKG_ERRORS" >&5
43303
43304
43305 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43306 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43307 wxUSE_GTKPRINT="no"
43308
43309
43310 elif test $pkg_failed = untried; then
43311
43312 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43313 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43314 wxUSE_GTKPRINT="no"
43315
43316
43317 else
43318 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
43319 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
43320 { echo "$as_me:$LINENO: result: yes" >&5
43321 echo "${ECHO_T}yes" >&6; }
43322
43323 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
43324 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
43325 cat >>confdefs.h <<\_ACEOF
43326 #define wxUSE_GTKPRINT 1
43327 _ACEOF
43328
43329
43330 fi
43331 fi
43332
43333 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43334
43335
43336 pkg_failed=no
43337 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43338 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43339
43340 if test -n "$PKG_CONFIG"; then
43341 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43342 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43343 else
43344 if test -n "$PKG_CONFIG" && \
43345 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43346 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43347 ac_status=$?
43348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43349 (exit $ac_status); }; then
43350 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43351 else
43352 pkg_failed=yes
43353 fi
43354 fi
43355 else
43356 pkg_failed=untried
43357 fi
43358 if test -n "$PKG_CONFIG"; then
43359 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43360 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43361 else
43362 if test -n "$PKG_CONFIG" && \
43363 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43364 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43365 ac_status=$?
43366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43367 (exit $ac_status); }; then
43368 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43369 else
43370 pkg_failed=yes
43371 fi
43372 fi
43373 else
43374 pkg_failed=untried
43375 fi
43376
43377
43378
43379 if test $pkg_failed = yes; then
43380
43381 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43382 _pkg_short_errors_supported=yes
43383 else
43384 _pkg_short_errors_supported=no
43385 fi
43386 if test $_pkg_short_errors_supported = yes; then
43387 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43388 else
43389 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43390 fi
43391 # Put the nasty error message in config.log where it belongs
43392 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43393
43394
43395 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43396 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43397 wxUSE_LIBGNOMEPRINT="no"
43398
43399
43400 elif test $pkg_failed = untried; then
43401
43402 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43403 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43404 wxUSE_LIBGNOMEPRINT="no"
43405
43406
43407 else
43408 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43409 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43410 { echo "$as_me:$LINENO: result: yes" >&5
43411 echo "${ECHO_T}yes" >&6; }
43412
43413 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43414 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43415 cat >>confdefs.h <<\_ACEOF
43416 #define wxUSE_LIBGNOMEPRINT 1
43417 _ACEOF
43418
43419
43420 fi
43421 fi
43422 fi
43423
43424 if test "$wxUSE_MIMETYPE" = "yes" ; then
43425 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43426
43427
43428 pkg_failed=no
43429 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43430 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43431
43432 if test -n "$PKG_CONFIG"; then
43433 if test -n "$GNOMEVFS_CFLAGS"; then
43434 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43435 else
43436 if test -n "$PKG_CONFIG" && \
43437 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43438 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43439 ac_status=$?
43440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43441 (exit $ac_status); }; then
43442 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43443 else
43444 pkg_failed=yes
43445 fi
43446 fi
43447 else
43448 pkg_failed=untried
43449 fi
43450 if test -n "$PKG_CONFIG"; then
43451 if test -n "$GNOMEVFS_LIBS"; then
43452 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43453 else
43454 if test -n "$PKG_CONFIG" && \
43455 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43456 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43457 ac_status=$?
43458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43459 (exit $ac_status); }; then
43460 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43461 else
43462 pkg_failed=yes
43463 fi
43464 fi
43465 else
43466 pkg_failed=untried
43467 fi
43468
43469
43470
43471 if test $pkg_failed = yes; then
43472
43473 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43474 _pkg_short_errors_supported=yes
43475 else
43476 _pkg_short_errors_supported=no
43477 fi
43478 if test $_pkg_short_errors_supported = yes; then
43479 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43480 else
43481 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43482 fi
43483 # Put the nasty error message in config.log where it belongs
43484 echo "$GNOMEVFS_PKG_ERRORS" >&5
43485
43486
43487 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43488 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43489 wxUSE_LIBGNOMEVFS="no"
43490
43491
43492 elif test $pkg_failed = untried; then
43493
43494 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43495 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43496 wxUSE_LIBGNOMEVFS="no"
43497
43498
43499 else
43500 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43501 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43502 { echo "$as_me:$LINENO: result: yes" >&5
43503 echo "${ECHO_T}yes" >&6; }
43504
43505 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43506 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43507 cat >>confdefs.h <<\_ACEOF
43508 #define wxUSE_LIBGNOMEVFS 1
43509 _ACEOF
43510
43511
43512 fi
43513 fi
43514 fi
43515
43516 if test "$wxUSE_LIBHILDON" = "yes" ; then
43517
43518 pkg_failed=no
43519 { echo "$as_me:$LINENO: checking for HILDON" >&5
43520 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43521
43522 if test -n "$PKG_CONFIG"; then
43523 if test -n "$HILDON_CFLAGS"; then
43524 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43525 else
43526 if test -n "$PKG_CONFIG" && \
43527 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43528 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43529 ac_status=$?
43530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43531 (exit $ac_status); }; then
43532 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43533 else
43534 pkg_failed=yes
43535 fi
43536 fi
43537 else
43538 pkg_failed=untried
43539 fi
43540 if test -n "$PKG_CONFIG"; then
43541 if test -n "$HILDON_LIBS"; then
43542 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43543 else
43544 if test -n "$PKG_CONFIG" && \
43545 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43546 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43547 ac_status=$?
43548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43549 (exit $ac_status); }; then
43550 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43551 else
43552 pkg_failed=yes
43553 fi
43554 fi
43555 else
43556 pkg_failed=untried
43557 fi
43558
43559
43560
43561 if test $pkg_failed = yes; then
43562
43563 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43564 _pkg_short_errors_supported=yes
43565 else
43566 _pkg_short_errors_supported=no
43567 fi
43568 if test $_pkg_short_errors_supported = yes; then
43569 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43570 else
43571 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43572 fi
43573 # Put the nasty error message in config.log where it belongs
43574 echo "$HILDON_PKG_ERRORS" >&5
43575
43576
43577 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43578 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43579 wxUSE_LIBHILDON="no"
43580 ac_hildon_lgpl=0
43581
43582
43583 elif test $pkg_failed = untried; then
43584
43585 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43586 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43587 wxUSE_LIBHILDON="no"
43588 ac_hildon_lgpl=0
43589
43590
43591 else
43592 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43593 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43594 { echo "$as_me:$LINENO: result: yes" >&5
43595 echo "${ECHO_T}yes" >&6; }
43596
43597 EXTRALIBS_HILDON="$HILDON_LIBS"
43598 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43599 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43600 cat >>confdefs.h <<\_ACEOF
43601 #define wxUSE_LIBHILDON 1
43602 _ACEOF
43603
43604 ac_hildon_lgpl=1
43605
43606 fi
43607
43608 if test "$ac_hildon_lgpl" = 0 ; then
43609
43610 pkg_failed=no
43611 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43612 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43613
43614 if test -n "$PKG_CONFIG"; then
43615 if test -n "$HILDON2_CFLAGS"; then
43616 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
43617 else
43618 if test -n "$PKG_CONFIG" && \
43619 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43620 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43621 ac_status=$?
43622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43623 (exit $ac_status); }; then
43624 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
43625 else
43626 pkg_failed=yes
43627 fi
43628 fi
43629 else
43630 pkg_failed=untried
43631 fi
43632 if test -n "$PKG_CONFIG"; then
43633 if test -n "$HILDON2_LIBS"; then
43634 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
43635 else
43636 if test -n "$PKG_CONFIG" && \
43637 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43638 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43639 ac_status=$?
43640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43641 (exit $ac_status); }; then
43642 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
43643 else
43644 pkg_failed=yes
43645 fi
43646 fi
43647 else
43648 pkg_failed=untried
43649 fi
43650
43651
43652
43653 if test $pkg_failed = yes; then
43654
43655 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43656 _pkg_short_errors_supported=yes
43657 else
43658 _pkg_short_errors_supported=no
43659 fi
43660 if test $_pkg_short_errors_supported = yes; then
43661 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43662 else
43663 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43664 fi
43665 # Put the nasty error message in config.log where it belongs
43666 echo "$HILDON2_PKG_ERRORS" >&5
43667
43668
43669 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43670 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43671 wxUSE_LIBHILDON2="no"
43672
43673
43674 elif test $pkg_failed = untried; then
43675
43676 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43677 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43678 wxUSE_LIBHILDON2="no"
43679
43680
43681 else
43682 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
43683 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
43684 { echo "$as_me:$LINENO: result: yes" >&5
43685 echo "${ECHO_T}yes" >&6; }
43686
43687 EXTRALIBS_HILDON="$HILDON2_LIBS"
43688 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
43689 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
43690 cat >>confdefs.h <<\_ACEOF
43691 #define wxUSE_LIBHILDON2 1
43692 _ACEOF
43693
43694
43695 fi
43696 fi
43697 fi
43698 fi
43699
43700 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43701 cat >>confdefs.h <<\_ACEOF
43702 #define wxUSE_CMDLINE_PARSER 1
43703 _ACEOF
43704
43705 fi
43706
43707 if test "$wxUSE_STOPWATCH" = "yes"; then
43708 cat >>confdefs.h <<\_ACEOF
43709 #define wxUSE_STOPWATCH 1
43710 _ACEOF
43711
43712 fi
43713
43714 if test "$wxUSE_DATETIME" = "yes"; then
43715 cat >>confdefs.h <<\_ACEOF
43716 #define wxUSE_DATETIME 1
43717 _ACEOF
43718
43719 fi
43720
43721 if test "$wxUSE_FILE" = "yes"; then
43722 cat >>confdefs.h <<\_ACEOF
43723 #define wxUSE_FILE 1
43724 _ACEOF
43725
43726 fi
43727
43728 if test "$wxUSE_FFILE" = "yes"; then
43729 cat >>confdefs.h <<\_ACEOF
43730 #define wxUSE_FFILE 1
43731 _ACEOF
43732
43733 fi
43734
43735 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43736 if test "$wxUSE_STREAMS" != yes; then
43737 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43738 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43739 wxUSE_ARCHIVE_STREAMS=no
43740 else
43741 cat >>confdefs.h <<\_ACEOF
43742 #define wxUSE_ARCHIVE_STREAMS 1
43743 _ACEOF
43744
43745 fi
43746 fi
43747
43748 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43749 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43750 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43751 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43752 elif test "$wxUSE_ZLIB" = "no"; then
43753 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43754 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43755 else
43756 cat >>confdefs.h <<\_ACEOF
43757 #define wxUSE_ZIPSTREAM 1
43758 _ACEOF
43759
43760 fi
43761 fi
43762
43763 if test "$wxUSE_TARSTREAM" = "yes"; then
43764 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43765 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43766 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43767 else
43768 cat >>confdefs.h <<\_ACEOF
43769 #define wxUSE_TARSTREAM 1
43770 _ACEOF
43771
43772 fi
43773 fi
43774
43775 if test "$wxUSE_FILESYSTEM" = "yes"; then
43776 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43777 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43778 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43779 wxUSE_FILESYSTEM=no
43780 else
43781 cat >>confdefs.h <<\_ACEOF
43782 #define wxUSE_FILESYSTEM 1
43783 _ACEOF
43784
43785 fi
43786 fi
43787
43788 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43789 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43790 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43791 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43792 else
43793 cat >>confdefs.h <<\_ACEOF
43794 #define wxUSE_FS_ARCHIVE 1
43795 _ACEOF
43796
43797 fi
43798 fi
43799
43800 if test "$wxUSE_FS_ZIP" = "yes"; then
43801 if test "$wxUSE_FS_ARCHIVE" != yes; then
43802 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43803 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43804 else
43805 cat >>confdefs.h <<\_ACEOF
43806 #define wxUSE_FS_ZIP 1
43807 _ACEOF
43808
43809 fi
43810 fi
43811
43812 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43813 if test "$USE_UNIX" != 1; then
43814 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43815 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43816 wxUSE_ON_FATAL_EXCEPTION=no
43817 else
43818 cat >>confdefs.h <<\_ACEOF
43819 #define wxUSE_ON_FATAL_EXCEPTION 1
43820 _ACEOF
43821
43822 fi
43823 fi
43824
43825 if test "$wxUSE_STACKWALKER" = "yes"; then
43826 cat >>confdefs.h <<\_ACEOF
43827 #define wxUSE_STACKWALKER 1
43828 _ACEOF
43829
43830 fi
43831
43832 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43833 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43834 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43835 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43836 wxUSE_DEBUGREPORT=no
43837 else
43838 cat >>confdefs.h <<\_ACEOF
43839 #define wxUSE_DEBUGREPORT 1
43840 _ACEOF
43841
43842 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43843 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43844 fi
43845 fi
43846 fi
43847
43848 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43849 cat >>confdefs.h <<\_ACEOF
43850 #define wxUSE_SNGLINST_CHECKER 1
43851 _ACEOF
43852
43853 fi
43854
43855 if test "$wxUSE_BUSYINFO" = "yes"; then
43856 cat >>confdefs.h <<\_ACEOF
43857 #define wxUSE_BUSYINFO 1
43858 _ACEOF
43859
43860 fi
43861
43862 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43863 cat >>confdefs.h <<\_ACEOF
43864 #define wxUSE_STD_IOSTREAM 1
43865 _ACEOF
43866
43867 fi
43868
43869 if test "$wxUSE_STD_STRING" = "yes"; then
43870 cat >>confdefs.h <<\_ACEOF
43871 #define wxUSE_STD_STRING 1
43872 _ACEOF
43873
43874 fi
43875
43876 if test "$wxUSE_STDPATHS" = "yes"; then
43877 cat >>confdefs.h <<\_ACEOF
43878 #define wxUSE_STDPATHS 1
43879 _ACEOF
43880
43881 fi
43882
43883 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43884 cat >>confdefs.h <<\_ACEOF
43885 #define wxUSE_TEXTBUFFER 1
43886 _ACEOF
43887
43888 fi
43889
43890 if test "$wxUSE_TEXTFILE" = "yes"; then
43891 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43892 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43893 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43894 else
43895 cat >>confdefs.h <<\_ACEOF
43896 #define wxUSE_TEXTFILE 1
43897 _ACEOF
43898
43899 fi
43900 fi
43901
43902 if test "$wxUSE_CONFIG" = "yes" ; then
43903 if test "$wxUSE_TEXTFILE" != "yes"; then
43904 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43905 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43906 else
43907 cat >>confdefs.h <<\_ACEOF
43908 #define wxUSE_CONFIG 1
43909 _ACEOF
43910
43911 cat >>confdefs.h <<\_ACEOF
43912 #define wxUSE_CONFIG_NATIVE 1
43913 _ACEOF
43914
43915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43916 fi
43917 fi
43918
43919 if test "$wxUSE_INTL" = "yes" ; then
43920 if test "$wxUSE_FILE" != "yes"; then
43921 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43922 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43923 else
43924 cat >>confdefs.h <<\_ACEOF
43925 #define wxUSE_INTL 1
43926 _ACEOF
43927
43928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43929 GUIDIST="$GUIDIST INTL_DIST"
43930 fi
43931 fi
43932
43933 if test "$wxUSE_XLOCALE" = "yes" ; then
43934 cat >>confdefs.h <<\_ACEOF
43935 #define wxUSE_XLOCALE 1
43936 _ACEOF
43937
43938 { echo "$as_me:$LINENO: checking for locale_t" >&5
43939 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43940 if test "${ac_cv_type_locale_t+set}" = set; then
43941 echo $ECHO_N "(cached) $ECHO_C" >&6
43942 else
43943 cat >conftest.$ac_ext <<_ACEOF
43944 /* confdefs.h. */
43945 _ACEOF
43946 cat confdefs.h >>conftest.$ac_ext
43947 cat >>conftest.$ac_ext <<_ACEOF
43948 /* end confdefs.h. */
43949 #include <xlocale.h>
43950 #include <locale.h>
43951
43952 typedef locale_t ac__type_new_;
43953 int
43954 main ()
43955 {
43956 if ((ac__type_new_ *) 0)
43957 return 0;
43958 if (sizeof (ac__type_new_))
43959 return 0;
43960 ;
43961 return 0;
43962 }
43963 _ACEOF
43964 rm -f conftest.$ac_objext
43965 if { (ac_try="$ac_compile"
43966 case "(($ac_try" in
43967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43968 *) ac_try_echo=$ac_try;;
43969 esac
43970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43971 (eval "$ac_compile") 2>conftest.er1
43972 ac_status=$?
43973 grep -v '^ *+' conftest.er1 >conftest.err
43974 rm -f conftest.er1
43975 cat conftest.err >&5
43976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43977 (exit $ac_status); } && {
43978 test -z "$ac_c_werror_flag" ||
43979 test ! -s conftest.err
43980 } && test -s conftest.$ac_objext; then
43981 ac_cv_type_locale_t=yes
43982 else
43983 echo "$as_me: failed program was:" >&5
43984 sed 's/^/| /' conftest.$ac_ext >&5
43985
43986 ac_cv_type_locale_t=no
43987 fi
43988
43989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43990 fi
43991 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43992 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43993 if test $ac_cv_type_locale_t = yes; then
43994
43995 cat >>confdefs.h <<_ACEOF
43996 #define HAVE_LOCALE_T 1
43997 _ACEOF
43998
43999
44000 fi
44001
44002 fi
44003
44004 if test "$wxUSE_LOG" = "yes"; then
44005 cat >>confdefs.h <<\_ACEOF
44006 #define wxUSE_LOG 1
44007 _ACEOF
44008
44009
44010 if test "$wxUSE_LOGGUI" = "yes"; then
44011 cat >>confdefs.h <<\_ACEOF
44012 #define wxUSE_LOGGUI 1
44013 _ACEOF
44014
44015 fi
44016
44017 if test "$wxUSE_LOGWINDOW" = "yes"; then
44018 cat >>confdefs.h <<\_ACEOF
44019 #define wxUSE_LOGWINDOW 1
44020 _ACEOF
44021
44022 fi
44023
44024 if test "$wxUSE_LOGDIALOG" = "yes"; then
44025 cat >>confdefs.h <<\_ACEOF
44026 #define wxUSE_LOG_DIALOG 1
44027 _ACEOF
44028
44029 fi
44030
44031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44032 fi
44033
44034 if test "$wxUSE_LONGLONG" = "yes"; then
44035 cat >>confdefs.h <<\_ACEOF
44036 #define wxUSE_LONGLONG 1
44037 _ACEOF
44038
44039 fi
44040
44041 if test "$wxUSE_GEOMETRY" = "yes"; then
44042 cat >>confdefs.h <<\_ACEOF
44043 #define wxUSE_GEOMETRY 1
44044 _ACEOF
44045
44046 fi
44047
44048 if test "$wxUSE_BASE64" = "yes"; then
44049 cat >>confdefs.h <<\_ACEOF
44050 #define wxUSE_BASE64 1
44051 _ACEOF
44052
44053 fi
44054
44055 if test "$wxUSE_STREAMS" = "yes" ; then
44056 cat >>confdefs.h <<\_ACEOF
44057 #define wxUSE_STREAMS 1
44058 _ACEOF
44059
44060 fi
44061
44062 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44063 cat >>confdefs.h <<\_ACEOF
44064 #define wxUSE_PRINTF_POS_PARAMS 1
44065 _ACEOF
44066
44067 fi
44068
44069 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44070 cat >>confdefs.h <<\_ACEOF
44071 #define wxUSE_OBJC_UNIQUIFYING 1
44072 _ACEOF
44073
44074 fi
44075
44076
44077 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44078 cat >>confdefs.h <<\_ACEOF
44079 #define wxUSE_CONSOLE_EVENTLOOP 1
44080 _ACEOF
44081
44082
44083 if test "$wxUSE_UNIX" = "yes"; then
44084 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44085 cat >>confdefs.h <<\_ACEOF
44086 #define wxUSE_SELECT_DISPATCHER 1
44087 _ACEOF
44088
44089 fi
44090
44091 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44092
44093 for ac_header in sys/epoll.h
44094 do
44095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44096 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44098 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44099 echo $ECHO_N "(cached) $ECHO_C" >&6
44100 else
44101 cat >conftest.$ac_ext <<_ACEOF
44102 /* confdefs.h. */
44103 _ACEOF
44104 cat confdefs.h >>conftest.$ac_ext
44105 cat >>conftest.$ac_ext <<_ACEOF
44106 /* end confdefs.h. */
44107 $ac_includes_default
44108
44109 #include <$ac_header>
44110 _ACEOF
44111 rm -f conftest.$ac_objext
44112 if { (ac_try="$ac_compile"
44113 case "(($ac_try" in
44114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44115 *) ac_try_echo=$ac_try;;
44116 esac
44117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44118 (eval "$ac_compile") 2>conftest.er1
44119 ac_status=$?
44120 grep -v '^ *+' conftest.er1 >conftest.err
44121 rm -f conftest.er1
44122 cat conftest.err >&5
44123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44124 (exit $ac_status); } && {
44125 test -z "$ac_c_werror_flag" ||
44126 test ! -s conftest.err
44127 } && test -s conftest.$ac_objext; then
44128 eval "$as_ac_Header=yes"
44129 else
44130 echo "$as_me: failed program was:" >&5
44131 sed 's/^/| /' conftest.$ac_ext >&5
44132
44133 eval "$as_ac_Header=no"
44134 fi
44135
44136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44137 fi
44138 ac_res=`eval echo '${'$as_ac_Header'}'`
44139 { echo "$as_me:$LINENO: result: $ac_res" >&5
44140 echo "${ECHO_T}$ac_res" >&6; }
44141 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44142 cat >>confdefs.h <<_ACEOF
44143 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44144 _ACEOF
44145
44146 fi
44147
44148 done
44149
44150 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44151 cat >>confdefs.h <<\_ACEOF
44152 #define wxUSE_EPOLL_DISPATCHER 1
44153 _ACEOF
44154
44155 else
44156 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44157 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44158 fi
44159 fi
44160 fi
44161 fi
44162
44163
44164
44165
44166 for ac_func in gettimeofday ftime
44167 do
44168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44169 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44171 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44172 echo $ECHO_N "(cached) $ECHO_C" >&6
44173 else
44174 cat >conftest.$ac_ext <<_ACEOF
44175 /* confdefs.h. */
44176 _ACEOF
44177 cat confdefs.h >>conftest.$ac_ext
44178 cat >>conftest.$ac_ext <<_ACEOF
44179 /* end confdefs.h. */
44180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44182 #define $ac_func innocuous_$ac_func
44183
44184 /* System header to define __stub macros and hopefully few prototypes,
44185 which can conflict with char $ac_func (); below.
44186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44187 <limits.h> exists even on freestanding compilers. */
44188
44189 #ifdef __STDC__
44190 # include <limits.h>
44191 #else
44192 # include <assert.h>
44193 #endif
44194
44195 #undef $ac_func
44196
44197 /* Override any GCC internal prototype to avoid an error.
44198 Use char because int might match the return type of a GCC
44199 builtin and then its argument prototype would still apply. */
44200 #ifdef __cplusplus
44201 extern "C"
44202 #endif
44203 char $ac_func ();
44204 /* The GNU C library defines this for functions which it implements
44205 to always fail with ENOSYS. Some functions are actually named
44206 something starting with __ and the normal name is an alias. */
44207 #if defined __stub_$ac_func || defined __stub___$ac_func
44208 choke me
44209 #endif
44210
44211 int
44212 main ()
44213 {
44214 return $ac_func ();
44215 ;
44216 return 0;
44217 }
44218 _ACEOF
44219 rm -f conftest.$ac_objext conftest$ac_exeext
44220 if { (ac_try="$ac_link"
44221 case "(($ac_try" in
44222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44223 *) ac_try_echo=$ac_try;;
44224 esac
44225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44226 (eval "$ac_link") 2>conftest.er1
44227 ac_status=$?
44228 grep -v '^ *+' conftest.er1 >conftest.err
44229 rm -f conftest.er1
44230 cat conftest.err >&5
44231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44232 (exit $ac_status); } && {
44233 test -z "$ac_c_werror_flag" ||
44234 test ! -s conftest.err
44235 } && test -s conftest$ac_exeext &&
44236 $as_test_x conftest$ac_exeext; then
44237 eval "$as_ac_var=yes"
44238 else
44239 echo "$as_me: failed program was:" >&5
44240 sed 's/^/| /' conftest.$ac_ext >&5
44241
44242 eval "$as_ac_var=no"
44243 fi
44244
44245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44246 conftest$ac_exeext conftest.$ac_ext
44247 fi
44248 ac_res=`eval echo '${'$as_ac_var'}'`
44249 { echo "$as_me:$LINENO: result: $ac_res" >&5
44250 echo "${ECHO_T}$ac_res" >&6; }
44251 if test `eval echo '${'$as_ac_var'}'` = yes; then
44252 cat >>confdefs.h <<_ACEOF
44253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44254 _ACEOF
44255 break
44256 fi
44257 done
44258
44259
44260 if test "$ac_cv_func_gettimeofday" = "yes"; then
44261 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44262 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
44263 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44264 echo $ECHO_N "(cached) $ECHO_C" >&6
44265 else
44266
44267 cat >conftest.$ac_ext <<_ACEOF
44268 /* confdefs.h. */
44269 _ACEOF
44270 cat confdefs.h >>conftest.$ac_ext
44271 cat >>conftest.$ac_ext <<_ACEOF
44272 /* end confdefs.h. */
44273
44274 #include <sys/time.h>
44275 #include <unistd.h>
44276
44277 int
44278 main ()
44279 {
44280
44281 struct timeval tv;
44282 gettimeofday(&tv, NULL);
44283
44284 ;
44285 return 0;
44286 }
44287 _ACEOF
44288 rm -f conftest.$ac_objext
44289 if { (ac_try="$ac_compile"
44290 case "(($ac_try" in
44291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44292 *) ac_try_echo=$ac_try;;
44293 esac
44294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44295 (eval "$ac_compile") 2>conftest.er1
44296 ac_status=$?
44297 grep -v '^ *+' conftest.er1 >conftest.err
44298 rm -f conftest.er1
44299 cat conftest.err >&5
44300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44301 (exit $ac_status); } && {
44302 test -z "$ac_c_werror_flag" ||
44303 test ! -s conftest.err
44304 } && test -s conftest.$ac_objext; then
44305 wx_cv_func_gettimeofday_has_2_args=yes
44306 else
44307 echo "$as_me: failed program was:" >&5
44308 sed 's/^/| /' conftest.$ac_ext >&5
44309
44310 cat >conftest.$ac_ext <<_ACEOF
44311 /* confdefs.h. */
44312 _ACEOF
44313 cat confdefs.h >>conftest.$ac_ext
44314 cat >>conftest.$ac_ext <<_ACEOF
44315 /* end confdefs.h. */
44316
44317 #include <sys/time.h>
44318 #include <unistd.h>
44319
44320 int
44321 main ()
44322 {
44323
44324 struct timeval tv;
44325 gettimeofday(&tv);
44326
44327 ;
44328 return 0;
44329 }
44330 _ACEOF
44331 rm -f conftest.$ac_objext
44332 if { (ac_try="$ac_compile"
44333 case "(($ac_try" in
44334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44335 *) ac_try_echo=$ac_try;;
44336 esac
44337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44338 (eval "$ac_compile") 2>conftest.er1
44339 ac_status=$?
44340 grep -v '^ *+' conftest.er1 >conftest.err
44341 rm -f conftest.er1
44342 cat conftest.err >&5
44343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44344 (exit $ac_status); } && {
44345 test -z "$ac_c_werror_flag" ||
44346 test ! -s conftest.err
44347 } && test -s conftest.$ac_objext; then
44348 wx_cv_func_gettimeofday_has_2_args=no
44349 else
44350 echo "$as_me: failed program was:" >&5
44351 sed 's/^/| /' conftest.$ac_ext >&5
44352
44353
44354 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44355 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44356 wx_cv_func_gettimeofday_has_2_args=unknown
44357
44358
44359 fi
44360
44361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44362
44363 fi
44364
44365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44366
44367 fi
44368 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44369 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44370
44371 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44372 cat >>confdefs.h <<\_ACEOF
44373 #define WX_GETTIMEOFDAY_NO_TZ 1
44374 _ACEOF
44375
44376 fi
44377 fi
44378
44379 if test "$wxUSE_DATETIME" = "yes"; then
44380 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44381 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44382 if test "${wx_cv_var_timezone+set}" = set; then
44383 echo $ECHO_N "(cached) $ECHO_C" >&6
44384 else
44385
44386 ac_ext=cpp
44387 ac_cpp='$CXXCPP $CPPFLAGS'
44388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44391
44392 cat >conftest.$ac_ext <<_ACEOF
44393 /* confdefs.h. */
44394 _ACEOF
44395 cat confdefs.h >>conftest.$ac_ext
44396 cat >>conftest.$ac_ext <<_ACEOF
44397 /* end confdefs.h. */
44398
44399 #include <time.h>
44400
44401 int
44402 main ()
44403 {
44404
44405 int tz;
44406 tz = timezone;
44407
44408 ;
44409 return 0;
44410 }
44411 _ACEOF
44412 rm -f conftest.$ac_objext
44413 if { (ac_try="$ac_compile"
44414 case "(($ac_try" in
44415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44416 *) ac_try_echo=$ac_try;;
44417 esac
44418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44419 (eval "$ac_compile") 2>conftest.er1
44420 ac_status=$?
44421 grep -v '^ *+' conftest.er1 >conftest.err
44422 rm -f conftest.er1
44423 cat conftest.err >&5
44424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44425 (exit $ac_status); } && {
44426 test -z "$ac_cxx_werror_flag" ||
44427 test ! -s conftest.err
44428 } && test -s conftest.$ac_objext; then
44429
44430 wx_cv_var_timezone=timezone
44431
44432 else
44433 echo "$as_me: failed program was:" >&5
44434 sed 's/^/| /' conftest.$ac_ext >&5
44435
44436
44437 cat >conftest.$ac_ext <<_ACEOF
44438 /* confdefs.h. */
44439 _ACEOF
44440 cat confdefs.h >>conftest.$ac_ext
44441 cat >>conftest.$ac_ext <<_ACEOF
44442 /* end confdefs.h. */
44443
44444 #include <time.h>
44445
44446 int
44447 main ()
44448 {
44449
44450 int tz;
44451 tz = _timezone;
44452
44453 ;
44454 return 0;
44455 }
44456 _ACEOF
44457 rm -f conftest.$ac_objext
44458 if { (ac_try="$ac_compile"
44459 case "(($ac_try" in
44460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44461 *) ac_try_echo=$ac_try;;
44462 esac
44463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44464 (eval "$ac_compile") 2>conftest.er1
44465 ac_status=$?
44466 grep -v '^ *+' conftest.er1 >conftest.err
44467 rm -f conftest.er1
44468 cat conftest.err >&5
44469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44470 (exit $ac_status); } && {
44471 test -z "$ac_cxx_werror_flag" ||
44472 test ! -s conftest.err
44473 } && test -s conftest.$ac_objext; then
44474
44475 wx_cv_var_timezone=_timezone
44476
44477 else
44478 echo "$as_me: failed program was:" >&5
44479 sed 's/^/| /' conftest.$ac_ext >&5
44480
44481
44482 cat >conftest.$ac_ext <<_ACEOF
44483 /* confdefs.h. */
44484 _ACEOF
44485 cat confdefs.h >>conftest.$ac_ext
44486 cat >>conftest.$ac_ext <<_ACEOF
44487 /* end confdefs.h. */
44488
44489 #include <time.h>
44490
44491 int
44492 main ()
44493 {
44494
44495 int tz;
44496 tz = __timezone;
44497
44498 ;
44499 return 0;
44500 }
44501 _ACEOF
44502 rm -f conftest.$ac_objext
44503 if { (ac_try="$ac_compile"
44504 case "(($ac_try" in
44505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44506 *) ac_try_echo=$ac_try;;
44507 esac
44508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44509 (eval "$ac_compile") 2>conftest.er1
44510 ac_status=$?
44511 grep -v '^ *+' conftest.er1 >conftest.err
44512 rm -f conftest.er1
44513 cat conftest.err >&5
44514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44515 (exit $ac_status); } && {
44516 test -z "$ac_cxx_werror_flag" ||
44517 test ! -s conftest.err
44518 } && test -s conftest.$ac_objext; then
44519
44520 wx_cv_var_timezone=__timezone
44521
44522 else
44523 echo "$as_me: failed program was:" >&5
44524 sed 's/^/| /' conftest.$ac_ext >&5
44525
44526
44527 if test "$USE_DOS" = 0 ; then
44528 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44529 echo "$as_me: WARNING: no timezone variable" >&2;}
44530 fi
44531
44532
44533 fi
44534
44535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44536
44537
44538 fi
44539
44540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44541
44542
44543 fi
44544
44545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44546 ac_ext=c
44547 ac_cpp='$CPP $CPPFLAGS'
44548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44551
44552
44553
44554 fi
44555 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44556 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44557
44558 if test "x$wx_cv_var_timezone" != x ; then
44559 cat >>confdefs.h <<_ACEOF
44560 #define WX_TIMEZONE $wx_cv_var_timezone
44561 _ACEOF
44562
44563 fi
44564
44565
44566 for ac_func in localtime
44567 do
44568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44569 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44571 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44572 echo $ECHO_N "(cached) $ECHO_C" >&6
44573 else
44574 cat >conftest.$ac_ext <<_ACEOF
44575 /* confdefs.h. */
44576 _ACEOF
44577 cat confdefs.h >>conftest.$ac_ext
44578 cat >>conftest.$ac_ext <<_ACEOF
44579 /* end confdefs.h. */
44580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44582 #define $ac_func innocuous_$ac_func
44583
44584 /* System header to define __stub macros and hopefully few prototypes,
44585 which can conflict with char $ac_func (); below.
44586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44587 <limits.h> exists even on freestanding compilers. */
44588
44589 #ifdef __STDC__
44590 # include <limits.h>
44591 #else
44592 # include <assert.h>
44593 #endif
44594
44595 #undef $ac_func
44596
44597 /* Override any GCC internal prototype to avoid an error.
44598 Use char because int might match the return type of a GCC
44599 builtin and then its argument prototype would still apply. */
44600 #ifdef __cplusplus
44601 extern "C"
44602 #endif
44603 char $ac_func ();
44604 /* The GNU C library defines this for functions which it implements
44605 to always fail with ENOSYS. Some functions are actually named
44606 something starting with __ and the normal name is an alias. */
44607 #if defined __stub_$ac_func || defined __stub___$ac_func
44608 choke me
44609 #endif
44610
44611 int
44612 main ()
44613 {
44614 return $ac_func ();
44615 ;
44616 return 0;
44617 }
44618 _ACEOF
44619 rm -f conftest.$ac_objext conftest$ac_exeext
44620 if { (ac_try="$ac_link"
44621 case "(($ac_try" in
44622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44623 *) ac_try_echo=$ac_try;;
44624 esac
44625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44626 (eval "$ac_link") 2>conftest.er1
44627 ac_status=$?
44628 grep -v '^ *+' conftest.er1 >conftest.err
44629 rm -f conftest.er1
44630 cat conftest.err >&5
44631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44632 (exit $ac_status); } && {
44633 test -z "$ac_c_werror_flag" ||
44634 test ! -s conftest.err
44635 } && test -s conftest$ac_exeext &&
44636 $as_test_x conftest$ac_exeext; then
44637 eval "$as_ac_var=yes"
44638 else
44639 echo "$as_me: failed program was:" >&5
44640 sed 's/^/| /' conftest.$ac_ext >&5
44641
44642 eval "$as_ac_var=no"
44643 fi
44644
44645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44646 conftest$ac_exeext conftest.$ac_ext
44647 fi
44648 ac_res=`eval echo '${'$as_ac_var'}'`
44649 { echo "$as_me:$LINENO: result: $ac_res" >&5
44650 echo "${ECHO_T}$ac_res" >&6; }
44651 if test `eval echo '${'$as_ac_var'}'` = yes; then
44652 cat >>confdefs.h <<_ACEOF
44653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44654 _ACEOF
44655
44656 fi
44657 done
44658
44659
44660 if test "$ac_cv_func_localtime" = "yes"; then
44661 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44662 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44663 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44664 echo $ECHO_N "(cached) $ECHO_C" >&6
44665 else
44666
44667 cat >conftest.$ac_ext <<_ACEOF
44668 /* confdefs.h. */
44669 _ACEOF
44670 cat confdefs.h >>conftest.$ac_ext
44671 cat >>conftest.$ac_ext <<_ACEOF
44672 /* end confdefs.h. */
44673
44674 #include <time.h>
44675
44676 int
44677 main ()
44678 {
44679
44680 struct tm tm;
44681 tm.tm_gmtoff++;
44682
44683 ;
44684 return 0;
44685 }
44686 _ACEOF
44687 rm -f conftest.$ac_objext
44688 if { (ac_try="$ac_compile"
44689 case "(($ac_try" in
44690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44691 *) ac_try_echo=$ac_try;;
44692 esac
44693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44694 (eval "$ac_compile") 2>conftest.er1
44695 ac_status=$?
44696 grep -v '^ *+' conftest.er1 >conftest.err
44697 rm -f conftest.er1
44698 cat conftest.err >&5
44699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44700 (exit $ac_status); } && {
44701 test -z "$ac_c_werror_flag" ||
44702 test ! -s conftest.err
44703 } && test -s conftest.$ac_objext; then
44704
44705 wx_cv_struct_tm_has_gmtoff=yes
44706
44707 else
44708 echo "$as_me: failed program was:" >&5
44709 sed 's/^/| /' conftest.$ac_ext >&5
44710
44711 wx_cv_struct_tm_has_gmtoff=no
44712
44713 fi
44714
44715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44716
44717 fi
44718 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44719 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44720 fi
44721
44722 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44723 cat >>confdefs.h <<\_ACEOF
44724 #define WX_GMTOFF_IN_TM 1
44725 _ACEOF
44726
44727 fi
44728
44729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44730 fi
44731
44732
44733 if test "$wxUSE_SOCKETS" = "yes"; then
44734 if test "$wxUSE_MGL" = 1; then
44735 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44736 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44737 wxUSE_SOCKETS="no"
44738 fi
44739 fi
44740
44741 if test "$wxUSE_SOCKETS" = "yes"; then
44742 if test "$TOOLKIT" != "MSW"; then
44743 { echo "$as_me:$LINENO: checking for socket" >&5
44744 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44745 if test "${ac_cv_func_socket+set}" = set; then
44746 echo $ECHO_N "(cached) $ECHO_C" >&6
44747 else
44748 cat >conftest.$ac_ext <<_ACEOF
44749 /* confdefs.h. */
44750 _ACEOF
44751 cat confdefs.h >>conftest.$ac_ext
44752 cat >>conftest.$ac_ext <<_ACEOF
44753 /* end confdefs.h. */
44754 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44756 #define socket innocuous_socket
44757
44758 /* System header to define __stub macros and hopefully few prototypes,
44759 which can conflict with char socket (); below.
44760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44761 <limits.h> exists even on freestanding compilers. */
44762
44763 #ifdef __STDC__
44764 # include <limits.h>
44765 #else
44766 # include <assert.h>
44767 #endif
44768
44769 #undef socket
44770
44771 /* Override any GCC internal prototype to avoid an error.
44772 Use char because int might match the return type of a GCC
44773 builtin and then its argument prototype would still apply. */
44774 #ifdef __cplusplus
44775 extern "C"
44776 #endif
44777 char socket ();
44778 /* The GNU C library defines this for functions which it implements
44779 to always fail with ENOSYS. Some functions are actually named
44780 something starting with __ and the normal name is an alias. */
44781 #if defined __stub_socket || defined __stub___socket
44782 choke me
44783 #endif
44784
44785 int
44786 main ()
44787 {
44788 return socket ();
44789 ;
44790 return 0;
44791 }
44792 _ACEOF
44793 rm -f conftest.$ac_objext conftest$ac_exeext
44794 if { (ac_try="$ac_link"
44795 case "(($ac_try" in
44796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44797 *) ac_try_echo=$ac_try;;
44798 esac
44799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44800 (eval "$ac_link") 2>conftest.er1
44801 ac_status=$?
44802 grep -v '^ *+' conftest.er1 >conftest.err
44803 rm -f conftest.er1
44804 cat conftest.err >&5
44805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44806 (exit $ac_status); } && {
44807 test -z "$ac_c_werror_flag" ||
44808 test ! -s conftest.err
44809 } && test -s conftest$ac_exeext &&
44810 $as_test_x conftest$ac_exeext; then
44811 ac_cv_func_socket=yes
44812 else
44813 echo "$as_me: failed program was:" >&5
44814 sed 's/^/| /' conftest.$ac_ext >&5
44815
44816 ac_cv_func_socket=no
44817 fi
44818
44819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44820 conftest$ac_exeext conftest.$ac_ext
44821 fi
44822 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44823 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44824 if test $ac_cv_func_socket = yes; then
44825 :
44826 else
44827
44828 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44829 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44830 if test "${ac_cv_lib_socket_socket+set}" = set; then
44831 echo $ECHO_N "(cached) $ECHO_C" >&6
44832 else
44833 ac_check_lib_save_LIBS=$LIBS
44834 LIBS="-lsocket $LIBS"
44835 cat >conftest.$ac_ext <<_ACEOF
44836 /* confdefs.h. */
44837 _ACEOF
44838 cat confdefs.h >>conftest.$ac_ext
44839 cat >>conftest.$ac_ext <<_ACEOF
44840 /* end confdefs.h. */
44841
44842 /* Override any GCC internal prototype to avoid an error.
44843 Use char because int might match the return type of a GCC
44844 builtin and then its argument prototype would still apply. */
44845 #ifdef __cplusplus
44846 extern "C"
44847 #endif
44848 char socket ();
44849 int
44850 main ()
44851 {
44852 return socket ();
44853 ;
44854 return 0;
44855 }
44856 _ACEOF
44857 rm -f conftest.$ac_objext conftest$ac_exeext
44858 if { (ac_try="$ac_link"
44859 case "(($ac_try" in
44860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44861 *) ac_try_echo=$ac_try;;
44862 esac
44863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44864 (eval "$ac_link") 2>conftest.er1
44865 ac_status=$?
44866 grep -v '^ *+' conftest.er1 >conftest.err
44867 rm -f conftest.er1
44868 cat conftest.err >&5
44869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44870 (exit $ac_status); } && {
44871 test -z "$ac_c_werror_flag" ||
44872 test ! -s conftest.err
44873 } && test -s conftest$ac_exeext &&
44874 $as_test_x conftest$ac_exeext; then
44875 ac_cv_lib_socket_socket=yes
44876 else
44877 echo "$as_me: failed program was:" >&5
44878 sed 's/^/| /' conftest.$ac_ext >&5
44879
44880 ac_cv_lib_socket_socket=no
44881 fi
44882
44883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44884 conftest$ac_exeext conftest.$ac_ext
44885 LIBS=$ac_check_lib_save_LIBS
44886 fi
44887 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44888 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44889 if test $ac_cv_lib_socket_socket = yes; then
44890 if test "$INET_LINK" != " -lsocket"; then
44891 INET_LINK="$INET_LINK -lsocket"
44892 fi
44893 else
44894
44895 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44896 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44897 wxUSE_SOCKETS=no
44898
44899
44900 fi
44901
44902
44903
44904 fi
44905
44906 fi
44907 fi
44908
44909 if test "$wxUSE_SOCKETS" = "yes" ; then
44910 if test "$TOOLKIT" != "MSW"; then
44911 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44912 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44913 if test "${wx_cv_type_getsockname3+set}" = set; then
44914 echo $ECHO_N "(cached) $ECHO_C" >&6
44915 else
44916
44917 ac_ext=cpp
44918 ac_cpp='$CXXCPP $CPPFLAGS'
44919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44922
44923 cat >conftest.$ac_ext <<_ACEOF
44924 /* confdefs.h. */
44925 _ACEOF
44926 cat confdefs.h >>conftest.$ac_ext
44927 cat >>conftest.$ac_ext <<_ACEOF
44928 /* end confdefs.h. */
44929
44930 #include <sys/types.h>
44931 #include <sys/socket.h>
44932
44933 int
44934 main ()
44935 {
44936
44937 socklen_t len;
44938 getsockname(0, 0, &len);
44939
44940 ;
44941 return 0;
44942 }
44943 _ACEOF
44944 rm -f conftest.$ac_objext
44945 if { (ac_try="$ac_compile"
44946 case "(($ac_try" in
44947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44948 *) ac_try_echo=$ac_try;;
44949 esac
44950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44951 (eval "$ac_compile") 2>conftest.er1
44952 ac_status=$?
44953 grep -v '^ *+' conftest.er1 >conftest.err
44954 rm -f conftest.er1
44955 cat conftest.err >&5
44956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44957 (exit $ac_status); } && {
44958 test -z "$ac_cxx_werror_flag" ||
44959 test ! -s conftest.err
44960 } && test -s conftest.$ac_objext; then
44961 wx_cv_type_getsockname3=socklen_t
44962 else
44963 echo "$as_me: failed program was:" >&5
44964 sed 's/^/| /' conftest.$ac_ext >&5
44965
44966
44967 CFLAGS_OLD="$CFLAGS"
44968 if test "$GCC" = yes ; then
44969 CFLAGS="-Werror $CFLAGS"
44970 fi
44971
44972 cat >conftest.$ac_ext <<_ACEOF
44973 /* confdefs.h. */
44974 _ACEOF
44975 cat confdefs.h >>conftest.$ac_ext
44976 cat >>conftest.$ac_ext <<_ACEOF
44977 /* end confdefs.h. */
44978
44979 #include <sys/types.h>
44980 #include <sys/socket.h>
44981
44982 int
44983 main ()
44984 {
44985
44986 size_t len;
44987 getsockname(0, 0, &len);
44988
44989 ;
44990 return 0;
44991 }
44992 _ACEOF
44993 rm -f conftest.$ac_objext
44994 if { (ac_try="$ac_compile"
44995 case "(($ac_try" in
44996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44997 *) ac_try_echo=$ac_try;;
44998 esac
44999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45000 (eval "$ac_compile") 2>conftest.er1
45001 ac_status=$?
45002 grep -v '^ *+' conftest.er1 >conftest.err
45003 rm -f conftest.er1
45004 cat conftest.err >&5
45005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45006 (exit $ac_status); } && {
45007 test -z "$ac_cxx_werror_flag" ||
45008 test ! -s conftest.err
45009 } && test -s conftest.$ac_objext; then
45010 wx_cv_type_getsockname3=size_t
45011 else
45012 echo "$as_me: failed program was:" >&5
45013 sed 's/^/| /' conftest.$ac_ext >&5
45014
45015 cat >conftest.$ac_ext <<_ACEOF
45016 /* confdefs.h. */
45017 _ACEOF
45018 cat confdefs.h >>conftest.$ac_ext
45019 cat >>conftest.$ac_ext <<_ACEOF
45020 /* end confdefs.h. */
45021
45022 #include <sys/types.h>
45023 #include <sys/socket.h>
45024
45025 int
45026 main ()
45027 {
45028
45029 int len;
45030 getsockname(0, 0, &len);
45031
45032 ;
45033 return 0;
45034 }
45035 _ACEOF
45036 rm -f conftest.$ac_objext
45037 if { (ac_try="$ac_compile"
45038 case "(($ac_try" in
45039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45040 *) ac_try_echo=$ac_try;;
45041 esac
45042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45043 (eval "$ac_compile") 2>conftest.er1
45044 ac_status=$?
45045 grep -v '^ *+' conftest.er1 >conftest.err
45046 rm -f conftest.er1
45047 cat conftest.err >&5
45048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45049 (exit $ac_status); } && {
45050 test -z "$ac_cxx_werror_flag" ||
45051 test ! -s conftest.err
45052 } && test -s conftest.$ac_objext; then
45053 wx_cv_type_getsockname3=int
45054 else
45055 echo "$as_me: failed program was:" >&5
45056 sed 's/^/| /' conftest.$ac_ext >&5
45057
45058 wx_cv_type_getsockname3=unknown
45059
45060 fi
45061
45062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45063
45064 fi
45065
45066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45067
45068 CFLAGS="$CFLAGS_OLD"
45069
45070
45071 fi
45072
45073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45074 ac_ext=c
45075 ac_cpp='$CPP $CPPFLAGS'
45076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45079
45080
45081 fi
45082 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45083 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45084
45085 if test "$wx_cv_type_getsockname3" = "unknown"; then
45086 wxUSE_SOCKETS=no
45087 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45088 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45089 else
45090 cat >>confdefs.h <<_ACEOF
45091 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45092 _ACEOF
45093
45094 fi
45095 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45096 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45097 if test "${wx_cv_type_getsockopt5+set}" = set; then
45098 echo $ECHO_N "(cached) $ECHO_C" >&6
45099 else
45100
45101 ac_ext=cpp
45102 ac_cpp='$CXXCPP $CPPFLAGS'
45103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45106
45107 cat >conftest.$ac_ext <<_ACEOF
45108 /* confdefs.h. */
45109 _ACEOF
45110 cat confdefs.h >>conftest.$ac_ext
45111 cat >>conftest.$ac_ext <<_ACEOF
45112 /* end confdefs.h. */
45113
45114 #include <sys/types.h>
45115 #include <sys/socket.h>
45116
45117 int
45118 main ()
45119 {
45120
45121 socklen_t len;
45122 getsockopt(0, 0, 0, 0, &len);
45123
45124 ;
45125 return 0;
45126 }
45127 _ACEOF
45128 rm -f conftest.$ac_objext
45129 if { (ac_try="$ac_compile"
45130 case "(($ac_try" in
45131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45132 *) ac_try_echo=$ac_try;;
45133 esac
45134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45135 (eval "$ac_compile") 2>conftest.er1
45136 ac_status=$?
45137 grep -v '^ *+' conftest.er1 >conftest.err
45138 rm -f conftest.er1
45139 cat conftest.err >&5
45140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45141 (exit $ac_status); } && {
45142 test -z "$ac_cxx_werror_flag" ||
45143 test ! -s conftest.err
45144 } && test -s conftest.$ac_objext; then
45145 wx_cv_type_getsockopt5=socklen_t
45146 else
45147 echo "$as_me: failed program was:" >&5
45148 sed 's/^/| /' conftest.$ac_ext >&5
45149
45150
45151 cat >conftest.$ac_ext <<_ACEOF
45152 /* confdefs.h. */
45153 _ACEOF
45154 cat confdefs.h >>conftest.$ac_ext
45155 cat >>conftest.$ac_ext <<_ACEOF
45156 /* end confdefs.h. */
45157
45158 #include <sys/types.h>
45159 #include <sys/socket.h>
45160
45161 int
45162 main ()
45163 {
45164
45165 size_t len;
45166 getsockopt(0, 0, 0, 0, &len);
45167
45168 ;
45169 return 0;
45170 }
45171 _ACEOF
45172 rm -f conftest.$ac_objext
45173 if { (ac_try="$ac_compile"
45174 case "(($ac_try" in
45175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45176 *) ac_try_echo=$ac_try;;
45177 esac
45178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45179 (eval "$ac_compile") 2>conftest.er1
45180 ac_status=$?
45181 grep -v '^ *+' conftest.er1 >conftest.err
45182 rm -f conftest.er1
45183 cat conftest.err >&5
45184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45185 (exit $ac_status); } && {
45186 test -z "$ac_cxx_werror_flag" ||
45187 test ! -s conftest.err
45188 } && test -s conftest.$ac_objext; then
45189 wx_cv_type_getsockopt5=size_t
45190 else
45191 echo "$as_me: failed program was:" >&5
45192 sed 's/^/| /' conftest.$ac_ext >&5
45193
45194 cat >conftest.$ac_ext <<_ACEOF
45195 /* confdefs.h. */
45196 _ACEOF
45197 cat confdefs.h >>conftest.$ac_ext
45198 cat >>conftest.$ac_ext <<_ACEOF
45199 /* end confdefs.h. */
45200
45201 #include <sys/types.h>
45202 #include <sys/socket.h>
45203
45204 int
45205 main ()
45206 {
45207
45208 int len;
45209 getsockopt(0, 0, 0, 0, &len);
45210
45211 ;
45212 return 0;
45213 }
45214 _ACEOF
45215 rm -f conftest.$ac_objext
45216 if { (ac_try="$ac_compile"
45217 case "(($ac_try" in
45218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45219 *) ac_try_echo=$ac_try;;
45220 esac
45221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45222 (eval "$ac_compile") 2>conftest.er1
45223 ac_status=$?
45224 grep -v '^ *+' conftest.er1 >conftest.err
45225 rm -f conftest.er1
45226 cat conftest.err >&5
45227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45228 (exit $ac_status); } && {
45229 test -z "$ac_cxx_werror_flag" ||
45230 test ! -s conftest.err
45231 } && test -s conftest.$ac_objext; then
45232 wx_cv_type_getsockopt5=int
45233 else
45234 echo "$as_me: failed program was:" >&5
45235 sed 's/^/| /' conftest.$ac_ext >&5
45236
45237 wx_cv_type_getsockopt5=unknown
45238
45239 fi
45240
45241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45242
45243 fi
45244
45245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45246
45247
45248 fi
45249
45250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45251 ac_ext=c
45252 ac_cpp='$CPP $CPPFLAGS'
45253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45256
45257
45258 fi
45259 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45260 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45261
45262 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45263 wxUSE_SOCKETS=no
45264 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45265 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45266 else
45267 cat >>confdefs.h <<_ACEOF
45268 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45269 _ACEOF
45270
45271 fi
45272 fi
45273 fi
45274
45275 if test "$wxUSE_SOCKETS" = "yes" ; then
45276 if test "$wxUSE_IPV6" = "yes"; then
45277 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45278 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45279 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45280 echo $ECHO_N "(cached) $ECHO_C" >&6
45281 else
45282
45283 cat >conftest.$ac_ext <<_ACEOF
45284 /* confdefs.h. */
45285 _ACEOF
45286 cat confdefs.h >>conftest.$ac_ext
45287 cat >>conftest.$ac_ext <<_ACEOF
45288 /* end confdefs.h. */
45289
45290 #include <sys/types.h>
45291 #include <sys/socket.h>
45292 #include <netinet/in.h>
45293
45294 int
45295 main ()
45296 {
45297
45298 struct sockaddr_in6 sa6;
45299
45300 ;
45301 return 0;
45302 }
45303 _ACEOF
45304 rm -f conftest.$ac_objext
45305 if { (ac_try="$ac_compile"
45306 case "(($ac_try" in
45307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45308 *) ac_try_echo=$ac_try;;
45309 esac
45310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45311 (eval "$ac_compile") 2>conftest.er1
45312 ac_status=$?
45313 grep -v '^ *+' conftest.er1 >conftest.err
45314 rm -f conftest.er1
45315 cat conftest.err >&5
45316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45317 (exit $ac_status); } && {
45318 test -z "$ac_c_werror_flag" ||
45319 test ! -s conftest.err
45320 } && test -s conftest.$ac_objext; then
45321 wx_cv_type_sockaddr_in6=yes
45322 else
45323 echo "$as_me: failed program was:" >&5
45324 sed 's/^/| /' conftest.$ac_ext >&5
45325
45326 wx_cv_type_sockaddr_in6=no
45327
45328 fi
45329
45330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45331
45332
45333 fi
45334 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45335 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45336
45337 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45338 cat >>confdefs.h <<\_ACEOF
45339 #define wxUSE_IPV6 1
45340 _ACEOF
45341
45342 else
45343 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45344 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45345 fi
45346 fi
45347
45348 cat >>confdefs.h <<\_ACEOF
45349 #define wxUSE_SOCKETS 1
45350 _ACEOF
45351
45352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45353 fi
45354
45355 if test "$wxUSE_PROTOCOL" = "yes"; then
45356 if test "$wxUSE_SOCKETS" != "yes"; then
45357 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45358 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45359 wxUSE_PROTOCOL=no
45360 fi
45361 fi
45362
45363 if test "$wxUSE_PROTOCOL" = "yes"; then
45364 cat >>confdefs.h <<\_ACEOF
45365 #define wxUSE_PROTOCOL 1
45366 _ACEOF
45367
45368
45369 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45370 cat >>confdefs.h <<\_ACEOF
45371 #define wxUSE_PROTOCOL_HTTP 1
45372 _ACEOF
45373
45374 fi
45375 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45376 cat >>confdefs.h <<\_ACEOF
45377 #define wxUSE_PROTOCOL_FTP 1
45378 _ACEOF
45379
45380 fi
45381 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45382 cat >>confdefs.h <<\_ACEOF
45383 #define wxUSE_PROTOCOL_FILE 1
45384 _ACEOF
45385
45386 fi
45387 else
45388 if test "$wxUSE_FS_INET" = "yes"; then
45389 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45390 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45391 wxUSE_FS_INET="no"
45392 fi
45393 fi
45394
45395 if test "$wxUSE_URL" = "yes"; then
45396 if test "$wxUSE_PROTOCOL" != "yes"; then
45397 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45398 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45399 wxUSE_URL=no
45400 fi
45401 if test "$wxUSE_URL" = "yes"; then
45402 cat >>confdefs.h <<\_ACEOF
45403 #define wxUSE_URL 1
45404 _ACEOF
45405
45406 fi
45407 fi
45408
45409 if test "$wxUSE_VARIANT" = "yes"; then
45410 cat >>confdefs.h <<\_ACEOF
45411 #define wxUSE_VARIANT 1
45412 _ACEOF
45413
45414 fi
45415
45416 if test "$wxUSE_FS_INET" = "yes"; then
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_FS_INET 1
45419 _ACEOF
45420
45421 fi
45422
45423
45424 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45425 wxUSE_JOYSTICK=no
45426
45427 if test "$TOOLKIT" = "MSW"; then
45428 wxUSE_JOYSTICK=yes
45429
45430 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45431 if test "$USE_DARWIN" = 1; then
45432 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45433 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45434 ac_ext=cpp
45435 ac_cpp='$CXXCPP $CPPFLAGS'
45436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45439
45440 cat >conftest.$ac_ext <<_ACEOF
45441 /* confdefs.h. */
45442 _ACEOF
45443 cat confdefs.h >>conftest.$ac_ext
45444 cat >>conftest.$ac_ext <<_ACEOF
45445 /* end confdefs.h. */
45446 #include <IOKit/hid/IOHIDLib.h>
45447 int
45448 main ()
45449 {
45450 IOHIDQueueInterface *qi = NULL;
45451 IOHIDCallbackFunction cb = NULL;
45452 qi->setEventCallout(NULL, cb, NULL, NULL);
45453 ;
45454 return 0;
45455 }
45456 _ACEOF
45457 rm -f conftest.$ac_objext
45458 if { (ac_try="$ac_compile"
45459 case "(($ac_try" in
45460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45461 *) ac_try_echo=$ac_try;;
45462 esac
45463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45464 (eval "$ac_compile") 2>conftest.er1
45465 ac_status=$?
45466 grep -v '^ *+' conftest.er1 >conftest.err
45467 rm -f conftest.er1
45468 cat conftest.err >&5
45469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45470 (exit $ac_status); } && {
45471 test -z "$ac_cxx_werror_flag" ||
45472 test ! -s conftest.err
45473 } && test -s conftest.$ac_objext; then
45474 wxUSE_JOYSTICK=yes
45475
45476 else
45477 echo "$as_me: failed program was:" >&5
45478 sed 's/^/| /' conftest.$ac_ext >&5
45479
45480
45481 fi
45482
45483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45484 ac_ext=c
45485 ac_cpp='$CPP $CPPFLAGS'
45486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45489
45490 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45491 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45492 fi
45493
45494 else
45495 if test "$wxUSE_MGL" != 1; then
45496
45497 for ac_header in linux/joystick.h
45498 do
45499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45500 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45502 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45503 echo $ECHO_N "(cached) $ECHO_C" >&6
45504 else
45505 cat >conftest.$ac_ext <<_ACEOF
45506 /* confdefs.h. */
45507 _ACEOF
45508 cat confdefs.h >>conftest.$ac_ext
45509 cat >>conftest.$ac_ext <<_ACEOF
45510 /* end confdefs.h. */
45511 $ac_includes_default
45512
45513 #include <$ac_header>
45514 _ACEOF
45515 rm -f conftest.$ac_objext
45516 if { (ac_try="$ac_compile"
45517 case "(($ac_try" in
45518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45519 *) ac_try_echo=$ac_try;;
45520 esac
45521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45522 (eval "$ac_compile") 2>conftest.er1
45523 ac_status=$?
45524 grep -v '^ *+' conftest.er1 >conftest.err
45525 rm -f conftest.er1
45526 cat conftest.err >&5
45527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45528 (exit $ac_status); } && {
45529 test -z "$ac_c_werror_flag" ||
45530 test ! -s conftest.err
45531 } && test -s conftest.$ac_objext; then
45532 eval "$as_ac_Header=yes"
45533 else
45534 echo "$as_me: failed program was:" >&5
45535 sed 's/^/| /' conftest.$ac_ext >&5
45536
45537 eval "$as_ac_Header=no"
45538 fi
45539
45540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45541 fi
45542 ac_res=`eval echo '${'$as_ac_Header'}'`
45543 { echo "$as_me:$LINENO: result: $ac_res" >&5
45544 echo "${ECHO_T}$ac_res" >&6; }
45545 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45546 cat >>confdefs.h <<_ACEOF
45547 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45548 _ACEOF
45549 wxUSE_JOYSTICK=yes
45550 fi
45551
45552 done
45553
45554 fi
45555 fi
45556
45557 if test "$wxUSE_JOYSTICK" = "yes"; then
45558 cat >>confdefs.h <<\_ACEOF
45559 #define wxUSE_JOYSTICK 1
45560 _ACEOF
45561
45562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45563 else
45564 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45565 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45566 fi
45567 fi
45568
45569
45570
45571 if test "$wxUSE_FONTENUM" = "yes" ; then
45572 cat >>confdefs.h <<\_ACEOF
45573 #define wxUSE_FONTENUM 1
45574 _ACEOF
45575
45576 fi
45577
45578 if test "$wxUSE_FONTMAP" = "yes" ; then
45579 cat >>confdefs.h <<\_ACEOF
45580 #define wxUSE_FONTMAP 1
45581 _ACEOF
45582
45583 fi
45584
45585 if test "$wxUSE_UNICODE" = "yes" ; then
45586 cat >>confdefs.h <<\_ACEOF
45587 #define wxUSE_UNICODE 1
45588 _ACEOF
45589
45590
45591 if test "$USE_WIN32" != 1; then
45592 wxUSE_UNICODE_MSLU=no
45593 fi
45594
45595 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45596 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45597 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45598 if test "${ac_cv_lib_unicows_main+set}" = set; then
45599 echo $ECHO_N "(cached) $ECHO_C" >&6
45600 else
45601 ac_check_lib_save_LIBS=$LIBS
45602 LIBS="-lunicows $LIBS"
45603 cat >conftest.$ac_ext <<_ACEOF
45604 /* confdefs.h. */
45605 _ACEOF
45606 cat confdefs.h >>conftest.$ac_ext
45607 cat >>conftest.$ac_ext <<_ACEOF
45608 /* end confdefs.h. */
45609
45610
45611 int
45612 main ()
45613 {
45614 return main ();
45615 ;
45616 return 0;
45617 }
45618 _ACEOF
45619 rm -f conftest.$ac_objext conftest$ac_exeext
45620 if { (ac_try="$ac_link"
45621 case "(($ac_try" in
45622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45623 *) ac_try_echo=$ac_try;;
45624 esac
45625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45626 (eval "$ac_link") 2>conftest.er1
45627 ac_status=$?
45628 grep -v '^ *+' conftest.er1 >conftest.err
45629 rm -f conftest.er1
45630 cat conftest.err >&5
45631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45632 (exit $ac_status); } && {
45633 test -z "$ac_c_werror_flag" ||
45634 test ! -s conftest.err
45635 } && test -s conftest$ac_exeext &&
45636 $as_test_x conftest$ac_exeext; then
45637 ac_cv_lib_unicows_main=yes
45638 else
45639 echo "$as_me: failed program was:" >&5
45640 sed 's/^/| /' conftest.$ac_ext >&5
45641
45642 ac_cv_lib_unicows_main=no
45643 fi
45644
45645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45646 conftest$ac_exeext conftest.$ac_ext
45647 LIBS=$ac_check_lib_save_LIBS
45648 fi
45649 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45650 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45651 if test $ac_cv_lib_unicows_main = yes; then
45652
45653 cat >>confdefs.h <<\_ACEOF
45654 #define wxUSE_UNICODE_MSLU 1
45655 _ACEOF
45656
45657
45658 else
45659
45660 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45661 Applications will only run on Windows NT/2000/XP!" >&5
45662 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45663 Applications will only run on Windows NT/2000/XP!" >&2;}
45664 wxUSE_UNICODE_MSLU=no
45665
45666 fi
45667
45668 fi
45669 fi
45670
45671 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45672 cat >>confdefs.h <<\_ACEOF
45673 #define wxUSE_UNICODE_UTF8 1
45674 _ACEOF
45675
45676
45677 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45678 cat >>confdefs.h <<\_ACEOF
45679 #define wxUSE_UTF8_LOCALE_ONLY 1
45680 _ACEOF
45681
45682 fi
45683 fi
45684
45685
45686 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45687 cat >>confdefs.h <<\_ACEOF
45688 #define wxUSE_CONSTRAINTS 1
45689 _ACEOF
45690
45691 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45692 fi
45693
45694 if test "$wxUSE_MDI" = "yes"; then
45695 cat >>confdefs.h <<\_ACEOF
45696 #define wxUSE_MDI 1
45697 _ACEOF
45698
45699
45700 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45701 cat >>confdefs.h <<\_ACEOF
45702 #define wxUSE_MDI_ARCHITECTURE 1
45703 _ACEOF
45704
45705 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45706 fi
45707 fi
45708
45709 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45710 cat >>confdefs.h <<\_ACEOF
45711 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45712 _ACEOF
45713
45714 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45715 fi
45716
45717 if test "$wxUSE_HELP" = "yes"; then
45718 cat >>confdefs.h <<\_ACEOF
45719 #define wxUSE_HELP 1
45720 _ACEOF
45721
45722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45723
45724 if test "$wxUSE_MSW" = 1; then
45725 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45726 cat >>confdefs.h <<\_ACEOF
45727 #define wxUSE_MS_HTML_HELP 1
45728 _ACEOF
45729
45730 fi
45731 fi
45732
45733 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45734 if test "$wxUSE_HTML" = "yes"; then
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_WXHTML_HELP 1
45737 _ACEOF
45738
45739 else
45740 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45741 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45742 wxUSE_WXHTML_HELP=no
45743 fi
45744 fi
45745 fi
45746
45747 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45748 cat >>confdefs.h <<\_ACEOF
45749 #define wxUSE_PRINTING_ARCHITECTURE 1
45750 _ACEOF
45751
45752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45753 fi
45754
45755 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45756 cat >>confdefs.h <<\_ACEOF
45757 #define wxUSE_POSTSCRIPT 1
45758 _ACEOF
45759
45760 fi
45761
45762 cat >>confdefs.h <<\_ACEOF
45763 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45764 _ACEOF
45765
45766
45767 if test "$wxUSE_SVG" = "yes"; then
45768 cat >>confdefs.h <<\_ACEOF
45769 #define wxUSE_SVG 1
45770 _ACEOF
45771
45772 fi
45773
45774
45775 if test "$wxUSE_METAFILE" = "yes"; then
45776 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45777 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45778 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45779 wxUSE_METAFILE=no
45780 fi
45781 fi
45782
45783
45784 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45785 -o "$wxUSE_CLIPBOARD" = "yes" \
45786 -o "$wxUSE_OLE" = "yes" \
45787 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45788 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45789 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45790 if test "${ac_cv_header_ole2_h+set}" = set; then
45791 echo $ECHO_N "(cached) $ECHO_C" >&6
45792 else
45793 cat >conftest.$ac_ext <<_ACEOF
45794 /* confdefs.h. */
45795 _ACEOF
45796 cat confdefs.h >>conftest.$ac_ext
45797 cat >>conftest.$ac_ext <<_ACEOF
45798 /* end confdefs.h. */
45799
45800
45801 #include <ole2.h>
45802 _ACEOF
45803 rm -f conftest.$ac_objext
45804 if { (ac_try="$ac_compile"
45805 case "(($ac_try" in
45806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45807 *) ac_try_echo=$ac_try;;
45808 esac
45809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45810 (eval "$ac_compile") 2>conftest.er1
45811 ac_status=$?
45812 grep -v '^ *+' conftest.er1 >conftest.err
45813 rm -f conftest.er1
45814 cat conftest.err >&5
45815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45816 (exit $ac_status); } && {
45817 test -z "$ac_c_werror_flag" ||
45818 test ! -s conftest.err
45819 } && test -s conftest.$ac_objext; then
45820 ac_cv_header_ole2_h=yes
45821 else
45822 echo "$as_me: failed program was:" >&5
45823 sed 's/^/| /' conftest.$ac_ext >&5
45824
45825 ac_cv_header_ole2_h=no
45826 fi
45827
45828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45829 fi
45830 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45831 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45832
45833
45834
45835 if test "$ac_cv_header_ole2_h" = "yes" ; then
45836 if test "$GCC" = yes ; then
45837 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45838 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45839 cat >conftest.$ac_ext <<_ACEOF
45840 /* confdefs.h. */
45841 _ACEOF
45842 cat confdefs.h >>conftest.$ac_ext
45843 cat >>conftest.$ac_ext <<_ACEOF
45844 /* end confdefs.h. */
45845 #include <windows.h>
45846 #include <ole2.h>
45847 int
45848 main ()
45849 {
45850
45851 ;
45852 return 0;
45853 }
45854 _ACEOF
45855 rm -f conftest.$ac_objext
45856 if { (ac_try="$ac_compile"
45857 case "(($ac_try" in
45858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45859 *) ac_try_echo=$ac_try;;
45860 esac
45861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45862 (eval "$ac_compile") 2>conftest.er1
45863 ac_status=$?
45864 grep -v '^ *+' conftest.er1 >conftest.err
45865 rm -f conftest.er1
45866 cat conftest.err >&5
45867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45868 (exit $ac_status); } && {
45869 test -z "$ac_c_werror_flag" ||
45870 test ! -s conftest.err
45871 } && test -s conftest.$ac_objext; then
45872 { echo "$as_me:$LINENO: result: no" >&5
45873 echo "${ECHO_T}no" >&6; }
45874 else
45875 echo "$as_me: failed program was:" >&5
45876 sed 's/^/| /' conftest.$ac_ext >&5
45877
45878 { echo "$as_me:$LINENO: result: yes" >&5
45879 echo "${ECHO_T}yes" >&6; }
45880 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45881 fi
45882
45883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45884 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45885 if test "$wxUSE_OLE" = "yes" ; then
45886 cat >>confdefs.h <<\_ACEOF
45887 #define wxUSE_OLE 1
45888 _ACEOF
45889
45890 cat >>confdefs.h <<\_ACEOF
45891 #define wxUSE_OLE_AUTOMATION 1
45892 _ACEOF
45893
45894 cat >>confdefs.h <<\_ACEOF
45895 #define wxUSE_ACTIVEX 1
45896 _ACEOF
45897
45898 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45899 fi
45900 fi
45901
45902 if test "$wxUSE_DATAOBJ" = "yes" ; then
45903 cat >>confdefs.h <<\_ACEOF
45904 #define wxUSE_DATAOBJ 1
45905 _ACEOF
45906
45907 fi
45908 else
45909 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45910 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45911
45912 wxUSE_CLIPBOARD=no
45913 wxUSE_DRAG_AND_DROP=no
45914 wxUSE_DATAOBJ=no
45915 wxUSE_OLE=no
45916 fi
45917
45918 if test "$wxUSE_METAFILE" = "yes"; then
45919 cat >>confdefs.h <<\_ACEOF
45920 #define wxUSE_METAFILE 1
45921 _ACEOF
45922
45923
45924 cat >>confdefs.h <<\_ACEOF
45925 #define wxUSE_ENH_METAFILE 1
45926 _ACEOF
45927
45928 fi
45929 fi
45930
45931 if test "$wxUSE_IPC" = "yes"; then
45932 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45933 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45934 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45935 wxUSE_IPC=no
45936 fi
45937
45938 if test "$wxUSE_IPC" = "yes"; then
45939 cat >>confdefs.h <<\_ACEOF
45940 #define wxUSE_IPC 1
45941 _ACEOF
45942
45943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45944 fi
45945 fi
45946
45947 if test "$wxUSE_DATAOBJ" = "yes"; then
45948 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45949 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45950 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45951 wxUSE_DATAOBJ=no
45952 else
45953 cat >>confdefs.h <<\_ACEOF
45954 #define wxUSE_DATAOBJ 1
45955 _ACEOF
45956
45957 fi
45958 else
45959 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45960 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45961 wxUSE_CLIPBOARD=no
45962 wxUSE_DRAG_AND_DROP=no
45963 fi
45964
45965 if test "$wxUSE_CLIPBOARD" = "yes"; then
45966 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45967 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45968 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45969 wxUSE_CLIPBOARD=no
45970 fi
45971
45972 if test "$wxUSE_CLIPBOARD" = "yes"; then
45973 cat >>confdefs.h <<\_ACEOF
45974 #define wxUSE_CLIPBOARD 1
45975 _ACEOF
45976
45977 fi
45978 fi
45979
45980 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45981 if test "$wxUSE_GTK" = 1; then
45982 if test "$WXGTK12" != 1; then
45983 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45984 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45985 wxUSE_DRAG_AND_DROP=no
45986 fi
45987 fi
45988
45989 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45990 "$wxUSE_DFB" = 1; then
45991 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45992 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45993 wxUSE_DRAG_AND_DROP=no
45994 fi
45995
45996 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45997 cat >>confdefs.h <<\_ACEOF
45998 #define wxUSE_DRAG_AND_DROP 1
45999 _ACEOF
46000
46001 fi
46002
46003 fi
46004
46005 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46006 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46007 fi
46008
46009 if test "$wxUSE_CLIPBOARD" = "yes"; then
46010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
46011 fi
46012
46013 if test "$wxUSE_SPLINES" = "yes" ; then
46014 cat >>confdefs.h <<\_ACEOF
46015 #define wxUSE_SPLINES 1
46016 _ACEOF
46017
46018 fi
46019
46020 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46021 cat >>confdefs.h <<\_ACEOF
46022 #define wxUSE_MOUSEWHEEL 1
46023 _ACEOF
46024
46025 fi
46026
46027
46028 USES_CONTROLS=0
46029 if test "$wxUSE_CONTROLS" = "yes"; then
46030 USES_CONTROLS=1
46031 fi
46032
46033 if test "$wxUSE_ACCEL" = "yes"; then
46034 cat >>confdefs.h <<\_ACEOF
46035 #define wxUSE_ACCEL 1
46036 _ACEOF
46037
46038 USES_CONTROLS=1
46039 fi
46040
46041 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46042 cat >>confdefs.h <<\_ACEOF
46043 #define wxUSE_ANIMATIONCTRL 1
46044 _ACEOF
46045
46046 USES_CONTROLS=1
46047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46048 fi
46049
46050 if test "$wxUSE_BUTTON" = "yes"; then
46051 cat >>confdefs.h <<\_ACEOF
46052 #define wxUSE_BUTTON 1
46053 _ACEOF
46054
46055 USES_CONTROLS=1
46056 fi
46057
46058 if test "$wxUSE_BMPBUTTON" = "yes"; then
46059 cat >>confdefs.h <<\_ACEOF
46060 #define wxUSE_BMPBUTTON 1
46061 _ACEOF
46062
46063 USES_CONTROLS=1
46064 fi
46065
46066 if test "$wxUSE_CALCTRL" = "yes"; then
46067 cat >>confdefs.h <<\_ACEOF
46068 #define wxUSE_CALENDARCTRL 1
46069 _ACEOF
46070
46071 USES_CONTROLS=1
46072 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46073 fi
46074
46075 if test "$wxUSE_CARET" = "yes"; then
46076 cat >>confdefs.h <<\_ACEOF
46077 #define wxUSE_CARET 1
46078 _ACEOF
46079
46080 USES_CONTROLS=1
46081 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46082 fi
46083
46084 if test "$wxUSE_COLLPANE" = "yes"; then
46085 cat >>confdefs.h <<\_ACEOF
46086 #define wxUSE_COLLPANE 1
46087 _ACEOF
46088
46089 USES_CONTROLS=1
46090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46091 fi
46092
46093 if test "$wxUSE_COMBOBOX" = "yes"; then
46094 cat >>confdefs.h <<\_ACEOF
46095 #define wxUSE_COMBOBOX 1
46096 _ACEOF
46097
46098 USES_CONTROLS=1
46099 fi
46100
46101 if test "$wxUSE_COMBOCTRL" = "yes"; then
46102 cat >>confdefs.h <<\_ACEOF
46103 #define wxUSE_COMBOCTRL 1
46104 _ACEOF
46105
46106 USES_CONTROLS=1
46107 fi
46108
46109 if test "$wxUSE_CHOICE" = "yes"; then
46110 cat >>confdefs.h <<\_ACEOF
46111 #define wxUSE_CHOICE 1
46112 _ACEOF
46113
46114 USES_CONTROLS=1
46115 fi
46116
46117 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46118 cat >>confdefs.h <<\_ACEOF
46119 #define wxUSE_CHOICEBOOK 1
46120 _ACEOF
46121
46122 USES_CONTROLS=1
46123 fi
46124
46125 if test "$wxUSE_CHECKBOX" = "yes"; then
46126 cat >>confdefs.h <<\_ACEOF
46127 #define wxUSE_CHECKBOX 1
46128 _ACEOF
46129
46130 USES_CONTROLS=1
46131 fi
46132
46133 if test "$wxUSE_CHECKLST" = "yes"; then
46134 cat >>confdefs.h <<\_ACEOF
46135 #define wxUSE_CHECKLISTBOX 1
46136 _ACEOF
46137
46138 USES_CONTROLS=1
46139 fi
46140
46141 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46142 cat >>confdefs.h <<\_ACEOF
46143 #define wxUSE_COLOURPICKERCTRL 1
46144 _ACEOF
46145
46146 USES_CONTROLS=1
46147 fi
46148
46149 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46150 cat >>confdefs.h <<\_ACEOF
46151 #define wxUSE_DATEPICKCTRL 1
46152 _ACEOF
46153
46154 USES_CONTROLS=1
46155 fi
46156
46157 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46158 cat >>confdefs.h <<\_ACEOF
46159 #define wxUSE_DIRPICKERCTRL 1
46160 _ACEOF
46161
46162 USES_CONTROLS=1
46163 fi
46164
46165 if test "$wxUSE_FILECTRL" = "yes"; then
46166 cat >>confdefs.h <<\_ACEOF
46167 #define wxUSE_FILECTRL 1
46168 _ACEOF
46169
46170 USES_CONTROLS=1
46171 fi
46172
46173 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46174 cat >>confdefs.h <<\_ACEOF
46175 #define wxUSE_FILEPICKERCTRL 1
46176 _ACEOF
46177
46178 USES_CONTROLS=1
46179 fi
46180
46181 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46182 cat >>confdefs.h <<\_ACEOF
46183 #define wxUSE_FONTPICKERCTRL 1
46184 _ACEOF
46185
46186 USES_CONTROLS=1
46187 fi
46188
46189 if test "$wxUSE_DISPLAY" = "yes"; then
46190 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46191 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46192 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46193 wxUSE_DISPLAY=no
46194 else
46195 cat >>confdefs.h <<\_ACEOF
46196 #define wxUSE_DISPLAY 1
46197 _ACEOF
46198
46199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
46200 fi
46201 fi
46202
46203 if test "$wxUSE_DETECT_SM" = "yes"; then
46204 cat >>confdefs.h <<\_ACEOF
46205 #define wxUSE_DETECT_SM 1
46206 _ACEOF
46207
46208 fi
46209
46210 if test "$wxUSE_GAUGE" = "yes"; then
46211 cat >>confdefs.h <<\_ACEOF
46212 #define wxUSE_GAUGE 1
46213 _ACEOF
46214
46215 USES_CONTROLS=1
46216 fi
46217
46218 if test "$wxUSE_GRID" = "yes"; then
46219 cat >>confdefs.h <<\_ACEOF
46220 #define wxUSE_GRID 1
46221 _ACEOF
46222
46223 USES_CONTROLS=1
46224 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46225 fi
46226
46227 if test "$wxUSE_HEADERCTRL" = "yes"; then
46228 cat >>confdefs.h <<\_ACEOF
46229 #define wxUSE_HEADERCTRL 1
46230 _ACEOF
46231
46232 USES_CONTROLS=1
46233 fi
46234
46235 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46236 cat >>confdefs.h <<\_ACEOF
46237 #define wxUSE_HYPERLINKCTRL 1
46238 _ACEOF
46239
46240 USES_CONTROLS=1
46241 fi
46242
46243 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46244 cat >>confdefs.h <<\_ACEOF
46245 #define wxUSE_BITMAPCOMBOBOX 1
46246 _ACEOF
46247
46248 USES_CONTROLS=1
46249 fi
46250
46251 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46252 cat >>confdefs.h <<\_ACEOF
46253 #define wxUSE_DATAVIEWCTRL 1
46254 _ACEOF
46255
46256 USES_CONTROLS=1
46257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46258 fi
46259
46260 if test "$wxUSE_IMAGLIST" = "yes"; then
46261 cat >>confdefs.h <<\_ACEOF
46262 #define wxUSE_IMAGLIST 1
46263 _ACEOF
46264
46265 fi
46266
46267 if test "$wxUSE_INFOBAR" = "yes"; then
46268 cat >>confdefs.h <<\_ACEOF
46269 #define wxUSE_INFOBAR 1
46270 _ACEOF
46271
46272 fi
46273
46274 if test "$wxUSE_LISTBOOK" = "yes"; then
46275 cat >>confdefs.h <<\_ACEOF
46276 #define wxUSE_LISTBOOK 1
46277 _ACEOF
46278
46279 USES_CONTROLS=1
46280 fi
46281
46282 if test "$wxUSE_LISTBOX" = "yes"; then
46283 cat >>confdefs.h <<\_ACEOF
46284 #define wxUSE_LISTBOX 1
46285 _ACEOF
46286
46287 USES_CONTROLS=1
46288 fi
46289
46290 if test "$wxUSE_LISTCTRL" = "yes"; then
46291 if test "$wxUSE_IMAGLIST" = "yes"; then
46292 cat >>confdefs.h <<\_ACEOF
46293 #define wxUSE_LISTCTRL 1
46294 _ACEOF
46295
46296 USES_CONTROLS=1
46297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46298 else
46299 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46300 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46301 fi
46302 fi
46303
46304 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46305 cat >>confdefs.h <<\_ACEOF
46306 #define wxUSE_EDITABLELISTBOX 1
46307 _ACEOF
46308
46309 USES_CONTROLS=1
46310 fi
46311
46312 if test "$wxUSE_NOTEBOOK" = "yes"; then
46313 cat >>confdefs.h <<\_ACEOF
46314 #define wxUSE_NOTEBOOK 1
46315 _ACEOF
46316
46317 USES_CONTROLS=1
46318 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46319 fi
46320
46321 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46322 cat >>confdefs.h <<\_ACEOF
46323 #define wxUSE_NOTIFICATION_MESSAGE 1
46324 _ACEOF
46325
46326 fi
46327
46328 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46329 cat >>confdefs.h <<\_ACEOF
46330 #define wxUSE_ODCOMBOBOX 1
46331 _ACEOF
46332
46333 USES_CONTROLS=1
46334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46335 fi
46336
46337 if test "$wxUSE_RADIOBOX" = "yes"; then
46338 cat >>confdefs.h <<\_ACEOF
46339 #define wxUSE_RADIOBOX 1
46340 _ACEOF
46341
46342 USES_CONTROLS=1
46343 fi
46344
46345 if test "$wxUSE_RADIOBTN" = "yes"; then
46346 cat >>confdefs.h <<\_ACEOF
46347 #define wxUSE_RADIOBTN 1
46348 _ACEOF
46349
46350 USES_CONTROLS=1
46351 fi
46352
46353 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46354 cat >>confdefs.h <<\_ACEOF
46355 #define wxUSE_REARRANGECTRL 1
46356 _ACEOF
46357
46358 fi
46359
46360 if test "$wxUSE_SASH" = "yes"; then
46361 cat >>confdefs.h <<\_ACEOF
46362 #define wxUSE_SASH 1
46363 _ACEOF
46364
46365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46366 fi
46367
46368 if test "$wxUSE_SCROLLBAR" = "yes"; then
46369 cat >>confdefs.h <<\_ACEOF
46370 #define wxUSE_SCROLLBAR 1
46371 _ACEOF
46372
46373 USES_CONTROLS=1
46374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
46375 fi
46376
46377 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46378 cat >>confdefs.h <<\_ACEOF
46379 #define wxUSE_SEARCHCTRL 1
46380 _ACEOF
46381
46382 USES_CONTROLS=1
46383 fi
46384
46385 if test "$wxUSE_SLIDER" = "yes"; then
46386 cat >>confdefs.h <<\_ACEOF
46387 #define wxUSE_SLIDER 1
46388 _ACEOF
46389
46390 USES_CONTROLS=1
46391 fi
46392
46393 if test "$wxUSE_SPINBTN" = "yes"; then
46394 cat >>confdefs.h <<\_ACEOF
46395 #define wxUSE_SPINBTN 1
46396 _ACEOF
46397
46398 USES_CONTROLS=1
46399 fi
46400
46401 if test "$wxUSE_SPINCTRL" = "yes"; then
46402 cat >>confdefs.h <<\_ACEOF
46403 #define wxUSE_SPINCTRL 1
46404 _ACEOF
46405
46406 USES_CONTROLS=1
46407 fi
46408
46409 if test "$wxUSE_SPLITTER" = "yes"; then
46410 cat >>confdefs.h <<\_ACEOF
46411 #define wxUSE_SPLITTER 1
46412 _ACEOF
46413
46414 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46415 fi
46416
46417 if test "$wxUSE_STATBMP" = "yes"; then
46418 cat >>confdefs.h <<\_ACEOF
46419 #define wxUSE_STATBMP 1
46420 _ACEOF
46421
46422 USES_CONTROLS=1
46423 fi
46424
46425 if test "$wxUSE_STATBOX" = "yes"; then
46426 cat >>confdefs.h <<\_ACEOF
46427 #define wxUSE_STATBOX 1
46428 _ACEOF
46429
46430 USES_CONTROLS=1
46431 fi
46432
46433 if test "$wxUSE_STATTEXT" = "yes"; then
46434 cat >>confdefs.h <<\_ACEOF
46435 #define wxUSE_STATTEXT 1
46436 _ACEOF
46437
46438 USES_CONTROLS=1
46439 fi
46440
46441 if test "$wxUSE_STATLINE" = "yes"; then
46442 cat >>confdefs.h <<\_ACEOF
46443 #define wxUSE_STATLINE 1
46444 _ACEOF
46445
46446 USES_CONTROLS=1
46447 fi
46448
46449 if test "$wxUSE_STATUSBAR" = "yes"; then
46450 cat >>confdefs.h <<\_ACEOF
46451 #define wxUSE_NATIVE_STATUSBAR 1
46452 _ACEOF
46453
46454 cat >>confdefs.h <<\_ACEOF
46455 #define wxUSE_STATUSBAR 1
46456 _ACEOF
46457
46458 USES_CONTROLS=1
46459
46460 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46461 fi
46462
46463 if test "$wxUSE_TEXTCTRL" = "yes"; then
46464 cat >>confdefs.h <<\_ACEOF
46465 #define wxUSE_TEXTCTRL 1
46466 _ACEOF
46467
46468 USES_CONTROLS=1
46469 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46470
46471 cat >>confdefs.h <<\_ACEOF
46472 #define wxUSE_RICHEDIT 1
46473 _ACEOF
46474
46475 cat >>confdefs.h <<\_ACEOF
46476 #define wxUSE_RICHEDIT2 1
46477 _ACEOF
46478
46479 fi
46480
46481 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46482 if test "$wxUSE_COCOA" = 1 ; then
46483 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46484 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46485 wxUSE_TOGGLEBTN=no
46486 fi
46487
46488 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46489 cat >>confdefs.h <<\_ACEOF
46490 #define wxUSE_TOGGLEBTN 1
46491 _ACEOF
46492
46493 USES_CONTROLS=1
46494 fi
46495 fi
46496
46497 if test "$wxUSE_TOOLBAR" = "yes"; then
46498 cat >>confdefs.h <<\_ACEOF
46499 #define wxUSE_TOOLBAR 1
46500 _ACEOF
46501
46502 USES_CONTROLS=1
46503
46504 if test "$wxUSE_UNIVERSAL" = "yes"; then
46505 wxUSE_TOOLBAR_NATIVE="no"
46506 else
46507 wxUSE_TOOLBAR_NATIVE="yes"
46508 cat >>confdefs.h <<\_ACEOF
46509 #define wxUSE_TOOLBAR_NATIVE 1
46510 _ACEOF
46511
46512 fi
46513
46514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46515 fi
46516
46517 if test "$wxUSE_TOOLTIPS" = "yes"; then
46518 if test "$wxUSE_MOTIF" = 1; then
46519 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46520 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46521 else
46522 if test "$wxUSE_UNIVERSAL" = "yes"; then
46523 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46524 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46525 else
46526 cat >>confdefs.h <<\_ACEOF
46527 #define wxUSE_TOOLTIPS 1
46528 _ACEOF
46529
46530 fi
46531 fi
46532 fi
46533
46534 if test "$wxUSE_TREEBOOK" = "yes"; then
46535 cat >>confdefs.h <<\_ACEOF
46536 #define wxUSE_TREEBOOK 1
46537 _ACEOF
46538
46539 USES_CONTROLS=1
46540 fi
46541
46542 if test "$wxUSE_TOOLBOOK" = "yes"; then
46543 cat >>confdefs.h <<\_ACEOF
46544 #define wxUSE_TOOLBOOK 1
46545 _ACEOF
46546
46547 USES_CONTROLS=1
46548 fi
46549
46550 if test "$wxUSE_TREECTRL" = "yes"; then
46551 if test "$wxUSE_IMAGLIST" = "yes"; then
46552 cat >>confdefs.h <<\_ACEOF
46553 #define wxUSE_TREECTRL 1
46554 _ACEOF
46555
46556 USES_CONTROLS=1
46557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46558 else
46559 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46560 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46561 fi
46562 fi
46563
46564 if test "$wxUSE_POPUPWIN" = "yes"; then
46565 if test "$wxUSE_COCOA" = 1 ; then
46566 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46567 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46568 else
46569 if test "$wxUSE_PM" = 1; then
46570 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46571 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46572 else
46573 cat >>confdefs.h <<\_ACEOF
46574 #define wxUSE_POPUPWIN 1
46575 _ACEOF
46576
46577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46578
46579 USES_CONTROLS=1
46580 fi
46581 fi
46582 fi
46583
46584 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46585 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46586 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46587 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46588 else
46589 cat >>confdefs.h <<\_ACEOF
46590 #define wxUSE_DIALUP_MANAGER 1
46591 _ACEOF
46592
46593 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46594 fi
46595 fi
46596
46597 if test "$wxUSE_TIPWINDOW" = "yes"; then
46598 if test "$wxUSE_PM" = 1; then
46599 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46600 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46601 else
46602 cat >>confdefs.h <<\_ACEOF
46603 #define wxUSE_TIPWINDOW 1
46604 _ACEOF
46605
46606 fi
46607 fi
46608
46609 if test "$USES_CONTROLS" = 1; then
46610 cat >>confdefs.h <<\_ACEOF
46611 #define wxUSE_CONTROLS 1
46612 _ACEOF
46613
46614 fi
46615
46616
46617 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46618 cat >>confdefs.h <<\_ACEOF
46619 #define wxUSE_ACCESSIBILITY 1
46620 _ACEOF
46621
46622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46623 fi
46624
46625 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46626 cat >>confdefs.h <<\_ACEOF
46627 #define wxUSE_DRAGIMAGE 1
46628 _ACEOF
46629
46630 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46631 fi
46632
46633 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46634 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46635 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46636 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46637 else
46638 cat >>confdefs.h <<\_ACEOF
46639 #define wxUSE_EXCEPTIONS 1
46640 _ACEOF
46641
46642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46643 fi
46644 fi
46645
46646 USE_HTML=0
46647 if test "$wxUSE_HTML" = "yes"; then
46648 cat >>confdefs.h <<\_ACEOF
46649 #define wxUSE_HTML 1
46650 _ACEOF
46651
46652 USE_HTML=1
46653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46654 fi
46655 if test "$wxUSE_WEBKIT" = "yes"; then
46656 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46657 old_CPPFLAGS="$CPPFLAGS"
46658 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46659 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46660 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46661 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46662 echo $ECHO_N "(cached) $ECHO_C" >&6
46663 else
46664 cat >conftest.$ac_ext <<_ACEOF
46665 /* confdefs.h. */
46666 _ACEOF
46667 cat confdefs.h >>conftest.$ac_ext
46668 cat >>conftest.$ac_ext <<_ACEOF
46669 /* end confdefs.h. */
46670
46671 #include <Carbon/Carbon.h>
46672 #include <WebKit/WebKit.h>
46673
46674
46675 #include <WebKit/HIWebView.h>
46676 _ACEOF
46677 rm -f conftest.$ac_objext
46678 if { (ac_try="$ac_compile"
46679 case "(($ac_try" in
46680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46681 *) ac_try_echo=$ac_try;;
46682 esac
46683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46684 (eval "$ac_compile") 2>conftest.er1
46685 ac_status=$?
46686 grep -v '^ *+' conftest.er1 >conftest.err
46687 rm -f conftest.er1
46688 cat conftest.err >&5
46689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46690 (exit $ac_status); } && {
46691 test -z "$ac_c_werror_flag" ||
46692 test ! -s conftest.err
46693 } && test -s conftest.$ac_objext; then
46694 ac_cv_header_WebKit_HIWebView_h=yes
46695 else
46696 echo "$as_me: failed program was:" >&5
46697 sed 's/^/| /' conftest.$ac_ext >&5
46698
46699 ac_cv_header_WebKit_HIWebView_h=no
46700 fi
46701
46702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46703 fi
46704 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46705 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46706 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46707
46708 cat >>confdefs.h <<\_ACEOF
46709 #define wxUSE_WEBKIT 1
46710 _ACEOF
46711
46712 WEBKIT_LINK="-framework WebKit"
46713
46714 else
46715
46716 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46717 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46718 wxUSE_WEBKIT=no
46719
46720 fi
46721
46722
46723 CPPFLAGS="$old_CPPFLAGS"
46724 elif test "$wxUSE_COCOA" = 1; then
46725 cat >>confdefs.h <<\_ACEOF
46726 #define wxUSE_WEBKIT 1
46727 _ACEOF
46728
46729 else
46730 wxUSE_WEBKIT=no
46731 fi
46732 if test "$wxUSE_WEBKIT" = "yes"; then
46733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46734 fi
46735 fi
46736
46737 USE_XRC=0
46738 if test "$wxUSE_XRC" = "yes"; then
46739 if test "$wxUSE_XML" != "yes"; then
46740 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46741 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46742 wxUSE_XRC=no
46743 else
46744 cat >>confdefs.h <<\_ACEOF
46745 #define wxUSE_XRC 1
46746 _ACEOF
46747
46748 USE_XRC=1
46749 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46750 fi
46751 fi
46752
46753 USE_AUI=0
46754 if test "$wxUSE_AUI" = "yes"; then
46755 cat >>confdefs.h <<\_ACEOF
46756 #define wxUSE_AUI 1
46757 _ACEOF
46758
46759 USE_AUI=1
46760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46761 fi
46762
46763 USE_PROPGRID=0
46764 if test "$wxUSE_PROPGRID" = "yes"; then
46765 cat >>confdefs.h <<\_ACEOF
46766 #define wxUSE_PROPGRID 1
46767 _ACEOF
46768
46769 USE_PROPGRID=1
46770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46771 fi
46772
46773 USE_RIBBON=0
46774 if test "$wxUSE_RIBBON" = "yes"; then
46775 cat >>confdefs.h <<\_ACEOF
46776 #define wxUSE_RIBBON 1
46777 _ACEOF
46778
46779 USE_RIBBON=1
46780 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
46781 fi
46782
46783 USE_STC=0
46784 if test "$wxUSE_STC" = "yes"; then
46785 cat >>confdefs.h <<\_ACEOF
46786 #define wxUSE_STC 1
46787 _ACEOF
46788
46789 USE_STC=1
46790 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46791
46792 # Extract the first word of "python", so it can be a program name with args.
46793 set dummy python; ac_word=$2
46794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46796 if test "${ac_cv_path_PYTHON+set}" = set; then
46797 echo $ECHO_N "(cached) $ECHO_C" >&6
46798 else
46799 case $PYTHON in
46800 [\\/]* | ?:[\\/]*)
46801 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46802 ;;
46803 *)
46804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46805 for as_dir in $PATH
46806 do
46807 IFS=$as_save_IFS
46808 test -z "$as_dir" && as_dir=.
46809 for ac_exec_ext in '' $ac_executable_extensions; do
46810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46811 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46813 break 2
46814 fi
46815 done
46816 done
46817 IFS=$as_save_IFS
46818
46819 ;;
46820 esac
46821 fi
46822 PYTHON=$ac_cv_path_PYTHON
46823 if test -n "$PYTHON"; then
46824 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46825 echo "${ECHO_T}$PYTHON" >&6; }
46826 else
46827 { echo "$as_me:$LINENO: result: no" >&5
46828 echo "${ECHO_T}no" >&6; }
46829 fi
46830
46831
46832 if test "x$PYTHON" = "x"; then
46833 COND_PYTHON="#"
46834 fi
46835
46836 fi
46837
46838 if test "$wxUSE_MENUS" = "yes"; then
46839 cat >>confdefs.h <<\_ACEOF
46840 #define wxUSE_MENUS 1
46841 _ACEOF
46842
46843 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46844 fi
46845
46846 if test "$wxUSE_METAFILE" = "yes"; then
46847 cat >>confdefs.h <<\_ACEOF
46848 #define wxUSE_METAFILE 1
46849 _ACEOF
46850
46851 fi
46852
46853 if test "$wxUSE_MIMETYPE" = "yes"; then
46854 cat >>confdefs.h <<\_ACEOF
46855 #define wxUSE_MIMETYPE 1
46856 _ACEOF
46857
46858 fi
46859
46860 if test "$wxUSE_MINIFRAME" = "yes"; then
46861 cat >>confdefs.h <<\_ACEOF
46862 #define wxUSE_MINIFRAME 1
46863 _ACEOF
46864
46865 fi
46866
46867 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46868 cat >>confdefs.h <<\_ACEOF
46869 #define wxUSE_SYSTEM_OPTIONS 1
46870 _ACEOF
46871
46872 fi
46873
46874 if test "$wxUSE_TASKBARICON" = "yes"; then
46875 cat >>confdefs.h <<\_ACEOF
46876 #define wxUSE_TASKBARICON 1
46877 _ACEOF
46878
46879 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46880 fi
46881
46882
46883 if test "$wxUSE_VALIDATORS" = "yes"; then
46884 cat >>confdefs.h <<\_ACEOF
46885 #define wxUSE_VALIDATORS 1
46886 _ACEOF
46887
46888 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46889 fi
46890
46891 if test "$wxUSE_PALETTE" = "yes" ; then
46892 if test "$wxUSE_DFB" = 1; then
46893 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46894 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46895 wxUSE_PALETTE=no
46896 else
46897 cat >>confdefs.h <<\_ACEOF
46898 #define wxUSE_PALETTE 1
46899 _ACEOF
46900
46901 fi
46902 fi
46903
46904 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46905 LIBS=" -lunicows $LIBS"
46906 fi
46907
46908 USE_RICHTEXT=0
46909 if test "$wxUSE_RICHTEXT" = "yes"; then
46910 cat >>confdefs.h <<\_ACEOF
46911 #define wxUSE_RICHTEXT 1
46912 _ACEOF
46913
46914 USE_RICHTEXT=1
46915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46916 fi
46917
46918
46919 if test "$wxUSE_IMAGE" = "yes" ; then
46920 cat >>confdefs.h <<\_ACEOF
46921 #define wxUSE_IMAGE 1
46922 _ACEOF
46923
46924
46925 if test "$wxUSE_GIF" = "yes" ; then
46926 cat >>confdefs.h <<\_ACEOF
46927 #define wxUSE_GIF 1
46928 _ACEOF
46929
46930 fi
46931
46932 if test "$wxUSE_PCX" = "yes" ; then
46933 cat >>confdefs.h <<\_ACEOF
46934 #define wxUSE_PCX 1
46935 _ACEOF
46936
46937 fi
46938
46939 if test "$wxUSE_TGA" = "yes" ; then
46940 cat >>confdefs.h <<\_ACEOF
46941 #define wxUSE_TGA 1
46942 _ACEOF
46943
46944 fi
46945
46946 if test "$wxUSE_IFF" = "yes" ; then
46947 cat >>confdefs.h <<\_ACEOF
46948 #define wxUSE_IFF 1
46949 _ACEOF
46950
46951 fi
46952
46953 if test "$wxUSE_PNM" = "yes" ; then
46954 cat >>confdefs.h <<\_ACEOF
46955 #define wxUSE_PNM 1
46956 _ACEOF
46957
46958 fi
46959
46960 if test "$wxUSE_XPM" = "yes" ; then
46961 cat >>confdefs.h <<\_ACEOF
46962 #define wxUSE_XPM 1
46963 _ACEOF
46964
46965 fi
46966
46967 if test "$wxUSE_ICO_CUR" = "yes" ; then
46968 cat >>confdefs.h <<\_ACEOF
46969 #define wxUSE_ICO_CUR 1
46970 _ACEOF
46971
46972 fi
46973 fi
46974
46975
46976 if test "$wxUSE_ABOUTDLG" = "yes"; then
46977 cat >>confdefs.h <<\_ACEOF
46978 #define wxUSE_ABOUTDLG 1
46979 _ACEOF
46980
46981 fi
46982
46983 if test "$wxUSE_CHOICEDLG" = "yes"; then
46984 cat >>confdefs.h <<\_ACEOF
46985 #define wxUSE_CHOICEDLG 1
46986 _ACEOF
46987
46988 fi
46989
46990 if test "$wxUSE_COLOURDLG" = "yes"; then
46991 cat >>confdefs.h <<\_ACEOF
46992 #define wxUSE_COLOURDLG 1
46993 _ACEOF
46994
46995 fi
46996
46997 if test "$wxUSE_FILEDLG" = "yes"; then
46998 cat >>confdefs.h <<\_ACEOF
46999 #define wxUSE_FILEDLG 1
47000 _ACEOF
47001
47002 fi
47003
47004 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47005 cat >>confdefs.h <<\_ACEOF
47006 #define wxUSE_FINDREPLDLG 1
47007 _ACEOF
47008
47009 fi
47010
47011 if test "$wxUSE_FONTDLG" = "yes"; then
47012 cat >>confdefs.h <<\_ACEOF
47013 #define wxUSE_FONTDLG 1
47014 _ACEOF
47015
47016 fi
47017
47018 if test "$wxUSE_DIRDLG" = "yes"; then
47019 if test "$wxUSE_TREECTRL" != "yes"; then
47020 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47021 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47022 else
47023 cat >>confdefs.h <<\_ACEOF
47024 #define wxUSE_DIRDLG 1
47025 _ACEOF
47026
47027 fi
47028 fi
47029
47030 if test "$wxUSE_MSGDLG" = "yes"; then
47031 cat >>confdefs.h <<\_ACEOF
47032 #define wxUSE_MSGDLG 1
47033 _ACEOF
47034
47035 fi
47036
47037 if test "$wxUSE_NUMBERDLG" = "yes"; then
47038 cat >>confdefs.h <<\_ACEOF
47039 #define wxUSE_NUMBERDLG 1
47040 _ACEOF
47041
47042 fi
47043
47044 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47045 cat >>confdefs.h <<\_ACEOF
47046 #define wxUSE_PROGRESSDLG 1
47047 _ACEOF
47048
47049 fi
47050
47051 if test "$wxUSE_SPLASH" = "yes"; then
47052 cat >>confdefs.h <<\_ACEOF
47053 #define wxUSE_SPLASH 1
47054 _ACEOF
47055
47056 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47057 fi
47058
47059 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47060 cat >>confdefs.h <<\_ACEOF
47061 #define wxUSE_STARTUP_TIPS 1
47062 _ACEOF
47063
47064 fi
47065
47066 if test "$wxUSE_TEXTDLG" = "yes"; then
47067 cat >>confdefs.h <<\_ACEOF
47068 #define wxUSE_TEXTDLG 1
47069 _ACEOF
47070
47071 fi
47072
47073 if test "$wxUSE_WIZARDDLG" = "yes"; then
47074 cat >>confdefs.h <<\_ACEOF
47075 #define wxUSE_WIZARDDLG 1
47076 _ACEOF
47077
47078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47079 fi
47080
47081
47082 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47083 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47084 cat >>confdefs.h <<\_ACEOF
47085 #define wxUSE_OWNER_DRAWN 1
47086 _ACEOF
47087
47088 fi
47089 fi
47090
47091
47092 if test "$wxUSE_MSW" = 1 ; then
47093
47094 if test "$wxUSE_DC_CACHEING" = "yes"; then
47095 cat >>confdefs.h <<\_ACEOF
47096 #define wxUSE_DC_CACHEING 1
47097 _ACEOF
47098
47099 fi
47100
47101 if test "$wxUSE_DIB" = "yes"; then
47102 cat >>confdefs.h <<\_ACEOF
47103 #define wxUSE_WXDIB 1
47104 _ACEOF
47105
47106 fi
47107
47108 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47109 cat >>confdefs.h <<\_ACEOF
47110 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47111 _ACEOF
47112
47113 fi
47114
47115 if test "$wxUSE_UXTHEME" = "yes"; then
47116 cat >>confdefs.h <<\_ACEOF
47117 #define wxUSE_UXTHEME 1
47118 _ACEOF
47119
47120 fi
47121
47122 fi
47123
47124 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47125 cat >>confdefs.h <<\_ACEOF
47126 #define wxUSE_AUTOID_MANAGEMENT 1
47127 _ACEOF
47128
47129 fi
47130
47131 if test "$USE_WIN32" = 1 ; then
47132 if test "$wxUSE_INICONF" = "yes"; then
47133 cat >>confdefs.h <<\_ACEOF
47134 #define wxUSE_INICONF 1
47135 _ACEOF
47136
47137 fi
47138
47139 if test "$wxUSE_REGKEY" = "yes"; then
47140 cat >>confdefs.h <<\_ACEOF
47141 #define wxUSE_REGKEY 1
47142 _ACEOF
47143
47144 fi
47145 fi
47146
47147
47148 if test "$wxUSE_MAC" = 1; then
47149 wxUSE_GRAPHICS_CONTEXT="yes"
47150 fi
47151
47152 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47153 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
47154 cat >>confdefs.h <<\_ACEOF
47155 #define wxUSE_GRAPHICS_CONTEXT 1
47156 _ACEOF
47157
47158 elif test "$wxUSE_GTK" != 1; then
47159 cat >>confdefs.h <<\_ACEOF
47160 #define wxUSE_GRAPHICS_CONTEXT 1
47161 _ACEOF
47162
47163 else
47164
47165 pkg_failed=no
47166 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47167 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47168
47169 if test -n "$PKG_CONFIG"; then
47170 if test -n "$CAIRO_CFLAGS"; then
47171 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47172 else
47173 if test -n "$PKG_CONFIG" && \
47174 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47175 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47176 ac_status=$?
47177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47178 (exit $ac_status); }; then
47179 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47180 else
47181 pkg_failed=yes
47182 fi
47183 fi
47184 else
47185 pkg_failed=untried
47186 fi
47187 if test -n "$PKG_CONFIG"; then
47188 if test -n "$CAIRO_LIBS"; then
47189 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47190 else
47191 if test -n "$PKG_CONFIG" && \
47192 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47193 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47194 ac_status=$?
47195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47196 (exit $ac_status); }; then
47197 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47198 else
47199 pkg_failed=yes
47200 fi
47201 fi
47202 else
47203 pkg_failed=untried
47204 fi
47205
47206
47207
47208 if test $pkg_failed = yes; then
47209
47210 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47211 _pkg_short_errors_supported=yes
47212 else
47213 _pkg_short_errors_supported=no
47214 fi
47215 if test $_pkg_short_errors_supported = yes; then
47216 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47217 else
47218 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47219 fi
47220 # Put the nasty error message in config.log where it belongs
47221 echo "$CAIRO_PKG_ERRORS" >&5
47222
47223 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47224 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47225
47226 elif test $pkg_failed = untried; then
47227 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47228 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47229
47230 else
47231 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47232 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47233 { echo "$as_me:$LINENO: result: yes" >&5
47234 echo "${ECHO_T}yes" >&6; }
47235 cat >>confdefs.h <<\_ACEOF
47236 #define wxUSE_GRAPHICS_CONTEXT 1
47237 _ACEOF
47238
47239 fi
47240 fi
47241 fi
47242
47243
47244 USE_MEDIA=0
47245
47246 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
47247 USE_MEDIA=1
47248
47249 if test "$wxUSE_GTK" = 1; then
47250 wxUSE_GSTREAMER="no"
47251
47252 GST_VERSION_MAJOR=0
47253 GST_VERSION_MINOR=10
47254 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47255
47256 if test "$wxUSE_GSTREAMER8" = "no"; then
47257
47258 pkg_failed=no
47259 { echo "$as_me:$LINENO: checking for GST" >&5
47260 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47261
47262 if test -n "$PKG_CONFIG"; then
47263 if test -n "$GST_CFLAGS"; then
47264 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47265 else
47266 if test -n "$PKG_CONFIG" && \
47267 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47268 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47269 ac_status=$?
47270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47271 (exit $ac_status); }; then
47272 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47273 else
47274 pkg_failed=yes
47275 fi
47276 fi
47277 else
47278 pkg_failed=untried
47279 fi
47280 if test -n "$PKG_CONFIG"; then
47281 if test -n "$GST_LIBS"; then
47282 pkg_cv_GST_LIBS="$GST_LIBS"
47283 else
47284 if test -n "$PKG_CONFIG" && \
47285 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47286 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47287 ac_status=$?
47288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47289 (exit $ac_status); }; then
47290 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47291 else
47292 pkg_failed=yes
47293 fi
47294 fi
47295 else
47296 pkg_failed=untried
47297 fi
47298
47299
47300
47301 if test $pkg_failed = yes; then
47302
47303 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47304 _pkg_short_errors_supported=yes
47305 else
47306 _pkg_short_errors_supported=no
47307 fi
47308 if test $_pkg_short_errors_supported = yes; then
47309 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47310 else
47311 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47312 fi
47313 # Put the nasty error message in config.log where it belongs
47314 echo "$GST_PKG_ERRORS" >&5
47315
47316
47317 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47318 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47319 GST_VERSION_MINOR=8
47320
47321
47322 elif test $pkg_failed = untried; then
47323
47324 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47325 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47326 GST_VERSION_MINOR=8
47327
47328
47329 else
47330 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47331 GST_LIBS=$pkg_cv_GST_LIBS
47332 { echo "$as_me:$LINENO: result: yes" >&5
47333 echo "${ECHO_T}yes" >&6; }
47334
47335 wxUSE_GSTREAMER="yes"
47336 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47337
47338 fi
47339 else
47340 GST_VERSION_MINOR=8
47341 fi
47342
47343 if test $GST_VERSION_MINOR = "8"; then
47344 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47345
47346 pkg_failed=no
47347 { echo "$as_me:$LINENO: checking for GST" >&5
47348 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47349
47350 if test -n "$PKG_CONFIG"; then
47351 if test -n "$GST_CFLAGS"; then
47352 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47353 else
47354 if test -n "$PKG_CONFIG" && \
47355 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47356 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47357 ac_status=$?
47358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47359 (exit $ac_status); }; then
47360 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47361 else
47362 pkg_failed=yes
47363 fi
47364 fi
47365 else
47366 pkg_failed=untried
47367 fi
47368 if test -n "$PKG_CONFIG"; then
47369 if test -n "$GST_LIBS"; then
47370 pkg_cv_GST_LIBS="$GST_LIBS"
47371 else
47372 if test -n "$PKG_CONFIG" && \
47373 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47374 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47375 ac_status=$?
47376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47377 (exit $ac_status); }; then
47378 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47379 else
47380 pkg_failed=yes
47381 fi
47382 fi
47383 else
47384 pkg_failed=untried
47385 fi
47386
47387
47388
47389 if test $pkg_failed = yes; then
47390
47391 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47392 _pkg_short_errors_supported=yes
47393 else
47394 _pkg_short_errors_supported=no
47395 fi
47396 if test $_pkg_short_errors_supported = yes; then
47397 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47398 else
47399 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47400 fi
47401 # Put the nasty error message in config.log where it belongs
47402 echo "$GST_PKG_ERRORS" >&5
47403
47404
47405 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47406 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47407
47408 elif test $pkg_failed = untried; then
47409
47410 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47411 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47412
47413 else
47414 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47415 GST_LIBS=$pkg_cv_GST_LIBS
47416 { echo "$as_me:$LINENO: result: yes" >&5
47417 echo "${ECHO_T}yes" >&6; }
47418 wxUSE_GSTREAMER="yes"
47419 fi
47420 fi
47421
47422
47423 if test "$wxUSE_GSTREAMER" = "yes"; then
47424 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47425 EXTRALIBS_MEDIA="$GST_LIBS"
47426
47427 cat >>confdefs.h <<\_ACEOF
47428 #define wxUSE_GSTREAMER 1
47429 _ACEOF
47430
47431 else
47432 USE_MEDIA=0
47433 fi
47434 fi
47435
47436 if test $USE_MEDIA = 1; then
47437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47438 cat >>confdefs.h <<\_ACEOF
47439 #define wxUSE_MEDIACTRL 1
47440 _ACEOF
47441
47442 else
47443 if test "$wxUSE_MEDIACTRL" = "yes"; then
47444 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47445 echo "$as_me: error: GStreamer not available" >&2;}
47446 { (exit 1); exit 1; }; }
47447 else
47448 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47449 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47450 fi
47451 fi
47452 fi
47453
47454
47455 if test "$cross_compiling" != "no"; then
47456 OSINFO="\"$host\""
47457 else
47458 OSINFO=`uname -s -r -m`
47459 OSINFO="\"$OSINFO\""
47460 fi
47461
47462 cat >>confdefs.h <<_ACEOF
47463 #define WXWIN_OS_DESCRIPTION $OSINFO
47464 _ACEOF
47465
47466
47467
47468 if test "x$prefix" != "xNONE"; then
47469 wxPREFIX=$prefix
47470 else
47471 wxPREFIX=$ac_default_prefix
47472 fi
47473
47474 cat >>confdefs.h <<_ACEOF
47475 #define wxINSTALL_PREFIX "$wxPREFIX"
47476 _ACEOF
47477
47478
47479
47480
47481 STD_BASE_LIBS="base"
47482 STD_GUI_LIBS=""
47483 BUILT_WX_LIBS="base"
47484 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47485
47486 if test "$wxUSE_SOCKETS" = "yes" ; then
47487 STD_BASE_LIBS="net $STD_BASE_LIBS"
47488 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47489 fi
47490 if test "$wxUSE_XML" = "yes" ; then
47491 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47492 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47493 fi
47494
47495 if test "$wxUSE_GUI" = "yes"; then
47496 STD_GUI_LIBS="adv core"
47497 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47498
47499 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47500 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47501 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47502 fi
47503 if test "$wxUSE_HTML" = "yes" ; then
47504 STD_GUI_LIBS="html $STD_GUI_LIBS"
47505 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47506 fi
47507 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47508 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47509 fi
47510 if test "$wxUSE_OPENGL" = "yes" ; then
47511 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47512 fi
47513 if test "$wxUSE_AUI" = "yes" ; then
47514 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47515 fi
47516 if test "$wxUSE_PROPGRID" = "yes" ; then
47517 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47518 fi
47519 if test "$wxUSE_RIBBON" = "yes" ; then
47520 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
47521 fi
47522 if test "$wxUSE_RICHTEXT" = "yes" ; then
47523 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47524 fi
47525 if test "$wxUSE_STC" = "yes" ; then
47526 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47527 fi
47528 if test "$wxUSE_XRC" = "yes" ; then
47529 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47530 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47531 fi
47532 fi
47533
47534
47535
47536
47537
47538
47539
47540 EXTRA_FRAMEWORKS=
47541 if test "$wxUSE_MAC" = 1 ; then
47542 if test "$USE_DARWIN" = 1; then
47543 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
47544 fi
47545 fi
47546 if test "$wxUSE_COCOA" = 1 ; then
47547 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
47548 if test "$wxUSE_MEDIACTRL" = "yes"; then
47549 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
47550 fi
47551 fi
47552 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47553 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47554 fi
47555
47556 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
47557 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
47558
47559 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47560
47561 if test "$wxUSE_GUI" = "yes"; then
47562
47563
47564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47565 erase event exec font image minimal render \
47566 shaped svg taborder vscroll widgets wrapsizer"
47567
47568 if test "$wxUSE_MONOLITHIC" != "yes"; then
47569 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47570 fi
47571 if test "$TOOLKIT" = "MSW"; then
47572 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47573 if test "$wxUSE_UNIVERSAL" != "yes"; then
47574 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47575 fi
47576 fi
47577 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47579 fi
47580 else
47581 SAMPLES_SUBDIRS="console"
47582 if test "$wxUSE_SOCKETS" = "yes" ; then
47583 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47584 fi
47585 if test "$wxUSE_IPC" = "yes" ; then
47586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47587 fi
47588 fi
47589
47590
47591 if test "x$INTELCC" = "xyes" ; then
47592 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47593 elif test "$GCC" = yes ; then
47594 CWARNINGS="-Wall -Wundef"
47595 fi
47596
47597 if test "x$INTELCXX" = "xyes" ; then
47598 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47599 elif test "$GXX" = yes ; then
47600 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47601 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47602 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47603 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47604 echo $ECHO_N "(cached) $ECHO_C" >&6
47605 else
47606 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47607
47608 ac_ext=cpp
47609 ac_cpp='$CXXCPP $CPPFLAGS'
47610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47613
47614 ac_save_CXXFLAGS="$CXXFLAGS"
47615 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47616 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47617 cat >conftest.$ac_ext <<_ACEOF
47618 /* confdefs.h. */
47619 _ACEOF
47620 cat confdefs.h >>conftest.$ac_ext
47621 cat >>conftest.$ac_ext <<_ACEOF
47622 /* end confdefs.h. */
47623
47624 int
47625 main ()
47626 {
47627 return 0;
47628 ;
47629 return 0;
47630 }
47631 _ACEOF
47632 rm -f conftest.$ac_objext
47633 if { (ac_try="$ac_compile"
47634 case "(($ac_try" in
47635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47636 *) ac_try_echo=$ac_try;;
47637 esac
47638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47639 (eval "$ac_compile") 2>conftest.er1
47640 ac_status=$?
47641 grep -v '^ *+' conftest.er1 >conftest.err
47642 rm -f conftest.er1
47643 cat conftest.err >&5
47644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47645 (exit $ac_status); } && {
47646 test -z "$ac_cxx_werror_flag" ||
47647 test ! -s conftest.err
47648 } && test -s conftest.$ac_objext; then
47649 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47650 else
47651 echo "$as_me: failed program was:" >&5
47652 sed 's/^/| /' conftest.$ac_ext >&5
47653
47654
47655 fi
47656
47657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47658 done
47659 CXXFLAGS="$ac_save_CXXFLAGS"
47660 ac_ext=c
47661 ac_cpp='$CPP $CPPFLAGS'
47662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47665
47666
47667 fi
47668 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47669 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47670 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47671 .ok|.ok,*) ;;
47672 .|.no|.no,*) ;;
47673 *)
47674 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47675 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47676 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47677 ac_status=$?
47678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47679 (exit $ac_status); }
47680 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47681 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47682 ac_status=$?
47683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47684 (exit $ac_status); }
47685 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47686 fi
47687 ;;
47688 esac
47689
47690
47691 if test "$wxUSE_MAC" = 1 ; then
47692 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
47693 fi
47694 fi
47695
47696
47697 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47698 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47699
47700
47701 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47702 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47703 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47704 $CPPFLAGS `
47705
47706 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47707 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47708 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47709 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47710 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47711
47712 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47713
47714
47715 if test "x$MWCC" = "xyes"; then
47716
47717 CC="$CC -cwd source -I-"
47718 CXX="$CXX -cwd source -I-"
47719 fi
47720
47721
47722 LIBS=`echo $LIBS`
47723 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47724 EXTRALIBS_XML="$EXPAT_LINK"
47725 EXTRALIBS_HTML="$MSPACK_LINK"
47726 EXTRALIBS_MEDIA="$GST_LIBS"
47727 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47728 if test "$wxUSE_GUI" = "yes"; then
47729 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47730 fi
47731 if test "$wxUSE_OPENGL" = "yes"; then
47732 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47733 fi
47734
47735 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47736
47737 WXCONFIG_LIBS="$LIBS"
47738
47739 if test "$wxUSE_REGEX" = "builtin" ; then
47740 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47741 fi
47742 if test "$wxUSE_EXPAT" = "builtin" ; then
47743 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47744 fi
47745 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47746 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47747 fi
47748 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47749 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47750 fi
47751 if test "$wxUSE_LIBPNG" = "builtin" ; then
47752 wxconfig_3rdparty="png $wxconfig_3rdparty"
47753 fi
47754 if test "$wxUSE_ZLIB" = "builtin" ; then
47755 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47756 fi
47757
47758 for i in $wxconfig_3rdparty ; do
47759 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47760 done
47761
47762
47763 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47764 WXUNIV=1
47765
47766 case "$wxUNIV_THEMES" in
47767 ''|all)
47768 cat >>confdefs.h <<\_ACEOF
47769 #define wxUSE_ALL_THEMES 1
47770 _ACEOF
47771
47772 ;;
47773
47774 *)
47775 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47776 cat >>confdefs.h <<_ACEOF
47777 #define wxUSE_THEME_$t 1
47778 _ACEOF
47779
47780 done
47781 esac
47782 else
47783 WXUNIV=0
47784 fi
47785
47786
47787
47788
47789
47790
47791
47792
47793 if test $wxUSE_MONOLITHIC = "yes" ; then
47794 MONOLITHIC=1
47795 else
47796 MONOLITHIC=0
47797 fi
47798
47799 if test $wxUSE_PLUGINS = "yes" ; then
47800 USE_PLUGINS=1
47801 else
47802 USE_PLUGINS=0
47803 fi
47804
47805 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47806 USE_QA=1
47807 else
47808 USE_QA=0
47809 fi
47810
47811 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47812 OFFICIAL_BUILD=1
47813 else
47814 OFFICIAL_BUILD=0
47815 fi
47816
47817
47818
47819
47820
47821
47822
47823
47824
47825
47826
47827
47828
47829
47830
47831
47832
47833
47834
47835
47836
47837
47838
47839
47840
47841
47842
47843 TOOLKIT_LOWERCASE=xxx
47844 if test "$TOOLKIT" = "MAC"; then
47845 TOOLKIT_LOWERCASE=osx_carbon
47846 fi
47847 if test "$TOOLKIT" = "OSX_CARBON"; then
47848 TOOLKIT_LOWERCASE=osx_carbon
47849 fi
47850 if test "$TOOLKIT" = "OSX_COCOA"; then
47851 TOOLKIT_LOWERCASE=osx_cocoa
47852 fi
47853 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47854 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47855 fi
47856
47857
47858
47859
47860
47861
47862
47863
47864
47865
47866 case "$TOOLKIT" in
47867 GTK)
47868 TOOLKIT_DESC="GTK+"
47869 if test "$WXGTK2" = 1; then
47870 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47871 if test "$wxUSE_GTKPRINT" = "yes" ; then
47872 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47873 fi
47874 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47875 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47876 fi
47877 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47878 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47879 fi
47880 if test "$wxUSE_LIBHILDON" = "yes"; then
47881 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47882 fi
47883 if test "$wxUSE_LIBHILDON2" = "yes"; then
47884 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47885 fi
47886
47887 if test "$TOOLKIT_EXTRA" != ""; then
47888 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47889 fi
47890 fi
47891 ;;
47892
47893 ?*)
47894 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47895 ;;
47896
47897 *)
47898 TOOLKIT_DESC="base only"
47899 ;;
47900 esac
47901
47902 if test "$wxUSE_WINE" = "yes"; then
47903 BAKEFILE_FORCE_PLATFORM=win32
47904 fi
47905
47906 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47907 then
47908 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47909 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47910 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47911 echo $ECHO_N "(cached) $ECHO_C" >&6
47912 else
47913
47914 echo '#include <stdio.h>
47915 const wchar_t test_var[] = L"awidetest";' > conftest.h
47916
47917 echo '#include "conftest.h"
47918 int main()
47919 {
47920 printf("%ls", test_var);
47921 return 0;
47922 }' > conftest.cpp
47923
47924 wx_cv_gcc_pch_bug="pch not supported"
47925
47926 if $CXX conftest.h >/dev/null 2>&1
47927 then
47928 wx_cv_gcc_pch_bug=
47929
47930 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47931 then
47932 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47933 grep awidetest >/dev/null
47934 then
47935 wx_cv_gcc_pch_bug=no
47936 else
47937 wx_cv_gcc_pch_bug=yes
47938 fi
47939 fi
47940 fi
47941
47942 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47943
47944 fi
47945 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47946 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47947
47948 if test "$wx_cv_gcc_pch_bug" = yes; then
47949 bk_use_pch=no
47950 fi
47951 fi
47952
47953
47954
47955
47956
47957
47958
47959 if test "x$BAKEFILE_HOST" = "x"; then
47960 if test "x${host}" = "x" ; then
47961 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47962 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47963 { (exit 1); exit 1; }; }
47964 fi
47965
47966 BAKEFILE_HOST="${host}"
47967 fi
47968
47969 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47970
47971 if test -n "$ac_tool_prefix"; then
47972 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47973 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47976 if test "${ac_cv_prog_RANLIB+set}" = set; then
47977 echo $ECHO_N "(cached) $ECHO_C" >&6
47978 else
47979 if test -n "$RANLIB"; then
47980 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47981 else
47982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47983 for as_dir in $PATH
47984 do
47985 IFS=$as_save_IFS
47986 test -z "$as_dir" && as_dir=.
47987 for ac_exec_ext in '' $ac_executable_extensions; do
47988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47989 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47991 break 2
47992 fi
47993 done
47994 done
47995 IFS=$as_save_IFS
47996
47997 fi
47998 fi
47999 RANLIB=$ac_cv_prog_RANLIB
48000 if test -n "$RANLIB"; then
48001 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48002 echo "${ECHO_T}$RANLIB" >&6; }
48003 else
48004 { echo "$as_me:$LINENO: result: no" >&5
48005 echo "${ECHO_T}no" >&6; }
48006 fi
48007
48008
48009 fi
48010 if test -z "$ac_cv_prog_RANLIB"; then
48011 ac_ct_RANLIB=$RANLIB
48012 # Extract the first word of "ranlib", so it can be a program name with args.
48013 set dummy ranlib; ac_word=$2
48014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48016 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48017 echo $ECHO_N "(cached) $ECHO_C" >&6
48018 else
48019 if test -n "$ac_ct_RANLIB"; then
48020 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48021 else
48022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48023 for as_dir in $PATH
48024 do
48025 IFS=$as_save_IFS
48026 test -z "$as_dir" && as_dir=.
48027 for ac_exec_ext in '' $ac_executable_extensions; do
48028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48029 ac_cv_prog_ac_ct_RANLIB="ranlib"
48030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48031 break 2
48032 fi
48033 done
48034 done
48035 IFS=$as_save_IFS
48036
48037 fi
48038 fi
48039 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48040 if test -n "$ac_ct_RANLIB"; then
48041 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48042 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48043 else
48044 { echo "$as_me:$LINENO: result: no" >&5
48045 echo "${ECHO_T}no" >&6; }
48046 fi
48047
48048 if test "x$ac_ct_RANLIB" = x; then
48049 RANLIB=":"
48050 else
48051 case $cross_compiling:$ac_tool_warned in
48052 yes:)
48053 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48054 whose name does not start with the host triplet. If you think this
48055 configuration is useful to you, please write to autoconf@gnu.org." >&5
48056 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48057 whose name does not start with the host triplet. If you think this
48058 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48059 ac_tool_warned=yes ;;
48060 esac
48061 RANLIB=$ac_ct_RANLIB
48062 fi
48063 else
48064 RANLIB="$ac_cv_prog_RANLIB"
48065 fi
48066
48067 # Find a good install program. We prefer a C program (faster),
48068 # so one script is as good as another. But avoid the broken or
48069 # incompatible versions:
48070 # SysV /etc/install, /usr/sbin/install
48071 # SunOS /usr/etc/install
48072 # IRIX /sbin/install
48073 # AIX /bin/install
48074 # AmigaOS /C/install, which installs bootblocks on floppy discs
48075 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48076 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48077 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48078 # OS/2's system install, which has a completely different semantic
48079 # ./install, which can be erroneously created by make from ./install.sh.
48080 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48081 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48082 if test -z "$INSTALL"; then
48083 if test "${ac_cv_path_install+set}" = set; then
48084 echo $ECHO_N "(cached) $ECHO_C" >&6
48085 else
48086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48087 for as_dir in $PATH
48088 do
48089 IFS=$as_save_IFS
48090 test -z "$as_dir" && as_dir=.
48091 # Account for people who put trailing slashes in PATH elements.
48092 case $as_dir/ in
48093 ./ | .// | /cC/* | \
48094 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48095 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48096 /usr/ucb/* ) ;;
48097 *)
48098 # OSF1 and SCO ODT 3.0 have their own names for install.
48099 # Don't use installbsd from OSF since it installs stuff as root
48100 # by default.
48101 for ac_prog in ginstall scoinst install; do
48102 for ac_exec_ext in '' $ac_executable_extensions; do
48103 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48104 if test $ac_prog = install &&
48105 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48106 # AIX install. It has an incompatible calling convention.
48107 :
48108 elif test $ac_prog = install &&
48109 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48110 # program-specific install script used by HP pwplus--don't use.
48111 :
48112 else
48113 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48114 break 3
48115 fi
48116 fi
48117 done
48118 done
48119 ;;
48120 esac
48121 done
48122 IFS=$as_save_IFS
48123
48124
48125 fi
48126 if test "${ac_cv_path_install+set}" = set; then
48127 INSTALL=$ac_cv_path_install
48128 else
48129 # As a last resort, use the slow shell script. Don't cache a
48130 # value for INSTALL within a source directory, because that will
48131 # break other packages using the cache if that directory is
48132 # removed, or if the value is a relative name.
48133 INSTALL=$ac_install_sh
48134 fi
48135 fi
48136 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48137 echo "${ECHO_T}$INSTALL" >&6; }
48138
48139 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48140 # It thinks the first close brace ends the variable substitution.
48141 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48142
48143 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48144
48145 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48146
48147 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48148 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48149 LN_S=$as_ln_s
48150 if test "$LN_S" = "ln -s"; then
48151 { echo "$as_me:$LINENO: result: yes" >&5
48152 echo "${ECHO_T}yes" >&6; }
48153 else
48154 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48155 echo "${ECHO_T}no, using $LN_S" >&6; }
48156 fi
48157
48158
48159 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48160 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48161 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48162 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48163 echo $ECHO_N "(cached) $ECHO_C" >&6
48164 else
48165 cat >conftest.make <<\_ACEOF
48166 SHELL = /bin/sh
48167 all:
48168 @echo '@@@%%%=$(MAKE)=@@@%%%'
48169 _ACEOF
48170 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48171 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48172 *@@@%%%=?*=@@@%%%*)
48173 eval ac_cv_prog_make_${ac_make}_set=yes;;
48174 *)
48175 eval ac_cv_prog_make_${ac_make}_set=no;;
48176 esac
48177 rm -f conftest.make
48178 fi
48179 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48180 { echo "$as_me:$LINENO: result: yes" >&5
48181 echo "${ECHO_T}yes" >&6; }
48182 SET_MAKE=
48183 else
48184 { echo "$as_me:$LINENO: result: no" >&5
48185 echo "${ECHO_T}no" >&6; }
48186 SET_MAKE="MAKE=${MAKE-make}"
48187 fi
48188
48189
48190
48191 if test "x$SUNCXX" = "xyes"; then
48192 AR=$CXX
48193 AROPTIONS="-xar -o"
48194
48195 elif test "x$SGICC" = "xyes"; then
48196 AR=$CXX
48197 AROPTIONS="-ar -o"
48198
48199 else
48200 if test -n "$ac_tool_prefix"; then
48201 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48202 set dummy ${ac_tool_prefix}ar; ac_word=$2
48203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48205 if test "${ac_cv_prog_AR+set}" = set; then
48206 echo $ECHO_N "(cached) $ECHO_C" >&6
48207 else
48208 if test -n "$AR"; then
48209 ac_cv_prog_AR="$AR" # Let the user override the test.
48210 else
48211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48212 for as_dir in $PATH
48213 do
48214 IFS=$as_save_IFS
48215 test -z "$as_dir" && as_dir=.
48216 for ac_exec_ext in '' $ac_executable_extensions; do
48217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48218 ac_cv_prog_AR="${ac_tool_prefix}ar"
48219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48220 break 2
48221 fi
48222 done
48223 done
48224 IFS=$as_save_IFS
48225
48226 fi
48227 fi
48228 AR=$ac_cv_prog_AR
48229 if test -n "$AR"; then
48230 { echo "$as_me:$LINENO: result: $AR" >&5
48231 echo "${ECHO_T}$AR" >&6; }
48232 else
48233 { echo "$as_me:$LINENO: result: no" >&5
48234 echo "${ECHO_T}no" >&6; }
48235 fi
48236
48237
48238 fi
48239 if test -z "$ac_cv_prog_AR"; then
48240 ac_ct_AR=$AR
48241 # Extract the first word of "ar", so it can be a program name with args.
48242 set dummy ar; ac_word=$2
48243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48245 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48246 echo $ECHO_N "(cached) $ECHO_C" >&6
48247 else
48248 if test -n "$ac_ct_AR"; then
48249 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48250 else
48251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48252 for as_dir in $PATH
48253 do
48254 IFS=$as_save_IFS
48255 test -z "$as_dir" && as_dir=.
48256 for ac_exec_ext in '' $ac_executable_extensions; do
48257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48258 ac_cv_prog_ac_ct_AR="ar"
48259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48260 break 2
48261 fi
48262 done
48263 done
48264 IFS=$as_save_IFS
48265
48266 fi
48267 fi
48268 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48269 if test -n "$ac_ct_AR"; then
48270 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48271 echo "${ECHO_T}$ac_ct_AR" >&6; }
48272 else
48273 { echo "$as_me:$LINENO: result: no" >&5
48274 echo "${ECHO_T}no" >&6; }
48275 fi
48276
48277 if test "x$ac_ct_AR" = x; then
48278 AR="ar"
48279 else
48280 case $cross_compiling:$ac_tool_warned in
48281 yes:)
48282 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48283 whose name does not start with the host triplet. If you think this
48284 configuration is useful to you, please write to autoconf@gnu.org." >&5
48285 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48286 whose name does not start with the host triplet. If you think this
48287 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48288 ac_tool_warned=yes ;;
48289 esac
48290 AR=$ac_ct_AR
48291 fi
48292 else
48293 AR="$ac_cv_prog_AR"
48294 fi
48295
48296 AROPTIONS=rcu
48297 fi
48298
48299
48300 if test -n "$ac_tool_prefix"; then
48301 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48302 set dummy ${ac_tool_prefix}strip; ac_word=$2
48303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48305 if test "${ac_cv_prog_STRIP+set}" = set; then
48306 echo $ECHO_N "(cached) $ECHO_C" >&6
48307 else
48308 if test -n "$STRIP"; then
48309 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48310 else
48311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48312 for as_dir in $PATH
48313 do
48314 IFS=$as_save_IFS
48315 test -z "$as_dir" && as_dir=.
48316 for ac_exec_ext in '' $ac_executable_extensions; do
48317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48318 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48320 break 2
48321 fi
48322 done
48323 done
48324 IFS=$as_save_IFS
48325
48326 fi
48327 fi
48328 STRIP=$ac_cv_prog_STRIP
48329 if test -n "$STRIP"; then
48330 { echo "$as_me:$LINENO: result: $STRIP" >&5
48331 echo "${ECHO_T}$STRIP" >&6; }
48332 else
48333 { echo "$as_me:$LINENO: result: no" >&5
48334 echo "${ECHO_T}no" >&6; }
48335 fi
48336
48337
48338 fi
48339 if test -z "$ac_cv_prog_STRIP"; then
48340 ac_ct_STRIP=$STRIP
48341 # Extract the first word of "strip", so it can be a program name with args.
48342 set dummy strip; ac_word=$2
48343 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48345 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48346 echo $ECHO_N "(cached) $ECHO_C" >&6
48347 else
48348 if test -n "$ac_ct_STRIP"; then
48349 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48350 else
48351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48352 for as_dir in $PATH
48353 do
48354 IFS=$as_save_IFS
48355 test -z "$as_dir" && as_dir=.
48356 for ac_exec_ext in '' $ac_executable_extensions; do
48357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48358 ac_cv_prog_ac_ct_STRIP="strip"
48359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48360 break 2
48361 fi
48362 done
48363 done
48364 IFS=$as_save_IFS
48365
48366 fi
48367 fi
48368 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48369 if test -n "$ac_ct_STRIP"; then
48370 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48371 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48372 else
48373 { echo "$as_me:$LINENO: result: no" >&5
48374 echo "${ECHO_T}no" >&6; }
48375 fi
48376
48377 if test "x$ac_ct_STRIP" = x; then
48378 STRIP=":"
48379 else
48380 case $cross_compiling:$ac_tool_warned in
48381 yes:)
48382 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48383 whose name does not start with the host triplet. If you think this
48384 configuration is useful to you, please write to autoconf@gnu.org." >&5
48385 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48386 whose name does not start with the host triplet. If you think this
48387 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48388 ac_tool_warned=yes ;;
48389 esac
48390 STRIP=$ac_ct_STRIP
48391 fi
48392 else
48393 STRIP="$ac_cv_prog_STRIP"
48394 fi
48395
48396 if test -n "$ac_tool_prefix"; then
48397 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48398 set dummy ${ac_tool_prefix}nm; ac_word=$2
48399 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48401 if test "${ac_cv_prog_NM+set}" = set; then
48402 echo $ECHO_N "(cached) $ECHO_C" >&6
48403 else
48404 if test -n "$NM"; then
48405 ac_cv_prog_NM="$NM" # Let the user override the test.
48406 else
48407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48408 for as_dir in $PATH
48409 do
48410 IFS=$as_save_IFS
48411 test -z "$as_dir" && as_dir=.
48412 for ac_exec_ext in '' $ac_executable_extensions; do
48413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48414 ac_cv_prog_NM="${ac_tool_prefix}nm"
48415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48416 break 2
48417 fi
48418 done
48419 done
48420 IFS=$as_save_IFS
48421
48422 fi
48423 fi
48424 NM=$ac_cv_prog_NM
48425 if test -n "$NM"; then
48426 { echo "$as_me:$LINENO: result: $NM" >&5
48427 echo "${ECHO_T}$NM" >&6; }
48428 else
48429 { echo "$as_me:$LINENO: result: no" >&5
48430 echo "${ECHO_T}no" >&6; }
48431 fi
48432
48433
48434 fi
48435 if test -z "$ac_cv_prog_NM"; then
48436 ac_ct_NM=$NM
48437 # Extract the first word of "nm", so it can be a program name with args.
48438 set dummy nm; ac_word=$2
48439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48441 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48442 echo $ECHO_N "(cached) $ECHO_C" >&6
48443 else
48444 if test -n "$ac_ct_NM"; then
48445 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48446 else
48447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48448 for as_dir in $PATH
48449 do
48450 IFS=$as_save_IFS
48451 test -z "$as_dir" && as_dir=.
48452 for ac_exec_ext in '' $ac_executable_extensions; do
48453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48454 ac_cv_prog_ac_ct_NM="nm"
48455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48456 break 2
48457 fi
48458 done
48459 done
48460 IFS=$as_save_IFS
48461
48462 fi
48463 fi
48464 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48465 if test -n "$ac_ct_NM"; then
48466 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48467 echo "${ECHO_T}$ac_ct_NM" >&6; }
48468 else
48469 { echo "$as_me:$LINENO: result: no" >&5
48470 echo "${ECHO_T}no" >&6; }
48471 fi
48472
48473 if test "x$ac_ct_NM" = x; then
48474 NM=":"
48475 else
48476 case $cross_compiling:$ac_tool_warned in
48477 yes:)
48478 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48479 whose name does not start with the host triplet. If you think this
48480 configuration is useful to you, please write to autoconf@gnu.org." >&5
48481 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48482 whose name does not start with the host triplet. If you think this
48483 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48484 ac_tool_warned=yes ;;
48485 esac
48486 NM=$ac_ct_NM
48487 fi
48488 else
48489 NM="$ac_cv_prog_NM"
48490 fi
48491
48492
48493 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48494 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48495 INSTALL_TEST_DIR=acbftest$$
48496 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48497 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48498 rmdir $INSTALL_TEST_DIR
48499 INSTALL_DIR='$(INSTALL) -d'
48500 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48501 echo "${ECHO_T}$INSTALL -d" >&6; }
48502 else
48503 INSTALL_DIR="mkdir -p"
48504 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48505 echo "${ECHO_T}mkdir -p" >&6; }
48506 fi
48507
48508
48509 LDFLAGS_GUI=
48510 case ${BAKEFILE_HOST} in
48511 *-*-cygwin* | *-*-mingw32* )
48512 LDFLAGS_GUI="-mwindows"
48513 esac
48514
48515
48516 fi
48517
48518 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48519 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48520 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48521 echo $ECHO_N "(cached) $ECHO_C" >&6
48522 else
48523
48524 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48525 egrep -s GNU > /dev/null); then
48526 bakefile_cv_prog_makeisgnu="yes"
48527 else
48528 bakefile_cv_prog_makeisgnu="no"
48529 fi
48530
48531 fi
48532 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48533 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48534
48535 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48536 IF_GNU_MAKE=""
48537 else
48538 IF_GNU_MAKE="#"
48539 fi
48540
48541
48542
48543 PLATFORM_UNIX=0
48544 PLATFORM_WIN32=0
48545 PLATFORM_MSDOS=0
48546 PLATFORM_MAC=0
48547 PLATFORM_MACOS=0
48548 PLATFORM_MACOSX=0
48549 PLATFORM_OS2=0
48550 PLATFORM_BEOS=0
48551
48552 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48553 case "${BAKEFILE_HOST}" in
48554 *-*-mingw32* )
48555 PLATFORM_WIN32=1
48556 ;;
48557 *-pc-msdosdjgpp )
48558 PLATFORM_MSDOS=1
48559 ;;
48560 *-pc-os2_emx | *-pc-os2-emx )
48561 PLATFORM_OS2=1
48562 ;;
48563 *-*-darwin* )
48564 PLATFORM_MAC=1
48565 PLATFORM_MACOSX=1
48566 ;;
48567 *-*-beos* )
48568 PLATFORM_BEOS=1
48569 ;;
48570 powerpc-apple-macos* )
48571 PLATFORM_MAC=1
48572 PLATFORM_MACOS=1
48573 ;;
48574 * )
48575 PLATFORM_UNIX=1
48576 ;;
48577 esac
48578 else
48579 case "$BAKEFILE_FORCE_PLATFORM" in
48580 win32 )
48581 PLATFORM_WIN32=1
48582 ;;
48583 msdos )
48584 PLATFORM_MSDOS=1
48585 ;;
48586 os2 )
48587 PLATFORM_OS2=1
48588 ;;
48589 darwin )
48590 PLATFORM_MAC=1
48591 PLATFORM_MACOSX=1
48592 ;;
48593 unix )
48594 PLATFORM_UNIX=1
48595 ;;
48596 beos )
48597 PLATFORM_BEOS=1
48598 ;;
48599 * )
48600 ;;
48601 esac
48602 fi
48603
48604
48605
48606
48607
48608
48609
48610
48611
48612
48613
48614 # Check whether --enable-omf was given.
48615 if test "${enable_omf+set}" = set; then
48616 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48617 fi
48618
48619
48620 case "${BAKEFILE_HOST}" in
48621 *-*-darwin* )
48622 if test "x$GCC" = "xyes"; then
48623 CFLAGS="$CFLAGS -fno-common"
48624 CXXFLAGS="$CXXFLAGS -fno-common"
48625 fi
48626 if test "x$XLCC" = "xyes"; then
48627 CFLAGS="$CFLAGS -qnocommon"
48628 CXXFLAGS="$CXXFLAGS -qnocommon"
48629 fi
48630 ;;
48631
48632 *-pc-os2_emx | *-pc-os2-emx )
48633 if test "x$bk_os2_use_omf" = "xyes" ; then
48634 AR=emxomfar
48635 RANLIB=:
48636 LDFLAGS="-Zomf $LDFLAGS"
48637 CFLAGS="-Zomf $CFLAGS"
48638 CXXFLAGS="-Zomf $CXXFLAGS"
48639 OS2_LIBEXT="lib"
48640 else
48641 OS2_LIBEXT="a"
48642 fi
48643 ;;
48644
48645 i*86-*-beos* )
48646 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48647 ;;
48648 esac
48649
48650
48651 SO_SUFFIX="so"
48652 SO_SUFFIX_MODULE="so"
48653 EXEEXT=""
48654 LIBPREFIX="lib"
48655 LIBEXT=".a"
48656 DLLPREFIX="lib"
48657 DLLPREFIX_MODULE=""
48658 DLLIMP_SUFFIX=""
48659 dlldir="$libdir"
48660
48661 case "${BAKEFILE_HOST}" in
48662 ia64-hp-hpux* )
48663 ;;
48664 *-hp-hpux* )
48665 SO_SUFFIX="sl"
48666 SO_SUFFIX_MODULE="sl"
48667 ;;
48668 *-*-aix* )
48669 SO_SUFFIX="a"
48670 SO_SUFFIX_MODULE="a"
48671 ;;
48672 *-*-cygwin* )
48673 SO_SUFFIX="dll"
48674 SO_SUFFIX_MODULE="dll"
48675 DLLIMP_SUFFIX="dll.a"
48676 EXEEXT=".exe"
48677 DLLPREFIX="cyg"
48678 dlldir="$bindir"
48679 ;;
48680 *-*-mingw32* )
48681 SO_SUFFIX="dll"
48682 SO_SUFFIX_MODULE="dll"
48683 DLLIMP_SUFFIX="dll.a"
48684 EXEEXT=".exe"
48685 DLLPREFIX=""
48686 dlldir="$bindir"
48687 ;;
48688 *-pc-msdosdjgpp )
48689 EXEEXT=".exe"
48690 DLLPREFIX=""
48691 dlldir="$bindir"
48692 ;;
48693 *-pc-os2_emx | *-pc-os2-emx )
48694 SO_SUFFIX="dll"
48695 SO_SUFFIX_MODULE="dll"
48696 DLLIMP_SUFFIX=$OS2_LIBEXT
48697 EXEEXT=".exe"
48698 DLLPREFIX=""
48699 LIBPREFIX=""
48700 LIBEXT=".$OS2_LIBEXT"
48701 dlldir="$bindir"
48702 ;;
48703 *-*-darwin* )
48704 SO_SUFFIX="dylib"
48705 SO_SUFFIX_MODULE="bundle"
48706 ;;
48707 esac
48708
48709 if test "x$DLLIMP_SUFFIX" = "x" ; then
48710 DLLIMP_SUFFIX="$SO_SUFFIX"
48711 fi
48712
48713
48714
48715
48716
48717
48718
48719
48720
48721
48722
48723
48724 PIC_FLAG=""
48725 if test "x$GCC" = "xyes"; then
48726 PIC_FLAG="-fPIC"
48727 fi
48728
48729 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48730 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48731 WINDOWS_IMPLIB=0
48732
48733 case "${BAKEFILE_HOST}" in
48734 *-hp-hpux* )
48735 if test "x$GCC" != "xyes"; then
48736 LDFLAGS="$LDFLAGS -L/usr/lib"
48737
48738 SHARED_LD_CC="${CC} -b -o"
48739 SHARED_LD_CXX="${CXX} -b -o"
48740 PIC_FLAG="+Z"
48741 fi
48742 ;;
48743
48744 *-*-linux* )
48745 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48746 PIC_FLAG="-KPIC"
48747 elif test "x$SUNCXX" = "xyes"; then
48748 SHARED_LD_CC="${CC} -G -o"
48749 SHARED_LD_CXX="${CXX} -G -o"
48750 PIC_FLAG="-KPIC"
48751 fi
48752 ;;
48753
48754 *-*-solaris2* )
48755 if test "x$SUNCXX" = xyes ; then
48756 SHARED_LD_CC="${CC} -G -o"
48757 SHARED_LD_CXX="${CXX} -G -o"
48758 PIC_FLAG="-KPIC"
48759 fi
48760 ;;
48761
48762 *-*-darwin* )
48763
48764 D='$'
48765 cat <<EOF >shared-ld-sh
48766 #!/bin/sh
48767 #-----------------------------------------------------------------------------
48768 #-- Name: distrib/mac/shared-ld-sh
48769 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48770 #-- Author: Gilles Depeyrot
48771 #-- Copyright: (c) 2002 Gilles Depeyrot
48772 #-- Licence: any use permitted
48773 #-----------------------------------------------------------------------------
48774
48775 verbose=0
48776 args=""
48777 objects=""
48778 linking_flag="-dynamiclib"
48779 ldargs="-r -keep_private_externs -nostdlib"
48780
48781 if test "x${D}CXX" = "x"; then
48782 CXX="c++"
48783 fi
48784
48785 while test ${D}# -gt 0; do
48786 case ${D}1 in
48787
48788 -v)
48789 verbose=1
48790 ;;
48791
48792 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48793 # collect these options and values
48794 args="${D}{args} ${D}1 ${D}2"
48795 shift
48796 ;;
48797
48798 -arch|-isysroot)
48799 # collect these options and values
48800 ldargs="${D}{ldargs} ${D}1 ${D}2"
48801 shift
48802 ;;
48803
48804 -s|-Wl,*)
48805 # collect these load args
48806 ldargs="${D}{ldargs} ${D}1"
48807 ;;
48808
48809 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48810 # collect these options
48811 args="${D}{args} ${D}1"
48812 ;;
48813
48814 -dynamiclib|-bundle)
48815 linking_flag="${D}1"
48816 ;;
48817
48818 -*)
48819 echo "shared-ld: unhandled option '${D}1'"
48820 exit 1
48821 ;;
48822
48823 *.o | *.a | *.dylib)
48824 # collect object files
48825 objects="${D}{objects} ${D}1"
48826 ;;
48827
48828 *)
48829 echo "shared-ld: unhandled argument '${D}1'"
48830 exit 1
48831 ;;
48832
48833 esac
48834 shift
48835 done
48836
48837 status=0
48838
48839 #
48840 # Link one module containing all the others
48841 #
48842 if test ${D}{verbose} = 1; then
48843 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48844 fi
48845 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48846 status=${D}?
48847
48848 #
48849 # Link the shared library from the single module created, but only if the
48850 # previous command didn't fail:
48851 #
48852 if test ${D}{status} = 0; then
48853 if test ${D}{verbose} = 1; then
48854 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48855 fi
48856 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48857 status=${D}?
48858 fi
48859
48860 #
48861 # Remove intermediate module
48862 #
48863 rm -f master.${D}${D}.o
48864
48865 exit ${D}status
48866 EOF
48867
48868 chmod +x shared-ld-sh
48869
48870 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48871 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48872
48873
48874 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48875 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48876 if test "${bakefile_cv_gcc31+set}" = set; then
48877 echo $ECHO_N "(cached) $ECHO_C" >&6
48878 else
48879
48880 cat >conftest.$ac_ext <<_ACEOF
48881 /* confdefs.h. */
48882 _ACEOF
48883 cat confdefs.h >>conftest.$ac_ext
48884 cat >>conftest.$ac_ext <<_ACEOF
48885 /* end confdefs.h. */
48886
48887 int
48888 main ()
48889 {
48890
48891 #if (__GNUC__ < 3) || \
48892 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48893 This is old gcc
48894 #endif
48895
48896 ;
48897 return 0;
48898 }
48899 _ACEOF
48900 rm -f conftest.$ac_objext
48901 if { (ac_try="$ac_compile"
48902 case "(($ac_try" in
48903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48904 *) ac_try_echo=$ac_try;;
48905 esac
48906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48907 (eval "$ac_compile") 2>conftest.er1
48908 ac_status=$?
48909 grep -v '^ *+' conftest.er1 >conftest.err
48910 rm -f conftest.er1
48911 cat conftest.err >&5
48912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48913 (exit $ac_status); } && {
48914 test -z "$ac_c_werror_flag" ||
48915 test ! -s conftest.err
48916 } && test -s conftest.$ac_objext; then
48917
48918 bakefile_cv_gcc31=yes
48919
48920 else
48921 echo "$as_me: failed program was:" >&5
48922 sed 's/^/| /' conftest.$ac_ext >&5
48923
48924
48925 bakefile_cv_gcc31=no
48926
48927
48928 fi
48929
48930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48931
48932 fi
48933 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48934 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48935 if test "$bakefile_cv_gcc31" = "no"; then
48936 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48937 SHARED_LD_CXX="$SHARED_LD_CC"
48938 else
48939 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48940 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48941 fi
48942
48943 if test "x$GCC" == "xyes"; then
48944 PIC_FLAG="-dynamic -fPIC"
48945 fi
48946 if test "x$XLCC" = "xyes"; then
48947 PIC_FLAG="-dynamic -DPIC"
48948 fi
48949 ;;
48950
48951 *-*-aix* )
48952 if test "x$GCC" = "xyes"; then
48953 PIC_FLAG=""
48954
48955 case "${BAKEFILE_HOST}" in
48956 *-*-aix5* )
48957 LD_EXPFULL="-Wl,-bexpfull"
48958 ;;
48959 esac
48960
48961 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48962 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48963 else
48964 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48965 set dummy makeC++SharedLib; ac_word=$2
48966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48968 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48969 echo $ECHO_N "(cached) $ECHO_C" >&6
48970 else
48971 if test -n "$AIX_CXX_LD"; then
48972 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48973 else
48974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48975 for as_dir in $PATH
48976 do
48977 IFS=$as_save_IFS
48978 test -z "$as_dir" && as_dir=.
48979 for ac_exec_ext in '' $ac_executable_extensions; do
48980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48981 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48983 break 2
48984 fi
48985 done
48986 done
48987 IFS=$as_save_IFS
48988
48989 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48990 fi
48991 fi
48992 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48993 if test -n "$AIX_CXX_LD"; then
48994 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48995 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48996 else
48997 { echo "$as_me:$LINENO: result: no" >&5
48998 echo "${ECHO_T}no" >&6; }
48999 fi
49000
49001
49002 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49003 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49004 fi
49005 ;;
49006
49007 *-*-beos* )
49008 SHARED_LD_CC="${LD} -nostart -o"
49009 SHARED_LD_CXX="${LD} -nostart -o"
49010 ;;
49011
49012 *-*-irix* )
49013 if test "x$GCC" != "xyes"; then
49014 PIC_FLAG="-KPIC"
49015 fi
49016 ;;
49017
49018 *-*-cygwin* | *-*-mingw32* )
49019 PIC_FLAG=""
49020 SHARED_LD_CC="\$(CC) -shared -o"
49021 SHARED_LD_CXX="\$(CXX) -shared -o"
49022 WINDOWS_IMPLIB=1
49023 ;;
49024
49025 *-pc-os2_emx | *-pc-os2-emx )
49026 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49027 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49028 PIC_FLAG=""
49029
49030 D='$'
49031 cat <<EOF >dllar.sh
49032 #!/bin/sh
49033 #
49034 # dllar - a tool to build both a .dll and an .a file
49035 # from a set of object (.o) files for EMX/OS2.
49036 #
49037 # Written by Andrew Zabolotny, bit@freya.etu.ru
49038 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49039 #
49040 # This script will accept a set of files on the command line.
49041 # All the public symbols from the .o files will be exported into
49042 # a .DEF file, then linker will be run (through gcc) against them to
49043 # build a shared library consisting of all given .o files. All libraries
49044 # (.a) will be first decompressed into component .o files then act as
49045 # described above. You can optionally give a description (-d "description")
49046 # which will be put into .DLL. To see the list of accepted options (as well
49047 # as command-line format) simply run this program without options. The .DLL
49048 # is built to be imported by name (there is no guarantee that new versions
49049 # of the library you build will have same ordinals for same symbols).
49050 #
49051 # dllar is free software; you can redistribute it and/or modify
49052 # it under the terms of the GNU General Public License as published by
49053 # the Free Software Foundation; either version 2, or (at your option)
49054 # any later version.
49055 #
49056 # dllar is distributed in the hope that it will be useful,
49057 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49058 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49059 # GNU General Public License for more details.
49060 #
49061 # You should have received a copy of the GNU General Public License
49062 # along with dllar; see the file COPYING. If not, write to the Free
49063 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49064 # 02111-1307, USA.
49065
49066 # To successfuly run this program you will need:
49067 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49068 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49069 # - gcc
49070 # (used to build the .dll)
49071 # - emxexp
49072 # (used to create .def file from .o files)
49073 # - emximp
49074 # (used to create .a file from .def file)
49075 # - GNU text utilites (cat, sort, uniq)
49076 # used to process emxexp output
49077 # - GNU file utilities (mv, rm)
49078 # - GNU sed
49079 # - lxlite (optional, see flag below)
49080 # (used for general .dll cleanup)
49081 #
49082
49083 flag_USE_LXLITE=1;
49084
49085 #
49086 # helper functions
49087 # basnam, variant of basename, which does _not_ remove the path, _iff_
49088 # second argument (suffix to remove) is given
49089 basnam(){
49090 case ${D}# in
49091 1)
49092 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49093 ;;
49094 2)
49095 echo ${D}1 | sed 's/'${D}2'${D}//'
49096 ;;
49097 *)
49098 echo "error in basnam ${D}*"
49099 exit 8
49100 ;;
49101 esac
49102 }
49103
49104 # Cleanup temporary files and output
49105 CleanUp() {
49106 cd ${D}curDir
49107 for i in ${D}inputFiles ; do
49108 case ${D}i in
49109 *!)
49110 rm -rf \`basnam ${D}i !\`
49111 ;;
49112 *)
49113 ;;
49114 esac
49115 done
49116
49117 # Kill result in case of failure as there is just to many stupid make/nmake
49118 # things out there which doesn't do this.
49119 if [ ${D}# -eq 0 ]; then
49120 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49121 fi
49122 }
49123
49124 # Print usage and exit script with rc=1.
49125 PrintHelp() {
49126 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49127 echo ' [-name-mangler-script script.sh]'
49128 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49129 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49130 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49131 echo ' [*.o] [*.a]'
49132 echo '*> "output_file" should have no extension.'
49133 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49134 echo ' The import library name is derived from this and is set to "name".a,'
49135 echo ' unless overridden by -import'
49136 echo '*> "importlib_name" should have no extension.'
49137 echo ' If it has the .o, or .a extension, it is automatically removed.'
49138 echo ' This name is used as the import library name and may be longer and'
49139 echo ' more descriptive than the DLL name which has to follow the old '
49140 echo ' 8.3 convention of FAT.'
49141 echo '*> "script.sh may be given to override the output_file name by a'
49142 echo ' different name. It is mainly useful if the regular make process'
49143 echo ' of some package does not take into account OS/2 restriction of'
49144 echo ' DLL name lengths. It takes the importlib name as input and is'
49145 echo ' supposed to procude a shorter name as output. The script should'
49146 echo ' expect to get importlib_name without extension and should produce'
49147 echo ' a (max.) 8 letter name without extension.'
49148 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49149 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49150 echo ' These flags will be put at the start of GCC command line.'
49151 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49152 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49153 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49154 echo ' If the last character of a symbol is "*", all symbols beginning'
49155 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49156 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49157 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49158 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49159 echo ' C runtime DLLs.'
49160 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49161 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49162 echo ' unchanged to GCC at the end of command line.'
49163 echo '*> If you create a DLL from a library and you do not specify -o,'
49164 echo ' the basename for DLL and import library will be set to library name,'
49165 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49166 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49167 echo ' library will be renamed into gcc_s.a.'
49168 echo '--------'
49169 echo 'Example:'
49170 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49171 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49172 CleanUp
49173 exit 1
49174 }
49175
49176 # Execute a command.
49177 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49178 # @Uses Whatever CleanUp() uses.
49179 doCommand() {
49180 echo "${D}*"
49181 eval ${D}*
49182 rcCmd=${D}?
49183
49184 if [ ${D}rcCmd -ne 0 ]; then
49185 echo "command failed, exit code="${D}rcCmd
49186 CleanUp
49187 exit ${D}rcCmd
49188 fi
49189 }
49190
49191 # main routine
49192 # setup globals
49193 cmdLine=${D}*
49194 outFile=""
49195 outimpFile=""
49196 inputFiles=""
49197 renameScript=""
49198 description=""
49199 CC=gcc.exe
49200 CFLAGS="-s -Zcrtdll"
49201 EXTRA_CFLAGS=""
49202 EXPORT_BY_ORDINALS=0
49203 exclude_symbols=""
49204 library_flags=""
49205 curDir=\`pwd\`
49206 curDirS=curDir
49207 case ${D}curDirS in
49208 */)
49209 ;;
49210 *)
49211 curDirS=${D}{curDirS}"/"
49212 ;;
49213 esac
49214 # Parse commandline
49215 libsToLink=0
49216 omfLinking=0
49217 while [ ${D}1 ]; do
49218 case ${D}1 in
49219 -ord*)
49220 EXPORT_BY_ORDINALS=1;
49221 ;;
49222 -o*)
49223 shift
49224 outFile=${D}1
49225 ;;
49226 -i*)
49227 shift
49228 outimpFile=${D}1
49229 ;;
49230 -name-mangler-script)
49231 shift
49232 renameScript=${D}1
49233 ;;
49234 -d*)
49235 shift
49236 description=${D}1
49237 ;;
49238 -f*)
49239 shift
49240 CFLAGS=${D}1
49241 ;;
49242 -c*)
49243 shift
49244 CC=${D}1
49245 ;;
49246 -h*)
49247 PrintHelp
49248 ;;
49249 -ex*)
49250 shift
49251 exclude_symbols=${D}{exclude_symbols}${D}1" "
49252 ;;
49253 -libf*)
49254 shift
49255 library_flags=${D}{library_flags}${D}1" "
49256 ;;
49257 -nocrt*)
49258 CFLAGS="-s"
49259 ;;
49260 -nolxl*)
49261 flag_USE_LXLITE=0
49262 ;;
49263 -* | /*)
49264 case ${D}1 in
49265 -L* | -l*)
49266 libsToLink=1
49267 ;;
49268 -Zomf)
49269 omfLinking=1
49270 ;;
49271 *)
49272 ;;
49273 esac
49274 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49275 ;;
49276 *.dll)
49277 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49278 if [ ${D}omfLinking -eq 1 ]; then
49279 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49280 else
49281 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49282 fi
49283 ;;
49284 *)
49285 found=0;
49286 if [ ${D}libsToLink -ne 0 ]; then
49287 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49288 else
49289 for file in ${D}1 ; do
49290 if [ -f ${D}file ]; then
49291 inputFiles="${D}{inputFiles} ${D}file"
49292 found=1
49293 fi
49294 done
49295 if [ ${D}found -eq 0 ]; then
49296 echo "ERROR: No file(s) found: "${D}1
49297 exit 8
49298 fi
49299 fi
49300 ;;
49301 esac
49302 shift
49303 done # iterate cmdline words
49304
49305 #
49306 if [ -z "${D}inputFiles" ]; then
49307 echo "dllar: no input files"
49308 PrintHelp
49309 fi
49310
49311 # Now extract all .o files from .a files
49312 newInputFiles=""
49313 for file in ${D}inputFiles ; do
49314 case ${D}file in
49315 *.a | *.lib)
49316 case ${D}file in
49317 *.a)
49318 suffix=".a"
49319 AR="ar"
49320 ;;
49321 *.lib)
49322 suffix=".lib"
49323 AR="emxomfar"
49324 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49325 ;;
49326 *)
49327 ;;
49328 esac
49329 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49330 mkdir ${D}dirname
49331 if [ ${D}? -ne 0 ]; then
49332 echo "Failed to create subdirectory ./${D}dirname"
49333 CleanUp
49334 exit 8;
49335 fi
49336 # Append '!' to indicate archive
49337 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49338 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49339 cd ${D}curDir
49340 found=0;
49341 for subfile in ${D}dirname/*.o* ; do
49342 if [ -f ${D}subfile ]; then
49343 found=1
49344 if [ -s ${D}subfile ]; then
49345 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49346 newInputFiles="${D}newInputFiles ${D}subfile"
49347 fi
49348 fi
49349 done
49350 if [ ${D}found -eq 0 ]; then
49351 echo "WARNING: there are no files in archive \\'${D}file\\'"
49352 fi
49353 ;;
49354 *)
49355 newInputFiles="${D}{newInputFiles} ${D}file"
49356 ;;
49357 esac
49358 done
49359 inputFiles="${D}newInputFiles"
49360
49361 # Output filename(s).
49362 do_backup=0;
49363 if [ -z ${D}outFile ]; then
49364 do_backup=1;
49365 set outFile ${D}inputFiles; outFile=${D}2
49366 fi
49367
49368 # If it is an archive, remove the '!' and the '_%' suffixes
49369 case ${D}outFile in
49370 *_%!)
49371 outFile=\`basnam ${D}outFile _%!\`
49372 ;;
49373 *)
49374 ;;
49375 esac
49376 case ${D}outFile in
49377 *.dll)
49378 outFile=\`basnam ${D}outFile .dll\`
49379 ;;
49380 *.DLL)
49381 outFile=\`basnam ${D}outFile .DLL\`
49382 ;;
49383 *.o)
49384 outFile=\`basnam ${D}outFile .o\`
49385 ;;
49386 *.obj)
49387 outFile=\`basnam ${D}outFile .obj\`
49388 ;;
49389 *.a)
49390 outFile=\`basnam ${D}outFile .a\`
49391 ;;
49392 *.lib)
49393 outFile=\`basnam ${D}outFile .lib\`
49394 ;;
49395 *)
49396 ;;
49397 esac
49398 case ${D}outimpFile in
49399 *.a)
49400 outimpFile=\`basnam ${D}outimpFile .a\`
49401 ;;
49402 *.lib)
49403 outimpFile=\`basnam ${D}outimpFile .lib\`
49404 ;;
49405 *)
49406 ;;
49407 esac
49408 if [ -z ${D}outimpFile ]; then
49409 outimpFile=${D}outFile
49410 fi
49411 defFile="${D}{outFile}.def"
49412 arcFile="${D}{outimpFile}.a"
49413 arcFile2="${D}{outimpFile}.lib"
49414
49415 #create ${D}dllFile as something matching 8.3 restrictions,
49416 if [ -z ${D}renameScript ] ; then
49417 dllFile="${D}outFile"
49418 else
49419 dllFile=\`${D}renameScript ${D}outimpFile\`
49420 fi
49421
49422 if [ ${D}do_backup -ne 0 ] ; then
49423 if [ -f ${D}arcFile ] ; then
49424 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49425 fi
49426 if [ -f ${D}arcFile2 ] ; then
49427 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49428 fi
49429 fi
49430
49431 # Extract public symbols from all the object files.
49432 tmpdefFile=${D}{defFile}_%
49433 rm -f ${D}tmpdefFile
49434 for file in ${D}inputFiles ; do
49435 case ${D}file in
49436 *!)
49437 ;;
49438 *)
49439 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49440 ;;
49441 esac
49442 done
49443
49444 # Create the def file.
49445 rm -f ${D}defFile
49446 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49447 dllFile="${D}{dllFile}.dll"
49448 if [ ! -z ${D}description ]; then
49449 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49450 fi
49451 echo "EXPORTS" >> ${D}defFile
49452
49453 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49454 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49455
49456 # Checks if the export is ok or not.
49457 for word in ${D}exclude_symbols; do
49458 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49459 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49460 done
49461
49462
49463 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49464 sed "=" < ${D}tmpdefFile | \\
49465 sed '
49466 N
49467 : loop
49468 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49469 t loop
49470 ' > ${D}{tmpdefFile}%
49471 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49472 else
49473 rm -f ${D}{tmpdefFile}%
49474 fi
49475 cat ${D}tmpdefFile >> ${D}defFile
49476 rm -f ${D}tmpdefFile
49477
49478 # Do linking, create implib, and apply lxlite.
49479 gccCmdl="";
49480 for file in ${D}inputFiles ; do
49481 case ${D}file in
49482 *!)
49483 ;;
49484 *)
49485 gccCmdl="${D}gccCmdl ${D}file"
49486 ;;
49487 esac
49488 done
49489 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49490 touch "${D}{outFile}.dll"
49491
49492 doCommand "emximp -o ${D}arcFile ${D}defFile"
49493 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49494 add_flags="";
49495 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49496 add_flags="-ynd"
49497 fi
49498 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49499 fi
49500 doCommand "emxomf -s -l ${D}arcFile"
49501
49502 # Successful exit.
49503 CleanUp 1
49504 exit 0
49505 EOF
49506
49507 chmod +x dllar.sh
49508 ;;
49509
49510 powerpc-apple-macos* | \
49511 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49512 *-*-mirbsd* | \
49513 *-*-sunos4* | \
49514 *-*-osf* | \
49515 *-*-dgux5* | \
49516 *-*-sysv5* | \
49517 *-pc-msdosdjgpp )
49518 ;;
49519
49520 *)
49521 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49522 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49523 { (exit 1); exit 1; }; }
49524 esac
49525
49526 if test "x$PIC_FLAG" != "x" ; then
49527 PIC_FLAG="$PIC_FLAG -DPIC"
49528 fi
49529
49530 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49531 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49532 fi
49533 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49534 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49535 fi
49536
49537
49538
49539
49540
49541
49542
49543
49544
49545 USE_SOVERSION=0
49546 USE_SOVERLINUX=0
49547 USE_SOVERSOLARIS=0
49548 USE_SOVERCYGWIN=0
49549 USE_SOTWOSYMLINKS=0
49550 USE_MACVERSION=0
49551 SONAME_FLAG=
49552
49553 case "${BAKEFILE_HOST}" in
49554 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49555 *-*-k*bsd*-gnu | *-*-mirbsd* )
49556 if test "x$SUNCXX" = "xyes"; then
49557 SONAME_FLAG="-h "
49558 else
49559 SONAME_FLAG="-Wl,-soname,"
49560 fi
49561 USE_SOVERSION=1
49562 USE_SOVERLINUX=1
49563 USE_SOTWOSYMLINKS=1
49564 ;;
49565
49566 *-*-solaris2* )
49567 SONAME_FLAG="-h "
49568 USE_SOVERSION=1
49569 USE_SOVERSOLARIS=1
49570 ;;
49571
49572 *-*-darwin* )
49573 USE_MACVERSION=1
49574 USE_SOVERSION=1
49575 USE_SOTWOSYMLINKS=1
49576 ;;
49577
49578 *-*-cygwin* )
49579 USE_SOVERSION=1
49580 USE_SOVERCYGWIN=1
49581 ;;
49582 esac
49583
49584
49585
49586
49587
49588
49589
49590
49591
49592
49593 # Check whether --enable-dependency-tracking was given.
49594 if test "${enable_dependency_tracking+set}" = set; then
49595 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49596 fi
49597
49598
49599 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49600 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49601
49602 BK_DEPS=""
49603 if test "x$bk_use_trackdeps" = "xno" ; then
49604 DEPS_TRACKING=0
49605 { echo "$as_me:$LINENO: result: disabled" >&5
49606 echo "${ECHO_T}disabled" >&6; }
49607 else
49608 DEPS_TRACKING=1
49609
49610 if test "x$GCC" = "xyes"; then
49611 DEPSMODE=gcc
49612 case "${BAKEFILE_HOST}" in
49613 *-*-darwin* )
49614 DEPSFLAG="-no-cpp-precomp -MMD"
49615 ;;
49616 * )
49617 DEPSFLAG="-MMD"
49618 ;;
49619 esac
49620 { echo "$as_me:$LINENO: result: gcc" >&5
49621 echo "${ECHO_T}gcc" >&6; }
49622 elif test "x$MWCC" = "xyes"; then
49623 DEPSMODE=mwcc
49624 DEPSFLAG="-MM"
49625 { echo "$as_me:$LINENO: result: mwcc" >&5
49626 echo "${ECHO_T}mwcc" >&6; }
49627 elif test "x$SUNCC" = "xyes"; then
49628 DEPSMODE=unixcc
49629 DEPSFLAG="-xM1"
49630 { echo "$as_me:$LINENO: result: Sun cc" >&5
49631 echo "${ECHO_T}Sun cc" >&6; }
49632 elif test "x$SGICC" = "xyes"; then
49633 DEPSMODE=unixcc
49634 DEPSFLAG="-M"
49635 { echo "$as_me:$LINENO: result: SGI cc" >&5
49636 echo "${ECHO_T}SGI cc" >&6; }
49637 elif test "x$HPCC" = "xyes"; then
49638 DEPSMODE=unixcc
49639 DEPSFLAG="+make"
49640 { echo "$as_me:$LINENO: result: HP cc" >&5
49641 echo "${ECHO_T}HP cc" >&6; }
49642 elif test "x$COMPAQCC" = "xyes"; then
49643 DEPSMODE=gcc
49644 DEPSFLAG="-MD"
49645 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49646 echo "${ECHO_T}Compaq cc" >&6; }
49647 else
49648 DEPS_TRACKING=0
49649 { echo "$as_me:$LINENO: result: none" >&5
49650 echo "${ECHO_T}none" >&6; }
49651 fi
49652
49653 if test $DEPS_TRACKING = 1 ; then
49654
49655 D='$'
49656 cat <<EOF >bk-deps
49657 #!/bin/sh
49658
49659 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49660 # script. It is used to track C/C++ files dependencies in portable way.
49661 #
49662 # Permission is given to use this file in any way.
49663
49664 DEPSMODE=${DEPSMODE}
49665 DEPSFLAG="${DEPSFLAG}"
49666 DEPSDIRBASE=.deps
49667
49668 if test ${D}DEPSMODE = gcc ; then
49669 ${D}* ${D}{DEPSFLAG}
49670 status=${D}?
49671
49672 # determine location of created files:
49673 while test ${D}# -gt 0; do
49674 case "${D}1" in
49675 -o )
49676 shift
49677 objfile=${D}1
49678 ;;
49679 -* )
49680 ;;
49681 * )
49682 srcfile=${D}1
49683 ;;
49684 esac
49685 shift
49686 done
49687 objfilebase=\`basename ${D}objfile\`
49688 builddir=\`dirname ${D}objfile\`
49689 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49690 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49691 depsdir=${D}builddir/${D}DEPSDIRBASE
49692 mkdir -p ${D}depsdir
49693
49694 # if the compiler failed, we're done:
49695 if test ${D}{status} != 0 ; then
49696 rm -f ${D}depfile
49697 exit ${D}{status}
49698 fi
49699
49700 # move created file to the location we want it in:
49701 if test -f ${D}depfile ; then
49702 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49703 rm -f ${D}depfile
49704 else
49705 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49706 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49707 if test ! -f ${D}depfile ; then
49708 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49709 depfile="${D}objfile.d"
49710 fi
49711 if test -f ${D}depfile ; then
49712 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49713 rm -f ${D}depfile
49714 fi
49715 fi
49716 exit 0
49717
49718 elif test ${D}DEPSMODE = mwcc ; then
49719 ${D}* || exit ${D}?
49720 # Run mwcc again with -MM and redirect into the dep file we want
49721 # NOTE: We can't use shift here because we need ${D}* to be valid
49722 prevarg=
49723 for arg in ${D}* ; do
49724 if test "${D}prevarg" = "-o"; then
49725 objfile=${D}arg
49726 else
49727 case "${D}arg" in
49728 -* )
49729 ;;
49730 * )
49731 srcfile=${D}arg
49732 ;;
49733 esac
49734 fi
49735 prevarg="${D}arg"
49736 done
49737
49738 objfilebase=\`basename ${D}objfile\`
49739 builddir=\`dirname ${D}objfile\`
49740 depsdir=${D}builddir/${D}DEPSDIRBASE
49741 mkdir -p ${D}depsdir
49742
49743 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49744 exit 0
49745
49746 elif test ${D}DEPSMODE = unixcc; then
49747 ${D}* || exit ${D}?
49748 # Run compiler again with deps flag and redirect into the dep file.
49749 # It doesn't work if the '-o FILE' option is used, but without it the
49750 # dependency file will contain the wrong name for the object. So it is
49751 # removed from the command line, and the dep file is fixed with sed.
49752 cmd=""
49753 while test ${D}# -gt 0; do
49754 case "${D}1" in
49755 -o )
49756 shift
49757 objfile=${D}1
49758 ;;
49759 * )
49760 eval arg${D}#=\\${D}1
49761 cmd="${D}cmd \\${D}arg${D}#"
49762 ;;
49763 esac
49764 shift
49765 done
49766
49767 objfilebase=\`basename ${D}objfile\`
49768 builddir=\`dirname ${D}objfile\`
49769 depsdir=${D}builddir/${D}DEPSDIRBASE
49770 mkdir -p ${D}depsdir
49771
49772 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49773 exit 0
49774
49775 else
49776 ${D}*
49777 exit ${D}?
49778 fi
49779 EOF
49780
49781 chmod +x bk-deps
49782 BK_DEPS="`pwd`/bk-deps"
49783 fi
49784 fi
49785
49786
49787
49788
49789
49790 case ${BAKEFILE_HOST} in
49791 *-*-cygwin* | *-*-mingw32* )
49792 if test -n "$ac_tool_prefix"; then
49793 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49794 set dummy ${ac_tool_prefix}windres; ac_word=$2
49795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49797 if test "${ac_cv_prog_WINDRES+set}" = set; then
49798 echo $ECHO_N "(cached) $ECHO_C" >&6
49799 else
49800 if test -n "$WINDRES"; then
49801 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49802 else
49803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49804 for as_dir in $PATH
49805 do
49806 IFS=$as_save_IFS
49807 test -z "$as_dir" && as_dir=.
49808 for ac_exec_ext in '' $ac_executable_extensions; do
49809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49810 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49812 break 2
49813 fi
49814 done
49815 done
49816 IFS=$as_save_IFS
49817
49818 fi
49819 fi
49820 WINDRES=$ac_cv_prog_WINDRES
49821 if test -n "$WINDRES"; then
49822 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49823 echo "${ECHO_T}$WINDRES" >&6; }
49824 else
49825 { echo "$as_me:$LINENO: result: no" >&5
49826 echo "${ECHO_T}no" >&6; }
49827 fi
49828
49829
49830 fi
49831 if test -z "$ac_cv_prog_WINDRES"; then
49832 ac_ct_WINDRES=$WINDRES
49833 # Extract the first word of "windres", so it can be a program name with args.
49834 set dummy windres; ac_word=$2
49835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49837 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49838 echo $ECHO_N "(cached) $ECHO_C" >&6
49839 else
49840 if test -n "$ac_ct_WINDRES"; then
49841 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49842 else
49843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49844 for as_dir in $PATH
49845 do
49846 IFS=$as_save_IFS
49847 test -z "$as_dir" && as_dir=.
49848 for ac_exec_ext in '' $ac_executable_extensions; do
49849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49850 ac_cv_prog_ac_ct_WINDRES="windres"
49851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49852 break 2
49853 fi
49854 done
49855 done
49856 IFS=$as_save_IFS
49857
49858 fi
49859 fi
49860 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49861 if test -n "$ac_ct_WINDRES"; then
49862 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49863 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49864 else
49865 { echo "$as_me:$LINENO: result: no" >&5
49866 echo "${ECHO_T}no" >&6; }
49867 fi
49868
49869 if test "x$ac_ct_WINDRES" = x; then
49870 WINDRES=""
49871 else
49872 case $cross_compiling:$ac_tool_warned in
49873 yes:)
49874 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49875 whose name does not start with the host triplet. If you think this
49876 configuration is useful to you, please write to autoconf@gnu.org." >&5
49877 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49878 whose name does not start with the host triplet. If you think this
49879 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49880 ac_tool_warned=yes ;;
49881 esac
49882 WINDRES=$ac_ct_WINDRES
49883 fi
49884 else
49885 WINDRES="$ac_cv_prog_WINDRES"
49886 fi
49887
49888 ;;
49889
49890 *-*-darwin* | powerpc-apple-macos* )
49891 # Extract the first word of "Rez", so it can be a program name with args.
49892 set dummy Rez; ac_word=$2
49893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49895 if test "${ac_cv_prog_REZ+set}" = set; then
49896 echo $ECHO_N "(cached) $ECHO_C" >&6
49897 else
49898 if test -n "$REZ"; then
49899 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49900 else
49901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49902 for as_dir in $PATH
49903 do
49904 IFS=$as_save_IFS
49905 test -z "$as_dir" && as_dir=.
49906 for ac_exec_ext in '' $ac_executable_extensions; do
49907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49908 ac_cv_prog_REZ="Rez"
49909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49910 break 2
49911 fi
49912 done
49913 done
49914 IFS=$as_save_IFS
49915
49916 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49917 fi
49918 fi
49919 REZ=$ac_cv_prog_REZ
49920 if test -n "$REZ"; then
49921 { echo "$as_me:$LINENO: result: $REZ" >&5
49922 echo "${ECHO_T}$REZ" >&6; }
49923 else
49924 { echo "$as_me:$LINENO: result: no" >&5
49925 echo "${ECHO_T}no" >&6; }
49926 fi
49927
49928
49929 # Extract the first word of "SetFile", so it can be a program name with args.
49930 set dummy SetFile; ac_word=$2
49931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49933 if test "${ac_cv_prog_SETFILE+set}" = set; then
49934 echo $ECHO_N "(cached) $ECHO_C" >&6
49935 else
49936 if test -n "$SETFILE"; then
49937 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49938 else
49939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49940 for as_dir in $PATH
49941 do
49942 IFS=$as_save_IFS
49943 test -z "$as_dir" && as_dir=.
49944 for ac_exec_ext in '' $ac_executable_extensions; do
49945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49946 ac_cv_prog_SETFILE="SetFile"
49947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49948 break 2
49949 fi
49950 done
49951 done
49952 IFS=$as_save_IFS
49953
49954 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49955 fi
49956 fi
49957 SETFILE=$ac_cv_prog_SETFILE
49958 if test -n "$SETFILE"; then
49959 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49960 echo "${ECHO_T}$SETFILE" >&6; }
49961 else
49962 { echo "$as_me:$LINENO: result: no" >&5
49963 echo "${ECHO_T}no" >&6; }
49964 fi
49965
49966
49967 ;;
49968 esac
49969
49970
49971
49972
49973
49974
49975
49976
49977
49978 BAKEFILE_BAKEFILE_M4_VERSION="0.2.6"
49979
49980
49981 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.6"
49982
49983
49984
49985 # Check whether --enable-precomp-headers was given.
49986 if test "${enable_precomp_headers+set}" = set; then
49987 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49988 fi
49989
49990
49991 GCC_PCH=0
49992 ICC_PCH=0
49993 USE_PCH=0
49994 BK_MAKE_PCH=""
49995
49996 case ${BAKEFILE_HOST} in
49997 *-*-cygwin* )
49998 bk_use_pch="no"
49999 ;;
50000 esac
50001
50002 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50003 if test "x$GCC" = "xyes"; then
50004 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50005 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50006 cat >conftest.$ac_ext <<_ACEOF
50007 /* confdefs.h. */
50008 _ACEOF
50009 cat confdefs.h >>conftest.$ac_ext
50010 cat >>conftest.$ac_ext <<_ACEOF
50011 /* end confdefs.h. */
50012
50013 int
50014 main ()
50015 {
50016
50017 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50018 There is no PCH support
50019 #endif
50020 #if (__GNUC__ < 3)
50021 There is no PCH support
50022 #endif
50023 #if (__GNUC__ == 3) && \
50024 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50025 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50026 ( defined(__INTEL_COMPILER) )
50027 There is no PCH support
50028 #endif
50029
50030 ;
50031 return 0;
50032 }
50033 _ACEOF
50034 rm -f conftest.$ac_objext
50035 if { (ac_try="$ac_compile"
50036 case "(($ac_try" in
50037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50038 *) ac_try_echo=$ac_try;;
50039 esac
50040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50041 (eval "$ac_compile") 2>conftest.er1
50042 ac_status=$?
50043 grep -v '^ *+' conftest.er1 >conftest.err
50044 rm -f conftest.er1
50045 cat conftest.err >&5
50046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50047 (exit $ac_status); } && {
50048 test -z "$ac_c_werror_flag" ||
50049 test ! -s conftest.err
50050 } && test -s conftest.$ac_objext; then
50051
50052 { echo "$as_me:$LINENO: result: yes" >&5
50053 echo "${ECHO_T}yes" >&6; }
50054 GCC_PCH=1
50055
50056 else
50057 echo "$as_me: failed program was:" >&5
50058 sed 's/^/| /' conftest.$ac_ext >&5
50059
50060
50061 if test "$INTELCXX8" = "yes"; then
50062 { echo "$as_me:$LINENO: result: yes" >&5
50063 echo "${ECHO_T}yes" >&6; }
50064 ICC_PCH=1
50065 if test "$INTELCXX10" = "yes"; then
50066 ICC_PCH_CREATE_SWITCH="-pch-create"
50067 ICC_PCH_USE_SWITCH="-pch-use"
50068 else
50069 ICC_PCH_CREATE_SWITCH="-create-pch"
50070 ICC_PCH_USE_SWITCH="-use-pch"
50071 fi
50072 else
50073 { echo "$as_me:$LINENO: result: no" >&5
50074 echo "${ECHO_T}no" >&6; }
50075 fi
50076
50077 fi
50078
50079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50080 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50081 USE_PCH=1
50082
50083 D='$'
50084 cat <<EOF >bk-make-pch
50085 #!/bin/sh
50086
50087 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50088 # script. It is used to generated precompiled headers.
50089 #
50090 # Permission is given to use this file in any way.
50091
50092 outfile="${D}{1}"
50093 header="${D}{2}"
50094 shift
50095 shift
50096
50097 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
50098
50099 compiler=""
50100 headerfile=""
50101
50102 while test ${D}{#} -gt 0; do
50103 add_to_cmdline=1
50104 case "${D}{1}" in
50105 -I* )
50106 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
50107 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50108 headerfile="${D}{incdir}/${D}{header}"
50109 fi
50110 ;;
50111 -use-pch|-use_pch|-pch-use )
50112 shift
50113 add_to_cmdline=0
50114 ;;
50115 esac
50116 if test ${D}add_to_cmdline = 1 ; then
50117 compiler="${D}{compiler} ${D}{1}"
50118 fi
50119 shift
50120 done
50121
50122 if test "x${D}{headerfile}" = "x" ; then
50123 echo "error: can't find header ${D}{header} in include paths" >&2
50124 else
50125 if test -f ${D}{outfile} ; then
50126 rm -f ${D}{outfile}
50127 else
50128 mkdir -p \`dirname ${D}{outfile}\`
50129 fi
50130 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
50131 mkdir -p ${D}{builddir}/.deps
50132 if test "x${GCC_PCH}" = "x1" ; then
50133 # can do this because gcc is >= 3.4:
50134 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50135 elif test "x${ICC_PCH}" = "x1" ; then
50136 filename=pch_gen-${D}${D}
50137 file=${D}{filename}.c
50138 dfile=${D}{filename}.d
50139 cat > ${D}file <<EOT
50140 #include "${D}header"
50141 EOT
50142 # using -MF icc complains about differing command lines in creation/use
50143 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50144 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50145 rm -f ${D}file ${D}dfile ${D}{filename}.o
50146 fi
50147 exit ${D}{?}
50148 fi
50149 EOF
50150
50151 chmod +x bk-make-pch
50152 BK_MAKE_PCH="`pwd`/bk-make-pch"
50153 fi
50154 fi
50155 fi
50156
50157
50158
50159
50160
50161
50162
50163 COND_BUILD_DEBUG="#"
50164 if test "x$BUILD" = "xdebug" ; then
50165 COND_BUILD_DEBUG=""
50166 fi
50167
50168 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50169 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50170 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50171 fi
50172
50173 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50174 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50175 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50176 fi
50177
50178 COND_BUILD_DEBUG_UNICODE_0="#"
50179 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50180 COND_BUILD_DEBUG_UNICODE_0=""
50181 fi
50182
50183 COND_BUILD_DEBUG_UNICODE_1="#"
50184 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50185 COND_BUILD_DEBUG_UNICODE_1=""
50186 fi
50187
50188 COND_BUILD_RELEASE="#"
50189 if test "x$BUILD" = "xrelease" ; then
50190 COND_BUILD_RELEASE=""
50191 fi
50192
50193 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50194 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50195 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50196 fi
50197
50198 COND_BUILD_RELEASE_UNICODE_0="#"
50199 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50200 COND_BUILD_RELEASE_UNICODE_0=""
50201 fi
50202
50203 COND_BUILD_RELEASE_UNICODE_1="#"
50204 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50205 COND_BUILD_RELEASE_UNICODE_1=""
50206 fi
50207
50208 COND_BUILD_debug="#"
50209 if test "x$BUILD" = "xdebug" ; then
50210 COND_BUILD_debug=""
50211 fi
50212
50213 COND_BUILD_debug_DEBUG_FLAG_default="#"
50214 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50215 COND_BUILD_debug_DEBUG_FLAG_default=""
50216 fi
50217
50218 COND_BUILD_debug_DEBUG_INFO_default="#"
50219 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50220 COND_BUILD_debug_DEBUG_INFO_default=""
50221 fi
50222
50223 COND_BUILD_debug_UNICODE_0="#"
50224 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50225 COND_BUILD_debug_UNICODE_0=""
50226 fi
50227
50228 COND_BUILD_debug_UNICODE_1="#"
50229 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50230 COND_BUILD_debug_UNICODE_1=""
50231 fi
50232
50233 COND_BUILD_release="#"
50234 if test "x$BUILD" = "xrelease" ; then
50235 COND_BUILD_release=""
50236 fi
50237
50238 COND_BUILD_release_DEBUG_INFO_default="#"
50239 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50240 COND_BUILD_release_DEBUG_INFO_default=""
50241 fi
50242
50243 COND_BUILD_release_UNICODE_0="#"
50244 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50245 COND_BUILD_release_UNICODE_0=""
50246 fi
50247
50248 COND_BUILD_release_UNICODE_1="#"
50249 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50250 COND_BUILD_release_UNICODE_1=""
50251 fi
50252
50253 COND_DEBUG_FLAG_0="#"
50254 if test "x$DEBUG_FLAG" = "x0" ; then
50255 COND_DEBUG_FLAG_0=""
50256 fi
50257
50258 COND_DEBUG_FLAG_1="#"
50259 if test "x$DEBUG_FLAG" = "x1" ; then
50260 COND_DEBUG_FLAG_1=""
50261 fi
50262
50263 COND_DEBUG_INFO_0="#"
50264 if test "x$DEBUG_INFO" = "x0" ; then
50265 COND_DEBUG_INFO_0=""
50266 fi
50267
50268 COND_DEBUG_INFO_1="#"
50269 if test "x$DEBUG_INFO" = "x1" ; then
50270 COND_DEBUG_INFO_1=""
50271 fi
50272
50273 COND_DEPS_TRACKING_0="#"
50274 if test "x$DEPS_TRACKING" = "x0" ; then
50275 COND_DEPS_TRACKING_0=""
50276 fi
50277
50278 COND_DEPS_TRACKING_1="#"
50279 if test "x$DEPS_TRACKING" = "x1" ; then
50280 COND_DEPS_TRACKING_1=""
50281 fi
50282
50283 COND_GCC_PCH_1="#"
50284 if test "x$GCC_PCH" = "x1" ; then
50285 COND_GCC_PCH_1=""
50286 fi
50287
50288 COND_ICC_PCH_1="#"
50289 if test "x$ICC_PCH" = "x1" ; then
50290 COND_ICC_PCH_1=""
50291 fi
50292
50293 COND_MONOLITHIC_0="#"
50294 if test "x$MONOLITHIC" = "x0" ; then
50295 COND_MONOLITHIC_0=""
50296 fi
50297
50298 COND_MONOLITHIC_0_SHARED_0="#"
50299 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50300 COND_MONOLITHIC_0_SHARED_0=""
50301 fi
50302
50303 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50304 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50305 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50306 fi
50307
50308 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50309 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50310 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50311 fi
50312
50313 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50314 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50315 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50316 fi
50317
50318 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50319 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50320 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50321 fi
50322
50323 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50324 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50325 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50326 fi
50327
50328 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50329 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50330 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50331 fi
50332
50333 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
50334 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50335 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
50336 fi
50337
50338 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50339 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50340 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50341 fi
50342
50343 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50344 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50345 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50346 fi
50347
50348 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50349 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50350 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50351 fi
50352
50353 COND_MONOLITHIC_0_SHARED_1="#"
50354 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50355 COND_MONOLITHIC_0_SHARED_1=""
50356 fi
50357
50358 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50359 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50360 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50361 fi
50362
50363 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50364 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50365 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50366 fi
50367
50368 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50369 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50370 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50371 fi
50372
50373 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50374 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50375 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50376 fi
50377
50378 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50379 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50380 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50381 fi
50382
50383 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50384 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50385 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50386 fi
50387
50388 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
50389 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50390 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
50391 fi
50392
50393 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50394 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50395 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50396 fi
50397
50398 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50399 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50400 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50401 fi
50402
50403 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50404 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50405 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50406 fi
50407
50408 COND_MONOLITHIC_0_USE_AUI_1="#"
50409 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50410 COND_MONOLITHIC_0_USE_AUI_1=""
50411 fi
50412
50413 COND_MONOLITHIC_0_USE_GUI_1="#"
50414 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50415 COND_MONOLITHIC_0_USE_GUI_1=""
50416 fi
50417
50418 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50419 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50420 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50421 fi
50422
50423 COND_MONOLITHIC_0_USE_HTML_1="#"
50424 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50425 COND_MONOLITHIC_0_USE_HTML_1=""
50426 fi
50427
50428 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50429 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50430 COND_MONOLITHIC_0_USE_MEDIA_1=""
50431 fi
50432
50433 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50434 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50435 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50436 fi
50437
50438 COND_MONOLITHIC_0_USE_QA_1="#"
50439 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50440 COND_MONOLITHIC_0_USE_QA_1=""
50441 fi
50442
50443 COND_MONOLITHIC_0_USE_RIBBON_1="#"
50444 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50445 COND_MONOLITHIC_0_USE_RIBBON_1=""
50446 fi
50447
50448 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50449 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50450 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50451 fi
50452
50453 COND_MONOLITHIC_0_USE_STC_1="#"
50454 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50455 COND_MONOLITHIC_0_USE_STC_1=""
50456 fi
50457
50458 COND_MONOLITHIC_0_USE_XRC_1="#"
50459 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50460 COND_MONOLITHIC_0_USE_XRC_1=""
50461 fi
50462
50463 COND_MONOLITHIC_1="#"
50464 if test "x$MONOLITHIC" = "x1" ; then
50465 COND_MONOLITHIC_1=""
50466 fi
50467
50468 COND_MONOLITHIC_1_SHARED_0="#"
50469 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50470 COND_MONOLITHIC_1_SHARED_0=""
50471 fi
50472
50473 COND_MONOLITHIC_1_SHARED_1="#"
50474 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50475 COND_MONOLITHIC_1_SHARED_1=""
50476 fi
50477
50478 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50479 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50480 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50481 fi
50482
50483 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50484 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50485 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50486 fi
50487
50488 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50489 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50490 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50491 fi
50492
50493 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50494 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50495 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50496 fi
50497
50498 COND_PLATFORM_MACOSX_1="#"
50499 if test "x$PLATFORM_MACOSX" = "x1" ; then
50500 COND_PLATFORM_MACOSX_1=""
50501 fi
50502
50503 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50504 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50505 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50506 fi
50507
50508 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50509 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50510 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50511 fi
50512
50513 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50514 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50515 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50516 fi
50517
50518 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50519 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50520 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50521 fi
50522
50523 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50524 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50525 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50526 fi
50527
50528 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50529 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50530 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50531 fi
50532
50533 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50534 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50535 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50536 fi
50537
50538 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50539 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50540 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50541 fi
50542
50543 COND_PLATFORM_MACOS_1="#"
50544 if test "x$PLATFORM_MACOS" = "x1" ; then
50545 COND_PLATFORM_MACOS_1=""
50546 fi
50547
50548 COND_PLATFORM_MAC_0="#"
50549 if test "x$PLATFORM_MAC" = "x0" ; then
50550 COND_PLATFORM_MAC_0=""
50551 fi
50552
50553 COND_PLATFORM_MAC_1="#"
50554 if test "x$PLATFORM_MAC" = "x1" ; then
50555 COND_PLATFORM_MAC_1=""
50556 fi
50557
50558 COND_PLATFORM_MSDOS_0="#"
50559 if test "x$PLATFORM_MSDOS" = "x0" ; then
50560 COND_PLATFORM_MSDOS_0=""
50561 fi
50562
50563 COND_PLATFORM_MSDOS_1="#"
50564 if test "x$PLATFORM_MSDOS" = "x1" ; then
50565 COND_PLATFORM_MSDOS_1=""
50566 fi
50567
50568 COND_PLATFORM_OS2_1="#"
50569 if test "x$PLATFORM_OS2" = "x1" ; then
50570 COND_PLATFORM_OS2_1=""
50571 fi
50572
50573 COND_PLATFORM_UNIX_0="#"
50574 if test "x$PLATFORM_UNIX" = "x0" ; then
50575 COND_PLATFORM_UNIX_0=""
50576 fi
50577
50578 COND_PLATFORM_UNIX_1="#"
50579 if test "x$PLATFORM_UNIX" = "x1" ; then
50580 COND_PLATFORM_UNIX_1=""
50581 fi
50582
50583 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50584 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50585 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50586 fi
50587
50588 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50589 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50590 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50591 fi
50592
50593 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50594 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50595 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50596 fi
50597
50598 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50599 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50600 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50601 fi
50602
50603 COND_PLATFORM_WIN32_0="#"
50604 if test "x$PLATFORM_WIN32" = "x0" ; then
50605 COND_PLATFORM_WIN32_0=""
50606 fi
50607
50608 COND_PLATFORM_WIN32_1="#"
50609 if test "x$PLATFORM_WIN32" = "x1" ; then
50610 COND_PLATFORM_WIN32_1=""
50611 fi
50612
50613 COND_SHARED_0="#"
50614 if test "x$SHARED" = "x0" ; then
50615 COND_SHARED_0=""
50616 fi
50617
50618 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50619 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50620 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50621 fi
50622
50623 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50624 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50625 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50626 fi
50627
50628 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50629 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50630 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50631 fi
50632
50633 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50634 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50635 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50636 fi
50637
50638 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50639 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50640 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50641 fi
50642
50643 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50644 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50645 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50646 fi
50647
50648 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50649 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50650 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50651 fi
50652
50653 COND_SHARED_0_USE_STC_1="#"
50654 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50655 COND_SHARED_0_USE_STC_1=""
50656 fi
50657
50658 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50659 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50660 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50661 fi
50662
50663 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50664 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50665 COND_SHARED_0_wxUSE_REGEX_builtin=""
50666 fi
50667
50668 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50669 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50670 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50671 fi
50672
50673 COND_SHARED_1="#"
50674 if test "x$SHARED" = "x1" ; then
50675 COND_SHARED_1=""
50676 fi
50677
50678 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50679 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50680 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50681 fi
50682
50683 COND_TOOLKIT_="#"
50684 if test "x$TOOLKIT" = "x" ; then
50685 COND_TOOLKIT_=""
50686 fi
50687
50688 COND_TOOLKIT_COCOA="#"
50689 if test "x$TOOLKIT" = "xCOCOA" ; then
50690 COND_TOOLKIT_COCOA=""
50691 fi
50692
50693 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50694 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50695 COND_TOOLKIT_COCOA_USE_GUI_1=""
50696 fi
50697
50698 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50699 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50700 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50701 fi
50702
50703 COND_TOOLKIT_DFB="#"
50704 if test "x$TOOLKIT" = "xDFB" ; then
50705 COND_TOOLKIT_DFB=""
50706 fi
50707
50708 COND_TOOLKIT_DFB_USE_GUI_1="#"
50709 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50710 COND_TOOLKIT_DFB_USE_GUI_1=""
50711 fi
50712
50713 COND_TOOLKIT_GTK="#"
50714 if test "x$TOOLKIT" = "xGTK" ; then
50715 COND_TOOLKIT_GTK=""
50716 fi
50717
50718 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50719 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50720 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50721 fi
50722
50723 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50724 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50725 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50726 fi
50727
50728 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50729 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50730 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50731 fi
50732
50733 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50734 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50735 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50736 fi
50737
50738 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50739 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50740 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50741 fi
50742
50743 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50744 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50745 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50746 fi
50747
50748 COND_TOOLKIT_GTK_USE_GUI_1="#"
50749 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50750 COND_TOOLKIT_GTK_USE_GUI_1=""
50751 fi
50752
50753 COND_TOOLKIT_MAC="#"
50754 if test "x$TOOLKIT" = "xMAC" ; then
50755 COND_TOOLKIT_MAC=""
50756 fi
50757
50758 COND_TOOLKIT_MGL="#"
50759 if test "x$TOOLKIT" = "xMGL" ; then
50760 COND_TOOLKIT_MGL=""
50761 fi
50762
50763 COND_TOOLKIT_MGL_USE_GUI_1="#"
50764 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50765 COND_TOOLKIT_MGL_USE_GUI_1=""
50766 fi
50767
50768 COND_TOOLKIT_MOTIF="#"
50769 if test "x$TOOLKIT" = "xMOTIF" ; then
50770 COND_TOOLKIT_MOTIF=""
50771 fi
50772
50773 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50774 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50775 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50776 fi
50777
50778 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50779 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50780 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50781 fi
50782
50783 COND_TOOLKIT_MSW="#"
50784 if test "x$TOOLKIT" = "xMSW" ; then
50785 COND_TOOLKIT_MSW=""
50786 fi
50787
50788 COND_TOOLKIT_MSW_USE_GUI_1="#"
50789 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50790 COND_TOOLKIT_MSW_USE_GUI_1=""
50791 fi
50792
50793 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50794 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50795 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50796 fi
50797
50798 COND_TOOLKIT_MSW_WXUNIV_0="#"
50799 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50800 COND_TOOLKIT_MSW_WXUNIV_0=""
50801 fi
50802
50803 COND_TOOLKIT_OSX_CARBON="#"
50804 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50805 COND_TOOLKIT_OSX_CARBON=""
50806 fi
50807
50808 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50809 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50810 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50811 fi
50812
50813 COND_TOOLKIT_OSX_COCOA="#"
50814 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50815 COND_TOOLKIT_OSX_COCOA=""
50816 fi
50817
50818 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50819 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50820 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50821 fi
50822
50823 COND_TOOLKIT_OSX_IPHONE="#"
50824 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50825 COND_TOOLKIT_OSX_IPHONE=""
50826 fi
50827
50828 COND_TOOLKIT_PM="#"
50829 if test "x$TOOLKIT" = "xPM" ; then
50830 COND_TOOLKIT_PM=""
50831 fi
50832
50833 COND_TOOLKIT_PM_USE_GUI_1="#"
50834 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50835 COND_TOOLKIT_PM_USE_GUI_1=""
50836 fi
50837
50838 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50839 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50840 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50841 fi
50842
50843 COND_TOOLKIT_WINCE="#"
50844 if test "x$TOOLKIT" = "xWINCE" ; then
50845 COND_TOOLKIT_WINCE=""
50846 fi
50847
50848 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50849 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50850 COND_TOOLKIT_WINCE_USE_GUI_1=""
50851 fi
50852
50853 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50854 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50855 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50856 fi
50857
50858 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50859 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50860 COND_TOOLKIT_WINCE_WXUNIV_0=""
50861 fi
50862
50863 COND_TOOLKIT_X11="#"
50864 if test "x$TOOLKIT" = "xX11" ; then
50865 COND_TOOLKIT_X11=""
50866 fi
50867
50868 COND_TOOLKIT_X11_USE_GUI_1="#"
50869 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50870 COND_TOOLKIT_X11_USE_GUI_1=""
50871 fi
50872
50873 COND_UNICODE_1="#"
50874 if test "x$UNICODE" = "x1" ; then
50875 COND_UNICODE_1=""
50876 fi
50877
50878 COND_USE_EXCEPTIONS_0="#"
50879 if test "x$USE_EXCEPTIONS" = "x0" ; then
50880 COND_USE_EXCEPTIONS_0=""
50881 fi
50882
50883 COND_USE_EXCEPTIONS_1="#"
50884 if test "x$USE_EXCEPTIONS" = "x1" ; then
50885 COND_USE_EXCEPTIONS_1=""
50886 fi
50887
50888 COND_USE_GUI_0="#"
50889 if test "x$USE_GUI" = "x0" ; then
50890 COND_USE_GUI_0=""
50891 fi
50892
50893 COND_USE_GUI_1="#"
50894 if test "x$USE_GUI" = "x1" ; then
50895 COND_USE_GUI_1=""
50896 fi
50897
50898 COND_USE_GUI_1_USE_OPENGL_1="#"
50899 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50900 COND_USE_GUI_1_USE_OPENGL_1=""
50901 fi
50902
50903 COND_USE_GUI_1_WXUNIV_0="#"
50904 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50905 COND_USE_GUI_1_WXUNIV_0=""
50906 fi
50907
50908 COND_USE_GUI_1_WXUNIV_1="#"
50909 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50910 COND_USE_GUI_1_WXUNIV_1=""
50911 fi
50912
50913 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50914 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50915 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50916 fi
50917
50918 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50919 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50920 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50921 fi
50922
50923 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50924 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50925 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50926 fi
50927
50928 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50929 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50930 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50931 fi
50932
50933 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50934 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50935 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50936 fi
50937
50938 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50939 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50940 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50941 fi
50942
50943 COND_USE_OPENGL_1="#"
50944 if test "x$USE_OPENGL" = "x1" ; then
50945 COND_USE_OPENGL_1=""
50946 fi
50947
50948 COND_USE_PCH_1="#"
50949 if test "x$USE_PCH" = "x1" ; then
50950 COND_USE_PCH_1=""
50951 fi
50952
50953 COND_USE_PLUGINS_0="#"
50954 if test "x$USE_PLUGINS" = "x0" ; then
50955 COND_USE_PLUGINS_0=""
50956 fi
50957
50958 COND_USE_RTTI_0="#"
50959 if test "x$USE_RTTI" = "x0" ; then
50960 COND_USE_RTTI_0=""
50961 fi
50962
50963 COND_USE_RTTI_1="#"
50964 if test "x$USE_RTTI" = "x1" ; then
50965 COND_USE_RTTI_1=""
50966 fi
50967
50968 COND_USE_SOTWOSYMLINKS_1="#"
50969 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
50970 COND_USE_SOTWOSYMLINKS_1=""
50971 fi
50972
50973 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50974 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50975 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50976 fi
50977
50978 COND_USE_SOVERLINUX_1="#"
50979 if test "x$USE_SOVERLINUX" = "x1" ; then
50980 COND_USE_SOVERLINUX_1=""
50981 fi
50982
50983 COND_USE_SOVERSION_0="#"
50984 if test "x$USE_SOVERSION" = "x0" ; then
50985 COND_USE_SOVERSION_0=""
50986 fi
50987
50988 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
50989 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
50990 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
50991 fi
50992
50993 COND_USE_SOVERSOLARIS_1="#"
50994 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50995 COND_USE_SOVERSOLARIS_1=""
50996 fi
50997
50998 COND_USE_STC_1="#"
50999 if test "x$USE_STC" = "x1" ; then
51000 COND_USE_STC_1=""
51001 fi
51002
51003 COND_USE_THREADS_0="#"
51004 if test "x$USE_THREADS" = "x0" ; then
51005 COND_USE_THREADS_0=""
51006 fi
51007
51008 COND_USE_THREADS_1="#"
51009 if test "x$USE_THREADS" = "x1" ; then
51010 COND_USE_THREADS_1=""
51011 fi
51012
51013 COND_USE_XRC_1="#"
51014 if test "x$USE_XRC" = "x1" ; then
51015 COND_USE_XRC_1=""
51016 fi
51017
51018 COND_WINDOWS_IMPLIB_1="#"
51019 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51020 COND_WINDOWS_IMPLIB_1=""
51021 fi
51022
51023 COND_WITH_PLUGIN_SDL_1="#"
51024 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51025 COND_WITH_PLUGIN_SDL_1=""
51026 fi
51027
51028 COND_WXUNIV_0="#"
51029 if test "x$WXUNIV" = "x0" ; then
51030 COND_WXUNIV_0=""
51031 fi
51032
51033 COND_WXUNIV_1="#"
51034 if test "x$WXUNIV" = "x1" ; then
51035 COND_WXUNIV_1=""
51036 fi
51037
51038 COND_WXUSE_EXPAT_BUILTIN="#"
51039 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51040 COND_WXUSE_EXPAT_BUILTIN=""
51041 fi
51042
51043 COND_WXUSE_LIBJPEG_BUILTIN="#"
51044 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51045 COND_WXUSE_LIBJPEG_BUILTIN=""
51046 fi
51047
51048 COND_WXUSE_LIBPNG_BUILTIN="#"
51049 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51050 COND_WXUSE_LIBPNG_BUILTIN=""
51051 fi
51052
51053 COND_WXUSE_LIBTIFF_BUILTIN="#"
51054 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51055 COND_WXUSE_LIBTIFF_BUILTIN=""
51056 fi
51057
51058 COND_WXUSE_REGEX_BUILTIN="#"
51059 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51060 COND_WXUSE_REGEX_BUILTIN=""
51061 fi
51062
51063 COND_WXUSE_ZLIB_BUILTIN="#"
51064 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51065 COND_WXUSE_ZLIB_BUILTIN=""
51066 fi
51067
51068 COND_wxUSE_EXPAT_builtin="#"
51069 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51070 COND_wxUSE_EXPAT_builtin=""
51071 fi
51072
51073 COND_wxUSE_LIBJPEG_builtin="#"
51074 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51075 COND_wxUSE_LIBJPEG_builtin=""
51076 fi
51077
51078 COND_wxUSE_LIBPNG_builtin="#"
51079 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51080 COND_wxUSE_LIBPNG_builtin=""
51081 fi
51082
51083 COND_wxUSE_LIBTIFF_builtin="#"
51084 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51085 COND_wxUSE_LIBTIFF_builtin=""
51086 fi
51087
51088 COND_wxUSE_REGEX_builtin="#"
51089 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51090 COND_wxUSE_REGEX_builtin=""
51091 fi
51092
51093 COND_wxUSE_ZLIB_builtin="#"
51094 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51095 COND_wxUSE_ZLIB_builtin=""
51096 fi
51097
51098
51099
51100 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51101 { { 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
51102 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;}
51103 { (exit 1); exit 1; }; }
51104 fi
51105
51106 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51107 { { 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
51108 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;}
51109 { (exit 1); exit 1; }; }
51110 fi
51111
51112
51113 case ${INSTALL} in
51114 /* ) # Absolute
51115 ;;
51116 ?:* ) # Drive letter, considered as absolute.
51117 ;;
51118 *)
51119 INSTALL=`pwd`/${INSTALL} ;;
51120 esac
51121
51122 if test "$wxUSE_GUI" = "yes"; then
51123
51124 if test "$wxUSE_MSW" = 1 ; then
51125 if test "x$WINDRES" = "x"; then
51126 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
51127 echo "$as_me: error: Required windres program not found" >&2;}
51128 { (exit 1); exit 1; }; }
51129 fi
51130
51131 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
51132 fi
51133
51134 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
51135 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
51136 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
51137
51138 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
51139
51140 # Extract the first word of "DeRez", so it can be a program name with args.
51141 set dummy DeRez; ac_word=$2
51142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51144 if test "${ac_cv_prog_DEREZ+set}" = set; then
51145 echo $ECHO_N "(cached) $ECHO_C" >&6
51146 else
51147 if test -n "$DEREZ"; then
51148 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
51149 else
51150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51151 for as_dir in $PATH
51152 do
51153 IFS=$as_save_IFS
51154 test -z "$as_dir" && as_dir=.
51155 for ac_exec_ext in '' $ac_executable_extensions; do
51156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51157 ac_cv_prog_DEREZ="DeRez"
51158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51159 break 2
51160 fi
51161 done
51162 done
51163 IFS=$as_save_IFS
51164
51165 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
51166 fi
51167 fi
51168 DEREZ=$ac_cv_prog_DEREZ
51169 if test -n "$DEREZ"; then
51170 { echo "$as_me:$LINENO: result: $DEREZ" >&5
51171 echo "${ECHO_T}$DEREZ" >&6; }
51172 else
51173 { echo "$as_me:$LINENO: result: no" >&5
51174 echo "${ECHO_T}no" >&6; }
51175 fi
51176
51177
51178
51179 MACSETFILE="\$(SETFILE)"
51180
51181 if test "$wxUSE_OSX_CARBON" = 1; then
51182 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
51183 RESCOMP="$REZ"
51184 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
51185 else
51186 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
51187 RESCOMP="cat /dev/null \| $REZ"
51188 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
51189 fi
51190
51191 else
51192 MACSETFILE="@true"
51193
51194 if test "$wxUSE_PM" = 1; then
51195 RESCOMP="emxbind"
51196 WXCONFIG_RESFLAGS="-ep"
51197
51198 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
51199 else
51200 POSTLINK_COMMAND="@true"
51201 fi
51202 fi
51203
51204 fi
51205
51206
51207 if test $GCC_PCH = 1
51208 then
51209 if test "$wx_cv_gcc_pch_bug" = yes; then
51210 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51211 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51212 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51213 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51214 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51215 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51216 fi
51217
51218 # Our WX_PRECOMP flag does not make sense for any language except C++ because
51219 # the headers that benefit from precompilation are mostly C++ headers.
51220 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51221 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
51222 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51223 fi
51224
51225
51226 if test "$wxUSE_MAC" = 1 ; then
51227 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51228 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51229 mv temp bk-deps
51230 chmod +x bk-deps
51231 fi
51232 fi
51233
51234 if test "$wxUSE_SHARED" = "yes"; then
51235 case "${host}" in
51236 *-pc-os2_emx | *-pc-os2-emx )
51237 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51238 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51239 cp -p ${srcdir}/src/os2/dllnames.sh .
51240 cp -p ${srcdir}/src/os2/dllar.sh .
51241 ;;
51242 esac
51243 fi
51244 if test "$wxUSE_OMF" = "yes"; then
51245 case "${host}" in
51246 *-pc-os2_emx | *-pc-os2-emx )
51247 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51248 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51249 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51250 ;;
51251 esac
51252 fi
51253
51254 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51255
51256
51257 case "${host}" in
51258 *-*-solaris2* )
51259 if test "$GCC" = yes; then
51260 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51261 LIBS=`echo $LIBS | sed 's/-mt//'`
51262 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51263 fi
51264 ;;
51265
51266 *-*-linux* )
51267 if test "x$SUNCXX" = xyes; then
51268 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51269 LIBS=`echo $LIBS | sed 's/-pthread//'`
51270 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51271 fi
51272 ;;
51273 esac
51274
51275 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51276 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51277 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
51278 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51279
51280 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51281
51282
51283
51284
51285
51286
51287
51288
51289
51290
51291
51292
51293
51294
51295
51296
51297
51298
51299
51300
51301
51302
51303
51304
51305
51306
51307
51308
51309
51310
51311
51312
51313
51314
51315
51316
51317
51318
51319
51320
51321
51322
51323
51324
51325
51326
51327
51328
51329
51330
51331
51332
51333
51334
51335
51336
51337
51338
51339
51340
51341 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51342 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51343 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51344 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51345 echo $ECHO_N "(cached) $ECHO_C" >&6
51346 else
51347 cat >conftest.make <<\_ACEOF
51348 SHELL = /bin/sh
51349 all:
51350 @echo '@@@%%%=$(MAKE)=@@@%%%'
51351 _ACEOF
51352 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51353 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51354 *@@@%%%=?*=@@@%%%*)
51355 eval ac_cv_prog_make_${ac_make}_set=yes;;
51356 *)
51357 eval ac_cv_prog_make_${ac_make}_set=no;;
51358 esac
51359 rm -f conftest.make
51360 fi
51361 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51362 { echo "$as_me:$LINENO: result: yes" >&5
51363 echo "${ECHO_T}yes" >&6; }
51364 SET_MAKE=
51365 else
51366 { echo "$as_me:$LINENO: result: no" >&5
51367 echo "${ECHO_T}no" >&6; }
51368 SET_MAKE="MAKE=${MAKE-make}"
51369 fi
51370
51371
51372
51373 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51374
51375
51376 if test "$USE_WIN32" = 1; then
51377 ac_config_commands="$ac_config_commands rcdefs.h"
51378
51379 fi
51380
51381 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51382
51383
51384 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51385
51386
51387 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51388
51389
51390 if test "$wx_cv_version_script" = "yes"; then
51391 ac_config_files="$ac_config_files version-script"
51392
51393 fi
51394 ac_config_files="$ac_config_files Makefile"
51395
51396
51397 ac_config_commands="$ac_config_commands wx-config"
51398
51399
51400
51401 if test "$wxWITH_SUBDIRS" != "no"; then
51402 if test "$wxUSE_GUI" = "yes"; then
51403 SUBDIRS="samples demos utils"
51404 else
51405 SUBDIRS="samples utils"
51406 fi
51407
51408
51409
51410 # Check whether --with-cppunit-prefix was given.
51411 if test "${with_cppunit_prefix+set}" = set; then
51412 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51413 else
51414 cppunit_config_prefix=""
51415 fi
51416
51417
51418 # Check whether --with-cppunit-exec-prefix was given.
51419 if test "${with_cppunit_exec_prefix+set}" = set; then
51420 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51421 else
51422 cppunit_config_exec_prefix=""
51423 fi
51424
51425
51426 if test x$cppunit_config_exec_prefix != x ; then
51427 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51428 if test x${CPPUNIT_CONFIG+set} != xset ; then
51429 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51430 fi
51431 fi
51432 if test x$cppunit_config_prefix != x ; then
51433 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51434 if test x${CPPUNIT_CONFIG+set} != xset ; then
51435 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51436 fi
51437 fi
51438
51439 # Extract the first word of "cppunit-config", so it can be a program name with args.
51440 set dummy cppunit-config; ac_word=$2
51441 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51443 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51444 echo $ECHO_N "(cached) $ECHO_C" >&6
51445 else
51446 case $CPPUNIT_CONFIG in
51447 [\\/]* | ?:[\\/]*)
51448 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51449 ;;
51450 *)
51451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51452 for as_dir in $PATH
51453 do
51454 IFS=$as_save_IFS
51455 test -z "$as_dir" && as_dir=.
51456 for ac_exec_ext in '' $ac_executable_extensions; do
51457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51458 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51460 break 2
51461 fi
51462 done
51463 done
51464 IFS=$as_save_IFS
51465
51466 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51467 ;;
51468 esac
51469 fi
51470 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51471 if test -n "$CPPUNIT_CONFIG"; then
51472 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51473 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51474 else
51475 { echo "$as_me:$LINENO: result: no" >&5
51476 echo "${ECHO_T}no" >&6; }
51477 fi
51478
51479
51480 cppunit_version_min=1.8.0
51481
51482 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51483 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51484 no_cppunit=""
51485 if test "$CPPUNIT_CONFIG" = "no" ; then
51486 { echo "$as_me:$LINENO: result: no" >&5
51487 echo "${ECHO_T}no" >&6; }
51488 no_cppunit=yes
51489 else
51490 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51491 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51492 cppunit_version=`$CPPUNIT_CONFIG --version`
51493
51494 cppunit_major_version=`echo $cppunit_version | \
51495 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51496 cppunit_minor_version=`echo $cppunit_version | \
51497 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51498 cppunit_micro_version=`echo $cppunit_version | \
51499 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51500
51501 cppunit_major_min=`echo $cppunit_version_min | \
51502 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51503 cppunit_minor_min=`echo $cppunit_version_min | \
51504 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51505 cppunit_micro_min=`echo $cppunit_version_min | \
51506 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51507
51508 cppunit_version_proper=`expr \
51509 $cppunit_major_version \> $cppunit_major_min \| \
51510 $cppunit_major_version \= $cppunit_major_min \& \
51511 $cppunit_minor_version \> $cppunit_minor_min \| \
51512 $cppunit_major_version \= $cppunit_major_min \& \
51513 $cppunit_minor_version \= $cppunit_minor_min \& \
51514 $cppunit_micro_version \>= $cppunit_micro_min `
51515
51516 if test "$cppunit_version_proper" = "1" ; then
51517 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51518 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51519 else
51520 { echo "$as_me:$LINENO: result: no" >&5
51521 echo "${ECHO_T}no" >&6; }
51522 no_cppunit=yes
51523 fi
51524 fi
51525
51526 if test "x$no_cppunit" = x ; then
51527 SUBDIRS="$SUBDIRS tests"
51528 else
51529 CPPUNIT_CFLAGS=""
51530 CPPUNIT_LIBS=""
51531 :
51532 fi
51533
51534
51535
51536
51537
51538 for subdir in $SUBDIRS; do
51539 if test -d ${srcdir}/${subdir} ; then
51540 if test "$wxUSE_GUI" = "yes"; then
51541 if test ${subdir} = "samples"; then
51542 makefiles="samples/Makefile.in $makefiles"
51543 for sample in $SAMPLES_SUBDIRS; do
51544 if test -d $srcdir/samples/$sample; then
51545 makefiles="samples/$sample/Makefile.in $makefiles"
51546 fi
51547 done
51548 else
51549 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51550 eval "disabled=\$$disabled_var"
51551 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51552 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51553 fi
51554 else
51555 if test ${subdir} = "samples"; then
51556 makefiles="samples/Makefile.in $makefiles"
51557 for sample in `echo $SAMPLES_SUBDIRS`; do
51558 if test -d $srcdir/samples/$sample; then
51559 makefiles="samples/$sample/Makefile.in $makefiles"
51560 fi
51561 done
51562 elif test ${subdir} = "utils"; then
51563 makefiles=""
51564 for util in ifacecheck ; do
51565 if test -d $srcdir/utils/$util ; then
51566 makefiles="utils/$util/src/Makefile.in \
51567 $makefiles"
51568 fi
51569 done
51570 else
51571 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51572 fi
51573 fi
51574
51575 for mkin in $makefiles ; do
51576 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51577 ac_config_files="$ac_config_files $mk"
51578
51579 done
51580 fi
51581 done
51582 fi
51583 cat >confcache <<\_ACEOF
51584 # This file is a shell script that caches the results of configure
51585 # tests run on this system so they can be shared between configure
51586 # scripts and configure runs, see configure's option --config-cache.
51587 # It is not useful on other systems. If it contains results you don't
51588 # want to keep, you may remove or edit it.
51589 #
51590 # config.status only pays attention to the cache file if you give it
51591 # the --recheck option to rerun configure.
51592 #
51593 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51594 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51595 # following values.
51596
51597 _ACEOF
51598
51599 # The following way of writing the cache mishandles newlines in values,
51600 # but we know of no workaround that is simple, portable, and efficient.
51601 # So, we kill variables containing newlines.
51602 # Ultrix sh set writes to stderr and can't be redirected directly,
51603 # and sets the high bit in the cache file unless we assign to the vars.
51604 (
51605 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51606 eval ac_val=\$$ac_var
51607 case $ac_val in #(
51608 *${as_nl}*)
51609 case $ac_var in #(
51610 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51611 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51612 esac
51613 case $ac_var in #(
51614 _ | IFS | as_nl) ;; #(
51615 *) $as_unset $ac_var ;;
51616 esac ;;
51617 esac
51618 done
51619
51620 (set) 2>&1 |
51621 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51622 *${as_nl}ac_space=\ *)
51623 # `set' does not quote correctly, so add quotes (double-quote
51624 # substitution turns \\\\ into \\, and sed turns \\ into \).
51625 sed -n \
51626 "s/'/'\\\\''/g;
51627 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51628 ;; #(
51629 *)
51630 # `set' quotes correctly as required by POSIX, so do not add quotes.
51631 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51632 ;;
51633 esac |
51634 sort
51635 ) |
51636 sed '
51637 /^ac_cv_env_/b end
51638 t clear
51639 :clear
51640 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51641 t end
51642 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51643 :end' >>confcache
51644 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51645 if test -w "$cache_file"; then
51646 test "x$cache_file" != "x/dev/null" &&
51647 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51648 echo "$as_me: updating cache $cache_file" >&6;}
51649 cat confcache >$cache_file
51650 else
51651 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51652 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51653 fi
51654 fi
51655 rm -f confcache
51656
51657 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51658 # Let make expand exec_prefix.
51659 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51660
51661 DEFS=-DHAVE_CONFIG_H
51662
51663 ac_libobjs=
51664 ac_ltlibobjs=
51665 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51666 # 1. Remove the extension, and $U if already installed.
51667 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51668 ac_i=`echo "$ac_i" | sed "$ac_script"`
51669 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51670 # will be set to the directory where LIBOBJS objects are built.
51671 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51672 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51673 done
51674 LIBOBJS=$ac_libobjs
51675
51676 LTLIBOBJS=$ac_ltlibobjs
51677
51678
51679
51680 : ${CONFIG_STATUS=./config.status}
51681 ac_clean_files_save=$ac_clean_files
51682 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51683 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51684 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51685 cat >$CONFIG_STATUS <<_ACEOF
51686 #! $SHELL
51687 # Generated by $as_me.
51688 # Run this file to recreate the current configuration.
51689 # Compiler output produced by configure, useful for debugging
51690 # configure, is in config.log if it exists.
51691
51692 debug=false
51693 ac_cs_recheck=false
51694 ac_cs_silent=false
51695 SHELL=\${CONFIG_SHELL-$SHELL}
51696 _ACEOF
51697
51698 cat >>$CONFIG_STATUS <<\_ACEOF
51699 ## --------------------- ##
51700 ## M4sh Initialization. ##
51701 ## --------------------- ##
51702
51703 # Be more Bourne compatible
51704 DUALCASE=1; export DUALCASE # for MKS sh
51705 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51706 emulate sh
51707 NULLCMD=:
51708 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51709 # is contrary to our usage. Disable this feature.
51710 alias -g '${1+"$@"}'='"$@"'
51711 setopt NO_GLOB_SUBST
51712 else
51713 case `(set -o) 2>/dev/null` in
51714 *posix*) set -o posix ;;
51715 esac
51716
51717 fi
51718
51719
51720
51721
51722 # PATH needs CR
51723 # Avoid depending upon Character Ranges.
51724 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51725 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51726 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51727 as_cr_digits='0123456789'
51728 as_cr_alnum=$as_cr_Letters$as_cr_digits
51729
51730 # The user is always right.
51731 if test "${PATH_SEPARATOR+set}" != set; then
51732 echo "#! /bin/sh" >conf$$.sh
51733 echo "exit 0" >>conf$$.sh
51734 chmod +x conf$$.sh
51735 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51736 PATH_SEPARATOR=';'
51737 else
51738 PATH_SEPARATOR=:
51739 fi
51740 rm -f conf$$.sh
51741 fi
51742
51743 # Support unset when possible.
51744 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51745 as_unset=unset
51746 else
51747 as_unset=false
51748 fi
51749
51750
51751 # IFS
51752 # We need space, tab and new line, in precisely that order. Quoting is
51753 # there to prevent editors from complaining about space-tab.
51754 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51755 # splitting by setting IFS to empty value.)
51756 as_nl='
51757 '
51758 IFS=" "" $as_nl"
51759
51760 # Find who we are. Look in the path if we contain no directory separator.
51761 case $0 in
51762 *[\\/]* ) as_myself=$0 ;;
51763 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51764 for as_dir in $PATH
51765 do
51766 IFS=$as_save_IFS
51767 test -z "$as_dir" && as_dir=.
51768 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51769 done
51770 IFS=$as_save_IFS
51771
51772 ;;
51773 esac
51774 # We did not find ourselves, most probably we were run as `sh COMMAND'
51775 # in which case we are not to be found in the path.
51776 if test "x$as_myself" = x; then
51777 as_myself=$0
51778 fi
51779 if test ! -f "$as_myself"; then
51780 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51781 { (exit 1); exit 1; }
51782 fi
51783
51784 # Work around bugs in pre-3.0 UWIN ksh.
51785 for as_var in ENV MAIL MAILPATH
51786 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51787 done
51788 PS1='$ '
51789 PS2='> '
51790 PS4='+ '
51791
51792 # NLS nuisances.
51793 for as_var in \
51794 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51795 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51796 LC_TELEPHONE LC_TIME
51797 do
51798 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51799 eval $as_var=C; export $as_var
51800 else
51801 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51802 fi
51803 done
51804
51805 # Required to use basename.
51806 if expr a : '\(a\)' >/dev/null 2>&1 &&
51807 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51808 as_expr=expr
51809 else
51810 as_expr=false
51811 fi
51812
51813 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51814 as_basename=basename
51815 else
51816 as_basename=false
51817 fi
51818
51819
51820 # Name of the executable.
51821 as_me=`$as_basename -- "$0" ||
51822 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51823 X"$0" : 'X\(//\)$' \| \
51824 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51825 echo X/"$0" |
51826 sed '/^.*\/\([^/][^/]*\)\/*$/{
51827 s//\1/
51828 q
51829 }
51830 /^X\/\(\/\/\)$/{
51831 s//\1/
51832 q
51833 }
51834 /^X\/\(\/\).*/{
51835 s//\1/
51836 q
51837 }
51838 s/.*/./; q'`
51839
51840 # CDPATH.
51841 $as_unset CDPATH
51842
51843
51844
51845 as_lineno_1=$LINENO
51846 as_lineno_2=$LINENO
51847 test "x$as_lineno_1" != "x$as_lineno_2" &&
51848 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51849
51850 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51851 # uniformly replaced by the line number. The first 'sed' inserts a
51852 # line-number line after each line using $LINENO; the second 'sed'
51853 # does the real work. The second script uses 'N' to pair each
51854 # line-number line with the line containing $LINENO, and appends
51855 # trailing '-' during substitution so that $LINENO is not a special
51856 # case at line end.
51857 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51858 # scripts with optimization help from Paolo Bonzini. Blame Lee
51859 # E. McMahon (1931-1989) for sed's syntax. :-)
51860 sed -n '
51861 p
51862 /[$]LINENO/=
51863 ' <$as_myself |
51864 sed '
51865 s/[$]LINENO.*/&-/
51866 t lineno
51867 b
51868 :lineno
51869 N
51870 :loop
51871 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51872 t loop
51873 s/-\n.*//
51874 ' >$as_me.lineno &&
51875 chmod +x "$as_me.lineno" ||
51876 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51877 { (exit 1); exit 1; }; }
51878
51879 # Don't try to exec as it changes $[0], causing all sort of problems
51880 # (the dirname of $[0] is not the place where we might find the
51881 # original and so on. Autoconf is especially sensitive to this).
51882 . "./$as_me.lineno"
51883 # Exit status is that of the last command.
51884 exit
51885 }
51886
51887
51888 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51889 as_dirname=dirname
51890 else
51891 as_dirname=false
51892 fi
51893
51894 ECHO_C= ECHO_N= ECHO_T=
51895 case `echo -n x` in
51896 -n*)
51897 case `echo 'x\c'` in
51898 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51899 *) ECHO_C='\c';;
51900 esac;;
51901 *)
51902 ECHO_N='-n';;
51903 esac
51904
51905 if expr a : '\(a\)' >/dev/null 2>&1 &&
51906 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51907 as_expr=expr
51908 else
51909 as_expr=false
51910 fi
51911
51912 rm -f conf$$ conf$$.exe conf$$.file
51913 if test -d conf$$.dir; then
51914 rm -f conf$$.dir/conf$$.file
51915 else
51916 rm -f conf$$.dir
51917 mkdir conf$$.dir
51918 fi
51919 echo >conf$$.file
51920 if ln -s conf$$.file conf$$ 2>/dev/null; then
51921 as_ln_s='ln -s'
51922 # ... but there are two gotchas:
51923 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51924 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51925 # In both cases, we have to default to `cp -p'.
51926 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51927 as_ln_s='cp -p'
51928 elif ln conf$$.file conf$$ 2>/dev/null; then
51929 as_ln_s=ln
51930 else
51931 as_ln_s='cp -p'
51932 fi
51933 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51934 rmdir conf$$.dir 2>/dev/null
51935
51936 if mkdir -p . 2>/dev/null; then
51937 as_mkdir_p=:
51938 else
51939 test -d ./-p && rmdir ./-p
51940 as_mkdir_p=false
51941 fi
51942
51943 if test -x / >/dev/null 2>&1; then
51944 as_test_x='test -x'
51945 else
51946 if ls -dL / >/dev/null 2>&1; then
51947 as_ls_L_option=L
51948 else
51949 as_ls_L_option=
51950 fi
51951 as_test_x='
51952 eval sh -c '\''
51953 if test -d "$1"; then
51954 test -d "$1/.";
51955 else
51956 case $1 in
51957 -*)set "./$1";;
51958 esac;
51959 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51960 ???[sx]*):;;*)false;;esac;fi
51961 '\'' sh
51962 '
51963 fi
51964 as_executable_p=$as_test_x
51965
51966 # Sed expression to map a string onto a valid CPP name.
51967 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51968
51969 # Sed expression to map a string onto a valid variable name.
51970 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51971
51972
51973 exec 6>&1
51974
51975 # Save the log message, to keep $[0] and so on meaningful, and to
51976 # report actual input values of CONFIG_FILES etc. instead of their
51977 # values after options handling.
51978 ac_log="
51979 This file was extended by wxWidgets $as_me 2.9.1, which was
51980 generated by GNU Autoconf 2.61. Invocation command line was
51981
51982 CONFIG_FILES = $CONFIG_FILES
51983 CONFIG_HEADERS = $CONFIG_HEADERS
51984 CONFIG_LINKS = $CONFIG_LINKS
51985 CONFIG_COMMANDS = $CONFIG_COMMANDS
51986 $ $0 $@
51987
51988 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51989 "
51990
51991 _ACEOF
51992
51993 cat >>$CONFIG_STATUS <<_ACEOF
51994 # Files that config.status was made for.
51995 config_files="$ac_config_files"
51996 config_headers="$ac_config_headers"
51997 config_commands="$ac_config_commands"
51998
51999 _ACEOF
52000
52001 cat >>$CONFIG_STATUS <<\_ACEOF
52002 ac_cs_usage="\
52003 \`$as_me' instantiates files from templates according to the
52004 current configuration.
52005
52006 Usage: $0 [OPTIONS] [FILE]...
52007
52008 -h, --help print this help, then exit
52009 -V, --version print version number and configuration settings, then exit
52010 -q, --quiet do not print progress messages
52011 -d, --debug don't remove temporary files
52012 --recheck update $as_me by reconfiguring in the same conditions
52013 --file=FILE[:TEMPLATE]
52014 instantiate the configuration file FILE
52015 --header=FILE[:TEMPLATE]
52016 instantiate the configuration header FILE
52017
52018 Configuration files:
52019 $config_files
52020
52021 Configuration headers:
52022 $config_headers
52023
52024 Configuration commands:
52025 $config_commands
52026
52027 Report bugs to <bug-autoconf@gnu.org>."
52028
52029 _ACEOF
52030 cat >>$CONFIG_STATUS <<_ACEOF
52031 ac_cs_version="\\
52032 wxWidgets config.status 2.9.1
52033 configured by $0, generated by GNU Autoconf 2.61,
52034 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52035
52036 Copyright (C) 2006 Free Software Foundation, Inc.
52037 This config.status script is free software; the Free Software Foundation
52038 gives unlimited permission to copy, distribute and modify it."
52039
52040 ac_pwd='$ac_pwd'
52041 srcdir='$srcdir'
52042 INSTALL='$INSTALL'
52043 _ACEOF
52044
52045 cat >>$CONFIG_STATUS <<\_ACEOF
52046 # If no file are specified by the user, then we need to provide default
52047 # value. By we need to know if files were specified by the user.
52048 ac_need_defaults=:
52049 while test $# != 0
52050 do
52051 case $1 in
52052 --*=*)
52053 ac_option=`expr "X$1" : 'X\([^=]*\)='`
52054 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
52055 ac_shift=:
52056 ;;
52057 *)
52058 ac_option=$1
52059 ac_optarg=$2
52060 ac_shift=shift
52061 ;;
52062 esac
52063
52064 case $ac_option in
52065 # Handling of the options.
52066 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52067 ac_cs_recheck=: ;;
52068 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52069 echo "$ac_cs_version"; exit ;;
52070 --debug | --debu | --deb | --de | --d | -d )
52071 debug=: ;;
52072 --file | --fil | --fi | --f )
52073 $ac_shift
52074 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
52075 ac_need_defaults=false;;
52076 --header | --heade | --head | --hea )
52077 $ac_shift
52078 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
52079 ac_need_defaults=false;;
52080 --he | --h)
52081 # Conflict between --help and --header
52082 { echo "$as_me: error: ambiguous option: $1
52083 Try \`$0 --help' for more information." >&2
52084 { (exit 1); exit 1; }; };;
52085 --help | --hel | -h )
52086 echo "$ac_cs_usage"; exit ;;
52087 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52088 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52089 ac_cs_silent=: ;;
52090
52091 # This is an error.
52092 -*) { echo "$as_me: error: unrecognized option: $1
52093 Try \`$0 --help' for more information." >&2
52094 { (exit 1); exit 1; }; } ;;
52095
52096 *) ac_config_targets="$ac_config_targets $1"
52097 ac_need_defaults=false ;;
52098
52099 esac
52100 shift
52101 done
52102
52103 ac_configure_extra_args=
52104
52105 if $ac_cs_silent; then
52106 exec 6>/dev/null
52107 ac_configure_extra_args="$ac_configure_extra_args --silent"
52108 fi
52109
52110 _ACEOF
52111 cat >>$CONFIG_STATUS <<_ACEOF
52112 if \$ac_cs_recheck; then
52113 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52114 CONFIG_SHELL=$SHELL
52115 export CONFIG_SHELL
52116 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52117 fi
52118
52119 _ACEOF
52120 cat >>$CONFIG_STATUS <<\_ACEOF
52121 exec 5>>config.log
52122 {
52123 echo
52124 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52125 ## Running $as_me. ##
52126 _ASBOX
52127 echo "$ac_log"
52128 } >&5
52129
52130 _ACEOF
52131 cat >>$CONFIG_STATUS <<_ACEOF
52132 #
52133 # INIT-COMMANDS
52134 #
52135
52136 CPP="$CPP"
52137 infile="$srcdir/include/wx/msw/genrcdefs.h"
52138 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52139
52140
52141 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52142 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52143 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52144 LN_S="${LN_S}"
52145
52146
52147 _ACEOF
52148
52149 cat >>$CONFIG_STATUS <<\_ACEOF
52150
52151 # Handling of arguments.
52152 for ac_config_target in $ac_config_targets
52153 do
52154 case $ac_config_target in
52155 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52156 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
52157 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52158 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52159 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
52160 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
52161 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
52162 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
52163 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
52164
52165 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52166 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52167 { (exit 1); exit 1; }; };;
52168 esac
52169 done
52170
52171
52172 # If the user did not use the arguments to specify the items to instantiate,
52173 # then the envvar interface is used. Set only those that are not.
52174 # We use the long form for the default assignment because of an extremely
52175 # bizarre bug on SunOS 4.1.3.
52176 if $ac_need_defaults; then
52177 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
52178 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
52179 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
52180 fi
52181
52182 # Have a temporary directory for convenience. Make it in the build tree
52183 # simply because there is no reason against having it here, and in addition,
52184 # creating and moving files from /tmp can sometimes cause problems.
52185 # Hook for its removal unless debugging.
52186 # Note that there is a small window in which the directory will not be cleaned:
52187 # after its creation but before its name has been assigned to `$tmp'.
52188 $debug ||
52189 {
52190 tmp=
52191 trap 'exit_status=$?
52192 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52193 ' 0
52194 trap '{ (exit 1); exit 1; }' 1 2 13 15
52195 }
52196 # Create a (secure) tmp directory for tmp files.
52197
52198 {
52199 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52200 test -n "$tmp" && test -d "$tmp"
52201 } ||
52202 {
52203 tmp=./conf$$-$RANDOM
52204 (umask 077 && mkdir "$tmp")
52205 } ||
52206 {
52207 echo "$me: cannot create a temporary directory in ." >&2
52208 { (exit 1); exit 1; }
52209 }
52210
52211 #
52212 # Set up the sed scripts for CONFIG_FILES section.
52213 #
52214
52215 # No need to generate the scripts if there are no CONFIG_FILES.
52216 # This happens for instance when ./config.status config.h
52217 if test -n "$CONFIG_FILES"; then
52218
52219 _ACEOF
52220
52221
52222
52223 ac_delim='%!_!# '
52224 for ac_last_try in false false false false false :; do
52225 cat >conf$$subs.sed <<_ACEOF
52226 SHELL!$SHELL$ac_delim
52227 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52228 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52229 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52230 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52231 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52232 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52233 exec_prefix!$exec_prefix$ac_delim
52234 prefix!$prefix$ac_delim
52235 program_transform_name!$program_transform_name$ac_delim
52236 bindir!$bindir$ac_delim
52237 sbindir!$sbindir$ac_delim
52238 libexecdir!$libexecdir$ac_delim
52239 datarootdir!$datarootdir$ac_delim
52240 datadir!$datadir$ac_delim
52241 sysconfdir!$sysconfdir$ac_delim
52242 sharedstatedir!$sharedstatedir$ac_delim
52243 localstatedir!$localstatedir$ac_delim
52244 includedir!$includedir$ac_delim
52245 oldincludedir!$oldincludedir$ac_delim
52246 docdir!$docdir$ac_delim
52247 infodir!$infodir$ac_delim
52248 htmldir!$htmldir$ac_delim
52249 dvidir!$dvidir$ac_delim
52250 pdfdir!$pdfdir$ac_delim
52251 psdir!$psdir$ac_delim
52252 libdir!$libdir$ac_delim
52253 localedir!$localedir$ac_delim
52254 mandir!$mandir$ac_delim
52255 DEFS!$DEFS$ac_delim
52256 ECHO_C!$ECHO_C$ac_delim
52257 ECHO_N!$ECHO_N$ac_delim
52258 ECHO_T!$ECHO_T$ac_delim
52259 LIBS!$LIBS$ac_delim
52260 build_alias!$build_alias$ac_delim
52261 host_alias!$host_alias$ac_delim
52262 target_alias!$target_alias$ac_delim
52263 build!$build$ac_delim
52264 build_cpu!$build_cpu$ac_delim
52265 build_vendor!$build_vendor$ac_delim
52266 build_os!$build_os$ac_delim
52267 host!$host$ac_delim
52268 host_cpu!$host_cpu$ac_delim
52269 host_vendor!$host_vendor$ac_delim
52270 host_os!$host_os$ac_delim
52271 wx_top_builddir!$wx_top_builddir$ac_delim
52272 CC!$CC$ac_delim
52273 CFLAGS!$CFLAGS$ac_delim
52274 LDFLAGS!$LDFLAGS$ac_delim
52275 CPPFLAGS!$CPPFLAGS$ac_delim
52276 ac_ct_CC!$ac_ct_CC$ac_delim
52277 EXEEXT!$EXEEXT$ac_delim
52278 OBJEXT!$OBJEXT$ac_delim
52279 CPP!$CPP$ac_delim
52280 GREP!$GREP$ac_delim
52281 EGREP!$EGREP$ac_delim
52282 CXX!$CXX$ac_delim
52283 CXXFLAGS!$CXXFLAGS$ac_delim
52284 ac_ct_CXX!$ac_ct_CXX$ac_delim
52285 AR!$AR$ac_delim
52286 subdirs!$subdirs$ac_delim
52287 PKG_CONFIG!$PKG_CONFIG$ac_delim
52288 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52289 GTK_LIBS!$GTK_LIBS$ac_delim
52290 GTK_CONFIG!$GTK_CONFIG$ac_delim
52291 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52292 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52293 XMKMF!$XMKMF$ac_delim
52294 X_CFLAGS!$X_CFLAGS$ac_delim
52295 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52296 X_LIBS!$X_LIBS$ac_delim
52297 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52298 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52299 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52300 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52301 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52302 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52303 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52304 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52305 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52306 LIBICONV!$LIBICONV$ac_delim
52307 GXX_VERSION!$GXX_VERSION$ac_delim
52308 SDL_CONFIG!$SDL_CONFIG$ac_delim
52309 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52310 SDL_LIBS!$SDL_LIBS$ac_delim
52311 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52312 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52313 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52314 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52315 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52316 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52317 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52318 HILDON_LIBS!$HILDON_LIBS$ac_delim
52319 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52320 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52321 PYTHON!$PYTHON$ac_delim
52322 COND_PYTHON!$COND_PYTHON$ac_delim
52323 _ACEOF
52324
52325 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52326 break
52327 elif $ac_last_try; then
52328 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52329 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52330 { (exit 1); exit 1; }; }
52331 else
52332 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52333 fi
52334 done
52335
52336 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52337 if test -n "$ac_eof"; then
52338 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52339 ac_eof=`expr $ac_eof + 1`
52340 fi
52341
52342 cat >>$CONFIG_STATUS <<_ACEOF
52343 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52344 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52345 _ACEOF
52346 sed '
52347 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52348 s/^/s,@/; s/!/@,|#_!!_#|/
52349 :n
52350 t n
52351 s/'"$ac_delim"'$/,g/; t
52352 s/$/\\/; p
52353 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52354 ' >>$CONFIG_STATUS <conf$$subs.sed
52355 rm -f conf$$subs.sed
52356 cat >>$CONFIG_STATUS <<_ACEOF
52357 CEOF$ac_eof
52358 _ACEOF
52359
52360
52361 ac_delim='%!_!# '
52362 for ac_last_try in false false false false false :; do
52363 cat >conf$$subs.sed <<_ACEOF
52364 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52365 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52366 GST_CFLAGS!$GST_CFLAGS$ac_delim
52367 GST_LIBS!$GST_LIBS$ac_delim
52368 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52369 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52370 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52371 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52372 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52373 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52374 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52375 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52376 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52377 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52378 VENDOR!$VENDOR$ac_delim
52379 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52380 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52381 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52382 WXUNIV!$WXUNIV$ac_delim
52383 MONOLITHIC!$MONOLITHIC$ac_delim
52384 USE_PLUGINS!$USE_PLUGINS$ac_delim
52385 CXXWARNINGS!$CXXWARNINGS$ac_delim
52386 EXTRALIBS!$EXTRALIBS$ac_delim
52387 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52388 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52389 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52390 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52391 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52392 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52393 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52394 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52395 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52396 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52397 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52398 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52399 UNICODE!$UNICODE$ac_delim
52400 DEBUG_INFO!$DEBUG_INFO$ac_delim
52401 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52402 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52403 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52404 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52405 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52406 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52407 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52408 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52409 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52410 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52411 RANLIB!$RANLIB$ac_delim
52412 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52413 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52414 INSTALL_DATA!$INSTALL_DATA$ac_delim
52415 LN_S!$LN_S$ac_delim
52416 SET_MAKE!$SET_MAKE$ac_delim
52417 MAKE_SET!$MAKE_SET$ac_delim
52418 AROPTIONS!$AROPTIONS$ac_delim
52419 STRIP!$STRIP$ac_delim
52420 NM!$NM$ac_delim
52421 INSTALL_DIR!$INSTALL_DIR$ac_delim
52422 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52423 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52424 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52425 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52426 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52427 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52428 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52429 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52430 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52431 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52432 SO_SUFFIX!$SO_SUFFIX$ac_delim
52433 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52434 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52435 LIBPREFIX!$LIBPREFIX$ac_delim
52436 LIBEXT!$LIBEXT$ac_delim
52437 DLLPREFIX!$DLLPREFIX$ac_delim
52438 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52439 dlldir!$dlldir$ac_delim
52440 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52441 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52442 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52443 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52444 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52445 PIC_FLAG!$PIC_FLAG$ac_delim
52446 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52447 USE_SOVERSION!$USE_SOVERSION$ac_delim
52448 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52449 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52450 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52451 USE_MACVERSION!$USE_MACVERSION$ac_delim
52452 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
52453 SONAME_FLAG!$SONAME_FLAG$ac_delim
52454 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52455 BK_DEPS!$BK_DEPS$ac_delim
52456 WINDRES!$WINDRES$ac_delim
52457 REZ!$REZ$ac_delim
52458 SETFILE!$SETFILE$ac_delim
52459 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52460 GCC_PCH!$GCC_PCH$ac_delim
52461 _ACEOF
52462
52463 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52464 break
52465 elif $ac_last_try; then
52466 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52467 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52468 { (exit 1); exit 1; }; }
52469 else
52470 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52471 fi
52472 done
52473
52474 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52475 if test -n "$ac_eof"; then
52476 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52477 ac_eof=`expr $ac_eof + 1`
52478 fi
52479
52480 cat >>$CONFIG_STATUS <<_ACEOF
52481 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52482 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52483 _ACEOF
52484 sed '
52485 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52486 s/^/s,@/; s/!/@,|#_!!_#|/
52487 :n
52488 t n
52489 s/'"$ac_delim"'$/,g/; t
52490 s/$/\\/; p
52491 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52492 ' >>$CONFIG_STATUS <conf$$subs.sed
52493 rm -f conf$$subs.sed
52494 cat >>$CONFIG_STATUS <<_ACEOF
52495 CEOF$ac_eof
52496 _ACEOF
52497
52498
52499 ac_delim='%!_!# '
52500 for ac_last_try in false false false false false :; do
52501 cat >conf$$subs.sed <<_ACEOF
52502 ICC_PCH!$ICC_PCH$ac_delim
52503 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52504 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52505 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52506 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52507 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52508 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52509 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52510 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52511 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52512 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52513 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52514 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52515 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52516 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52517 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52518 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52519 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52520 COND_BUILD_release!$COND_BUILD_release$ac_delim
52521 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52522 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52523 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52524 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52525 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52526 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52527 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52528 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52529 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52530 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52531 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52532 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52533 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52534 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52535 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52536 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52537 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52538 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52539 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52540 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52541 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52542 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52543 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52544 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52545 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52546 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52547 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52548 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52549 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52550 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52551 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52552 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52553 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52554 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52555 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52556 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52557 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52558 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52559 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52560 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52561 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52562 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52563 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52564 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52565 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52566 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52567 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52568 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52569 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52570 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52571 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52572 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52573 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52574 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52575 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52576 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
52577 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52578 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
52579 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52580 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52581 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52582 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52583 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52584 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52585 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52586 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52587 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52588 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52589 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52590 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52591 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52592 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52593 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52594 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52595 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52596 COND_SHARED_0!$COND_SHARED_0$ac_delim
52597 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52598 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52599 _ACEOF
52600
52601 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52602 break
52603 elif $ac_last_try; then
52604 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52605 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52606 { (exit 1); exit 1; }; }
52607 else
52608 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52609 fi
52610 done
52611
52612 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52613 if test -n "$ac_eof"; then
52614 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52615 ac_eof=`expr $ac_eof + 1`
52616 fi
52617
52618 cat >>$CONFIG_STATUS <<_ACEOF
52619 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52620 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52621 _ACEOF
52622 sed '
52623 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52624 s/^/s,@/; s/!/@,|#_!!_#|/
52625 :n
52626 t n
52627 s/'"$ac_delim"'$/,g/; t
52628 s/$/\\/; p
52629 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52630 ' >>$CONFIG_STATUS <conf$$subs.sed
52631 rm -f conf$$subs.sed
52632 cat >>$CONFIG_STATUS <<_ACEOF
52633 CEOF$ac_eof
52634 _ACEOF
52635
52636
52637 ac_delim='%!_!# '
52638 for ac_last_try in false false false false false :; do
52639 cat >conf$$subs.sed <<_ACEOF
52640 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52641 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52642 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52643 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52644 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52645 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52646 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52647 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52648 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52649 COND_SHARED_1!$COND_SHARED_1$ac_delim
52650 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52651 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52652 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52653 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52654 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52655 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52656 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52657 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52658 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52659 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52660 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52661 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52662 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52663 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52664 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52665 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52666 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52667 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52668 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52669 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52670 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52671 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52672 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52673 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52674 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52675 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52676 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52677 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52678 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52679 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52680 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52681 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52682 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52683 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52684 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52685 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52686 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52687 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52688 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52689 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52690 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52691 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52692 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52693 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52694 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52695 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52696 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52697 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52698 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52699 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52700 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52701 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52702 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52703 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52704 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52705 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52706 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52707 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52708 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
52709 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52710 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52711 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52712 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
52713 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52714 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52715 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52716 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52717 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52718 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52719 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52720 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52721 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52722 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52723 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52724 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52725 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52726 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52727 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52728 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52729 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52730 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52731 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52732 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52733 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52734 DEREZ!$DEREZ$ac_delim
52735 SHARED!$SHARED$ac_delim
52736 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52737 _ACEOF
52738
52739 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52740 break
52741 elif $ac_last_try; then
52742 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52743 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52744 { (exit 1); exit 1; }; }
52745 else
52746 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52747 fi
52748 done
52749
52750 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52751 if test -n "$ac_eof"; then
52752 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52753 ac_eof=`expr $ac_eof + 1`
52754 fi
52755
52756 cat >>$CONFIG_STATUS <<_ACEOF
52757 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52758 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52759 _ACEOF
52760 sed '
52761 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52762 s/^/s,@/; s/!/@,|#_!!_#|/
52763 :n
52764 t n
52765 s/'"$ac_delim"'$/,g/; t
52766 s/$/\\/; p
52767 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52768 ' >>$CONFIG_STATUS <conf$$subs.sed
52769 rm -f conf$$subs.sed
52770 cat >>$CONFIG_STATUS <<_ACEOF
52771 CEOF$ac_eof
52772 _ACEOF
52773
52774
52775 ac_delim='%!_!# '
52776 for ac_last_try in false false false false false :; do
52777 cat >conf$$subs.sed <<_ACEOF
52778 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52779 USE_GUI!$USE_GUI$ac_delim
52780 AFMINSTALL!$AFMINSTALL$ac_delim
52781 WIN32INSTALL!$WIN32INSTALL$ac_delim
52782 TOOLKIT!$TOOLKIT$ac_delim
52783 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52784 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52785 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52786 cross_compiling!$cross_compiling$ac_delim
52787 WIDGET_SET!$WIDGET_SET$ac_delim
52788 WX_RELEASE!$WX_RELEASE$ac_delim
52789 WX_VERSION!$WX_VERSION$ac_delim
52790 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52791 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52792 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52793 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52794 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52795 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52796 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52797 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
52798 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52799 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52800 GUIDIST!$GUIDIST$ac_delim
52801 DISTDIR!$DISTDIR$ac_delim
52802 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52803 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52804 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52805 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52806 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52807 RESCOMP!$RESCOMP$ac_delim
52808 RESFLAGS!$RESFLAGS$ac_delim
52809 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52810 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52811 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52812 LIBWXMACRES!$LIBWXMACRES$ac_delim
52813 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52814 MACSETFILE!$MACSETFILE$ac_delim
52815 GCC!$GCC$ac_delim
52816 DLLTOOL!$DLLTOOL$ac_delim
52817 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52818 LIBOBJS!$LIBOBJS$ac_delim
52819 LTLIBOBJS!$LTLIBOBJS$ac_delim
52820 _ACEOF
52821
52822 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 42; then
52823 break
52824 elif $ac_last_try; then
52825 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52826 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52827 { (exit 1); exit 1; }; }
52828 else
52829 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52830 fi
52831 done
52832
52833 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52834 if test -n "$ac_eof"; then
52835 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52836 ac_eof=`expr $ac_eof + 1`
52837 fi
52838
52839 cat >>$CONFIG_STATUS <<_ACEOF
52840 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52841 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52842 _ACEOF
52843 sed '
52844 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52845 s/^/s,@/; s/!/@,|#_!!_#|/
52846 :n
52847 t n
52848 s/'"$ac_delim"'$/,g/; t
52849 s/$/\\/; p
52850 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52851 ' >>$CONFIG_STATUS <conf$$subs.sed
52852 rm -f conf$$subs.sed
52853 cat >>$CONFIG_STATUS <<_ACEOF
52854 :end
52855 s/|#_!!_#|//g
52856 CEOF$ac_eof
52857 _ACEOF
52858
52859
52860 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52861 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52862 # trailing colons and then remove the whole line if VPATH becomes empty
52863 # (actually we leave an empty line to preserve line numbers).
52864 if test "x$srcdir" = x.; then
52865 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52866 s/:*\$(srcdir):*/:/
52867 s/:*\${srcdir}:*/:/
52868 s/:*@srcdir@:*/:/
52869 s/^\([^=]*=[ ]*\):*/\1/
52870 s/:*$//
52871 s/^[^=]*=[ ]*$//
52872 }'
52873 fi
52874
52875 cat >>$CONFIG_STATUS <<\_ACEOF
52876 fi # test -n "$CONFIG_FILES"
52877
52878
52879 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52880 do
52881 case $ac_tag in
52882 :[FHLC]) ac_mode=$ac_tag; continue;;
52883 esac
52884 case $ac_mode$ac_tag in
52885 :[FHL]*:*);;
52886 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52887 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52888 { (exit 1); exit 1; }; };;
52889 :[FH]-) ac_tag=-:-;;
52890 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52891 esac
52892 ac_save_IFS=$IFS
52893 IFS=:
52894 set x $ac_tag
52895 IFS=$ac_save_IFS
52896 shift
52897 ac_file=$1
52898 shift
52899
52900 case $ac_mode in
52901 :L) ac_source=$1;;
52902 :[FH])
52903 ac_file_inputs=
52904 for ac_f
52905 do
52906 case $ac_f in
52907 -) ac_f="$tmp/stdin";;
52908 *) # Look for the file first in the build tree, then in the source tree
52909 # (if the path is not absolute). The absolute path cannot be DOS-style,
52910 # because $ac_f cannot contain `:'.
52911 test -f "$ac_f" ||
52912 case $ac_f in
52913 [\\/$]*) false;;
52914 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52915 esac ||
52916 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52917 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52918 { (exit 1); exit 1; }; };;
52919 esac
52920 ac_file_inputs="$ac_file_inputs $ac_f"
52921 done
52922
52923 # Let's still pretend it is `configure' which instantiates (i.e., don't
52924 # use $as_me), people would be surprised to read:
52925 # /* config.h. Generated by config.status. */
52926 configure_input="Generated from "`IFS=:
52927 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52928 if test x"$ac_file" != x-; then
52929 configure_input="$ac_file. $configure_input"
52930 { echo "$as_me:$LINENO: creating $ac_file" >&5
52931 echo "$as_me: creating $ac_file" >&6;}
52932 fi
52933
52934 case $ac_tag in
52935 *:-:* | *:-) cat >"$tmp/stdin";;
52936 esac
52937 ;;
52938 esac
52939
52940 ac_dir=`$as_dirname -- "$ac_file" ||
52941 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52942 X"$ac_file" : 'X\(//\)[^/]' \| \
52943 X"$ac_file" : 'X\(//\)$' \| \
52944 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52945 echo X"$ac_file" |
52946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52947 s//\1/
52948 q
52949 }
52950 /^X\(\/\/\)[^/].*/{
52951 s//\1/
52952 q
52953 }
52954 /^X\(\/\/\)$/{
52955 s//\1/
52956 q
52957 }
52958 /^X\(\/\).*/{
52959 s//\1/
52960 q
52961 }
52962 s/.*/./; q'`
52963 { as_dir="$ac_dir"
52964 case $as_dir in #(
52965 -*) as_dir=./$as_dir;;
52966 esac
52967 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52968 as_dirs=
52969 while :; do
52970 case $as_dir in #(
52971 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52972 *) as_qdir=$as_dir;;
52973 esac
52974 as_dirs="'$as_qdir' $as_dirs"
52975 as_dir=`$as_dirname -- "$as_dir" ||
52976 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52977 X"$as_dir" : 'X\(//\)[^/]' \| \
52978 X"$as_dir" : 'X\(//\)$' \| \
52979 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52980 echo X"$as_dir" |
52981 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52982 s//\1/
52983 q
52984 }
52985 /^X\(\/\/\)[^/].*/{
52986 s//\1/
52987 q
52988 }
52989 /^X\(\/\/\)$/{
52990 s//\1/
52991 q
52992 }
52993 /^X\(\/\).*/{
52994 s//\1/
52995 q
52996 }
52997 s/.*/./; q'`
52998 test -d "$as_dir" && break
52999 done
53000 test -z "$as_dirs" || eval "mkdir $as_dirs"
53001 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53002 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53003 { (exit 1); exit 1; }; }; }
53004 ac_builddir=.
53005
53006 case "$ac_dir" in
53007 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53008 *)
53009 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53010 # A ".." for each directory in $ac_dir_suffix.
53011 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53012 case $ac_top_builddir_sub in
53013 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53014 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53015 esac ;;
53016 esac
53017 ac_abs_top_builddir=$ac_pwd
53018 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53019 # for backward compatibility:
53020 ac_top_builddir=$ac_top_build_prefix
53021
53022 case $srcdir in
53023 .) # We are building in place.
53024 ac_srcdir=.
53025 ac_top_srcdir=$ac_top_builddir_sub
53026 ac_abs_top_srcdir=$ac_pwd ;;
53027 [\\/]* | ?:[\\/]* ) # Absolute name.
53028 ac_srcdir=$srcdir$ac_dir_suffix;
53029 ac_top_srcdir=$srcdir
53030 ac_abs_top_srcdir=$srcdir ;;
53031 *) # Relative name.
53032 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53033 ac_top_srcdir=$ac_top_build_prefix$srcdir
53034 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53035 esac
53036 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53037
53038
53039 case $ac_mode in
53040 :F)
53041 #
53042 # CONFIG_FILE
53043 #
53044
53045 case $INSTALL in
53046 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
53047 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
53048 esac
53049 _ACEOF
53050
53051 cat >>$CONFIG_STATUS <<\_ACEOF
53052 # If the template does not know about datarootdir, expand it.
53053 # FIXME: This hack should be removed a few years after 2.60.
53054 ac_datarootdir_hack=; ac_datarootdir_seen=
53055
53056 case `sed -n '/datarootdir/ {
53057 p
53058 q
53059 }
53060 /@datadir@/p
53061 /@docdir@/p
53062 /@infodir@/p
53063 /@localedir@/p
53064 /@mandir@/p
53065 ' $ac_file_inputs` in
53066 *datarootdir*) ac_datarootdir_seen=yes;;
53067 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
53068 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53069 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53070 _ACEOF
53071 cat >>$CONFIG_STATUS <<_ACEOF
53072 ac_datarootdir_hack='
53073 s&@datadir@&$datadir&g
53074 s&@docdir@&$docdir&g
53075 s&@infodir@&$infodir&g
53076 s&@localedir@&$localedir&g
53077 s&@mandir@&$mandir&g
53078 s&\\\${datarootdir}&$datarootdir&g' ;;
53079 esac
53080 _ACEOF
53081
53082 # Neutralize VPATH when `$srcdir' = `.'.
53083 # Shell code in configure.ac might set extrasub.
53084 # FIXME: do we really want to maintain this feature?
53085 cat >>$CONFIG_STATUS <<_ACEOF
53086 sed "$ac_vpsub
53087 $extrasub
53088 _ACEOF
53089 cat >>$CONFIG_STATUS <<\_ACEOF
53090 :t
53091 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53092 s&@configure_input@&$configure_input&;t t
53093 s&@top_builddir@&$ac_top_builddir_sub&;t t
53094 s&@srcdir@&$ac_srcdir&;t t
53095 s&@abs_srcdir@&$ac_abs_srcdir&;t t
53096 s&@top_srcdir@&$ac_top_srcdir&;t t
53097 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
53098 s&@builddir@&$ac_builddir&;t t
53099 s&@abs_builddir@&$ac_abs_builddir&;t t
53100 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
53101 s&@INSTALL@&$ac_INSTALL&;t t
53102 $ac_datarootdir_hack
53103 " $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
53104
53105 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53106 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
53107 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
53108 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53109 which seems to be undefined. Please make sure it is defined." >&5
53110 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53111 which seems to be undefined. Please make sure it is defined." >&2;}
53112
53113 rm -f "$tmp/stdin"
53114 case $ac_file in
53115 -) cat "$tmp/out"; rm -f "$tmp/out";;
53116 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53117 esac
53118 ;;
53119 :H)
53120 #
53121 # CONFIG_HEADER
53122 #
53123 _ACEOF
53124
53125 # Transform confdefs.h into a sed script `conftest.defines', that
53126 # substitutes the proper values into config.h.in to produce config.h.
53127 rm -f conftest.defines conftest.tail
53128 # First, append a space to every undef/define line, to ease matching.
53129 echo 's/$/ /' >conftest.defines
53130 # Then, protect against being on the right side of a sed subst, or in
53131 # an unquoted here document, in config.status. If some macros were
53132 # called several times there might be several #defines for the same
53133 # symbol, which is useless. But do not sort them, since the last
53134 # AC_DEFINE must be honored.
53135 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
53136 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53137 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53138 # PARAMS is the parameter list in the macro definition--in most cases, it's
53139 # just an empty string.
53140 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53141 ac_dB='\\)[ (].*,\\1define\\2'
53142 ac_dC=' '
53143 ac_dD=' ,'
53144
53145 uniq confdefs.h |
53146 sed -n '
53147 t rset
53148 :rset
53149 s/^[ ]*#[ ]*define[ ][ ]*//
53150 t ok
53151 d
53152 :ok
53153 s/[\\&,]/\\&/g
53154 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53155 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53156 ' >>conftest.defines
53157
53158 # Remove the space that was appended to ease matching.
53159 # Then replace #undef with comments. This is necessary, for
53160 # example, in the case of _POSIX_SOURCE, which is predefined and required
53161 # on some systems where configure will not decide to define it.
53162 # (The regexp can be short, since the line contains either #define or #undef.)
53163 echo 's/ $//
53164 s,^[ #]*u.*,/* & */,' >>conftest.defines
53165
53166 # Break up conftest.defines:
53167 ac_max_sed_lines=50
53168
53169 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53170 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53171 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53172 # et cetera.
53173 ac_in='$ac_file_inputs'
53174 ac_out='"$tmp/out1"'
53175 ac_nxt='"$tmp/out2"'
53176
53177 while :
53178 do
53179 # Write a here document:
53180 cat >>$CONFIG_STATUS <<_ACEOF
53181 # First, check the format of the line:
53182 cat >"\$tmp/defines.sed" <<\\CEOF
53183 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53184 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53185 b
53186 :def
53187 _ACEOF
53188 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
53189 echo 'CEOF
53190 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53191 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
53192 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
53193 grep . conftest.tail >/dev/null || break
53194 rm -f conftest.defines
53195 mv conftest.tail conftest.defines
53196 done
53197 rm -f conftest.defines conftest.tail
53198
53199 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53200 cat >>$CONFIG_STATUS <<\_ACEOF
53201 if test x"$ac_file" != x-; then
53202 echo "/* $configure_input */" >"$tmp/config.h"
53203 cat "$ac_result" >>"$tmp/config.h"
53204 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
53205 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53206 echo "$as_me: $ac_file is unchanged" >&6;}
53207 else
53208 rm -f $ac_file
53209 mv "$tmp/config.h" $ac_file
53210 fi
53211 else
53212 echo "/* $configure_input */"
53213 cat "$ac_result"
53214 fi
53215 rm -f "$tmp/out12"
53216 ;;
53217
53218 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53219 echo "$as_me: executing $ac_file commands" >&6;}
53220 ;;
53221 esac
53222
53223
53224 case $ac_file$ac_mode in
53225 "rcdefs.h":C)
53226 mkdir -p $outdir &&
53227 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53228 ;;
53229 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
53230 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
53231 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
53232 "wx-config":C) rm -f wx-config
53233 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
53234 ;;
53235
53236 esac
53237 done # for ac_tag
53238
53239
53240 { (exit 0); exit 0; }
53241 _ACEOF
53242 chmod +x $CONFIG_STATUS
53243 ac_clean_files=$ac_clean_files_save
53244
53245
53246 # configure is writing to config.log, and then calls config.status.
53247 # config.status does its own redirection, appending to config.log.
53248 # Unfortunately, on DOS this fails, as config.log is still kept open
53249 # by configure, so config.status won't be able to write to it; its
53250 # output is simply discarded. So we exec the FD to /dev/null,
53251 # effectively closing config.log, so it can be properly (re)opened and
53252 # appended to by config.status. When coming back to configure, we
53253 # need to make the FD available again.
53254 if test "$no_create" != yes; then
53255 ac_cs_success=:
53256 ac_config_status_args=
53257 test "$silent" = yes &&
53258 ac_config_status_args="$ac_config_status_args --quiet"
53259 exec 5>/dev/null
53260 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
53261 exec 5>>config.log
53262 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53263 # would make configure fail if this is the last instruction.
53264 $ac_cs_success || { (exit 1); exit 1; }
53265 fi
53266
53267 #
53268 # CONFIG_SUBDIRS section.
53269 #
53270 if test "$no_recursion" != yes; then
53271
53272 # Remove --cache-file and --srcdir arguments so they do not pile up.
53273 ac_sub_configure_args=
53274 ac_prev=
53275 eval "set x $ac_configure_args"
53276 shift
53277 for ac_arg
53278 do
53279 if test -n "$ac_prev"; then
53280 ac_prev=
53281 continue
53282 fi
53283 case $ac_arg in
53284 -cache-file | --cache-file | --cache-fil | --cache-fi \
53285 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53286 ac_prev=cache_file ;;
53287 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53288 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53289 | --c=*)
53290 ;;
53291 --config-cache | -C)
53292 ;;
53293 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53294 ac_prev=srcdir ;;
53295 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53296 ;;
53297 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53298 ac_prev=prefix ;;
53299 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53300 ;;
53301 *)
53302 case $ac_arg in
53303 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53304 esac
53305 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
53306 esac
53307 done
53308
53309 # Always prepend --prefix to ensure using the same prefix
53310 # in subdir configurations.
53311 ac_arg="--prefix=$prefix"
53312 case $ac_arg in
53313 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53314 esac
53315 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
53316
53317 # Pass --silent
53318 if test "$silent" = yes; then
53319 ac_sub_configure_args="--silent $ac_sub_configure_args"
53320 fi
53321
53322 ac_popdir=`pwd`
53323 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
53324
53325 # Do not complain, so a configure script can configure whichever
53326 # parts of a large source tree are present.
53327 test -d "$srcdir/$ac_dir" || continue
53328
53329 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53330 echo "$as_me:$LINENO: $ac_msg" >&5
53331 echo "$ac_msg" >&6
53332 { as_dir="$ac_dir"
53333 case $as_dir in #(
53334 -*) as_dir=./$as_dir;;
53335 esac
53336 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53337 as_dirs=
53338 while :; do
53339 case $as_dir in #(
53340 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53341 *) as_qdir=$as_dir;;
53342 esac
53343 as_dirs="'$as_qdir' $as_dirs"
53344 as_dir=`$as_dirname -- "$as_dir" ||
53345 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53346 X"$as_dir" : 'X\(//\)[^/]' \| \
53347 X"$as_dir" : 'X\(//\)$' \| \
53348 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53349 echo X"$as_dir" |
53350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53351 s//\1/
53352 q
53353 }
53354 /^X\(\/\/\)[^/].*/{
53355 s//\1/
53356 q
53357 }
53358 /^X\(\/\/\)$/{
53359 s//\1/
53360 q
53361 }
53362 /^X\(\/\).*/{
53363 s//\1/
53364 q
53365 }
53366 s/.*/./; q'`
53367 test -d "$as_dir" && break
53368 done
53369 test -z "$as_dirs" || eval "mkdir $as_dirs"
53370 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53371 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53372 { (exit 1); exit 1; }; }; }
53373 ac_builddir=.
53374
53375 case "$ac_dir" in
53376 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53377 *)
53378 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53379 # A ".." for each directory in $ac_dir_suffix.
53380 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53381 case $ac_top_builddir_sub in
53382 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53383 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53384 esac ;;
53385 esac
53386 ac_abs_top_builddir=$ac_pwd
53387 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53388 # for backward compatibility:
53389 ac_top_builddir=$ac_top_build_prefix
53390
53391 case $srcdir in
53392 .) # We are building in place.
53393 ac_srcdir=.
53394 ac_top_srcdir=$ac_top_builddir_sub
53395 ac_abs_top_srcdir=$ac_pwd ;;
53396 [\\/]* | ?:[\\/]* ) # Absolute name.
53397 ac_srcdir=$srcdir$ac_dir_suffix;
53398 ac_top_srcdir=$srcdir
53399 ac_abs_top_srcdir=$srcdir ;;
53400 *) # Relative name.
53401 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53402 ac_top_srcdir=$ac_top_build_prefix$srcdir
53403 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53404 esac
53405 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53406
53407
53408 cd "$ac_dir"
53409
53410 # Check for guested configure; otherwise get Cygnus style configure.
53411 if test -f "$ac_srcdir/configure.gnu"; then
53412 ac_sub_configure=$ac_srcdir/configure.gnu
53413 elif test -f "$ac_srcdir/configure"; then
53414 ac_sub_configure=$ac_srcdir/configure
53415 elif test -f "$ac_srcdir/configure.in"; then
53416 # This should be Cygnus configure.
53417 ac_sub_configure=$ac_aux_dir/configure
53418 else
53419 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53420 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53421 ac_sub_configure=
53422 fi
53423
53424 # The recursion is here.
53425 if test -n "$ac_sub_configure"; then
53426 # Make the cache file name correct relative to the subdirectory.
53427 case $cache_file in
53428 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53429 *) # Relative name.
53430 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
53431 esac
53432
53433 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53434 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53435 # The eval makes quoting arguments work.
53436 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53437 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53438 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53439 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53440 { (exit 1); exit 1; }; }
53441 fi
53442
53443 cd "$ac_popdir"
53444 done
53445 fi
53446
53447
53448 echo
53449 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53450 echo ""
53451 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53452 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53453 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53454 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53455 if test "$wxUSE_UNICODE" = "yes"; then
53456 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53457 echo " (using UTF-8)"
53458 else
53459 echo " (using wchar_t)"
53460 fi
53461 else
53462 echo
53463 fi
53464
53465 echo " What level of wxWidgets compatibility should be enabled?"
53466 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53467 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53468
53469 echo " Which libraries should wxWidgets use?"
53470 echo " STL ${wxUSE_STL}"
53471 echo " jpeg ${wxUSE_LIBJPEG-none}"
53472 echo " png ${wxUSE_LIBPNG-none}"
53473 echo " regex ${wxUSE_REGEX}"
53474 echo " tiff ${wxUSE_LIBTIFF-none}"
53475 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53476 echo " xpm ${wxUSE_LIBXPM-none}"
53477 fi
53478 echo " zlib ${wxUSE_ZLIB}"
53479 echo " expat ${wxUSE_EXPAT}"
53480 echo " libmspack ${wxUSE_LIBMSPACK}"
53481 echo " sdl ${wxUSE_LIBSDL}"
53482
53483 echo ""
53484