]> git.saurik.com Git - wxWidgets.git/blob - configure
remove unused data member
[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_CAIRO_1
961 COND_USE_EXCEPTIONS_0
962 COND_USE_EXCEPTIONS_1
963 COND_USE_GUI_0
964 COND_USE_GUI_1
965 COND_USE_GUI_1_USE_OPENGL_1
966 COND_USE_GUI_1_WXUNIV_0
967 COND_USE_GUI_1_WXUNIV_1
968 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
969 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
970 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
971 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
972 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
973 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
974 COND_USE_OPENGL_1
975 COND_USE_PCH_1
976 COND_USE_PLUGINS_0
977 COND_USE_RTTI_0
978 COND_USE_RTTI_1
979 COND_USE_SOTWOSYMLINKS_1
980 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
981 COND_USE_SOVERLINUX_1
982 COND_USE_SOVERSION_0
983 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
984 COND_USE_SOVERSOLARIS_1
985 COND_USE_STC_1
986 COND_USE_THREADS_0
987 COND_USE_THREADS_1
988 COND_USE_XRC_1
989 COND_WINDOWS_IMPLIB_1
990 COND_WITH_PLUGIN_SDL_1
991 COND_WXUNIV_0
992 COND_WXUNIV_1
993 COND_WXUSE_EXPAT_BUILTIN
994 COND_WXUSE_LIBJPEG_BUILTIN
995 COND_WXUSE_LIBPNG_BUILTIN
996 COND_WXUSE_LIBTIFF_BUILTIN
997 COND_WXUSE_REGEX_BUILTIN
998 COND_WXUSE_ZLIB_BUILTIN
999 COND_wxUSE_EXPAT_builtin
1000 COND_wxUSE_LIBJPEG_builtin
1001 COND_wxUSE_LIBPNG_builtin
1002 COND_wxUSE_LIBTIFF_builtin
1003 COND_wxUSE_REGEX_builtin
1004 COND_wxUSE_ZLIB_builtin
1005 DEREZ
1006 SHARED
1007 WX_LIBRARY_BASENAME_NOGUI
1008 WX_LIBRARY_BASENAME_GUI
1009 USE_GUI
1010 AFMINSTALL
1011 WIN32INSTALL
1012 TOOLKIT
1013 TOOLKIT_DIR
1014 TOOLCHAIN_NAME
1015 TOOLCHAIN_FULLNAME
1016 cross_compiling
1017 WIDGET_SET
1018 WX_RELEASE
1019 WX_VERSION
1020 WX_SUBVERSION
1021 WX_CHARTYPE
1022 WXCONFIG_CPPFLAGS
1023 WXCONFIG_CFLAGS
1024 WXCONFIG_CXXFLAGS
1025 WXCONFIG_LIBS
1026 WXCONFIG_RPATH
1027 WXCONFIG_LDFLAGS
1028 WXCONFIG_LDFLAGS_GUI
1029 WXCONFIG_RESFLAGS
1030 GUIDIST
1031 DISTDIR
1032 SAMPLES_SUBDIRS
1033 LDFLAGS_GL
1034 OPENGL_LIBS
1035 DMALLOC_LIBS
1036 WX_VERSION_TAG
1037 RESCOMP
1038 RESFLAGS
1039 RESPROGRAMOBJ
1040 WX_RESOURCES_MACOSX_ASCII
1041 WX_RESOURCES_MACOSX_DATA
1042 LIBWXMACRES
1043 POSTLINK_COMMAND
1044 MACSETFILE
1045 GCC
1046 DLLTOOL
1047 CPPUNIT_CONFIG
1048 LIBOBJS
1049 LTLIBOBJS'
1050 ac_subst_files=''
1051 ac_precious_vars='build_alias
1052 host_alias
1053 target_alias
1054 CC
1055 CFLAGS
1056 LDFLAGS
1057 LIBS
1058 CPPFLAGS
1059 CPP
1060 CXX
1061 CXXFLAGS
1062 CCC
1063 PKG_CONFIG
1064 DIRECTFB_CFLAGS
1065 DIRECTFB_LIBS
1066 XMKMF
1067 PANGOX_CFLAGS
1068 PANGOX_LIBS
1069 PANGOFT2_CFLAGS
1070 PANGOFT2_LIBS
1071 PANGOXFT_CFLAGS
1072 PANGOXFT_LIBS
1073 GTKPRINT_CFLAGS
1074 GTKPRINT_LIBS
1075 LIBGNOMEPRINTUI_CFLAGS
1076 LIBGNOMEPRINTUI_LIBS
1077 GNOMEVFS_CFLAGS
1078 GNOMEVFS_LIBS
1079 HILDON_CFLAGS
1080 HILDON_LIBS
1081 HILDON2_CFLAGS
1082 HILDON2_LIBS
1083 CAIRO_CFLAGS
1084 CAIRO_LIBS
1085 GST_CFLAGS
1086 GST_LIBS'
1087 ac_subdirs_all='src/tiff
1088 src/expat'
1089
1090 # Initialize some variables set by options.
1091 ac_init_help=
1092 ac_init_version=false
1093 # The variables have the same names as the options, with
1094 # dashes changed to underlines.
1095 cache_file=/dev/null
1096 exec_prefix=NONE
1097 no_create=
1098 no_recursion=
1099 prefix=NONE
1100 program_prefix=NONE
1101 program_suffix=NONE
1102 program_transform_name=s,x,x,
1103 silent=
1104 site=
1105 srcdir=
1106 verbose=
1107 x_includes=NONE
1108 x_libraries=NONE
1109
1110 # Installation directory options.
1111 # These are left unexpanded so users can "make install exec_prefix=/foo"
1112 # and all the variables that are supposed to be based on exec_prefix
1113 # by default will actually change.
1114 # Use braces instead of parens because sh, perl, etc. also accept them.
1115 # (The list follows the same order as the GNU Coding Standards.)
1116 bindir='${exec_prefix}/bin'
1117 sbindir='${exec_prefix}/sbin'
1118 libexecdir='${exec_prefix}/libexec'
1119 datarootdir='${prefix}/share'
1120 datadir='${datarootdir}'
1121 sysconfdir='${prefix}/etc'
1122 sharedstatedir='${prefix}/com'
1123 localstatedir='${prefix}/var'
1124 includedir='${prefix}/include'
1125 oldincludedir='/usr/include'
1126 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1127 infodir='${datarootdir}/info'
1128 htmldir='${docdir}'
1129 dvidir='${docdir}'
1130 pdfdir='${docdir}'
1131 psdir='${docdir}'
1132 libdir='${exec_prefix}/lib'
1133 localedir='${datarootdir}/locale'
1134 mandir='${datarootdir}/man'
1135
1136 ac_prev=
1137 ac_dashdash=
1138 for ac_option
1139 do
1140 # If the previous option needs an argument, assign it.
1141 if test -n "$ac_prev"; then
1142 eval $ac_prev=\$ac_option
1143 ac_prev=
1144 continue
1145 fi
1146
1147 case $ac_option in
1148 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1149 *) ac_optarg=yes ;;
1150 esac
1151
1152 # Accept the important Cygnus configure options, so we can diagnose typos.
1153
1154 case $ac_dashdash$ac_option in
1155 --)
1156 ac_dashdash=yes ;;
1157
1158 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1159 ac_prev=bindir ;;
1160 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1161 bindir=$ac_optarg ;;
1162
1163 -build | --build | --buil | --bui | --bu)
1164 ac_prev=build_alias ;;
1165 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1166 build_alias=$ac_optarg ;;
1167
1168 -cache-file | --cache-file | --cache-fil | --cache-fi \
1169 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1170 ac_prev=cache_file ;;
1171 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1172 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1173 cache_file=$ac_optarg ;;
1174
1175 --config-cache | -C)
1176 cache_file=config.cache ;;
1177
1178 -datadir | --datadir | --datadi | --datad)
1179 ac_prev=datadir ;;
1180 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1181 datadir=$ac_optarg ;;
1182
1183 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1184 | --dataroo | --dataro | --datar)
1185 ac_prev=datarootdir ;;
1186 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1187 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1188 datarootdir=$ac_optarg ;;
1189
1190 -disable-* | --disable-*)
1191 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1194 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1195 { (exit 1); exit 1; }; }
1196 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1197 eval enable_$ac_feature=no ;;
1198
1199 -docdir | --docdir | --docdi | --doc | --do)
1200 ac_prev=docdir ;;
1201 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1202 docdir=$ac_optarg ;;
1203
1204 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1205 ac_prev=dvidir ;;
1206 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1207 dvidir=$ac_optarg ;;
1208
1209 -enable-* | --enable-*)
1210 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1211 # Reject names that are not valid shell variable names.
1212 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1213 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1214 { (exit 1); exit 1; }; }
1215 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1216 eval enable_$ac_feature=\$ac_optarg ;;
1217
1218 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1219 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1220 | --exec | --exe | --ex)
1221 ac_prev=exec_prefix ;;
1222 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1223 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1224 | --exec=* | --exe=* | --ex=*)
1225 exec_prefix=$ac_optarg ;;
1226
1227 -gas | --gas | --ga | --g)
1228 # Obsolete; use --with-gas.
1229 with_gas=yes ;;
1230
1231 -help | --help | --hel | --he | -h)
1232 ac_init_help=long ;;
1233 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1234 ac_init_help=recursive ;;
1235 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1236 ac_init_help=short ;;
1237
1238 -host | --host | --hos | --ho)
1239 ac_prev=host_alias ;;
1240 -host=* | --host=* | --hos=* | --ho=*)
1241 host_alias=$ac_optarg ;;
1242
1243 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1244 ac_prev=htmldir ;;
1245 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1246 | --ht=*)
1247 htmldir=$ac_optarg ;;
1248
1249 -includedir | --includedir | --includedi | --included | --include \
1250 | --includ | --inclu | --incl | --inc)
1251 ac_prev=includedir ;;
1252 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1253 | --includ=* | --inclu=* | --incl=* | --inc=*)
1254 includedir=$ac_optarg ;;
1255
1256 -infodir | --infodir | --infodi | --infod | --info | --inf)
1257 ac_prev=infodir ;;
1258 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1259 infodir=$ac_optarg ;;
1260
1261 -libdir | --libdir | --libdi | --libd)
1262 ac_prev=libdir ;;
1263 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1264 libdir=$ac_optarg ;;
1265
1266 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1267 | --libexe | --libex | --libe)
1268 ac_prev=libexecdir ;;
1269 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1270 | --libexe=* | --libex=* | --libe=*)
1271 libexecdir=$ac_optarg ;;
1272
1273 -localedir | --localedir | --localedi | --localed | --locale)
1274 ac_prev=localedir ;;
1275 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1276 localedir=$ac_optarg ;;
1277
1278 -localstatedir | --localstatedir | --localstatedi | --localstated \
1279 | --localstate | --localstat | --localsta | --localst | --locals)
1280 ac_prev=localstatedir ;;
1281 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1282 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1283 localstatedir=$ac_optarg ;;
1284
1285 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1286 ac_prev=mandir ;;
1287 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1288 mandir=$ac_optarg ;;
1289
1290 -nfp | --nfp | --nf)
1291 # Obsolete; use --without-fp.
1292 with_fp=no ;;
1293
1294 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1295 | --no-cr | --no-c | -n)
1296 no_create=yes ;;
1297
1298 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1299 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1300 no_recursion=yes ;;
1301
1302 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1303 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1304 | --oldin | --oldi | --old | --ol | --o)
1305 ac_prev=oldincludedir ;;
1306 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1307 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1308 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1309 oldincludedir=$ac_optarg ;;
1310
1311 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1312 ac_prev=prefix ;;
1313 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1314 prefix=$ac_optarg ;;
1315
1316 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1317 | --program-pre | --program-pr | --program-p)
1318 ac_prev=program_prefix ;;
1319 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1320 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1321 program_prefix=$ac_optarg ;;
1322
1323 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1324 | --program-suf | --program-su | --program-s)
1325 ac_prev=program_suffix ;;
1326 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1327 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1328 program_suffix=$ac_optarg ;;
1329
1330 -program-transform-name | --program-transform-name \
1331 | --program-transform-nam | --program-transform-na \
1332 | --program-transform-n | --program-transform- \
1333 | --program-transform | --program-transfor \
1334 | --program-transfo | --program-transf \
1335 | --program-trans | --program-tran \
1336 | --progr-tra | --program-tr | --program-t)
1337 ac_prev=program_transform_name ;;
1338 -program-transform-name=* | --program-transform-name=* \
1339 | --program-transform-nam=* | --program-transform-na=* \
1340 | --program-transform-n=* | --program-transform-=* \
1341 | --program-transform=* | --program-transfor=* \
1342 | --program-transfo=* | --program-transf=* \
1343 | --program-trans=* | --program-tran=* \
1344 | --progr-tra=* | --program-tr=* | --program-t=*)
1345 program_transform_name=$ac_optarg ;;
1346
1347 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1348 ac_prev=pdfdir ;;
1349 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1350 pdfdir=$ac_optarg ;;
1351
1352 -psdir | --psdir | --psdi | --psd | --ps)
1353 ac_prev=psdir ;;
1354 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1355 psdir=$ac_optarg ;;
1356
1357 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1358 | -silent | --silent | --silen | --sile | --sil)
1359 silent=yes ;;
1360
1361 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1362 ac_prev=sbindir ;;
1363 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1364 | --sbi=* | --sb=*)
1365 sbindir=$ac_optarg ;;
1366
1367 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1368 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1369 | --sharedst | --shareds | --shared | --share | --shar \
1370 | --sha | --sh)
1371 ac_prev=sharedstatedir ;;
1372 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1373 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1374 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1375 | --sha=* | --sh=*)
1376 sharedstatedir=$ac_optarg ;;
1377
1378 -site | --site | --sit)
1379 ac_prev=site ;;
1380 -site=* | --site=* | --sit=*)
1381 site=$ac_optarg ;;
1382
1383 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1384 ac_prev=srcdir ;;
1385 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1386 srcdir=$ac_optarg ;;
1387
1388 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1389 | --syscon | --sysco | --sysc | --sys | --sy)
1390 ac_prev=sysconfdir ;;
1391 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1392 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1393 sysconfdir=$ac_optarg ;;
1394
1395 -target | --target | --targe | --targ | --tar | --ta | --t)
1396 ac_prev=target_alias ;;
1397 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1398 target_alias=$ac_optarg ;;
1399
1400 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1401 verbose=yes ;;
1402
1403 -version | --version | --versio | --versi | --vers | -V)
1404 ac_init_version=: ;;
1405
1406 -with-* | --with-*)
1407 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1408 # Reject names that are not valid shell variable names.
1409 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1410 { echo "$as_me: error: invalid package name: $ac_package" >&2
1411 { (exit 1); exit 1; }; }
1412 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1413 eval with_$ac_package=\$ac_optarg ;;
1414
1415 -without-* | --without-*)
1416 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_$ac_package=no ;;
1423
1424 --x)
1425 # Obsolete; use --with-x.
1426 with_x=yes ;;
1427
1428 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1429 | --x-incl | --x-inc | --x-in | --x-i)
1430 ac_prev=x_includes ;;
1431 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1432 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1433 x_includes=$ac_optarg ;;
1434
1435 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1436 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1437 ac_prev=x_libraries ;;
1438 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1439 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1440 x_libraries=$ac_optarg ;;
1441
1442 -*) { echo "$as_me: error: unrecognized option: $ac_option
1443 Try \`$0 --help' for more information." >&2
1444 { (exit 1); exit 1; }; }
1445 ;;
1446
1447 *=*)
1448 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1449 # Reject names that are not valid shell variable names.
1450 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1451 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1452 { (exit 1); exit 1; }; }
1453 eval $ac_envvar=\$ac_optarg
1454 export $ac_envvar ;;
1455
1456 *)
1457 # FIXME: should be removed in autoconf 3.0.
1458 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1459 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1460 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1461 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1462 ;;
1463
1464 esac
1465 done
1466
1467 if test -n "$ac_prev"; then
1468 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1469 { echo "$as_me: error: missing argument to $ac_option" >&2
1470 { (exit 1); exit 1; }; }
1471 fi
1472
1473 # Be sure to have absolute directory names.
1474 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1475 datadir sysconfdir sharedstatedir localstatedir includedir \
1476 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1477 libdir localedir mandir
1478 do
1479 eval ac_val=\$$ac_var
1480 case $ac_val in
1481 [\\/$]* | ?:[\\/]* ) continue;;
1482 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1483 esac
1484 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1485 { (exit 1); exit 1; }; }
1486 done
1487
1488 # There might be people who depend on the old broken behavior: `$host'
1489 # used to hold the argument of --host etc.
1490 # FIXME: To remove some day.
1491 build=$build_alias
1492 host=$host_alias
1493 target=$target_alias
1494
1495 # FIXME: To remove some day.
1496 if test "x$host_alias" != x; then
1497 if test "x$build_alias" = x; then
1498 cross_compiling=maybe
1499 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1500 If a cross compiler is detected then cross compile mode will be used." >&2
1501 elif test "x$build_alias" != "x$host_alias"; then
1502 cross_compiling=yes
1503 fi
1504 fi
1505
1506 ac_tool_prefix=
1507 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1508
1509 test "$silent" = yes && exec 6>/dev/null
1510
1511
1512 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1513 ac_ls_di=`ls -di .` &&
1514 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1515 { echo "$as_me: error: Working directory cannot be determined" >&2
1516 { (exit 1); exit 1; }; }
1517 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1518 { echo "$as_me: error: pwd does not report name of working directory" >&2
1519 { (exit 1); exit 1; }; }
1520
1521
1522 # Find the source files, if location was not specified.
1523 if test -z "$srcdir"; then
1524 ac_srcdir_defaulted=yes
1525 # Try the directory containing this script, then the parent directory.
1526 ac_confdir=`$as_dirname -- "$0" ||
1527 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1528 X"$0" : 'X\(//\)[^/]' \| \
1529 X"$0" : 'X\(//\)$' \| \
1530 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1531 echo X"$0" |
1532 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1533 s//\1/
1534 q
1535 }
1536 /^X\(\/\/\)[^/].*/{
1537 s//\1/
1538 q
1539 }
1540 /^X\(\/\/\)$/{
1541 s//\1/
1542 q
1543 }
1544 /^X\(\/\).*/{
1545 s//\1/
1546 q
1547 }
1548 s/.*/./; q'`
1549 srcdir=$ac_confdir
1550 if test ! -r "$srcdir/$ac_unique_file"; then
1551 srcdir=..
1552 fi
1553 else
1554 ac_srcdir_defaulted=no
1555 fi
1556 if test ! -r "$srcdir/$ac_unique_file"; then
1557 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1558 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1559 { (exit 1); exit 1; }; }
1560 fi
1561 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1562 ac_abs_confdir=`(
1563 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1564 { (exit 1); exit 1; }; }
1565 pwd)`
1566 # When building in place, set srcdir=.
1567 if test "$ac_abs_confdir" = "$ac_pwd"; then
1568 srcdir=.
1569 fi
1570 # Remove unnecessary trailing slashes from srcdir.
1571 # Double slashes in file names in object file debugging info
1572 # mess up M-x gdb in Emacs.
1573 case $srcdir in
1574 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1575 esac
1576 for ac_var in $ac_precious_vars; do
1577 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1578 eval ac_env_${ac_var}_value=\$${ac_var}
1579 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1580 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1581 done
1582
1583 #
1584 # Report the --help message.
1585 #
1586 if test "$ac_init_help" = "long"; then
1587 # Omit some internal or obsolete options to make the list less imposing.
1588 # This message is too long to be a string in the A/UX 3.1 sh.
1589 cat <<_ACEOF
1590 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1591
1592 Usage: $0 [OPTION]... [VAR=VALUE]...
1593
1594 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1595 VAR=VALUE. See below for descriptions of some of the useful variables.
1596
1597 Defaults for the options are specified in brackets.
1598
1599 Configuration:
1600 -h, --help display this help and exit
1601 --help=short display options specific to this package
1602 --help=recursive display the short help of all the included packages
1603 -V, --version display version information and exit
1604 -q, --quiet, --silent do not print \`checking...' messages
1605 --cache-file=FILE cache test results in FILE [disabled]
1606 -C, --config-cache alias for \`--cache-file=config.cache'
1607 -n, --no-create do not create output files
1608 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1609
1610 Installation directories:
1611 --prefix=PREFIX install architecture-independent files in PREFIX
1612 [$ac_default_prefix]
1613 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1614 [PREFIX]
1615
1616 By default, \`make install' will install all the files in
1617 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1618 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1619 for instance \`--prefix=\$HOME'.
1620
1621 For better control, use the options below.
1622
1623 Fine tuning of the installation directories:
1624 --bindir=DIR user executables [EPREFIX/bin]
1625 --sbindir=DIR system admin executables [EPREFIX/sbin]
1626 --libexecdir=DIR program executables [EPREFIX/libexec]
1627 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1628 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1629 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1630 --libdir=DIR object code libraries [EPREFIX/lib]
1631 --includedir=DIR C header files [PREFIX/include]
1632 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1633 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1634 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1635 --infodir=DIR info documentation [DATAROOTDIR/info]
1636 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1637 --mandir=DIR man documentation [DATAROOTDIR/man]
1638 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1639 --htmldir=DIR html documentation [DOCDIR]
1640 --dvidir=DIR dvi documentation [DOCDIR]
1641 --pdfdir=DIR pdf documentation [DOCDIR]
1642 --psdir=DIR ps documentation [DOCDIR]
1643 _ACEOF
1644
1645 cat <<\_ACEOF
1646
1647 X features:
1648 --x-includes=DIR X include files are in DIR
1649 --x-libraries=DIR X library files are in DIR
1650
1651 System types:
1652 --build=BUILD configure for building on BUILD [guessed]
1653 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1654 _ACEOF
1655 fi
1656
1657 if test -n "$ac_init_help"; then
1658 case $ac_init_help in
1659 short | recursive ) echo "Configuration of wxWidgets 2.9.1:";;
1660 esac
1661 cat <<\_ACEOF
1662
1663 Optional Features:
1664 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1665 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1666 --disable-gui don't build GUI parts of the library
1667 --enable-monolithic build wxWidgets as single library
1668 --enable-plugins build parts of wxWidgets as loadable components
1669 --enable-official_build official build of wxWidgets (win32 DLL only)
1670 --enable-vendor=VENDOR vendor name (win32 DLL only)
1671 --disable-all-features disable all optional features to build minimal library
1672 --enable-universal use wxWidgets GUI controls instead of native ones
1673 --enable-nanox use NanoX
1674 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1675 --enable-gpe use GNOME PDA Environment features if possible
1676 --enable-debug build library for debugging
1677 --disable-debug_flag disable all debugging support
1678 --enable-debug_info generate debug information
1679 --enable-debug_gdb create code with extra GDB debugging information
1680 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1681 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1682 --disable-shared create static library instead of shared
1683 --enable-stl use STL for containers
1684 --enable-std_iostreams use standard C++ stream classes
1685 --enable-std_string use standard C++ string classes
1686 --disable-unicode compile without Unicode support
1687 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1688 --enable-utf8 use UTF-8 representation for strings (Unix only)
1689 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1690 --enable-extended_rtti use extended RTTI (XTI)
1691 --enable-omf use OMF object format
1692 --disable-optimise compile without optimisations
1693 --enable-profile create code with profiling information
1694 --enable-no_rtti create code without RTTI information
1695 --enable-no_exceptions create code without C++ exceptions handling
1696 --enable-permissive compile code disregarding strict ANSI
1697 --enable-no_deps create code without dependency information
1698 --disable-vararg_macros don't use vararg macros, even if they are supported
1699 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1700 --enable-compat26 enable wxWidgets 2.6 compatibility
1701 --disable-compat28 disable wxWidgets 2.8 compatibility
1702 --disable-rpath disable use of rpath for uninstalled builds
1703 --enable-objc_uniquifying enable Objective-C class name uniquifying
1704 --disable-visibility disable use of ELF symbols visibility even if supported
1705 --disable-tls disable use of compiler TLS support
1706 --enable-intl use internationalization system
1707 --enable-xlocale use x-locale support (requires wxLocale)
1708 --enable-config use wxConfig (and derived) classes
1709 --enable-protocols use wxProtocol and derived classes
1710 --enable-ftp use wxFTP (requires wxProtocol
1711 --enable-http use wxHTTP (requires wxProtocol
1712 --enable-fileproto use wxFileProto class (requires wxProtocol
1713 --enable-sockets use socket/network classes
1714 --enable-ipv6 enable IPv6 support in wxSocket
1715 --enable-ole use OLE classes (Win32 only)
1716 --enable-dataobj use data object classes
1717 --enable-ipc use interprocess communication (wxSocket etc.)
1718 --enable-baseevtloop use event loop in console programs too
1719 --enable-epollloop use wxEpollDispatcher class (Linux only)
1720 --enable-selectloop use wxSelectDispatcher class
1721 --enable-any use wxAny class
1722 --enable-apple_ieee use the Apple IEEE codec
1723 --enable-arcstream use wxArchive streams
1724 --enable-base64 use base64 encoding/decoding functions
1725 --enable-backtrace use wxStackWalker class for getting backtraces
1726 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1727 --enable-cmdline use wxCmdLineParser class
1728 --enable-datetime use wxDateTime class
1729 --enable-debugreport use wxDebugReport class
1730 --enable-dialupman use dialup network classes
1731 --enable-dynlib use wxLibrary class for DLL loading
1732 --enable-dynamicloader use (new) wxDynamicLibrary class
1733 --enable-exceptions build exception-safe library
1734 --enable-ffile use wxFFile class
1735 --enable-file use wxFile class
1736 --enable-filesystem use virtual file systems classes
1737 --enable-fontenum use wxFontEnumerator class
1738 --enable-fontmap use font encodings conversion classes
1739 --enable-fs_archive use virtual archive filesystems
1740 --enable-fs_inet use virtual HTTP/FTP filesystems
1741 --enable-fs_zip now replaced by fs_archive
1742 --enable-fswatcher use wxFileSystemWatcher class
1743 --enable-geometry use geometry class
1744 --enable-log use logging system
1745 --enable-longlong use wxLongLong class
1746 --enable-mimetype use wxMimeTypesManager
1747 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1748 --enable-snglinst use wxSingleInstanceChecker class
1749 --enable-sound use wxSound class
1750 --enable-stdpaths use wxStandardPaths class
1751 --enable-stopwatch use wxStopWatch class
1752 --enable-streams use wxStream etc classes
1753 --enable-sysoptions use wxSystemOptions
1754 --enable-tarstream use wxTar streams
1755 --enable-textbuf use wxTextBuffer class
1756 --enable-textfile use wxTextFile class
1757 --enable-timer use wxTimer class
1758 --enable-variant use wxVariant class
1759 --enable-zipstream use wxZip streams
1760 --enable-url use wxURL class
1761 --enable-protocol use wxProtocol class
1762 --enable-protocol-http HTTP support in wxProtocol
1763 --enable-protocol-ftp FTP support in wxProtocol
1764 --enable-protocol-file FILE support in wxProtocol
1765 --enable-threads use threads
1766 --enable-iniconf use wxIniConfig (Win32 only)
1767 --enable-regkey use wxRegKey class (Win32 only)
1768 --enable-docview use document view architecture
1769 --enable-help use help subsystem
1770 --enable-mshtmlhelp use MS HTML Help (win32)
1771 --enable-html use wxHTML sub-library
1772 --enable-htmlhelp use wxHTML-based help
1773 --enable-xrc use XRC resources sub-library
1774 --enable-aui use AUI docking library
1775 --enable-propgrid use wxPropertyGrid library
1776 --enable-ribbon use wxRibbon library
1777 --enable-stc use wxStyledTextCtrl library
1778 --enable-constraints use layout-constraints system
1779 --enable-loggui use standard GUI logger
1780 --enable-logwin use wxLogWindow
1781 --enable-logdialog use wxLogDialog
1782 --enable-mdi use multiple document interface architecture
1783 --enable-mdidoc use docview architecture with MDI
1784 --enable-mediactrl use wxMediaCtrl class
1785 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1786 --enable-webkit use wxWebKitCtrl (Mac)
1787 --enable-richtext use wxRichTextCtrl
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-graphics_ctx use graphics context 2D drawing API
1792 --enable-clipboard use wxClipboard class
1793 --enable-dnd use Drag'n'Drop classes
1794 --enable-metafile use win32 metafiles
1795 --disable-controls disable compilation of all standard controls
1796 --enable-accel use accelerators
1797 --enable-animatectrl use wxAnimationCtrl class
1798 --enable-bmpbutton use wxBitmapButton class
1799 --enable-bmpcombobox use wxBitmapComboBox class
1800 --enable-button use wxButton class
1801 --enable-calendar use wxCalendarCtrl class
1802 --enable-caret use wxCaret class
1803 --enable-checkbox use wxCheckBox class
1804 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1805 --enable-choice use wxChoice class
1806 --enable-choicebook use wxChoicebook class
1807 --enable-collpane use wxCollapsiblePane class
1808 --enable-colourpicker use wxColourPickerCtrl class
1809 --enable-combobox use wxComboBox class
1810 --enable-comboctrl use wxComboCtrl class
1811 --enable-dataviewctrl use wxDataViewCtrl class
1812 --enable-datepick use wxDatePickerCtrl class
1813 --enable-detect_sm use code to detect X11 session manager
1814 --enable-dirpicker use wxDirPickerCtrl class
1815 --enable-display use wxDisplay class
1816 --enable-editablebox use wxEditableListBox class
1817 --enable-filectrl use wxFileCtrl class
1818 --enable-filepicker use wxFilePickerCtrl class
1819 --enable-fontpicker use wxFontPickerCtrl class
1820 --enable-gauge use wxGauge class
1821 --enable-grid use wxGrid class
1822 --enable-headerctrl use wxHeaderCtrl class
1823 --enable-hyperlink use wxHyperlinkCtrl class
1824 --enable-imaglist use wxImageList class
1825 --enable-infobar use wxInfoBar class
1826 --enable-listbook use wxListbook class
1827 --enable-listbox use wxListBox class
1828 --enable-listctrl use wxListCtrl class
1829 --enable-notebook use wxNotebook class
1830 --enable-notifmsg use wxNotificationMessage class
1831 --enable-odcombobox use wxOwnerDrawnComboBox class
1832 --enable-popupwin use wxPopUpWindow class
1833 --enable-radiobox use wxRadioBox class
1834 --enable-radiobtn use wxRadioButton class
1835 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1836 --enable-sash use wxSashWindow class
1837 --enable-scrollbar use wxScrollBar class and scrollable windows
1838 --enable-searchctrl use wxSearchCtrl class
1839 --enable-slider use wxSlider class
1840 --enable-spinbtn use wxSpinButton class
1841 --enable-spinctrl use wxSpinCtrl class
1842 --enable-splitter use wxSplitterWindow class
1843 --enable-statbmp use wxStaticBitmap class
1844 --enable-statbox use wxStaticBox class
1845 --enable-statline use wxStaticLine class
1846 --enable-stattext use wxStaticText class
1847 --enable-statusbar use wxStatusBar class
1848 --enable-taskbaricon use wxTaskBarIcon class
1849 --enable-tbarnative use native wxToolBar class
1850 --enable-textctrl use wxTextCtrl class
1851 --enable-tipwindow use wxTipWindow class
1852 --enable-togglebtn use wxToggleButton class
1853 --enable-toolbar use wxToolBar class
1854 --enable-toolbook use wxToolbook class
1855 --enable-treebook use wxTreebook class
1856 --enable-treectrl use wxTreeCtrl class
1857 --enable-commondlg use all common dialogs
1858 --enable-aboutdlg use wxAboutBox
1859 --enable-choicedlg use wxChoiceDialog
1860 --enable-coldlg use wxColourDialog
1861 --enable-filedlg use wxFileDialog
1862 --enable-finddlg use wxFindReplaceDialog
1863 --enable-fontdlg use wxFontDialog
1864 --enable-dirdlg use wxDirDialog
1865 --enable-msgdlg use wxMessageDialog
1866 --enable-numberdlg use wxNumberEntryDialog
1867 --enable-splash use wxSplashScreen
1868 --enable-textdlg use wxTextDialog
1869 --enable-tipdlg use startup tips
1870 --enable-progressdlg use wxProgressDialog
1871 --enable-wizarddlg use wxWizard
1872 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1873 --enable-miniframe use wxMiniFrame class
1874 --enable-tooltips use wxToolTip class
1875 --enable-splines use spline drawing code
1876 --enable-mousewheel use mousewheel
1877 --enable-validators use wxValidator and derived classes
1878 --enable-busyinfo use wxBusyInfo
1879 --enable-joystick use wxJoystick
1880 --enable-metafiles use wxMetaFile (Win32 only)
1881 --enable-dragimage use wxDragImage
1882 --enable-accessibility enable accessibility support
1883 --enable-palette use wxPalette class
1884 --enable-image use wxImage class
1885 --enable-gif use gif images (GIF file format)
1886 --enable-pcx use pcx images (PCX file format)
1887 --enable-tga use tga images (TGA file format)
1888 --enable-iff use iff images (IFF file format)
1889 --enable-pnm use pnm images (PNM file format)
1890 --enable-xpm use xpm images (XPM file format)
1891 --enable-ico_cur use Windows ICO and CUR formats
1892 --enable-dccache cache temporary wxDC objects (Win32 only)
1893 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1894 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1895 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1896 --enable-wxdib use wxDIB class (Win32 only)
1897 --enable-autoidman use automatic ids management
1898 --disable-largefile omit support for large files
1899 --disable-gtktest do not try to compile and run a test GTK+ program
1900 --disable-gtktest Do not try to compile and run a test GTK program
1901 --disable-sdltest Do not try to compile and run a test SDL program
1902 --enable-omf use OMF object format (OS/2)
1903 --disable-dependency-tracking
1904 don't use dependency tracking even if the compiler
1905 can
1906 --disable-precomp-headers
1907 don't use precompiled headers even if compiler can
1908
1909 Optional Packages:
1910 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1911 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1912 --without-subdirs don't generate makefiles for samples/demos/...
1913 --with-flavour=NAME specify a name to identify this build
1914 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1915 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1916 --with-motif use Motif/Lesstif
1917 --with-osx_carbon use Mac OS X (Carbon)
1918 --with-osx_cocoa use Mac OS X (Cocoa)
1919 --with-mac use Mac OS X (Default)
1920 --with-cocoa use Cocoa
1921 --with-wine use Wine
1922 --with-msw use MS-Windows
1923 --with-pm use OS/2 Presentation Manager
1924 --with-mgl use SciTech MGL
1925 --with-directfb use DirectFB
1926 --with-microwin use MicroWindows
1927 --with-x11 use X11
1928 --with-libpng use libpng (PNG image format)
1929 --with-libjpeg use libjpeg (JPEG file format)
1930 --with-libtiff use libtiff (TIFF file format)
1931 --with-libxpm use libxpm (XPM file format)
1932 --with-libiconv use libiconv (character conversion)
1933 --with-libmspack use libmspack (CHM help files loading)
1934 --without-gtkprint don't use GTK printing support
1935 --without-gnomeprint don't use GNOME printing libraries
1936 --with-gnomevfs use GNOME VFS for associating MIME types
1937 --with-hildon use Hildon framework for Nokia 770/800/810
1938 --with-opengl use OpenGL (or Mesa)
1939 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1940 --with-sdl use SDL for audio on Unix
1941 --with-regex enable support for wxRegEx class
1942 --with-zlib use zlib for LZW compression
1943 --with-expat enable XML support using expat parser
1944 --with-macosx-sdk=PATH use an OS X SDK at PATH
1945 --with-macosx-version-min=VER build binaries which require at least this OS X version
1946 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1947 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1948 --with-x use the X Window System
1949 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1950 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1951 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1952 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1953 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1954
1955 Some influential environment variables:
1956 CC C compiler command
1957 CFLAGS C compiler flags
1958 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1959 nonstandard directory <lib dir>
1960 LIBS libraries to pass to the linker, e.g. -l<library>
1961 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1962 you have headers in a nonstandard directory <include dir>
1963 CPP C preprocessor
1964 CXX C++ compiler command
1965 CXXFLAGS C++ compiler flags
1966 PKG_CONFIG path to pkg-config utility
1967 DIRECTFB_CFLAGS
1968 C compiler flags for DIRECTFB, overriding pkg-config
1969 DIRECTFB_LIBS
1970 linker flags for DIRECTFB, overriding pkg-config
1971 XMKMF Path to xmkmf, Makefile generator for X Window System
1972 PANGOX_CFLAGS
1973 C compiler flags for PANGOX, overriding pkg-config
1974 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1975 PANGOFT2_CFLAGS
1976 C compiler flags for PANGOFT2, overriding pkg-config
1977 PANGOFT2_LIBS
1978 linker flags for PANGOFT2, overriding pkg-config
1979 PANGOXFT_CFLAGS
1980 C compiler flags for PANGOXFT, overriding pkg-config
1981 PANGOXFT_LIBS
1982 linker flags for PANGOXFT, overriding pkg-config
1983 GTKPRINT_CFLAGS
1984 C compiler flags for GTKPRINT, overriding pkg-config
1985 GTKPRINT_LIBS
1986 linker flags for GTKPRINT, overriding pkg-config
1987 LIBGNOMEPRINTUI_CFLAGS
1988 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1989 LIBGNOMEPRINTUI_LIBS
1990 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1991 GNOMEVFS_CFLAGS
1992 C compiler flags for GNOMEVFS, overriding pkg-config
1993 GNOMEVFS_LIBS
1994 linker flags for GNOMEVFS, overriding pkg-config
1995 HILDON_CFLAGS
1996 C compiler flags for HILDON, overriding pkg-config
1997 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1998 HILDON2_CFLAGS
1999 C compiler flags for HILDON2, overriding pkg-config
2000 HILDON2_LIBS
2001 linker flags for HILDON2, overriding pkg-config
2002 CAIRO_CFLAGS
2003 C compiler flags for CAIRO, overriding pkg-config
2004 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2005 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2006 GST_LIBS linker flags for GST, overriding pkg-config
2007
2008 Use these variables to override the choices made by `configure' or to help
2009 it to find libraries and programs with nonstandard names/locations.
2010
2011 Report bugs to <wx-dev@lists.wxwidgets.org>.
2012 _ACEOF
2013 ac_status=$?
2014 fi
2015
2016 if test "$ac_init_help" = "recursive"; then
2017 # If there are subdirs, report their specific --help.
2018 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2019 test -d "$ac_dir" || continue
2020 ac_builddir=.
2021
2022 case "$ac_dir" in
2023 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2024 *)
2025 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2026 # A ".." for each directory in $ac_dir_suffix.
2027 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2028 case $ac_top_builddir_sub in
2029 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2030 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2031 esac ;;
2032 esac
2033 ac_abs_top_builddir=$ac_pwd
2034 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2035 # for backward compatibility:
2036 ac_top_builddir=$ac_top_build_prefix
2037
2038 case $srcdir in
2039 .) # We are building in place.
2040 ac_srcdir=.
2041 ac_top_srcdir=$ac_top_builddir_sub
2042 ac_abs_top_srcdir=$ac_pwd ;;
2043 [\\/]* | ?:[\\/]* ) # Absolute name.
2044 ac_srcdir=$srcdir$ac_dir_suffix;
2045 ac_top_srcdir=$srcdir
2046 ac_abs_top_srcdir=$srcdir ;;
2047 *) # Relative name.
2048 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2049 ac_top_srcdir=$ac_top_build_prefix$srcdir
2050 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2051 esac
2052 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2053
2054 cd "$ac_dir" || { ac_status=$?; continue; }
2055 # Check for guested configure.
2056 if test -f "$ac_srcdir/configure.gnu"; then
2057 echo &&
2058 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2059 elif test -f "$ac_srcdir/configure"; then
2060 echo &&
2061 $SHELL "$ac_srcdir/configure" --help=recursive
2062 else
2063 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2064 fi || ac_status=$?
2065 cd "$ac_pwd" || { ac_status=$?; break; }
2066 done
2067 fi
2068
2069 test -n "$ac_init_help" && exit $ac_status
2070 if $ac_init_version; then
2071 cat <<\_ACEOF
2072 wxWidgets configure 2.9.1
2073 generated by GNU Autoconf 2.61
2074
2075 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2076 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2077 This configure script is free software; the Free Software Foundation
2078 gives unlimited permission to copy, distribute and modify it.
2079 _ACEOF
2080 exit
2081 fi
2082 cat >config.log <<_ACEOF
2083 This file contains any messages produced by compilers while
2084 running configure, to aid debugging if configure makes a mistake.
2085
2086 It was created by wxWidgets $as_me 2.9.1, which was
2087 generated by GNU Autoconf 2.61. Invocation command line was
2088
2089 $ $0 $@
2090
2091 _ACEOF
2092 exec 5>>config.log
2093 {
2094 cat <<_ASUNAME
2095 ## --------- ##
2096 ## Platform. ##
2097 ## --------- ##
2098
2099 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2100 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2101 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2102 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2103 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2104
2105 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2106 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2107
2108 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2109 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2110 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2111 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2112 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2113 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2114 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2115
2116 _ASUNAME
2117
2118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2119 for as_dir in $PATH
2120 do
2121 IFS=$as_save_IFS
2122 test -z "$as_dir" && as_dir=.
2123 echo "PATH: $as_dir"
2124 done
2125 IFS=$as_save_IFS
2126
2127 } >&5
2128
2129 cat >&5 <<_ACEOF
2130
2131
2132 ## ----------- ##
2133 ## Core tests. ##
2134 ## ----------- ##
2135
2136 _ACEOF
2137
2138
2139 # Keep a trace of the command line.
2140 # Strip out --no-create and --no-recursion so they do not pile up.
2141 # Strip out --silent because we don't want to record it for future runs.
2142 # Also quote any args containing shell meta-characters.
2143 # Make two passes to allow for proper duplicate-argument suppression.
2144 ac_configure_args=
2145 ac_configure_args0=
2146 ac_configure_args1=
2147 ac_must_keep_next=false
2148 for ac_pass in 1 2
2149 do
2150 for ac_arg
2151 do
2152 case $ac_arg in
2153 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2154 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2155 | -silent | --silent | --silen | --sile | --sil)
2156 continue ;;
2157 *\'*)
2158 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2159 esac
2160 case $ac_pass in
2161 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2162 2)
2163 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2164 if test $ac_must_keep_next = true; then
2165 ac_must_keep_next=false # Got value, back to normal.
2166 else
2167 case $ac_arg in
2168 *=* | --config-cache | -C | -disable-* | --disable-* \
2169 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2170 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2171 | -with-* | --with-* | -without-* | --without-* | --x)
2172 case "$ac_configure_args0 " in
2173 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2174 esac
2175 ;;
2176 -* ) ac_must_keep_next=true ;;
2177 esac
2178 fi
2179 ac_configure_args="$ac_configure_args '$ac_arg'"
2180 ;;
2181 esac
2182 done
2183 done
2184 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2185 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2186
2187 # When interrupted or exit'd, cleanup temporary files, and complete
2188 # config.log. We remove comments because anyway the quotes in there
2189 # would cause problems or look ugly.
2190 # WARNING: Use '\'' to represent an apostrophe within the trap.
2191 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2192 trap 'exit_status=$?
2193 # Save into config.log some information that might help in debugging.
2194 {
2195 echo
2196
2197 cat <<\_ASBOX
2198 ## ---------------- ##
2199 ## Cache variables. ##
2200 ## ---------------- ##
2201 _ASBOX
2202 echo
2203 # The following way of writing the cache mishandles newlines in values,
2204 (
2205 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2206 eval ac_val=\$$ac_var
2207 case $ac_val in #(
2208 *${as_nl}*)
2209 case $ac_var in #(
2210 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2211 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2212 esac
2213 case $ac_var in #(
2214 _ | IFS | as_nl) ;; #(
2215 *) $as_unset $ac_var ;;
2216 esac ;;
2217 esac
2218 done
2219 (set) 2>&1 |
2220 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2221 *${as_nl}ac_space=\ *)
2222 sed -n \
2223 "s/'\''/'\''\\\\'\'''\''/g;
2224 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2225 ;; #(
2226 *)
2227 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2228 ;;
2229 esac |
2230 sort
2231 )
2232 echo
2233
2234 cat <<\_ASBOX
2235 ## ----------------- ##
2236 ## Output variables. ##
2237 ## ----------------- ##
2238 _ASBOX
2239 echo
2240 for ac_var in $ac_subst_vars
2241 do
2242 eval ac_val=\$$ac_var
2243 case $ac_val in
2244 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2245 esac
2246 echo "$ac_var='\''$ac_val'\''"
2247 done | sort
2248 echo
2249
2250 if test -n "$ac_subst_files"; then
2251 cat <<\_ASBOX
2252 ## ------------------- ##
2253 ## File substitutions. ##
2254 ## ------------------- ##
2255 _ASBOX
2256 echo
2257 for ac_var in $ac_subst_files
2258 do
2259 eval ac_val=\$$ac_var
2260 case $ac_val in
2261 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2262 esac
2263 echo "$ac_var='\''$ac_val'\''"
2264 done | sort
2265 echo
2266 fi
2267
2268 if test -s confdefs.h; then
2269 cat <<\_ASBOX
2270 ## ----------- ##
2271 ## confdefs.h. ##
2272 ## ----------- ##
2273 _ASBOX
2274 echo
2275 cat confdefs.h
2276 echo
2277 fi
2278 test "$ac_signal" != 0 &&
2279 echo "$as_me: caught signal $ac_signal"
2280 echo "$as_me: exit $exit_status"
2281 } >&5
2282 rm -f core *.core core.conftest.* &&
2283 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2284 exit $exit_status
2285 ' 0
2286 for ac_signal in 1 2 13 15; do
2287 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2288 done
2289 ac_signal=0
2290
2291 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2292 rm -f -r conftest* confdefs.h
2293
2294 # Predefined preprocessor variables.
2295
2296 cat >>confdefs.h <<_ACEOF
2297 #define PACKAGE_NAME "$PACKAGE_NAME"
2298 _ACEOF
2299
2300
2301 cat >>confdefs.h <<_ACEOF
2302 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2303 _ACEOF
2304
2305
2306 cat >>confdefs.h <<_ACEOF
2307 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2308 _ACEOF
2309
2310
2311 cat >>confdefs.h <<_ACEOF
2312 #define PACKAGE_STRING "$PACKAGE_STRING"
2313 _ACEOF
2314
2315
2316 cat >>confdefs.h <<_ACEOF
2317 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2318 _ACEOF
2319
2320
2321 # Let the site file select an alternate cache file if it wants to.
2322 # Prefer explicitly selected file to automatically selected ones.
2323 if test -n "$CONFIG_SITE"; then
2324 set x "$CONFIG_SITE"
2325 elif test "x$prefix" != xNONE; then
2326 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2327 else
2328 set x "$ac_default_prefix/share/config.site" \
2329 "$ac_default_prefix/etc/config.site"
2330 fi
2331 shift
2332 for ac_site_file
2333 do
2334 if test -r "$ac_site_file"; then
2335 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2336 echo "$as_me: loading site script $ac_site_file" >&6;}
2337 sed 's/^/| /' "$ac_site_file" >&5
2338 . "$ac_site_file"
2339 fi
2340 done
2341
2342 if test -r "$cache_file"; then
2343 # Some versions of bash will fail to source /dev/null (special
2344 # files actually), so we avoid doing that.
2345 if test -f "$cache_file"; then
2346 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2347 echo "$as_me: loading cache $cache_file" >&6;}
2348 case $cache_file in
2349 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2350 *) . "./$cache_file";;
2351 esac
2352 fi
2353 else
2354 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2355 echo "$as_me: creating cache $cache_file" >&6;}
2356 >$cache_file
2357 fi
2358
2359 # Check that the precious variables saved in the cache have kept the same
2360 # value.
2361 ac_cache_corrupted=false
2362 for ac_var in $ac_precious_vars; do
2363 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2364 eval ac_new_set=\$ac_env_${ac_var}_set
2365 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2366 eval ac_new_val=\$ac_env_${ac_var}_value
2367 case $ac_old_set,$ac_new_set in
2368 set,)
2369 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2370 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2371 ac_cache_corrupted=: ;;
2372 ,set)
2373 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2374 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2375 ac_cache_corrupted=: ;;
2376 ,);;
2377 *)
2378 if test "x$ac_old_val" != "x$ac_new_val"; then
2379 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2380 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2381 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2382 echo "$as_me: former value: $ac_old_val" >&2;}
2383 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2384 echo "$as_me: current value: $ac_new_val" >&2;}
2385 ac_cache_corrupted=:
2386 fi;;
2387 esac
2388 # Pass precious variables to config.status.
2389 if test "$ac_new_set" = set; then
2390 case $ac_new_val in
2391 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2392 *) ac_arg=$ac_var=$ac_new_val ;;
2393 esac
2394 case " $ac_configure_args " in
2395 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2396 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2397 esac
2398 fi
2399 done
2400 if $ac_cache_corrupted; then
2401 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2402 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2403 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2404 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2405 { (exit 1); exit 1; }; }
2406 fi
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
2432 ac_ext=c
2433 ac_cpp='$CPP $CPPFLAGS'
2434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2437
2438
2439
2440
2441
2442 ac_aux_dir=
2443 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2444 if test -f "$ac_dir/install-sh"; then
2445 ac_aux_dir=$ac_dir
2446 ac_install_sh="$ac_aux_dir/install-sh -c"
2447 break
2448 elif test -f "$ac_dir/install.sh"; then
2449 ac_aux_dir=$ac_dir
2450 ac_install_sh="$ac_aux_dir/install.sh -c"
2451 break
2452 elif test -f "$ac_dir/shtool"; then
2453 ac_aux_dir=$ac_dir
2454 ac_install_sh="$ac_aux_dir/shtool install -c"
2455 break
2456 fi
2457 done
2458 if test -z "$ac_aux_dir"; then
2459 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2460 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2461 { (exit 1); exit 1; }; }
2462 fi
2463
2464 # These three variables are undocumented and unsupported,
2465 # and are intended to be withdrawn in a future Autoconf release.
2466 # They can cause serious problems if a builder's source tree is in a directory
2467 # whose full name contains unusual characters.
2468 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2469 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2470 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2471
2472
2473 # Make sure we can run config.sub.
2474 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2475 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2476 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2477 { (exit 1); exit 1; }; }
2478
2479 { echo "$as_me:$LINENO: checking build system type" >&5
2480 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2481 if test "${ac_cv_build+set}" = set; then
2482 echo $ECHO_N "(cached) $ECHO_C" >&6
2483 else
2484 ac_build_alias=$build_alias
2485 test "x$ac_build_alias" = x &&
2486 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2487 test "x$ac_build_alias" = x &&
2488 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2489 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2490 { (exit 1); exit 1; }; }
2491 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2492 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2493 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2494 { (exit 1); exit 1; }; }
2495
2496 fi
2497 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2498 echo "${ECHO_T}$ac_cv_build" >&6; }
2499 case $ac_cv_build in
2500 *-*-*) ;;
2501 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2502 echo "$as_me: error: invalid value of canonical build" >&2;}
2503 { (exit 1); exit 1; }; };;
2504 esac
2505 build=$ac_cv_build
2506 ac_save_IFS=$IFS; IFS='-'
2507 set x $ac_cv_build
2508 shift
2509 build_cpu=$1
2510 build_vendor=$2
2511 shift; shift
2512 # Remember, the first character of IFS is used to create $*,
2513 # except with old shells:
2514 build_os=$*
2515 IFS=$ac_save_IFS
2516 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2517
2518
2519 { echo "$as_me:$LINENO: checking host system type" >&5
2520 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2521 if test "${ac_cv_host+set}" = set; then
2522 echo $ECHO_N "(cached) $ECHO_C" >&6
2523 else
2524 if test "x$host_alias" = x; then
2525 ac_cv_host=$ac_cv_build
2526 else
2527 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2528 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2529 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2530 { (exit 1); exit 1; }; }
2531 fi
2532
2533 fi
2534 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2535 echo "${ECHO_T}$ac_cv_host" >&6; }
2536 case $ac_cv_host in
2537 *-*-*) ;;
2538 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2539 echo "$as_me: error: invalid value of canonical host" >&2;}
2540 { (exit 1); exit 1; }; };;
2541 esac
2542 host=$ac_cv_host
2543 ac_save_IFS=$IFS; IFS='-'
2544 set x $ac_cv_host
2545 shift
2546 host_cpu=$1
2547 host_vendor=$2
2548 shift; shift
2549 # Remember, the first character of IFS is used to create $*,
2550 # except with old shells:
2551 host_os=$*
2552 IFS=$ac_save_IFS
2553 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2554
2555
2556
2557 if test "$cross_compiling" != "no"; then
2558 HOST_PREFIX="${host_alias}-"
2559 HOST_SUFFIX="-$host_alias"
2560 else
2561 HOST_PREFIX=
2562 HOST_SUFFIX=
2563 fi
2564
2565
2566 wx_major_version_number=2
2567 wx_minor_version_number=9
2568 wx_release_number=1
2569 wx_subrelease_number=0
2570
2571 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2572 WX_VERSION=$WX_RELEASE.$wx_release_number
2573 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2574
2575 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2576
2577
2578 wx_top_builddir="`pwd`"
2579
2580
2581
2582
2583 USE_UNIX=1
2584 USE_OS2=0
2585 USE_WIN32=0
2586 USE_DOS=0
2587 USE_BEOS=0
2588 USE_MAC=0
2589
2590 USE_AIX=
2591 USE_BSD= USE_DARWIN= USE_FREEBSD=
2592 USE_GNU= USE_HPUX=
2593 USE_LINUX=
2594 USE_NETBSD=
2595 USE_OPENBSD=
2596 USE_OSF= USE_SGI=
2597 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2598 USE_ULTRIX=
2599 USE_UNIXWARE=
2600
2601 USE_ALPHA=
2602
2603 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2604
2605 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2606
2607 DEFAULT_wxUSE_COCOA=0
2608 DEFAULT_wxUSE_GTK=0
2609 DEFAULT_wxUSE_OSX_CARBON=0
2610 DEFAULT_wxUSE_OSX_COCOA=0
2611 DEFAULT_wxUSE_MGL=0
2612 DEFAULT_wxUSE_MICROWIN=0
2613 DEFAULT_wxUSE_MOTIF=0
2614 DEFAULT_wxUSE_MSW=0
2615 DEFAULT_wxUSE_PM=0
2616 DEFAULT_wxUSE_X11=0
2617 DEFAULT_wxUSE_DFB=0
2618
2619 DEFAULT_DEFAULT_wxUSE_COCOA=0
2620 DEFAULT_DEFAULT_wxUSE_GTK=0
2621 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2622 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2623 DEFAULT_DEFAULT_wxUSE_MGL=0
2624 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2625 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2626 DEFAULT_DEFAULT_wxUSE_MSW=0
2627 DEFAULT_DEFAULT_wxUSE_PM=0
2628 DEFAULT_DEFAULT_wxUSE_X11=0
2629 DEFAULT_DEFAULT_wxUSE_DFB=0
2630
2631 PROGRAM_EXT=
2632 SAMPLES_RPATH_FLAG=
2633 DYLIB_RPATH_INSTALL=
2634 DYLIB_RPATH_POSTLINK=
2635
2636 DEFAULT_STD_FLAG=yes
2637
2638 case "${host}" in
2639 *-hp-hpux* )
2640 USE_HPUX=1
2641 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2642 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2643 cat >>confdefs.h <<\_ACEOF
2644 #define __HPUX__ 1
2645 _ACEOF
2646
2647
2648 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2649 ;;
2650 *-*-linux* )
2651 USE_LINUX=1
2652 cat >>confdefs.h <<\_ACEOF
2653 #define __LINUX__ 1
2654 _ACEOF
2655
2656 TMP=`uname -m`
2657 if test "x$TMP" = "xalpha"; then
2658 USE_ALPHA=1
2659 cat >>confdefs.h <<\_ACEOF
2660 #define __ALPHA__ 1
2661 _ACEOF
2662
2663 fi
2664 DEFAULT_DEFAULT_wxUSE_GTK=1
2665 ;;
2666 *-*-gnu* | *-*-k*bsd*-gnu )
2667 USE_GNU=1
2668 TMP=`uname -m`
2669 if test "x$TMP" = "xalpha"; then
2670 USE_ALPHA=1
2671 cat >>confdefs.h <<\_ACEOF
2672 #define __ALPHA__ 1
2673 _ACEOF
2674
2675 fi
2676 DEFAULT_DEFAULT_wxUSE_GTK=1
2677 ;;
2678 *-*-irix5* | *-*-irix6* )
2679 USE_SGI=1
2680 USE_SVR4=1
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __SGI__ 1
2683 _ACEOF
2684
2685 cat >>confdefs.h <<\_ACEOF
2686 #define __SVR4__ 1
2687 _ACEOF
2688
2689 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2690 ;;
2691 *-*-solaris2* )
2692 USE_SUN=1
2693 USE_SOLARIS=1
2694 USE_SVR4=1
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __SUN__ 1
2697 _ACEOF
2698
2699 cat >>confdefs.h <<\_ACEOF
2700 #define __SOLARIS__ 1
2701 _ACEOF
2702
2703 cat >>confdefs.h <<\_ACEOF
2704 #define __SVR4__ 1
2705 _ACEOF
2706
2707 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2708 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2709 ;;
2710 *-*-sunos4* )
2711 USE_SUN=1
2712 USE_SUNOS=1
2713 USE_BSD=1
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __SUN__ 1
2716 _ACEOF
2717
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __SUNOS__ 1
2720 _ACEOF
2721
2722 cat >>confdefs.h <<\_ACEOF
2723 #define __BSD__ 1
2724 _ACEOF
2725
2726 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2727 ;;
2728 *-*-freebsd*)
2729 USE_BSD=1
2730 USE_FREEBSD=1
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __FREEBSD__ 1
2733 _ACEOF
2734
2735 cat >>confdefs.h <<\_ACEOF
2736 #define __BSD__ 1
2737 _ACEOF
2738
2739 DEFAULT_DEFAULT_wxUSE_GTK=1
2740 ;;
2741 *-*-openbsd*|*-*-mirbsd*)
2742 USE_BSD=1
2743 USE_OPENBSD=1
2744 cat >>confdefs.h <<\_ACEOF
2745 #define __OPENBSD__ 1
2746 _ACEOF
2747
2748 cat >>confdefs.h <<\_ACEOF
2749 #define __BSD__ 1
2750 _ACEOF
2751
2752 DEFAULT_DEFAULT_wxUSE_GTK=1
2753 ;;
2754 *-*-netbsd*)
2755 USE_BSD=1
2756 USE_NETBSD=1
2757 cat >>confdefs.h <<\_ACEOF
2758 #define __NETBSD__ 1
2759 _ACEOF
2760
2761 cat >>confdefs.h <<\_ACEOF
2762 #define __BSD__ 1
2763 _ACEOF
2764
2765 DEFAULT_DEFAULT_wxUSE_GTK=1
2766 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2767
2768 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2769 ;;
2770 *-*-osf* )
2771 USE_ALPHA=1
2772 USE_OSF=1
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __ALPHA__ 1
2775 _ACEOF
2776
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __OSF__ 1
2779 _ACEOF
2780
2781 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2782 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2783 ;;
2784 *-*-dgux5* )
2785 USE_ALPHA=1
2786 USE_SVR4=1
2787 cat >>confdefs.h <<\_ACEOF
2788 #define __ALPHA__ 1
2789 _ACEOF
2790
2791 cat >>confdefs.h <<\_ACEOF
2792 #define __SVR4__ 1
2793 _ACEOF
2794
2795 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2796 ;;
2797 *-*-sysv5* )
2798 USE_SYSV=1
2799 USE_SVR4=1
2800 cat >>confdefs.h <<\_ACEOF
2801 #define __SYSV__ 1
2802 _ACEOF
2803
2804 cat >>confdefs.h <<\_ACEOF
2805 #define __SVR4__ 1
2806 _ACEOF
2807
2808 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2809 ;;
2810 *-*-aix* )
2811 USE_AIX=1
2812 USE_SYSV=1
2813 USE_SVR4=1
2814 cat >>confdefs.h <<\_ACEOF
2815 #define __AIX__ 1
2816 _ACEOF
2817
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __SYSV__ 1
2820 _ACEOF
2821
2822 cat >>confdefs.h <<\_ACEOF
2823 #define __SVR4__ 1
2824 _ACEOF
2825
2826 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2827 ;;
2828
2829 *-*-*UnixWare*)
2830 USE_SYSV=1
2831 USE_SVR4=1
2832 USE_UNIXWARE=1
2833 cat >>confdefs.h <<\_ACEOF
2834 #define __UNIXWARE__ 1
2835 _ACEOF
2836
2837 ;;
2838
2839 *-*-cygwin* | *-*-mingw32* )
2840 PROGRAM_EXT=".exe"
2841 DEFAULT_DEFAULT_wxUSE_MSW=1
2842 ;;
2843
2844 *-pc-msdosdjgpp )
2845 USE_UNIX=0
2846 USE_DOS=1
2847 cat >>confdefs.h <<\_ACEOF
2848 #define __DOS__ 1
2849 _ACEOF
2850
2851 PROGRAM_EXT=".exe"
2852 DEFAULT_DEFAULT_wxUSE_MGL=1
2853 ;;
2854
2855 *-pc-os2_emx | *-pc-os2-emx )
2856 cat >>confdefs.h <<\_ACEOF
2857 #define __EMX__ 1
2858 _ACEOF
2859
2860 USE_OS2=1
2861 cat >>confdefs.h <<\_ACEOF
2862 #define __OS2__ 1
2863 _ACEOF
2864
2865 PROGRAM_EXT=".exe"
2866 DEFAULT_DEFAULT_wxUSE_PM=1
2867 CXX=gcc
2868 LDFLAGS="$LDFLAGS -Zcrtdll"
2869 ac_executable_extensions=".exe"
2870 export ac_executable_extensions
2871 ac_save_IFS="$IFS"
2872 IFS='\\'
2873 ac_TEMP_PATH=
2874 for ac_dir in $PATH; do
2875 IFS=$ac_save_IFS
2876 if test -z "$ac_TEMP_PATH"; then
2877 ac_TEMP_PATH="$ac_dir"
2878 else
2879 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2880 fi
2881 done
2882 export PATH="$ac_TEMP_PATH"
2883 unset ac_TEMP_PATH
2884 DEFAULT_STD_FLAG=no
2885 ;;
2886
2887 *-*-darwin* )
2888 USE_BSD=1
2889 USE_DARWIN=1
2890 cat >>confdefs.h <<\_ACEOF
2891 #define __BSD__ 1
2892 _ACEOF
2893
2894 cat >>confdefs.h <<\_ACEOF
2895 #define __DARWIN__ 1
2896 _ACEOF
2897
2898 cat >>confdefs.h <<\_ACEOF
2899 #define TARGET_CARBON 1
2900 _ACEOF
2901
2902 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2903 ;;
2904
2905 *-*-beos* )
2906 USE_BEOS=1
2907 cat >>confdefs.h <<\_ACEOF
2908 #define __BEOS__ 1
2909 _ACEOF
2910
2911 ;;
2912
2913 *)
2914 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2915 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2916 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2917 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2918
2919 DEFAULT_DEFAULT_wxUSE_X11=1
2920 DEFAULT_wxUSE_SHARED=no
2921 esac
2922
2923
2924
2925 DEFAULT_wxUSE_ALL_FEATURES=yes
2926
2927 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2928 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2929
2930 DEFAULT_wxUSE_DMALLOC=no
2931 DEFAULT_wxUSE_LIBGNOMEVFS=no
2932 DEFAULT_wxUSE_LIBHILDON=no
2933 DEFAULT_wxUSE_LIBHILDON2=no
2934 DEFAULT_wxUSE_LIBMSPACK=no
2935 DEFAULT_wxUSE_LIBSDL=no
2936
2937 DEFAULT_wxUSE_ACCESSIBILITY=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}-sysoptions" >&5
7710 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7711 # Check whether --enable-sysoptions was given.
7712 if test "${enable_sysoptions+set}" = set; then
7713 enableval=$enable_sysoptions;
7714 if test "$enableval" = yes; then
7715 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7716 else
7717 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7718 fi
7719
7720 else
7721
7722 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7723
7724 fi
7725
7726
7727 eval "$wx_cv_use_sysoptions"
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}-postscript" >&5
9257 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9258 # Check whether --enable-postscript was given.
9259 if test "${enable_postscript+set}" = set; then
9260 enableval=$enable_postscript;
9261 if test "$enableval" = yes; then
9262 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9263 else
9264 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9265 fi
9266
9267 else
9268
9269 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9270
9271 fi
9272
9273
9274 eval "$wx_cv_use_postscript"
9275
9276 if test x"$enablestring" = xdisable; then
9277 if test $wxUSE_POSTSCRIPT = no; then
9278 result=yes
9279 else
9280 result=no
9281 fi
9282 else
9283 result=$wxUSE_POSTSCRIPT
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}-printarch" >&5
9301 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9302 # Check whether --enable-printarch was given.
9303 if test "${enable_printarch+set}" = set; then
9304 enableval=$enable_printarch;
9305 if test "$enableval" = yes; then
9306 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9307 else
9308 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9309 fi
9310
9311 else
9312
9313 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9314
9315 fi
9316
9317
9318 eval "$wx_cv_use_printarch"
9319
9320 if test x"$enablestring" = xdisable; then
9321 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9322 result=yes
9323 else
9324 result=no
9325 fi
9326 else
9327 result=$wxUSE_PRINTING_ARCHITECTURE
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}-svg" >&5
9345 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9346 # Check whether --enable-svg was given.
9347 if test "${enable_svg+set}" = set; then
9348 enableval=$enable_svg;
9349 if test "$enableval" = yes; then
9350 wx_cv_use_svg='wxUSE_SVG=yes'
9351 else
9352 wx_cv_use_svg='wxUSE_SVG=no'
9353 fi
9354
9355 else
9356
9357 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9358
9359 fi
9360
9361
9362 eval "$wx_cv_use_svg"
9363
9364 if test x"$enablestring" = xdisable; then
9365 if test $wxUSE_SVG = no; then
9366 result=yes
9367 else
9368 result=no
9369 fi
9370 else
9371 result=$wxUSE_SVG
9372 fi
9373
9374 { echo "$as_me:$LINENO: result: $result" >&5
9375 echo "${ECHO_T}$result" >&6; }
9376
9377
9378 if test "$wxUSE_MAC" != 1; then
9379
9380 enablestring=
9381 defaultval=$wxUSE_ALL_FEATURES
9382 if test -z "$defaultval"; then
9383 if test x"$enablestring" = xdisable; then
9384 defaultval=yes
9385 else
9386 defaultval=no
9387 fi
9388 fi
9389
9390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9391 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9392 # Check whether --enable-graphics_ctx was given.
9393 if test "${enable_graphics_ctx+set}" = set; then
9394 enableval=$enable_graphics_ctx;
9395 if test "$enableval" = yes; then
9396 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9397 else
9398 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9399 fi
9400
9401 else
9402
9403 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9404
9405 fi
9406
9407
9408 eval "$wx_cv_use_graphics_ctx"
9409
9410 if test x"$enablestring" = xdisable; then
9411 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9412 result=yes
9413 else
9414 result=no
9415 fi
9416 else
9417 result=$wxUSE_GRAPHICS_CONTEXT
9418 fi
9419
9420 { echo "$as_me:$LINENO: result: $result" >&5
9421 echo "${ECHO_T}$result" >&6; }
9422
9423 fi
9424
9425
9426
9427 enablestring=
9428 defaultval=$wxUSE_ALL_FEATURES
9429 if test -z "$defaultval"; then
9430 if test x"$enablestring" = xdisable; then
9431 defaultval=yes
9432 else
9433 defaultval=no
9434 fi
9435 fi
9436
9437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9439 # Check whether --enable-clipboard was given.
9440 if test "${enable_clipboard+set}" = set; then
9441 enableval=$enable_clipboard;
9442 if test "$enableval" = yes; then
9443 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9444 else
9445 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9446 fi
9447
9448 else
9449
9450 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9451
9452 fi
9453
9454
9455 eval "$wx_cv_use_clipboard"
9456
9457 if test x"$enablestring" = xdisable; then
9458 if test $wxUSE_CLIPBOARD = no; then
9459 result=yes
9460 else
9461 result=no
9462 fi
9463 else
9464 result=$wxUSE_CLIPBOARD
9465 fi
9466
9467 { echo "$as_me:$LINENO: result: $result" >&5
9468 echo "${ECHO_T}$result" >&6; }
9469
9470
9471 enablestring=
9472 defaultval=$wxUSE_ALL_FEATURES
9473 if test -z "$defaultval"; then
9474 if test x"$enablestring" = xdisable; then
9475 defaultval=yes
9476 else
9477 defaultval=no
9478 fi
9479 fi
9480
9481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9482 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9483 # Check whether --enable-dnd was given.
9484 if test "${enable_dnd+set}" = set; then
9485 enableval=$enable_dnd;
9486 if test "$enableval" = yes; then
9487 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9488 else
9489 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9490 fi
9491
9492 else
9493
9494 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9495
9496 fi
9497
9498
9499 eval "$wx_cv_use_dnd"
9500
9501 if test x"$enablestring" = xdisable; then
9502 if test $wxUSE_DRAG_AND_DROP = no; then
9503 result=yes
9504 else
9505 result=no
9506 fi
9507 else
9508 result=$wxUSE_DRAG_AND_DROP
9509 fi
9510
9511 { echo "$as_me:$LINENO: result: $result" >&5
9512 echo "${ECHO_T}$result" >&6; }
9513
9514
9515 enablestring=
9516 defaultval=$wxUSE_ALL_FEATURES
9517 if test -z "$defaultval"; then
9518 if test x"$enablestring" = xdisable; then
9519 defaultval=yes
9520 else
9521 defaultval=no
9522 fi
9523 fi
9524
9525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9526 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9527 # Check whether --enable-metafile was given.
9528 if test "${enable_metafile+set}" = set; then
9529 enableval=$enable_metafile;
9530 if test "$enableval" = yes; then
9531 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9532 else
9533 wx_cv_use_metafile='wxUSE_METAFILE=no'
9534 fi
9535
9536 else
9537
9538 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9539
9540 fi
9541
9542
9543 eval "$wx_cv_use_metafile"
9544
9545 if test x"$enablestring" = xdisable; then
9546 if test $wxUSE_METAFILE = no; then
9547 result=yes
9548 else
9549 result=no
9550 fi
9551 else
9552 result=$wxUSE_METAFILE
9553 fi
9554
9555 { echo "$as_me:$LINENO: result: $result" >&5
9556 echo "${ECHO_T}$result" >&6; }
9557
9558
9559
9560 DEFAULT_wxUSE_CONTROLS=none
9561
9562 enablestring=disable
9563 defaultval=
9564 if test -z "$defaultval"; then
9565 if test x"$enablestring" = xdisable; then
9566 defaultval=yes
9567 else
9568 defaultval=no
9569 fi
9570 fi
9571
9572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9573 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9574 # Check whether --enable-controls was given.
9575 if test "${enable_controls+set}" = set; then
9576 enableval=$enable_controls;
9577 if test "$enableval" = yes; then
9578 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9579 else
9580 wx_cv_use_controls='wxUSE_CONTROLS=no'
9581 fi
9582
9583 else
9584
9585 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9586
9587 fi
9588
9589
9590 eval "$wx_cv_use_controls"
9591
9592 if test x"$enablestring" = xdisable; then
9593 if test $wxUSE_CONTROLS = no; then
9594 result=yes
9595 else
9596 result=no
9597 fi
9598 else
9599 result=$wxUSE_CONTROLS
9600 fi
9601
9602 { echo "$as_me:$LINENO: result: $result" >&5
9603 echo "${ECHO_T}$result" >&6; }
9604
9605
9606 if test "$wxUSE_CONTROLS" = "no"; then
9607 DEFAULT_wxUSE_ACCEL=no
9608 DEFAULT_wxUSE_ANIMATIONCTRL=no
9609 DEFAULT_wxUSE_BMPBUTTON=no
9610 DEFAULT_wxUSE_BUTTON=no
9611 DEFAULT_wxUSE_CALCTRL=no
9612 DEFAULT_wxUSE_CARET=no
9613 DEFAULT_wxUSE_CHECKBOX=no
9614 DEFAULT_wxUSE_CHECKLISTBOX=no
9615 DEFAULT_wxUSE_CHOICE=no
9616 DEFAULT_wxUSE_CHOICEBOOK=no
9617 DEFAULT_wxUSE_COLLPANE=no
9618 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9619 DEFAULT_wxUSE_COMBOBOX=no
9620 DEFAULT_wxUSE_COMBOBOX=no
9621 DEFAULT_wxUSE_DATAVIEWCTRL=no
9622 DEFAULT_wxUSE_DATEPICKCTRL=no
9623 DEFAULT_wxUSE_DETECT_SM=no
9624 DEFAULT_wxUSE_DIRPICKERCTRL=no
9625 DEFAULT_wxUSE_DISPLAY=no
9626 DEFAULT_wxUSE_FILECTRL=no
9627 DEFAULT_wxUSE_FILEPICKERCTRL=no
9628 DEFAULT_wxUSE_FONTPICKERCTRL=no
9629 DEFAULT_wxUSE_GAUGE=no
9630 DEFAULT_wxUSE_GRID=no
9631 DEFAULT_wxUSE_HEADERCTRL=no
9632 DEFAULT_wxUSE_HYPERLINKCTRL=no
9633 DEFAULT_wxUSE_IMAGLIST=no
9634 DEFAULT_wxUSE_LISTBOOK=no
9635 DEFAULT_wxUSE_LISTBOX=no
9636 DEFAULT_wxUSE_LISTCTRL=no
9637 DEFAULT_wxUSE_NOTEBOOK=no
9638 DEFAULT_wxUSE_POPUPWIN=no
9639 DEFAULT_wxUSE_RADIOBOX=no
9640 DEFAULT_wxUSE_RADIOBTN=no
9641 DEFAULT_wxUSE_REARRANGECTRL=no
9642 DEFAULT_wxUSE_SASH=no
9643 DEFAULT_wxUSE_SCROLLBAR=no
9644 DEFAULT_wxUSE_SEARCHCTRL=no
9645 DEFAULT_wxUSE_SLIDER=no
9646 DEFAULT_wxUSE_SPINBTN=no
9647 DEFAULT_wxUSE_SPINCTRL=no
9648 DEFAULT_wxUSE_SPLITTER=no
9649 DEFAULT_wxUSE_STATBMP=no
9650 DEFAULT_wxUSE_STATBOX=no
9651 DEFAULT_wxUSE_STATLINE=no
9652 DEFAULT_wxUSE_STATUSBAR=no
9653 DEFAULT_wxUSE_TIPWINDOW=no
9654 DEFAULT_wxUSE_TOGGLEBTN=no
9655 DEFAULT_wxUSE_TOOLBAR=no
9656 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9657 DEFAULT_wxUSE_TOOLBOOK=no
9658 DEFAULT_wxUSE_TOOLTIPS=no
9659 DEFAULT_wxUSE_TREEBOOK=no
9660 DEFAULT_wxUSE_TREECTRL=no
9661 fi
9662
9663
9664 enablestring=
9665 defaultval=$wxUSE_ALL_FEATURES
9666 if test -z "$defaultval"; then
9667 if test x"$enablestring" = xdisable; then
9668 defaultval=yes
9669 else
9670 defaultval=no
9671 fi
9672 fi
9673
9674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9675 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9676 # Check whether --enable-accel was given.
9677 if test "${enable_accel+set}" = set; then
9678 enableval=$enable_accel;
9679 if test "$enableval" = yes; then
9680 wx_cv_use_accel='wxUSE_ACCEL=yes'
9681 else
9682 wx_cv_use_accel='wxUSE_ACCEL=no'
9683 fi
9684
9685 else
9686
9687 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9688
9689 fi
9690
9691
9692 eval "$wx_cv_use_accel"
9693
9694 if test x"$enablestring" = xdisable; then
9695 if test $wxUSE_ACCEL = no; then
9696 result=yes
9697 else
9698 result=no
9699 fi
9700 else
9701 result=$wxUSE_ACCEL
9702 fi
9703
9704 { echo "$as_me:$LINENO: result: $result" >&5
9705 echo "${ECHO_T}$result" >&6; }
9706
9707
9708 enablestring=
9709 defaultval=$wxUSE_ALL_FEATURES
9710 if test -z "$defaultval"; then
9711 if test x"$enablestring" = xdisable; then
9712 defaultval=yes
9713 else
9714 defaultval=no
9715 fi
9716 fi
9717
9718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9719 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9720 # Check whether --enable-animatectrl was given.
9721 if test "${enable_animatectrl+set}" = set; then
9722 enableval=$enable_animatectrl;
9723 if test "$enableval" = yes; then
9724 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9725 else
9726 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9727 fi
9728
9729 else
9730
9731 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9732
9733 fi
9734
9735
9736 eval "$wx_cv_use_animatectrl"
9737
9738 if test x"$enablestring" = xdisable; then
9739 if test $wxUSE_ANIMATIONCTRL = no; then
9740 result=yes
9741 else
9742 result=no
9743 fi
9744 else
9745 result=$wxUSE_ANIMATIONCTRL
9746 fi
9747
9748 { echo "$as_me:$LINENO: result: $result" >&5
9749 echo "${ECHO_T}$result" >&6; }
9750
9751
9752 enablestring=
9753 defaultval=$wxUSE_ALL_FEATURES
9754 if test -z "$defaultval"; then
9755 if test x"$enablestring" = xdisable; then
9756 defaultval=yes
9757 else
9758 defaultval=no
9759 fi
9760 fi
9761
9762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9763 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9764 # Check whether --enable-bmpbutton was given.
9765 if test "${enable_bmpbutton+set}" = set; then
9766 enableval=$enable_bmpbutton;
9767 if test "$enableval" = yes; then
9768 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9769 else
9770 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9771 fi
9772
9773 else
9774
9775 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9776
9777 fi
9778
9779
9780 eval "$wx_cv_use_bmpbutton"
9781
9782 if test x"$enablestring" = xdisable; then
9783 if test $wxUSE_BMPBUTTON = no; then
9784 result=yes
9785 else
9786 result=no
9787 fi
9788 else
9789 result=$wxUSE_BMPBUTTON
9790 fi
9791
9792 { echo "$as_me:$LINENO: result: $result" >&5
9793 echo "${ECHO_T}$result" >&6; }
9794
9795
9796 enablestring=
9797 defaultval=$wxUSE_ALL_FEATURES
9798 if test -z "$defaultval"; then
9799 if test x"$enablestring" = xdisable; then
9800 defaultval=yes
9801 else
9802 defaultval=no
9803 fi
9804 fi
9805
9806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9807 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9808 # Check whether --enable-bmpcombobox was given.
9809 if test "${enable_bmpcombobox+set}" = set; then
9810 enableval=$enable_bmpcombobox;
9811 if test "$enableval" = yes; then
9812 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9813 else
9814 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9815 fi
9816
9817 else
9818
9819 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9820
9821 fi
9822
9823
9824 eval "$wx_cv_use_bmpcombobox"
9825
9826 if test x"$enablestring" = xdisable; then
9827 if test $wxUSE_BITMAPCOMBOBOX = no; then
9828 result=yes
9829 else
9830 result=no
9831 fi
9832 else
9833 result=$wxUSE_BITMAPCOMBOBOX
9834 fi
9835
9836 { echo "$as_me:$LINENO: result: $result" >&5
9837 echo "${ECHO_T}$result" >&6; }
9838
9839
9840 enablestring=
9841 defaultval=$wxUSE_ALL_FEATURES
9842 if test -z "$defaultval"; then
9843 if test x"$enablestring" = xdisable; then
9844 defaultval=yes
9845 else
9846 defaultval=no
9847 fi
9848 fi
9849
9850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9851 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9852 # Check whether --enable-button was given.
9853 if test "${enable_button+set}" = set; then
9854 enableval=$enable_button;
9855 if test "$enableval" = yes; then
9856 wx_cv_use_button='wxUSE_BUTTON=yes'
9857 else
9858 wx_cv_use_button='wxUSE_BUTTON=no'
9859 fi
9860
9861 else
9862
9863 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9864
9865 fi
9866
9867
9868 eval "$wx_cv_use_button"
9869
9870 if test x"$enablestring" = xdisable; then
9871 if test $wxUSE_BUTTON = no; then
9872 result=yes
9873 else
9874 result=no
9875 fi
9876 else
9877 result=$wxUSE_BUTTON
9878 fi
9879
9880 { echo "$as_me:$LINENO: result: $result" >&5
9881 echo "${ECHO_T}$result" >&6; }
9882
9883
9884 enablestring=
9885 defaultval=$wxUSE_ALL_FEATURES
9886 if test -z "$defaultval"; then
9887 if test x"$enablestring" = xdisable; then
9888 defaultval=yes
9889 else
9890 defaultval=no
9891 fi
9892 fi
9893
9894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9895 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9896 # Check whether --enable-calendar was given.
9897 if test "${enable_calendar+set}" = set; then
9898 enableval=$enable_calendar;
9899 if test "$enableval" = yes; then
9900 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9901 else
9902 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9903 fi
9904
9905 else
9906
9907 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9908
9909 fi
9910
9911
9912 eval "$wx_cv_use_calendar"
9913
9914 if test x"$enablestring" = xdisable; then
9915 if test $wxUSE_CALCTRL = no; then
9916 result=yes
9917 else
9918 result=no
9919 fi
9920 else
9921 result=$wxUSE_CALCTRL
9922 fi
9923
9924 { echo "$as_me:$LINENO: result: $result" >&5
9925 echo "${ECHO_T}$result" >&6; }
9926
9927
9928 enablestring=
9929 defaultval=$wxUSE_ALL_FEATURES
9930 if test -z "$defaultval"; then
9931 if test x"$enablestring" = xdisable; then
9932 defaultval=yes
9933 else
9934 defaultval=no
9935 fi
9936 fi
9937
9938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9939 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9940 # Check whether --enable-caret was given.
9941 if test "${enable_caret+set}" = set; then
9942 enableval=$enable_caret;
9943 if test "$enableval" = yes; then
9944 wx_cv_use_caret='wxUSE_CARET=yes'
9945 else
9946 wx_cv_use_caret='wxUSE_CARET=no'
9947 fi
9948
9949 else
9950
9951 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9952
9953 fi
9954
9955
9956 eval "$wx_cv_use_caret"
9957
9958 if test x"$enablestring" = xdisable; then
9959 if test $wxUSE_CARET = no; then
9960 result=yes
9961 else
9962 result=no
9963 fi
9964 else
9965 result=$wxUSE_CARET
9966 fi
9967
9968 { echo "$as_me:$LINENO: result: $result" >&5
9969 echo "${ECHO_T}$result" >&6; }
9970
9971
9972 enablestring=
9973 defaultval=$wxUSE_ALL_FEATURES
9974 if test -z "$defaultval"; then
9975 if test x"$enablestring" = xdisable; then
9976 defaultval=yes
9977 else
9978 defaultval=no
9979 fi
9980 fi
9981
9982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9983 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9984 # Check whether --enable-checkbox was given.
9985 if test "${enable_checkbox+set}" = set; then
9986 enableval=$enable_checkbox;
9987 if test "$enableval" = yes; then
9988 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9989 else
9990 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9991 fi
9992
9993 else
9994
9995 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9996
9997 fi
9998
9999
10000 eval "$wx_cv_use_checkbox"
10001
10002 if test x"$enablestring" = xdisable; then
10003 if test $wxUSE_CHECKBOX = no; then
10004 result=yes
10005 else
10006 result=no
10007 fi
10008 else
10009 result=$wxUSE_CHECKBOX
10010 fi
10011
10012 { echo "$as_me:$LINENO: result: $result" >&5
10013 echo "${ECHO_T}$result" >&6; }
10014
10015
10016 enablestring=
10017 defaultval=$wxUSE_ALL_FEATURES
10018 if test -z "$defaultval"; then
10019 if test x"$enablestring" = xdisable; then
10020 defaultval=yes
10021 else
10022 defaultval=no
10023 fi
10024 fi
10025
10026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10027 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10028 # Check whether --enable-checklst was given.
10029 if test "${enable_checklst+set}" = set; then
10030 enableval=$enable_checklst;
10031 if test "$enableval" = yes; then
10032 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10033 else
10034 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10035 fi
10036
10037 else
10038
10039 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10040
10041 fi
10042
10043
10044 eval "$wx_cv_use_checklst"
10045
10046 if test x"$enablestring" = xdisable; then
10047 if test $wxUSE_CHECKLST = no; then
10048 result=yes
10049 else
10050 result=no
10051 fi
10052 else
10053 result=$wxUSE_CHECKLST
10054 fi
10055
10056 { echo "$as_me:$LINENO: result: $result" >&5
10057 echo "${ECHO_T}$result" >&6; }
10058
10059
10060 enablestring=
10061 defaultval=$wxUSE_ALL_FEATURES
10062 if test -z "$defaultval"; then
10063 if test x"$enablestring" = xdisable; then
10064 defaultval=yes
10065 else
10066 defaultval=no
10067 fi
10068 fi
10069
10070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10071 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10072 # Check whether --enable-choice was given.
10073 if test "${enable_choice+set}" = set; then
10074 enableval=$enable_choice;
10075 if test "$enableval" = yes; then
10076 wx_cv_use_choice='wxUSE_CHOICE=yes'
10077 else
10078 wx_cv_use_choice='wxUSE_CHOICE=no'
10079 fi
10080
10081 else
10082
10083 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10084
10085 fi
10086
10087
10088 eval "$wx_cv_use_choice"
10089
10090 if test x"$enablestring" = xdisable; then
10091 if test $wxUSE_CHOICE = no; then
10092 result=yes
10093 else
10094 result=no
10095 fi
10096 else
10097 result=$wxUSE_CHOICE
10098 fi
10099
10100 { echo "$as_me:$LINENO: result: $result" >&5
10101 echo "${ECHO_T}$result" >&6; }
10102
10103
10104 enablestring=
10105 defaultval=$wxUSE_ALL_FEATURES
10106 if test -z "$defaultval"; then
10107 if test x"$enablestring" = xdisable; then
10108 defaultval=yes
10109 else
10110 defaultval=no
10111 fi
10112 fi
10113
10114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10115 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10116 # Check whether --enable-choicebook was given.
10117 if test "${enable_choicebook+set}" = set; then
10118 enableval=$enable_choicebook;
10119 if test "$enableval" = yes; then
10120 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10121 else
10122 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10123 fi
10124
10125 else
10126
10127 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10128
10129 fi
10130
10131
10132 eval "$wx_cv_use_choicebook"
10133
10134 if test x"$enablestring" = xdisable; then
10135 if test $wxUSE_CHOICEBOOK = no; then
10136 result=yes
10137 else
10138 result=no
10139 fi
10140 else
10141 result=$wxUSE_CHOICEBOOK
10142 fi
10143
10144 { echo "$as_me:$LINENO: result: $result" >&5
10145 echo "${ECHO_T}$result" >&6; }
10146
10147
10148 enablestring=
10149 defaultval=$wxUSE_ALL_FEATURES
10150 if test -z "$defaultval"; then
10151 if test x"$enablestring" = xdisable; then
10152 defaultval=yes
10153 else
10154 defaultval=no
10155 fi
10156 fi
10157
10158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10159 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10160 # Check whether --enable-collpane was given.
10161 if test "${enable_collpane+set}" = set; then
10162 enableval=$enable_collpane;
10163 if test "$enableval" = yes; then
10164 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10165 else
10166 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10167 fi
10168
10169 else
10170
10171 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10172
10173 fi
10174
10175
10176 eval "$wx_cv_use_collpane"
10177
10178 if test x"$enablestring" = xdisable; then
10179 if test $wxUSE_COLLPANE = no; then
10180 result=yes
10181 else
10182 result=no
10183 fi
10184 else
10185 result=$wxUSE_COLLPANE
10186 fi
10187
10188 { echo "$as_me:$LINENO: result: $result" >&5
10189 echo "${ECHO_T}$result" >&6; }
10190
10191
10192 enablestring=
10193 defaultval=$wxUSE_ALL_FEATURES
10194 if test -z "$defaultval"; then
10195 if test x"$enablestring" = xdisable; then
10196 defaultval=yes
10197 else
10198 defaultval=no
10199 fi
10200 fi
10201
10202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10203 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10204 # Check whether --enable-colourpicker was given.
10205 if test "${enable_colourpicker+set}" = set; then
10206 enableval=$enable_colourpicker;
10207 if test "$enableval" = yes; then
10208 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10209 else
10210 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10211 fi
10212
10213 else
10214
10215 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10216
10217 fi
10218
10219
10220 eval "$wx_cv_use_colourpicker"
10221
10222 if test x"$enablestring" = xdisable; then
10223 if test $wxUSE_COLOURPICKERCTRL = no; then
10224 result=yes
10225 else
10226 result=no
10227 fi
10228 else
10229 result=$wxUSE_COLOURPICKERCTRL
10230 fi
10231
10232 { echo "$as_me:$LINENO: result: $result" >&5
10233 echo "${ECHO_T}$result" >&6; }
10234
10235
10236 enablestring=
10237 defaultval=$wxUSE_ALL_FEATURES
10238 if test -z "$defaultval"; then
10239 if test x"$enablestring" = xdisable; then
10240 defaultval=yes
10241 else
10242 defaultval=no
10243 fi
10244 fi
10245
10246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10247 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10248 # Check whether --enable-combobox was given.
10249 if test "${enable_combobox+set}" = set; then
10250 enableval=$enable_combobox;
10251 if test "$enableval" = yes; then
10252 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10253 else
10254 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10255 fi
10256
10257 else
10258
10259 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10260
10261 fi
10262
10263
10264 eval "$wx_cv_use_combobox"
10265
10266 if test x"$enablestring" = xdisable; then
10267 if test $wxUSE_COMBOBOX = no; then
10268 result=yes
10269 else
10270 result=no
10271 fi
10272 else
10273 result=$wxUSE_COMBOBOX
10274 fi
10275
10276 { echo "$as_me:$LINENO: result: $result" >&5
10277 echo "${ECHO_T}$result" >&6; }
10278
10279
10280 enablestring=
10281 defaultval=$wxUSE_ALL_FEATURES
10282 if test -z "$defaultval"; then
10283 if test x"$enablestring" = xdisable; then
10284 defaultval=yes
10285 else
10286 defaultval=no
10287 fi
10288 fi
10289
10290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10291 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10292 # Check whether --enable-comboctrl was given.
10293 if test "${enable_comboctrl+set}" = set; then
10294 enableval=$enable_comboctrl;
10295 if test "$enableval" = yes; then
10296 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10297 else
10298 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10299 fi
10300
10301 else
10302
10303 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10304
10305 fi
10306
10307
10308 eval "$wx_cv_use_comboctrl"
10309
10310 if test x"$enablestring" = xdisable; then
10311 if test $wxUSE_COMBOCTRL = no; then
10312 result=yes
10313 else
10314 result=no
10315 fi
10316 else
10317 result=$wxUSE_COMBOCTRL
10318 fi
10319
10320 { echo "$as_me:$LINENO: result: $result" >&5
10321 echo "${ECHO_T}$result" >&6; }
10322
10323
10324 enablestring=
10325 defaultval=$wxUSE_ALL_FEATURES
10326 if test -z "$defaultval"; then
10327 if test x"$enablestring" = xdisable; then
10328 defaultval=yes
10329 else
10330 defaultval=no
10331 fi
10332 fi
10333
10334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10335 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10336 # Check whether --enable-dataviewctrl was given.
10337 if test "${enable_dataviewctrl+set}" = set; then
10338 enableval=$enable_dataviewctrl;
10339 if test "$enableval" = yes; then
10340 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10341 else
10342 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10343 fi
10344
10345 else
10346
10347 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10348
10349 fi
10350
10351
10352 eval "$wx_cv_use_dataviewctrl"
10353
10354 if test x"$enablestring" = xdisable; then
10355 if test $wxUSE_DATAVIEWCTRL = no; then
10356 result=yes
10357 else
10358 result=no
10359 fi
10360 else
10361 result=$wxUSE_DATAVIEWCTRL
10362 fi
10363
10364 { echo "$as_me:$LINENO: result: $result" >&5
10365 echo "${ECHO_T}$result" >&6; }
10366
10367
10368 enablestring=
10369 defaultval=$wxUSE_ALL_FEATURES
10370 if test -z "$defaultval"; then
10371 if test x"$enablestring" = xdisable; then
10372 defaultval=yes
10373 else
10374 defaultval=no
10375 fi
10376 fi
10377
10378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10379 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10380 # Check whether --enable-datepick was given.
10381 if test "${enable_datepick+set}" = set; then
10382 enableval=$enable_datepick;
10383 if test "$enableval" = yes; then
10384 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10385 else
10386 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10387 fi
10388
10389 else
10390
10391 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10392
10393 fi
10394
10395
10396 eval "$wx_cv_use_datepick"
10397
10398 if test x"$enablestring" = xdisable; then
10399 if test $wxUSE_DATEPICKCTRL = no; then
10400 result=yes
10401 else
10402 result=no
10403 fi
10404 else
10405 result=$wxUSE_DATEPICKCTRL
10406 fi
10407
10408 { echo "$as_me:$LINENO: result: $result" >&5
10409 echo "${ECHO_T}$result" >&6; }
10410
10411
10412 enablestring=
10413 defaultval=$wxUSE_ALL_FEATURES
10414 if test -z "$defaultval"; then
10415 if test x"$enablestring" = xdisable; then
10416 defaultval=yes
10417 else
10418 defaultval=no
10419 fi
10420 fi
10421
10422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10423 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10424 # Check whether --enable-detect_sm was given.
10425 if test "${enable_detect_sm+set}" = set; then
10426 enableval=$enable_detect_sm;
10427 if test "$enableval" = yes; then
10428 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10429 else
10430 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10431 fi
10432
10433 else
10434
10435 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10436
10437 fi
10438
10439
10440 eval "$wx_cv_use_detect_sm"
10441
10442 if test x"$enablestring" = xdisable; then
10443 if test $wxUSE_DETECT_SM = no; then
10444 result=yes
10445 else
10446 result=no
10447 fi
10448 else
10449 result=$wxUSE_DETECT_SM
10450 fi
10451
10452 { echo "$as_me:$LINENO: result: $result" >&5
10453 echo "${ECHO_T}$result" >&6; }
10454
10455
10456 enablestring=
10457 defaultval=$wxUSE_ALL_FEATURES
10458 if test -z "$defaultval"; then
10459 if test x"$enablestring" = xdisable; then
10460 defaultval=yes
10461 else
10462 defaultval=no
10463 fi
10464 fi
10465
10466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10467 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10468 # Check whether --enable-dirpicker was given.
10469 if test "${enable_dirpicker+set}" = set; then
10470 enableval=$enable_dirpicker;
10471 if test "$enableval" = yes; then
10472 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10473 else
10474 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10475 fi
10476
10477 else
10478
10479 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10480
10481 fi
10482
10483
10484 eval "$wx_cv_use_dirpicker"
10485
10486 if test x"$enablestring" = xdisable; then
10487 if test $wxUSE_DIRPICKERCTRL = no; then
10488 result=yes
10489 else
10490 result=no
10491 fi
10492 else
10493 result=$wxUSE_DIRPICKERCTRL
10494 fi
10495
10496 { echo "$as_me:$LINENO: result: $result" >&5
10497 echo "${ECHO_T}$result" >&6; }
10498
10499
10500 enablestring=
10501 defaultval=$wxUSE_ALL_FEATURES
10502 if test -z "$defaultval"; then
10503 if test x"$enablestring" = xdisable; then
10504 defaultval=yes
10505 else
10506 defaultval=no
10507 fi
10508 fi
10509
10510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10511 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10512 # Check whether --enable-display was given.
10513 if test "${enable_display+set}" = set; then
10514 enableval=$enable_display;
10515 if test "$enableval" = yes; then
10516 wx_cv_use_display='wxUSE_DISPLAY=yes'
10517 else
10518 wx_cv_use_display='wxUSE_DISPLAY=no'
10519 fi
10520
10521 else
10522
10523 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10524
10525 fi
10526
10527
10528 eval "$wx_cv_use_display"
10529
10530 if test x"$enablestring" = xdisable; then
10531 if test $wxUSE_DISPLAY = no; then
10532 result=yes
10533 else
10534 result=no
10535 fi
10536 else
10537 result=$wxUSE_DISPLAY
10538 fi
10539
10540 { echo "$as_me:$LINENO: result: $result" >&5
10541 echo "${ECHO_T}$result" >&6; }
10542
10543
10544 enablestring=
10545 defaultval=$wxUSE_ALL_FEATURES
10546 if test -z "$defaultval"; then
10547 if test x"$enablestring" = xdisable; then
10548 defaultval=yes
10549 else
10550 defaultval=no
10551 fi
10552 fi
10553
10554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10555 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10556 # Check whether --enable-editablebox was given.
10557 if test "${enable_editablebox+set}" = set; then
10558 enableval=$enable_editablebox;
10559 if test "$enableval" = yes; then
10560 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10561 else
10562 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10563 fi
10564
10565 else
10566
10567 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10568
10569 fi
10570
10571
10572 eval "$wx_cv_use_editablebox"
10573
10574 if test x"$enablestring" = xdisable; then
10575 if test $wxUSE_EDITABLELISTBOX = no; then
10576 result=yes
10577 else
10578 result=no
10579 fi
10580 else
10581 result=$wxUSE_EDITABLELISTBOX
10582 fi
10583
10584 { echo "$as_me:$LINENO: result: $result" >&5
10585 echo "${ECHO_T}$result" >&6; }
10586
10587
10588 enablestring=
10589 defaultval=$wxUSE_ALL_FEATURES
10590 if test -z "$defaultval"; then
10591 if test x"$enablestring" = xdisable; then
10592 defaultval=yes
10593 else
10594 defaultval=no
10595 fi
10596 fi
10597
10598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10599 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10600 # Check whether --enable-filectrl was given.
10601 if test "${enable_filectrl+set}" = set; then
10602 enableval=$enable_filectrl;
10603 if test "$enableval" = yes; then
10604 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10605 else
10606 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10607 fi
10608
10609 else
10610
10611 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10612
10613 fi
10614
10615
10616 eval "$wx_cv_use_filectrl"
10617
10618 if test x"$enablestring" = xdisable; then
10619 if test $wxUSE_FILECTRL = no; then
10620 result=yes
10621 else
10622 result=no
10623 fi
10624 else
10625 result=$wxUSE_FILECTRL
10626 fi
10627
10628 { echo "$as_me:$LINENO: result: $result" >&5
10629 echo "${ECHO_T}$result" >&6; }
10630
10631
10632 enablestring=
10633 defaultval=$wxUSE_ALL_FEATURES
10634 if test -z "$defaultval"; then
10635 if test x"$enablestring" = xdisable; then
10636 defaultval=yes
10637 else
10638 defaultval=no
10639 fi
10640 fi
10641
10642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10643 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10644 # Check whether --enable-filepicker was given.
10645 if test "${enable_filepicker+set}" = set; then
10646 enableval=$enable_filepicker;
10647 if test "$enableval" = yes; then
10648 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10649 else
10650 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10651 fi
10652
10653 else
10654
10655 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10656
10657 fi
10658
10659
10660 eval "$wx_cv_use_filepicker"
10661
10662 if test x"$enablestring" = xdisable; then
10663 if test $wxUSE_FILEPICKERCTRL = no; then
10664 result=yes
10665 else
10666 result=no
10667 fi
10668 else
10669 result=$wxUSE_FILEPICKERCTRL
10670 fi
10671
10672 { echo "$as_me:$LINENO: result: $result" >&5
10673 echo "${ECHO_T}$result" >&6; }
10674
10675
10676 enablestring=
10677 defaultval=$wxUSE_ALL_FEATURES
10678 if test -z "$defaultval"; then
10679 if test x"$enablestring" = xdisable; then
10680 defaultval=yes
10681 else
10682 defaultval=no
10683 fi
10684 fi
10685
10686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10687 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10688 # Check whether --enable-fontpicker was given.
10689 if test "${enable_fontpicker+set}" = set; then
10690 enableval=$enable_fontpicker;
10691 if test "$enableval" = yes; then
10692 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10693 else
10694 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10695 fi
10696
10697 else
10698
10699 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10700
10701 fi
10702
10703
10704 eval "$wx_cv_use_fontpicker"
10705
10706 if test x"$enablestring" = xdisable; then
10707 if test $wxUSE_FONTPICKERCTRL = no; then
10708 result=yes
10709 else
10710 result=no
10711 fi
10712 else
10713 result=$wxUSE_FONTPICKERCTRL
10714 fi
10715
10716 { echo "$as_me:$LINENO: result: $result" >&5
10717 echo "${ECHO_T}$result" >&6; }
10718
10719
10720 enablestring=
10721 defaultval=$wxUSE_ALL_FEATURES
10722 if test -z "$defaultval"; then
10723 if test x"$enablestring" = xdisable; then
10724 defaultval=yes
10725 else
10726 defaultval=no
10727 fi
10728 fi
10729
10730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10731 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10732 # Check whether --enable-gauge was given.
10733 if test "${enable_gauge+set}" = set; then
10734 enableval=$enable_gauge;
10735 if test "$enableval" = yes; then
10736 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10737 else
10738 wx_cv_use_gauge='wxUSE_GAUGE=no'
10739 fi
10740
10741 else
10742
10743 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10744
10745 fi
10746
10747
10748 eval "$wx_cv_use_gauge"
10749
10750 if test x"$enablestring" = xdisable; then
10751 if test $wxUSE_GAUGE = no; then
10752 result=yes
10753 else
10754 result=no
10755 fi
10756 else
10757 result=$wxUSE_GAUGE
10758 fi
10759
10760 { echo "$as_me:$LINENO: result: $result" >&5
10761 echo "${ECHO_T}$result" >&6; }
10762
10763
10764 enablestring=
10765 defaultval=$wxUSE_ALL_FEATURES
10766 if test -z "$defaultval"; then
10767 if test x"$enablestring" = xdisable; then
10768 defaultval=yes
10769 else
10770 defaultval=no
10771 fi
10772 fi
10773
10774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10775 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10776 # Check whether --enable-grid was given.
10777 if test "${enable_grid+set}" = set; then
10778 enableval=$enable_grid;
10779 if test "$enableval" = yes; then
10780 wx_cv_use_grid='wxUSE_GRID=yes'
10781 else
10782 wx_cv_use_grid='wxUSE_GRID=no'
10783 fi
10784
10785 else
10786
10787 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10788
10789 fi
10790
10791
10792 eval "$wx_cv_use_grid"
10793
10794 if test x"$enablestring" = xdisable; then
10795 if test $wxUSE_GRID = no; then
10796 result=yes
10797 else
10798 result=no
10799 fi
10800 else
10801 result=$wxUSE_GRID
10802 fi
10803
10804 { echo "$as_me:$LINENO: result: $result" >&5
10805 echo "${ECHO_T}$result" >&6; }
10806
10807
10808 enablestring=
10809 defaultval=$wxUSE_ALL_FEATURES
10810 if test -z "$defaultval"; then
10811 if test x"$enablestring" = xdisable; then
10812 defaultval=yes
10813 else
10814 defaultval=no
10815 fi
10816 fi
10817
10818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10819 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10820 # Check whether --enable-headerctrl was given.
10821 if test "${enable_headerctrl+set}" = set; then
10822 enableval=$enable_headerctrl;
10823 if test "$enableval" = yes; then
10824 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10825 else
10826 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10827 fi
10828
10829 else
10830
10831 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10832
10833 fi
10834
10835
10836 eval "$wx_cv_use_headerctrl"
10837
10838 if test x"$enablestring" = xdisable; then
10839 if test $wxUSE_HEADERCTRL = no; then
10840 result=yes
10841 else
10842 result=no
10843 fi
10844 else
10845 result=$wxUSE_HEADERCTRL
10846 fi
10847
10848 { echo "$as_me:$LINENO: result: $result" >&5
10849 echo "${ECHO_T}$result" >&6; }
10850
10851
10852 enablestring=
10853 defaultval=$wxUSE_ALL_FEATURES
10854 if test -z "$defaultval"; then
10855 if test x"$enablestring" = xdisable; then
10856 defaultval=yes
10857 else
10858 defaultval=no
10859 fi
10860 fi
10861
10862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10863 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10864 # Check whether --enable-hyperlink was given.
10865 if test "${enable_hyperlink+set}" = set; then
10866 enableval=$enable_hyperlink;
10867 if test "$enableval" = yes; then
10868 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10869 else
10870 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10871 fi
10872
10873 else
10874
10875 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10876
10877 fi
10878
10879
10880 eval "$wx_cv_use_hyperlink"
10881
10882 if test x"$enablestring" = xdisable; then
10883 if test $wxUSE_HYPERLINKCTRL = no; then
10884 result=yes
10885 else
10886 result=no
10887 fi
10888 else
10889 result=$wxUSE_HYPERLINKCTRL
10890 fi
10891
10892 { echo "$as_me:$LINENO: result: $result" >&5
10893 echo "${ECHO_T}$result" >&6; }
10894
10895
10896 enablestring=
10897 defaultval=$wxUSE_ALL_FEATURES
10898 if test -z "$defaultval"; then
10899 if test x"$enablestring" = xdisable; then
10900 defaultval=yes
10901 else
10902 defaultval=no
10903 fi
10904 fi
10905
10906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10907 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10908 # Check whether --enable-imaglist was given.
10909 if test "${enable_imaglist+set}" = set; then
10910 enableval=$enable_imaglist;
10911 if test "$enableval" = yes; then
10912 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10913 else
10914 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10915 fi
10916
10917 else
10918
10919 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10920
10921 fi
10922
10923
10924 eval "$wx_cv_use_imaglist"
10925
10926 if test x"$enablestring" = xdisable; then
10927 if test $wxUSE_IMAGLIST = no; then
10928 result=yes
10929 else
10930 result=no
10931 fi
10932 else
10933 result=$wxUSE_IMAGLIST
10934 fi
10935
10936 { echo "$as_me:$LINENO: result: $result" >&5
10937 echo "${ECHO_T}$result" >&6; }
10938
10939
10940 enablestring=
10941 defaultval=$wxUSE_ALL_FEATURES
10942 if test -z "$defaultval"; then
10943 if test x"$enablestring" = xdisable; then
10944 defaultval=yes
10945 else
10946 defaultval=no
10947 fi
10948 fi
10949
10950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
10951 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
10952 # Check whether --enable-infobar was given.
10953 if test "${enable_infobar+set}" = set; then
10954 enableval=$enable_infobar;
10955 if test "$enableval" = yes; then
10956 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
10957 else
10958 wx_cv_use_infobar='wxUSE_INFOBAR=no'
10959 fi
10960
10961 else
10962
10963 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
10964
10965 fi
10966
10967
10968 eval "$wx_cv_use_infobar"
10969
10970 if test x"$enablestring" = xdisable; then
10971 if test $wxUSE_INFOBAR = no; then
10972 result=yes
10973 else
10974 result=no
10975 fi
10976 else
10977 result=$wxUSE_INFOBAR
10978 fi
10979
10980 { echo "$as_me:$LINENO: result: $result" >&5
10981 echo "${ECHO_T}$result" >&6; }
10982
10983
10984 enablestring=
10985 defaultval=$wxUSE_ALL_FEATURES
10986 if test -z "$defaultval"; then
10987 if test x"$enablestring" = xdisable; then
10988 defaultval=yes
10989 else
10990 defaultval=no
10991 fi
10992 fi
10993
10994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10995 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10996 # Check whether --enable-listbook was given.
10997 if test "${enable_listbook+set}" = set; then
10998 enableval=$enable_listbook;
10999 if test "$enableval" = yes; then
11000 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11001 else
11002 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11003 fi
11004
11005 else
11006
11007 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11008
11009 fi
11010
11011
11012 eval "$wx_cv_use_listbook"
11013
11014 if test x"$enablestring" = xdisable; then
11015 if test $wxUSE_LISTBOOK = no; then
11016 result=yes
11017 else
11018 result=no
11019 fi
11020 else
11021 result=$wxUSE_LISTBOOK
11022 fi
11023
11024 { echo "$as_me:$LINENO: result: $result" >&5
11025 echo "${ECHO_T}$result" >&6; }
11026
11027
11028 enablestring=
11029 defaultval=$wxUSE_ALL_FEATURES
11030 if test -z "$defaultval"; then
11031 if test x"$enablestring" = xdisable; then
11032 defaultval=yes
11033 else
11034 defaultval=no
11035 fi
11036 fi
11037
11038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11039 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11040 # Check whether --enable-listbox was given.
11041 if test "${enable_listbox+set}" = set; then
11042 enableval=$enable_listbox;
11043 if test "$enableval" = yes; then
11044 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11045 else
11046 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11047 fi
11048
11049 else
11050
11051 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11052
11053 fi
11054
11055
11056 eval "$wx_cv_use_listbox"
11057
11058 if test x"$enablestring" = xdisable; then
11059 if test $wxUSE_LISTBOX = no; then
11060 result=yes
11061 else
11062 result=no
11063 fi
11064 else
11065 result=$wxUSE_LISTBOX
11066 fi
11067
11068 { echo "$as_me:$LINENO: result: $result" >&5
11069 echo "${ECHO_T}$result" >&6; }
11070
11071
11072 enablestring=
11073 defaultval=$wxUSE_ALL_FEATURES
11074 if test -z "$defaultval"; then
11075 if test x"$enablestring" = xdisable; then
11076 defaultval=yes
11077 else
11078 defaultval=no
11079 fi
11080 fi
11081
11082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11083 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11084 # Check whether --enable-listctrl was given.
11085 if test "${enable_listctrl+set}" = set; then
11086 enableval=$enable_listctrl;
11087 if test "$enableval" = yes; then
11088 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11089 else
11090 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11091 fi
11092
11093 else
11094
11095 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11096
11097 fi
11098
11099
11100 eval "$wx_cv_use_listctrl"
11101
11102 if test x"$enablestring" = xdisable; then
11103 if test $wxUSE_LISTCTRL = no; then
11104 result=yes
11105 else
11106 result=no
11107 fi
11108 else
11109 result=$wxUSE_LISTCTRL
11110 fi
11111
11112 { echo "$as_me:$LINENO: result: $result" >&5
11113 echo "${ECHO_T}$result" >&6; }
11114
11115
11116 enablestring=
11117 defaultval=$wxUSE_ALL_FEATURES
11118 if test -z "$defaultval"; then
11119 if test x"$enablestring" = xdisable; then
11120 defaultval=yes
11121 else
11122 defaultval=no
11123 fi
11124 fi
11125
11126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11127 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11128 # Check whether --enable-notebook was given.
11129 if test "${enable_notebook+set}" = set; then
11130 enableval=$enable_notebook;
11131 if test "$enableval" = yes; then
11132 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11133 else
11134 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11135 fi
11136
11137 else
11138
11139 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11140
11141 fi
11142
11143
11144 eval "$wx_cv_use_notebook"
11145
11146 if test x"$enablestring" = xdisable; then
11147 if test $wxUSE_NOTEBOOK = no; then
11148 result=yes
11149 else
11150 result=no
11151 fi
11152 else
11153 result=$wxUSE_NOTEBOOK
11154 fi
11155
11156 { echo "$as_me:$LINENO: result: $result" >&5
11157 echo "${ECHO_T}$result" >&6; }
11158
11159
11160 enablestring=
11161 defaultval=$wxUSE_ALL_FEATURES
11162 if test -z "$defaultval"; then
11163 if test x"$enablestring" = xdisable; then
11164 defaultval=yes
11165 else
11166 defaultval=no
11167 fi
11168 fi
11169
11170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11171 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11172 # Check whether --enable-notifmsg was given.
11173 if test "${enable_notifmsg+set}" = set; then
11174 enableval=$enable_notifmsg;
11175 if test "$enableval" = yes; then
11176 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11177 else
11178 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11179 fi
11180
11181 else
11182
11183 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11184
11185 fi
11186
11187
11188 eval "$wx_cv_use_notifmsg"
11189
11190 if test x"$enablestring" = xdisable; then
11191 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11192 result=yes
11193 else
11194 result=no
11195 fi
11196 else
11197 result=$wxUSE_NOTIFICATION_MESSAGE
11198 fi
11199
11200 { echo "$as_me:$LINENO: result: $result" >&5
11201 echo "${ECHO_T}$result" >&6; }
11202
11203
11204 enablestring=
11205 defaultval=$wxUSE_ALL_FEATURES
11206 if test -z "$defaultval"; then
11207 if test x"$enablestring" = xdisable; then
11208 defaultval=yes
11209 else
11210 defaultval=no
11211 fi
11212 fi
11213
11214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11215 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11216 # Check whether --enable-odcombobox was given.
11217 if test "${enable_odcombobox+set}" = set; then
11218 enableval=$enable_odcombobox;
11219 if test "$enableval" = yes; then
11220 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11221 else
11222 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11223 fi
11224
11225 else
11226
11227 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11228
11229 fi
11230
11231
11232 eval "$wx_cv_use_odcombobox"
11233
11234 if test x"$enablestring" = xdisable; then
11235 if test $wxUSE_ODCOMBOBOX = no; then
11236 result=yes
11237 else
11238 result=no
11239 fi
11240 else
11241 result=$wxUSE_ODCOMBOBOX
11242 fi
11243
11244 { echo "$as_me:$LINENO: result: $result" >&5
11245 echo "${ECHO_T}$result" >&6; }
11246
11247
11248 enablestring=
11249 defaultval=$wxUSE_ALL_FEATURES
11250 if test -z "$defaultval"; then
11251 if test x"$enablestring" = xdisable; then
11252 defaultval=yes
11253 else
11254 defaultval=no
11255 fi
11256 fi
11257
11258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11259 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11260 # Check whether --enable-popupwin was given.
11261 if test "${enable_popupwin+set}" = set; then
11262 enableval=$enable_popupwin;
11263 if test "$enableval" = yes; then
11264 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11265 else
11266 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11267 fi
11268
11269 else
11270
11271 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11272
11273 fi
11274
11275
11276 eval "$wx_cv_use_popupwin"
11277
11278 if test x"$enablestring" = xdisable; then
11279 if test $wxUSE_POPUPWIN = no; then
11280 result=yes
11281 else
11282 result=no
11283 fi
11284 else
11285 result=$wxUSE_POPUPWIN
11286 fi
11287
11288 { echo "$as_me:$LINENO: result: $result" >&5
11289 echo "${ECHO_T}$result" >&6; }
11290
11291
11292 enablestring=
11293 defaultval=$wxUSE_ALL_FEATURES
11294 if test -z "$defaultval"; then
11295 if test x"$enablestring" = xdisable; then
11296 defaultval=yes
11297 else
11298 defaultval=no
11299 fi
11300 fi
11301
11302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11303 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11304 # Check whether --enable-radiobox was given.
11305 if test "${enable_radiobox+set}" = set; then
11306 enableval=$enable_radiobox;
11307 if test "$enableval" = yes; then
11308 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11309 else
11310 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11311 fi
11312
11313 else
11314
11315 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11316
11317 fi
11318
11319
11320 eval "$wx_cv_use_radiobox"
11321
11322 if test x"$enablestring" = xdisable; then
11323 if test $wxUSE_RADIOBOX = no; then
11324 result=yes
11325 else
11326 result=no
11327 fi
11328 else
11329 result=$wxUSE_RADIOBOX
11330 fi
11331
11332 { echo "$as_me:$LINENO: result: $result" >&5
11333 echo "${ECHO_T}$result" >&6; }
11334
11335
11336 enablestring=
11337 defaultval=$wxUSE_ALL_FEATURES
11338 if test -z "$defaultval"; then
11339 if test x"$enablestring" = xdisable; then
11340 defaultval=yes
11341 else
11342 defaultval=no
11343 fi
11344 fi
11345
11346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11347 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11348 # Check whether --enable-radiobtn was given.
11349 if test "${enable_radiobtn+set}" = set; then
11350 enableval=$enable_radiobtn;
11351 if test "$enableval" = yes; then
11352 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11353 else
11354 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11355 fi
11356
11357 else
11358
11359 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11360
11361 fi
11362
11363
11364 eval "$wx_cv_use_radiobtn"
11365
11366 if test x"$enablestring" = xdisable; then
11367 if test $wxUSE_RADIOBTN = no; then
11368 result=yes
11369 else
11370 result=no
11371 fi
11372 else
11373 result=$wxUSE_RADIOBTN
11374 fi
11375
11376 { echo "$as_me:$LINENO: result: $result" >&5
11377 echo "${ECHO_T}$result" >&6; }
11378
11379
11380 enablestring=
11381 defaultval=$wxUSE_ALL_FEATURES
11382 if test -z "$defaultval"; then
11383 if test x"$enablestring" = xdisable; then
11384 defaultval=yes
11385 else
11386 defaultval=no
11387 fi
11388 fi
11389
11390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11391 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11392 # Check whether --enable-rearrangectrl was given.
11393 if test "${enable_rearrangectrl+set}" = set; then
11394 enableval=$enable_rearrangectrl;
11395 if test "$enableval" = yes; then
11396 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11397 else
11398 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11399 fi
11400
11401 else
11402
11403 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11404
11405 fi
11406
11407
11408 eval "$wx_cv_use_rearrangectrl"
11409
11410 if test x"$enablestring" = xdisable; then
11411 if test $wxUSE_REARRANGECTRL = no; then
11412 result=yes
11413 else
11414 result=no
11415 fi
11416 else
11417 result=$wxUSE_REARRANGECTRL
11418 fi
11419
11420 { echo "$as_me:$LINENO: result: $result" >&5
11421 echo "${ECHO_T}$result" >&6; }
11422
11423
11424 enablestring=
11425 defaultval=$wxUSE_ALL_FEATURES
11426 if test -z "$defaultval"; then
11427 if test x"$enablestring" = xdisable; then
11428 defaultval=yes
11429 else
11430 defaultval=no
11431 fi
11432 fi
11433
11434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11435 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11436 # Check whether --enable-sash was given.
11437 if test "${enable_sash+set}" = set; then
11438 enableval=$enable_sash;
11439 if test "$enableval" = yes; then
11440 wx_cv_use_sash='wxUSE_SASH=yes'
11441 else
11442 wx_cv_use_sash='wxUSE_SASH=no'
11443 fi
11444
11445 else
11446
11447 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11448
11449 fi
11450
11451
11452 eval "$wx_cv_use_sash"
11453
11454 if test x"$enablestring" = xdisable; then
11455 if test $wxUSE_SASH = no; then
11456 result=yes
11457 else
11458 result=no
11459 fi
11460 else
11461 result=$wxUSE_SASH
11462 fi
11463
11464 { echo "$as_me:$LINENO: result: $result" >&5
11465 echo "${ECHO_T}$result" >&6; }
11466
11467
11468 enablestring=
11469 defaultval=$wxUSE_ALL_FEATURES
11470 if test -z "$defaultval"; then
11471 if test x"$enablestring" = xdisable; then
11472 defaultval=yes
11473 else
11474 defaultval=no
11475 fi
11476 fi
11477
11478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11479 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11480 # Check whether --enable-scrollbar was given.
11481 if test "${enable_scrollbar+set}" = set; then
11482 enableval=$enable_scrollbar;
11483 if test "$enableval" = yes; then
11484 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11485 else
11486 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11487 fi
11488
11489 else
11490
11491 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11492
11493 fi
11494
11495
11496 eval "$wx_cv_use_scrollbar"
11497
11498 if test x"$enablestring" = xdisable; then
11499 if test $wxUSE_SCROLLBAR = no; then
11500 result=yes
11501 else
11502 result=no
11503 fi
11504 else
11505 result=$wxUSE_SCROLLBAR
11506 fi
11507
11508 { echo "$as_me:$LINENO: result: $result" >&5
11509 echo "${ECHO_T}$result" >&6; }
11510
11511
11512 enablestring=
11513 defaultval=$wxUSE_ALL_FEATURES
11514 if test -z "$defaultval"; then
11515 if test x"$enablestring" = xdisable; then
11516 defaultval=yes
11517 else
11518 defaultval=no
11519 fi
11520 fi
11521
11522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11523 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11524 # Check whether --enable-searchctrl was given.
11525 if test "${enable_searchctrl+set}" = set; then
11526 enableval=$enable_searchctrl;
11527 if test "$enableval" = yes; then
11528 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11529 else
11530 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11531 fi
11532
11533 else
11534
11535 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11536
11537 fi
11538
11539
11540 eval "$wx_cv_use_searchctrl"
11541
11542 if test x"$enablestring" = xdisable; then
11543 if test $wxUSE_SEARCHCTRL = no; then
11544 result=yes
11545 else
11546 result=no
11547 fi
11548 else
11549 result=$wxUSE_SEARCHCTRL
11550 fi
11551
11552 { echo "$as_me:$LINENO: result: $result" >&5
11553 echo "${ECHO_T}$result" >&6; }
11554
11555
11556 enablestring=
11557 defaultval=$wxUSE_ALL_FEATURES
11558 if test -z "$defaultval"; then
11559 if test x"$enablestring" = xdisable; then
11560 defaultval=yes
11561 else
11562 defaultval=no
11563 fi
11564 fi
11565
11566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11567 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11568 # Check whether --enable-slider was given.
11569 if test "${enable_slider+set}" = set; then
11570 enableval=$enable_slider;
11571 if test "$enableval" = yes; then
11572 wx_cv_use_slider='wxUSE_SLIDER=yes'
11573 else
11574 wx_cv_use_slider='wxUSE_SLIDER=no'
11575 fi
11576
11577 else
11578
11579 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11580
11581 fi
11582
11583
11584 eval "$wx_cv_use_slider"
11585
11586 if test x"$enablestring" = xdisable; then
11587 if test $wxUSE_SLIDER = no; then
11588 result=yes
11589 else
11590 result=no
11591 fi
11592 else
11593 result=$wxUSE_SLIDER
11594 fi
11595
11596 { echo "$as_me:$LINENO: result: $result" >&5
11597 echo "${ECHO_T}$result" >&6; }
11598
11599
11600 enablestring=
11601 defaultval=$wxUSE_ALL_FEATURES
11602 if test -z "$defaultval"; then
11603 if test x"$enablestring" = xdisable; then
11604 defaultval=yes
11605 else
11606 defaultval=no
11607 fi
11608 fi
11609
11610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11611 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11612 # Check whether --enable-spinbtn was given.
11613 if test "${enable_spinbtn+set}" = set; then
11614 enableval=$enable_spinbtn;
11615 if test "$enableval" = yes; then
11616 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11617 else
11618 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11619 fi
11620
11621 else
11622
11623 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11624
11625 fi
11626
11627
11628 eval "$wx_cv_use_spinbtn"
11629
11630 if test x"$enablestring" = xdisable; then
11631 if test $wxUSE_SPINBTN = no; then
11632 result=yes
11633 else
11634 result=no
11635 fi
11636 else
11637 result=$wxUSE_SPINBTN
11638 fi
11639
11640 { echo "$as_me:$LINENO: result: $result" >&5
11641 echo "${ECHO_T}$result" >&6; }
11642
11643
11644 enablestring=
11645 defaultval=$wxUSE_ALL_FEATURES
11646 if test -z "$defaultval"; then
11647 if test x"$enablestring" = xdisable; then
11648 defaultval=yes
11649 else
11650 defaultval=no
11651 fi
11652 fi
11653
11654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11655 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11656 # Check whether --enable-spinctrl was given.
11657 if test "${enable_spinctrl+set}" = set; then
11658 enableval=$enable_spinctrl;
11659 if test "$enableval" = yes; then
11660 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11661 else
11662 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11663 fi
11664
11665 else
11666
11667 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11668
11669 fi
11670
11671
11672 eval "$wx_cv_use_spinctrl"
11673
11674 if test x"$enablestring" = xdisable; then
11675 if test $wxUSE_SPINCTRL = no; then
11676 result=yes
11677 else
11678 result=no
11679 fi
11680 else
11681 result=$wxUSE_SPINCTRL
11682 fi
11683
11684 { echo "$as_me:$LINENO: result: $result" >&5
11685 echo "${ECHO_T}$result" >&6; }
11686
11687
11688 enablestring=
11689 defaultval=$wxUSE_ALL_FEATURES
11690 if test -z "$defaultval"; then
11691 if test x"$enablestring" = xdisable; then
11692 defaultval=yes
11693 else
11694 defaultval=no
11695 fi
11696 fi
11697
11698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11699 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11700 # Check whether --enable-splitter was given.
11701 if test "${enable_splitter+set}" = set; then
11702 enableval=$enable_splitter;
11703 if test "$enableval" = yes; then
11704 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11705 else
11706 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11707 fi
11708
11709 else
11710
11711 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11712
11713 fi
11714
11715
11716 eval "$wx_cv_use_splitter"
11717
11718 if test x"$enablestring" = xdisable; then
11719 if test $wxUSE_SPLITTER = no; then
11720 result=yes
11721 else
11722 result=no
11723 fi
11724 else
11725 result=$wxUSE_SPLITTER
11726 fi
11727
11728 { echo "$as_me:$LINENO: result: $result" >&5
11729 echo "${ECHO_T}$result" >&6; }
11730
11731
11732 enablestring=
11733 defaultval=$wxUSE_ALL_FEATURES
11734 if test -z "$defaultval"; then
11735 if test x"$enablestring" = xdisable; then
11736 defaultval=yes
11737 else
11738 defaultval=no
11739 fi
11740 fi
11741
11742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11743 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11744 # Check whether --enable-statbmp was given.
11745 if test "${enable_statbmp+set}" = set; then
11746 enableval=$enable_statbmp;
11747 if test "$enableval" = yes; then
11748 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11749 else
11750 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11751 fi
11752
11753 else
11754
11755 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11756
11757 fi
11758
11759
11760 eval "$wx_cv_use_statbmp"
11761
11762 if test x"$enablestring" = xdisable; then
11763 if test $wxUSE_STATBMP = no; then
11764 result=yes
11765 else
11766 result=no
11767 fi
11768 else
11769 result=$wxUSE_STATBMP
11770 fi
11771
11772 { echo "$as_me:$LINENO: result: $result" >&5
11773 echo "${ECHO_T}$result" >&6; }
11774
11775
11776 enablestring=
11777 defaultval=$wxUSE_ALL_FEATURES
11778 if test -z "$defaultval"; then
11779 if test x"$enablestring" = xdisable; then
11780 defaultval=yes
11781 else
11782 defaultval=no
11783 fi
11784 fi
11785
11786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11787 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11788 # Check whether --enable-statbox was given.
11789 if test "${enable_statbox+set}" = set; then
11790 enableval=$enable_statbox;
11791 if test "$enableval" = yes; then
11792 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11793 else
11794 wx_cv_use_statbox='wxUSE_STATBOX=no'
11795 fi
11796
11797 else
11798
11799 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11800
11801 fi
11802
11803
11804 eval "$wx_cv_use_statbox"
11805
11806 if test x"$enablestring" = xdisable; then
11807 if test $wxUSE_STATBOX = no; then
11808 result=yes
11809 else
11810 result=no
11811 fi
11812 else
11813 result=$wxUSE_STATBOX
11814 fi
11815
11816 { echo "$as_me:$LINENO: result: $result" >&5
11817 echo "${ECHO_T}$result" >&6; }
11818
11819
11820 enablestring=
11821 defaultval=$wxUSE_ALL_FEATURES
11822 if test -z "$defaultval"; then
11823 if test x"$enablestring" = xdisable; then
11824 defaultval=yes
11825 else
11826 defaultval=no
11827 fi
11828 fi
11829
11830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11831 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11832 # Check whether --enable-statline was given.
11833 if test "${enable_statline+set}" = set; then
11834 enableval=$enable_statline;
11835 if test "$enableval" = yes; then
11836 wx_cv_use_statline='wxUSE_STATLINE=yes'
11837 else
11838 wx_cv_use_statline='wxUSE_STATLINE=no'
11839 fi
11840
11841 else
11842
11843 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11844
11845 fi
11846
11847
11848 eval "$wx_cv_use_statline"
11849
11850 if test x"$enablestring" = xdisable; then
11851 if test $wxUSE_STATLINE = no; then
11852 result=yes
11853 else
11854 result=no
11855 fi
11856 else
11857 result=$wxUSE_STATLINE
11858 fi
11859
11860 { echo "$as_me:$LINENO: result: $result" >&5
11861 echo "${ECHO_T}$result" >&6; }
11862
11863
11864 enablestring=
11865 defaultval=$wxUSE_ALL_FEATURES
11866 if test -z "$defaultval"; then
11867 if test x"$enablestring" = xdisable; then
11868 defaultval=yes
11869 else
11870 defaultval=no
11871 fi
11872 fi
11873
11874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11875 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11876 # Check whether --enable-stattext was given.
11877 if test "${enable_stattext+set}" = set; then
11878 enableval=$enable_stattext;
11879 if test "$enableval" = yes; then
11880 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11881 else
11882 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11883 fi
11884
11885 else
11886
11887 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11888
11889 fi
11890
11891
11892 eval "$wx_cv_use_stattext"
11893
11894 if test x"$enablestring" = xdisable; then
11895 if test $wxUSE_STATTEXT = no; then
11896 result=yes
11897 else
11898 result=no
11899 fi
11900 else
11901 result=$wxUSE_STATTEXT
11902 fi
11903
11904 { echo "$as_me:$LINENO: result: $result" >&5
11905 echo "${ECHO_T}$result" >&6; }
11906
11907
11908 enablestring=
11909 defaultval=$wxUSE_ALL_FEATURES
11910 if test -z "$defaultval"; then
11911 if test x"$enablestring" = xdisable; then
11912 defaultval=yes
11913 else
11914 defaultval=no
11915 fi
11916 fi
11917
11918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11919 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11920 # Check whether --enable-statusbar was given.
11921 if test "${enable_statusbar+set}" = set; then
11922 enableval=$enable_statusbar;
11923 if test "$enableval" = yes; then
11924 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11925 else
11926 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11927 fi
11928
11929 else
11930
11931 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11932
11933 fi
11934
11935
11936 eval "$wx_cv_use_statusbar"
11937
11938 if test x"$enablestring" = xdisable; then
11939 if test $wxUSE_STATUSBAR = no; then
11940 result=yes
11941 else
11942 result=no
11943 fi
11944 else
11945 result=$wxUSE_STATUSBAR
11946 fi
11947
11948 { echo "$as_me:$LINENO: result: $result" >&5
11949 echo "${ECHO_T}$result" >&6; }
11950
11951
11952 enablestring=
11953 defaultval=$wxUSE_ALL_FEATURES
11954 if test -z "$defaultval"; then
11955 if test x"$enablestring" = xdisable; then
11956 defaultval=yes
11957 else
11958 defaultval=no
11959 fi
11960 fi
11961
11962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11963 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11964 # Check whether --enable-taskbaricon was given.
11965 if test "${enable_taskbaricon+set}" = set; then
11966 enableval=$enable_taskbaricon;
11967 if test "$enableval" = yes; then
11968 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11969 else
11970 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11971 fi
11972
11973 else
11974
11975 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11976
11977 fi
11978
11979
11980 eval "$wx_cv_use_taskbaricon"
11981
11982 if test x"$enablestring" = xdisable; then
11983 if test $wxUSE_TASKBARICON = no; then
11984 result=yes
11985 else
11986 result=no
11987 fi
11988 else
11989 result=$wxUSE_TASKBARICON
11990 fi
11991
11992 { echo "$as_me:$LINENO: result: $result" >&5
11993 echo "${ECHO_T}$result" >&6; }
11994
11995
11996 enablestring=
11997 defaultval=$wxUSE_ALL_FEATURES
11998 if test -z "$defaultval"; then
11999 if test x"$enablestring" = xdisable; then
12000 defaultval=yes
12001 else
12002 defaultval=no
12003 fi
12004 fi
12005
12006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12007 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12008 # Check whether --enable-tbarnative was given.
12009 if test "${enable_tbarnative+set}" = set; then
12010 enableval=$enable_tbarnative;
12011 if test "$enableval" = yes; then
12012 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12013 else
12014 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12015 fi
12016
12017 else
12018
12019 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12020
12021 fi
12022
12023
12024 eval "$wx_cv_use_tbarnative"
12025
12026 if test x"$enablestring" = xdisable; then
12027 if test $wxUSE_TOOLBAR_NATIVE = no; then
12028 result=yes
12029 else
12030 result=no
12031 fi
12032 else
12033 result=$wxUSE_TOOLBAR_NATIVE
12034 fi
12035
12036 { echo "$as_me:$LINENO: result: $result" >&5
12037 echo "${ECHO_T}$result" >&6; }
12038
12039
12040 enablestring=
12041 defaultval=$wxUSE_ALL_FEATURES
12042 if test -z "$defaultval"; then
12043 if test x"$enablestring" = xdisable; then
12044 defaultval=yes
12045 else
12046 defaultval=no
12047 fi
12048 fi
12049
12050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12051 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12052 # Check whether --enable-textctrl was given.
12053 if test "${enable_textctrl+set}" = set; then
12054 enableval=$enable_textctrl;
12055 if test "$enableval" = yes; then
12056 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12057 else
12058 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12059 fi
12060
12061 else
12062
12063 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12064
12065 fi
12066
12067
12068 eval "$wx_cv_use_textctrl"
12069
12070 if test x"$enablestring" = xdisable; then
12071 if test $wxUSE_TEXTCTRL = no; then
12072 result=yes
12073 else
12074 result=no
12075 fi
12076 else
12077 result=$wxUSE_TEXTCTRL
12078 fi
12079
12080 { echo "$as_me:$LINENO: result: $result" >&5
12081 echo "${ECHO_T}$result" >&6; }
12082
12083
12084 enablestring=
12085 defaultval=$wxUSE_ALL_FEATURES
12086 if test -z "$defaultval"; then
12087 if test x"$enablestring" = xdisable; then
12088 defaultval=yes
12089 else
12090 defaultval=no
12091 fi
12092 fi
12093
12094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12095 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12096 # Check whether --enable-tipwindow was given.
12097 if test "${enable_tipwindow+set}" = set; then
12098 enableval=$enable_tipwindow;
12099 if test "$enableval" = yes; then
12100 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12101 else
12102 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12103 fi
12104
12105 else
12106
12107 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12108
12109 fi
12110
12111
12112 eval "$wx_cv_use_tipwindow"
12113
12114 if test x"$enablestring" = xdisable; then
12115 if test $wxUSE_TIPWINDOW = no; then
12116 result=yes
12117 else
12118 result=no
12119 fi
12120 else
12121 result=$wxUSE_TIPWINDOW
12122 fi
12123
12124 { echo "$as_me:$LINENO: result: $result" >&5
12125 echo "${ECHO_T}$result" >&6; }
12126
12127
12128 enablestring=
12129 defaultval=$wxUSE_ALL_FEATURES
12130 if test -z "$defaultval"; then
12131 if test x"$enablestring" = xdisable; then
12132 defaultval=yes
12133 else
12134 defaultval=no
12135 fi
12136 fi
12137
12138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12139 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12140 # Check whether --enable-togglebtn was given.
12141 if test "${enable_togglebtn+set}" = set; then
12142 enableval=$enable_togglebtn;
12143 if test "$enableval" = yes; then
12144 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12145 else
12146 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12147 fi
12148
12149 else
12150
12151 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12152
12153 fi
12154
12155
12156 eval "$wx_cv_use_togglebtn"
12157
12158 if test x"$enablestring" = xdisable; then
12159 if test $wxUSE_TOGGLEBTN = no; then
12160 result=yes
12161 else
12162 result=no
12163 fi
12164 else
12165 result=$wxUSE_TOGGLEBTN
12166 fi
12167
12168 { echo "$as_me:$LINENO: result: $result" >&5
12169 echo "${ECHO_T}$result" >&6; }
12170
12171
12172 enablestring=
12173 defaultval=$wxUSE_ALL_FEATURES
12174 if test -z "$defaultval"; then
12175 if test x"$enablestring" = xdisable; then
12176 defaultval=yes
12177 else
12178 defaultval=no
12179 fi
12180 fi
12181
12182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12183 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12184 # Check whether --enable-toolbar was given.
12185 if test "${enable_toolbar+set}" = set; then
12186 enableval=$enable_toolbar;
12187 if test "$enableval" = yes; then
12188 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12189 else
12190 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12191 fi
12192
12193 else
12194
12195 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12196
12197 fi
12198
12199
12200 eval "$wx_cv_use_toolbar"
12201
12202 if test x"$enablestring" = xdisable; then
12203 if test $wxUSE_TOOLBAR = no; then
12204 result=yes
12205 else
12206 result=no
12207 fi
12208 else
12209 result=$wxUSE_TOOLBAR
12210 fi
12211
12212 { echo "$as_me:$LINENO: result: $result" >&5
12213 echo "${ECHO_T}$result" >&6; }
12214
12215
12216 enablestring=
12217 defaultval=$wxUSE_ALL_FEATURES
12218 if test -z "$defaultval"; then
12219 if test x"$enablestring" = xdisable; then
12220 defaultval=yes
12221 else
12222 defaultval=no
12223 fi
12224 fi
12225
12226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12227 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12228 # Check whether --enable-toolbook was given.
12229 if test "${enable_toolbook+set}" = set; then
12230 enableval=$enable_toolbook;
12231 if test "$enableval" = yes; then
12232 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12233 else
12234 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12235 fi
12236
12237 else
12238
12239 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12240
12241 fi
12242
12243
12244 eval "$wx_cv_use_toolbook"
12245
12246 if test x"$enablestring" = xdisable; then
12247 if test $wxUSE_TOOLBOOK = no; then
12248 result=yes
12249 else
12250 result=no
12251 fi
12252 else
12253 result=$wxUSE_TOOLBOOK
12254 fi
12255
12256 { echo "$as_me:$LINENO: result: $result" >&5
12257 echo "${ECHO_T}$result" >&6; }
12258
12259
12260 enablestring=
12261 defaultval=$wxUSE_ALL_FEATURES
12262 if test -z "$defaultval"; then
12263 if test x"$enablestring" = xdisable; then
12264 defaultval=yes
12265 else
12266 defaultval=no
12267 fi
12268 fi
12269
12270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12271 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12272 # Check whether --enable-treebook was given.
12273 if test "${enable_treebook+set}" = set; then
12274 enableval=$enable_treebook;
12275 if test "$enableval" = yes; then
12276 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12277 else
12278 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12279 fi
12280
12281 else
12282
12283 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12284
12285 fi
12286
12287
12288 eval "$wx_cv_use_treebook"
12289
12290 if test x"$enablestring" = xdisable; then
12291 if test $wxUSE_TREEBOOK = no; then
12292 result=yes
12293 else
12294 result=no
12295 fi
12296 else
12297 result=$wxUSE_TREEBOOK
12298 fi
12299
12300 { echo "$as_me:$LINENO: result: $result" >&5
12301 echo "${ECHO_T}$result" >&6; }
12302
12303
12304 enablestring=
12305 defaultval=$wxUSE_ALL_FEATURES
12306 if test -z "$defaultval"; then
12307 if test x"$enablestring" = xdisable; then
12308 defaultval=yes
12309 else
12310 defaultval=no
12311 fi
12312 fi
12313
12314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12315 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12316 # Check whether --enable-treectrl was given.
12317 if test "${enable_treectrl+set}" = set; then
12318 enableval=$enable_treectrl;
12319 if test "$enableval" = yes; then
12320 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12321 else
12322 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12323 fi
12324
12325 else
12326
12327 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12328
12329 fi
12330
12331
12332 eval "$wx_cv_use_treectrl"
12333
12334 if test x"$enablestring" = xdisable; then
12335 if test $wxUSE_TREECTRL = no; then
12336 result=yes
12337 else
12338 result=no
12339 fi
12340 else
12341 result=$wxUSE_TREECTRL
12342 fi
12343
12344 { echo "$as_me:$LINENO: result: $result" >&5
12345 echo "${ECHO_T}$result" >&6; }
12346
12347
12348
12349
12350 enablestring=
12351 defaultval=$wxUSE_ALL_FEATURES
12352 if test -z "$defaultval"; then
12353 if test x"$enablestring" = xdisable; then
12354 defaultval=yes
12355 else
12356 defaultval=no
12357 fi
12358 fi
12359
12360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12361 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12362 # Check whether --enable-commondlg was given.
12363 if test "${enable_commondlg+set}" = set; then
12364 enableval=$enable_commondlg;
12365 if test "$enableval" = yes; then
12366 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12367 else
12368 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12369 fi
12370
12371 else
12372
12373 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12374
12375 fi
12376
12377
12378 eval "$wx_cv_use_commondlg"
12379
12380 if test x"$enablestring" = xdisable; then
12381 if test $wxUSE_COMMONDLGS = no; then
12382 result=yes
12383 else
12384 result=no
12385 fi
12386 else
12387 result=$wxUSE_COMMONDLGS
12388 fi
12389
12390 { echo "$as_me:$LINENO: result: $result" >&5
12391 echo "${ECHO_T}$result" >&6; }
12392
12393
12394 enablestring=
12395 defaultval=$wxUSE_ALL_FEATURES
12396 if test -z "$defaultval"; then
12397 if test x"$enablestring" = xdisable; then
12398 defaultval=yes
12399 else
12400 defaultval=no
12401 fi
12402 fi
12403
12404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12405 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12406 # Check whether --enable-aboutdlg was given.
12407 if test "${enable_aboutdlg+set}" = set; then
12408 enableval=$enable_aboutdlg;
12409 if test "$enableval" = yes; then
12410 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12411 else
12412 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12413 fi
12414
12415 else
12416
12417 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12418
12419 fi
12420
12421
12422 eval "$wx_cv_use_aboutdlg"
12423
12424 if test x"$enablestring" = xdisable; then
12425 if test $wxUSE_ABOUTDLG = no; then
12426 result=yes
12427 else
12428 result=no
12429 fi
12430 else
12431 result=$wxUSE_ABOUTDLG
12432 fi
12433
12434 { echo "$as_me:$LINENO: result: $result" >&5
12435 echo "${ECHO_T}$result" >&6; }
12436
12437
12438 enablestring=
12439 defaultval=$wxUSE_ALL_FEATURES
12440 if test -z "$defaultval"; then
12441 if test x"$enablestring" = xdisable; then
12442 defaultval=yes
12443 else
12444 defaultval=no
12445 fi
12446 fi
12447
12448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12449 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12450 # Check whether --enable-choicedlg was given.
12451 if test "${enable_choicedlg+set}" = set; then
12452 enableval=$enable_choicedlg;
12453 if test "$enableval" = yes; then
12454 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12455 else
12456 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12457 fi
12458
12459 else
12460
12461 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12462
12463 fi
12464
12465
12466 eval "$wx_cv_use_choicedlg"
12467
12468 if test x"$enablestring" = xdisable; then
12469 if test $wxUSE_CHOICEDLG = no; then
12470 result=yes
12471 else
12472 result=no
12473 fi
12474 else
12475 result=$wxUSE_CHOICEDLG
12476 fi
12477
12478 { echo "$as_me:$LINENO: result: $result" >&5
12479 echo "${ECHO_T}$result" >&6; }
12480
12481
12482 enablestring=
12483 defaultval=$wxUSE_ALL_FEATURES
12484 if test -z "$defaultval"; then
12485 if test x"$enablestring" = xdisable; then
12486 defaultval=yes
12487 else
12488 defaultval=no
12489 fi
12490 fi
12491
12492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12493 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12494 # Check whether --enable-coldlg was given.
12495 if test "${enable_coldlg+set}" = set; then
12496 enableval=$enable_coldlg;
12497 if test "$enableval" = yes; then
12498 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12499 else
12500 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12501 fi
12502
12503 else
12504
12505 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12506
12507 fi
12508
12509
12510 eval "$wx_cv_use_coldlg"
12511
12512 if test x"$enablestring" = xdisable; then
12513 if test $wxUSE_COLOURDLG = no; then
12514 result=yes
12515 else
12516 result=no
12517 fi
12518 else
12519 result=$wxUSE_COLOURDLG
12520 fi
12521
12522 { echo "$as_me:$LINENO: result: $result" >&5
12523 echo "${ECHO_T}$result" >&6; }
12524
12525
12526 enablestring=
12527 defaultval=$wxUSE_ALL_FEATURES
12528 if test -z "$defaultval"; then
12529 if test x"$enablestring" = xdisable; then
12530 defaultval=yes
12531 else
12532 defaultval=no
12533 fi
12534 fi
12535
12536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12537 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12538 # Check whether --enable-filedlg was given.
12539 if test "${enable_filedlg+set}" = set; then
12540 enableval=$enable_filedlg;
12541 if test "$enableval" = yes; then
12542 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12543 else
12544 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12545 fi
12546
12547 else
12548
12549 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12550
12551 fi
12552
12553
12554 eval "$wx_cv_use_filedlg"
12555
12556 if test x"$enablestring" = xdisable; then
12557 if test $wxUSE_FILEDLG = no; then
12558 result=yes
12559 else
12560 result=no
12561 fi
12562 else
12563 result=$wxUSE_FILEDLG
12564 fi
12565
12566 { echo "$as_me:$LINENO: result: $result" >&5
12567 echo "${ECHO_T}$result" >&6; }
12568
12569
12570 enablestring=
12571 defaultval=$wxUSE_ALL_FEATURES
12572 if test -z "$defaultval"; then
12573 if test x"$enablestring" = xdisable; then
12574 defaultval=yes
12575 else
12576 defaultval=no
12577 fi
12578 fi
12579
12580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12581 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12582 # Check whether --enable-finddlg was given.
12583 if test "${enable_finddlg+set}" = set; then
12584 enableval=$enable_finddlg;
12585 if test "$enableval" = yes; then
12586 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12587 else
12588 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12589 fi
12590
12591 else
12592
12593 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12594
12595 fi
12596
12597
12598 eval "$wx_cv_use_finddlg"
12599
12600 if test x"$enablestring" = xdisable; then
12601 if test $wxUSE_FINDREPLDLG = no; then
12602 result=yes
12603 else
12604 result=no
12605 fi
12606 else
12607 result=$wxUSE_FINDREPLDLG
12608 fi
12609
12610 { echo "$as_me:$LINENO: result: $result" >&5
12611 echo "${ECHO_T}$result" >&6; }
12612
12613
12614 enablestring=
12615 defaultval=$wxUSE_ALL_FEATURES
12616 if test -z "$defaultval"; then
12617 if test x"$enablestring" = xdisable; then
12618 defaultval=yes
12619 else
12620 defaultval=no
12621 fi
12622 fi
12623
12624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12625 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12626 # Check whether --enable-fontdlg was given.
12627 if test "${enable_fontdlg+set}" = set; then
12628 enableval=$enable_fontdlg;
12629 if test "$enableval" = yes; then
12630 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12631 else
12632 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12633 fi
12634
12635 else
12636
12637 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12638
12639 fi
12640
12641
12642 eval "$wx_cv_use_fontdlg"
12643
12644 if test x"$enablestring" = xdisable; then
12645 if test $wxUSE_FONTDLG = no; then
12646 result=yes
12647 else
12648 result=no
12649 fi
12650 else
12651 result=$wxUSE_FONTDLG
12652 fi
12653
12654 { echo "$as_me:$LINENO: result: $result" >&5
12655 echo "${ECHO_T}$result" >&6; }
12656
12657
12658 enablestring=
12659 defaultval=$wxUSE_ALL_FEATURES
12660 if test -z "$defaultval"; then
12661 if test x"$enablestring" = xdisable; then
12662 defaultval=yes
12663 else
12664 defaultval=no
12665 fi
12666 fi
12667
12668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12669 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12670 # Check whether --enable-dirdlg was given.
12671 if test "${enable_dirdlg+set}" = set; then
12672 enableval=$enable_dirdlg;
12673 if test "$enableval" = yes; then
12674 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12675 else
12676 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12677 fi
12678
12679 else
12680
12681 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12682
12683 fi
12684
12685
12686 eval "$wx_cv_use_dirdlg"
12687
12688 if test x"$enablestring" = xdisable; then
12689 if test $wxUSE_DIRDLG = no; then
12690 result=yes
12691 else
12692 result=no
12693 fi
12694 else
12695 result=$wxUSE_DIRDLG
12696 fi
12697
12698 { echo "$as_me:$LINENO: result: $result" >&5
12699 echo "${ECHO_T}$result" >&6; }
12700
12701
12702 enablestring=
12703 defaultval=$wxUSE_ALL_FEATURES
12704 if test -z "$defaultval"; then
12705 if test x"$enablestring" = xdisable; then
12706 defaultval=yes
12707 else
12708 defaultval=no
12709 fi
12710 fi
12711
12712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12713 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12714 # Check whether --enable-msgdlg was given.
12715 if test "${enable_msgdlg+set}" = set; then
12716 enableval=$enable_msgdlg;
12717 if test "$enableval" = yes; then
12718 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12719 else
12720 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12721 fi
12722
12723 else
12724
12725 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12726
12727 fi
12728
12729
12730 eval "$wx_cv_use_msgdlg"
12731
12732 if test x"$enablestring" = xdisable; then
12733 if test $wxUSE_MSGDLG = no; then
12734 result=yes
12735 else
12736 result=no
12737 fi
12738 else
12739 result=$wxUSE_MSGDLG
12740 fi
12741
12742 { echo "$as_me:$LINENO: result: $result" >&5
12743 echo "${ECHO_T}$result" >&6; }
12744
12745
12746 enablestring=
12747 defaultval=$wxUSE_ALL_FEATURES
12748 if test -z "$defaultval"; then
12749 if test x"$enablestring" = xdisable; then
12750 defaultval=yes
12751 else
12752 defaultval=no
12753 fi
12754 fi
12755
12756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12757 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12758 # Check whether --enable-numberdlg was given.
12759 if test "${enable_numberdlg+set}" = set; then
12760 enableval=$enable_numberdlg;
12761 if test "$enableval" = yes; then
12762 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12763 else
12764 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12765 fi
12766
12767 else
12768
12769 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12770
12771 fi
12772
12773
12774 eval "$wx_cv_use_numberdlg"
12775
12776 if test x"$enablestring" = xdisable; then
12777 if test $wxUSE_NUMBERDLG = no; then
12778 result=yes
12779 else
12780 result=no
12781 fi
12782 else
12783 result=$wxUSE_NUMBERDLG
12784 fi
12785
12786 { echo "$as_me:$LINENO: result: $result" >&5
12787 echo "${ECHO_T}$result" >&6; }
12788
12789
12790 enablestring=
12791 defaultval=$wxUSE_ALL_FEATURES
12792 if test -z "$defaultval"; then
12793 if test x"$enablestring" = xdisable; then
12794 defaultval=yes
12795 else
12796 defaultval=no
12797 fi
12798 fi
12799
12800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12801 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12802 # Check whether --enable-splash was given.
12803 if test "${enable_splash+set}" = set; then
12804 enableval=$enable_splash;
12805 if test "$enableval" = yes; then
12806 wx_cv_use_splash='wxUSE_SPLASH=yes'
12807 else
12808 wx_cv_use_splash='wxUSE_SPLASH=no'
12809 fi
12810
12811 else
12812
12813 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12814
12815 fi
12816
12817
12818 eval "$wx_cv_use_splash"
12819
12820 if test x"$enablestring" = xdisable; then
12821 if test $wxUSE_SPLASH = no; then
12822 result=yes
12823 else
12824 result=no
12825 fi
12826 else
12827 result=$wxUSE_SPLASH
12828 fi
12829
12830 { echo "$as_me:$LINENO: result: $result" >&5
12831 echo "${ECHO_T}$result" >&6; }
12832
12833
12834 enablestring=
12835 defaultval=$wxUSE_ALL_FEATURES
12836 if test -z "$defaultval"; then
12837 if test x"$enablestring" = xdisable; then
12838 defaultval=yes
12839 else
12840 defaultval=no
12841 fi
12842 fi
12843
12844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12845 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12846 # Check whether --enable-textdlg was given.
12847 if test "${enable_textdlg+set}" = set; then
12848 enableval=$enable_textdlg;
12849 if test "$enableval" = yes; then
12850 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12851 else
12852 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12853 fi
12854
12855 else
12856
12857 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12858
12859 fi
12860
12861
12862 eval "$wx_cv_use_textdlg"
12863
12864 if test x"$enablestring" = xdisable; then
12865 if test $wxUSE_TEXTDLG = no; then
12866 result=yes
12867 else
12868 result=no
12869 fi
12870 else
12871 result=$wxUSE_TEXTDLG
12872 fi
12873
12874 { echo "$as_me:$LINENO: result: $result" >&5
12875 echo "${ECHO_T}$result" >&6; }
12876
12877
12878 enablestring=
12879 defaultval=$wxUSE_ALL_FEATURES
12880 if test -z "$defaultval"; then
12881 if test x"$enablestring" = xdisable; then
12882 defaultval=yes
12883 else
12884 defaultval=no
12885 fi
12886 fi
12887
12888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12889 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12890 # Check whether --enable-tipdlg was given.
12891 if test "${enable_tipdlg+set}" = set; then
12892 enableval=$enable_tipdlg;
12893 if test "$enableval" = yes; then
12894 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12895 else
12896 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12897 fi
12898
12899 else
12900
12901 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12902
12903 fi
12904
12905
12906 eval "$wx_cv_use_tipdlg"
12907
12908 if test x"$enablestring" = xdisable; then
12909 if test $wxUSE_STARTUP_TIPS = no; then
12910 result=yes
12911 else
12912 result=no
12913 fi
12914 else
12915 result=$wxUSE_STARTUP_TIPS
12916 fi
12917
12918 { echo "$as_me:$LINENO: result: $result" >&5
12919 echo "${ECHO_T}$result" >&6; }
12920
12921
12922 enablestring=
12923 defaultval=$wxUSE_ALL_FEATURES
12924 if test -z "$defaultval"; then
12925 if test x"$enablestring" = xdisable; then
12926 defaultval=yes
12927 else
12928 defaultval=no
12929 fi
12930 fi
12931
12932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12933 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12934 # Check whether --enable-progressdlg was given.
12935 if test "${enable_progressdlg+set}" = set; then
12936 enableval=$enable_progressdlg;
12937 if test "$enableval" = yes; then
12938 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12939 else
12940 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12941 fi
12942
12943 else
12944
12945 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12946
12947 fi
12948
12949
12950 eval "$wx_cv_use_progressdlg"
12951
12952 if test x"$enablestring" = xdisable; then
12953 if test $wxUSE_PROGRESSDLG = no; then
12954 result=yes
12955 else
12956 result=no
12957 fi
12958 else
12959 result=$wxUSE_PROGRESSDLG
12960 fi
12961
12962 { echo "$as_me:$LINENO: result: $result" >&5
12963 echo "${ECHO_T}$result" >&6; }
12964
12965
12966 enablestring=
12967 defaultval=$wxUSE_ALL_FEATURES
12968 if test -z "$defaultval"; then
12969 if test x"$enablestring" = xdisable; then
12970 defaultval=yes
12971 else
12972 defaultval=no
12973 fi
12974 fi
12975
12976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12977 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12978 # Check whether --enable-wizarddlg was given.
12979 if test "${enable_wizarddlg+set}" = set; then
12980 enableval=$enable_wizarddlg;
12981 if test "$enableval" = yes; then
12982 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12983 else
12984 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12985 fi
12986
12987 else
12988
12989 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12990
12991 fi
12992
12993
12994 eval "$wx_cv_use_wizarddlg"
12995
12996 if test x"$enablestring" = xdisable; then
12997 if test $wxUSE_WIZARDDLG = no; then
12998 result=yes
12999 else
13000 result=no
13001 fi
13002 else
13003 result=$wxUSE_WIZARDDLG
13004 fi
13005
13006 { echo "$as_me:$LINENO: result: $result" >&5
13007 echo "${ECHO_T}$result" >&6; }
13008
13009
13010
13011
13012 enablestring=
13013 defaultval=$wxUSE_ALL_FEATURES
13014 if test -z "$defaultval"; then
13015 if test x"$enablestring" = xdisable; then
13016 defaultval=yes
13017 else
13018 defaultval=no
13019 fi
13020 fi
13021
13022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13023 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13024 # Check whether --enable-menus was given.
13025 if test "${enable_menus+set}" = set; then
13026 enableval=$enable_menus;
13027 if test "$enableval" = yes; then
13028 wx_cv_use_menus='wxUSE_MENUS=yes'
13029 else
13030 wx_cv_use_menus='wxUSE_MENUS=no'
13031 fi
13032
13033 else
13034
13035 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13036
13037 fi
13038
13039
13040 eval "$wx_cv_use_menus"
13041
13042 if test x"$enablestring" = xdisable; then
13043 if test $wxUSE_MENUS = no; then
13044 result=yes
13045 else
13046 result=no
13047 fi
13048 else
13049 result=$wxUSE_MENUS
13050 fi
13051
13052 { echo "$as_me:$LINENO: result: $result" >&5
13053 echo "${ECHO_T}$result" >&6; }
13054
13055
13056 enablestring=
13057 defaultval=$wxUSE_ALL_FEATURES
13058 if test -z "$defaultval"; then
13059 if test x"$enablestring" = xdisable; then
13060 defaultval=yes
13061 else
13062 defaultval=no
13063 fi
13064 fi
13065
13066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13067 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13068 # Check whether --enable-miniframe was given.
13069 if test "${enable_miniframe+set}" = set; then
13070 enableval=$enable_miniframe;
13071 if test "$enableval" = yes; then
13072 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13073 else
13074 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13075 fi
13076
13077 else
13078
13079 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13080
13081 fi
13082
13083
13084 eval "$wx_cv_use_miniframe"
13085
13086 if test x"$enablestring" = xdisable; then
13087 if test $wxUSE_MINIFRAME = no; then
13088 result=yes
13089 else
13090 result=no
13091 fi
13092 else
13093 result=$wxUSE_MINIFRAME
13094 fi
13095
13096 { echo "$as_me:$LINENO: result: $result" >&5
13097 echo "${ECHO_T}$result" >&6; }
13098
13099
13100 enablestring=
13101 defaultval=$wxUSE_ALL_FEATURES
13102 if test -z "$defaultval"; then
13103 if test x"$enablestring" = xdisable; then
13104 defaultval=yes
13105 else
13106 defaultval=no
13107 fi
13108 fi
13109
13110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13111 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13112 # Check whether --enable-tooltips was given.
13113 if test "${enable_tooltips+set}" = set; then
13114 enableval=$enable_tooltips;
13115 if test "$enableval" = yes; then
13116 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13117 else
13118 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13119 fi
13120
13121 else
13122
13123 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13124
13125 fi
13126
13127
13128 eval "$wx_cv_use_tooltips"
13129
13130 if test x"$enablestring" = xdisable; then
13131 if test $wxUSE_TOOLTIPS = no; then
13132 result=yes
13133 else
13134 result=no
13135 fi
13136 else
13137 result=$wxUSE_TOOLTIPS
13138 fi
13139
13140 { echo "$as_me:$LINENO: result: $result" >&5
13141 echo "${ECHO_T}$result" >&6; }
13142
13143
13144 enablestring=
13145 defaultval=$wxUSE_ALL_FEATURES
13146 if test -z "$defaultval"; then
13147 if test x"$enablestring" = xdisable; then
13148 defaultval=yes
13149 else
13150 defaultval=no
13151 fi
13152 fi
13153
13154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13155 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13156 # Check whether --enable-splines was given.
13157 if test "${enable_splines+set}" = set; then
13158 enableval=$enable_splines;
13159 if test "$enableval" = yes; then
13160 wx_cv_use_splines='wxUSE_SPLINES=yes'
13161 else
13162 wx_cv_use_splines='wxUSE_SPLINES=no'
13163 fi
13164
13165 else
13166
13167 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13168
13169 fi
13170
13171
13172 eval "$wx_cv_use_splines"
13173
13174 if test x"$enablestring" = xdisable; then
13175 if test $wxUSE_SPLINES = no; then
13176 result=yes
13177 else
13178 result=no
13179 fi
13180 else
13181 result=$wxUSE_SPLINES
13182 fi
13183
13184 { echo "$as_me:$LINENO: result: $result" >&5
13185 echo "${ECHO_T}$result" >&6; }
13186
13187
13188 enablestring=
13189 defaultval=$wxUSE_ALL_FEATURES
13190 if test -z "$defaultval"; then
13191 if test x"$enablestring" = xdisable; then
13192 defaultval=yes
13193 else
13194 defaultval=no
13195 fi
13196 fi
13197
13198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13199 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13200 # Check whether --enable-mousewheel was given.
13201 if test "${enable_mousewheel+set}" = set; then
13202 enableval=$enable_mousewheel;
13203 if test "$enableval" = yes; then
13204 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13205 else
13206 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13207 fi
13208
13209 else
13210
13211 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13212
13213 fi
13214
13215
13216 eval "$wx_cv_use_mousewheel"
13217
13218 if test x"$enablestring" = xdisable; then
13219 if test $wxUSE_MOUSEWHEEL = no; then
13220 result=yes
13221 else
13222 result=no
13223 fi
13224 else
13225 result=$wxUSE_MOUSEWHEEL
13226 fi
13227
13228 { echo "$as_me:$LINENO: result: $result" >&5
13229 echo "${ECHO_T}$result" >&6; }
13230
13231
13232 enablestring=
13233 defaultval=$wxUSE_ALL_FEATURES
13234 if test -z "$defaultval"; then
13235 if test x"$enablestring" = xdisable; then
13236 defaultval=yes
13237 else
13238 defaultval=no
13239 fi
13240 fi
13241
13242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13243 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13244 # Check whether --enable-validators was given.
13245 if test "${enable_validators+set}" = set; then
13246 enableval=$enable_validators;
13247 if test "$enableval" = yes; then
13248 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13249 else
13250 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13251 fi
13252
13253 else
13254
13255 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13256
13257 fi
13258
13259
13260 eval "$wx_cv_use_validators"
13261
13262 if test x"$enablestring" = xdisable; then
13263 if test $wxUSE_VALIDATORS = no; then
13264 result=yes
13265 else
13266 result=no
13267 fi
13268 else
13269 result=$wxUSE_VALIDATORS
13270 fi
13271
13272 { echo "$as_me:$LINENO: result: $result" >&5
13273 echo "${ECHO_T}$result" >&6; }
13274
13275
13276 enablestring=
13277 defaultval=$wxUSE_ALL_FEATURES
13278 if test -z "$defaultval"; then
13279 if test x"$enablestring" = xdisable; then
13280 defaultval=yes
13281 else
13282 defaultval=no
13283 fi
13284 fi
13285
13286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13287 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13288 # Check whether --enable-busyinfo was given.
13289 if test "${enable_busyinfo+set}" = set; then
13290 enableval=$enable_busyinfo;
13291 if test "$enableval" = yes; then
13292 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13293 else
13294 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13295 fi
13296
13297 else
13298
13299 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13300
13301 fi
13302
13303
13304 eval "$wx_cv_use_busyinfo"
13305
13306 if test x"$enablestring" = xdisable; then
13307 if test $wxUSE_BUSYINFO = no; then
13308 result=yes
13309 else
13310 result=no
13311 fi
13312 else
13313 result=$wxUSE_BUSYINFO
13314 fi
13315
13316 { echo "$as_me:$LINENO: result: $result" >&5
13317 echo "${ECHO_T}$result" >&6; }
13318
13319
13320 enablestring=
13321 defaultval=$wxUSE_ALL_FEATURES
13322 if test -z "$defaultval"; then
13323 if test x"$enablestring" = xdisable; then
13324 defaultval=yes
13325 else
13326 defaultval=no
13327 fi
13328 fi
13329
13330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13331 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13332 # Check whether --enable-joystick was given.
13333 if test "${enable_joystick+set}" = set; then
13334 enableval=$enable_joystick;
13335 if test "$enableval" = yes; then
13336 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13337 else
13338 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13339 fi
13340
13341 else
13342
13343 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13344
13345 fi
13346
13347
13348 eval "$wx_cv_use_joystick"
13349
13350 if test x"$enablestring" = xdisable; then
13351 if test $wxUSE_JOYSTICK = no; then
13352 result=yes
13353 else
13354 result=no
13355 fi
13356 else
13357 result=$wxUSE_JOYSTICK
13358 fi
13359
13360 { echo "$as_me:$LINENO: result: $result" >&5
13361 echo "${ECHO_T}$result" >&6; }
13362
13363
13364 enablestring=
13365 defaultval=$wxUSE_ALL_FEATURES
13366 if test -z "$defaultval"; then
13367 if test x"$enablestring" = xdisable; then
13368 defaultval=yes
13369 else
13370 defaultval=no
13371 fi
13372 fi
13373
13374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13375 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13376 # Check whether --enable-metafile was given.
13377 if test "${enable_metafile+set}" = set; then
13378 enableval=$enable_metafile;
13379 if test "$enableval" = yes; then
13380 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13381 else
13382 wx_cv_use_metafile='wxUSE_METAFILE=no'
13383 fi
13384
13385 else
13386
13387 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13388
13389 fi
13390
13391
13392 eval "$wx_cv_use_metafile"
13393
13394 if test x"$enablestring" = xdisable; then
13395 if test $wxUSE_METAFILE = no; then
13396 result=yes
13397 else
13398 result=no
13399 fi
13400 else
13401 result=$wxUSE_METAFILE
13402 fi
13403
13404 { echo "$as_me:$LINENO: result: $result" >&5
13405 echo "${ECHO_T}$result" >&6; }
13406
13407
13408 enablestring=
13409 defaultval=$wxUSE_ALL_FEATURES
13410 if test -z "$defaultval"; then
13411 if test x"$enablestring" = xdisable; then
13412 defaultval=yes
13413 else
13414 defaultval=no
13415 fi
13416 fi
13417
13418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13419 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13420 # Check whether --enable-dragimage was given.
13421 if test "${enable_dragimage+set}" = set; then
13422 enableval=$enable_dragimage;
13423 if test "$enableval" = yes; then
13424 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13425 else
13426 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13427 fi
13428
13429 else
13430
13431 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13432
13433 fi
13434
13435
13436 eval "$wx_cv_use_dragimage"
13437
13438 if test x"$enablestring" = xdisable; then
13439 if test $wxUSE_DRAGIMAGE = no; then
13440 result=yes
13441 else
13442 result=no
13443 fi
13444 else
13445 result=$wxUSE_DRAGIMAGE
13446 fi
13447
13448 { echo "$as_me:$LINENO: result: $result" >&5
13449 echo "${ECHO_T}$result" >&6; }
13450
13451
13452 enablestring=
13453 defaultval=$wxUSE_ALL_FEATURES
13454 if test -z "$defaultval"; then
13455 if test x"$enablestring" = xdisable; then
13456 defaultval=yes
13457 else
13458 defaultval=no
13459 fi
13460 fi
13461
13462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13463 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13464 # Check whether --enable-accessibility was given.
13465 if test "${enable_accessibility+set}" = set; then
13466 enableval=$enable_accessibility;
13467 if test "$enableval" = yes; then
13468 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13469 else
13470 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13471 fi
13472
13473 else
13474
13475 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13476
13477 fi
13478
13479
13480 eval "$wx_cv_use_accessibility"
13481
13482 if test x"$enablestring" = xdisable; then
13483 if test $wxUSE_ACCESSIBILITY = no; then
13484 result=yes
13485 else
13486 result=no
13487 fi
13488 else
13489 result=$wxUSE_ACCESSIBILITY
13490 fi
13491
13492 { echo "$as_me:$LINENO: result: $result" >&5
13493 echo "${ECHO_T}$result" >&6; }
13494
13495
13496
13497
13498 enablestring=
13499 defaultval=$wxUSE_ALL_FEATURES
13500 if test -z "$defaultval"; then
13501 if test x"$enablestring" = xdisable; then
13502 defaultval=yes
13503 else
13504 defaultval=no
13505 fi
13506 fi
13507
13508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13509 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13510 # Check whether --enable-palette was given.
13511 if test "${enable_palette+set}" = set; then
13512 enableval=$enable_palette;
13513 if test "$enableval" = yes; then
13514 wx_cv_use_palette='wxUSE_PALETTE=yes'
13515 else
13516 wx_cv_use_palette='wxUSE_PALETTE=no'
13517 fi
13518
13519 else
13520
13521 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13522
13523 fi
13524
13525
13526 eval "$wx_cv_use_palette"
13527
13528 if test x"$enablestring" = xdisable; then
13529 if test $wxUSE_PALETTE = no; then
13530 result=yes
13531 else
13532 result=no
13533 fi
13534 else
13535 result=$wxUSE_PALETTE
13536 fi
13537
13538 { echo "$as_me:$LINENO: result: $result" >&5
13539 echo "${ECHO_T}$result" >&6; }
13540
13541
13542 enablestring=
13543 defaultval=$wxUSE_ALL_FEATURES
13544 if test -z "$defaultval"; then
13545 if test x"$enablestring" = xdisable; then
13546 defaultval=yes
13547 else
13548 defaultval=no
13549 fi
13550 fi
13551
13552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13553 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13554 # Check whether --enable-image was given.
13555 if test "${enable_image+set}" = set; then
13556 enableval=$enable_image;
13557 if test "$enableval" = yes; then
13558 wx_cv_use_image='wxUSE_IMAGE=yes'
13559 else
13560 wx_cv_use_image='wxUSE_IMAGE=no'
13561 fi
13562
13563 else
13564
13565 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13566
13567 fi
13568
13569
13570 eval "$wx_cv_use_image"
13571
13572 if test x"$enablestring" = xdisable; then
13573 if test $wxUSE_IMAGE = no; then
13574 result=yes
13575 else
13576 result=no
13577 fi
13578 else
13579 result=$wxUSE_IMAGE
13580 fi
13581
13582 { echo "$as_me:$LINENO: result: $result" >&5
13583 echo "${ECHO_T}$result" >&6; }
13584
13585
13586 enablestring=
13587 defaultval=$wxUSE_ALL_FEATURES
13588 if test -z "$defaultval"; then
13589 if test x"$enablestring" = xdisable; then
13590 defaultval=yes
13591 else
13592 defaultval=no
13593 fi
13594 fi
13595
13596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13597 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13598 # Check whether --enable-gif was given.
13599 if test "${enable_gif+set}" = set; then
13600 enableval=$enable_gif;
13601 if test "$enableval" = yes; then
13602 wx_cv_use_gif='wxUSE_GIF=yes'
13603 else
13604 wx_cv_use_gif='wxUSE_GIF=no'
13605 fi
13606
13607 else
13608
13609 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13610
13611 fi
13612
13613
13614 eval "$wx_cv_use_gif"
13615
13616 if test x"$enablestring" = xdisable; then
13617 if test $wxUSE_GIF = no; then
13618 result=yes
13619 else
13620 result=no
13621 fi
13622 else
13623 result=$wxUSE_GIF
13624 fi
13625
13626 { echo "$as_me:$LINENO: result: $result" >&5
13627 echo "${ECHO_T}$result" >&6; }
13628
13629
13630 enablestring=
13631 defaultval=$wxUSE_ALL_FEATURES
13632 if test -z "$defaultval"; then
13633 if test x"$enablestring" = xdisable; then
13634 defaultval=yes
13635 else
13636 defaultval=no
13637 fi
13638 fi
13639
13640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13641 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13642 # Check whether --enable-pcx was given.
13643 if test "${enable_pcx+set}" = set; then
13644 enableval=$enable_pcx;
13645 if test "$enableval" = yes; then
13646 wx_cv_use_pcx='wxUSE_PCX=yes'
13647 else
13648 wx_cv_use_pcx='wxUSE_PCX=no'
13649 fi
13650
13651 else
13652
13653 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13654
13655 fi
13656
13657
13658 eval "$wx_cv_use_pcx"
13659
13660 if test x"$enablestring" = xdisable; then
13661 if test $wxUSE_PCX = no; then
13662 result=yes
13663 else
13664 result=no
13665 fi
13666 else
13667 result=$wxUSE_PCX
13668 fi
13669
13670 { echo "$as_me:$LINENO: result: $result" >&5
13671 echo "${ECHO_T}$result" >&6; }
13672
13673
13674 enablestring=
13675 defaultval=$wxUSE_ALL_FEATURES
13676 if test -z "$defaultval"; then
13677 if test x"$enablestring" = xdisable; then
13678 defaultval=yes
13679 else
13680 defaultval=no
13681 fi
13682 fi
13683
13684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13685 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13686 # Check whether --enable-tga was given.
13687 if test "${enable_tga+set}" = set; then
13688 enableval=$enable_tga;
13689 if test "$enableval" = yes; then
13690 wx_cv_use_tga='wxUSE_TGA=yes'
13691 else
13692 wx_cv_use_tga='wxUSE_TGA=no'
13693 fi
13694
13695 else
13696
13697 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13698
13699 fi
13700
13701
13702 eval "$wx_cv_use_tga"
13703
13704 if test x"$enablestring" = xdisable; then
13705 if test $wxUSE_TGA = no; then
13706 result=yes
13707 else
13708 result=no
13709 fi
13710 else
13711 result=$wxUSE_TGA
13712 fi
13713
13714 { echo "$as_me:$LINENO: result: $result" >&5
13715 echo "${ECHO_T}$result" >&6; }
13716
13717
13718 enablestring=
13719 defaultval=$wxUSE_ALL_FEATURES
13720 if test -z "$defaultval"; then
13721 if test x"$enablestring" = xdisable; then
13722 defaultval=yes
13723 else
13724 defaultval=no
13725 fi
13726 fi
13727
13728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13729 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13730 # Check whether --enable-iff was given.
13731 if test "${enable_iff+set}" = set; then
13732 enableval=$enable_iff;
13733 if test "$enableval" = yes; then
13734 wx_cv_use_iff='wxUSE_IFF=yes'
13735 else
13736 wx_cv_use_iff='wxUSE_IFF=no'
13737 fi
13738
13739 else
13740
13741 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13742
13743 fi
13744
13745
13746 eval "$wx_cv_use_iff"
13747
13748 if test x"$enablestring" = xdisable; then
13749 if test $wxUSE_IFF = no; then
13750 result=yes
13751 else
13752 result=no
13753 fi
13754 else
13755 result=$wxUSE_IFF
13756 fi
13757
13758 { echo "$as_me:$LINENO: result: $result" >&5
13759 echo "${ECHO_T}$result" >&6; }
13760
13761
13762 enablestring=
13763 defaultval=$wxUSE_ALL_FEATURES
13764 if test -z "$defaultval"; then
13765 if test x"$enablestring" = xdisable; then
13766 defaultval=yes
13767 else
13768 defaultval=no
13769 fi
13770 fi
13771
13772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13773 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13774 # Check whether --enable-pnm was given.
13775 if test "${enable_pnm+set}" = set; then
13776 enableval=$enable_pnm;
13777 if test "$enableval" = yes; then
13778 wx_cv_use_pnm='wxUSE_PNM=yes'
13779 else
13780 wx_cv_use_pnm='wxUSE_PNM=no'
13781 fi
13782
13783 else
13784
13785 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13786
13787 fi
13788
13789
13790 eval "$wx_cv_use_pnm"
13791
13792 if test x"$enablestring" = xdisable; then
13793 if test $wxUSE_PNM = no; then
13794 result=yes
13795 else
13796 result=no
13797 fi
13798 else
13799 result=$wxUSE_PNM
13800 fi
13801
13802 { echo "$as_me:$LINENO: result: $result" >&5
13803 echo "${ECHO_T}$result" >&6; }
13804
13805
13806 enablestring=
13807 defaultval=$wxUSE_ALL_FEATURES
13808 if test -z "$defaultval"; then
13809 if test x"$enablestring" = xdisable; then
13810 defaultval=yes
13811 else
13812 defaultval=no
13813 fi
13814 fi
13815
13816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13817 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13818 # Check whether --enable-xpm was given.
13819 if test "${enable_xpm+set}" = set; then
13820 enableval=$enable_xpm;
13821 if test "$enableval" = yes; then
13822 wx_cv_use_xpm='wxUSE_XPM=yes'
13823 else
13824 wx_cv_use_xpm='wxUSE_XPM=no'
13825 fi
13826
13827 else
13828
13829 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13830
13831 fi
13832
13833
13834 eval "$wx_cv_use_xpm"
13835
13836 if test x"$enablestring" = xdisable; then
13837 if test $wxUSE_XPM = no; then
13838 result=yes
13839 else
13840 result=no
13841 fi
13842 else
13843 result=$wxUSE_XPM
13844 fi
13845
13846 { echo "$as_me:$LINENO: result: $result" >&5
13847 echo "${ECHO_T}$result" >&6; }
13848
13849
13850 enablestring=
13851 defaultval=$wxUSE_ALL_FEATURES
13852 if test -z "$defaultval"; then
13853 if test x"$enablestring" = xdisable; then
13854 defaultval=yes
13855 else
13856 defaultval=no
13857 fi
13858 fi
13859
13860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13861 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13862 # Check whether --enable-ico_cur was given.
13863 if test "${enable_ico_cur+set}" = set; then
13864 enableval=$enable_ico_cur;
13865 if test "$enableval" = yes; then
13866 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13867 else
13868 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13869 fi
13870
13871 else
13872
13873 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13874
13875 fi
13876
13877
13878 eval "$wx_cv_use_ico_cur"
13879
13880 if test x"$enablestring" = xdisable; then
13881 if test $wxUSE_ICO_CUR = no; then
13882 result=yes
13883 else
13884 result=no
13885 fi
13886 else
13887 result=$wxUSE_ICO_CUR
13888 fi
13889
13890 { echo "$as_me:$LINENO: result: $result" >&5
13891 echo "${ECHO_T}$result" >&6; }
13892
13893
13894
13895
13896 enablestring=
13897 defaultval=$wxUSE_ALL_FEATURES
13898 if test -z "$defaultval"; then
13899 if test x"$enablestring" = xdisable; then
13900 defaultval=yes
13901 else
13902 defaultval=no
13903 fi
13904 fi
13905
13906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13907 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13908 # Check whether --enable-dccache was given.
13909 if test "${enable_dccache+set}" = set; then
13910 enableval=$enable_dccache;
13911 if test "$enableval" = yes; then
13912 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13913 else
13914 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13915 fi
13916
13917 else
13918
13919 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13920
13921 fi
13922
13923
13924 eval "$wx_cv_use_dccache"
13925
13926 if test x"$enablestring" = xdisable; then
13927 if test $wxUSE_DC_CACHEING = no; then
13928 result=yes
13929 else
13930 result=no
13931 fi
13932 else
13933 result=$wxUSE_DC_CACHEING
13934 fi
13935
13936 { echo "$as_me:$LINENO: result: $result" >&5
13937 echo "${ECHO_T}$result" >&6; }
13938
13939
13940 enablestring=
13941 defaultval=$wxUSE_ALL_FEATURES
13942 if test -z "$defaultval"; then
13943 if test x"$enablestring" = xdisable; then
13944 defaultval=yes
13945 else
13946 defaultval=no
13947 fi
13948 fi
13949
13950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13951 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13952 # Check whether --enable-ps-in-msw was given.
13953 if test "${enable_ps_in_msw+set}" = set; then
13954 enableval=$enable_ps_in_msw;
13955 if test "$enableval" = yes; then
13956 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13957 else
13958 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13959 fi
13960
13961 else
13962
13963 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13964
13965 fi
13966
13967
13968 eval "$wx_cv_use_ps_in_msw"
13969
13970 if test x"$enablestring" = xdisable; then
13971 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
13972 result=yes
13973 else
13974 result=no
13975 fi
13976 else
13977 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13978 fi
13979
13980 { echo "$as_me:$LINENO: result: $result" >&5
13981 echo "${ECHO_T}$result" >&6; }
13982
13983
13984 enablestring=
13985 defaultval=$wxUSE_ALL_FEATURES
13986 if test -z "$defaultval"; then
13987 if test x"$enablestring" = xdisable; then
13988 defaultval=yes
13989 else
13990 defaultval=no
13991 fi
13992 fi
13993
13994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13995 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13996 # Check whether --enable-ownerdrawn was given.
13997 if test "${enable_ownerdrawn+set}" = set; then
13998 enableval=$enable_ownerdrawn;
13999 if test "$enableval" = yes; then
14000 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14001 else
14002 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14003 fi
14004
14005 else
14006
14007 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14008
14009 fi
14010
14011
14012 eval "$wx_cv_use_ownerdrawn"
14013
14014 if test x"$enablestring" = xdisable; then
14015 if test $wxUSE_OWNER_DRAWN = no; then
14016 result=yes
14017 else
14018 result=no
14019 fi
14020 else
14021 result=$wxUSE_OWNER_DRAWN
14022 fi
14023
14024 { echo "$as_me:$LINENO: result: $result" >&5
14025 echo "${ECHO_T}$result" >&6; }
14026
14027
14028 enablestring=
14029 defaultval=$wxUSE_ALL_FEATURES
14030 if test -z "$defaultval"; then
14031 if test x"$enablestring" = xdisable; then
14032 defaultval=yes
14033 else
14034 defaultval=no
14035 fi
14036 fi
14037
14038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14039 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14040 # Check whether --enable-uxtheme was given.
14041 if test "${enable_uxtheme+set}" = set; then
14042 enableval=$enable_uxtheme;
14043 if test "$enableval" = yes; then
14044 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14045 else
14046 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14047 fi
14048
14049 else
14050
14051 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14052
14053 fi
14054
14055
14056 eval "$wx_cv_use_uxtheme"
14057
14058 if test x"$enablestring" = xdisable; then
14059 if test $wxUSE_UXTHEME = no; then
14060 result=yes
14061 else
14062 result=no
14063 fi
14064 else
14065 result=$wxUSE_UXTHEME
14066 fi
14067
14068 { echo "$as_me:$LINENO: result: $result" >&5
14069 echo "${ECHO_T}$result" >&6; }
14070
14071
14072 enablestring=
14073 defaultval=$wxUSE_ALL_FEATURES
14074 if test -z "$defaultval"; then
14075 if test x"$enablestring" = xdisable; then
14076 defaultval=yes
14077 else
14078 defaultval=no
14079 fi
14080 fi
14081
14082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14083 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14084 # Check whether --enable-wxdib was given.
14085 if test "${enable_wxdib+set}" = set; then
14086 enableval=$enable_wxdib;
14087 if test "$enableval" = yes; then
14088 wx_cv_use_wxdib='wxUSE_DIB=yes'
14089 else
14090 wx_cv_use_wxdib='wxUSE_DIB=no'
14091 fi
14092
14093 else
14094
14095 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14096
14097 fi
14098
14099
14100 eval "$wx_cv_use_wxdib"
14101
14102 if test x"$enablestring" = xdisable; then
14103 if test $wxUSE_DIB = no; then
14104 result=yes
14105 else
14106 result=no
14107 fi
14108 else
14109 result=$wxUSE_DIB
14110 fi
14111
14112 { echo "$as_me:$LINENO: result: $result" >&5
14113 echo "${ECHO_T}$result" >&6; }
14114
14115
14116 if test "$wxUSE_MSW" != 1; then
14117 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14118 fi
14119
14120
14121 enablestring=
14122 defaultval=$wxUSE_ALL_FEATURES
14123 if test -z "$defaultval"; then
14124 if test x"$enablestring" = xdisable; then
14125 defaultval=yes
14126 else
14127 defaultval=no
14128 fi
14129 fi
14130
14131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14132 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14133 # Check whether --enable-autoidman was given.
14134 if test "${enable_autoidman+set}" = set; then
14135 enableval=$enable_autoidman;
14136 if test "$enableval" = yes; then
14137 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14138 else
14139 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14140 fi
14141
14142 else
14143
14144 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14145
14146 fi
14147
14148
14149 eval "$wx_cv_use_autoidman"
14150
14151 if test x"$enablestring" = xdisable; then
14152 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14153 result=yes
14154 else
14155 result=no
14156 fi
14157 else
14158 result=$wxUSE_AUTOID_MANAGEMENT
14159 fi
14160
14161 { echo "$as_me:$LINENO: result: $result" >&5
14162 echo "${ECHO_T}$result" >&6; }
14163
14164
14165 fi
14166
14167
14168 cat >confcache <<\_ACEOF
14169 # This file is a shell script that caches the results of configure
14170 # tests run on this system so they can be shared between configure
14171 # scripts and configure runs, see configure's option --config-cache.
14172 # It is not useful on other systems. If it contains results you don't
14173 # want to keep, you may remove or edit it.
14174 #
14175 # config.status only pays attention to the cache file if you give it
14176 # the --recheck option to rerun configure.
14177 #
14178 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14179 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14180 # following values.
14181
14182 _ACEOF
14183
14184 # The following way of writing the cache mishandles newlines in values,
14185 # but we know of no workaround that is simple, portable, and efficient.
14186 # So, we kill variables containing newlines.
14187 # Ultrix sh set writes to stderr and can't be redirected directly,
14188 # and sets the high bit in the cache file unless we assign to the vars.
14189 (
14190 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14191 eval ac_val=\$$ac_var
14192 case $ac_val in #(
14193 *${as_nl}*)
14194 case $ac_var in #(
14195 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14196 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14197 esac
14198 case $ac_var in #(
14199 _ | IFS | as_nl) ;; #(
14200 *) $as_unset $ac_var ;;
14201 esac ;;
14202 esac
14203 done
14204
14205 (set) 2>&1 |
14206 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14207 *${as_nl}ac_space=\ *)
14208 # `set' does not quote correctly, so add quotes (double-quote
14209 # substitution turns \\\\ into \\, and sed turns \\ into \).
14210 sed -n \
14211 "s/'/'\\\\''/g;
14212 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14213 ;; #(
14214 *)
14215 # `set' quotes correctly as required by POSIX, so do not add quotes.
14216 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14217 ;;
14218 esac |
14219 sort
14220 ) |
14221 sed '
14222 /^ac_cv_env_/b end
14223 t clear
14224 :clear
14225 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14226 t end
14227 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14228 :end' >>confcache
14229 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14230 if test -w "$cache_file"; then
14231 test "x$cache_file" != "x/dev/null" &&
14232 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14233 echo "$as_me: updating cache $cache_file" >&6;}
14234 cat confcache >$cache_file
14235 else
14236 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14237 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14238 fi
14239 fi
14240 rm -f confcache
14241
14242 CFLAGS=${CFLAGS:=}
14243
14244
14245
14246 ac_ext=c
14247 ac_cpp='$CPP $CPPFLAGS'
14248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14251 if test -n "$ac_tool_prefix"; then
14252 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14253 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14254 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14256 if test "${ac_cv_prog_CC+set}" = set; then
14257 echo $ECHO_N "(cached) $ECHO_C" >&6
14258 else
14259 if test -n "$CC"; then
14260 ac_cv_prog_CC="$CC" # Let the user override the test.
14261 else
14262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14263 for as_dir in $PATH
14264 do
14265 IFS=$as_save_IFS
14266 test -z "$as_dir" && as_dir=.
14267 for ac_exec_ext in '' $ac_executable_extensions; do
14268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14269 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14271 break 2
14272 fi
14273 done
14274 done
14275 IFS=$as_save_IFS
14276
14277 fi
14278 fi
14279 CC=$ac_cv_prog_CC
14280 if test -n "$CC"; then
14281 { echo "$as_me:$LINENO: result: $CC" >&5
14282 echo "${ECHO_T}$CC" >&6; }
14283 else
14284 { echo "$as_me:$LINENO: result: no" >&5
14285 echo "${ECHO_T}no" >&6; }
14286 fi
14287
14288
14289 fi
14290 if test -z "$ac_cv_prog_CC"; then
14291 ac_ct_CC=$CC
14292 # Extract the first word of "gcc", so it can be a program name with args.
14293 set dummy gcc; ac_word=$2
14294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14296 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14297 echo $ECHO_N "(cached) $ECHO_C" >&6
14298 else
14299 if test -n "$ac_ct_CC"; then
14300 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14301 else
14302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14303 for as_dir in $PATH
14304 do
14305 IFS=$as_save_IFS
14306 test -z "$as_dir" && as_dir=.
14307 for ac_exec_ext in '' $ac_executable_extensions; do
14308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14309 ac_cv_prog_ac_ct_CC="gcc"
14310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14311 break 2
14312 fi
14313 done
14314 done
14315 IFS=$as_save_IFS
14316
14317 fi
14318 fi
14319 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14320 if test -n "$ac_ct_CC"; then
14321 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14322 echo "${ECHO_T}$ac_ct_CC" >&6; }
14323 else
14324 { echo "$as_me:$LINENO: result: no" >&5
14325 echo "${ECHO_T}no" >&6; }
14326 fi
14327
14328 if test "x$ac_ct_CC" = x; then
14329 CC=""
14330 else
14331 case $cross_compiling:$ac_tool_warned in
14332 yes:)
14333 { echo "$as_me:$LINENO: 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." >&5
14336 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14337 whose name does not start with the host triplet. If you think this
14338 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14339 ac_tool_warned=yes ;;
14340 esac
14341 CC=$ac_ct_CC
14342 fi
14343 else
14344 CC="$ac_cv_prog_CC"
14345 fi
14346
14347 if test -z "$CC"; then
14348 if test -n "$ac_tool_prefix"; then
14349 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14350 set dummy ${ac_tool_prefix}cc; ac_word=$2
14351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14353 if test "${ac_cv_prog_CC+set}" = set; then
14354 echo $ECHO_N "(cached) $ECHO_C" >&6
14355 else
14356 if test -n "$CC"; then
14357 ac_cv_prog_CC="$CC" # Let the user override the test.
14358 else
14359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14360 for as_dir in $PATH
14361 do
14362 IFS=$as_save_IFS
14363 test -z "$as_dir" && as_dir=.
14364 for ac_exec_ext in '' $ac_executable_extensions; do
14365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14366 ac_cv_prog_CC="${ac_tool_prefix}cc"
14367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14368 break 2
14369 fi
14370 done
14371 done
14372 IFS=$as_save_IFS
14373
14374 fi
14375 fi
14376 CC=$ac_cv_prog_CC
14377 if test -n "$CC"; then
14378 { echo "$as_me:$LINENO: result: $CC" >&5
14379 echo "${ECHO_T}$CC" >&6; }
14380 else
14381 { echo "$as_me:$LINENO: result: no" >&5
14382 echo "${ECHO_T}no" >&6; }
14383 fi
14384
14385
14386 fi
14387 fi
14388 if test -z "$CC"; then
14389 # Extract the first word of "cc", so it can be a program name with args.
14390 set dummy cc; ac_word=$2
14391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14393 if test "${ac_cv_prog_CC+set}" = set; then
14394 echo $ECHO_N "(cached) $ECHO_C" >&6
14395 else
14396 if test -n "$CC"; then
14397 ac_cv_prog_CC="$CC" # Let the user override the test.
14398 else
14399 ac_prog_rejected=no
14400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14401 for as_dir in $PATH
14402 do
14403 IFS=$as_save_IFS
14404 test -z "$as_dir" && as_dir=.
14405 for ac_exec_ext in '' $ac_executable_extensions; do
14406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14407 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14408 ac_prog_rejected=yes
14409 continue
14410 fi
14411 ac_cv_prog_CC="cc"
14412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14413 break 2
14414 fi
14415 done
14416 done
14417 IFS=$as_save_IFS
14418
14419 if test $ac_prog_rejected = yes; then
14420 # We found a bogon in the path, so make sure we never use it.
14421 set dummy $ac_cv_prog_CC
14422 shift
14423 if test $# != 0; then
14424 # We chose a different compiler from the bogus one.
14425 # However, it has the same basename, so the bogon will be chosen
14426 # first if we set CC to just the basename; use the full file name.
14427 shift
14428 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14429 fi
14430 fi
14431 fi
14432 fi
14433 CC=$ac_cv_prog_CC
14434 if test -n "$CC"; then
14435 { echo "$as_me:$LINENO: result: $CC" >&5
14436 echo "${ECHO_T}$CC" >&6; }
14437 else
14438 { echo "$as_me:$LINENO: result: no" >&5
14439 echo "${ECHO_T}no" >&6; }
14440 fi
14441
14442
14443 fi
14444 if test -z "$CC"; then
14445 if test -n "$ac_tool_prefix"; then
14446 for ac_prog in cl.exe
14447 do
14448 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14449 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14452 if test "${ac_cv_prog_CC+set}" = set; then
14453 echo $ECHO_N "(cached) $ECHO_C" >&6
14454 else
14455 if test -n "$CC"; then
14456 ac_cv_prog_CC="$CC" # Let the user override the test.
14457 else
14458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14459 for as_dir in $PATH
14460 do
14461 IFS=$as_save_IFS
14462 test -z "$as_dir" && as_dir=.
14463 for ac_exec_ext in '' $ac_executable_extensions; do
14464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14465 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14467 break 2
14468 fi
14469 done
14470 done
14471 IFS=$as_save_IFS
14472
14473 fi
14474 fi
14475 CC=$ac_cv_prog_CC
14476 if test -n "$CC"; then
14477 { echo "$as_me:$LINENO: result: $CC" >&5
14478 echo "${ECHO_T}$CC" >&6; }
14479 else
14480 { echo "$as_me:$LINENO: result: no" >&5
14481 echo "${ECHO_T}no" >&6; }
14482 fi
14483
14484
14485 test -n "$CC" && break
14486 done
14487 fi
14488 if test -z "$CC"; then
14489 ac_ct_CC=$CC
14490 for ac_prog in cl.exe
14491 do
14492 # Extract the first word of "$ac_prog", so it can be a program name with args.
14493 set dummy $ac_prog; ac_word=$2
14494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14496 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14497 echo $ECHO_N "(cached) $ECHO_C" >&6
14498 else
14499 if test -n "$ac_ct_CC"; then
14500 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14501 else
14502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14503 for as_dir in $PATH
14504 do
14505 IFS=$as_save_IFS
14506 test -z "$as_dir" && as_dir=.
14507 for ac_exec_ext in '' $ac_executable_extensions; do
14508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14509 ac_cv_prog_ac_ct_CC="$ac_prog"
14510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14511 break 2
14512 fi
14513 done
14514 done
14515 IFS=$as_save_IFS
14516
14517 fi
14518 fi
14519 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14520 if test -n "$ac_ct_CC"; then
14521 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14522 echo "${ECHO_T}$ac_ct_CC" >&6; }
14523 else
14524 { echo "$as_me:$LINENO: result: no" >&5
14525 echo "${ECHO_T}no" >&6; }
14526 fi
14527
14528
14529 test -n "$ac_ct_CC" && break
14530 done
14531
14532 if test "x$ac_ct_CC" = x; then
14533 CC=""
14534 else
14535 case $cross_compiling:$ac_tool_warned in
14536 yes:)
14537 { echo "$as_me:$LINENO: 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." >&5
14540 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14541 whose name does not start with the host triplet. If you think this
14542 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14543 ac_tool_warned=yes ;;
14544 esac
14545 CC=$ac_ct_CC
14546 fi
14547 fi
14548
14549 fi
14550
14551
14552 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14553 See \`config.log' for more details." >&5
14554 echo "$as_me: error: no acceptable C compiler found in \$PATH
14555 See \`config.log' for more details." >&2;}
14556 { (exit 1); exit 1; }; }
14557
14558 # Provide some information about the compiler.
14559 echo "$as_me:$LINENO: checking for C compiler version" >&5
14560 ac_compiler=`set X $ac_compile; echo $2`
14561 { (ac_try="$ac_compiler --version >&5"
14562 case "(($ac_try" in
14563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14564 *) ac_try_echo=$ac_try;;
14565 esac
14566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14567 (eval "$ac_compiler --version >&5") 2>&5
14568 ac_status=$?
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); }
14571 { (ac_try="$ac_compiler -v >&5"
14572 case "(($ac_try" in
14573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14574 *) ac_try_echo=$ac_try;;
14575 esac
14576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14577 (eval "$ac_compiler -v >&5") 2>&5
14578 ac_status=$?
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); }
14581 { (ac_try="$ac_compiler -V >&5"
14582 case "(($ac_try" in
14583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14584 *) ac_try_echo=$ac_try;;
14585 esac
14586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14587 (eval "$ac_compiler -V >&5") 2>&5
14588 ac_status=$?
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); }
14591
14592 cat >conftest.$ac_ext <<_ACEOF
14593 /* confdefs.h. */
14594 _ACEOF
14595 cat confdefs.h >>conftest.$ac_ext
14596 cat >>conftest.$ac_ext <<_ACEOF
14597 /* end confdefs.h. */
14598
14599 int
14600 main ()
14601 {
14602
14603 ;
14604 return 0;
14605 }
14606 _ACEOF
14607 ac_clean_files_save=$ac_clean_files
14608 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14609 # Try to create an executable without -o first, disregard a.out.
14610 # It will help us diagnose broken compilers, and finding out an intuition
14611 # of exeext.
14612 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14613 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14614 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14615 #
14616 # List of possible output files, starting from the most likely.
14617 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14618 # only as a last resort. b.out is created by i960 compilers.
14619 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14620 #
14621 # The IRIX 6 linker writes into existing files which may not be
14622 # executable, retaining their permissions. Remove them first so a
14623 # subsequent execution test works.
14624 ac_rmfiles=
14625 for ac_file in $ac_files
14626 do
14627 case $ac_file in
14628 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14629 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14630 esac
14631 done
14632 rm -f $ac_rmfiles
14633
14634 if { (ac_try="$ac_link_default"
14635 case "(($ac_try" in
14636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14637 *) ac_try_echo=$ac_try;;
14638 esac
14639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14640 (eval "$ac_link_default") 2>&5
14641 ac_status=$?
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); }; then
14644 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14645 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14646 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14647 # so that the user can short-circuit this test for compilers unknown to
14648 # Autoconf.
14649 for ac_file in $ac_files ''
14650 do
14651 test -f "$ac_file" || continue
14652 case $ac_file in
14653 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14654 ;;
14655 [ab].out )
14656 # We found the default executable, but exeext='' is most
14657 # certainly right.
14658 break;;
14659 *.* )
14660 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14661 then :; else
14662 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14663 fi
14664 # We set ac_cv_exeext here because the later test for it is not
14665 # safe: cross compilers may not add the suffix if given an `-o'
14666 # argument, so we may need to know it at that point already.
14667 # Even if this section looks crufty: it has the advantage of
14668 # actually working.
14669 break;;
14670 * )
14671 break;;
14672 esac
14673 done
14674 test "$ac_cv_exeext" = no && ac_cv_exeext=
14675
14676 else
14677 ac_file=''
14678 fi
14679
14680 { echo "$as_me:$LINENO: result: $ac_file" >&5
14681 echo "${ECHO_T}$ac_file" >&6; }
14682 if test -z "$ac_file"; then
14683 echo "$as_me: failed program was:" >&5
14684 sed 's/^/| /' conftest.$ac_ext >&5
14685
14686 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14687 See \`config.log' for more details." >&5
14688 echo "$as_me: error: C compiler cannot create executables
14689 See \`config.log' for more details." >&2;}
14690 { (exit 77); exit 77; }; }
14691 fi
14692
14693 ac_exeext=$ac_cv_exeext
14694
14695 # Check that the compiler produces executables we can run. If not, either
14696 # the compiler is broken, or we cross compile.
14697 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14698 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14699 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14700 # If not cross compiling, check that we can run a simple program.
14701 if test "$cross_compiling" != yes; then
14702 if { ac_try='./$ac_file'
14703 { (case "(($ac_try" in
14704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14705 *) ac_try_echo=$ac_try;;
14706 esac
14707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14708 (eval "$ac_try") 2>&5
14709 ac_status=$?
14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711 (exit $ac_status); }; }; then
14712 cross_compiling=no
14713 else
14714 if test "$cross_compiling" = maybe; then
14715 cross_compiling=yes
14716 else
14717 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14718 If you meant to cross compile, use \`--host'.
14719 See \`config.log' for more details." >&5
14720 echo "$as_me: error: cannot run C compiled programs.
14721 If you meant to cross compile, use \`--host'.
14722 See \`config.log' for more details." >&2;}
14723 { (exit 1); exit 1; }; }
14724 fi
14725 fi
14726 fi
14727 { echo "$as_me:$LINENO: result: yes" >&5
14728 echo "${ECHO_T}yes" >&6; }
14729
14730 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14731 ac_clean_files=$ac_clean_files_save
14732 # Check that the compiler produces executables we can run. If not, either
14733 # the compiler is broken, or we cross compile.
14734 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14735 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14736 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14737 echo "${ECHO_T}$cross_compiling" >&6; }
14738
14739 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14740 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14741 if { (ac_try="$ac_link"
14742 case "(($ac_try" in
14743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14744 *) ac_try_echo=$ac_try;;
14745 esac
14746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14747 (eval "$ac_link") 2>&5
14748 ac_status=$?
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); }; then
14751 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14752 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14753 # work properly (i.e., refer to `conftest.exe'), while it won't with
14754 # `rm'.
14755 for ac_file in conftest.exe conftest conftest.*; do
14756 test -f "$ac_file" || continue
14757 case $ac_file in
14758 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14759 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14760 break;;
14761 * ) break;;
14762 esac
14763 done
14764 else
14765 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14766 See \`config.log' for more details." >&5
14767 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14768 See \`config.log' for more details." >&2;}
14769 { (exit 1); exit 1; }; }
14770 fi
14771
14772 rm -f conftest$ac_cv_exeext
14773 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14774 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14775
14776 rm -f conftest.$ac_ext
14777 EXEEXT=$ac_cv_exeext
14778 ac_exeext=$EXEEXT
14779 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14780 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14781 if test "${ac_cv_objext+set}" = set; then
14782 echo $ECHO_N "(cached) $ECHO_C" >&6
14783 else
14784 cat >conftest.$ac_ext <<_ACEOF
14785 /* confdefs.h. */
14786 _ACEOF
14787 cat confdefs.h >>conftest.$ac_ext
14788 cat >>conftest.$ac_ext <<_ACEOF
14789 /* end confdefs.h. */
14790
14791 int
14792 main ()
14793 {
14794
14795 ;
14796 return 0;
14797 }
14798 _ACEOF
14799 rm -f conftest.o conftest.obj
14800 if { (ac_try="$ac_compile"
14801 case "(($ac_try" in
14802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14803 *) ac_try_echo=$ac_try;;
14804 esac
14805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14806 (eval "$ac_compile") 2>&5
14807 ac_status=$?
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); }; then
14810 for ac_file in conftest.o conftest.obj conftest.*; do
14811 test -f "$ac_file" || continue;
14812 case $ac_file in
14813 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14814 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14815 break;;
14816 esac
14817 done
14818 else
14819 echo "$as_me: failed program was:" >&5
14820 sed 's/^/| /' conftest.$ac_ext >&5
14821
14822 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14823 See \`config.log' for more details." >&5
14824 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14825 See \`config.log' for more details." >&2;}
14826 { (exit 1); exit 1; }; }
14827 fi
14828
14829 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14830 fi
14831 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14832 echo "${ECHO_T}$ac_cv_objext" >&6; }
14833 OBJEXT=$ac_cv_objext
14834 ac_objext=$OBJEXT
14835 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14836 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14837 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14838 echo $ECHO_N "(cached) $ECHO_C" >&6
14839 else
14840 cat >conftest.$ac_ext <<_ACEOF
14841 /* confdefs.h. */
14842 _ACEOF
14843 cat confdefs.h >>conftest.$ac_ext
14844 cat >>conftest.$ac_ext <<_ACEOF
14845 /* end confdefs.h. */
14846
14847 int
14848 main ()
14849 {
14850 #ifndef __GNUC__
14851 choke me
14852 #endif
14853
14854 ;
14855 return 0;
14856 }
14857 _ACEOF
14858 rm -f conftest.$ac_objext
14859 if { (ac_try="$ac_compile"
14860 case "(($ac_try" in
14861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14862 *) ac_try_echo=$ac_try;;
14863 esac
14864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14865 (eval "$ac_compile") 2>conftest.er1
14866 ac_status=$?
14867 grep -v '^ *+' conftest.er1 >conftest.err
14868 rm -f conftest.er1
14869 cat conftest.err >&5
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); } && {
14872 test -z "$ac_c_werror_flag" ||
14873 test ! -s conftest.err
14874 } && test -s conftest.$ac_objext; then
14875 ac_compiler_gnu=yes
14876 else
14877 echo "$as_me: failed program was:" >&5
14878 sed 's/^/| /' conftest.$ac_ext >&5
14879
14880 ac_compiler_gnu=no
14881 fi
14882
14883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14884 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14885
14886 fi
14887 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14888 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14889 GCC=`test $ac_compiler_gnu = yes && echo yes`
14890 ac_test_CFLAGS=${CFLAGS+set}
14891 ac_save_CFLAGS=$CFLAGS
14892 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14893 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14894 if test "${ac_cv_prog_cc_g+set}" = set; then
14895 echo $ECHO_N "(cached) $ECHO_C" >&6
14896 else
14897 ac_save_c_werror_flag=$ac_c_werror_flag
14898 ac_c_werror_flag=yes
14899 ac_cv_prog_cc_g=no
14900 CFLAGS="-g"
14901 cat >conftest.$ac_ext <<_ACEOF
14902 /* confdefs.h. */
14903 _ACEOF
14904 cat confdefs.h >>conftest.$ac_ext
14905 cat >>conftest.$ac_ext <<_ACEOF
14906 /* end confdefs.h. */
14907
14908 int
14909 main ()
14910 {
14911
14912 ;
14913 return 0;
14914 }
14915 _ACEOF
14916 rm -f conftest.$ac_objext
14917 if { (ac_try="$ac_compile"
14918 case "(($ac_try" in
14919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14920 *) ac_try_echo=$ac_try;;
14921 esac
14922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14923 (eval "$ac_compile") 2>conftest.er1
14924 ac_status=$?
14925 grep -v '^ *+' conftest.er1 >conftest.err
14926 rm -f conftest.er1
14927 cat conftest.err >&5
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); } && {
14930 test -z "$ac_c_werror_flag" ||
14931 test ! -s conftest.err
14932 } && test -s conftest.$ac_objext; then
14933 ac_cv_prog_cc_g=yes
14934 else
14935 echo "$as_me: failed program was:" >&5
14936 sed 's/^/| /' conftest.$ac_ext >&5
14937
14938 CFLAGS=""
14939 cat >conftest.$ac_ext <<_ACEOF
14940 /* confdefs.h. */
14941 _ACEOF
14942 cat confdefs.h >>conftest.$ac_ext
14943 cat >>conftest.$ac_ext <<_ACEOF
14944 /* end confdefs.h. */
14945
14946 int
14947 main ()
14948 {
14949
14950 ;
14951 return 0;
14952 }
14953 _ACEOF
14954 rm -f conftest.$ac_objext
14955 if { (ac_try="$ac_compile"
14956 case "(($ac_try" in
14957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14958 *) ac_try_echo=$ac_try;;
14959 esac
14960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14961 (eval "$ac_compile") 2>conftest.er1
14962 ac_status=$?
14963 grep -v '^ *+' conftest.er1 >conftest.err
14964 rm -f conftest.er1
14965 cat conftest.err >&5
14966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14967 (exit $ac_status); } && {
14968 test -z "$ac_c_werror_flag" ||
14969 test ! -s conftest.err
14970 } && test -s conftest.$ac_objext; then
14971 :
14972 else
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.$ac_ext >&5
14975
14976 ac_c_werror_flag=$ac_save_c_werror_flag
14977 CFLAGS="-g"
14978 cat >conftest.$ac_ext <<_ACEOF
14979 /* confdefs.h. */
14980 _ACEOF
14981 cat confdefs.h >>conftest.$ac_ext
14982 cat >>conftest.$ac_ext <<_ACEOF
14983 /* end confdefs.h. */
14984
14985 int
14986 main ()
14987 {
14988
14989 ;
14990 return 0;
14991 }
14992 _ACEOF
14993 rm -f conftest.$ac_objext
14994 if { (ac_try="$ac_compile"
14995 case "(($ac_try" in
14996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14997 *) ac_try_echo=$ac_try;;
14998 esac
14999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15000 (eval "$ac_compile") 2>conftest.er1
15001 ac_status=$?
15002 grep -v '^ *+' conftest.er1 >conftest.err
15003 rm -f conftest.er1
15004 cat conftest.err >&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); } && {
15007 test -z "$ac_c_werror_flag" ||
15008 test ! -s conftest.err
15009 } && test -s conftest.$ac_objext; then
15010 ac_cv_prog_cc_g=yes
15011 else
15012 echo "$as_me: failed program was:" >&5
15013 sed 's/^/| /' conftest.$ac_ext >&5
15014
15015
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 fi
15023
15024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15025 ac_c_werror_flag=$ac_save_c_werror_flag
15026 fi
15027 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15028 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15029 if test "$ac_test_CFLAGS" = set; then
15030 CFLAGS=$ac_save_CFLAGS
15031 elif test $ac_cv_prog_cc_g = yes; then
15032 if test "$GCC" = yes; then
15033 CFLAGS="-g -O2"
15034 else
15035 CFLAGS="-g"
15036 fi
15037 else
15038 if test "$GCC" = yes; then
15039 CFLAGS="-O2"
15040 else
15041 CFLAGS=
15042 fi
15043 fi
15044 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15045 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15046 if test "${ac_cv_prog_cc_c89+set}" = set; then
15047 echo $ECHO_N "(cached) $ECHO_C" >&6
15048 else
15049 ac_cv_prog_cc_c89=no
15050 ac_save_CC=$CC
15051 cat >conftest.$ac_ext <<_ACEOF
15052 /* confdefs.h. */
15053 _ACEOF
15054 cat confdefs.h >>conftest.$ac_ext
15055 cat >>conftest.$ac_ext <<_ACEOF
15056 /* end confdefs.h. */
15057 #include <stdarg.h>
15058 #include <stdio.h>
15059 #include <sys/types.h>
15060 #include <sys/stat.h>
15061 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15062 struct buf { int x; };
15063 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15064 static char *e (p, i)
15065 char **p;
15066 int i;
15067 {
15068 return p[i];
15069 }
15070 static char *f (char * (*g) (char **, int), char **p, ...)
15071 {
15072 char *s;
15073 va_list v;
15074 va_start (v,p);
15075 s = g (p, va_arg (v,int));
15076 va_end (v);
15077 return s;
15078 }
15079
15080 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15081 function prototypes and stuff, but not '\xHH' hex character constants.
15082 These don't provoke an error unfortunately, instead are silently treated
15083 as 'x'. The following induces an error, until -std is added to get
15084 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15085 array size at least. It's necessary to write '\x00'==0 to get something
15086 that's true only with -std. */
15087 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15088
15089 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15090 inside strings and character constants. */
15091 #define FOO(x) 'x'
15092 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15093
15094 int test (int i, double x);
15095 struct s1 {int (*f) (int a);};
15096 struct s2 {int (*f) (double a);};
15097 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15098 int argc;
15099 char **argv;
15100 int
15101 main ()
15102 {
15103 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15104 ;
15105 return 0;
15106 }
15107 _ACEOF
15108 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15109 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15110 do
15111 CC="$ac_save_CC $ac_arg"
15112 rm -f conftest.$ac_objext
15113 if { (ac_try="$ac_compile"
15114 case "(($ac_try" in
15115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15116 *) ac_try_echo=$ac_try;;
15117 esac
15118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15119 (eval "$ac_compile") 2>conftest.er1
15120 ac_status=$?
15121 grep -v '^ *+' conftest.er1 >conftest.err
15122 rm -f conftest.er1
15123 cat conftest.err >&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); } && {
15126 test -z "$ac_c_werror_flag" ||
15127 test ! -s conftest.err
15128 } && test -s conftest.$ac_objext; then
15129 ac_cv_prog_cc_c89=$ac_arg
15130 else
15131 echo "$as_me: failed program was:" >&5
15132 sed 's/^/| /' conftest.$ac_ext >&5
15133
15134
15135 fi
15136
15137 rm -f core conftest.err conftest.$ac_objext
15138 test "x$ac_cv_prog_cc_c89" != "xno" && break
15139 done
15140 rm -f conftest.$ac_ext
15141 CC=$ac_save_CC
15142
15143 fi
15144 # AC_CACHE_VAL
15145 case "x$ac_cv_prog_cc_c89" in
15146 x)
15147 { echo "$as_me:$LINENO: result: none needed" >&5
15148 echo "${ECHO_T}none needed" >&6; } ;;
15149 xno)
15150 { echo "$as_me:$LINENO: result: unsupported" >&5
15151 echo "${ECHO_T}unsupported" >&6; } ;;
15152 *)
15153 CC="$CC $ac_cv_prog_cc_c89"
15154 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15155 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15156 esac
15157
15158
15159 ac_ext=c
15160 ac_cpp='$CPP $CPPFLAGS'
15161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15164
15165
15166
15167
15168 ac_ext=c
15169 ac_cpp='$CPP $CPPFLAGS'
15170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15173
15174 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15175 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15176 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15177 echo $ECHO_N "(cached) $ECHO_C" >&6
15178 else
15179 cat >conftest.$ac_ext <<_ACEOF
15180 /* confdefs.h. */
15181 _ACEOF
15182 cat confdefs.h >>conftest.$ac_ext
15183 cat >>conftest.$ac_ext <<_ACEOF
15184 /* end confdefs.h. */
15185
15186 int
15187 main ()
15188 {
15189
15190 #ifndef __INTEL_COMPILER
15191 choke me
15192 #endif
15193
15194 ;
15195 return 0;
15196 }
15197 _ACEOF
15198 rm -f conftest.$ac_objext
15199 if { (ac_try="$ac_compile"
15200 case "(($ac_try" in
15201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15202 *) ac_try_echo=$ac_try;;
15203 esac
15204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15205 (eval "$ac_compile") 2>conftest.er1
15206 ac_status=$?
15207 grep -v '^ *+' conftest.er1 >conftest.err
15208 rm -f conftest.er1
15209 cat conftest.err >&5
15210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211 (exit $ac_status); } && {
15212 test -z "$ac_c_werror_flag" ||
15213 test ! -s conftest.err
15214 } && test -s conftest.$ac_objext; then
15215 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15216 else
15217 echo "$as_me: failed program was:" >&5
15218 sed 's/^/| /' conftest.$ac_ext >&5
15219
15220 bakefile_cv_c_compiler___INTEL_COMPILER=no
15221
15222 fi
15223
15224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15225
15226
15227 fi
15228 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15229 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15230 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15231 :; INTELCC=yes
15232 else
15233 :;
15234 fi
15235 ac_ext=c
15236 ac_cpp='$CPP $CPPFLAGS'
15237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15240
15241
15242
15243
15244 if test "$INTELCC" = "yes"; then
15245
15246
15247 ac_ext=c
15248 ac_cpp='$CPP $CPPFLAGS'
15249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15252
15253 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15254 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15255 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15256 echo $ECHO_N "(cached) $ECHO_C" >&6
15257 else
15258 cat >conftest.$ac_ext <<_ACEOF
15259 /* confdefs.h. */
15260 _ACEOF
15261 cat confdefs.h >>conftest.$ac_ext
15262 cat >>conftest.$ac_ext <<_ACEOF
15263 /* end confdefs.h. */
15264
15265 int
15266 main ()
15267 {
15268
15269 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15270 choke me
15271 #endif
15272
15273 ;
15274 return 0;
15275 }
15276 _ACEOF
15277 rm -f conftest.$ac_objext
15278 if { (ac_try="$ac_compile"
15279 case "(($ac_try" in
15280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15281 *) ac_try_echo=$ac_try;;
15282 esac
15283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15284 (eval "$ac_compile") 2>conftest.er1
15285 ac_status=$?
15286 grep -v '^ *+' conftest.er1 >conftest.err
15287 rm -f conftest.er1
15288 cat conftest.err >&5
15289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15290 (exit $ac_status); } && {
15291 test -z "$ac_c_werror_flag" ||
15292 test ! -s conftest.err
15293 } && test -s conftest.$ac_objext; then
15294 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15295 else
15296 echo "$as_me: failed program was:" >&5
15297 sed 's/^/| /' conftest.$ac_ext >&5
15298
15299 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15300
15301 fi
15302
15303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15304
15305
15306 fi
15307 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15308 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15309 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15310 :; INTELCC8=yes
15311 else
15312 :;
15313 fi
15314 ac_ext=c
15315 ac_cpp='$CPP $CPPFLAGS'
15316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15319
15320
15321
15322
15323
15324 ac_ext=c
15325 ac_cpp='$CPP $CPPFLAGS'
15326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15329
15330 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15331 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15332 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15333 echo $ECHO_N "(cached) $ECHO_C" >&6
15334 else
15335 cat >conftest.$ac_ext <<_ACEOF
15336 /* confdefs.h. */
15337 _ACEOF
15338 cat confdefs.h >>conftest.$ac_ext
15339 cat >>conftest.$ac_ext <<_ACEOF
15340 /* end confdefs.h. */
15341
15342 int
15343 main ()
15344 {
15345
15346 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15347 choke me
15348 #endif
15349
15350 ;
15351 return 0;
15352 }
15353 _ACEOF
15354 rm -f conftest.$ac_objext
15355 if { (ac_try="$ac_compile"
15356 case "(($ac_try" in
15357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15358 *) ac_try_echo=$ac_try;;
15359 esac
15360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15361 (eval "$ac_compile") 2>conftest.er1
15362 ac_status=$?
15363 grep -v '^ *+' conftest.er1 >conftest.err
15364 rm -f conftest.er1
15365 cat conftest.err >&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); } && {
15368 test -z "$ac_c_werror_flag" ||
15369 test ! -s conftest.err
15370 } && test -s conftest.$ac_objext; then
15371 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15372 else
15373 echo "$as_me: failed program was:" >&5
15374 sed 's/^/| /' conftest.$ac_ext >&5
15375
15376 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15377
15378 fi
15379
15380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15381
15382
15383 fi
15384 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15385 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15386 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15387 :; INTELCC10=yes
15388 else
15389 :;
15390 fi
15391 ac_ext=c
15392 ac_cpp='$CPP $CPPFLAGS'
15393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15396
15397
15398
15399 fi
15400
15401 if test "x$GCC" != "xyes"; then
15402 if test "xCC" = "xC"; then
15403 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15404 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15405 if test "${bakefile_cv_c_exto+set}" = set; then
15406 echo $ECHO_N "(cached) $ECHO_C" >&6
15407 else
15408 cat >conftest.$ac_ext <<_ACEOF
15409 /* confdefs.h. */
15410 _ACEOF
15411 cat confdefs.h >>conftest.$ac_ext
15412 cat >>conftest.$ac_ext <<_ACEOF
15413 /* end confdefs.h. */
15414
15415 int
15416 main ()
15417 {
15418
15419 ;
15420 return 0;
15421 }
15422 _ACEOF
15423 rm -f conftest.$ac_objext conftest.$ac_ext.o
15424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15425 (eval $ac_compile) 2>&5
15426 ac_status=$?
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); }; then
15429 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15430 case $ac_file in
15431 conftest.$ac_ext.o)
15432 bakefile_cv_c_exto="-ext o"
15433 ;;
15434 *)
15435 ;;
15436 esac
15437 done
15438 else
15439 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15440 See \`config.log' for more details." >&5
15441 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15442 See \`config.log' for more details." >&2;}
15443 { (exit 1); exit 1; }; }
15444
15445 fi
15446
15447 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15448
15449 fi
15450 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15451 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15452 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15453 if test "c" = "c"; then
15454 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15455 fi
15456 if test "c" = "cxx"; then
15457 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15458 fi
15459 fi
15460
15461 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15462 unset ac_cv_prog_cc_g
15463 ac_test_CFLAGS=${CFLAGS+set}
15464 ac_save_CFLAGS=$CFLAGS
15465 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15466 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15467 if test "${ac_cv_prog_cc_g+set}" = set; then
15468 echo $ECHO_N "(cached) $ECHO_C" >&6
15469 else
15470 ac_save_c_werror_flag=$ac_c_werror_flag
15471 ac_c_werror_flag=yes
15472 ac_cv_prog_cc_g=no
15473 CFLAGS="-g"
15474 cat >conftest.$ac_ext <<_ACEOF
15475 /* confdefs.h. */
15476 _ACEOF
15477 cat confdefs.h >>conftest.$ac_ext
15478 cat >>conftest.$ac_ext <<_ACEOF
15479 /* end confdefs.h. */
15480
15481 int
15482 main ()
15483 {
15484
15485 ;
15486 return 0;
15487 }
15488 _ACEOF
15489 rm -f conftest.$ac_objext
15490 if { (ac_try="$ac_compile"
15491 case "(($ac_try" in
15492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15493 *) ac_try_echo=$ac_try;;
15494 esac
15495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15496 (eval "$ac_compile") 2>conftest.er1
15497 ac_status=$?
15498 grep -v '^ *+' conftest.er1 >conftest.err
15499 rm -f conftest.er1
15500 cat conftest.err >&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); } && {
15503 test -z "$ac_c_werror_flag" ||
15504 test ! -s conftest.err
15505 } && test -s conftest.$ac_objext; then
15506 ac_cv_prog_cc_g=yes
15507 else
15508 echo "$as_me: failed program was:" >&5
15509 sed 's/^/| /' conftest.$ac_ext >&5
15510
15511 CFLAGS=""
15512 cat >conftest.$ac_ext <<_ACEOF
15513 /* confdefs.h. */
15514 _ACEOF
15515 cat confdefs.h >>conftest.$ac_ext
15516 cat >>conftest.$ac_ext <<_ACEOF
15517 /* end confdefs.h. */
15518
15519 int
15520 main ()
15521 {
15522
15523 ;
15524 return 0;
15525 }
15526 _ACEOF
15527 rm -f conftest.$ac_objext
15528 if { (ac_try="$ac_compile"
15529 case "(($ac_try" in
15530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15531 *) ac_try_echo=$ac_try;;
15532 esac
15533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15534 (eval "$ac_compile") 2>conftest.er1
15535 ac_status=$?
15536 grep -v '^ *+' conftest.er1 >conftest.err
15537 rm -f conftest.er1
15538 cat conftest.err >&5
15539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); } && {
15541 test -z "$ac_c_werror_flag" ||
15542 test ! -s conftest.err
15543 } && test -s conftest.$ac_objext; then
15544 :
15545 else
15546 echo "$as_me: failed program was:" >&5
15547 sed 's/^/| /' conftest.$ac_ext >&5
15548
15549 ac_c_werror_flag=$ac_save_c_werror_flag
15550 CFLAGS="-g"
15551 cat >conftest.$ac_ext <<_ACEOF
15552 /* confdefs.h. */
15553 _ACEOF
15554 cat confdefs.h >>conftest.$ac_ext
15555 cat >>conftest.$ac_ext <<_ACEOF
15556 /* end confdefs.h. */
15557
15558 int
15559 main ()
15560 {
15561
15562 ;
15563 return 0;
15564 }
15565 _ACEOF
15566 rm -f conftest.$ac_objext
15567 if { (ac_try="$ac_compile"
15568 case "(($ac_try" in
15569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15570 *) ac_try_echo=$ac_try;;
15571 esac
15572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15573 (eval "$ac_compile") 2>conftest.er1
15574 ac_status=$?
15575 grep -v '^ *+' conftest.er1 >conftest.err
15576 rm -f conftest.er1
15577 cat conftest.err >&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } && {
15580 test -z "$ac_c_werror_flag" ||
15581 test ! -s conftest.err
15582 } && test -s conftest.$ac_objext; then
15583 ac_cv_prog_cc_g=yes
15584 else
15585 echo "$as_me: failed program was:" >&5
15586 sed 's/^/| /' conftest.$ac_ext >&5
15587
15588
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 fi
15596
15597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15598 ac_c_werror_flag=$ac_save_c_werror_flag
15599 fi
15600 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15601 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15602 if test "$ac_test_CFLAGS" = set; then
15603 CFLAGS=$ac_save_CFLAGS
15604 elif test $ac_cv_prog_cc_g = yes; then
15605 if test "$GCC" = yes; then
15606 CFLAGS="-g -O2"
15607 else
15608 CFLAGS="-g"
15609 fi
15610 else
15611 if test "$GCC" = yes; then
15612 CFLAGS="-O2"
15613 else
15614 CFLAGS=
15615 fi
15616 fi
15617 fi
15618 fi
15619
15620 case `uname -s` in
15621 AIX*)
15622
15623
15624 ac_ext=c
15625 ac_cpp='$CPP $CPPFLAGS'
15626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15629
15630 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15631 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15632 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15633 echo $ECHO_N "(cached) $ECHO_C" >&6
15634 else
15635 cat >conftest.$ac_ext <<_ACEOF
15636 /* confdefs.h. */
15637 _ACEOF
15638 cat confdefs.h >>conftest.$ac_ext
15639 cat >>conftest.$ac_ext <<_ACEOF
15640 /* end confdefs.h. */
15641
15642 int
15643 main ()
15644 {
15645
15646 #ifndef __xlC__
15647 choke me
15648 #endif
15649
15650 ;
15651 return 0;
15652 }
15653 _ACEOF
15654 rm -f conftest.$ac_objext
15655 if { (ac_try="$ac_compile"
15656 case "(($ac_try" in
15657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15658 *) ac_try_echo=$ac_try;;
15659 esac
15660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15661 (eval "$ac_compile") 2>conftest.er1
15662 ac_status=$?
15663 grep -v '^ *+' conftest.er1 >conftest.err
15664 rm -f conftest.er1
15665 cat conftest.err >&5
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); } && {
15668 test -z "$ac_c_werror_flag" ||
15669 test ! -s conftest.err
15670 } && test -s conftest.$ac_objext; then
15671 bakefile_cv_c_compiler___xlC__=yes
15672 else
15673 echo "$as_me: failed program was:" >&5
15674 sed 's/^/| /' conftest.$ac_ext >&5
15675
15676 bakefile_cv_c_compiler___xlC__=no
15677
15678 fi
15679
15680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15681
15682
15683 fi
15684 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15685 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15686 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15687 :; XLCC=yes
15688 else
15689 :;
15690 fi
15691 ac_ext=c
15692 ac_cpp='$CPP $CPPFLAGS'
15693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15696
15697
15698
15699 ;;
15700
15701 Darwin)
15702
15703
15704 ac_ext=c
15705 ac_cpp='$CPP $CPPFLAGS'
15706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15709
15710 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15711 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15712 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15713 echo $ECHO_N "(cached) $ECHO_C" >&6
15714 else
15715 cat >conftest.$ac_ext <<_ACEOF
15716 /* confdefs.h. */
15717 _ACEOF
15718 cat confdefs.h >>conftest.$ac_ext
15719 cat >>conftest.$ac_ext <<_ACEOF
15720 /* end confdefs.h. */
15721
15722 int
15723 main ()
15724 {
15725
15726 #ifndef __MWERKS__
15727 choke me
15728 #endif
15729
15730 ;
15731 return 0;
15732 }
15733 _ACEOF
15734 rm -f conftest.$ac_objext
15735 if { (ac_try="$ac_compile"
15736 case "(($ac_try" in
15737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15738 *) ac_try_echo=$ac_try;;
15739 esac
15740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15741 (eval "$ac_compile") 2>conftest.er1
15742 ac_status=$?
15743 grep -v '^ *+' conftest.er1 >conftest.err
15744 rm -f conftest.er1
15745 cat conftest.err >&5
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); } && {
15748 test -z "$ac_c_werror_flag" ||
15749 test ! -s conftest.err
15750 } && test -s conftest.$ac_objext; then
15751 bakefile_cv_c_compiler___MWERKS__=yes
15752 else
15753 echo "$as_me: failed program was:" >&5
15754 sed 's/^/| /' conftest.$ac_ext >&5
15755
15756 bakefile_cv_c_compiler___MWERKS__=no
15757
15758 fi
15759
15760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15761
15762
15763 fi
15764 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15765 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15766 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15767 :; MWCC=yes
15768 else
15769 :;
15770 fi
15771 ac_ext=c
15772 ac_cpp='$CPP $CPPFLAGS'
15773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15776
15777
15778
15779 if test "$MWCC" != "yes"; then
15780
15781
15782 ac_ext=c
15783 ac_cpp='$CPP $CPPFLAGS'
15784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15787
15788 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15789 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15790 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15791 echo $ECHO_N "(cached) $ECHO_C" >&6
15792 else
15793 cat >conftest.$ac_ext <<_ACEOF
15794 /* confdefs.h. */
15795 _ACEOF
15796 cat confdefs.h >>conftest.$ac_ext
15797 cat >>conftest.$ac_ext <<_ACEOF
15798 /* end confdefs.h. */
15799
15800 int
15801 main ()
15802 {
15803
15804 #ifndef __xlC__
15805 choke me
15806 #endif
15807
15808 ;
15809 return 0;
15810 }
15811 _ACEOF
15812 rm -f conftest.$ac_objext
15813 if { (ac_try="$ac_compile"
15814 case "(($ac_try" in
15815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15816 *) ac_try_echo=$ac_try;;
15817 esac
15818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15819 (eval "$ac_compile") 2>conftest.er1
15820 ac_status=$?
15821 grep -v '^ *+' conftest.er1 >conftest.err
15822 rm -f conftest.er1
15823 cat conftest.err >&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } && {
15826 test -z "$ac_c_werror_flag" ||
15827 test ! -s conftest.err
15828 } && test -s conftest.$ac_objext; then
15829 bakefile_cv_c_compiler___xlC__=yes
15830 else
15831 echo "$as_me: failed program was:" >&5
15832 sed 's/^/| /' conftest.$ac_ext >&5
15833
15834 bakefile_cv_c_compiler___xlC__=no
15835
15836 fi
15837
15838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15839
15840
15841 fi
15842 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15843 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15844 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15845 :; XLCC=yes
15846 else
15847 :;
15848 fi
15849 ac_ext=c
15850 ac_cpp='$CPP $CPPFLAGS'
15851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15854
15855
15856
15857 fi
15858 ;;
15859
15860 IRIX*)
15861
15862
15863 ac_ext=c
15864 ac_cpp='$CPP $CPPFLAGS'
15865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15868
15869 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15870 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15871 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15872 echo $ECHO_N "(cached) $ECHO_C" >&6
15873 else
15874 cat >conftest.$ac_ext <<_ACEOF
15875 /* confdefs.h. */
15876 _ACEOF
15877 cat confdefs.h >>conftest.$ac_ext
15878 cat >>conftest.$ac_ext <<_ACEOF
15879 /* end confdefs.h. */
15880
15881 int
15882 main ()
15883 {
15884
15885 #ifndef _SGI_COMPILER_VERSION
15886 choke me
15887 #endif
15888
15889 ;
15890 return 0;
15891 }
15892 _ACEOF
15893 rm -f conftest.$ac_objext
15894 if { (ac_try="$ac_compile"
15895 case "(($ac_try" in
15896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15897 *) ac_try_echo=$ac_try;;
15898 esac
15899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15900 (eval "$ac_compile") 2>conftest.er1
15901 ac_status=$?
15902 grep -v '^ *+' conftest.er1 >conftest.err
15903 rm -f conftest.er1
15904 cat conftest.err >&5
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); } && {
15907 test -z "$ac_c_werror_flag" ||
15908 test ! -s conftest.err
15909 } && test -s conftest.$ac_objext; then
15910 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15911 else
15912 echo "$as_me: failed program was:" >&5
15913 sed 's/^/| /' conftest.$ac_ext >&5
15914
15915 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15916
15917 fi
15918
15919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15920
15921
15922 fi
15923 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15924 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15925 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15926 :; SGICC=yes
15927 else
15928 :;
15929 fi
15930 ac_ext=c
15931 ac_cpp='$CPP $CPPFLAGS'
15932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15935
15936
15937
15938 ;;
15939
15940 Linux*)
15941 if test "$INTELCC" != "yes"; then
15942
15943
15944 ac_ext=c
15945 ac_cpp='$CPP $CPPFLAGS'
15946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15949
15950 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15951 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15952 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15953 echo $ECHO_N "(cached) $ECHO_C" >&6
15954 else
15955 cat >conftest.$ac_ext <<_ACEOF
15956 /* confdefs.h. */
15957 _ACEOF
15958 cat confdefs.h >>conftest.$ac_ext
15959 cat >>conftest.$ac_ext <<_ACEOF
15960 /* end confdefs.h. */
15961
15962 int
15963 main ()
15964 {
15965
15966 #ifndef __SUNPRO_C
15967 choke me
15968 #endif
15969
15970 ;
15971 return 0;
15972 }
15973 _ACEOF
15974 rm -f conftest.$ac_objext
15975 if { (ac_try="$ac_compile"
15976 case "(($ac_try" in
15977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15978 *) ac_try_echo=$ac_try;;
15979 esac
15980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15981 (eval "$ac_compile") 2>conftest.er1
15982 ac_status=$?
15983 grep -v '^ *+' conftest.er1 >conftest.err
15984 rm -f conftest.er1
15985 cat conftest.err >&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); } && {
15988 test -z "$ac_c_werror_flag" ||
15989 test ! -s conftest.err
15990 } && test -s conftest.$ac_objext; then
15991 bakefile_cv_c_compiler___SUNPRO_C=yes
15992 else
15993 echo "$as_me: failed program was:" >&5
15994 sed 's/^/| /' conftest.$ac_ext >&5
15995
15996 bakefile_cv_c_compiler___SUNPRO_C=no
15997
15998 fi
15999
16000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16001
16002
16003 fi
16004 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16005 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16006 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16007 :; SUNCC=yes
16008 else
16009 :;
16010 fi
16011 ac_ext=c
16012 ac_cpp='$CPP $CPPFLAGS'
16013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16016
16017
16018
16019 fi
16020 ;;
16021
16022 HP-UX*)
16023
16024
16025 ac_ext=c
16026 ac_cpp='$CPP $CPPFLAGS'
16027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16030
16031 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16032 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16033 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16034 echo $ECHO_N "(cached) $ECHO_C" >&6
16035 else
16036 cat >conftest.$ac_ext <<_ACEOF
16037 /* confdefs.h. */
16038 _ACEOF
16039 cat confdefs.h >>conftest.$ac_ext
16040 cat >>conftest.$ac_ext <<_ACEOF
16041 /* end confdefs.h. */
16042
16043 int
16044 main ()
16045 {
16046
16047 #ifndef __HP_cc
16048 choke me
16049 #endif
16050
16051 ;
16052 return 0;
16053 }
16054 _ACEOF
16055 rm -f conftest.$ac_objext
16056 if { (ac_try="$ac_compile"
16057 case "(($ac_try" in
16058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16059 *) ac_try_echo=$ac_try;;
16060 esac
16061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16062 (eval "$ac_compile") 2>conftest.er1
16063 ac_status=$?
16064 grep -v '^ *+' conftest.er1 >conftest.err
16065 rm -f conftest.er1
16066 cat conftest.err >&5
16067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16068 (exit $ac_status); } && {
16069 test -z "$ac_c_werror_flag" ||
16070 test ! -s conftest.err
16071 } && test -s conftest.$ac_objext; then
16072 bakefile_cv_c_compiler___HP_cc=yes
16073 else
16074 echo "$as_me: failed program was:" >&5
16075 sed 's/^/| /' conftest.$ac_ext >&5
16076
16077 bakefile_cv_c_compiler___HP_cc=no
16078
16079 fi
16080
16081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16082
16083
16084 fi
16085 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16086 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16087 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16088 :; HPCC=yes
16089 else
16090 :;
16091 fi
16092 ac_ext=c
16093 ac_cpp='$CPP $CPPFLAGS'
16094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16097
16098
16099
16100 ;;
16101
16102 OSF1)
16103
16104
16105 ac_ext=c
16106 ac_cpp='$CPP $CPPFLAGS'
16107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16110
16111 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16112 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16113 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16114 echo $ECHO_N "(cached) $ECHO_C" >&6
16115 else
16116 cat >conftest.$ac_ext <<_ACEOF
16117 /* confdefs.h. */
16118 _ACEOF
16119 cat confdefs.h >>conftest.$ac_ext
16120 cat >>conftest.$ac_ext <<_ACEOF
16121 /* end confdefs.h. */
16122
16123 int
16124 main ()
16125 {
16126
16127 #ifndef __DECC
16128 choke me
16129 #endif
16130
16131 ;
16132 return 0;
16133 }
16134 _ACEOF
16135 rm -f conftest.$ac_objext
16136 if { (ac_try="$ac_compile"
16137 case "(($ac_try" in
16138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16139 *) ac_try_echo=$ac_try;;
16140 esac
16141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16142 (eval "$ac_compile") 2>conftest.er1
16143 ac_status=$?
16144 grep -v '^ *+' conftest.er1 >conftest.err
16145 rm -f conftest.er1
16146 cat conftest.err >&5
16147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148 (exit $ac_status); } && {
16149 test -z "$ac_c_werror_flag" ||
16150 test ! -s conftest.err
16151 } && test -s conftest.$ac_objext; then
16152 bakefile_cv_c_compiler___DECC=yes
16153 else
16154 echo "$as_me: failed program was:" >&5
16155 sed 's/^/| /' conftest.$ac_ext >&5
16156
16157 bakefile_cv_c_compiler___DECC=no
16158
16159 fi
16160
16161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16162
16163
16164 fi
16165 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16166 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16167 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16168 :; COMPAQCC=yes
16169 else
16170 :;
16171 fi
16172 ac_ext=c
16173 ac_cpp='$CPP $CPPFLAGS'
16174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16177
16178
16179
16180 ;;
16181
16182 SunOS)
16183
16184
16185 ac_ext=c
16186 ac_cpp='$CPP $CPPFLAGS'
16187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16190
16191 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16192 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16193 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16195 else
16196 cat >conftest.$ac_ext <<_ACEOF
16197 /* confdefs.h. */
16198 _ACEOF
16199 cat confdefs.h >>conftest.$ac_ext
16200 cat >>conftest.$ac_ext <<_ACEOF
16201 /* end confdefs.h. */
16202
16203 int
16204 main ()
16205 {
16206
16207 #ifndef __SUNPRO_C
16208 choke me
16209 #endif
16210
16211 ;
16212 return 0;
16213 }
16214 _ACEOF
16215 rm -f conftest.$ac_objext
16216 if { (ac_try="$ac_compile"
16217 case "(($ac_try" in
16218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16219 *) ac_try_echo=$ac_try;;
16220 esac
16221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16222 (eval "$ac_compile") 2>conftest.er1
16223 ac_status=$?
16224 grep -v '^ *+' conftest.er1 >conftest.err
16225 rm -f conftest.er1
16226 cat conftest.err >&5
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); } && {
16229 test -z "$ac_c_werror_flag" ||
16230 test ! -s conftest.err
16231 } && test -s conftest.$ac_objext; then
16232 bakefile_cv_c_compiler___SUNPRO_C=yes
16233 else
16234 echo "$as_me: failed program was:" >&5
16235 sed 's/^/| /' conftest.$ac_ext >&5
16236
16237 bakefile_cv_c_compiler___SUNPRO_C=no
16238
16239 fi
16240
16241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16242
16243
16244 fi
16245 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16246 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16247 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16248 :; SUNCC=yes
16249 else
16250 :;
16251 fi
16252 ac_ext=c
16253 ac_cpp='$CPP $CPPFLAGS'
16254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16257
16258
16259
16260 ;;
16261 esac
16262 fi
16263
16264
16265
16266 ac_ext=c
16267 ac_cpp='$CPP $CPPFLAGS'
16268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16271 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16272 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16273 # On Suns, sometimes $CPP names a directory.
16274 if test -n "$CPP" && test -d "$CPP"; then
16275 CPP=
16276 fi
16277 if test -z "$CPP"; then
16278 if test "${ac_cv_prog_CPP+set}" = set; then
16279 echo $ECHO_N "(cached) $ECHO_C" >&6
16280 else
16281 # Double quotes because CPP needs to be expanded
16282 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16283 do
16284 ac_preproc_ok=false
16285 for ac_c_preproc_warn_flag in '' yes
16286 do
16287 # Use a header file that comes with gcc, so configuring glibc
16288 # with a fresh cross-compiler works.
16289 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16290 # <limits.h> exists even on freestanding compilers.
16291 # On the NeXT, cc -E runs the code through the compiler's parser,
16292 # not just through cpp. "Syntax error" is here to catch this case.
16293 cat >conftest.$ac_ext <<_ACEOF
16294 /* confdefs.h. */
16295 _ACEOF
16296 cat confdefs.h >>conftest.$ac_ext
16297 cat >>conftest.$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16299 #ifdef __STDC__
16300 # include <limits.h>
16301 #else
16302 # include <assert.h>
16303 #endif
16304 Syntax error
16305 _ACEOF
16306 if { (ac_try="$ac_cpp conftest.$ac_ext"
16307 case "(($ac_try" in
16308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16309 *) ac_try_echo=$ac_try;;
16310 esac
16311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16312 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16313 ac_status=$?
16314 grep -v '^ *+' conftest.er1 >conftest.err
16315 rm -f conftest.er1
16316 cat conftest.err >&5
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); } >/dev/null && {
16319 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16320 test ! -s conftest.err
16321 }; then
16322 :
16323 else
16324 echo "$as_me: failed program was:" >&5
16325 sed 's/^/| /' conftest.$ac_ext >&5
16326
16327 # Broken: fails on valid input.
16328 continue
16329 fi
16330
16331 rm -f conftest.err conftest.$ac_ext
16332
16333 # OK, works on sane cases. Now check whether nonexistent headers
16334 # can be detected and how.
16335 cat >conftest.$ac_ext <<_ACEOF
16336 /* confdefs.h. */
16337 _ACEOF
16338 cat confdefs.h >>conftest.$ac_ext
16339 cat >>conftest.$ac_ext <<_ACEOF
16340 /* end confdefs.h. */
16341 #include <ac_nonexistent.h>
16342 _ACEOF
16343 if { (ac_try="$ac_cpp conftest.$ac_ext"
16344 case "(($ac_try" in
16345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16346 *) ac_try_echo=$ac_try;;
16347 esac
16348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16349 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16350 ac_status=$?
16351 grep -v '^ *+' conftest.er1 >conftest.err
16352 rm -f conftest.er1
16353 cat conftest.err >&5
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); } >/dev/null && {
16356 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16357 test ! -s conftest.err
16358 }; then
16359 # Broken: success on invalid input.
16360 continue
16361 else
16362 echo "$as_me: failed program was:" >&5
16363 sed 's/^/| /' conftest.$ac_ext >&5
16364
16365 # Passes both tests.
16366 ac_preproc_ok=:
16367 break
16368 fi
16369
16370 rm -f conftest.err conftest.$ac_ext
16371
16372 done
16373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16374 rm -f conftest.err conftest.$ac_ext
16375 if $ac_preproc_ok; then
16376 break
16377 fi
16378
16379 done
16380 ac_cv_prog_CPP=$CPP
16381
16382 fi
16383 CPP=$ac_cv_prog_CPP
16384 else
16385 ac_cv_prog_CPP=$CPP
16386 fi
16387 { echo "$as_me:$LINENO: result: $CPP" >&5
16388 echo "${ECHO_T}$CPP" >&6; }
16389 ac_preproc_ok=false
16390 for ac_c_preproc_warn_flag in '' yes
16391 do
16392 # Use a header file that comes with gcc, so configuring glibc
16393 # with a fresh cross-compiler works.
16394 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16395 # <limits.h> exists even on freestanding compilers.
16396 # On the NeXT, cc -E runs the code through the compiler's parser,
16397 # not just through cpp. "Syntax error" is here to catch this case.
16398 cat >conftest.$ac_ext <<_ACEOF
16399 /* confdefs.h. */
16400 _ACEOF
16401 cat confdefs.h >>conftest.$ac_ext
16402 cat >>conftest.$ac_ext <<_ACEOF
16403 /* end confdefs.h. */
16404 #ifdef __STDC__
16405 # include <limits.h>
16406 #else
16407 # include <assert.h>
16408 #endif
16409 Syntax error
16410 _ACEOF
16411 if { (ac_try="$ac_cpp conftest.$ac_ext"
16412 case "(($ac_try" in
16413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16414 *) ac_try_echo=$ac_try;;
16415 esac
16416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16417 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16418 ac_status=$?
16419 grep -v '^ *+' conftest.er1 >conftest.err
16420 rm -f conftest.er1
16421 cat conftest.err >&5
16422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16423 (exit $ac_status); } >/dev/null && {
16424 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16425 test ! -s conftest.err
16426 }; then
16427 :
16428 else
16429 echo "$as_me: failed program was:" >&5
16430 sed 's/^/| /' conftest.$ac_ext >&5
16431
16432 # Broken: fails on valid input.
16433 continue
16434 fi
16435
16436 rm -f conftest.err conftest.$ac_ext
16437
16438 # OK, works on sane cases. Now check whether nonexistent headers
16439 # can be detected and how.
16440 cat >conftest.$ac_ext <<_ACEOF
16441 /* confdefs.h. */
16442 _ACEOF
16443 cat confdefs.h >>conftest.$ac_ext
16444 cat >>conftest.$ac_ext <<_ACEOF
16445 /* end confdefs.h. */
16446 #include <ac_nonexistent.h>
16447 _ACEOF
16448 if { (ac_try="$ac_cpp conftest.$ac_ext"
16449 case "(($ac_try" in
16450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16451 *) ac_try_echo=$ac_try;;
16452 esac
16453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16454 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16455 ac_status=$?
16456 grep -v '^ *+' conftest.er1 >conftest.err
16457 rm -f conftest.er1
16458 cat conftest.err >&5
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); } >/dev/null && {
16461 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16462 test ! -s conftest.err
16463 }; then
16464 # Broken: success on invalid input.
16465 continue
16466 else
16467 echo "$as_me: failed program was:" >&5
16468 sed 's/^/| /' conftest.$ac_ext >&5
16469
16470 # Passes both tests.
16471 ac_preproc_ok=:
16472 break
16473 fi
16474
16475 rm -f conftest.err conftest.$ac_ext
16476
16477 done
16478 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16479 rm -f conftest.err conftest.$ac_ext
16480 if $ac_preproc_ok; then
16481 :
16482 else
16483 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16484 See \`config.log' for more details." >&5
16485 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16486 See \`config.log' for more details." >&2;}
16487 { (exit 1); exit 1; }; }
16488 fi
16489
16490 ac_ext=c
16491 ac_cpp='$CPP $CPPFLAGS'
16492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16495
16496
16497 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16498 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16499 if test "${ac_cv_path_GREP+set}" = set; then
16500 echo $ECHO_N "(cached) $ECHO_C" >&6
16501 else
16502 # Extract the first word of "grep ggrep" to use in msg output
16503 if test -z "$GREP"; then
16504 set dummy grep ggrep; ac_prog_name=$2
16505 if test "${ac_cv_path_GREP+set}" = set; then
16506 echo $ECHO_N "(cached) $ECHO_C" >&6
16507 else
16508 ac_path_GREP_found=false
16509 # Loop through the user's path and test for each of PROGNAME-LIST
16510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16511 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16512 do
16513 IFS=$as_save_IFS
16514 test -z "$as_dir" && as_dir=.
16515 for ac_prog in grep ggrep; do
16516 for ac_exec_ext in '' $ac_executable_extensions; do
16517 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16518 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16519 # Check for GNU ac_path_GREP and select it if it is found.
16520 # Check for GNU $ac_path_GREP
16521 case `"$ac_path_GREP" --version 2>&1` in
16522 *GNU*)
16523 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16524 *)
16525 ac_count=0
16526 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16527 while :
16528 do
16529 cat "conftest.in" "conftest.in" >"conftest.tmp"
16530 mv "conftest.tmp" "conftest.in"
16531 cp "conftest.in" "conftest.nl"
16532 echo 'GREP' >> "conftest.nl"
16533 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16534 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16535 ac_count=`expr $ac_count + 1`
16536 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16537 # Best one so far, save it but keep looking for a better one
16538 ac_cv_path_GREP="$ac_path_GREP"
16539 ac_path_GREP_max=$ac_count
16540 fi
16541 # 10*(2^10) chars as input seems more than enough
16542 test $ac_count -gt 10 && break
16543 done
16544 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16545 esac
16546
16547
16548 $ac_path_GREP_found && break 3
16549 done
16550 done
16551
16552 done
16553 IFS=$as_save_IFS
16554
16555
16556 fi
16557
16558 GREP="$ac_cv_path_GREP"
16559 if test -z "$GREP"; then
16560 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16561 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16562 { (exit 1); exit 1; }; }
16563 fi
16564
16565 else
16566 ac_cv_path_GREP=$GREP
16567 fi
16568
16569
16570 fi
16571 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16572 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16573 GREP="$ac_cv_path_GREP"
16574
16575
16576 { echo "$as_me:$LINENO: checking for egrep" >&5
16577 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16578 if test "${ac_cv_path_EGREP+set}" = set; then
16579 echo $ECHO_N "(cached) $ECHO_C" >&6
16580 else
16581 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16582 then ac_cv_path_EGREP="$GREP -E"
16583 else
16584 # Extract the first word of "egrep" to use in msg output
16585 if test -z "$EGREP"; then
16586 set dummy egrep; ac_prog_name=$2
16587 if test "${ac_cv_path_EGREP+set}" = set; then
16588 echo $ECHO_N "(cached) $ECHO_C" >&6
16589 else
16590 ac_path_EGREP_found=false
16591 # Loop through the user's path and test for each of PROGNAME-LIST
16592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16593 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16594 do
16595 IFS=$as_save_IFS
16596 test -z "$as_dir" && as_dir=.
16597 for ac_prog in egrep; do
16598 for ac_exec_ext in '' $ac_executable_extensions; do
16599 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16600 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16601 # Check for GNU ac_path_EGREP and select it if it is found.
16602 # Check for GNU $ac_path_EGREP
16603 case `"$ac_path_EGREP" --version 2>&1` in
16604 *GNU*)
16605 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16606 *)
16607 ac_count=0
16608 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16609 while :
16610 do
16611 cat "conftest.in" "conftest.in" >"conftest.tmp"
16612 mv "conftest.tmp" "conftest.in"
16613 cp "conftest.in" "conftest.nl"
16614 echo 'EGREP' >> "conftest.nl"
16615 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16616 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16617 ac_count=`expr $ac_count + 1`
16618 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16619 # Best one so far, save it but keep looking for a better one
16620 ac_cv_path_EGREP="$ac_path_EGREP"
16621 ac_path_EGREP_max=$ac_count
16622 fi
16623 # 10*(2^10) chars as input seems more than enough
16624 test $ac_count -gt 10 && break
16625 done
16626 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16627 esac
16628
16629
16630 $ac_path_EGREP_found && break 3
16631 done
16632 done
16633
16634 done
16635 IFS=$as_save_IFS
16636
16637
16638 fi
16639
16640 EGREP="$ac_cv_path_EGREP"
16641 if test -z "$EGREP"; then
16642 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16643 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16644 { (exit 1); exit 1; }; }
16645 fi
16646
16647 else
16648 ac_cv_path_EGREP=$EGREP
16649 fi
16650
16651
16652 fi
16653 fi
16654 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16655 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16656 EGREP="$ac_cv_path_EGREP"
16657
16658
16659 if test $ac_cv_c_compiler_gnu = yes; then
16660 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16661 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16662 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16663 echo $ECHO_N "(cached) $ECHO_C" >&6
16664 else
16665 ac_pattern="Autoconf.*'x'"
16666 cat >conftest.$ac_ext <<_ACEOF
16667 /* confdefs.h. */
16668 _ACEOF
16669 cat confdefs.h >>conftest.$ac_ext
16670 cat >>conftest.$ac_ext <<_ACEOF
16671 /* end confdefs.h. */
16672 #include <sgtty.h>
16673 Autoconf TIOCGETP
16674 _ACEOF
16675 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16676 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16677 ac_cv_prog_gcc_traditional=yes
16678 else
16679 ac_cv_prog_gcc_traditional=no
16680 fi
16681 rm -f conftest*
16682
16683
16684 if test $ac_cv_prog_gcc_traditional = no; then
16685 cat >conftest.$ac_ext <<_ACEOF
16686 /* confdefs.h. */
16687 _ACEOF
16688 cat confdefs.h >>conftest.$ac_ext
16689 cat >>conftest.$ac_ext <<_ACEOF
16690 /* end confdefs.h. */
16691 #include <termio.h>
16692 Autoconf TCGETA
16693 _ACEOF
16694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16695 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16696 ac_cv_prog_gcc_traditional=yes
16697 fi
16698 rm -f conftest*
16699
16700 fi
16701 fi
16702 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16703 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16704 if test $ac_cv_prog_gcc_traditional = yes; then
16705 CC="$CC -traditional"
16706 fi
16707 fi
16708
16709
16710 CXXFLAGS=${CXXFLAGS:=}
16711
16712
16713
16714 ac_ext=cpp
16715 ac_cpp='$CXXCPP $CPPFLAGS'
16716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16719 if test -z "$CXX"; then
16720 if test -n "$CCC"; then
16721 CXX=$CCC
16722 else
16723 if test -n "$ac_tool_prefix"; then
16724 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16725 do
16726 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16727 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16730 if test "${ac_cv_prog_CXX+set}" = set; then
16731 echo $ECHO_N "(cached) $ECHO_C" >&6
16732 else
16733 if test -n "$CXX"; then
16734 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16735 else
16736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16737 for as_dir in $PATH
16738 do
16739 IFS=$as_save_IFS
16740 test -z "$as_dir" && as_dir=.
16741 for ac_exec_ext in '' $ac_executable_extensions; do
16742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16743 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16745 break 2
16746 fi
16747 done
16748 done
16749 IFS=$as_save_IFS
16750
16751 fi
16752 fi
16753 CXX=$ac_cv_prog_CXX
16754 if test -n "$CXX"; then
16755 { echo "$as_me:$LINENO: result: $CXX" >&5
16756 echo "${ECHO_T}$CXX" >&6; }
16757 else
16758 { echo "$as_me:$LINENO: result: no" >&5
16759 echo "${ECHO_T}no" >&6; }
16760 fi
16761
16762
16763 test -n "$CXX" && break
16764 done
16765 fi
16766 if test -z "$CXX"; then
16767 ac_ct_CXX=$CXX
16768 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16769 do
16770 # Extract the first word of "$ac_prog", so it can be a program name with args.
16771 set dummy $ac_prog; ac_word=$2
16772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16774 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16775 echo $ECHO_N "(cached) $ECHO_C" >&6
16776 else
16777 if test -n "$ac_ct_CXX"; then
16778 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16779 else
16780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16781 for as_dir in $PATH
16782 do
16783 IFS=$as_save_IFS
16784 test -z "$as_dir" && as_dir=.
16785 for ac_exec_ext in '' $ac_executable_extensions; do
16786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16787 ac_cv_prog_ac_ct_CXX="$ac_prog"
16788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16789 break 2
16790 fi
16791 done
16792 done
16793 IFS=$as_save_IFS
16794
16795 fi
16796 fi
16797 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16798 if test -n "$ac_ct_CXX"; then
16799 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16800 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16801 else
16802 { echo "$as_me:$LINENO: result: no" >&5
16803 echo "${ECHO_T}no" >&6; }
16804 fi
16805
16806
16807 test -n "$ac_ct_CXX" && break
16808 done
16809
16810 if test "x$ac_ct_CXX" = x; then
16811 CXX="g++"
16812 else
16813 case $cross_compiling:$ac_tool_warned in
16814 yes:)
16815 { echo "$as_me:$LINENO: 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." >&5
16818 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16819 whose name does not start with the host triplet. If you think this
16820 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16821 ac_tool_warned=yes ;;
16822 esac
16823 CXX=$ac_ct_CXX
16824 fi
16825 fi
16826
16827 fi
16828 fi
16829 # Provide some information about the compiler.
16830 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16831 ac_compiler=`set X $ac_compile; echo $2`
16832 { (ac_try="$ac_compiler --version >&5"
16833 case "(($ac_try" in
16834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16835 *) ac_try_echo=$ac_try;;
16836 esac
16837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16838 (eval "$ac_compiler --version >&5") 2>&5
16839 ac_status=$?
16840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16841 (exit $ac_status); }
16842 { (ac_try="$ac_compiler -v >&5"
16843 case "(($ac_try" in
16844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16845 *) ac_try_echo=$ac_try;;
16846 esac
16847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16848 (eval "$ac_compiler -v >&5") 2>&5
16849 ac_status=$?
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }
16852 { (ac_try="$ac_compiler -V >&5"
16853 case "(($ac_try" in
16854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16855 *) ac_try_echo=$ac_try;;
16856 esac
16857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16858 (eval "$ac_compiler -V >&5") 2>&5
16859 ac_status=$?
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861 (exit $ac_status); }
16862
16863 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16864 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16865 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16866 echo $ECHO_N "(cached) $ECHO_C" >&6
16867 else
16868 cat >conftest.$ac_ext <<_ACEOF
16869 /* confdefs.h. */
16870 _ACEOF
16871 cat confdefs.h >>conftest.$ac_ext
16872 cat >>conftest.$ac_ext <<_ACEOF
16873 /* end confdefs.h. */
16874
16875 int
16876 main ()
16877 {
16878 #ifndef __GNUC__
16879 choke me
16880 #endif
16881
16882 ;
16883 return 0;
16884 }
16885 _ACEOF
16886 rm -f conftest.$ac_objext
16887 if { (ac_try="$ac_compile"
16888 case "(($ac_try" in
16889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16890 *) ac_try_echo=$ac_try;;
16891 esac
16892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16893 (eval "$ac_compile") 2>conftest.er1
16894 ac_status=$?
16895 grep -v '^ *+' conftest.er1 >conftest.err
16896 rm -f conftest.er1
16897 cat conftest.err >&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); } && {
16900 test -z "$ac_cxx_werror_flag" ||
16901 test ! -s conftest.err
16902 } && test -s conftest.$ac_objext; then
16903 ac_compiler_gnu=yes
16904 else
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.$ac_ext >&5
16907
16908 ac_compiler_gnu=no
16909 fi
16910
16911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16912 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16913
16914 fi
16915 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16916 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16917 GXX=`test $ac_compiler_gnu = yes && echo yes`
16918 ac_test_CXXFLAGS=${CXXFLAGS+set}
16919 ac_save_CXXFLAGS=$CXXFLAGS
16920 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16921 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16922 if test "${ac_cv_prog_cxx_g+set}" = set; then
16923 echo $ECHO_N "(cached) $ECHO_C" >&6
16924 else
16925 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16926 ac_cxx_werror_flag=yes
16927 ac_cv_prog_cxx_g=no
16928 CXXFLAGS="-g"
16929 cat >conftest.$ac_ext <<_ACEOF
16930 /* confdefs.h. */
16931 _ACEOF
16932 cat confdefs.h >>conftest.$ac_ext
16933 cat >>conftest.$ac_ext <<_ACEOF
16934 /* end confdefs.h. */
16935
16936 int
16937 main ()
16938 {
16939
16940 ;
16941 return 0;
16942 }
16943 _ACEOF
16944 rm -f conftest.$ac_objext
16945 if { (ac_try="$ac_compile"
16946 case "(($ac_try" in
16947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16948 *) ac_try_echo=$ac_try;;
16949 esac
16950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16951 (eval "$ac_compile") 2>conftest.er1
16952 ac_status=$?
16953 grep -v '^ *+' conftest.er1 >conftest.err
16954 rm -f conftest.er1
16955 cat conftest.err >&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); } && {
16958 test -z "$ac_cxx_werror_flag" ||
16959 test ! -s conftest.err
16960 } && test -s conftest.$ac_objext; then
16961 ac_cv_prog_cxx_g=yes
16962 else
16963 echo "$as_me: failed program was:" >&5
16964 sed 's/^/| /' conftest.$ac_ext >&5
16965
16966 CXXFLAGS=""
16967 cat >conftest.$ac_ext <<_ACEOF
16968 /* confdefs.h. */
16969 _ACEOF
16970 cat confdefs.h >>conftest.$ac_ext
16971 cat >>conftest.$ac_ext <<_ACEOF
16972 /* end confdefs.h. */
16973
16974 int
16975 main ()
16976 {
16977
16978 ;
16979 return 0;
16980 }
16981 _ACEOF
16982 rm -f conftest.$ac_objext
16983 if { (ac_try="$ac_compile"
16984 case "(($ac_try" in
16985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16986 *) ac_try_echo=$ac_try;;
16987 esac
16988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16989 (eval "$ac_compile") 2>conftest.er1
16990 ac_status=$?
16991 grep -v '^ *+' conftest.er1 >conftest.err
16992 rm -f conftest.er1
16993 cat conftest.err >&5
16994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16995 (exit $ac_status); } && {
16996 test -z "$ac_cxx_werror_flag" ||
16997 test ! -s conftest.err
16998 } && test -s conftest.$ac_objext; then
16999 :
17000 else
17001 echo "$as_me: failed program was:" >&5
17002 sed 's/^/| /' conftest.$ac_ext >&5
17003
17004 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17005 CXXFLAGS="-g"
17006 cat >conftest.$ac_ext <<_ACEOF
17007 /* confdefs.h. */
17008 _ACEOF
17009 cat confdefs.h >>conftest.$ac_ext
17010 cat >>conftest.$ac_ext <<_ACEOF
17011 /* end confdefs.h. */
17012
17013 int
17014 main ()
17015 {
17016
17017 ;
17018 return 0;
17019 }
17020 _ACEOF
17021 rm -f conftest.$ac_objext
17022 if { (ac_try="$ac_compile"
17023 case "(($ac_try" in
17024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17025 *) ac_try_echo=$ac_try;;
17026 esac
17027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17028 (eval "$ac_compile") 2>conftest.er1
17029 ac_status=$?
17030 grep -v '^ *+' conftest.er1 >conftest.err
17031 rm -f conftest.er1
17032 cat conftest.err >&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); } && {
17035 test -z "$ac_cxx_werror_flag" ||
17036 test ! -s conftest.err
17037 } && test -s conftest.$ac_objext; then
17038 ac_cv_prog_cxx_g=yes
17039 else
17040 echo "$as_me: failed program was:" >&5
17041 sed 's/^/| /' conftest.$ac_ext >&5
17042
17043
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 fi
17051
17052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17053 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17054 fi
17055 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17056 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17057 if test "$ac_test_CXXFLAGS" = set; then
17058 CXXFLAGS=$ac_save_CXXFLAGS
17059 elif test $ac_cv_prog_cxx_g = yes; then
17060 if test "$GXX" = yes; then
17061 CXXFLAGS="-g -O2"
17062 else
17063 CXXFLAGS="-g"
17064 fi
17065 else
17066 if test "$GXX" = yes; then
17067 CXXFLAGS="-O2"
17068 else
17069 CXXFLAGS=
17070 fi
17071 fi
17072 ac_ext=c
17073 ac_cpp='$CPP $CPPFLAGS'
17074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17077
17078
17079
17080
17081 ac_ext=cpp
17082 ac_cpp='$CXXCPP $CPPFLAGS'
17083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17086
17087 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17088 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17089 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17090 echo $ECHO_N "(cached) $ECHO_C" >&6
17091 else
17092 cat >conftest.$ac_ext <<_ACEOF
17093 /* confdefs.h. */
17094 _ACEOF
17095 cat confdefs.h >>conftest.$ac_ext
17096 cat >>conftest.$ac_ext <<_ACEOF
17097 /* end confdefs.h. */
17098
17099 int
17100 main ()
17101 {
17102
17103 #ifndef __INTEL_COMPILER
17104 choke me
17105 #endif
17106
17107 ;
17108 return 0;
17109 }
17110 _ACEOF
17111 rm -f conftest.$ac_objext
17112 if { (ac_try="$ac_compile"
17113 case "(($ac_try" in
17114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17115 *) ac_try_echo=$ac_try;;
17116 esac
17117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17118 (eval "$ac_compile") 2>conftest.er1
17119 ac_status=$?
17120 grep -v '^ *+' conftest.er1 >conftest.err
17121 rm -f conftest.er1
17122 cat conftest.err >&5
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); } && {
17125 test -z "$ac_cxx_werror_flag" ||
17126 test ! -s conftest.err
17127 } && test -s conftest.$ac_objext; then
17128 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17129 else
17130 echo "$as_me: failed program was:" >&5
17131 sed 's/^/| /' conftest.$ac_ext >&5
17132
17133 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17134
17135 fi
17136
17137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17138
17139
17140 fi
17141 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17142 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17143 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17144 :; INTELCXX=yes
17145 else
17146 :;
17147 fi
17148 ac_ext=c
17149 ac_cpp='$CPP $CPPFLAGS'
17150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17153
17154
17155
17156
17157 if test "$INTELCXX" = "yes"; then
17158
17159
17160 ac_ext=cpp
17161 ac_cpp='$CXXCPP $CPPFLAGS'
17162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17165
17166 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17167 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17168 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17169 echo $ECHO_N "(cached) $ECHO_C" >&6
17170 else
17171 cat >conftest.$ac_ext <<_ACEOF
17172 /* confdefs.h. */
17173 _ACEOF
17174 cat confdefs.h >>conftest.$ac_ext
17175 cat >>conftest.$ac_ext <<_ACEOF
17176 /* end confdefs.h. */
17177
17178 int
17179 main ()
17180 {
17181
17182 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17183 choke me
17184 #endif
17185
17186 ;
17187 return 0;
17188 }
17189 _ACEOF
17190 rm -f conftest.$ac_objext
17191 if { (ac_try="$ac_compile"
17192 case "(($ac_try" in
17193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17194 *) ac_try_echo=$ac_try;;
17195 esac
17196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17197 (eval "$ac_compile") 2>conftest.er1
17198 ac_status=$?
17199 grep -v '^ *+' conftest.er1 >conftest.err
17200 rm -f conftest.er1
17201 cat conftest.err >&5
17202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 (exit $ac_status); } && {
17204 test -z "$ac_cxx_werror_flag" ||
17205 test ! -s conftest.err
17206 } && test -s conftest.$ac_objext; then
17207 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17208 else
17209 echo "$as_me: failed program was:" >&5
17210 sed 's/^/| /' conftest.$ac_ext >&5
17211
17212 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17213
17214 fi
17215
17216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17217
17218
17219 fi
17220 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17221 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17222 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17223 :; INTELCXX8=yes
17224 else
17225 :;
17226 fi
17227 ac_ext=c
17228 ac_cpp='$CPP $CPPFLAGS'
17229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17232
17233
17234
17235
17236
17237 ac_ext=cpp
17238 ac_cpp='$CXXCPP $CPPFLAGS'
17239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17242
17243 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17244 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17245 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17246 echo $ECHO_N "(cached) $ECHO_C" >&6
17247 else
17248 cat >conftest.$ac_ext <<_ACEOF
17249 /* confdefs.h. */
17250 _ACEOF
17251 cat confdefs.h >>conftest.$ac_ext
17252 cat >>conftest.$ac_ext <<_ACEOF
17253 /* end confdefs.h. */
17254
17255 int
17256 main ()
17257 {
17258
17259 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17260 choke me
17261 #endif
17262
17263 ;
17264 return 0;
17265 }
17266 _ACEOF
17267 rm -f conftest.$ac_objext
17268 if { (ac_try="$ac_compile"
17269 case "(($ac_try" in
17270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17271 *) ac_try_echo=$ac_try;;
17272 esac
17273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17274 (eval "$ac_compile") 2>conftest.er1
17275 ac_status=$?
17276 grep -v '^ *+' conftest.er1 >conftest.err
17277 rm -f conftest.er1
17278 cat conftest.err >&5
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); } && {
17281 test -z "$ac_cxx_werror_flag" ||
17282 test ! -s conftest.err
17283 } && test -s conftest.$ac_objext; then
17284 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17285 else
17286 echo "$as_me: failed program was:" >&5
17287 sed 's/^/| /' conftest.$ac_ext >&5
17288
17289 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17290
17291 fi
17292
17293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17294
17295
17296 fi
17297 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17298 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17299 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17300 :; INTELCXX10=yes
17301 else
17302 :;
17303 fi
17304 ac_ext=c
17305 ac_cpp='$CPP $CPPFLAGS'
17306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17309
17310
17311
17312 fi
17313
17314 if test "x$GCXX" != "xyes"; then
17315 if test "xCXX" = "xC"; then
17316 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17317 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17318 if test "${bakefile_cv_c_exto+set}" = set; then
17319 echo $ECHO_N "(cached) $ECHO_C" >&6
17320 else
17321 cat >conftest.$ac_ext <<_ACEOF
17322 /* confdefs.h. */
17323 _ACEOF
17324 cat confdefs.h >>conftest.$ac_ext
17325 cat >>conftest.$ac_ext <<_ACEOF
17326 /* end confdefs.h. */
17327
17328 int
17329 main ()
17330 {
17331
17332 ;
17333 return 0;
17334 }
17335 _ACEOF
17336 rm -f conftest.$ac_objext conftest.$ac_ext.o
17337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17338 (eval $ac_compile) 2>&5
17339 ac_status=$?
17340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17341 (exit $ac_status); }; then
17342 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17343 case $ac_file in
17344 conftest.$ac_ext.o)
17345 bakefile_cv_c_exto="-ext o"
17346 ;;
17347 *)
17348 ;;
17349 esac
17350 done
17351 else
17352 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17353 See \`config.log' for more details." >&5
17354 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17355 See \`config.log' for more details." >&2;}
17356 { (exit 1); exit 1; }; }
17357
17358 fi
17359
17360 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17361
17362 fi
17363 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17364 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17365 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17366 if test "c" = "c"; then
17367 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17368 fi
17369 if test "c" = "cxx"; then
17370 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17371 fi
17372 fi
17373
17374 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17375 unset ac_cv_prog_cc_g
17376 ac_test_CFLAGS=${CFLAGS+set}
17377 ac_save_CFLAGS=$CFLAGS
17378 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17379 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17380 if test "${ac_cv_prog_cc_g+set}" = set; then
17381 echo $ECHO_N "(cached) $ECHO_C" >&6
17382 else
17383 ac_save_c_werror_flag=$ac_c_werror_flag
17384 ac_c_werror_flag=yes
17385 ac_cv_prog_cc_g=no
17386 CFLAGS="-g"
17387 cat >conftest.$ac_ext <<_ACEOF
17388 /* confdefs.h. */
17389 _ACEOF
17390 cat confdefs.h >>conftest.$ac_ext
17391 cat >>conftest.$ac_ext <<_ACEOF
17392 /* end confdefs.h. */
17393
17394 int
17395 main ()
17396 {
17397
17398 ;
17399 return 0;
17400 }
17401 _ACEOF
17402 rm -f conftest.$ac_objext
17403 if { (ac_try="$ac_compile"
17404 case "(($ac_try" in
17405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17406 *) ac_try_echo=$ac_try;;
17407 esac
17408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17409 (eval "$ac_compile") 2>conftest.er1
17410 ac_status=$?
17411 grep -v '^ *+' conftest.er1 >conftest.err
17412 rm -f conftest.er1
17413 cat conftest.err >&5
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 (exit $ac_status); } && {
17416 test -z "$ac_c_werror_flag" ||
17417 test ! -s conftest.err
17418 } && test -s conftest.$ac_objext; then
17419 ac_cv_prog_cc_g=yes
17420 else
17421 echo "$as_me: failed program was:" >&5
17422 sed 's/^/| /' conftest.$ac_ext >&5
17423
17424 CFLAGS=""
17425 cat >conftest.$ac_ext <<_ACEOF
17426 /* confdefs.h. */
17427 _ACEOF
17428 cat confdefs.h >>conftest.$ac_ext
17429 cat >>conftest.$ac_ext <<_ACEOF
17430 /* end confdefs.h. */
17431
17432 int
17433 main ()
17434 {
17435
17436 ;
17437 return 0;
17438 }
17439 _ACEOF
17440 rm -f conftest.$ac_objext
17441 if { (ac_try="$ac_compile"
17442 case "(($ac_try" in
17443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17444 *) ac_try_echo=$ac_try;;
17445 esac
17446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17447 (eval "$ac_compile") 2>conftest.er1
17448 ac_status=$?
17449 grep -v '^ *+' conftest.er1 >conftest.err
17450 rm -f conftest.er1
17451 cat conftest.err >&5
17452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17453 (exit $ac_status); } && {
17454 test -z "$ac_c_werror_flag" ||
17455 test ! -s conftest.err
17456 } && test -s conftest.$ac_objext; then
17457 :
17458 else
17459 echo "$as_me: failed program was:" >&5
17460 sed 's/^/| /' conftest.$ac_ext >&5
17461
17462 ac_c_werror_flag=$ac_save_c_werror_flag
17463 CFLAGS="-g"
17464 cat >conftest.$ac_ext <<_ACEOF
17465 /* confdefs.h. */
17466 _ACEOF
17467 cat confdefs.h >>conftest.$ac_ext
17468 cat >>conftest.$ac_ext <<_ACEOF
17469 /* end confdefs.h. */
17470
17471 int
17472 main ()
17473 {
17474
17475 ;
17476 return 0;
17477 }
17478 _ACEOF
17479 rm -f conftest.$ac_objext
17480 if { (ac_try="$ac_compile"
17481 case "(($ac_try" in
17482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17483 *) ac_try_echo=$ac_try;;
17484 esac
17485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17486 (eval "$ac_compile") 2>conftest.er1
17487 ac_status=$?
17488 grep -v '^ *+' conftest.er1 >conftest.err
17489 rm -f conftest.er1
17490 cat conftest.err >&5
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); } && {
17493 test -z "$ac_c_werror_flag" ||
17494 test ! -s conftest.err
17495 } && test -s conftest.$ac_objext; then
17496 ac_cv_prog_cc_g=yes
17497 else
17498 echo "$as_me: failed program was:" >&5
17499 sed 's/^/| /' conftest.$ac_ext >&5
17500
17501
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 fi
17509
17510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17511 ac_c_werror_flag=$ac_save_c_werror_flag
17512 fi
17513 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17514 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17515 if test "$ac_test_CFLAGS" = set; then
17516 CFLAGS=$ac_save_CFLAGS
17517 elif test $ac_cv_prog_cc_g = yes; then
17518 if test "$GCC" = yes; then
17519 CFLAGS="-g -O2"
17520 else
17521 CFLAGS="-g"
17522 fi
17523 else
17524 if test "$GCC" = yes; then
17525 CFLAGS="-O2"
17526 else
17527 CFLAGS=
17528 fi
17529 fi
17530 fi
17531 fi
17532
17533 case `uname -s` in
17534 AIX*)
17535
17536
17537 ac_ext=cpp
17538 ac_cpp='$CXXCPP $CPPFLAGS'
17539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17542
17543 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17544 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17545 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17546 echo $ECHO_N "(cached) $ECHO_C" >&6
17547 else
17548 cat >conftest.$ac_ext <<_ACEOF
17549 /* confdefs.h. */
17550 _ACEOF
17551 cat confdefs.h >>conftest.$ac_ext
17552 cat >>conftest.$ac_ext <<_ACEOF
17553 /* end confdefs.h. */
17554
17555 int
17556 main ()
17557 {
17558
17559 #ifndef __xlC__
17560 choke me
17561 #endif
17562
17563 ;
17564 return 0;
17565 }
17566 _ACEOF
17567 rm -f conftest.$ac_objext
17568 if { (ac_try="$ac_compile"
17569 case "(($ac_try" in
17570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17571 *) ac_try_echo=$ac_try;;
17572 esac
17573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17574 (eval "$ac_compile") 2>conftest.er1
17575 ac_status=$?
17576 grep -v '^ *+' conftest.er1 >conftest.err
17577 rm -f conftest.er1
17578 cat conftest.err >&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); } && {
17581 test -z "$ac_cxx_werror_flag" ||
17582 test ! -s conftest.err
17583 } && test -s conftest.$ac_objext; then
17584 bakefile_cv_cxx_compiler___xlC__=yes
17585 else
17586 echo "$as_me: failed program was:" >&5
17587 sed 's/^/| /' conftest.$ac_ext >&5
17588
17589 bakefile_cv_cxx_compiler___xlC__=no
17590
17591 fi
17592
17593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17594
17595
17596 fi
17597 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17598 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17599 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17600 :; XLCXX=yes
17601 else
17602 :;
17603 fi
17604 ac_ext=c
17605 ac_cpp='$CPP $CPPFLAGS'
17606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17609
17610
17611
17612 ;;
17613
17614 Darwin)
17615
17616
17617 ac_ext=cpp
17618 ac_cpp='$CXXCPP $CPPFLAGS'
17619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17622
17623 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17624 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17625 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17626 echo $ECHO_N "(cached) $ECHO_C" >&6
17627 else
17628 cat >conftest.$ac_ext <<_ACEOF
17629 /* confdefs.h. */
17630 _ACEOF
17631 cat confdefs.h >>conftest.$ac_ext
17632 cat >>conftest.$ac_ext <<_ACEOF
17633 /* end confdefs.h. */
17634
17635 int
17636 main ()
17637 {
17638
17639 #ifndef __MWERKS__
17640 choke me
17641 #endif
17642
17643 ;
17644 return 0;
17645 }
17646 _ACEOF
17647 rm -f conftest.$ac_objext
17648 if { (ac_try="$ac_compile"
17649 case "(($ac_try" in
17650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17651 *) ac_try_echo=$ac_try;;
17652 esac
17653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17654 (eval "$ac_compile") 2>conftest.er1
17655 ac_status=$?
17656 grep -v '^ *+' conftest.er1 >conftest.err
17657 rm -f conftest.er1
17658 cat conftest.err >&5
17659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); } && {
17661 test -z "$ac_cxx_werror_flag" ||
17662 test ! -s conftest.err
17663 } && test -s conftest.$ac_objext; then
17664 bakefile_cv_cxx_compiler___MWERKS__=yes
17665 else
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.$ac_ext >&5
17668
17669 bakefile_cv_cxx_compiler___MWERKS__=no
17670
17671 fi
17672
17673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17674
17675
17676 fi
17677 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17678 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17679 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17680 :; MWCXX=yes
17681 else
17682 :;
17683 fi
17684 ac_ext=c
17685 ac_cpp='$CPP $CPPFLAGS'
17686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17689
17690
17691
17692 if test "$MWCXX" != "yes"; then
17693
17694
17695 ac_ext=cpp
17696 ac_cpp='$CXXCPP $CPPFLAGS'
17697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17700
17701 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17702 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17703 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17704 echo $ECHO_N "(cached) $ECHO_C" >&6
17705 else
17706 cat >conftest.$ac_ext <<_ACEOF
17707 /* confdefs.h. */
17708 _ACEOF
17709 cat confdefs.h >>conftest.$ac_ext
17710 cat >>conftest.$ac_ext <<_ACEOF
17711 /* end confdefs.h. */
17712
17713 int
17714 main ()
17715 {
17716
17717 #ifndef __xlC__
17718 choke me
17719 #endif
17720
17721 ;
17722 return 0;
17723 }
17724 _ACEOF
17725 rm -f conftest.$ac_objext
17726 if { (ac_try="$ac_compile"
17727 case "(($ac_try" in
17728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17729 *) ac_try_echo=$ac_try;;
17730 esac
17731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17732 (eval "$ac_compile") 2>conftest.er1
17733 ac_status=$?
17734 grep -v '^ *+' conftest.er1 >conftest.err
17735 rm -f conftest.er1
17736 cat conftest.err >&5
17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17738 (exit $ac_status); } && {
17739 test -z "$ac_cxx_werror_flag" ||
17740 test ! -s conftest.err
17741 } && test -s conftest.$ac_objext; then
17742 bakefile_cv_cxx_compiler___xlC__=yes
17743 else
17744 echo "$as_me: failed program was:" >&5
17745 sed 's/^/| /' conftest.$ac_ext >&5
17746
17747 bakefile_cv_cxx_compiler___xlC__=no
17748
17749 fi
17750
17751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17752
17753
17754 fi
17755 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17756 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17757 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17758 :; XLCXX=yes
17759 else
17760 :;
17761 fi
17762 ac_ext=c
17763 ac_cpp='$CPP $CPPFLAGS'
17764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17767
17768
17769
17770 fi
17771 ;;
17772
17773 IRIX*)
17774
17775
17776 ac_ext=cpp
17777 ac_cpp='$CXXCPP $CPPFLAGS'
17778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17781
17782 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17783 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17784 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17785 echo $ECHO_N "(cached) $ECHO_C" >&6
17786 else
17787 cat >conftest.$ac_ext <<_ACEOF
17788 /* confdefs.h. */
17789 _ACEOF
17790 cat confdefs.h >>conftest.$ac_ext
17791 cat >>conftest.$ac_ext <<_ACEOF
17792 /* end confdefs.h. */
17793
17794 int
17795 main ()
17796 {
17797
17798 #ifndef _SGI_COMPILER_VERSION
17799 choke me
17800 #endif
17801
17802 ;
17803 return 0;
17804 }
17805 _ACEOF
17806 rm -f conftest.$ac_objext
17807 if { (ac_try="$ac_compile"
17808 case "(($ac_try" in
17809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17810 *) ac_try_echo=$ac_try;;
17811 esac
17812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17813 (eval "$ac_compile") 2>conftest.er1
17814 ac_status=$?
17815 grep -v '^ *+' conftest.er1 >conftest.err
17816 rm -f conftest.er1
17817 cat conftest.err >&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); } && {
17820 test -z "$ac_cxx_werror_flag" ||
17821 test ! -s conftest.err
17822 } && test -s conftest.$ac_objext; then
17823 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17824 else
17825 echo "$as_me: failed program was:" >&5
17826 sed 's/^/| /' conftest.$ac_ext >&5
17827
17828 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17829
17830 fi
17831
17832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17833
17834
17835 fi
17836 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17837 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17838 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17839 :; SGICXX=yes
17840 else
17841 :;
17842 fi
17843 ac_ext=c
17844 ac_cpp='$CPP $CPPFLAGS'
17845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17848
17849
17850
17851 ;;
17852
17853 Linux*)
17854 if test "$INTELCXX" != "yes"; then
17855
17856
17857 ac_ext=cpp
17858 ac_cpp='$CXXCPP $CPPFLAGS'
17859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17862
17863 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17864 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17865 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17866 echo $ECHO_N "(cached) $ECHO_C" >&6
17867 else
17868 cat >conftest.$ac_ext <<_ACEOF
17869 /* confdefs.h. */
17870 _ACEOF
17871 cat confdefs.h >>conftest.$ac_ext
17872 cat >>conftest.$ac_ext <<_ACEOF
17873 /* end confdefs.h. */
17874
17875 int
17876 main ()
17877 {
17878
17879 #ifndef __SUNPRO_CC
17880 choke me
17881 #endif
17882
17883 ;
17884 return 0;
17885 }
17886 _ACEOF
17887 rm -f conftest.$ac_objext
17888 if { (ac_try="$ac_compile"
17889 case "(($ac_try" in
17890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17891 *) ac_try_echo=$ac_try;;
17892 esac
17893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17894 (eval "$ac_compile") 2>conftest.er1
17895 ac_status=$?
17896 grep -v '^ *+' conftest.er1 >conftest.err
17897 rm -f conftest.er1
17898 cat conftest.err >&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); } && {
17901 test -z "$ac_cxx_werror_flag" ||
17902 test ! -s conftest.err
17903 } && test -s conftest.$ac_objext; then
17904 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17905 else
17906 echo "$as_me: failed program was:" >&5
17907 sed 's/^/| /' conftest.$ac_ext >&5
17908
17909 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17910
17911 fi
17912
17913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17914
17915
17916 fi
17917 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17918 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17919 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17920 :; SUNCXX=yes
17921 else
17922 :;
17923 fi
17924 ac_ext=c
17925 ac_cpp='$CPP $CPPFLAGS'
17926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17929
17930
17931
17932 fi
17933 ;;
17934
17935 HP-UX*)
17936
17937
17938 ac_ext=cpp
17939 ac_cpp='$CXXCPP $CPPFLAGS'
17940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17943
17944 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17945 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17946 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17947 echo $ECHO_N "(cached) $ECHO_C" >&6
17948 else
17949 cat >conftest.$ac_ext <<_ACEOF
17950 /* confdefs.h. */
17951 _ACEOF
17952 cat confdefs.h >>conftest.$ac_ext
17953 cat >>conftest.$ac_ext <<_ACEOF
17954 /* end confdefs.h. */
17955
17956 int
17957 main ()
17958 {
17959
17960 #ifndef __HP_aCC
17961 choke me
17962 #endif
17963
17964 ;
17965 return 0;
17966 }
17967 _ACEOF
17968 rm -f conftest.$ac_objext
17969 if { (ac_try="$ac_compile"
17970 case "(($ac_try" in
17971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17972 *) ac_try_echo=$ac_try;;
17973 esac
17974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17975 (eval "$ac_compile") 2>conftest.er1
17976 ac_status=$?
17977 grep -v '^ *+' conftest.er1 >conftest.err
17978 rm -f conftest.er1
17979 cat conftest.err >&5
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); } && {
17982 test -z "$ac_cxx_werror_flag" ||
17983 test ! -s conftest.err
17984 } && test -s conftest.$ac_objext; then
17985 bakefile_cv_cxx_compiler___HP_aCC=yes
17986 else
17987 echo "$as_me: failed program was:" >&5
17988 sed 's/^/| /' conftest.$ac_ext >&5
17989
17990 bakefile_cv_cxx_compiler___HP_aCC=no
17991
17992 fi
17993
17994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17995
17996
17997 fi
17998 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17999 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18000 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18001 :; HPCXX=yes
18002 else
18003 :;
18004 fi
18005 ac_ext=c
18006 ac_cpp='$CPP $CPPFLAGS'
18007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18010
18011
18012
18013 ;;
18014
18015 OSF1)
18016
18017
18018 ac_ext=cpp
18019 ac_cpp='$CXXCPP $CPPFLAGS'
18020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18023
18024 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18025 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18026 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18027 echo $ECHO_N "(cached) $ECHO_C" >&6
18028 else
18029 cat >conftest.$ac_ext <<_ACEOF
18030 /* confdefs.h. */
18031 _ACEOF
18032 cat confdefs.h >>conftest.$ac_ext
18033 cat >>conftest.$ac_ext <<_ACEOF
18034 /* end confdefs.h. */
18035
18036 int
18037 main ()
18038 {
18039
18040 #ifndef __DECCXX
18041 choke me
18042 #endif
18043
18044 ;
18045 return 0;
18046 }
18047 _ACEOF
18048 rm -f conftest.$ac_objext
18049 if { (ac_try="$ac_compile"
18050 case "(($ac_try" in
18051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18052 *) ac_try_echo=$ac_try;;
18053 esac
18054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18055 (eval "$ac_compile") 2>conftest.er1
18056 ac_status=$?
18057 grep -v '^ *+' conftest.er1 >conftest.err
18058 rm -f conftest.er1
18059 cat conftest.err >&5
18060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18061 (exit $ac_status); } && {
18062 test -z "$ac_cxx_werror_flag" ||
18063 test ! -s conftest.err
18064 } && test -s conftest.$ac_objext; then
18065 bakefile_cv_cxx_compiler___DECCXX=yes
18066 else
18067 echo "$as_me: failed program was:" >&5
18068 sed 's/^/| /' conftest.$ac_ext >&5
18069
18070 bakefile_cv_cxx_compiler___DECCXX=no
18071
18072 fi
18073
18074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18075
18076
18077 fi
18078 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18079 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18080 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18081 :; COMPAQCXX=yes
18082 else
18083 :;
18084 fi
18085 ac_ext=c
18086 ac_cpp='$CPP $CPPFLAGS'
18087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18090
18091
18092
18093 ;;
18094
18095 SunOS)
18096
18097
18098 ac_ext=cpp
18099 ac_cpp='$CXXCPP $CPPFLAGS'
18100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18103
18104 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18105 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18106 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18107 echo $ECHO_N "(cached) $ECHO_C" >&6
18108 else
18109 cat >conftest.$ac_ext <<_ACEOF
18110 /* confdefs.h. */
18111 _ACEOF
18112 cat confdefs.h >>conftest.$ac_ext
18113 cat >>conftest.$ac_ext <<_ACEOF
18114 /* end confdefs.h. */
18115
18116 int
18117 main ()
18118 {
18119
18120 #ifndef __SUNPRO_CC
18121 choke me
18122 #endif
18123
18124 ;
18125 return 0;
18126 }
18127 _ACEOF
18128 rm -f conftest.$ac_objext
18129 if { (ac_try="$ac_compile"
18130 case "(($ac_try" in
18131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18132 *) ac_try_echo=$ac_try;;
18133 esac
18134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18135 (eval "$ac_compile") 2>conftest.er1
18136 ac_status=$?
18137 grep -v '^ *+' conftest.er1 >conftest.err
18138 rm -f conftest.er1
18139 cat conftest.err >&5
18140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18141 (exit $ac_status); } && {
18142 test -z "$ac_cxx_werror_flag" ||
18143 test ! -s conftest.err
18144 } && test -s conftest.$ac_objext; then
18145 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18146 else
18147 echo "$as_me: failed program was:" >&5
18148 sed 's/^/| /' conftest.$ac_ext >&5
18149
18150 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18151
18152 fi
18153
18154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18155
18156
18157 fi
18158 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18159 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18160 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18161 :; SUNCXX=yes
18162 else
18163 :;
18164 fi
18165 ac_ext=c
18166 ac_cpp='$CPP $CPPFLAGS'
18167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18170
18171
18172
18173 ;;
18174 esac
18175 fi
18176
18177
18178
18179 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18180 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18181 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18182 { (exit 1); exit 1; }; }
18183 fi
18184
18185 if test "x$SUNCXX" != xyes; then
18186 if test -n "$ac_tool_prefix"; then
18187 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18188 set dummy ${ac_tool_prefix}ar; ac_word=$2
18189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18191 if test "${ac_cv_prog_AR+set}" = set; then
18192 echo $ECHO_N "(cached) $ECHO_C" >&6
18193 else
18194 if test -n "$AR"; then
18195 ac_cv_prog_AR="$AR" # Let the user override the test.
18196 else
18197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18198 for as_dir in $PATH
18199 do
18200 IFS=$as_save_IFS
18201 test -z "$as_dir" && as_dir=.
18202 for ac_exec_ext in '' $ac_executable_extensions; do
18203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18204 ac_cv_prog_AR="${ac_tool_prefix}ar"
18205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18206 break 2
18207 fi
18208 done
18209 done
18210 IFS=$as_save_IFS
18211
18212 fi
18213 fi
18214 AR=$ac_cv_prog_AR
18215 if test -n "$AR"; then
18216 { echo "$as_me:$LINENO: result: $AR" >&5
18217 echo "${ECHO_T}$AR" >&6; }
18218 else
18219 { echo "$as_me:$LINENO: result: no" >&5
18220 echo "${ECHO_T}no" >&6; }
18221 fi
18222
18223
18224 fi
18225 if test -z "$ac_cv_prog_AR"; then
18226 ac_ct_AR=$AR
18227 # Extract the first word of "ar", so it can be a program name with args.
18228 set dummy ar; ac_word=$2
18229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18231 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18232 echo $ECHO_N "(cached) $ECHO_C" >&6
18233 else
18234 if test -n "$ac_ct_AR"; then
18235 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18236 else
18237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18238 for as_dir in $PATH
18239 do
18240 IFS=$as_save_IFS
18241 test -z "$as_dir" && as_dir=.
18242 for ac_exec_ext in '' $ac_executable_extensions; do
18243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18244 ac_cv_prog_ac_ct_AR="ar"
18245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18246 break 2
18247 fi
18248 done
18249 done
18250 IFS=$as_save_IFS
18251
18252 fi
18253 fi
18254 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18255 if test -n "$ac_ct_AR"; then
18256 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18257 echo "${ECHO_T}$ac_ct_AR" >&6; }
18258 else
18259 { echo "$as_me:$LINENO: result: no" >&5
18260 echo "${ECHO_T}no" >&6; }
18261 fi
18262
18263 if test "x$ac_ct_AR" = x; then
18264 AR=""
18265 else
18266 case $cross_compiling:$ac_tool_warned in
18267 yes:)
18268 { echo "$as_me:$LINENO: 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." >&5
18271 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18272 whose name does not start with the host triplet. If you think this
18273 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18274 ac_tool_warned=yes ;;
18275 esac
18276 AR=$ac_ct_AR
18277 fi
18278 else
18279 AR="$ac_cv_prog_AR"
18280 fi
18281
18282 if test "x$AR" = "x" ; then
18283 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18284 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18285 { (exit 1); exit 1; }; }
18286 fi
18287 fi
18288
18289
18290 if test "$wxUSE_MAC" = 1; then
18291
18292 retest_macosx_linking=no
18293
18294 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18295 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18296 # Implicitly turn on the new --with-macosx-sdk using the default
18297 # SDK which provides the behavior this option has always had.
18298 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18299 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18300 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18301 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18302 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18303 wxUSE_MACOSX_SDK=yes
18304 fi
18305 else
18306 # Complain to user if he specified an argument to --enable-universal_binary
18307 # and also 1) specified --with-macosx-sdk using the default (yes) or
18308 # 2) specified --with-macosx-sdk using a path or 3) specified
18309 # --without-macosx-sdk (no).
18310 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18311 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18312 See \`config.log' for more details." >&5
18313 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18314 See \`config.log' for more details." >&2;}
18315 { (exit 1); exit 1; }; }
18316 else
18317 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18318 # special-case the empty string because the below test simply
18319 # converts "no" to the empty string anyway.
18320 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18321 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18322 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18323 fi
18324 fi
18325 OSX_UNIV_OPTS="-arch ppc -arch i386"
18326 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18327 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18328 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18329 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18330 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18331 retest_macosx_linking=yes
18332
18333 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18334 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18335 bk_use_pch=no
18336 fi
18337
18338 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18339 wxUSE_MACOSX_SDK=
18340 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18341 # TODO: Search for most recent SDK and use it.
18342 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18343 fi
18344
18345
18346 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18347 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18348 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18349 if ! test -d "$wxUSE_MACOSX_SDK"; then
18350 { { echo "$as_me:$LINENO: error: not found
18351 See \`config.log' for more details." >&5
18352 echo "$as_me: error: not found
18353 See \`config.log' for more details." >&2;}
18354 { (exit 1); exit 1; }; }
18355 else
18356 { echo "$as_me:$LINENO: result: exists" >&5
18357 echo "${ECHO_T}exists" >&6; }
18358 fi
18359 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18360 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18361 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18362 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18363 retest_macosx_linking=yes
18364 fi
18365
18366 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18367 wxUSE_MACOSX_VERSION_MIN=
18368 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18369 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18370 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18371 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18372
18373 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/'`
18374
18375 # If that failed, try again with the new key
18376 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18377
18378 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/'`
18379
18380 fi
18381
18382 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18383 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18384 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18385 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18386 else
18387 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18388 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18389 wxUSE_MACOSX_VERSION_MIN=
18390 fi
18391 else
18392 wxUSE_MACOSX_VERSION_MIN=
18393 fi
18394 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18395 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18396 if test "$wxUSE_OSX_CARBON" = 1 -o "x$OSX_VERSION" = "x10.4"; then
18397 # otherwise configure stops on leopard for universal_binary
18398 wxUSE_MACOSX_VERSION_MIN=10.4
18399 else
18400 # for OS X Cocoa, use 10.5 so we can get 64-bit compile on Snow Leopard
18401 wxUSE_MACOSX_VERSION_MIN=10.5
18402 fi
18403 fi
18404
18405 NEEDS_GCC40="no"
18406 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18407 NEEDS_GCC40="yes"
18408 fi
18409
18410 if test "$wxUSE_OSX_CARBON" = 1; then
18411 NEEDS_GCC40="yes"
18412 fi
18413
18414 if test "x$NEEDS_GCC40" == "xyes"; then
18415 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18416 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18417 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18418 if test "x$CC" = "xgcc"; then
18419 CCVERSION=`$CC --version | grep 4.[2-9].`
18420 if test "x$CCVERSION" != "x"; then
18421 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18422 CC="/usr/bin/gcc-4.0"
18423 fi
18424 fi
18425
18426 if test "x$CXX" = "xg++"; then
18427 CCVERSION=`$CXX --version | grep 4.[2-9].`
18428 if test "x$CCVERSION" != "x"; then
18429 CXX="/usr/bin/g++-4.0"
18430 fi
18431 fi
18432 fi
18433
18434 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18435 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18436 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18437 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18438 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18439 retest_macosx_linking=yes
18440 fi
18441
18442 if test "x$retest_macosx_linking" = "xyes"; then
18443 ac_ext=c
18444 ac_cpp='$CPP $CPPFLAGS'
18445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18448
18449 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18450 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18451 cat >conftest.$ac_ext <<_ACEOF
18452 /* confdefs.h. */
18453 _ACEOF
18454 cat confdefs.h >>conftest.$ac_ext
18455 cat >>conftest.$ac_ext <<_ACEOF
18456 /* end confdefs.h. */
18457
18458 int
18459 main ()
18460 {
18461
18462 ;
18463 return 0;
18464 }
18465 _ACEOF
18466 rm -f conftest.$ac_objext conftest$ac_exeext
18467 if { (ac_try="$ac_link"
18468 case "(($ac_try" in
18469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18470 *) ac_try_echo=$ac_try;;
18471 esac
18472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18473 (eval "$ac_link") 2>conftest.er1
18474 ac_status=$?
18475 grep -v '^ *+' conftest.er1 >conftest.err
18476 rm -f conftest.er1
18477 cat conftest.err >&5
18478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18479 (exit $ac_status); } && {
18480 test -z "$ac_c_werror_flag" ||
18481 test ! -s conftest.err
18482 } && test -s conftest$ac_exeext &&
18483 $as_test_x conftest$ac_exeext; then
18484 { echo "$as_me:$LINENO: result: yes" >&5
18485 echo "${ECHO_T}yes" >&6; }
18486 else
18487 echo "$as_me: failed program was:" >&5
18488 sed 's/^/| /' conftest.$ac_ext >&5
18489
18490 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18491 See \`config.log' for more details." >&5
18492 echo "$as_me: error: no. Try a different SDK
18493 See \`config.log' for more details." >&2;}
18494 { (exit 1); exit 1; }; }; exit 1
18495 fi
18496
18497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18498 conftest$ac_exeext conftest.$ac_ext
18499 ac_ext=c
18500 ac_cpp='$CPP $CPPFLAGS'
18501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18504
18505
18506 ac_ext=cpp
18507 ac_cpp='$CXXCPP $CPPFLAGS'
18508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18511
18512 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18513 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18514 cat >conftest.$ac_ext <<_ACEOF
18515 /* confdefs.h. */
18516 _ACEOF
18517 cat confdefs.h >>conftest.$ac_ext
18518 cat >>conftest.$ac_ext <<_ACEOF
18519 /* end confdefs.h. */
18520
18521 int
18522 main ()
18523 {
18524
18525 ;
18526 return 0;
18527 }
18528 _ACEOF
18529 rm -f conftest.$ac_objext conftest$ac_exeext
18530 if { (ac_try="$ac_link"
18531 case "(($ac_try" in
18532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18533 *) ac_try_echo=$ac_try;;
18534 esac
18535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18536 (eval "$ac_link") 2>conftest.er1
18537 ac_status=$?
18538 grep -v '^ *+' conftest.er1 >conftest.err
18539 rm -f conftest.er1
18540 cat conftest.err >&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); } && {
18543 test -z "$ac_cxx_werror_flag" ||
18544 test ! -s conftest.err
18545 } && test -s conftest$ac_exeext &&
18546 $as_test_x conftest$ac_exeext; then
18547 { echo "$as_me:$LINENO: result: yes" >&5
18548 echo "${ECHO_T}yes" >&6; }
18549 else
18550 echo "$as_me: failed program was:" >&5
18551 sed 's/^/| /' conftest.$ac_ext >&5
18552
18553 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18554 See \`config.log' for more details." >&5
18555 echo "$as_me: error: no. Try a different SDK
18556 See \`config.log' for more details." >&2;}
18557 { (exit 1); exit 1; }; }; exit 1
18558 fi
18559
18560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18561 conftest$ac_exeext conftest.$ac_ext
18562 ac_ext=c
18563 ac_cpp='$CPP $CPPFLAGS'
18564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18567
18568 fi
18569
18570 fi
18571 case "${host}" in
18572
18573 *-*-darwin* )
18574 INSTALL_PROGRAM="cp -fp"
18575 INSTALL_DATA="cp -fp"
18576 ;;
18577 *)
18578 ;;
18579 esac
18580
18581
18582 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18583 CXXFLAGS="-qunique $CXXFLAGS"
18584 fi
18585
18586 case "${host}" in
18587 powerpc-*-darwin* )
18588 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18589 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18590 cat >conftest.$ac_ext <<_ACEOF
18591 /* confdefs.h. */
18592 _ACEOF
18593 cat confdefs.h >>conftest.$ac_ext
18594 cat >>conftest.$ac_ext <<_ACEOF
18595 /* end confdefs.h. */
18596
18597 int
18598 main ()
18599 {
18600 #ifndef __POWERPC__
18601 choke me for lack of PowerPC
18602 #endif
18603
18604 ;
18605 return 0;
18606 }
18607 _ACEOF
18608 rm -f conftest.$ac_objext
18609 if { (ac_try="$ac_compile"
18610 case "(($ac_try" in
18611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18612 *) ac_try_echo=$ac_try;;
18613 esac
18614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18615 (eval "$ac_compile") 2>conftest.er1
18616 ac_status=$?
18617 grep -v '^ *+' conftest.er1 >conftest.err
18618 rm -f conftest.er1
18619 cat conftest.err >&5
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); } && {
18622 test -z "$ac_c_werror_flag" ||
18623 test ! -s conftest.err
18624 } && test -s conftest.$ac_objext; then
18625 { echo "$as_me:$LINENO: result: yes" >&5
18626 echo "${ECHO_T}yes" >&6; }
18627 else
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.$ac_ext >&5
18630
18631 { echo "$as_me:$LINENO: result: no" >&5
18632 echo "${ECHO_T}no" >&6; }
18633 cat >>confdefs.h <<\_ACEOF
18634 #define __POWERPC__ 1
18635 _ACEOF
18636
18637
18638 fi
18639
18640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18641 ;;
18642 esac
18643
18644 case "${host}" in
18645 *-*-darwin* )
18646 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18647 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18648 cat >conftest.$ac_ext <<_ACEOF
18649 /* confdefs.h. */
18650 _ACEOF
18651 cat confdefs.h >>conftest.$ac_ext
18652 cat >>conftest.$ac_ext <<_ACEOF
18653 /* end confdefs.h. */
18654 #include <CoreFoundation/CFBase.h>
18655
18656 int
18657 main ()
18658 {
18659
18660 ;
18661 return 0;
18662 }
18663 _ACEOF
18664 rm -f conftest.$ac_objext
18665 if { (ac_try="$ac_compile"
18666 case "(($ac_try" in
18667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18668 *) ac_try_echo=$ac_try;;
18669 esac
18670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18671 (eval "$ac_compile") 2>conftest.er1
18672 ac_status=$?
18673 grep -v '^ *+' conftest.er1 >conftest.err
18674 rm -f conftest.er1
18675 cat conftest.err >&5
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); } && {
18678 test -z "$ac_c_werror_flag" ||
18679 test ! -s conftest.err
18680 } && test -s conftest.$ac_objext; then
18681 { echo "$as_me:$LINENO: result: yes" >&5
18682 echo "${ECHO_T}yes" >&6; }
18683 else
18684 echo "$as_me: failed program was:" >&5
18685 sed 's/^/| /' conftest.$ac_ext >&5
18686
18687 { echo "$as_me:$LINENO: result: no" >&5
18688 echo "${ECHO_T}no" >&6; }
18689 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18690 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18691 cat >conftest.$ac_ext <<_ACEOF
18692 /* confdefs.h. */
18693 _ACEOF
18694 cat confdefs.h >>conftest.$ac_ext
18695 cat >>conftest.$ac_ext <<_ACEOF
18696 /* end confdefs.h. */
18697 #define __CF_USE_FRAMEWORK_INCLUDES__
18698 #include <CoreFoundation/CFBase.h>
18699
18700 int
18701 main ()
18702 {
18703
18704 ;
18705 return 0;
18706 }
18707 _ACEOF
18708 rm -f conftest.$ac_objext
18709 if { (ac_try="$ac_compile"
18710 case "(($ac_try" in
18711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18712 *) ac_try_echo=$ac_try;;
18713 esac
18714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18715 (eval "$ac_compile") 2>conftest.er1
18716 ac_status=$?
18717 grep -v '^ *+' conftest.er1 >conftest.err
18718 rm -f conftest.er1
18719 cat conftest.err >&5
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); } && {
18722 test -z "$ac_c_werror_flag" ||
18723 test ! -s conftest.err
18724 } && test -s conftest.$ac_objext; then
18725 { echo "$as_me:$LINENO: result: yes" >&5
18726 echo "${ECHO_T}yes" >&6; }
18727 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18728 else
18729 echo "$as_me: failed program was:" >&5
18730 sed 's/^/| /' conftest.$ac_ext >&5
18731
18732 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18733 See \`config.log' for more details." >&5
18734 echo "$as_me: error: no. CoreFoundation not available.
18735 See \`config.log' for more details." >&2;}
18736 { (exit 1); exit 1; }; }
18737
18738 fi
18739
18740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18741
18742
18743 fi
18744
18745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18746 ;;
18747 esac
18748
18749 wants_win32=0
18750 doesnt_want_win32=0
18751 case "${host}" in
18752 *-*-cygwin*)
18753 if test "$wxUSE_MSW" = 1 ; then
18754 wants_win32=1
18755 else
18756 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18757 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18758 if test "${wx_cv_nocygwin+set}" = set; then
18759 echo $ECHO_N "(cached) $ECHO_C" >&6
18760 else
18761
18762 cat >conftest.$ac_ext <<_ACEOF
18763 /* confdefs.h. */
18764 _ACEOF
18765 cat confdefs.h >>conftest.$ac_ext
18766 cat >>conftest.$ac_ext <<_ACEOF
18767 /* end confdefs.h. */
18768
18769 int
18770 main ()
18771 {
18772
18773 #ifdef __MINGW32__
18774 choke me
18775 #endif
18776
18777 ;
18778 return 0;
18779 }
18780 _ACEOF
18781 rm -f conftest.$ac_objext
18782 if { (ac_try="$ac_compile"
18783 case "(($ac_try" in
18784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18785 *) ac_try_echo=$ac_try;;
18786 esac
18787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18788 (eval "$ac_compile") 2>conftest.er1
18789 ac_status=$?
18790 grep -v '^ *+' conftest.er1 >conftest.err
18791 rm -f conftest.er1
18792 cat conftest.err >&5
18793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 (exit $ac_status); } && {
18795 test -z "$ac_c_werror_flag" ||
18796 test ! -s conftest.err
18797 } && test -s conftest.$ac_objext; then
18798 wx_cv_nocygwin=no
18799 else
18800 echo "$as_me: failed program was:" >&5
18801 sed 's/^/| /' conftest.$ac_ext >&5
18802
18803 wx_cv_nocygwin=yes
18804
18805 fi
18806
18807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18808
18809
18810 fi
18811 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18812 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18813
18814 if test "$wx_cv_nocygwin" = "yes"; then
18815 wants_win32=1
18816 else
18817 doesnt_want_win32=1
18818 fi
18819 fi
18820 if test "$wants_win32" = 1 ; then
18821 BAKEFILE_FORCE_PLATFORM=win32
18822 fi
18823 ;;
18824 *-*-mingw*)
18825 wants_win32=1
18826 ;;
18827 esac
18828
18829 if test "$wxUSE_WINE" = "yes"; then
18830 wants_win32=1
18831 LDFLAGS_GUI="-mwindows"
18832 fi
18833
18834 if test "$wants_win32" = 1 ; then
18835 USE_UNIX=0
18836 USE_WIN32=1
18837 cat >>confdefs.h <<\_ACEOF
18838 #define __WIN32__ 1
18839 _ACEOF
18840
18841 cat >>confdefs.h <<\_ACEOF
18842 #define __WIN95__ 1
18843 _ACEOF
18844
18845 cat >>confdefs.h <<\_ACEOF
18846 #define __WINDOWS__ 1
18847 _ACEOF
18848
18849 cat >>confdefs.h <<\_ACEOF
18850 #define __GNUWIN32__ 1
18851 _ACEOF
18852
18853 cat >>confdefs.h <<\_ACEOF
18854 #define STRICT 1
18855 _ACEOF
18856
18857 fi
18858 if test "$doesnt_want_win32" = 1 ; then
18859 USE_UNIX=1
18860 USE_WIN32=0
18861 fi
18862
18863 if test "$USE_UNIX" = 1 ; then
18864 wxUSE_UNIX=yes
18865 cat >>confdefs.h <<\_ACEOF
18866 #define __UNIX__ 1
18867 _ACEOF
18868
18869 fi
18870
18871 case "${host}" in
18872 *-pc-os2_emx | *-pc-os2-emx )
18873 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18874 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18875 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18876 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18877 echo $ECHO_N "(cached) $ECHO_C" >&6
18878 else
18879 ac_check_lib_save_LIBS=$LIBS
18880 LIBS="-lcExt $LIBS"
18881 cat >conftest.$ac_ext <<_ACEOF
18882 /* confdefs.h. */
18883 _ACEOF
18884 cat confdefs.h >>conftest.$ac_ext
18885 cat >>conftest.$ac_ext <<_ACEOF
18886 /* end confdefs.h. */
18887
18888 /* Override any GCC internal prototype to avoid an error.
18889 Use char because int might match the return type of a GCC
18890 builtin and then its argument prototype would still apply. */
18891 #ifdef __cplusplus
18892 extern "C"
18893 #endif
18894 char drand48 ();
18895 int
18896 main ()
18897 {
18898 return drand48 ();
18899 ;
18900 return 0;
18901 }
18902 _ACEOF
18903 rm -f conftest.$ac_objext conftest$ac_exeext
18904 if { (ac_try="$ac_link"
18905 case "(($ac_try" in
18906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18907 *) ac_try_echo=$ac_try;;
18908 esac
18909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18910 (eval "$ac_link") 2>conftest.er1
18911 ac_status=$?
18912 grep -v '^ *+' conftest.er1 >conftest.err
18913 rm -f conftest.er1
18914 cat conftest.err >&5
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); } && {
18917 test -z "$ac_c_werror_flag" ||
18918 test ! -s conftest.err
18919 } && test -s conftest$ac_exeext &&
18920 $as_test_x conftest$ac_exeext; then
18921 ac_cv_lib_cExt_drand48=yes
18922 else
18923 echo "$as_me: failed program was:" >&5
18924 sed 's/^/| /' conftest.$ac_ext >&5
18925
18926 ac_cv_lib_cExt_drand48=no
18927 fi
18928
18929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18930 conftest$ac_exeext conftest.$ac_ext
18931 LIBS=$ac_check_lib_save_LIBS
18932 fi
18933 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18934 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18935 if test $ac_cv_lib_cExt_drand48 = yes; then
18936 LIBS="$LIBS -lcExt"
18937 fi
18938
18939 else
18940 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18941 fi
18942 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18943 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18944 if test "${wx_cv_gccversion+set}" = set; then
18945 echo $ECHO_N "(cached) $ECHO_C" >&6
18946 else
18947
18948 if test "$cross_compiling" = yes; then
18949 wx_cv_gccversion="EMX2"
18950
18951 else
18952 cat >conftest.$ac_ext <<_ACEOF
18953 /* confdefs.h. */
18954 _ACEOF
18955 cat confdefs.h >>conftest.$ac_ext
18956 cat >>conftest.$ac_ext <<_ACEOF
18957 /* end confdefs.h. */
18958
18959 #include <stdio.h>
18960
18961 int main()
18962 {
18963 FILE *f=fopen("conftestval", "w");
18964 if (!f) exit(1);
18965 fprintf(f,
18966 #if (__GNUC__ < 3)
18967 "EMX2"
18968 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18969 "EMX3"
18970 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18971 "Innotek5"
18972 #else
18973 "Innotek6"
18974 #endif
18975 );
18976 exit(0);
18977 }
18978
18979 _ACEOF
18980 rm -f conftest$ac_exeext
18981 if { (ac_try="$ac_link"
18982 case "(($ac_try" in
18983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18984 *) ac_try_echo=$ac_try;;
18985 esac
18986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18987 (eval "$ac_link") 2>&5
18988 ac_status=$?
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18991 { (case "(($ac_try" in
18992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18993 *) ac_try_echo=$ac_try;;
18994 esac
18995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18996 (eval "$ac_try") 2>&5
18997 ac_status=$?
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); }; }; then
19000 wx_cv_gccversion=`cat conftestval`
19001 else
19002 echo "$as_me: program exited with status $ac_status" >&5
19003 echo "$as_me: failed program was:" >&5
19004 sed 's/^/| /' conftest.$ac_ext >&5
19005
19006 ( exit $ac_status )
19007 wx_cv_gccversion="EMX2"
19008 fi
19009 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19010 fi
19011
19012
19013
19014 fi
19015 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19016 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19017 if test "$wx_cv_gccversion" = "EMX2"; then
19018 LIBS="$LIBS -lstdcpp"
19019 LDFLAGS="$LDFLAGS -Zsysv-signals"
19020 else
19021 if test "$wx_cv_gccversion" = "EMX3"; then
19022 LIBS="$LIBS -lstdcxx -lgcc"
19023 LDFLAGS="$LDFLAGS -Zsysv-signals"
19024 else
19025 LIBS="$LIBS -lstdc++"
19026 fi
19027 fi
19028 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19029 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19030 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19031 wxUSE_OMF=yes
19032 enable_omf=yes
19033 fi
19034 ;;
19035 *)
19036
19037 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19038 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19039 if test "${ac_cv_string_strcasecmp+set}" = set; then
19040 echo $ECHO_N "(cached) $ECHO_C" >&6
19041 else
19042
19043 cat >conftest.$ac_ext <<_ACEOF
19044 /* confdefs.h. */
19045 _ACEOF
19046 cat confdefs.h >>conftest.$ac_ext
19047 cat >>conftest.$ac_ext <<_ACEOF
19048 /* end confdefs.h. */
19049
19050 #include <string.h>
19051
19052 int
19053 main ()
19054 {
19055
19056 strcasecmp("foo", "bar");
19057
19058 ;
19059 return 0;
19060 }
19061 _ACEOF
19062 rm -f conftest.$ac_objext conftest$ac_exeext
19063 if { (ac_try="$ac_link"
19064 case "(($ac_try" in
19065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19066 *) ac_try_echo=$ac_try;;
19067 esac
19068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19069 (eval "$ac_link") 2>conftest.er1
19070 ac_status=$?
19071 grep -v '^ *+' conftest.er1 >conftest.err
19072 rm -f conftest.er1
19073 cat conftest.err >&5
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); } && {
19076 test -z "$ac_c_werror_flag" ||
19077 test ! -s conftest.err
19078 } && test -s conftest$ac_exeext &&
19079 $as_test_x conftest$ac_exeext; then
19080 ac_cv_string_strcasecmp=yes
19081 else
19082 echo "$as_me: failed program was:" >&5
19083 sed 's/^/| /' conftest.$ac_ext >&5
19084
19085 ac_cv_string_strcasecmp=no
19086
19087 fi
19088
19089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19090 conftest$ac_exeext conftest.$ac_ext
19091
19092 fi
19093 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19094 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19095
19096 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19097 cat >>confdefs.h <<\_ACEOF
19098 #define HAVE_STRCASECMP_IN_STRING_H 1
19099 _ACEOF
19100
19101 else
19102 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19103 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19104 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19105 echo $ECHO_N "(cached) $ECHO_C" >&6
19106 else
19107
19108 cat >conftest.$ac_ext <<_ACEOF
19109 /* confdefs.h. */
19110 _ACEOF
19111 cat confdefs.h >>conftest.$ac_ext
19112 cat >>conftest.$ac_ext <<_ACEOF
19113 /* end confdefs.h. */
19114
19115 #include <strings.h>
19116
19117 int
19118 main ()
19119 {
19120
19121 strcasecmp("foo", "bar");
19122
19123 ;
19124 return 0;
19125 }
19126 _ACEOF
19127 rm -f conftest.$ac_objext conftest$ac_exeext
19128 if { (ac_try="$ac_link"
19129 case "(($ac_try" in
19130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19131 *) ac_try_echo=$ac_try;;
19132 esac
19133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19134 (eval "$ac_link") 2>conftest.er1
19135 ac_status=$?
19136 grep -v '^ *+' conftest.er1 >conftest.err
19137 rm -f conftest.er1
19138 cat conftest.err >&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); } && {
19141 test -z "$ac_c_werror_flag" ||
19142 test ! -s conftest.err
19143 } && test -s conftest$ac_exeext &&
19144 $as_test_x conftest$ac_exeext; then
19145 ac_cv_strings_strcasecmp=yes
19146 else
19147 echo "$as_me: failed program was:" >&5
19148 sed 's/^/| /' conftest.$ac_ext >&5
19149
19150 ac_cv_strings_strcasecmp=no
19151
19152 fi
19153
19154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19155 conftest$ac_exeext conftest.$ac_ext
19156
19157 fi
19158 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19159 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19160
19161 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19162 cat >>confdefs.h <<\_ACEOF
19163 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19164 _ACEOF
19165
19166 else
19167 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19168 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19169 { (exit 1); exit 1; }; }
19170 fi
19171 fi
19172
19173 ;;
19174 esac
19175
19176
19177 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19178 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19179 if test "${ac_cv_header_stdc+set}" = set; then
19180 echo $ECHO_N "(cached) $ECHO_C" >&6
19181 else
19182 cat >conftest.$ac_ext <<_ACEOF
19183 /* confdefs.h. */
19184 _ACEOF
19185 cat confdefs.h >>conftest.$ac_ext
19186 cat >>conftest.$ac_ext <<_ACEOF
19187 /* end confdefs.h. */
19188 #include <stdlib.h>
19189 #include <stdarg.h>
19190 #include <string.h>
19191 #include <float.h>
19192
19193 int
19194 main ()
19195 {
19196
19197 ;
19198 return 0;
19199 }
19200 _ACEOF
19201 rm -f conftest.$ac_objext
19202 if { (ac_try="$ac_compile"
19203 case "(($ac_try" in
19204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19205 *) ac_try_echo=$ac_try;;
19206 esac
19207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19208 (eval "$ac_compile") 2>conftest.er1
19209 ac_status=$?
19210 grep -v '^ *+' conftest.er1 >conftest.err
19211 rm -f conftest.er1
19212 cat conftest.err >&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); } && {
19215 test -z "$ac_c_werror_flag" ||
19216 test ! -s conftest.err
19217 } && test -s conftest.$ac_objext; then
19218 ac_cv_header_stdc=yes
19219 else
19220 echo "$as_me: failed program was:" >&5
19221 sed 's/^/| /' conftest.$ac_ext >&5
19222
19223 ac_cv_header_stdc=no
19224 fi
19225
19226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19227
19228 if test $ac_cv_header_stdc = yes; then
19229 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19230 cat >conftest.$ac_ext <<_ACEOF
19231 /* confdefs.h. */
19232 _ACEOF
19233 cat confdefs.h >>conftest.$ac_ext
19234 cat >>conftest.$ac_ext <<_ACEOF
19235 /* end confdefs.h. */
19236 #include <string.h>
19237
19238 _ACEOF
19239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19240 $EGREP "memchr" >/dev/null 2>&1; then
19241 :
19242 else
19243 ac_cv_header_stdc=no
19244 fi
19245 rm -f conftest*
19246
19247 fi
19248
19249 if test $ac_cv_header_stdc = yes; then
19250 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19251 cat >conftest.$ac_ext <<_ACEOF
19252 /* confdefs.h. */
19253 _ACEOF
19254 cat confdefs.h >>conftest.$ac_ext
19255 cat >>conftest.$ac_ext <<_ACEOF
19256 /* end confdefs.h. */
19257 #include <stdlib.h>
19258
19259 _ACEOF
19260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19261 $EGREP "free" >/dev/null 2>&1; then
19262 :
19263 else
19264 ac_cv_header_stdc=no
19265 fi
19266 rm -f conftest*
19267
19268 fi
19269
19270 if test $ac_cv_header_stdc = yes; then
19271 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19272 if test "$cross_compiling" = yes; then
19273 :
19274 else
19275 cat >conftest.$ac_ext <<_ACEOF
19276 /* confdefs.h. */
19277 _ACEOF
19278 cat confdefs.h >>conftest.$ac_ext
19279 cat >>conftest.$ac_ext <<_ACEOF
19280 /* end confdefs.h. */
19281 #include <ctype.h>
19282 #include <stdlib.h>
19283 #if ((' ' & 0x0FF) == 0x020)
19284 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19285 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19286 #else
19287 # define ISLOWER(c) \
19288 (('a' <= (c) && (c) <= 'i') \
19289 || ('j' <= (c) && (c) <= 'r') \
19290 || ('s' <= (c) && (c) <= 'z'))
19291 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19292 #endif
19293
19294 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19295 int
19296 main ()
19297 {
19298 int i;
19299 for (i = 0; i < 256; i++)
19300 if (XOR (islower (i), ISLOWER (i))
19301 || toupper (i) != TOUPPER (i))
19302 return 2;
19303 return 0;
19304 }
19305 _ACEOF
19306 rm -f conftest$ac_exeext
19307 if { (ac_try="$ac_link"
19308 case "(($ac_try" in
19309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19310 *) ac_try_echo=$ac_try;;
19311 esac
19312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19313 (eval "$ac_link") 2>&5
19314 ac_status=$?
19315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19316 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19317 { (case "(($ac_try" in
19318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19319 *) ac_try_echo=$ac_try;;
19320 esac
19321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19322 (eval "$ac_try") 2>&5
19323 ac_status=$?
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); }; }; then
19326 :
19327 else
19328 echo "$as_me: program exited with status $ac_status" >&5
19329 echo "$as_me: failed program was:" >&5
19330 sed 's/^/| /' conftest.$ac_ext >&5
19331
19332 ( exit $ac_status )
19333 ac_cv_header_stdc=no
19334 fi
19335 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19336 fi
19337
19338
19339 fi
19340 fi
19341 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19342 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19343 if test $ac_cv_header_stdc = yes; then
19344
19345 cat >>confdefs.h <<\_ACEOF
19346 #define STDC_HEADERS 1
19347 _ACEOF
19348
19349 fi
19350
19351 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19362 inttypes.h stdint.h unistd.h
19363 do
19364 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19365 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19367 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19368 echo $ECHO_N "(cached) $ECHO_C" >&6
19369 else
19370 cat >conftest.$ac_ext <<_ACEOF
19371 /* confdefs.h. */
19372 _ACEOF
19373 cat confdefs.h >>conftest.$ac_ext
19374 cat >>conftest.$ac_ext <<_ACEOF
19375 /* end confdefs.h. */
19376 $ac_includes_default
19377
19378 #include <$ac_header>
19379 _ACEOF
19380 rm -f conftest.$ac_objext
19381 if { (ac_try="$ac_compile"
19382 case "(($ac_try" in
19383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19384 *) ac_try_echo=$ac_try;;
19385 esac
19386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19387 (eval "$ac_compile") 2>conftest.er1
19388 ac_status=$?
19389 grep -v '^ *+' conftest.er1 >conftest.err
19390 rm -f conftest.er1
19391 cat conftest.err >&5
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); } && {
19394 test -z "$ac_c_werror_flag" ||
19395 test ! -s conftest.err
19396 } && test -s conftest.$ac_objext; then
19397 eval "$as_ac_Header=yes"
19398 else
19399 echo "$as_me: failed program was:" >&5
19400 sed 's/^/| /' conftest.$ac_ext >&5
19401
19402 eval "$as_ac_Header=no"
19403 fi
19404
19405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19406 fi
19407 ac_res=`eval echo '${'$as_ac_Header'}'`
19408 { echo "$as_me:$LINENO: result: $ac_res" >&5
19409 echo "${ECHO_T}$ac_res" >&6; }
19410 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19411 cat >>confdefs.h <<_ACEOF
19412 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19413 _ACEOF
19414
19415 fi
19416
19417 done
19418
19419
19420
19421
19422 for ac_header in langinfo.h wchar.h
19423 do
19424 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19425 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19427 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19428 echo $ECHO_N "(cached) $ECHO_C" >&6
19429 else
19430 cat >conftest.$ac_ext <<_ACEOF
19431 /* confdefs.h. */
19432 _ACEOF
19433 cat confdefs.h >>conftest.$ac_ext
19434 cat >>conftest.$ac_ext <<_ACEOF
19435 /* end confdefs.h. */
19436 $ac_includes_default
19437
19438 #include <$ac_header>
19439 _ACEOF
19440 rm -f conftest.$ac_objext
19441 if { (ac_try="$ac_compile"
19442 case "(($ac_try" in
19443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19444 *) ac_try_echo=$ac_try;;
19445 esac
19446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19447 (eval "$ac_compile") 2>conftest.er1
19448 ac_status=$?
19449 grep -v '^ *+' conftest.er1 >conftest.err
19450 rm -f conftest.er1
19451 cat conftest.err >&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); } && {
19454 test -z "$ac_c_werror_flag" ||
19455 test ! -s conftest.err
19456 } && test -s conftest.$ac_objext; then
19457 eval "$as_ac_Header=yes"
19458 else
19459 echo "$as_me: failed program was:" >&5
19460 sed 's/^/| /' conftest.$ac_ext >&5
19461
19462 eval "$as_ac_Header=no"
19463 fi
19464
19465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19466 fi
19467 ac_res=`eval echo '${'$as_ac_Header'}'`
19468 { echo "$as_me:$LINENO: result: $ac_res" >&5
19469 echo "${ECHO_T}$ac_res" >&6; }
19470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19471 cat >>confdefs.h <<_ACEOF
19472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19473 _ACEOF
19474
19475 fi
19476
19477 done
19478
19479
19480 if test "$ac_cv_header_wchar_h" != "yes"; then
19481
19482 for ac_header in wcstr.h
19483 do
19484 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19485 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19487 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19488 echo $ECHO_N "(cached) $ECHO_C" >&6
19489 else
19490 cat >conftest.$ac_ext <<_ACEOF
19491 /* confdefs.h. */
19492 _ACEOF
19493 cat confdefs.h >>conftest.$ac_ext
19494 cat >>conftest.$ac_ext <<_ACEOF
19495 /* end confdefs.h. */
19496 $ac_includes_default
19497
19498 #include <$ac_header>
19499 _ACEOF
19500 rm -f conftest.$ac_objext
19501 if { (ac_try="$ac_compile"
19502 case "(($ac_try" in
19503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19504 *) ac_try_echo=$ac_try;;
19505 esac
19506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19507 (eval "$ac_compile") 2>conftest.er1
19508 ac_status=$?
19509 grep -v '^ *+' conftest.er1 >conftest.err
19510 rm -f conftest.er1
19511 cat conftest.err >&5
19512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19513 (exit $ac_status); } && {
19514 test -z "$ac_c_werror_flag" ||
19515 test ! -s conftest.err
19516 } && test -s conftest.$ac_objext; then
19517 eval "$as_ac_Header=yes"
19518 else
19519 echo "$as_me: failed program was:" >&5
19520 sed 's/^/| /' conftest.$ac_ext >&5
19521
19522 eval "$as_ac_Header=no"
19523 fi
19524
19525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19526 fi
19527 ac_res=`eval echo '${'$as_ac_Header'}'`
19528 { echo "$as_me:$LINENO: result: $ac_res" >&5
19529 echo "${ECHO_T}$ac_res" >&6; }
19530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19531 cat >>confdefs.h <<_ACEOF
19532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19533 _ACEOF
19534
19535 fi
19536
19537 done
19538
19539 fi
19540
19541 case "${host}" in
19542 *-pc-os2_emx | *-pc-os2-emx )
19543 if test $ac_cv_header_langinfo_h = "yes" \
19544 -a \( "$wx_cv_gccversion" = "EMX2" \
19545 -o "$wx_cv_gccversion" = "EMX3" \
19546 -o "$wx_cv_gccversion" = "Innotek5" \); then
19547 LIBS="$LIBS -lintl"
19548 fi
19549 ;;
19550 esac
19551
19552 if test "$USE_UNIX" = 1 ; then
19553
19554 for ac_header in sys/select.h
19555 do
19556 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19557 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19559 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19560 echo $ECHO_N "(cached) $ECHO_C" >&6
19561 else
19562 cat >conftest.$ac_ext <<_ACEOF
19563 /* confdefs.h. */
19564 _ACEOF
19565 cat confdefs.h >>conftest.$ac_ext
19566 cat >>conftest.$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19568 $ac_includes_default
19569
19570 #include <$ac_header>
19571 _ACEOF
19572 rm -f conftest.$ac_objext
19573 if { (ac_try="$ac_compile"
19574 case "(($ac_try" in
19575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19576 *) ac_try_echo=$ac_try;;
19577 esac
19578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19579 (eval "$ac_compile") 2>conftest.er1
19580 ac_status=$?
19581 grep -v '^ *+' conftest.er1 >conftest.err
19582 rm -f conftest.er1
19583 cat conftest.err >&5
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); } && {
19586 test -z "$ac_c_werror_flag" ||
19587 test ! -s conftest.err
19588 } && test -s conftest.$ac_objext; then
19589 eval "$as_ac_Header=yes"
19590 else
19591 echo "$as_me: failed program was:" >&5
19592 sed 's/^/| /' conftest.$ac_ext >&5
19593
19594 eval "$as_ac_Header=no"
19595 fi
19596
19597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19598 fi
19599 ac_res=`eval echo '${'$as_ac_Header'}'`
19600 { echo "$as_me:$LINENO: result: $ac_res" >&5
19601 echo "${ECHO_T}$ac_res" >&6; }
19602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19603 cat >>confdefs.h <<_ACEOF
19604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19605 _ACEOF
19606
19607 fi
19608
19609 done
19610
19611 fi
19612
19613
19614 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19615 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19616 if test "${ac_cv_c_const+set}" = set; then
19617 echo $ECHO_N "(cached) $ECHO_C" >&6
19618 else
19619 cat >conftest.$ac_ext <<_ACEOF
19620 /* confdefs.h. */
19621 _ACEOF
19622 cat confdefs.h >>conftest.$ac_ext
19623 cat >>conftest.$ac_ext <<_ACEOF
19624 /* end confdefs.h. */
19625
19626 int
19627 main ()
19628 {
19629 /* FIXME: Include the comments suggested by Paul. */
19630 #ifndef __cplusplus
19631 /* Ultrix mips cc rejects this. */
19632 typedef int charset[2];
19633 const charset cs;
19634 /* SunOS 4.1.1 cc rejects this. */
19635 char const *const *pcpcc;
19636 char **ppc;
19637 /* NEC SVR4.0.2 mips cc rejects this. */
19638 struct point {int x, y;};
19639 static struct point const zero = {0,0};
19640 /* AIX XL C 1.02.0.0 rejects this.
19641 It does not let you subtract one const X* pointer from another in
19642 an arm of an if-expression whose if-part is not a constant
19643 expression */
19644 const char *g = "string";
19645 pcpcc = &g + (g ? g-g : 0);
19646 /* HPUX 7.0 cc rejects these. */
19647 ++pcpcc;
19648 ppc = (char**) pcpcc;
19649 pcpcc = (char const *const *) ppc;
19650 { /* SCO 3.2v4 cc rejects this. */
19651 char *t;
19652 char const *s = 0 ? (char *) 0 : (char const *) 0;
19653
19654 *t++ = 0;
19655 if (s) return 0;
19656 }
19657 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19658 int x[] = {25, 17};
19659 const int *foo = &x[0];
19660 ++foo;
19661 }
19662 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19663 typedef const int *iptr;
19664 iptr p = 0;
19665 ++p;
19666 }
19667 { /* AIX XL C 1.02.0.0 rejects this saying
19668 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19669 struct s { int j; const int *ap[3]; };
19670 struct s *b; b->j = 5;
19671 }
19672 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19673 const int foo = 10;
19674 if (!foo) return 0;
19675 }
19676 return !cs[0] && !zero.x;
19677 #endif
19678
19679 ;
19680 return 0;
19681 }
19682 _ACEOF
19683 rm -f conftest.$ac_objext
19684 if { (ac_try="$ac_compile"
19685 case "(($ac_try" in
19686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19687 *) ac_try_echo=$ac_try;;
19688 esac
19689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19690 (eval "$ac_compile") 2>conftest.er1
19691 ac_status=$?
19692 grep -v '^ *+' conftest.er1 >conftest.err
19693 rm -f conftest.er1
19694 cat conftest.err >&5
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); } && {
19697 test -z "$ac_c_werror_flag" ||
19698 test ! -s conftest.err
19699 } && test -s conftest.$ac_objext; then
19700 ac_cv_c_const=yes
19701 else
19702 echo "$as_me: failed program was:" >&5
19703 sed 's/^/| /' conftest.$ac_ext >&5
19704
19705 ac_cv_c_const=no
19706 fi
19707
19708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19709 fi
19710 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19711 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19712 if test $ac_cv_c_const = no; then
19713
19714 cat >>confdefs.h <<\_ACEOF
19715 #define const
19716 _ACEOF
19717
19718 fi
19719
19720 { echo "$as_me:$LINENO: checking for inline" >&5
19721 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19722 if test "${ac_cv_c_inline+set}" = set; then
19723 echo $ECHO_N "(cached) $ECHO_C" >&6
19724 else
19725 ac_cv_c_inline=no
19726 for ac_kw in inline __inline__ __inline; do
19727 cat >conftest.$ac_ext <<_ACEOF
19728 /* confdefs.h. */
19729 _ACEOF
19730 cat confdefs.h >>conftest.$ac_ext
19731 cat >>conftest.$ac_ext <<_ACEOF
19732 /* end confdefs.h. */
19733 #ifndef __cplusplus
19734 typedef int foo_t;
19735 static $ac_kw foo_t static_foo () {return 0; }
19736 $ac_kw foo_t foo () {return 0; }
19737 #endif
19738
19739 _ACEOF
19740 rm -f conftest.$ac_objext
19741 if { (ac_try="$ac_compile"
19742 case "(($ac_try" in
19743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19744 *) ac_try_echo=$ac_try;;
19745 esac
19746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19747 (eval "$ac_compile") 2>conftest.er1
19748 ac_status=$?
19749 grep -v '^ *+' conftest.er1 >conftest.err
19750 rm -f conftest.er1
19751 cat conftest.err >&5
19752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753 (exit $ac_status); } && {
19754 test -z "$ac_c_werror_flag" ||
19755 test ! -s conftest.err
19756 } && test -s conftest.$ac_objext; then
19757 ac_cv_c_inline=$ac_kw
19758 else
19759 echo "$as_me: failed program was:" >&5
19760 sed 's/^/| /' conftest.$ac_ext >&5
19761
19762
19763 fi
19764
19765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19766 test "$ac_cv_c_inline" != no && break
19767 done
19768
19769 fi
19770 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19771 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19772
19773
19774 case $ac_cv_c_inline in
19775 inline | yes) ;;
19776 *)
19777 case $ac_cv_c_inline in
19778 no) ac_val=;;
19779 *) ac_val=$ac_cv_c_inline;;
19780 esac
19781 cat >>confdefs.h <<_ACEOF
19782 #ifndef __cplusplus
19783 #define inline $ac_val
19784 #endif
19785 _ACEOF
19786 ;;
19787 esac
19788
19789
19790 { echo "$as_me:$LINENO: checking for short" >&5
19791 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19792 if test "${ac_cv_type_short+set}" = set; then
19793 echo $ECHO_N "(cached) $ECHO_C" >&6
19794 else
19795 cat >conftest.$ac_ext <<_ACEOF
19796 /* confdefs.h. */
19797 _ACEOF
19798 cat confdefs.h >>conftest.$ac_ext
19799 cat >>conftest.$ac_ext <<_ACEOF
19800 /* end confdefs.h. */
19801 $ac_includes_default
19802 typedef short ac__type_new_;
19803 int
19804 main ()
19805 {
19806 if ((ac__type_new_ *) 0)
19807 return 0;
19808 if (sizeof (ac__type_new_))
19809 return 0;
19810 ;
19811 return 0;
19812 }
19813 _ACEOF
19814 rm -f conftest.$ac_objext
19815 if { (ac_try="$ac_compile"
19816 case "(($ac_try" in
19817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19818 *) ac_try_echo=$ac_try;;
19819 esac
19820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19821 (eval "$ac_compile") 2>conftest.er1
19822 ac_status=$?
19823 grep -v '^ *+' conftest.er1 >conftest.err
19824 rm -f conftest.er1
19825 cat conftest.err >&5
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); } && {
19828 test -z "$ac_c_werror_flag" ||
19829 test ! -s conftest.err
19830 } && test -s conftest.$ac_objext; then
19831 ac_cv_type_short=yes
19832 else
19833 echo "$as_me: failed program was:" >&5
19834 sed 's/^/| /' conftest.$ac_ext >&5
19835
19836 ac_cv_type_short=no
19837 fi
19838
19839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19840 fi
19841 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19842 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19843
19844 # The cast to long int works around a bug in the HP C Compiler
19845 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19846 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19847 # This bug is HP SR number 8606223364.
19848 { echo "$as_me:$LINENO: checking size of short" >&5
19849 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19850 if test "${ac_cv_sizeof_short+set}" = set; then
19851 echo $ECHO_N "(cached) $ECHO_C" >&6
19852 else
19853 if test "$cross_compiling" = yes; then
19854 # Depending upon the size, compute the lo and hi bounds.
19855 cat >conftest.$ac_ext <<_ACEOF
19856 /* confdefs.h. */
19857 _ACEOF
19858 cat confdefs.h >>conftest.$ac_ext
19859 cat >>conftest.$ac_ext <<_ACEOF
19860 /* end confdefs.h. */
19861 $ac_includes_default
19862 typedef short ac__type_sizeof_;
19863 int
19864 main ()
19865 {
19866 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19867 test_array [0] = 0
19868
19869 ;
19870 return 0;
19871 }
19872 _ACEOF
19873 rm -f conftest.$ac_objext
19874 if { (ac_try="$ac_compile"
19875 case "(($ac_try" in
19876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19877 *) ac_try_echo=$ac_try;;
19878 esac
19879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19880 (eval "$ac_compile") 2>conftest.er1
19881 ac_status=$?
19882 grep -v '^ *+' conftest.er1 >conftest.err
19883 rm -f conftest.er1
19884 cat conftest.err >&5
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); } && {
19887 test -z "$ac_c_werror_flag" ||
19888 test ! -s conftest.err
19889 } && test -s conftest.$ac_objext; then
19890 ac_lo=0 ac_mid=0
19891 while :; do
19892 cat >conftest.$ac_ext <<_ACEOF
19893 /* confdefs.h. */
19894 _ACEOF
19895 cat confdefs.h >>conftest.$ac_ext
19896 cat >>conftest.$ac_ext <<_ACEOF
19897 /* end confdefs.h. */
19898 $ac_includes_default
19899 typedef short ac__type_sizeof_;
19900 int
19901 main ()
19902 {
19903 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19904 test_array [0] = 0
19905
19906 ;
19907 return 0;
19908 }
19909 _ACEOF
19910 rm -f conftest.$ac_objext
19911 if { (ac_try="$ac_compile"
19912 case "(($ac_try" in
19913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19914 *) ac_try_echo=$ac_try;;
19915 esac
19916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19917 (eval "$ac_compile") 2>conftest.er1
19918 ac_status=$?
19919 grep -v '^ *+' conftest.er1 >conftest.err
19920 rm -f conftest.er1
19921 cat conftest.err >&5
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); } && {
19924 test -z "$ac_c_werror_flag" ||
19925 test ! -s conftest.err
19926 } && test -s conftest.$ac_objext; then
19927 ac_hi=$ac_mid; break
19928 else
19929 echo "$as_me: failed program was:" >&5
19930 sed 's/^/| /' conftest.$ac_ext >&5
19931
19932 ac_lo=`expr $ac_mid + 1`
19933 if test $ac_lo -le $ac_mid; then
19934 ac_lo= ac_hi=
19935 break
19936 fi
19937 ac_mid=`expr 2 '*' $ac_mid + 1`
19938 fi
19939
19940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19941 done
19942 else
19943 echo "$as_me: failed program was:" >&5
19944 sed 's/^/| /' conftest.$ac_ext >&5
19945
19946 cat >conftest.$ac_ext <<_ACEOF
19947 /* confdefs.h. */
19948 _ACEOF
19949 cat confdefs.h >>conftest.$ac_ext
19950 cat >>conftest.$ac_ext <<_ACEOF
19951 /* end confdefs.h. */
19952 $ac_includes_default
19953 typedef short ac__type_sizeof_;
19954 int
19955 main ()
19956 {
19957 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19958 test_array [0] = 0
19959
19960 ;
19961 return 0;
19962 }
19963 _ACEOF
19964 rm -f conftest.$ac_objext
19965 if { (ac_try="$ac_compile"
19966 case "(($ac_try" in
19967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19968 *) ac_try_echo=$ac_try;;
19969 esac
19970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19971 (eval "$ac_compile") 2>conftest.er1
19972 ac_status=$?
19973 grep -v '^ *+' conftest.er1 >conftest.err
19974 rm -f conftest.er1
19975 cat conftest.err >&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); } && {
19978 test -z "$ac_c_werror_flag" ||
19979 test ! -s conftest.err
19980 } && test -s conftest.$ac_objext; then
19981 ac_hi=-1 ac_mid=-1
19982 while :; do
19983 cat >conftest.$ac_ext <<_ACEOF
19984 /* confdefs.h. */
19985 _ACEOF
19986 cat confdefs.h >>conftest.$ac_ext
19987 cat >>conftest.$ac_ext <<_ACEOF
19988 /* end confdefs.h. */
19989 $ac_includes_default
19990 typedef short ac__type_sizeof_;
19991 int
19992 main ()
19993 {
19994 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19995 test_array [0] = 0
19996
19997 ;
19998 return 0;
19999 }
20000 _ACEOF
20001 rm -f conftest.$ac_objext
20002 if { (ac_try="$ac_compile"
20003 case "(($ac_try" in
20004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20005 *) ac_try_echo=$ac_try;;
20006 esac
20007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20008 (eval "$ac_compile") 2>conftest.er1
20009 ac_status=$?
20010 grep -v '^ *+' conftest.er1 >conftest.err
20011 rm -f conftest.er1
20012 cat conftest.err >&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); } && {
20015 test -z "$ac_c_werror_flag" ||
20016 test ! -s conftest.err
20017 } && test -s conftest.$ac_objext; then
20018 ac_lo=$ac_mid; break
20019 else
20020 echo "$as_me: failed program was:" >&5
20021 sed 's/^/| /' conftest.$ac_ext >&5
20022
20023 ac_hi=`expr '(' $ac_mid ')' - 1`
20024 if test $ac_mid -le $ac_hi; then
20025 ac_lo= ac_hi=
20026 break
20027 fi
20028 ac_mid=`expr 2 '*' $ac_mid`
20029 fi
20030
20031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20032 done
20033 else
20034 echo "$as_me: failed program was:" >&5
20035 sed 's/^/| /' conftest.$ac_ext >&5
20036
20037 ac_lo= ac_hi=
20038 fi
20039
20040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20041 fi
20042
20043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20044 # Binary search between lo and hi bounds.
20045 while test "x$ac_lo" != "x$ac_hi"; do
20046 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20047 cat >conftest.$ac_ext <<_ACEOF
20048 /* confdefs.h. */
20049 _ACEOF
20050 cat confdefs.h >>conftest.$ac_ext
20051 cat >>conftest.$ac_ext <<_ACEOF
20052 /* end confdefs.h. */
20053 $ac_includes_default
20054 typedef short ac__type_sizeof_;
20055 int
20056 main ()
20057 {
20058 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20059 test_array [0] = 0
20060
20061 ;
20062 return 0;
20063 }
20064 _ACEOF
20065 rm -f conftest.$ac_objext
20066 if { (ac_try="$ac_compile"
20067 case "(($ac_try" in
20068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20069 *) ac_try_echo=$ac_try;;
20070 esac
20071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20072 (eval "$ac_compile") 2>conftest.er1
20073 ac_status=$?
20074 grep -v '^ *+' conftest.er1 >conftest.err
20075 rm -f conftest.er1
20076 cat conftest.err >&5
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); } && {
20079 test -z "$ac_c_werror_flag" ||
20080 test ! -s conftest.err
20081 } && test -s conftest.$ac_objext; then
20082 ac_hi=$ac_mid
20083 else
20084 echo "$as_me: failed program was:" >&5
20085 sed 's/^/| /' conftest.$ac_ext >&5
20086
20087 ac_lo=`expr '(' $ac_mid ')' + 1`
20088 fi
20089
20090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20091 done
20092 case $ac_lo in
20093 ?*) ac_cv_sizeof_short=$ac_lo;;
20094 '') if test "$ac_cv_type_short" = yes; then
20095 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20096 See \`config.log' for more details." >&5
20097 echo "$as_me: error: cannot compute sizeof (short)
20098 See \`config.log' for more details." >&2;}
20099 { (exit 77); exit 77; }; }
20100 else
20101 ac_cv_sizeof_short=0
20102 fi ;;
20103 esac
20104 else
20105 cat >conftest.$ac_ext <<_ACEOF
20106 /* confdefs.h. */
20107 _ACEOF
20108 cat confdefs.h >>conftest.$ac_ext
20109 cat >>conftest.$ac_ext <<_ACEOF
20110 /* end confdefs.h. */
20111 $ac_includes_default
20112 typedef short ac__type_sizeof_;
20113 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20114 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20115 #include <stdio.h>
20116 #include <stdlib.h>
20117 int
20118 main ()
20119 {
20120
20121 FILE *f = fopen ("conftest.val", "w");
20122 if (! f)
20123 return 1;
20124 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20125 {
20126 long int i = longval ();
20127 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20128 return 1;
20129 fprintf (f, "%ld\n", i);
20130 }
20131 else
20132 {
20133 unsigned long int i = ulongval ();
20134 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20135 return 1;
20136 fprintf (f, "%lu\n", i);
20137 }
20138 return ferror (f) || fclose (f) != 0;
20139
20140 ;
20141 return 0;
20142 }
20143 _ACEOF
20144 rm -f conftest$ac_exeext
20145 if { (ac_try="$ac_link"
20146 case "(($ac_try" in
20147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20148 *) ac_try_echo=$ac_try;;
20149 esac
20150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20151 (eval "$ac_link") 2>&5
20152 ac_status=$?
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20155 { (case "(($ac_try" in
20156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20157 *) ac_try_echo=$ac_try;;
20158 esac
20159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20160 (eval "$ac_try") 2>&5
20161 ac_status=$?
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); }; }; then
20164 ac_cv_sizeof_short=`cat conftest.val`
20165 else
20166 echo "$as_me: program exited with status $ac_status" >&5
20167 echo "$as_me: failed program was:" >&5
20168 sed 's/^/| /' conftest.$ac_ext >&5
20169
20170 ( exit $ac_status )
20171 if test "$ac_cv_type_short" = yes; then
20172 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20173 See \`config.log' for more details." >&5
20174 echo "$as_me: error: cannot compute sizeof (short)
20175 See \`config.log' for more details." >&2;}
20176 { (exit 77); exit 77; }; }
20177 else
20178 ac_cv_sizeof_short=0
20179 fi
20180 fi
20181 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20182 fi
20183 rm -f conftest.val
20184 fi
20185 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20186 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20187
20188
20189
20190 cat >>confdefs.h <<_ACEOF
20191 #define SIZEOF_SHORT $ac_cv_sizeof_short
20192 _ACEOF
20193
20194
20195 { echo "$as_me:$LINENO: checking for void *" >&5
20196 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20197 if test "${ac_cv_type_void_p+set}" = set; then
20198 echo $ECHO_N "(cached) $ECHO_C" >&6
20199 else
20200 cat >conftest.$ac_ext <<_ACEOF
20201 /* confdefs.h. */
20202 _ACEOF
20203 cat confdefs.h >>conftest.$ac_ext
20204 cat >>conftest.$ac_ext <<_ACEOF
20205 /* end confdefs.h. */
20206 $ac_includes_default
20207 typedef void * ac__type_new_;
20208 int
20209 main ()
20210 {
20211 if ((ac__type_new_ *) 0)
20212 return 0;
20213 if (sizeof (ac__type_new_))
20214 return 0;
20215 ;
20216 return 0;
20217 }
20218 _ACEOF
20219 rm -f conftest.$ac_objext
20220 if { (ac_try="$ac_compile"
20221 case "(($ac_try" in
20222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20223 *) ac_try_echo=$ac_try;;
20224 esac
20225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20226 (eval "$ac_compile") 2>conftest.er1
20227 ac_status=$?
20228 grep -v '^ *+' conftest.er1 >conftest.err
20229 rm -f conftest.er1
20230 cat conftest.err >&5
20231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20232 (exit $ac_status); } && {
20233 test -z "$ac_c_werror_flag" ||
20234 test ! -s conftest.err
20235 } && test -s conftest.$ac_objext; then
20236 ac_cv_type_void_p=yes
20237 else
20238 echo "$as_me: failed program was:" >&5
20239 sed 's/^/| /' conftest.$ac_ext >&5
20240
20241 ac_cv_type_void_p=no
20242 fi
20243
20244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20245 fi
20246 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20247 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20248
20249 # The cast to long int works around a bug in the HP C Compiler
20250 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20251 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20252 # This bug is HP SR number 8606223364.
20253 { echo "$as_me:$LINENO: checking size of void *" >&5
20254 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20255 if test "${ac_cv_sizeof_void_p+set}" = set; then
20256 echo $ECHO_N "(cached) $ECHO_C" >&6
20257 else
20258 if test "$cross_compiling" = yes; then
20259 # Depending upon the size, compute the lo and hi bounds.
20260 cat >conftest.$ac_ext <<_ACEOF
20261 /* confdefs.h. */
20262 _ACEOF
20263 cat confdefs.h >>conftest.$ac_ext
20264 cat >>conftest.$ac_ext <<_ACEOF
20265 /* end confdefs.h. */
20266 $ac_includes_default
20267 typedef void * ac__type_sizeof_;
20268 int
20269 main ()
20270 {
20271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20272 test_array [0] = 0
20273
20274 ;
20275 return 0;
20276 }
20277 _ACEOF
20278 rm -f conftest.$ac_objext
20279 if { (ac_try="$ac_compile"
20280 case "(($ac_try" in
20281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20282 *) ac_try_echo=$ac_try;;
20283 esac
20284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20285 (eval "$ac_compile") 2>conftest.er1
20286 ac_status=$?
20287 grep -v '^ *+' conftest.er1 >conftest.err
20288 rm -f conftest.er1
20289 cat conftest.err >&5
20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 (exit $ac_status); } && {
20292 test -z "$ac_c_werror_flag" ||
20293 test ! -s conftest.err
20294 } && test -s conftest.$ac_objext; then
20295 ac_lo=0 ac_mid=0
20296 while :; do
20297 cat >conftest.$ac_ext <<_ACEOF
20298 /* confdefs.h. */
20299 _ACEOF
20300 cat confdefs.h >>conftest.$ac_ext
20301 cat >>conftest.$ac_ext <<_ACEOF
20302 /* end confdefs.h. */
20303 $ac_includes_default
20304 typedef void * ac__type_sizeof_;
20305 int
20306 main ()
20307 {
20308 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20309 test_array [0] = 0
20310
20311 ;
20312 return 0;
20313 }
20314 _ACEOF
20315 rm -f conftest.$ac_objext
20316 if { (ac_try="$ac_compile"
20317 case "(($ac_try" in
20318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20319 *) ac_try_echo=$ac_try;;
20320 esac
20321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20322 (eval "$ac_compile") 2>conftest.er1
20323 ac_status=$?
20324 grep -v '^ *+' conftest.er1 >conftest.err
20325 rm -f conftest.er1
20326 cat conftest.err >&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); } && {
20329 test -z "$ac_c_werror_flag" ||
20330 test ! -s conftest.err
20331 } && test -s conftest.$ac_objext; then
20332 ac_hi=$ac_mid; break
20333 else
20334 echo "$as_me: failed program was:" >&5
20335 sed 's/^/| /' conftest.$ac_ext >&5
20336
20337 ac_lo=`expr $ac_mid + 1`
20338 if test $ac_lo -le $ac_mid; then
20339 ac_lo= ac_hi=
20340 break
20341 fi
20342 ac_mid=`expr 2 '*' $ac_mid + 1`
20343 fi
20344
20345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20346 done
20347 else
20348 echo "$as_me: failed program was:" >&5
20349 sed 's/^/| /' conftest.$ac_ext >&5
20350
20351 cat >conftest.$ac_ext <<_ACEOF
20352 /* confdefs.h. */
20353 _ACEOF
20354 cat confdefs.h >>conftest.$ac_ext
20355 cat >>conftest.$ac_ext <<_ACEOF
20356 /* end confdefs.h. */
20357 $ac_includes_default
20358 typedef void * ac__type_sizeof_;
20359 int
20360 main ()
20361 {
20362 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20363 test_array [0] = 0
20364
20365 ;
20366 return 0;
20367 }
20368 _ACEOF
20369 rm -f conftest.$ac_objext
20370 if { (ac_try="$ac_compile"
20371 case "(($ac_try" in
20372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20373 *) ac_try_echo=$ac_try;;
20374 esac
20375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20376 (eval "$ac_compile") 2>conftest.er1
20377 ac_status=$?
20378 grep -v '^ *+' conftest.er1 >conftest.err
20379 rm -f conftest.er1
20380 cat conftest.err >&5
20381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20382 (exit $ac_status); } && {
20383 test -z "$ac_c_werror_flag" ||
20384 test ! -s conftest.err
20385 } && test -s conftest.$ac_objext; then
20386 ac_hi=-1 ac_mid=-1
20387 while :; do
20388 cat >conftest.$ac_ext <<_ACEOF
20389 /* confdefs.h. */
20390 _ACEOF
20391 cat confdefs.h >>conftest.$ac_ext
20392 cat >>conftest.$ac_ext <<_ACEOF
20393 /* end confdefs.h. */
20394 $ac_includes_default
20395 typedef void * ac__type_sizeof_;
20396 int
20397 main ()
20398 {
20399 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20400 test_array [0] = 0
20401
20402 ;
20403 return 0;
20404 }
20405 _ACEOF
20406 rm -f conftest.$ac_objext
20407 if { (ac_try="$ac_compile"
20408 case "(($ac_try" in
20409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20410 *) ac_try_echo=$ac_try;;
20411 esac
20412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20413 (eval "$ac_compile") 2>conftest.er1
20414 ac_status=$?
20415 grep -v '^ *+' conftest.er1 >conftest.err
20416 rm -f conftest.er1
20417 cat conftest.err >&5
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); } && {
20420 test -z "$ac_c_werror_flag" ||
20421 test ! -s conftest.err
20422 } && test -s conftest.$ac_objext; then
20423 ac_lo=$ac_mid; break
20424 else
20425 echo "$as_me: failed program was:" >&5
20426 sed 's/^/| /' conftest.$ac_ext >&5
20427
20428 ac_hi=`expr '(' $ac_mid ')' - 1`
20429 if test $ac_mid -le $ac_hi; then
20430 ac_lo= ac_hi=
20431 break
20432 fi
20433 ac_mid=`expr 2 '*' $ac_mid`
20434 fi
20435
20436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20437 done
20438 else
20439 echo "$as_me: failed program was:" >&5
20440 sed 's/^/| /' conftest.$ac_ext >&5
20441
20442 ac_lo= ac_hi=
20443 fi
20444
20445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20446 fi
20447
20448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20449 # Binary search between lo and hi bounds.
20450 while test "x$ac_lo" != "x$ac_hi"; do
20451 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20452 cat >conftest.$ac_ext <<_ACEOF
20453 /* confdefs.h. */
20454 _ACEOF
20455 cat confdefs.h >>conftest.$ac_ext
20456 cat >>conftest.$ac_ext <<_ACEOF
20457 /* end confdefs.h. */
20458 $ac_includes_default
20459 typedef void * ac__type_sizeof_;
20460 int
20461 main ()
20462 {
20463 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20464 test_array [0] = 0
20465
20466 ;
20467 return 0;
20468 }
20469 _ACEOF
20470 rm -f conftest.$ac_objext
20471 if { (ac_try="$ac_compile"
20472 case "(($ac_try" in
20473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20474 *) ac_try_echo=$ac_try;;
20475 esac
20476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20477 (eval "$ac_compile") 2>conftest.er1
20478 ac_status=$?
20479 grep -v '^ *+' conftest.er1 >conftest.err
20480 rm -f conftest.er1
20481 cat conftest.err >&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); } && {
20484 test -z "$ac_c_werror_flag" ||
20485 test ! -s conftest.err
20486 } && test -s conftest.$ac_objext; then
20487 ac_hi=$ac_mid
20488 else
20489 echo "$as_me: failed program was:" >&5
20490 sed 's/^/| /' conftest.$ac_ext >&5
20491
20492 ac_lo=`expr '(' $ac_mid ')' + 1`
20493 fi
20494
20495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20496 done
20497 case $ac_lo in
20498 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20499 '') if test "$ac_cv_type_void_p" = yes; then
20500 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20501 See \`config.log' for more details." >&5
20502 echo "$as_me: error: cannot compute sizeof (void *)
20503 See \`config.log' for more details." >&2;}
20504 { (exit 77); exit 77; }; }
20505 else
20506 ac_cv_sizeof_void_p=0
20507 fi ;;
20508 esac
20509 else
20510 cat >conftest.$ac_ext <<_ACEOF
20511 /* confdefs.h. */
20512 _ACEOF
20513 cat confdefs.h >>conftest.$ac_ext
20514 cat >>conftest.$ac_ext <<_ACEOF
20515 /* end confdefs.h. */
20516 $ac_includes_default
20517 typedef void * ac__type_sizeof_;
20518 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20519 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20520 #include <stdio.h>
20521 #include <stdlib.h>
20522 int
20523 main ()
20524 {
20525
20526 FILE *f = fopen ("conftest.val", "w");
20527 if (! f)
20528 return 1;
20529 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20530 {
20531 long int i = longval ();
20532 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20533 return 1;
20534 fprintf (f, "%ld\n", i);
20535 }
20536 else
20537 {
20538 unsigned long int i = ulongval ();
20539 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20540 return 1;
20541 fprintf (f, "%lu\n", i);
20542 }
20543 return ferror (f) || fclose (f) != 0;
20544
20545 ;
20546 return 0;
20547 }
20548 _ACEOF
20549 rm -f conftest$ac_exeext
20550 if { (ac_try="$ac_link"
20551 case "(($ac_try" in
20552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20553 *) ac_try_echo=$ac_try;;
20554 esac
20555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20556 (eval "$ac_link") 2>&5
20557 ac_status=$?
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20560 { (case "(($ac_try" in
20561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20562 *) ac_try_echo=$ac_try;;
20563 esac
20564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20565 (eval "$ac_try") 2>&5
20566 ac_status=$?
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); }; }; then
20569 ac_cv_sizeof_void_p=`cat conftest.val`
20570 else
20571 echo "$as_me: program exited with status $ac_status" >&5
20572 echo "$as_me: failed program was:" >&5
20573 sed 's/^/| /' conftest.$ac_ext >&5
20574
20575 ( exit $ac_status )
20576 if test "$ac_cv_type_void_p" = yes; then
20577 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20578 See \`config.log' for more details." >&5
20579 echo "$as_me: error: cannot compute sizeof (void *)
20580 See \`config.log' for more details." >&2;}
20581 { (exit 77); exit 77; }; }
20582 else
20583 ac_cv_sizeof_void_p=0
20584 fi
20585 fi
20586 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20587 fi
20588 rm -f conftest.val
20589 fi
20590 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20591 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20592
20593
20594
20595 cat >>confdefs.h <<_ACEOF
20596 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20597 _ACEOF
20598
20599
20600 { echo "$as_me:$LINENO: checking for int" >&5
20601 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20602 if test "${ac_cv_type_int+set}" = set; then
20603 echo $ECHO_N "(cached) $ECHO_C" >&6
20604 else
20605 cat >conftest.$ac_ext <<_ACEOF
20606 /* confdefs.h. */
20607 _ACEOF
20608 cat confdefs.h >>conftest.$ac_ext
20609 cat >>conftest.$ac_ext <<_ACEOF
20610 /* end confdefs.h. */
20611 $ac_includes_default
20612 typedef int ac__type_new_;
20613 int
20614 main ()
20615 {
20616 if ((ac__type_new_ *) 0)
20617 return 0;
20618 if (sizeof (ac__type_new_))
20619 return 0;
20620 ;
20621 return 0;
20622 }
20623 _ACEOF
20624 rm -f conftest.$ac_objext
20625 if { (ac_try="$ac_compile"
20626 case "(($ac_try" in
20627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20628 *) ac_try_echo=$ac_try;;
20629 esac
20630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20631 (eval "$ac_compile") 2>conftest.er1
20632 ac_status=$?
20633 grep -v '^ *+' conftest.er1 >conftest.err
20634 rm -f conftest.er1
20635 cat conftest.err >&5
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); } && {
20638 test -z "$ac_c_werror_flag" ||
20639 test ! -s conftest.err
20640 } && test -s conftest.$ac_objext; then
20641 ac_cv_type_int=yes
20642 else
20643 echo "$as_me: failed program was:" >&5
20644 sed 's/^/| /' conftest.$ac_ext >&5
20645
20646 ac_cv_type_int=no
20647 fi
20648
20649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20650 fi
20651 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20652 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20653
20654 # The cast to long int works around a bug in the HP C Compiler
20655 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20656 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20657 # This bug is HP SR number 8606223364.
20658 { echo "$as_me:$LINENO: checking size of int" >&5
20659 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20660 if test "${ac_cv_sizeof_int+set}" = set; then
20661 echo $ECHO_N "(cached) $ECHO_C" >&6
20662 else
20663 if test "$cross_compiling" = yes; then
20664 # Depending upon the size, compute the lo and hi bounds.
20665 cat >conftest.$ac_ext <<_ACEOF
20666 /* confdefs.h. */
20667 _ACEOF
20668 cat confdefs.h >>conftest.$ac_ext
20669 cat >>conftest.$ac_ext <<_ACEOF
20670 /* end confdefs.h. */
20671 $ac_includes_default
20672 typedef int ac__type_sizeof_;
20673 int
20674 main ()
20675 {
20676 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20677 test_array [0] = 0
20678
20679 ;
20680 return 0;
20681 }
20682 _ACEOF
20683 rm -f conftest.$ac_objext
20684 if { (ac_try="$ac_compile"
20685 case "(($ac_try" in
20686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20687 *) ac_try_echo=$ac_try;;
20688 esac
20689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20690 (eval "$ac_compile") 2>conftest.er1
20691 ac_status=$?
20692 grep -v '^ *+' conftest.er1 >conftest.err
20693 rm -f conftest.er1
20694 cat conftest.err >&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); } && {
20697 test -z "$ac_c_werror_flag" ||
20698 test ! -s conftest.err
20699 } && test -s conftest.$ac_objext; then
20700 ac_lo=0 ac_mid=0
20701 while :; do
20702 cat >conftest.$ac_ext <<_ACEOF
20703 /* confdefs.h. */
20704 _ACEOF
20705 cat confdefs.h >>conftest.$ac_ext
20706 cat >>conftest.$ac_ext <<_ACEOF
20707 /* end confdefs.h. */
20708 $ac_includes_default
20709 typedef int ac__type_sizeof_;
20710 int
20711 main ()
20712 {
20713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20714 test_array [0] = 0
20715
20716 ;
20717 return 0;
20718 }
20719 _ACEOF
20720 rm -f conftest.$ac_objext
20721 if { (ac_try="$ac_compile"
20722 case "(($ac_try" in
20723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20724 *) ac_try_echo=$ac_try;;
20725 esac
20726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20727 (eval "$ac_compile") 2>conftest.er1
20728 ac_status=$?
20729 grep -v '^ *+' conftest.er1 >conftest.err
20730 rm -f conftest.er1
20731 cat conftest.err >&5
20732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20733 (exit $ac_status); } && {
20734 test -z "$ac_c_werror_flag" ||
20735 test ! -s conftest.err
20736 } && test -s conftest.$ac_objext; then
20737 ac_hi=$ac_mid; break
20738 else
20739 echo "$as_me: failed program was:" >&5
20740 sed 's/^/| /' conftest.$ac_ext >&5
20741
20742 ac_lo=`expr $ac_mid + 1`
20743 if test $ac_lo -le $ac_mid; then
20744 ac_lo= ac_hi=
20745 break
20746 fi
20747 ac_mid=`expr 2 '*' $ac_mid + 1`
20748 fi
20749
20750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20751 done
20752 else
20753 echo "$as_me: failed program was:" >&5
20754 sed 's/^/| /' conftest.$ac_ext >&5
20755
20756 cat >conftest.$ac_ext <<_ACEOF
20757 /* confdefs.h. */
20758 _ACEOF
20759 cat confdefs.h >>conftest.$ac_ext
20760 cat >>conftest.$ac_ext <<_ACEOF
20761 /* end confdefs.h. */
20762 $ac_includes_default
20763 typedef int ac__type_sizeof_;
20764 int
20765 main ()
20766 {
20767 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20768 test_array [0] = 0
20769
20770 ;
20771 return 0;
20772 }
20773 _ACEOF
20774 rm -f conftest.$ac_objext
20775 if { (ac_try="$ac_compile"
20776 case "(($ac_try" in
20777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20778 *) ac_try_echo=$ac_try;;
20779 esac
20780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20781 (eval "$ac_compile") 2>conftest.er1
20782 ac_status=$?
20783 grep -v '^ *+' conftest.er1 >conftest.err
20784 rm -f conftest.er1
20785 cat conftest.err >&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); } && {
20788 test -z "$ac_c_werror_flag" ||
20789 test ! -s conftest.err
20790 } && test -s conftest.$ac_objext; then
20791 ac_hi=-1 ac_mid=-1
20792 while :; do
20793 cat >conftest.$ac_ext <<_ACEOF
20794 /* confdefs.h. */
20795 _ACEOF
20796 cat confdefs.h >>conftest.$ac_ext
20797 cat >>conftest.$ac_ext <<_ACEOF
20798 /* end confdefs.h. */
20799 $ac_includes_default
20800 typedef int ac__type_sizeof_;
20801 int
20802 main ()
20803 {
20804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20805 test_array [0] = 0
20806
20807 ;
20808 return 0;
20809 }
20810 _ACEOF
20811 rm -f conftest.$ac_objext
20812 if { (ac_try="$ac_compile"
20813 case "(($ac_try" in
20814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20815 *) ac_try_echo=$ac_try;;
20816 esac
20817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20818 (eval "$ac_compile") 2>conftest.er1
20819 ac_status=$?
20820 grep -v '^ *+' conftest.er1 >conftest.err
20821 rm -f conftest.er1
20822 cat conftest.err >&5
20823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20824 (exit $ac_status); } && {
20825 test -z "$ac_c_werror_flag" ||
20826 test ! -s conftest.err
20827 } && test -s conftest.$ac_objext; then
20828 ac_lo=$ac_mid; break
20829 else
20830 echo "$as_me: failed program was:" >&5
20831 sed 's/^/| /' conftest.$ac_ext >&5
20832
20833 ac_hi=`expr '(' $ac_mid ')' - 1`
20834 if test $ac_mid -le $ac_hi; then
20835 ac_lo= ac_hi=
20836 break
20837 fi
20838 ac_mid=`expr 2 '*' $ac_mid`
20839 fi
20840
20841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20842 done
20843 else
20844 echo "$as_me: failed program was:" >&5
20845 sed 's/^/| /' conftest.$ac_ext >&5
20846
20847 ac_lo= ac_hi=
20848 fi
20849
20850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20851 fi
20852
20853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20854 # Binary search between lo and hi bounds.
20855 while test "x$ac_lo" != "x$ac_hi"; do
20856 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20857 cat >conftest.$ac_ext <<_ACEOF
20858 /* confdefs.h. */
20859 _ACEOF
20860 cat confdefs.h >>conftest.$ac_ext
20861 cat >>conftest.$ac_ext <<_ACEOF
20862 /* end confdefs.h. */
20863 $ac_includes_default
20864 typedef int ac__type_sizeof_;
20865 int
20866 main ()
20867 {
20868 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20869 test_array [0] = 0
20870
20871 ;
20872 return 0;
20873 }
20874 _ACEOF
20875 rm -f conftest.$ac_objext
20876 if { (ac_try="$ac_compile"
20877 case "(($ac_try" in
20878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20879 *) ac_try_echo=$ac_try;;
20880 esac
20881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20882 (eval "$ac_compile") 2>conftest.er1
20883 ac_status=$?
20884 grep -v '^ *+' conftest.er1 >conftest.err
20885 rm -f conftest.er1
20886 cat conftest.err >&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); } && {
20889 test -z "$ac_c_werror_flag" ||
20890 test ! -s conftest.err
20891 } && test -s conftest.$ac_objext; then
20892 ac_hi=$ac_mid
20893 else
20894 echo "$as_me: failed program was:" >&5
20895 sed 's/^/| /' conftest.$ac_ext >&5
20896
20897 ac_lo=`expr '(' $ac_mid ')' + 1`
20898 fi
20899
20900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20901 done
20902 case $ac_lo in
20903 ?*) ac_cv_sizeof_int=$ac_lo;;
20904 '') if test "$ac_cv_type_int" = yes; then
20905 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20906 See \`config.log' for more details." >&5
20907 echo "$as_me: error: cannot compute sizeof (int)
20908 See \`config.log' for more details." >&2;}
20909 { (exit 77); exit 77; }; }
20910 else
20911 ac_cv_sizeof_int=0
20912 fi ;;
20913 esac
20914 else
20915 cat >conftest.$ac_ext <<_ACEOF
20916 /* confdefs.h. */
20917 _ACEOF
20918 cat confdefs.h >>conftest.$ac_ext
20919 cat >>conftest.$ac_ext <<_ACEOF
20920 /* end confdefs.h. */
20921 $ac_includes_default
20922 typedef int ac__type_sizeof_;
20923 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20924 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20925 #include <stdio.h>
20926 #include <stdlib.h>
20927 int
20928 main ()
20929 {
20930
20931 FILE *f = fopen ("conftest.val", "w");
20932 if (! f)
20933 return 1;
20934 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20935 {
20936 long int i = longval ();
20937 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20938 return 1;
20939 fprintf (f, "%ld\n", i);
20940 }
20941 else
20942 {
20943 unsigned long int i = ulongval ();
20944 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20945 return 1;
20946 fprintf (f, "%lu\n", i);
20947 }
20948 return ferror (f) || fclose (f) != 0;
20949
20950 ;
20951 return 0;
20952 }
20953 _ACEOF
20954 rm -f conftest$ac_exeext
20955 if { (ac_try="$ac_link"
20956 case "(($ac_try" in
20957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20958 *) ac_try_echo=$ac_try;;
20959 esac
20960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20961 (eval "$ac_link") 2>&5
20962 ac_status=$?
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20965 { (case "(($ac_try" in
20966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20967 *) ac_try_echo=$ac_try;;
20968 esac
20969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20970 (eval "$ac_try") 2>&5
20971 ac_status=$?
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); }; }; then
20974 ac_cv_sizeof_int=`cat conftest.val`
20975 else
20976 echo "$as_me: program exited with status $ac_status" >&5
20977 echo "$as_me: failed program was:" >&5
20978 sed 's/^/| /' conftest.$ac_ext >&5
20979
20980 ( exit $ac_status )
20981 if test "$ac_cv_type_int" = yes; then
20982 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20983 See \`config.log' for more details." >&5
20984 echo "$as_me: error: cannot compute sizeof (int)
20985 See \`config.log' for more details." >&2;}
20986 { (exit 77); exit 77; }; }
20987 else
20988 ac_cv_sizeof_int=0
20989 fi
20990 fi
20991 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20992 fi
20993 rm -f conftest.val
20994 fi
20995 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20996 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20997
20998
20999
21000 cat >>confdefs.h <<_ACEOF
21001 #define SIZEOF_INT $ac_cv_sizeof_int
21002 _ACEOF
21003
21004
21005 { echo "$as_me:$LINENO: checking for long" >&5
21006 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21007 if test "${ac_cv_type_long+set}" = set; then
21008 echo $ECHO_N "(cached) $ECHO_C" >&6
21009 else
21010 cat >conftest.$ac_ext <<_ACEOF
21011 /* confdefs.h. */
21012 _ACEOF
21013 cat confdefs.h >>conftest.$ac_ext
21014 cat >>conftest.$ac_ext <<_ACEOF
21015 /* end confdefs.h. */
21016 $ac_includes_default
21017 typedef long ac__type_new_;
21018 int
21019 main ()
21020 {
21021 if ((ac__type_new_ *) 0)
21022 return 0;
21023 if (sizeof (ac__type_new_))
21024 return 0;
21025 ;
21026 return 0;
21027 }
21028 _ACEOF
21029 rm -f conftest.$ac_objext
21030 if { (ac_try="$ac_compile"
21031 case "(($ac_try" in
21032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21033 *) ac_try_echo=$ac_try;;
21034 esac
21035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21036 (eval "$ac_compile") 2>conftest.er1
21037 ac_status=$?
21038 grep -v '^ *+' conftest.er1 >conftest.err
21039 rm -f conftest.er1
21040 cat conftest.err >&5
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); } && {
21043 test -z "$ac_c_werror_flag" ||
21044 test ! -s conftest.err
21045 } && test -s conftest.$ac_objext; then
21046 ac_cv_type_long=yes
21047 else
21048 echo "$as_me: failed program was:" >&5
21049 sed 's/^/| /' conftest.$ac_ext >&5
21050
21051 ac_cv_type_long=no
21052 fi
21053
21054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21055 fi
21056 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21057 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21058
21059 # The cast to long int works around a bug in the HP C Compiler
21060 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21061 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21062 # This bug is HP SR number 8606223364.
21063 { echo "$as_me:$LINENO: checking size of long" >&5
21064 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21065 if test "${ac_cv_sizeof_long+set}" = set; then
21066 echo $ECHO_N "(cached) $ECHO_C" >&6
21067 else
21068 if test "$cross_compiling" = yes; then
21069 # Depending upon the size, compute the lo and hi bounds.
21070 cat >conftest.$ac_ext <<_ACEOF
21071 /* confdefs.h. */
21072 _ACEOF
21073 cat confdefs.h >>conftest.$ac_ext
21074 cat >>conftest.$ac_ext <<_ACEOF
21075 /* end confdefs.h. */
21076 $ac_includes_default
21077 typedef long ac__type_sizeof_;
21078 int
21079 main ()
21080 {
21081 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21082 test_array [0] = 0
21083
21084 ;
21085 return 0;
21086 }
21087 _ACEOF
21088 rm -f conftest.$ac_objext
21089 if { (ac_try="$ac_compile"
21090 case "(($ac_try" in
21091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21092 *) ac_try_echo=$ac_try;;
21093 esac
21094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21095 (eval "$ac_compile") 2>conftest.er1
21096 ac_status=$?
21097 grep -v '^ *+' conftest.er1 >conftest.err
21098 rm -f conftest.er1
21099 cat conftest.err >&5
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); } && {
21102 test -z "$ac_c_werror_flag" ||
21103 test ! -s conftest.err
21104 } && test -s conftest.$ac_objext; then
21105 ac_lo=0 ac_mid=0
21106 while :; do
21107 cat >conftest.$ac_ext <<_ACEOF
21108 /* confdefs.h. */
21109 _ACEOF
21110 cat confdefs.h >>conftest.$ac_ext
21111 cat >>conftest.$ac_ext <<_ACEOF
21112 /* end confdefs.h. */
21113 $ac_includes_default
21114 typedef long ac__type_sizeof_;
21115 int
21116 main ()
21117 {
21118 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21119 test_array [0] = 0
21120
21121 ;
21122 return 0;
21123 }
21124 _ACEOF
21125 rm -f conftest.$ac_objext
21126 if { (ac_try="$ac_compile"
21127 case "(($ac_try" in
21128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21129 *) ac_try_echo=$ac_try;;
21130 esac
21131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21132 (eval "$ac_compile") 2>conftest.er1
21133 ac_status=$?
21134 grep -v '^ *+' conftest.er1 >conftest.err
21135 rm -f conftest.er1
21136 cat conftest.err >&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); } && {
21139 test -z "$ac_c_werror_flag" ||
21140 test ! -s conftest.err
21141 } && test -s conftest.$ac_objext; then
21142 ac_hi=$ac_mid; break
21143 else
21144 echo "$as_me: failed program was:" >&5
21145 sed 's/^/| /' conftest.$ac_ext >&5
21146
21147 ac_lo=`expr $ac_mid + 1`
21148 if test $ac_lo -le $ac_mid; then
21149 ac_lo= ac_hi=
21150 break
21151 fi
21152 ac_mid=`expr 2 '*' $ac_mid + 1`
21153 fi
21154
21155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21156 done
21157 else
21158 echo "$as_me: failed program was:" >&5
21159 sed 's/^/| /' conftest.$ac_ext >&5
21160
21161 cat >conftest.$ac_ext <<_ACEOF
21162 /* confdefs.h. */
21163 _ACEOF
21164 cat confdefs.h >>conftest.$ac_ext
21165 cat >>conftest.$ac_ext <<_ACEOF
21166 /* end confdefs.h. */
21167 $ac_includes_default
21168 typedef long ac__type_sizeof_;
21169 int
21170 main ()
21171 {
21172 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21173 test_array [0] = 0
21174
21175 ;
21176 return 0;
21177 }
21178 _ACEOF
21179 rm -f conftest.$ac_objext
21180 if { (ac_try="$ac_compile"
21181 case "(($ac_try" in
21182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21183 *) ac_try_echo=$ac_try;;
21184 esac
21185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21186 (eval "$ac_compile") 2>conftest.er1
21187 ac_status=$?
21188 grep -v '^ *+' conftest.er1 >conftest.err
21189 rm -f conftest.er1
21190 cat conftest.err >&5
21191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192 (exit $ac_status); } && {
21193 test -z "$ac_c_werror_flag" ||
21194 test ! -s conftest.err
21195 } && test -s conftest.$ac_objext; then
21196 ac_hi=-1 ac_mid=-1
21197 while :; do
21198 cat >conftest.$ac_ext <<_ACEOF
21199 /* confdefs.h. */
21200 _ACEOF
21201 cat confdefs.h >>conftest.$ac_ext
21202 cat >>conftest.$ac_ext <<_ACEOF
21203 /* end confdefs.h. */
21204 $ac_includes_default
21205 typedef long ac__type_sizeof_;
21206 int
21207 main ()
21208 {
21209 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21210 test_array [0] = 0
21211
21212 ;
21213 return 0;
21214 }
21215 _ACEOF
21216 rm -f conftest.$ac_objext
21217 if { (ac_try="$ac_compile"
21218 case "(($ac_try" in
21219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21220 *) ac_try_echo=$ac_try;;
21221 esac
21222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21223 (eval "$ac_compile") 2>conftest.er1
21224 ac_status=$?
21225 grep -v '^ *+' conftest.er1 >conftest.err
21226 rm -f conftest.er1
21227 cat conftest.err >&5
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); } && {
21230 test -z "$ac_c_werror_flag" ||
21231 test ! -s conftest.err
21232 } && test -s conftest.$ac_objext; then
21233 ac_lo=$ac_mid; break
21234 else
21235 echo "$as_me: failed program was:" >&5
21236 sed 's/^/| /' conftest.$ac_ext >&5
21237
21238 ac_hi=`expr '(' $ac_mid ')' - 1`
21239 if test $ac_mid -le $ac_hi; then
21240 ac_lo= ac_hi=
21241 break
21242 fi
21243 ac_mid=`expr 2 '*' $ac_mid`
21244 fi
21245
21246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21247 done
21248 else
21249 echo "$as_me: failed program was:" >&5
21250 sed 's/^/| /' conftest.$ac_ext >&5
21251
21252 ac_lo= ac_hi=
21253 fi
21254
21255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21256 fi
21257
21258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21259 # Binary search between lo and hi bounds.
21260 while test "x$ac_lo" != "x$ac_hi"; do
21261 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21262 cat >conftest.$ac_ext <<_ACEOF
21263 /* confdefs.h. */
21264 _ACEOF
21265 cat confdefs.h >>conftest.$ac_ext
21266 cat >>conftest.$ac_ext <<_ACEOF
21267 /* end confdefs.h. */
21268 $ac_includes_default
21269 typedef long ac__type_sizeof_;
21270 int
21271 main ()
21272 {
21273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21274 test_array [0] = 0
21275
21276 ;
21277 return 0;
21278 }
21279 _ACEOF
21280 rm -f conftest.$ac_objext
21281 if { (ac_try="$ac_compile"
21282 case "(($ac_try" in
21283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21284 *) ac_try_echo=$ac_try;;
21285 esac
21286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21287 (eval "$ac_compile") 2>conftest.er1
21288 ac_status=$?
21289 grep -v '^ *+' conftest.er1 >conftest.err
21290 rm -f conftest.er1
21291 cat conftest.err >&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } && {
21294 test -z "$ac_c_werror_flag" ||
21295 test ! -s conftest.err
21296 } && test -s conftest.$ac_objext; then
21297 ac_hi=$ac_mid
21298 else
21299 echo "$as_me: failed program was:" >&5
21300 sed 's/^/| /' conftest.$ac_ext >&5
21301
21302 ac_lo=`expr '(' $ac_mid ')' + 1`
21303 fi
21304
21305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21306 done
21307 case $ac_lo in
21308 ?*) ac_cv_sizeof_long=$ac_lo;;
21309 '') if test "$ac_cv_type_long" = yes; then
21310 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21311 See \`config.log' for more details." >&5
21312 echo "$as_me: error: cannot compute sizeof (long)
21313 See \`config.log' for more details." >&2;}
21314 { (exit 77); exit 77; }; }
21315 else
21316 ac_cv_sizeof_long=0
21317 fi ;;
21318 esac
21319 else
21320 cat >conftest.$ac_ext <<_ACEOF
21321 /* confdefs.h. */
21322 _ACEOF
21323 cat confdefs.h >>conftest.$ac_ext
21324 cat >>conftest.$ac_ext <<_ACEOF
21325 /* end confdefs.h. */
21326 $ac_includes_default
21327 typedef long ac__type_sizeof_;
21328 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21329 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21330 #include <stdio.h>
21331 #include <stdlib.h>
21332 int
21333 main ()
21334 {
21335
21336 FILE *f = fopen ("conftest.val", "w");
21337 if (! f)
21338 return 1;
21339 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21340 {
21341 long int i = longval ();
21342 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21343 return 1;
21344 fprintf (f, "%ld\n", i);
21345 }
21346 else
21347 {
21348 unsigned long int i = ulongval ();
21349 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21350 return 1;
21351 fprintf (f, "%lu\n", i);
21352 }
21353 return ferror (f) || fclose (f) != 0;
21354
21355 ;
21356 return 0;
21357 }
21358 _ACEOF
21359 rm -f conftest$ac_exeext
21360 if { (ac_try="$ac_link"
21361 case "(($ac_try" in
21362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21363 *) ac_try_echo=$ac_try;;
21364 esac
21365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21366 (eval "$ac_link") 2>&5
21367 ac_status=$?
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21370 { (case "(($ac_try" in
21371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21372 *) ac_try_echo=$ac_try;;
21373 esac
21374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21375 (eval "$ac_try") 2>&5
21376 ac_status=$?
21377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378 (exit $ac_status); }; }; then
21379 ac_cv_sizeof_long=`cat conftest.val`
21380 else
21381 echo "$as_me: program exited with status $ac_status" >&5
21382 echo "$as_me: failed program was:" >&5
21383 sed 's/^/| /' conftest.$ac_ext >&5
21384
21385 ( exit $ac_status )
21386 if test "$ac_cv_type_long" = yes; then
21387 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21388 See \`config.log' for more details." >&5
21389 echo "$as_me: error: cannot compute sizeof (long)
21390 See \`config.log' for more details." >&2;}
21391 { (exit 77); exit 77; }; }
21392 else
21393 ac_cv_sizeof_long=0
21394 fi
21395 fi
21396 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21397 fi
21398 rm -f conftest.val
21399 fi
21400 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21401 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21402
21403
21404
21405 cat >>confdefs.h <<_ACEOF
21406 #define SIZEOF_LONG $ac_cv_sizeof_long
21407 _ACEOF
21408
21409
21410 { echo "$as_me:$LINENO: checking for size_t" >&5
21411 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21412 if test "${ac_cv_type_size_t+set}" = set; then
21413 echo $ECHO_N "(cached) $ECHO_C" >&6
21414 else
21415 cat >conftest.$ac_ext <<_ACEOF
21416 /* confdefs.h. */
21417 _ACEOF
21418 cat confdefs.h >>conftest.$ac_ext
21419 cat >>conftest.$ac_ext <<_ACEOF
21420 /* end confdefs.h. */
21421 $ac_includes_default
21422 typedef size_t ac__type_new_;
21423 int
21424 main ()
21425 {
21426 if ((ac__type_new_ *) 0)
21427 return 0;
21428 if (sizeof (ac__type_new_))
21429 return 0;
21430 ;
21431 return 0;
21432 }
21433 _ACEOF
21434 rm -f conftest.$ac_objext
21435 if { (ac_try="$ac_compile"
21436 case "(($ac_try" in
21437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21438 *) ac_try_echo=$ac_try;;
21439 esac
21440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21441 (eval "$ac_compile") 2>conftest.er1
21442 ac_status=$?
21443 grep -v '^ *+' conftest.er1 >conftest.err
21444 rm -f conftest.er1
21445 cat conftest.err >&5
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); } && {
21448 test -z "$ac_c_werror_flag" ||
21449 test ! -s conftest.err
21450 } && test -s conftest.$ac_objext; then
21451 ac_cv_type_size_t=yes
21452 else
21453 echo "$as_me: failed program was:" >&5
21454 sed 's/^/| /' conftest.$ac_ext >&5
21455
21456 ac_cv_type_size_t=no
21457 fi
21458
21459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21460 fi
21461 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21462 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21463
21464 # The cast to long int works around a bug in the HP C Compiler
21465 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21466 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21467 # This bug is HP SR number 8606223364.
21468 { echo "$as_me:$LINENO: checking size of size_t" >&5
21469 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21470 if test "${ac_cv_sizeof_size_t+set}" = set; then
21471 echo $ECHO_N "(cached) $ECHO_C" >&6
21472 else
21473 if test "$cross_compiling" = yes; then
21474 # Depending upon the size, compute the lo and hi bounds.
21475 cat >conftest.$ac_ext <<_ACEOF
21476 /* confdefs.h. */
21477 _ACEOF
21478 cat confdefs.h >>conftest.$ac_ext
21479 cat >>conftest.$ac_ext <<_ACEOF
21480 /* end confdefs.h. */
21481 $ac_includes_default
21482 typedef size_t ac__type_sizeof_;
21483 int
21484 main ()
21485 {
21486 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21487 test_array [0] = 0
21488
21489 ;
21490 return 0;
21491 }
21492 _ACEOF
21493 rm -f conftest.$ac_objext
21494 if { (ac_try="$ac_compile"
21495 case "(($ac_try" in
21496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21497 *) ac_try_echo=$ac_try;;
21498 esac
21499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21500 (eval "$ac_compile") 2>conftest.er1
21501 ac_status=$?
21502 grep -v '^ *+' conftest.er1 >conftest.err
21503 rm -f conftest.er1
21504 cat conftest.err >&5
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); } && {
21507 test -z "$ac_c_werror_flag" ||
21508 test ! -s conftest.err
21509 } && test -s conftest.$ac_objext; then
21510 ac_lo=0 ac_mid=0
21511 while :; do
21512 cat >conftest.$ac_ext <<_ACEOF
21513 /* confdefs.h. */
21514 _ACEOF
21515 cat confdefs.h >>conftest.$ac_ext
21516 cat >>conftest.$ac_ext <<_ACEOF
21517 /* end confdefs.h. */
21518 $ac_includes_default
21519 typedef size_t ac__type_sizeof_;
21520 int
21521 main ()
21522 {
21523 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21524 test_array [0] = 0
21525
21526 ;
21527 return 0;
21528 }
21529 _ACEOF
21530 rm -f conftest.$ac_objext
21531 if { (ac_try="$ac_compile"
21532 case "(($ac_try" in
21533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21534 *) ac_try_echo=$ac_try;;
21535 esac
21536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21537 (eval "$ac_compile") 2>conftest.er1
21538 ac_status=$?
21539 grep -v '^ *+' conftest.er1 >conftest.err
21540 rm -f conftest.er1
21541 cat conftest.err >&5
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); } && {
21544 test -z "$ac_c_werror_flag" ||
21545 test ! -s conftest.err
21546 } && test -s conftest.$ac_objext; then
21547 ac_hi=$ac_mid; break
21548 else
21549 echo "$as_me: failed program was:" >&5
21550 sed 's/^/| /' conftest.$ac_ext >&5
21551
21552 ac_lo=`expr $ac_mid + 1`
21553 if test $ac_lo -le $ac_mid; then
21554 ac_lo= ac_hi=
21555 break
21556 fi
21557 ac_mid=`expr 2 '*' $ac_mid + 1`
21558 fi
21559
21560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21561 done
21562 else
21563 echo "$as_me: failed program was:" >&5
21564 sed 's/^/| /' conftest.$ac_ext >&5
21565
21566 cat >conftest.$ac_ext <<_ACEOF
21567 /* confdefs.h. */
21568 _ACEOF
21569 cat confdefs.h >>conftest.$ac_ext
21570 cat >>conftest.$ac_ext <<_ACEOF
21571 /* end confdefs.h. */
21572 $ac_includes_default
21573 typedef size_t ac__type_sizeof_;
21574 int
21575 main ()
21576 {
21577 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21578 test_array [0] = 0
21579
21580 ;
21581 return 0;
21582 }
21583 _ACEOF
21584 rm -f conftest.$ac_objext
21585 if { (ac_try="$ac_compile"
21586 case "(($ac_try" in
21587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21588 *) ac_try_echo=$ac_try;;
21589 esac
21590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21591 (eval "$ac_compile") 2>conftest.er1
21592 ac_status=$?
21593 grep -v '^ *+' conftest.er1 >conftest.err
21594 rm -f conftest.er1
21595 cat conftest.err >&5
21596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21597 (exit $ac_status); } && {
21598 test -z "$ac_c_werror_flag" ||
21599 test ! -s conftest.err
21600 } && test -s conftest.$ac_objext; then
21601 ac_hi=-1 ac_mid=-1
21602 while :; do
21603 cat >conftest.$ac_ext <<_ACEOF
21604 /* confdefs.h. */
21605 _ACEOF
21606 cat confdefs.h >>conftest.$ac_ext
21607 cat >>conftest.$ac_ext <<_ACEOF
21608 /* end confdefs.h. */
21609 $ac_includes_default
21610 typedef size_t ac__type_sizeof_;
21611 int
21612 main ()
21613 {
21614 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21615 test_array [0] = 0
21616
21617 ;
21618 return 0;
21619 }
21620 _ACEOF
21621 rm -f conftest.$ac_objext
21622 if { (ac_try="$ac_compile"
21623 case "(($ac_try" in
21624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21625 *) ac_try_echo=$ac_try;;
21626 esac
21627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21628 (eval "$ac_compile") 2>conftest.er1
21629 ac_status=$?
21630 grep -v '^ *+' conftest.er1 >conftest.err
21631 rm -f conftest.er1
21632 cat conftest.err >&5
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); } && {
21635 test -z "$ac_c_werror_flag" ||
21636 test ! -s conftest.err
21637 } && test -s conftest.$ac_objext; then
21638 ac_lo=$ac_mid; break
21639 else
21640 echo "$as_me: failed program was:" >&5
21641 sed 's/^/| /' conftest.$ac_ext >&5
21642
21643 ac_hi=`expr '(' $ac_mid ')' - 1`
21644 if test $ac_mid -le $ac_hi; then
21645 ac_lo= ac_hi=
21646 break
21647 fi
21648 ac_mid=`expr 2 '*' $ac_mid`
21649 fi
21650
21651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21652 done
21653 else
21654 echo "$as_me: failed program was:" >&5
21655 sed 's/^/| /' conftest.$ac_ext >&5
21656
21657 ac_lo= ac_hi=
21658 fi
21659
21660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21661 fi
21662
21663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21664 # Binary search between lo and hi bounds.
21665 while test "x$ac_lo" != "x$ac_hi"; do
21666 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21667 cat >conftest.$ac_ext <<_ACEOF
21668 /* confdefs.h. */
21669 _ACEOF
21670 cat confdefs.h >>conftest.$ac_ext
21671 cat >>conftest.$ac_ext <<_ACEOF
21672 /* end confdefs.h. */
21673 $ac_includes_default
21674 typedef size_t ac__type_sizeof_;
21675 int
21676 main ()
21677 {
21678 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21679 test_array [0] = 0
21680
21681 ;
21682 return 0;
21683 }
21684 _ACEOF
21685 rm -f conftest.$ac_objext
21686 if { (ac_try="$ac_compile"
21687 case "(($ac_try" in
21688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21689 *) ac_try_echo=$ac_try;;
21690 esac
21691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21692 (eval "$ac_compile") 2>conftest.er1
21693 ac_status=$?
21694 grep -v '^ *+' conftest.er1 >conftest.err
21695 rm -f conftest.er1
21696 cat conftest.err >&5
21697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21698 (exit $ac_status); } && {
21699 test -z "$ac_c_werror_flag" ||
21700 test ! -s conftest.err
21701 } && test -s conftest.$ac_objext; then
21702 ac_hi=$ac_mid
21703 else
21704 echo "$as_me: failed program was:" >&5
21705 sed 's/^/| /' conftest.$ac_ext >&5
21706
21707 ac_lo=`expr '(' $ac_mid ')' + 1`
21708 fi
21709
21710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21711 done
21712 case $ac_lo in
21713 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21714 '') if test "$ac_cv_type_size_t" = yes; then
21715 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21716 See \`config.log' for more details." >&5
21717 echo "$as_me: error: cannot compute sizeof (size_t)
21718 See \`config.log' for more details." >&2;}
21719 { (exit 77); exit 77; }; }
21720 else
21721 ac_cv_sizeof_size_t=0
21722 fi ;;
21723 esac
21724 else
21725 cat >conftest.$ac_ext <<_ACEOF
21726 /* confdefs.h. */
21727 _ACEOF
21728 cat confdefs.h >>conftest.$ac_ext
21729 cat >>conftest.$ac_ext <<_ACEOF
21730 /* end confdefs.h. */
21731 $ac_includes_default
21732 typedef size_t ac__type_sizeof_;
21733 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21734 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21735 #include <stdio.h>
21736 #include <stdlib.h>
21737 int
21738 main ()
21739 {
21740
21741 FILE *f = fopen ("conftest.val", "w");
21742 if (! f)
21743 return 1;
21744 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21745 {
21746 long int i = longval ();
21747 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21748 return 1;
21749 fprintf (f, "%ld\n", i);
21750 }
21751 else
21752 {
21753 unsigned long int i = ulongval ();
21754 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21755 return 1;
21756 fprintf (f, "%lu\n", i);
21757 }
21758 return ferror (f) || fclose (f) != 0;
21759
21760 ;
21761 return 0;
21762 }
21763 _ACEOF
21764 rm -f conftest$ac_exeext
21765 if { (ac_try="$ac_link"
21766 case "(($ac_try" in
21767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21768 *) ac_try_echo=$ac_try;;
21769 esac
21770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21771 (eval "$ac_link") 2>&5
21772 ac_status=$?
21773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21775 { (case "(($ac_try" in
21776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21777 *) ac_try_echo=$ac_try;;
21778 esac
21779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21780 (eval "$ac_try") 2>&5
21781 ac_status=$?
21782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21783 (exit $ac_status); }; }; then
21784 ac_cv_sizeof_size_t=`cat conftest.val`
21785 else
21786 echo "$as_me: program exited with status $ac_status" >&5
21787 echo "$as_me: failed program was:" >&5
21788 sed 's/^/| /' conftest.$ac_ext >&5
21789
21790 ( exit $ac_status )
21791 if test "$ac_cv_type_size_t" = yes; then
21792 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21793 See \`config.log' for more details." >&5
21794 echo "$as_me: error: cannot compute sizeof (size_t)
21795 See \`config.log' for more details." >&2;}
21796 { (exit 77); exit 77; }; }
21797 else
21798 ac_cv_sizeof_size_t=0
21799 fi
21800 fi
21801 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21802 fi
21803 rm -f conftest.val
21804 fi
21805 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21806 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21807
21808
21809
21810 cat >>confdefs.h <<_ACEOF
21811 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21812 _ACEOF
21813
21814
21815
21816 case "${host}" in
21817 arm-*-linux* )
21818 { echo "$as_me:$LINENO: checking for long long" >&5
21819 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21820 if test "${ac_cv_type_long_long+set}" = set; then
21821 echo $ECHO_N "(cached) $ECHO_C" >&6
21822 else
21823 cat >conftest.$ac_ext <<_ACEOF
21824 /* confdefs.h. */
21825 _ACEOF
21826 cat confdefs.h >>conftest.$ac_ext
21827 cat >>conftest.$ac_ext <<_ACEOF
21828 /* end confdefs.h. */
21829 $ac_includes_default
21830 typedef long long ac__type_new_;
21831 int
21832 main ()
21833 {
21834 if ((ac__type_new_ *) 0)
21835 return 0;
21836 if (sizeof (ac__type_new_))
21837 return 0;
21838 ;
21839 return 0;
21840 }
21841 _ACEOF
21842 rm -f conftest.$ac_objext
21843 if { (ac_try="$ac_compile"
21844 case "(($ac_try" in
21845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21846 *) ac_try_echo=$ac_try;;
21847 esac
21848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21849 (eval "$ac_compile") 2>conftest.er1
21850 ac_status=$?
21851 grep -v '^ *+' conftest.er1 >conftest.err
21852 rm -f conftest.er1
21853 cat conftest.err >&5
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); } && {
21856 test -z "$ac_c_werror_flag" ||
21857 test ! -s conftest.err
21858 } && test -s conftest.$ac_objext; then
21859 ac_cv_type_long_long=yes
21860 else
21861 echo "$as_me: failed program was:" >&5
21862 sed 's/^/| /' conftest.$ac_ext >&5
21863
21864 ac_cv_type_long_long=no
21865 fi
21866
21867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21868 fi
21869 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21870 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21871
21872 # The cast to long int works around a bug in the HP C Compiler
21873 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21874 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21875 # This bug is HP SR number 8606223364.
21876 { echo "$as_me:$LINENO: checking size of long long" >&5
21877 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21878 if test "${ac_cv_sizeof_long_long+set}" = set; then
21879 echo $ECHO_N "(cached) $ECHO_C" >&6
21880 else
21881 if test "$cross_compiling" = yes; then
21882 # Depending upon the size, compute the lo and hi bounds.
21883 cat >conftest.$ac_ext <<_ACEOF
21884 /* confdefs.h. */
21885 _ACEOF
21886 cat confdefs.h >>conftest.$ac_ext
21887 cat >>conftest.$ac_ext <<_ACEOF
21888 /* end confdefs.h. */
21889 $ac_includes_default
21890 typedef long long ac__type_sizeof_;
21891 int
21892 main ()
21893 {
21894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21895 test_array [0] = 0
21896
21897 ;
21898 return 0;
21899 }
21900 _ACEOF
21901 rm -f conftest.$ac_objext
21902 if { (ac_try="$ac_compile"
21903 case "(($ac_try" in
21904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21905 *) ac_try_echo=$ac_try;;
21906 esac
21907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21908 (eval "$ac_compile") 2>conftest.er1
21909 ac_status=$?
21910 grep -v '^ *+' conftest.er1 >conftest.err
21911 rm -f conftest.er1
21912 cat conftest.err >&5
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); } && {
21915 test -z "$ac_c_werror_flag" ||
21916 test ! -s conftest.err
21917 } && test -s conftest.$ac_objext; then
21918 ac_lo=0 ac_mid=0
21919 while :; do
21920 cat >conftest.$ac_ext <<_ACEOF
21921 /* confdefs.h. */
21922 _ACEOF
21923 cat confdefs.h >>conftest.$ac_ext
21924 cat >>conftest.$ac_ext <<_ACEOF
21925 /* end confdefs.h. */
21926 $ac_includes_default
21927 typedef long long ac__type_sizeof_;
21928 int
21929 main ()
21930 {
21931 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21932 test_array [0] = 0
21933
21934 ;
21935 return 0;
21936 }
21937 _ACEOF
21938 rm -f conftest.$ac_objext
21939 if { (ac_try="$ac_compile"
21940 case "(($ac_try" in
21941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21942 *) ac_try_echo=$ac_try;;
21943 esac
21944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21945 (eval "$ac_compile") 2>conftest.er1
21946 ac_status=$?
21947 grep -v '^ *+' conftest.er1 >conftest.err
21948 rm -f conftest.er1
21949 cat conftest.err >&5
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); } && {
21952 test -z "$ac_c_werror_flag" ||
21953 test ! -s conftest.err
21954 } && test -s conftest.$ac_objext; then
21955 ac_hi=$ac_mid; break
21956 else
21957 echo "$as_me: failed program was:" >&5
21958 sed 's/^/| /' conftest.$ac_ext >&5
21959
21960 ac_lo=`expr $ac_mid + 1`
21961 if test $ac_lo -le $ac_mid; then
21962 ac_lo= ac_hi=
21963 break
21964 fi
21965 ac_mid=`expr 2 '*' $ac_mid + 1`
21966 fi
21967
21968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21969 done
21970 else
21971 echo "$as_me: failed program was:" >&5
21972 sed 's/^/| /' conftest.$ac_ext >&5
21973
21974 cat >conftest.$ac_ext <<_ACEOF
21975 /* confdefs.h. */
21976 _ACEOF
21977 cat confdefs.h >>conftest.$ac_ext
21978 cat >>conftest.$ac_ext <<_ACEOF
21979 /* end confdefs.h. */
21980 $ac_includes_default
21981 typedef long long ac__type_sizeof_;
21982 int
21983 main ()
21984 {
21985 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21986 test_array [0] = 0
21987
21988 ;
21989 return 0;
21990 }
21991 _ACEOF
21992 rm -f conftest.$ac_objext
21993 if { (ac_try="$ac_compile"
21994 case "(($ac_try" in
21995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21996 *) ac_try_echo=$ac_try;;
21997 esac
21998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21999 (eval "$ac_compile") 2>conftest.er1
22000 ac_status=$?
22001 grep -v '^ *+' conftest.er1 >conftest.err
22002 rm -f conftest.er1
22003 cat conftest.err >&5
22004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22005 (exit $ac_status); } && {
22006 test -z "$ac_c_werror_flag" ||
22007 test ! -s conftest.err
22008 } && test -s conftest.$ac_objext; then
22009 ac_hi=-1 ac_mid=-1
22010 while :; do
22011 cat >conftest.$ac_ext <<_ACEOF
22012 /* confdefs.h. */
22013 _ACEOF
22014 cat confdefs.h >>conftest.$ac_ext
22015 cat >>conftest.$ac_ext <<_ACEOF
22016 /* end confdefs.h. */
22017 $ac_includes_default
22018 typedef long long ac__type_sizeof_;
22019 int
22020 main ()
22021 {
22022 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22023 test_array [0] = 0
22024
22025 ;
22026 return 0;
22027 }
22028 _ACEOF
22029 rm -f conftest.$ac_objext
22030 if { (ac_try="$ac_compile"
22031 case "(($ac_try" in
22032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22033 *) ac_try_echo=$ac_try;;
22034 esac
22035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22036 (eval "$ac_compile") 2>conftest.er1
22037 ac_status=$?
22038 grep -v '^ *+' conftest.er1 >conftest.err
22039 rm -f conftest.er1
22040 cat conftest.err >&5
22041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042 (exit $ac_status); } && {
22043 test -z "$ac_c_werror_flag" ||
22044 test ! -s conftest.err
22045 } && test -s conftest.$ac_objext; then
22046 ac_lo=$ac_mid; break
22047 else
22048 echo "$as_me: failed program was:" >&5
22049 sed 's/^/| /' conftest.$ac_ext >&5
22050
22051 ac_hi=`expr '(' $ac_mid ')' - 1`
22052 if test $ac_mid -le $ac_hi; then
22053 ac_lo= ac_hi=
22054 break
22055 fi
22056 ac_mid=`expr 2 '*' $ac_mid`
22057 fi
22058
22059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22060 done
22061 else
22062 echo "$as_me: failed program was:" >&5
22063 sed 's/^/| /' conftest.$ac_ext >&5
22064
22065 ac_lo= ac_hi=
22066 fi
22067
22068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22069 fi
22070
22071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22072 # Binary search between lo and hi bounds.
22073 while test "x$ac_lo" != "x$ac_hi"; do
22074 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22075 cat >conftest.$ac_ext <<_ACEOF
22076 /* confdefs.h. */
22077 _ACEOF
22078 cat confdefs.h >>conftest.$ac_ext
22079 cat >>conftest.$ac_ext <<_ACEOF
22080 /* end confdefs.h. */
22081 $ac_includes_default
22082 typedef long long ac__type_sizeof_;
22083 int
22084 main ()
22085 {
22086 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22087 test_array [0] = 0
22088
22089 ;
22090 return 0;
22091 }
22092 _ACEOF
22093 rm -f conftest.$ac_objext
22094 if { (ac_try="$ac_compile"
22095 case "(($ac_try" in
22096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22097 *) ac_try_echo=$ac_try;;
22098 esac
22099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22100 (eval "$ac_compile") 2>conftest.er1
22101 ac_status=$?
22102 grep -v '^ *+' conftest.er1 >conftest.err
22103 rm -f conftest.er1
22104 cat conftest.err >&5
22105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22106 (exit $ac_status); } && {
22107 test -z "$ac_c_werror_flag" ||
22108 test ! -s conftest.err
22109 } && test -s conftest.$ac_objext; then
22110 ac_hi=$ac_mid
22111 else
22112 echo "$as_me: failed program was:" >&5
22113 sed 's/^/| /' conftest.$ac_ext >&5
22114
22115 ac_lo=`expr '(' $ac_mid ')' + 1`
22116 fi
22117
22118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22119 done
22120 case $ac_lo in
22121 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22122 '') if test "$ac_cv_type_long_long" = yes; then
22123 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22124 See \`config.log' for more details." >&5
22125 echo "$as_me: error: cannot compute sizeof (long long)
22126 See \`config.log' for more details." >&2;}
22127 { (exit 77); exit 77; }; }
22128 else
22129 ac_cv_sizeof_long_long=0
22130 fi ;;
22131 esac
22132 else
22133 cat >conftest.$ac_ext <<_ACEOF
22134 /* confdefs.h. */
22135 _ACEOF
22136 cat confdefs.h >>conftest.$ac_ext
22137 cat >>conftest.$ac_ext <<_ACEOF
22138 /* end confdefs.h. */
22139 $ac_includes_default
22140 typedef long long ac__type_sizeof_;
22141 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22142 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22143 #include <stdio.h>
22144 #include <stdlib.h>
22145 int
22146 main ()
22147 {
22148
22149 FILE *f = fopen ("conftest.val", "w");
22150 if (! f)
22151 return 1;
22152 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22153 {
22154 long int i = longval ();
22155 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22156 return 1;
22157 fprintf (f, "%ld\n", i);
22158 }
22159 else
22160 {
22161 unsigned long int i = ulongval ();
22162 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22163 return 1;
22164 fprintf (f, "%lu\n", i);
22165 }
22166 return ferror (f) || fclose (f) != 0;
22167
22168 ;
22169 return 0;
22170 }
22171 _ACEOF
22172 rm -f conftest$ac_exeext
22173 if { (ac_try="$ac_link"
22174 case "(($ac_try" in
22175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22176 *) ac_try_echo=$ac_try;;
22177 esac
22178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22179 (eval "$ac_link") 2>&5
22180 ac_status=$?
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22183 { (case "(($ac_try" in
22184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22185 *) ac_try_echo=$ac_try;;
22186 esac
22187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22188 (eval "$ac_try") 2>&5
22189 ac_status=$?
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191 (exit $ac_status); }; }; then
22192 ac_cv_sizeof_long_long=`cat conftest.val`
22193 else
22194 echo "$as_me: program exited with status $ac_status" >&5
22195 echo "$as_me: failed program was:" >&5
22196 sed 's/^/| /' conftest.$ac_ext >&5
22197
22198 ( exit $ac_status )
22199 if test "$ac_cv_type_long_long" = yes; then
22200 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22201 See \`config.log' for more details." >&5
22202 echo "$as_me: error: cannot compute sizeof (long long)
22203 See \`config.log' for more details." >&2;}
22204 { (exit 77); exit 77; }; }
22205 else
22206 ac_cv_sizeof_long_long=0
22207 fi
22208 fi
22209 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22210 fi
22211 rm -f conftest.val
22212 fi
22213 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22214 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22215
22216
22217
22218 cat >>confdefs.h <<_ACEOF
22219 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22220 _ACEOF
22221
22222
22223 ;;
22224 *-hp-hpux* )
22225 { echo "$as_me:$LINENO: checking for long long" >&5
22226 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22227 if test "${ac_cv_type_long_long+set}" = set; then
22228 echo $ECHO_N "(cached) $ECHO_C" >&6
22229 else
22230 cat >conftest.$ac_ext <<_ACEOF
22231 /* confdefs.h. */
22232 _ACEOF
22233 cat confdefs.h >>conftest.$ac_ext
22234 cat >>conftest.$ac_ext <<_ACEOF
22235 /* end confdefs.h. */
22236 $ac_includes_default
22237 typedef long long ac__type_new_;
22238 int
22239 main ()
22240 {
22241 if ((ac__type_new_ *) 0)
22242 return 0;
22243 if (sizeof (ac__type_new_))
22244 return 0;
22245 ;
22246 return 0;
22247 }
22248 _ACEOF
22249 rm -f conftest.$ac_objext
22250 if { (ac_try="$ac_compile"
22251 case "(($ac_try" in
22252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22253 *) ac_try_echo=$ac_try;;
22254 esac
22255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22256 (eval "$ac_compile") 2>conftest.er1
22257 ac_status=$?
22258 grep -v '^ *+' conftest.er1 >conftest.err
22259 rm -f conftest.er1
22260 cat conftest.err >&5
22261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22262 (exit $ac_status); } && {
22263 test -z "$ac_c_werror_flag" ||
22264 test ! -s conftest.err
22265 } && test -s conftest.$ac_objext; then
22266 ac_cv_type_long_long=yes
22267 else
22268 echo "$as_me: failed program was:" >&5
22269 sed 's/^/| /' conftest.$ac_ext >&5
22270
22271 ac_cv_type_long_long=no
22272 fi
22273
22274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22275 fi
22276 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22277 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22278
22279 # The cast to long int works around a bug in the HP C Compiler
22280 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22281 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22282 # This bug is HP SR number 8606223364.
22283 { echo "$as_me:$LINENO: checking size of long long" >&5
22284 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22285 if test "${ac_cv_sizeof_long_long+set}" = set; then
22286 echo $ECHO_N "(cached) $ECHO_C" >&6
22287 else
22288 if test "$cross_compiling" = yes; then
22289 # Depending upon the size, compute the lo and hi bounds.
22290 cat >conftest.$ac_ext <<_ACEOF
22291 /* confdefs.h. */
22292 _ACEOF
22293 cat confdefs.h >>conftest.$ac_ext
22294 cat >>conftest.$ac_ext <<_ACEOF
22295 /* end confdefs.h. */
22296 $ac_includes_default
22297 typedef long long ac__type_sizeof_;
22298 int
22299 main ()
22300 {
22301 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22302 test_array [0] = 0
22303
22304 ;
22305 return 0;
22306 }
22307 _ACEOF
22308 rm -f conftest.$ac_objext
22309 if { (ac_try="$ac_compile"
22310 case "(($ac_try" in
22311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22312 *) ac_try_echo=$ac_try;;
22313 esac
22314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22315 (eval "$ac_compile") 2>conftest.er1
22316 ac_status=$?
22317 grep -v '^ *+' conftest.er1 >conftest.err
22318 rm -f conftest.er1
22319 cat conftest.err >&5
22320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22321 (exit $ac_status); } && {
22322 test -z "$ac_c_werror_flag" ||
22323 test ! -s conftest.err
22324 } && test -s conftest.$ac_objext; then
22325 ac_lo=0 ac_mid=0
22326 while :; do
22327 cat >conftest.$ac_ext <<_ACEOF
22328 /* confdefs.h. */
22329 _ACEOF
22330 cat confdefs.h >>conftest.$ac_ext
22331 cat >>conftest.$ac_ext <<_ACEOF
22332 /* end confdefs.h. */
22333 $ac_includes_default
22334 typedef long long ac__type_sizeof_;
22335 int
22336 main ()
22337 {
22338 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22339 test_array [0] = 0
22340
22341 ;
22342 return 0;
22343 }
22344 _ACEOF
22345 rm -f conftest.$ac_objext
22346 if { (ac_try="$ac_compile"
22347 case "(($ac_try" in
22348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22349 *) ac_try_echo=$ac_try;;
22350 esac
22351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22352 (eval "$ac_compile") 2>conftest.er1
22353 ac_status=$?
22354 grep -v '^ *+' conftest.er1 >conftest.err
22355 rm -f conftest.er1
22356 cat conftest.err >&5
22357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22358 (exit $ac_status); } && {
22359 test -z "$ac_c_werror_flag" ||
22360 test ! -s conftest.err
22361 } && test -s conftest.$ac_objext; then
22362 ac_hi=$ac_mid; break
22363 else
22364 echo "$as_me: failed program was:" >&5
22365 sed 's/^/| /' conftest.$ac_ext >&5
22366
22367 ac_lo=`expr $ac_mid + 1`
22368 if test $ac_lo -le $ac_mid; then
22369 ac_lo= ac_hi=
22370 break
22371 fi
22372 ac_mid=`expr 2 '*' $ac_mid + 1`
22373 fi
22374
22375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22376 done
22377 else
22378 echo "$as_me: failed program was:" >&5
22379 sed 's/^/| /' conftest.$ac_ext >&5
22380
22381 cat >conftest.$ac_ext <<_ACEOF
22382 /* confdefs.h. */
22383 _ACEOF
22384 cat confdefs.h >>conftest.$ac_ext
22385 cat >>conftest.$ac_ext <<_ACEOF
22386 /* end confdefs.h. */
22387 $ac_includes_default
22388 typedef long long ac__type_sizeof_;
22389 int
22390 main ()
22391 {
22392 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22393 test_array [0] = 0
22394
22395 ;
22396 return 0;
22397 }
22398 _ACEOF
22399 rm -f conftest.$ac_objext
22400 if { (ac_try="$ac_compile"
22401 case "(($ac_try" in
22402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22403 *) ac_try_echo=$ac_try;;
22404 esac
22405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22406 (eval "$ac_compile") 2>conftest.er1
22407 ac_status=$?
22408 grep -v '^ *+' conftest.er1 >conftest.err
22409 rm -f conftest.er1
22410 cat conftest.err >&5
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); } && {
22413 test -z "$ac_c_werror_flag" ||
22414 test ! -s conftest.err
22415 } && test -s conftest.$ac_objext; then
22416 ac_hi=-1 ac_mid=-1
22417 while :; do
22418 cat >conftest.$ac_ext <<_ACEOF
22419 /* confdefs.h. */
22420 _ACEOF
22421 cat confdefs.h >>conftest.$ac_ext
22422 cat >>conftest.$ac_ext <<_ACEOF
22423 /* end confdefs.h. */
22424 $ac_includes_default
22425 typedef long long ac__type_sizeof_;
22426 int
22427 main ()
22428 {
22429 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22430 test_array [0] = 0
22431
22432 ;
22433 return 0;
22434 }
22435 _ACEOF
22436 rm -f conftest.$ac_objext
22437 if { (ac_try="$ac_compile"
22438 case "(($ac_try" in
22439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22440 *) ac_try_echo=$ac_try;;
22441 esac
22442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22443 (eval "$ac_compile") 2>conftest.er1
22444 ac_status=$?
22445 grep -v '^ *+' conftest.er1 >conftest.err
22446 rm -f conftest.er1
22447 cat conftest.err >&5
22448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22449 (exit $ac_status); } && {
22450 test -z "$ac_c_werror_flag" ||
22451 test ! -s conftest.err
22452 } && test -s conftest.$ac_objext; then
22453 ac_lo=$ac_mid; break
22454 else
22455 echo "$as_me: failed program was:" >&5
22456 sed 's/^/| /' conftest.$ac_ext >&5
22457
22458 ac_hi=`expr '(' $ac_mid ')' - 1`
22459 if test $ac_mid -le $ac_hi; then
22460 ac_lo= ac_hi=
22461 break
22462 fi
22463 ac_mid=`expr 2 '*' $ac_mid`
22464 fi
22465
22466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22467 done
22468 else
22469 echo "$as_me: failed program was:" >&5
22470 sed 's/^/| /' conftest.$ac_ext >&5
22471
22472 ac_lo= ac_hi=
22473 fi
22474
22475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22476 fi
22477
22478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22479 # Binary search between lo and hi bounds.
22480 while test "x$ac_lo" != "x$ac_hi"; do
22481 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22482 cat >conftest.$ac_ext <<_ACEOF
22483 /* confdefs.h. */
22484 _ACEOF
22485 cat confdefs.h >>conftest.$ac_ext
22486 cat >>conftest.$ac_ext <<_ACEOF
22487 /* end confdefs.h. */
22488 $ac_includes_default
22489 typedef long long ac__type_sizeof_;
22490 int
22491 main ()
22492 {
22493 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22494 test_array [0] = 0
22495
22496 ;
22497 return 0;
22498 }
22499 _ACEOF
22500 rm -f conftest.$ac_objext
22501 if { (ac_try="$ac_compile"
22502 case "(($ac_try" in
22503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22504 *) ac_try_echo=$ac_try;;
22505 esac
22506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22507 (eval "$ac_compile") 2>conftest.er1
22508 ac_status=$?
22509 grep -v '^ *+' conftest.er1 >conftest.err
22510 rm -f conftest.er1
22511 cat conftest.err >&5
22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513 (exit $ac_status); } && {
22514 test -z "$ac_c_werror_flag" ||
22515 test ! -s conftest.err
22516 } && test -s conftest.$ac_objext; then
22517 ac_hi=$ac_mid
22518 else
22519 echo "$as_me: failed program was:" >&5
22520 sed 's/^/| /' conftest.$ac_ext >&5
22521
22522 ac_lo=`expr '(' $ac_mid ')' + 1`
22523 fi
22524
22525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22526 done
22527 case $ac_lo in
22528 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22529 '') if test "$ac_cv_type_long_long" = yes; then
22530 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22531 See \`config.log' for more details." >&5
22532 echo "$as_me: error: cannot compute sizeof (long long)
22533 See \`config.log' for more details." >&2;}
22534 { (exit 77); exit 77; }; }
22535 else
22536 ac_cv_sizeof_long_long=0
22537 fi ;;
22538 esac
22539 else
22540 cat >conftest.$ac_ext <<_ACEOF
22541 /* confdefs.h. */
22542 _ACEOF
22543 cat confdefs.h >>conftest.$ac_ext
22544 cat >>conftest.$ac_ext <<_ACEOF
22545 /* end confdefs.h. */
22546 $ac_includes_default
22547 typedef long long ac__type_sizeof_;
22548 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22549 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22550 #include <stdio.h>
22551 #include <stdlib.h>
22552 int
22553 main ()
22554 {
22555
22556 FILE *f = fopen ("conftest.val", "w");
22557 if (! f)
22558 return 1;
22559 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22560 {
22561 long int i = longval ();
22562 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22563 return 1;
22564 fprintf (f, "%ld\n", i);
22565 }
22566 else
22567 {
22568 unsigned long int i = ulongval ();
22569 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22570 return 1;
22571 fprintf (f, "%lu\n", i);
22572 }
22573 return ferror (f) || fclose (f) != 0;
22574
22575 ;
22576 return 0;
22577 }
22578 _ACEOF
22579 rm -f conftest$ac_exeext
22580 if { (ac_try="$ac_link"
22581 case "(($ac_try" in
22582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22583 *) ac_try_echo=$ac_try;;
22584 esac
22585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22586 (eval "$ac_link") 2>&5
22587 ac_status=$?
22588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22589 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22590 { (case "(($ac_try" in
22591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22592 *) ac_try_echo=$ac_try;;
22593 esac
22594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22595 (eval "$ac_try") 2>&5
22596 ac_status=$?
22597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22598 (exit $ac_status); }; }; then
22599 ac_cv_sizeof_long_long=`cat conftest.val`
22600 else
22601 echo "$as_me: program exited with status $ac_status" >&5
22602 echo "$as_me: failed program was:" >&5
22603 sed 's/^/| /' conftest.$ac_ext >&5
22604
22605 ( exit $ac_status )
22606 if test "$ac_cv_type_long_long" = yes; then
22607 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22608 See \`config.log' for more details." >&5
22609 echo "$as_me: error: cannot compute sizeof (long long)
22610 See \`config.log' for more details." >&2;}
22611 { (exit 77); exit 77; }; }
22612 else
22613 ac_cv_sizeof_long_long=0
22614 fi
22615 fi
22616 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22617 fi
22618 rm -f conftest.val
22619 fi
22620 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22621 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22622
22623
22624
22625 cat >>confdefs.h <<_ACEOF
22626 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22627 _ACEOF
22628
22629
22630 if test "$ac_cv_sizeof_long_long" != 0; then
22631 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22632 fi
22633 ;;
22634 * )
22635 { echo "$as_me:$LINENO: checking for long long" >&5
22636 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22637 if test "${ac_cv_type_long_long+set}" = set; then
22638 echo $ECHO_N "(cached) $ECHO_C" >&6
22639 else
22640 cat >conftest.$ac_ext <<_ACEOF
22641 /* confdefs.h. */
22642 _ACEOF
22643 cat confdefs.h >>conftest.$ac_ext
22644 cat >>conftest.$ac_ext <<_ACEOF
22645 /* end confdefs.h. */
22646 $ac_includes_default
22647 typedef long long ac__type_new_;
22648 int
22649 main ()
22650 {
22651 if ((ac__type_new_ *) 0)
22652 return 0;
22653 if (sizeof (ac__type_new_))
22654 return 0;
22655 ;
22656 return 0;
22657 }
22658 _ACEOF
22659 rm -f conftest.$ac_objext
22660 if { (ac_try="$ac_compile"
22661 case "(($ac_try" in
22662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22663 *) ac_try_echo=$ac_try;;
22664 esac
22665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22666 (eval "$ac_compile") 2>conftest.er1
22667 ac_status=$?
22668 grep -v '^ *+' conftest.er1 >conftest.err
22669 rm -f conftest.er1
22670 cat conftest.err >&5
22671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672 (exit $ac_status); } && {
22673 test -z "$ac_c_werror_flag" ||
22674 test ! -s conftest.err
22675 } && test -s conftest.$ac_objext; then
22676 ac_cv_type_long_long=yes
22677 else
22678 echo "$as_me: failed program was:" >&5
22679 sed 's/^/| /' conftest.$ac_ext >&5
22680
22681 ac_cv_type_long_long=no
22682 fi
22683
22684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22685 fi
22686 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22687 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22688
22689 # The cast to long int works around a bug in the HP C Compiler
22690 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22691 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22692 # This bug is HP SR number 8606223364.
22693 { echo "$as_me:$LINENO: checking size of long long" >&5
22694 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22695 if test "${ac_cv_sizeof_long_long+set}" = set; then
22696 echo $ECHO_N "(cached) $ECHO_C" >&6
22697 else
22698 if test "$cross_compiling" = yes; then
22699 # Depending upon the size, compute the lo and hi bounds.
22700 cat >conftest.$ac_ext <<_ACEOF
22701 /* confdefs.h. */
22702 _ACEOF
22703 cat confdefs.h >>conftest.$ac_ext
22704 cat >>conftest.$ac_ext <<_ACEOF
22705 /* end confdefs.h. */
22706 $ac_includes_default
22707 typedef long long ac__type_sizeof_;
22708 int
22709 main ()
22710 {
22711 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22712 test_array [0] = 0
22713
22714 ;
22715 return 0;
22716 }
22717 _ACEOF
22718 rm -f conftest.$ac_objext
22719 if { (ac_try="$ac_compile"
22720 case "(($ac_try" in
22721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22722 *) ac_try_echo=$ac_try;;
22723 esac
22724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22725 (eval "$ac_compile") 2>conftest.er1
22726 ac_status=$?
22727 grep -v '^ *+' conftest.er1 >conftest.err
22728 rm -f conftest.er1
22729 cat conftest.err >&5
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); } && {
22732 test -z "$ac_c_werror_flag" ||
22733 test ! -s conftest.err
22734 } && test -s conftest.$ac_objext; then
22735 ac_lo=0 ac_mid=0
22736 while :; do
22737 cat >conftest.$ac_ext <<_ACEOF
22738 /* confdefs.h. */
22739 _ACEOF
22740 cat confdefs.h >>conftest.$ac_ext
22741 cat >>conftest.$ac_ext <<_ACEOF
22742 /* end confdefs.h. */
22743 $ac_includes_default
22744 typedef long long ac__type_sizeof_;
22745 int
22746 main ()
22747 {
22748 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22749 test_array [0] = 0
22750
22751 ;
22752 return 0;
22753 }
22754 _ACEOF
22755 rm -f conftest.$ac_objext
22756 if { (ac_try="$ac_compile"
22757 case "(($ac_try" in
22758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22759 *) ac_try_echo=$ac_try;;
22760 esac
22761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22762 (eval "$ac_compile") 2>conftest.er1
22763 ac_status=$?
22764 grep -v '^ *+' conftest.er1 >conftest.err
22765 rm -f conftest.er1
22766 cat conftest.err >&5
22767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768 (exit $ac_status); } && {
22769 test -z "$ac_c_werror_flag" ||
22770 test ! -s conftest.err
22771 } && test -s conftest.$ac_objext; then
22772 ac_hi=$ac_mid; break
22773 else
22774 echo "$as_me: failed program was:" >&5
22775 sed 's/^/| /' conftest.$ac_ext >&5
22776
22777 ac_lo=`expr $ac_mid + 1`
22778 if test $ac_lo -le $ac_mid; then
22779 ac_lo= ac_hi=
22780 break
22781 fi
22782 ac_mid=`expr 2 '*' $ac_mid + 1`
22783 fi
22784
22785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22786 done
22787 else
22788 echo "$as_me: failed program was:" >&5
22789 sed 's/^/| /' conftest.$ac_ext >&5
22790
22791 cat >conftest.$ac_ext <<_ACEOF
22792 /* confdefs.h. */
22793 _ACEOF
22794 cat confdefs.h >>conftest.$ac_ext
22795 cat >>conftest.$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22797 $ac_includes_default
22798 typedef long long ac__type_sizeof_;
22799 int
22800 main ()
22801 {
22802 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22803 test_array [0] = 0
22804
22805 ;
22806 return 0;
22807 }
22808 _ACEOF
22809 rm -f conftest.$ac_objext
22810 if { (ac_try="$ac_compile"
22811 case "(($ac_try" in
22812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22813 *) ac_try_echo=$ac_try;;
22814 esac
22815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22816 (eval "$ac_compile") 2>conftest.er1
22817 ac_status=$?
22818 grep -v '^ *+' conftest.er1 >conftest.err
22819 rm -f conftest.er1
22820 cat conftest.err >&5
22821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22822 (exit $ac_status); } && {
22823 test -z "$ac_c_werror_flag" ||
22824 test ! -s conftest.err
22825 } && test -s conftest.$ac_objext; then
22826 ac_hi=-1 ac_mid=-1
22827 while :; do
22828 cat >conftest.$ac_ext <<_ACEOF
22829 /* confdefs.h. */
22830 _ACEOF
22831 cat confdefs.h >>conftest.$ac_ext
22832 cat >>conftest.$ac_ext <<_ACEOF
22833 /* end confdefs.h. */
22834 $ac_includes_default
22835 typedef long long ac__type_sizeof_;
22836 int
22837 main ()
22838 {
22839 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22840 test_array [0] = 0
22841
22842 ;
22843 return 0;
22844 }
22845 _ACEOF
22846 rm -f conftest.$ac_objext
22847 if { (ac_try="$ac_compile"
22848 case "(($ac_try" in
22849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22850 *) ac_try_echo=$ac_try;;
22851 esac
22852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22853 (eval "$ac_compile") 2>conftest.er1
22854 ac_status=$?
22855 grep -v '^ *+' conftest.er1 >conftest.err
22856 rm -f conftest.er1
22857 cat conftest.err >&5
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); } && {
22860 test -z "$ac_c_werror_flag" ||
22861 test ! -s conftest.err
22862 } && test -s conftest.$ac_objext; then
22863 ac_lo=$ac_mid; break
22864 else
22865 echo "$as_me: failed program was:" >&5
22866 sed 's/^/| /' conftest.$ac_ext >&5
22867
22868 ac_hi=`expr '(' $ac_mid ')' - 1`
22869 if test $ac_mid -le $ac_hi; then
22870 ac_lo= ac_hi=
22871 break
22872 fi
22873 ac_mid=`expr 2 '*' $ac_mid`
22874 fi
22875
22876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22877 done
22878 else
22879 echo "$as_me: failed program was:" >&5
22880 sed 's/^/| /' conftest.$ac_ext >&5
22881
22882 ac_lo= ac_hi=
22883 fi
22884
22885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22886 fi
22887
22888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22889 # Binary search between lo and hi bounds.
22890 while test "x$ac_lo" != "x$ac_hi"; do
22891 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22892 cat >conftest.$ac_ext <<_ACEOF
22893 /* confdefs.h. */
22894 _ACEOF
22895 cat confdefs.h >>conftest.$ac_ext
22896 cat >>conftest.$ac_ext <<_ACEOF
22897 /* end confdefs.h. */
22898 $ac_includes_default
22899 typedef long long ac__type_sizeof_;
22900 int
22901 main ()
22902 {
22903 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22904 test_array [0] = 0
22905
22906 ;
22907 return 0;
22908 }
22909 _ACEOF
22910 rm -f conftest.$ac_objext
22911 if { (ac_try="$ac_compile"
22912 case "(($ac_try" in
22913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22914 *) ac_try_echo=$ac_try;;
22915 esac
22916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22917 (eval "$ac_compile") 2>conftest.er1
22918 ac_status=$?
22919 grep -v '^ *+' conftest.er1 >conftest.err
22920 rm -f conftest.er1
22921 cat conftest.err >&5
22922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22923 (exit $ac_status); } && {
22924 test -z "$ac_c_werror_flag" ||
22925 test ! -s conftest.err
22926 } && test -s conftest.$ac_objext; then
22927 ac_hi=$ac_mid
22928 else
22929 echo "$as_me: failed program was:" >&5
22930 sed 's/^/| /' conftest.$ac_ext >&5
22931
22932 ac_lo=`expr '(' $ac_mid ')' + 1`
22933 fi
22934
22935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22936 done
22937 case $ac_lo in
22938 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22939 '') if test "$ac_cv_type_long_long" = yes; then
22940 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22941 See \`config.log' for more details." >&5
22942 echo "$as_me: error: cannot compute sizeof (long long)
22943 See \`config.log' for more details." >&2;}
22944 { (exit 77); exit 77; }; }
22945 else
22946 ac_cv_sizeof_long_long=0
22947 fi ;;
22948 esac
22949 else
22950 cat >conftest.$ac_ext <<_ACEOF
22951 /* confdefs.h. */
22952 _ACEOF
22953 cat confdefs.h >>conftest.$ac_ext
22954 cat >>conftest.$ac_ext <<_ACEOF
22955 /* end confdefs.h. */
22956 $ac_includes_default
22957 typedef long long ac__type_sizeof_;
22958 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22959 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22960 #include <stdio.h>
22961 #include <stdlib.h>
22962 int
22963 main ()
22964 {
22965
22966 FILE *f = fopen ("conftest.val", "w");
22967 if (! f)
22968 return 1;
22969 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22970 {
22971 long int i = longval ();
22972 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22973 return 1;
22974 fprintf (f, "%ld\n", i);
22975 }
22976 else
22977 {
22978 unsigned long int i = ulongval ();
22979 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22980 return 1;
22981 fprintf (f, "%lu\n", i);
22982 }
22983 return ferror (f) || fclose (f) != 0;
22984
22985 ;
22986 return 0;
22987 }
22988 _ACEOF
22989 rm -f conftest$ac_exeext
22990 if { (ac_try="$ac_link"
22991 case "(($ac_try" in
22992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22993 *) ac_try_echo=$ac_try;;
22994 esac
22995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22996 (eval "$ac_link") 2>&5
22997 ac_status=$?
22998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22999 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23000 { (case "(($ac_try" in
23001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23002 *) ac_try_echo=$ac_try;;
23003 esac
23004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23005 (eval "$ac_try") 2>&5
23006 ac_status=$?
23007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23008 (exit $ac_status); }; }; then
23009 ac_cv_sizeof_long_long=`cat conftest.val`
23010 else
23011 echo "$as_me: program exited with status $ac_status" >&5
23012 echo "$as_me: failed program was:" >&5
23013 sed 's/^/| /' conftest.$ac_ext >&5
23014
23015 ( exit $ac_status )
23016 if test "$ac_cv_type_long_long" = yes; then
23017 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23018 See \`config.log' for more details." >&5
23019 echo "$as_me: error: cannot compute sizeof (long long)
23020 See \`config.log' for more details." >&2;}
23021 { (exit 77); exit 77; }; }
23022 else
23023 ac_cv_sizeof_long_long=0
23024 fi
23025 fi
23026 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23027 fi
23028 rm -f conftest.val
23029 fi
23030 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23031 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23032
23033
23034
23035 cat >>confdefs.h <<_ACEOF
23036 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23037 _ACEOF
23038
23039
23040 esac
23041
23042 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23043 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23044 if test "${ac_cv_type_wchar_t+set}" = set; then
23045 echo $ECHO_N "(cached) $ECHO_C" >&6
23046 else
23047 cat >conftest.$ac_ext <<_ACEOF
23048 /* confdefs.h. */
23049 _ACEOF
23050 cat confdefs.h >>conftest.$ac_ext
23051 cat >>conftest.$ac_ext <<_ACEOF
23052 /* end confdefs.h. */
23053
23054 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23055 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23056 # error "fake wchar_t"
23057 #endif
23058 #ifdef HAVE_WCHAR_H
23059 # ifdef __CYGWIN__
23060 # include <stddef.h>
23061 # endif
23062 # include <wchar.h>
23063 #endif
23064 #ifdef HAVE_STDLIB_H
23065 # include <stdlib.h>
23066 #endif
23067 #include <stdio.h>
23068
23069
23070
23071 typedef wchar_t ac__type_new_;
23072 int
23073 main ()
23074 {
23075 if ((ac__type_new_ *) 0)
23076 return 0;
23077 if (sizeof (ac__type_new_))
23078 return 0;
23079 ;
23080 return 0;
23081 }
23082 _ACEOF
23083 rm -f conftest.$ac_objext
23084 if { (ac_try="$ac_compile"
23085 case "(($ac_try" in
23086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23087 *) ac_try_echo=$ac_try;;
23088 esac
23089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23090 (eval "$ac_compile") 2>conftest.er1
23091 ac_status=$?
23092 grep -v '^ *+' conftest.er1 >conftest.err
23093 rm -f conftest.er1
23094 cat conftest.err >&5
23095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23096 (exit $ac_status); } && {
23097 test -z "$ac_c_werror_flag" ||
23098 test ! -s conftest.err
23099 } && test -s conftest.$ac_objext; then
23100 ac_cv_type_wchar_t=yes
23101 else
23102 echo "$as_me: failed program was:" >&5
23103 sed 's/^/| /' conftest.$ac_ext >&5
23104
23105 ac_cv_type_wchar_t=no
23106 fi
23107
23108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23109 fi
23110 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23111 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23112
23113 # The cast to long int works around a bug in the HP C Compiler
23114 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23115 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23116 # This bug is HP SR number 8606223364.
23117 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23118 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23119 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23120 echo $ECHO_N "(cached) $ECHO_C" >&6
23121 else
23122 if test "$cross_compiling" = yes; then
23123 # Depending upon the size, compute the lo and hi bounds.
23124 cat >conftest.$ac_ext <<_ACEOF
23125 /* confdefs.h. */
23126 _ACEOF
23127 cat confdefs.h >>conftest.$ac_ext
23128 cat >>conftest.$ac_ext <<_ACEOF
23129 /* end confdefs.h. */
23130
23131 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23132 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23133 # error "fake wchar_t"
23134 #endif
23135 #ifdef HAVE_WCHAR_H
23136 # ifdef __CYGWIN__
23137 # include <stddef.h>
23138 # endif
23139 # include <wchar.h>
23140 #endif
23141 #ifdef HAVE_STDLIB_H
23142 # include <stdlib.h>
23143 #endif
23144 #include <stdio.h>
23145
23146
23147
23148 typedef wchar_t ac__type_sizeof_;
23149 int
23150 main ()
23151 {
23152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23153 test_array [0] = 0
23154
23155 ;
23156 return 0;
23157 }
23158 _ACEOF
23159 rm -f conftest.$ac_objext
23160 if { (ac_try="$ac_compile"
23161 case "(($ac_try" in
23162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23163 *) ac_try_echo=$ac_try;;
23164 esac
23165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23166 (eval "$ac_compile") 2>conftest.er1
23167 ac_status=$?
23168 grep -v '^ *+' conftest.er1 >conftest.err
23169 rm -f conftest.er1
23170 cat conftest.err >&5
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); } && {
23173 test -z "$ac_c_werror_flag" ||
23174 test ! -s conftest.err
23175 } && test -s conftest.$ac_objext; then
23176 ac_lo=0 ac_mid=0
23177 while :; do
23178 cat >conftest.$ac_ext <<_ACEOF
23179 /* confdefs.h. */
23180 _ACEOF
23181 cat confdefs.h >>conftest.$ac_ext
23182 cat >>conftest.$ac_ext <<_ACEOF
23183 /* end confdefs.h. */
23184
23185 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23186 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23187 # error "fake wchar_t"
23188 #endif
23189 #ifdef HAVE_WCHAR_H
23190 # ifdef __CYGWIN__
23191 # include <stddef.h>
23192 # endif
23193 # include <wchar.h>
23194 #endif
23195 #ifdef HAVE_STDLIB_H
23196 # include <stdlib.h>
23197 #endif
23198 #include <stdio.h>
23199
23200
23201
23202 typedef wchar_t ac__type_sizeof_;
23203 int
23204 main ()
23205 {
23206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23207 test_array [0] = 0
23208
23209 ;
23210 return 0;
23211 }
23212 _ACEOF
23213 rm -f conftest.$ac_objext
23214 if { (ac_try="$ac_compile"
23215 case "(($ac_try" in
23216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23217 *) ac_try_echo=$ac_try;;
23218 esac
23219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23220 (eval "$ac_compile") 2>conftest.er1
23221 ac_status=$?
23222 grep -v '^ *+' conftest.er1 >conftest.err
23223 rm -f conftest.er1
23224 cat conftest.err >&5
23225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226 (exit $ac_status); } && {
23227 test -z "$ac_c_werror_flag" ||
23228 test ! -s conftest.err
23229 } && test -s conftest.$ac_objext; then
23230 ac_hi=$ac_mid; break
23231 else
23232 echo "$as_me: failed program was:" >&5
23233 sed 's/^/| /' conftest.$ac_ext >&5
23234
23235 ac_lo=`expr $ac_mid + 1`
23236 if test $ac_lo -le $ac_mid; then
23237 ac_lo= ac_hi=
23238 break
23239 fi
23240 ac_mid=`expr 2 '*' $ac_mid + 1`
23241 fi
23242
23243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23244 done
23245 else
23246 echo "$as_me: failed program was:" >&5
23247 sed 's/^/| /' conftest.$ac_ext >&5
23248
23249 cat >conftest.$ac_ext <<_ACEOF
23250 /* confdefs.h. */
23251 _ACEOF
23252 cat confdefs.h >>conftest.$ac_ext
23253 cat >>conftest.$ac_ext <<_ACEOF
23254 /* end confdefs.h. */
23255
23256 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23257 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23258 # error "fake wchar_t"
23259 #endif
23260 #ifdef HAVE_WCHAR_H
23261 # ifdef __CYGWIN__
23262 # include <stddef.h>
23263 # endif
23264 # include <wchar.h>
23265 #endif
23266 #ifdef HAVE_STDLIB_H
23267 # include <stdlib.h>
23268 #endif
23269 #include <stdio.h>
23270
23271
23272
23273 typedef wchar_t ac__type_sizeof_;
23274 int
23275 main ()
23276 {
23277 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23278 test_array [0] = 0
23279
23280 ;
23281 return 0;
23282 }
23283 _ACEOF
23284 rm -f conftest.$ac_objext
23285 if { (ac_try="$ac_compile"
23286 case "(($ac_try" in
23287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23288 *) ac_try_echo=$ac_try;;
23289 esac
23290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23291 (eval "$ac_compile") 2>conftest.er1
23292 ac_status=$?
23293 grep -v '^ *+' conftest.er1 >conftest.err
23294 rm -f conftest.er1
23295 cat conftest.err >&5
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); } && {
23298 test -z "$ac_c_werror_flag" ||
23299 test ! -s conftest.err
23300 } && test -s conftest.$ac_objext; then
23301 ac_hi=-1 ac_mid=-1
23302 while :; do
23303 cat >conftest.$ac_ext <<_ACEOF
23304 /* confdefs.h. */
23305 _ACEOF
23306 cat confdefs.h >>conftest.$ac_ext
23307 cat >>conftest.$ac_ext <<_ACEOF
23308 /* end confdefs.h. */
23309
23310 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23311 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23312 # error "fake wchar_t"
23313 #endif
23314 #ifdef HAVE_WCHAR_H
23315 # ifdef __CYGWIN__
23316 # include <stddef.h>
23317 # endif
23318 # include <wchar.h>
23319 #endif
23320 #ifdef HAVE_STDLIB_H
23321 # include <stdlib.h>
23322 #endif
23323 #include <stdio.h>
23324
23325
23326
23327 typedef wchar_t ac__type_sizeof_;
23328 int
23329 main ()
23330 {
23331 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23332 test_array [0] = 0
23333
23334 ;
23335 return 0;
23336 }
23337 _ACEOF
23338 rm -f conftest.$ac_objext
23339 if { (ac_try="$ac_compile"
23340 case "(($ac_try" in
23341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23342 *) ac_try_echo=$ac_try;;
23343 esac
23344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23345 (eval "$ac_compile") 2>conftest.er1
23346 ac_status=$?
23347 grep -v '^ *+' conftest.er1 >conftest.err
23348 rm -f conftest.er1
23349 cat conftest.err >&5
23350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23351 (exit $ac_status); } && {
23352 test -z "$ac_c_werror_flag" ||
23353 test ! -s conftest.err
23354 } && test -s conftest.$ac_objext; then
23355 ac_lo=$ac_mid; break
23356 else
23357 echo "$as_me: failed program was:" >&5
23358 sed 's/^/| /' conftest.$ac_ext >&5
23359
23360 ac_hi=`expr '(' $ac_mid ')' - 1`
23361 if test $ac_mid -le $ac_hi; then
23362 ac_lo= ac_hi=
23363 break
23364 fi
23365 ac_mid=`expr 2 '*' $ac_mid`
23366 fi
23367
23368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23369 done
23370 else
23371 echo "$as_me: failed program was:" >&5
23372 sed 's/^/| /' conftest.$ac_ext >&5
23373
23374 ac_lo= ac_hi=
23375 fi
23376
23377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23378 fi
23379
23380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23381 # Binary search between lo and hi bounds.
23382 while test "x$ac_lo" != "x$ac_hi"; do
23383 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23384 cat >conftest.$ac_ext <<_ACEOF
23385 /* confdefs.h. */
23386 _ACEOF
23387 cat confdefs.h >>conftest.$ac_ext
23388 cat >>conftest.$ac_ext <<_ACEOF
23389 /* end confdefs.h. */
23390
23391 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23392 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23393 # error "fake wchar_t"
23394 #endif
23395 #ifdef HAVE_WCHAR_H
23396 # ifdef __CYGWIN__
23397 # include <stddef.h>
23398 # endif
23399 # include <wchar.h>
23400 #endif
23401 #ifdef HAVE_STDLIB_H
23402 # include <stdlib.h>
23403 #endif
23404 #include <stdio.h>
23405
23406
23407
23408 typedef wchar_t ac__type_sizeof_;
23409 int
23410 main ()
23411 {
23412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23413 test_array [0] = 0
23414
23415 ;
23416 return 0;
23417 }
23418 _ACEOF
23419 rm -f conftest.$ac_objext
23420 if { (ac_try="$ac_compile"
23421 case "(($ac_try" in
23422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23423 *) ac_try_echo=$ac_try;;
23424 esac
23425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23426 (eval "$ac_compile") 2>conftest.er1
23427 ac_status=$?
23428 grep -v '^ *+' conftest.er1 >conftest.err
23429 rm -f conftest.er1
23430 cat conftest.err >&5
23431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23432 (exit $ac_status); } && {
23433 test -z "$ac_c_werror_flag" ||
23434 test ! -s conftest.err
23435 } && test -s conftest.$ac_objext; then
23436 ac_hi=$ac_mid
23437 else
23438 echo "$as_me: failed program was:" >&5
23439 sed 's/^/| /' conftest.$ac_ext >&5
23440
23441 ac_lo=`expr '(' $ac_mid ')' + 1`
23442 fi
23443
23444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23445 done
23446 case $ac_lo in
23447 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23448 '') if test "$ac_cv_type_wchar_t" = yes; then
23449 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23450 See \`config.log' for more details." >&5
23451 echo "$as_me: error: cannot compute sizeof (wchar_t)
23452 See \`config.log' for more details." >&2;}
23453 { (exit 77); exit 77; }; }
23454 else
23455 ac_cv_sizeof_wchar_t=0
23456 fi ;;
23457 esac
23458 else
23459 cat >conftest.$ac_ext <<_ACEOF
23460 /* confdefs.h. */
23461 _ACEOF
23462 cat confdefs.h >>conftest.$ac_ext
23463 cat >>conftest.$ac_ext <<_ACEOF
23464 /* end confdefs.h. */
23465
23466 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23467 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23468 # error "fake wchar_t"
23469 #endif
23470 #ifdef HAVE_WCHAR_H
23471 # ifdef __CYGWIN__
23472 # include <stddef.h>
23473 # endif
23474 # include <wchar.h>
23475 #endif
23476 #ifdef HAVE_STDLIB_H
23477 # include <stdlib.h>
23478 #endif
23479 #include <stdio.h>
23480
23481
23482
23483 typedef wchar_t ac__type_sizeof_;
23484 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23485 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23486 #include <stdio.h>
23487 #include <stdlib.h>
23488 int
23489 main ()
23490 {
23491
23492 FILE *f = fopen ("conftest.val", "w");
23493 if (! f)
23494 return 1;
23495 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23496 {
23497 long int i = longval ();
23498 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23499 return 1;
23500 fprintf (f, "%ld\n", i);
23501 }
23502 else
23503 {
23504 unsigned long int i = ulongval ();
23505 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23506 return 1;
23507 fprintf (f, "%lu\n", i);
23508 }
23509 return ferror (f) || fclose (f) != 0;
23510
23511 ;
23512 return 0;
23513 }
23514 _ACEOF
23515 rm -f conftest$ac_exeext
23516 if { (ac_try="$ac_link"
23517 case "(($ac_try" in
23518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23519 *) ac_try_echo=$ac_try;;
23520 esac
23521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23522 (eval "$ac_link") 2>&5
23523 ac_status=$?
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23526 { (case "(($ac_try" in
23527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23528 *) ac_try_echo=$ac_try;;
23529 esac
23530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23531 (eval "$ac_try") 2>&5
23532 ac_status=$?
23533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23534 (exit $ac_status); }; }; then
23535 ac_cv_sizeof_wchar_t=`cat conftest.val`
23536 else
23537 echo "$as_me: program exited with status $ac_status" >&5
23538 echo "$as_me: failed program was:" >&5
23539 sed 's/^/| /' conftest.$ac_ext >&5
23540
23541 ( exit $ac_status )
23542 if test "$ac_cv_type_wchar_t" = yes; then
23543 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23544 See \`config.log' for more details." >&5
23545 echo "$as_me: error: cannot compute sizeof (wchar_t)
23546 See \`config.log' for more details." >&2;}
23547 { (exit 77); exit 77; }; }
23548 else
23549 ac_cv_sizeof_wchar_t=0
23550 fi
23551 fi
23552 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23553 fi
23554 rm -f conftest.val
23555 fi
23556 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23557 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23558
23559
23560
23561 cat >>confdefs.h <<_ACEOF
23562 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23563 _ACEOF
23564
23565
23566 if test "$ac_cv_sizeof_wchar_t" != 0; then
23567 wxUSE_WCHAR_T=yes
23568 else
23569 wxUSE_WCHAR_T=no
23570 fi
23571
23572 { echo "$as_me:$LINENO: checking for va_copy" >&5
23573 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23574 if test "${wx_cv_func_va_copy+set}" = set; then
23575 echo $ECHO_N "(cached) $ECHO_C" >&6
23576 else
23577
23578 ac_ext=cpp
23579 ac_cpp='$CXXCPP $CPPFLAGS'
23580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23583
23584 cat >conftest.$ac_ext <<_ACEOF
23585
23586 #include <stdarg.h>
23587 void foo(char *f, ...)
23588 {
23589 va_list ap1, ap2;
23590 va_start(ap1, f);
23591 va_copy(ap2, ap1);
23592 va_end(ap2);
23593 va_end(ap1);
23594 }
23595 int main()
23596 {
23597 foo("hi", 17);
23598 return 0;
23599 }
23600 _ACEOF
23601 rm -f conftest.$ac_objext conftest$ac_exeext
23602 if { (ac_try="$ac_link"
23603 case "(($ac_try" in
23604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23605 *) ac_try_echo=$ac_try;;
23606 esac
23607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23608 (eval "$ac_link") 2>conftest.er1
23609 ac_status=$?
23610 grep -v '^ *+' conftest.er1 >conftest.err
23611 rm -f conftest.er1
23612 cat conftest.err >&5
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); } && {
23615 test -z "$ac_cxx_werror_flag" ||
23616 test ! -s conftest.err
23617 } && test -s conftest$ac_exeext &&
23618 $as_test_x conftest$ac_exeext; then
23619 wx_cv_func_va_copy=yes
23620 else
23621 echo "$as_me: failed program was:" >&5
23622 sed 's/^/| /' conftest.$ac_ext >&5
23623
23624 wx_cv_func_va_copy=no
23625
23626 fi
23627
23628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23629 conftest$ac_exeext conftest.$ac_ext
23630 ac_ext=c
23631 ac_cpp='$CPP $CPPFLAGS'
23632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23635
23636
23637
23638 fi
23639 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23640 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23641
23642 if test $wx_cv_func_va_copy = "yes"; then
23643 cat >>confdefs.h <<\_ACEOF
23644 #define HAVE_VA_COPY 1
23645 _ACEOF
23646
23647 else
23648 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23649 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23650 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23651 echo $ECHO_N "(cached) $ECHO_C" >&6
23652 else
23653
23654 if test "$cross_compiling" = yes; then
23655 wx_cv_type_va_list_lvalue=yes
23656
23657 else
23658 cat >conftest.$ac_ext <<_ACEOF
23659
23660 #include <stdarg.h>
23661 int foo(char *f, ...)
23662 {
23663 va_list ap1, ap2;
23664 va_start(ap1, f);
23665 ap2 = ap1;
23666 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23667 return 1;
23668 va_end(ap2);
23669 va_end(ap1);
23670 return 0;
23671 }
23672 int main()
23673 {
23674 return foo("hi", 17);
23675 }
23676 _ACEOF
23677 rm -f conftest$ac_exeext
23678 if { (ac_try="$ac_link"
23679 case "(($ac_try" in
23680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23681 *) ac_try_echo=$ac_try;;
23682 esac
23683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23684 (eval "$ac_link") 2>&5
23685 ac_status=$?
23686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23687 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23688 { (case "(($ac_try" in
23689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23690 *) ac_try_echo=$ac_try;;
23691 esac
23692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23693 (eval "$ac_try") 2>&5
23694 ac_status=$?
23695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23696 (exit $ac_status); }; }; then
23697 wx_cv_type_va_list_lvalue=yes
23698 else
23699 echo "$as_me: program exited with status $ac_status" >&5
23700 echo "$as_me: failed program was:" >&5
23701 sed 's/^/| /' conftest.$ac_ext >&5
23702
23703 ( exit $ac_status )
23704 wx_cv_type_va_list_lvalue=no
23705 fi
23706 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23707 fi
23708
23709
23710
23711
23712 fi
23713 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23714 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23715
23716 if test $wx_cv_type_va_list_lvalue != "yes"; then
23717 cat >>confdefs.h <<\_ACEOF
23718 #define VA_LIST_IS_ARRAY 1
23719 _ACEOF
23720
23721 fi
23722 fi
23723
23724 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23725
23726 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23727 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23728 if test "${wx_cv_have_variadic_macros+set}" = set; then
23729 echo $ECHO_N "(cached) $ECHO_C" >&6
23730 else
23731
23732 ac_ext=cpp
23733 ac_cpp='$CXXCPP $CPPFLAGS'
23734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23737
23738 cat >conftest.$ac_ext <<_ACEOF
23739 /* confdefs.h. */
23740 _ACEOF
23741 cat confdefs.h >>conftest.$ac_ext
23742 cat >>conftest.$ac_ext <<_ACEOF
23743 /* end confdefs.h. */
23744
23745 #include <stdio.h>
23746 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23747
23748 int
23749 main ()
23750 {
23751
23752 test("%s %d %p", "test", 1, 0);
23753
23754
23755 ;
23756 return 0;
23757 }
23758 _ACEOF
23759 rm -f conftest.$ac_objext
23760 if { (ac_try="$ac_compile"
23761 case "(($ac_try" in
23762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23763 *) ac_try_echo=$ac_try;;
23764 esac
23765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23766 (eval "$ac_compile") 2>conftest.er1
23767 ac_status=$?
23768 grep -v '^ *+' conftest.er1 >conftest.err
23769 rm -f conftest.er1
23770 cat conftest.err >&5
23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); } && {
23773 test -z "$ac_cxx_werror_flag" ||
23774 test ! -s conftest.err
23775 } && test -s conftest.$ac_objext; then
23776 wx_cv_have_variadic_macros=yes
23777 else
23778 echo "$as_me: failed program was:" >&5
23779 sed 's/^/| /' conftest.$ac_ext >&5
23780
23781 wx_cv_have_variadic_macros=no
23782
23783 fi
23784
23785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23786 ac_ext=c
23787 ac_cpp='$CPP $CPPFLAGS'
23788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23791
23792
23793
23794 fi
23795 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23796 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23797
23798 if test $wx_cv_have_variadic_macros = "yes"; then
23799 cat >>confdefs.h <<\_ACEOF
23800 #define HAVE_VARIADIC_MACROS 1
23801 _ACEOF
23802
23803 fi
23804
23805 fi
23806
23807 LARGEFILE_CPPFLAGS=
23808 # Check whether --enable-largefile was given.
23809 if test "${enable_largefile+set}" = set; then
23810 enableval=$enable_largefile;
23811 fi
23812
23813 if test "$enable_largefile" != no; then
23814 wx_largefile=no
23815
23816 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23817 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23818 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23819 echo $ECHO_N "(cached) $ECHO_C" >&6
23820 else
23821
23822 cat >conftest.$ac_ext <<_ACEOF
23823 /* confdefs.h. */
23824 _ACEOF
23825 cat confdefs.h >>conftest.$ac_ext
23826 cat >>conftest.$ac_ext <<_ACEOF
23827 /* end confdefs.h. */
23828 #define _FILE_OFFSET_BITS 64
23829 #include <sys/types.h>
23830 int
23831 main ()
23832 {
23833 typedef struct {
23834 unsigned int field: sizeof(off_t) == 8;
23835 } wxlf;
23836
23837 ;
23838 return 0;
23839 }
23840 _ACEOF
23841 rm -f conftest.$ac_objext
23842 if { (ac_try="$ac_compile"
23843 case "(($ac_try" in
23844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23845 *) ac_try_echo=$ac_try;;
23846 esac
23847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23848 (eval "$ac_compile") 2>conftest.er1
23849 ac_status=$?
23850 grep -v '^ *+' conftest.er1 >conftest.err
23851 rm -f conftest.er1
23852 cat conftest.err >&5
23853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854 (exit $ac_status); } && {
23855 test -z "$ac_c_werror_flag" ||
23856 test ! -s conftest.err
23857 } && test -s conftest.$ac_objext; then
23858 ac_cv_sys_file_offset_bits=64
23859 else
23860 echo "$as_me: failed program was:" >&5
23861 sed 's/^/| /' conftest.$ac_ext >&5
23862
23863 ac_cv_sys_file_offset_bits=no
23864 fi
23865
23866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23867
23868
23869 fi
23870 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23871 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23872
23873 if test "$ac_cv_sys_file_offset_bits" != no; then
23874 wx_largefile=yes
23875 cat >>confdefs.h <<_ACEOF
23876 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23877 _ACEOF
23878
23879 fi
23880
23881 if test "x$wx_largefile" != "xyes"; then
23882
23883 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23884 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23885 if test "${ac_cv_sys_large_files+set}" = set; then
23886 echo $ECHO_N "(cached) $ECHO_C" >&6
23887 else
23888
23889 cat >conftest.$ac_ext <<_ACEOF
23890 /* confdefs.h. */
23891 _ACEOF
23892 cat confdefs.h >>conftest.$ac_ext
23893 cat >>conftest.$ac_ext <<_ACEOF
23894 /* end confdefs.h. */
23895 #define _LARGE_FILES 1
23896 #include <sys/types.h>
23897 int
23898 main ()
23899 {
23900 typedef struct {
23901 unsigned int field: sizeof(off_t) == 8;
23902 } wxlf;
23903
23904 ;
23905 return 0;
23906 }
23907 _ACEOF
23908 rm -f conftest.$ac_objext
23909 if { (ac_try="$ac_compile"
23910 case "(($ac_try" in
23911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23912 *) ac_try_echo=$ac_try;;
23913 esac
23914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23915 (eval "$ac_compile") 2>conftest.er1
23916 ac_status=$?
23917 grep -v '^ *+' conftest.er1 >conftest.err
23918 rm -f conftest.er1
23919 cat conftest.err >&5
23920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23921 (exit $ac_status); } && {
23922 test -z "$ac_c_werror_flag" ||
23923 test ! -s conftest.err
23924 } && test -s conftest.$ac_objext; then
23925 ac_cv_sys_large_files=1
23926 else
23927 echo "$as_me: failed program was:" >&5
23928 sed 's/^/| /' conftest.$ac_ext >&5
23929
23930 ac_cv_sys_large_files=no
23931 fi
23932
23933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23934
23935
23936 fi
23937 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23938 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23939
23940 if test "$ac_cv_sys_large_files" != no; then
23941 wx_largefile=yes
23942 cat >>confdefs.h <<_ACEOF
23943 #define _LARGE_FILES $ac_cv_sys_large_files
23944 _ACEOF
23945
23946 fi
23947
23948 fi
23949
23950 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23951 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23952 if test "x$wx_largefile" = "xyes"; then
23953 cat >>confdefs.h <<\_ACEOF
23954 #define HAVE_LARGEFILE_SUPPORT 1
23955 _ACEOF
23956
23957 fi
23958 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23959 echo "${ECHO_T}$wx_largefile" >&6; }
23960 fi
23961
23962 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23963 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23964 elif test "$ac_cv_sys_large_files" = 1; then
23965 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23966 fi
23967
23968 if test -n "$LARGEFILE_CPPFLAGS"; then
23969 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23970
23971 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23972 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23973 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23974 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23975 echo $ECHO_N "(cached) $ECHO_C" >&6
23976 else
23977
23978 ac_ext=cpp
23979 ac_cpp='$CXXCPP $CPPFLAGS'
23980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23983
23984 cat >conftest.$ac_ext <<_ACEOF
23985 /* confdefs.h. */
23986 _ACEOF
23987 cat confdefs.h >>conftest.$ac_ext
23988 cat >>conftest.$ac_ext <<_ACEOF
23989 /* end confdefs.h. */
23990
23991 int
23992 main ()
23993 {
23994
23995 #ifndef __STDC_EXT__
23996 choke me
23997 #endif
23998
23999 ;
24000 return 0;
24001 }
24002 _ACEOF
24003 rm -f conftest.$ac_objext
24004 if { (ac_try="$ac_compile"
24005 case "(($ac_try" in
24006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24007 *) ac_try_echo=$ac_try;;
24008 esac
24009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24010 (eval "$ac_compile") 2>conftest.er1
24011 ac_status=$?
24012 grep -v '^ *+' conftest.er1 >conftest.err
24013 rm -f conftest.er1
24014 cat conftest.err >&5
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016 (exit $ac_status); } && {
24017 test -z "$ac_cxx_werror_flag" ||
24018 test ! -s conftest.err
24019 } && test -s conftest.$ac_objext; then
24020 wx_cv_STDC_EXT_required=no
24021 else
24022 echo "$as_me: failed program was:" >&5
24023 sed 's/^/| /' conftest.$ac_ext >&5
24024
24025 wx_cv_STDC_EXT_required=yes
24026
24027 fi
24028
24029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24030 ac_ext=c
24031 ac_cpp='$CPP $CPPFLAGS'
24032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24035
24036
24037
24038 fi
24039 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24040 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24041 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24042 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24043 fi
24044 fi
24045 fi
24046
24047 ac_ext=cpp
24048 ac_cpp='$CXXCPP $CPPFLAGS'
24049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24052
24053 old_CPPFLAGS="$CPPFLAGS"
24054 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24055 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24056 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24057 if test "${ac_cv_sys_largefile_source+set}" = set; then
24058 echo $ECHO_N "(cached) $ECHO_C" >&6
24059 else
24060 while :; do
24061 cat >conftest.$ac_ext <<_ACEOF
24062 /* confdefs.h. */
24063 _ACEOF
24064 cat confdefs.h >>conftest.$ac_ext
24065 cat >>conftest.$ac_ext <<_ACEOF
24066 /* end confdefs.h. */
24067 #include <sys/types.h> /* for off_t */
24068 #include <stdio.h>
24069 int
24070 main ()
24071 {
24072 int (*fp) (FILE *, off_t, int) = fseeko;
24073 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24074 ;
24075 return 0;
24076 }
24077 _ACEOF
24078 rm -f conftest.$ac_objext conftest$ac_exeext
24079 if { (ac_try="$ac_link"
24080 case "(($ac_try" in
24081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24082 *) ac_try_echo=$ac_try;;
24083 esac
24084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24085 (eval "$ac_link") 2>conftest.er1
24086 ac_status=$?
24087 grep -v '^ *+' conftest.er1 >conftest.err
24088 rm -f conftest.er1
24089 cat conftest.err >&5
24090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24091 (exit $ac_status); } && {
24092 test -z "$ac_cxx_werror_flag" ||
24093 test ! -s conftest.err
24094 } && test -s conftest$ac_exeext &&
24095 $as_test_x conftest$ac_exeext; then
24096 ac_cv_sys_largefile_source=no; break
24097 else
24098 echo "$as_me: failed program was:" >&5
24099 sed 's/^/| /' conftest.$ac_ext >&5
24100
24101
24102 fi
24103
24104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24105 conftest$ac_exeext conftest.$ac_ext
24106 cat >conftest.$ac_ext <<_ACEOF
24107 /* confdefs.h. */
24108 _ACEOF
24109 cat confdefs.h >>conftest.$ac_ext
24110 cat >>conftest.$ac_ext <<_ACEOF
24111 /* end confdefs.h. */
24112 #define _LARGEFILE_SOURCE 1
24113 #include <sys/types.h> /* for off_t */
24114 #include <stdio.h>
24115 int
24116 main ()
24117 {
24118 int (*fp) (FILE *, off_t, int) = fseeko;
24119 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24120 ;
24121 return 0;
24122 }
24123 _ACEOF
24124 rm -f conftest.$ac_objext conftest$ac_exeext
24125 if { (ac_try="$ac_link"
24126 case "(($ac_try" in
24127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24128 *) ac_try_echo=$ac_try;;
24129 esac
24130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24131 (eval "$ac_link") 2>conftest.er1
24132 ac_status=$?
24133 grep -v '^ *+' conftest.er1 >conftest.err
24134 rm -f conftest.er1
24135 cat conftest.err >&5
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); } && {
24138 test -z "$ac_cxx_werror_flag" ||
24139 test ! -s conftest.err
24140 } && test -s conftest$ac_exeext &&
24141 $as_test_x conftest$ac_exeext; then
24142 ac_cv_sys_largefile_source=1; break
24143 else
24144 echo "$as_me: failed program was:" >&5
24145 sed 's/^/| /' conftest.$ac_ext >&5
24146
24147
24148 fi
24149
24150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24151 conftest$ac_exeext conftest.$ac_ext
24152 ac_cv_sys_largefile_source=unknown
24153 break
24154 done
24155 fi
24156 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24157 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24158 case $ac_cv_sys_largefile_source in #(
24159 no | unknown) ;;
24160 *)
24161 cat >>confdefs.h <<_ACEOF
24162 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24163 _ACEOF
24164 ;;
24165 esac
24166 rm -f conftest*
24167
24168 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24169 # in glibc 2.1.3, but that breaks too many other things.
24170 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24171 if test $ac_cv_sys_largefile_source != unknown; then
24172
24173 cat >>confdefs.h <<\_ACEOF
24174 #define HAVE_FSEEKO 1
24175 _ACEOF
24176
24177 fi
24178
24179 CPPFLAGS="$old_CPPFLAGS"
24180 ac_ext=c
24181 ac_cpp='$CPP $CPPFLAGS'
24182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24185
24186 if test "$ac_cv_sys_largefile_source" != no; then
24187 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24188 fi
24189
24190 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24191 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24192 if test "${ac_cv_c_bigendian+set}" = set; then
24193 echo $ECHO_N "(cached) $ECHO_C" >&6
24194 else
24195 ac_cv_c_bigendian=unknown
24196 # See if sys/param.h defines the BYTE_ORDER macro.
24197 cat >conftest.$ac_ext <<_ACEOF
24198 /* confdefs.h. */
24199 _ACEOF
24200 cat confdefs.h >>conftest.$ac_ext
24201 cat >>conftest.$ac_ext <<_ACEOF
24202 /* end confdefs.h. */
24203 #include <sys/types.h>
24204 #include <sys/param.h>
24205 int
24206 main ()
24207 {
24208
24209 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24210 bogus endian macros
24211 #endif
24212 ;
24213 return 0;
24214 }
24215 _ACEOF
24216 rm -f conftest.$ac_objext
24217 if { (ac_try="$ac_compile"
24218 case "(($ac_try" in
24219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24220 *) ac_try_echo=$ac_try;;
24221 esac
24222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24223 (eval "$ac_compile") 2>conftest.er1
24224 ac_status=$?
24225 grep -v '^ *+' conftest.er1 >conftest.err
24226 rm -f conftest.er1
24227 cat conftest.err >&5
24228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24229 (exit $ac_status); } && {
24230 test -z "$ac_c_werror_flag" ||
24231 test ! -s conftest.err
24232 } && test -s conftest.$ac_objext; then
24233 # It does; now see whether it defined to BIG_ENDIAN or not.
24234 cat >conftest.$ac_ext <<_ACEOF
24235 /* confdefs.h. */
24236 _ACEOF
24237 cat confdefs.h >>conftest.$ac_ext
24238 cat >>conftest.$ac_ext <<_ACEOF
24239 /* end confdefs.h. */
24240 #include <sys/types.h>
24241 #include <sys/param.h>
24242 int
24243 main ()
24244 {
24245
24246 #if BYTE_ORDER != BIG_ENDIAN
24247 not big endian
24248 #endif
24249 ;
24250 return 0;
24251 }
24252 _ACEOF
24253 rm -f conftest.$ac_objext
24254 if { (ac_try="$ac_compile"
24255 case "(($ac_try" in
24256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24257 *) ac_try_echo=$ac_try;;
24258 esac
24259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24260 (eval "$ac_compile") 2>conftest.er1
24261 ac_status=$?
24262 grep -v '^ *+' conftest.er1 >conftest.err
24263 rm -f conftest.er1
24264 cat conftest.err >&5
24265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24266 (exit $ac_status); } && {
24267 test -z "$ac_c_werror_flag" ||
24268 test ! -s conftest.err
24269 } && test -s conftest.$ac_objext; then
24270 ac_cv_c_bigendian=yes
24271 else
24272 echo "$as_me: failed program was:" >&5
24273 sed 's/^/| /' conftest.$ac_ext >&5
24274
24275 ac_cv_c_bigendian=no
24276 fi
24277
24278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24279 else
24280 echo "$as_me: failed program was:" >&5
24281 sed 's/^/| /' conftest.$ac_ext >&5
24282
24283
24284 fi
24285
24286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24287 if test $ac_cv_c_bigendian = unknown; then
24288 if test "$cross_compiling" = yes; then
24289 ac_cv_c_bigendian=unknown
24290 else
24291 cat >conftest.$ac_ext <<_ACEOF
24292 /* confdefs.h. */
24293 _ACEOF
24294 cat confdefs.h >>conftest.$ac_ext
24295 cat >>conftest.$ac_ext <<_ACEOF
24296 /* end confdefs.h. */
24297 main () {
24298 /* Are we little or big endian? From Harbison&Steele. */
24299 union
24300 {
24301 long l;
24302 char c[sizeof (long)];
24303 } u;
24304 u.l = 1;
24305 exit (u.c[sizeof (long) - 1] == 1);
24306 }
24307 _ACEOF
24308 rm -f conftest$ac_exeext
24309 if { (ac_try="$ac_link"
24310 case "(($ac_try" in
24311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24312 *) ac_try_echo=$ac_try;;
24313 esac
24314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24315 (eval "$ac_link") 2>&5
24316 ac_status=$?
24317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24318 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24319 { (case "(($ac_try" in
24320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24321 *) ac_try_echo=$ac_try;;
24322 esac
24323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24324 (eval "$ac_try") 2>&5
24325 ac_status=$?
24326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24327 (exit $ac_status); }; }; then
24328 ac_cv_c_bigendian=no
24329 else
24330 echo "$as_me: program exited with status $ac_status" >&5
24331 echo "$as_me: failed program was:" >&5
24332 sed 's/^/| /' conftest.$ac_ext >&5
24333
24334 ( exit $ac_status )
24335 ac_cv_c_bigendian=yes
24336 fi
24337 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24338 fi
24339
24340
24341 fi
24342 fi
24343 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24344 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24345 if test $ac_cv_c_bigendian = unknown; then
24346 { 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
24347 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;}
24348 fi
24349 if test $ac_cv_c_bigendian = yes; then
24350 cat >>confdefs.h <<\_ACEOF
24351 #define WORDS_BIGENDIAN 1
24352 _ACEOF
24353
24354 fi
24355
24356
24357
24358
24359 ac_ext=cpp
24360 ac_cpp='$CXXCPP $CPPFLAGS'
24361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24364
24365
24366
24367 for ac_header in iostream
24368 do
24369 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24370 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24372 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24373 echo $ECHO_N "(cached) $ECHO_C" >&6
24374 else
24375 cat >conftest.$ac_ext <<_ACEOF
24376 /* confdefs.h. */
24377 _ACEOF
24378 cat confdefs.h >>conftest.$ac_ext
24379 cat >>conftest.$ac_ext <<_ACEOF
24380 /* end confdefs.h. */
24381
24382
24383 #include <$ac_header>
24384 _ACEOF
24385 rm -f conftest.$ac_objext
24386 if { (ac_try="$ac_compile"
24387 case "(($ac_try" in
24388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24389 *) ac_try_echo=$ac_try;;
24390 esac
24391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24392 (eval "$ac_compile") 2>conftest.er1
24393 ac_status=$?
24394 grep -v '^ *+' conftest.er1 >conftest.err
24395 rm -f conftest.er1
24396 cat conftest.err >&5
24397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24398 (exit $ac_status); } && {
24399 test -z "$ac_cxx_werror_flag" ||
24400 test ! -s conftest.err
24401 } && test -s conftest.$ac_objext; then
24402 eval "$as_ac_Header=yes"
24403 else
24404 echo "$as_me: failed program was:" >&5
24405 sed 's/^/| /' conftest.$ac_ext >&5
24406
24407 eval "$as_ac_Header=no"
24408 fi
24409
24410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24411 fi
24412 ac_res=`eval echo '${'$as_ac_Header'}'`
24413 { echo "$as_me:$LINENO: result: $ac_res" >&5
24414 echo "${ECHO_T}$ac_res" >&6; }
24415 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24416 cat >>confdefs.h <<_ACEOF
24417 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24418 _ACEOF
24419
24420 fi
24421
24422 done
24423
24424
24425 if test "$ac_cv_header_iostream" = "yes" ; then
24426 :
24427 else
24428 cat >>confdefs.h <<\_ACEOF
24429 #define wxUSE_IOSTREAMH 1
24430 _ACEOF
24431
24432 fi
24433
24434 ac_ext=c
24435 ac_cpp='$CPP $CPPFLAGS'
24436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24439
24440
24441
24442
24443 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24444 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24445 if test "${wx_cv_explicit+set}" = set; then
24446 echo $ECHO_N "(cached) $ECHO_C" >&6
24447 else
24448
24449
24450 ac_ext=cpp
24451 ac_cpp='$CXXCPP $CPPFLAGS'
24452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24455
24456
24457 cat >conftest.$ac_ext <<_ACEOF
24458 /* confdefs.h. */
24459 _ACEOF
24460 cat confdefs.h >>conftest.$ac_ext
24461 cat >>conftest.$ac_ext <<_ACEOF
24462 /* end confdefs.h. */
24463
24464 class Foo { public: explicit Foo(int) {} };
24465
24466 int
24467 main ()
24468 {
24469
24470 return 0;
24471
24472 ;
24473 return 0;
24474 }
24475 _ACEOF
24476 rm -f conftest.$ac_objext
24477 if { (ac_try="$ac_compile"
24478 case "(($ac_try" in
24479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24480 *) ac_try_echo=$ac_try;;
24481 esac
24482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24483 (eval "$ac_compile") 2>conftest.er1
24484 ac_status=$?
24485 grep -v '^ *+' conftest.er1 >conftest.err
24486 rm -f conftest.er1
24487 cat conftest.err >&5
24488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24489 (exit $ac_status); } && {
24490 test -z "$ac_cxx_werror_flag" ||
24491 test ! -s conftest.err
24492 } && test -s conftest.$ac_objext; then
24493
24494 cat >conftest.$ac_ext <<_ACEOF
24495 /* confdefs.h. */
24496 _ACEOF
24497 cat confdefs.h >>conftest.$ac_ext
24498 cat >>conftest.$ac_ext <<_ACEOF
24499 /* end confdefs.h. */
24500
24501 class Foo { public: explicit Foo(int) {} };
24502 static void TakeFoo(const Foo& foo) { }
24503
24504 int
24505 main ()
24506 {
24507
24508 TakeFoo(17);
24509 return 0;
24510
24511 ;
24512 return 0;
24513 }
24514 _ACEOF
24515 rm -f conftest.$ac_objext
24516 if { (ac_try="$ac_compile"
24517 case "(($ac_try" in
24518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24519 *) ac_try_echo=$ac_try;;
24520 esac
24521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24522 (eval "$ac_compile") 2>conftest.er1
24523 ac_status=$?
24524 grep -v '^ *+' conftest.er1 >conftest.err
24525 rm -f conftest.er1
24526 cat conftest.err >&5
24527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24528 (exit $ac_status); } && {
24529 test -z "$ac_cxx_werror_flag" ||
24530 test ! -s conftest.err
24531 } && test -s conftest.$ac_objext; then
24532 wx_cv_explicit=no
24533 else
24534 echo "$as_me: failed program was:" >&5
24535 sed 's/^/| /' conftest.$ac_ext >&5
24536
24537 wx_cv_explicit=yes
24538
24539 fi
24540
24541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24542
24543 else
24544 echo "$as_me: failed program was:" >&5
24545 sed 's/^/| /' conftest.$ac_ext >&5
24546
24547 wx_cv_explicit=no
24548
24549 fi
24550
24551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24552
24553 ac_ext=c
24554 ac_cpp='$CPP $CPPFLAGS'
24555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24558
24559
24560 fi
24561 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24562 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24563
24564 if test "$wx_cv_explicit" = "yes"; then
24565 cat >>confdefs.h <<\_ACEOF
24566 #define HAVE_EXPLICIT 1
24567 _ACEOF
24568
24569 fi
24570
24571
24572 if test "x$SUNCXX" = xyes; then
24573 CXXFLAGS="-features=tmplife $CXXFLAGS"
24574 fi
24575
24576 if test "x$SUNCC" = xyes; then
24577 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24578 fi
24579
24580 if test "x$SGICC" = "xyes"; then
24581 CFLAGS="-woff 3970 $CFLAGS"
24582 fi
24583 if test "x$SGICXX" = "xyes"; then
24584 CXXFLAGS="-woff 3970 $CXXFLAGS"
24585 fi
24586
24587 if test "x$HPCC" = "xyes"; then
24588 CFLAGS="+W 2011,2450 $CFLAGS"
24589 fi
24590 if test "x$HPCXX" = "xyes"; then
24591 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24592 fi
24593
24594 if test "x$COMPAQCXX" = "xyes"; then
24595 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24596 fi
24597
24598 ac_ext=cpp
24599 ac_cpp='$CXXCPP $CPPFLAGS'
24600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24603
24604
24605 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24606 if test "$wxUSE_UNICODE" = "yes"; then
24607 std_string="std::wstring"
24608 char_type="wchar_t"
24609 else
24610 std_string="std::string"
24611 char_type="char"
24612 fi
24613
24614 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24615 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24616 if test "${wx_cv_class_stdstring+set}" = set; then
24617 echo $ECHO_N "(cached) $ECHO_C" >&6
24618 else
24619
24620 cat >conftest.$ac_ext <<_ACEOF
24621 /* confdefs.h. */
24622 _ACEOF
24623 cat confdefs.h >>conftest.$ac_ext
24624 cat >>conftest.$ac_ext <<_ACEOF
24625 /* end confdefs.h. */
24626 #include <string>
24627 int
24628 main ()
24629 {
24630 $std_string foo;
24631 ;
24632 return 0;
24633 }
24634 _ACEOF
24635 rm -f conftest.$ac_objext
24636 if { (ac_try="$ac_compile"
24637 case "(($ac_try" in
24638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24639 *) ac_try_echo=$ac_try;;
24640 esac
24641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24642 (eval "$ac_compile") 2>conftest.er1
24643 ac_status=$?
24644 grep -v '^ *+' conftest.er1 >conftest.err
24645 rm -f conftest.er1
24646 cat conftest.err >&5
24647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24648 (exit $ac_status); } && {
24649 test -z "$ac_cxx_werror_flag" ||
24650 test ! -s conftest.err
24651 } && test -s conftest.$ac_objext; then
24652 wx_cv_class_stdstring=yes
24653 else
24654 echo "$as_me: failed program was:" >&5
24655 sed 's/^/| /' conftest.$ac_ext >&5
24656
24657 wx_cv_class_stdstring=no
24658
24659 fi
24660
24661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24662
24663
24664 fi
24665 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24666 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24667
24668 if test "$wx_cv_class_stdstring" = yes; then
24669 if test "$wxUSE_UNICODE" = "yes"; then
24670 cat >>confdefs.h <<\_ACEOF
24671 #define HAVE_STD_WSTRING 1
24672 _ACEOF
24673
24674 fi
24675 else
24676 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24677 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24678 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24679 echo $ECHO_N "(cached) $ECHO_C" >&6
24680 else
24681
24682 cat >conftest.$ac_ext <<_ACEOF
24683 /* confdefs.h. */
24684 _ACEOF
24685 cat confdefs.h >>conftest.$ac_ext
24686 cat >>conftest.$ac_ext <<_ACEOF
24687 /* end confdefs.h. */
24688
24689 #ifdef HAVE_WCHAR_H
24690 # ifdef __CYGWIN__
24691 # include <stddef.h>
24692 # endif
24693 # include <wchar.h>
24694 #endif
24695 #ifdef HAVE_STDLIB_H
24696 # include <stdlib.h>
24697 #endif
24698 #include <stdio.h>
24699 #include <string>
24700
24701 int
24702 main ()
24703 {
24704 std::basic_string<$char_type> foo;
24705 const $char_type* dummy = foo.c_str();
24706 ;
24707 return 0;
24708 }
24709 _ACEOF
24710 rm -f conftest.$ac_objext
24711 if { (ac_try="$ac_compile"
24712 case "(($ac_try" in
24713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24714 *) ac_try_echo=$ac_try;;
24715 esac
24716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24717 (eval "$ac_compile") 2>conftest.er1
24718 ac_status=$?
24719 grep -v '^ *+' conftest.er1 >conftest.err
24720 rm -f conftest.er1
24721 cat conftest.err >&5
24722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24723 (exit $ac_status); } && {
24724 test -z "$ac_cxx_werror_flag" ||
24725 test ! -s conftest.err
24726 } && test -s conftest.$ac_objext; then
24727 wx_cv_class_stdbasicstring=yes
24728 else
24729 echo "$as_me: failed program was:" >&5
24730 sed 's/^/| /' conftest.$ac_ext >&5
24731
24732 wx_cv_class_stdbasicstring=no
24733
24734 fi
24735
24736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24737
24738
24739 fi
24740 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24741 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24742
24743 if test "$wx_cv_class_stdbasicstring" != yes; then
24744 if test "$wxUSE_STL" = "yes"; then
24745 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24746 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24747 { (exit 1); exit 1; }; }
24748 elif test "$wxUSE_STD_STRING" = "yes"; then
24749 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24750 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24751 { (exit 1); exit 1; }; }
24752 else
24753 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24754 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24755 wxUSE_STD_STRING=no
24756 fi
24757 fi
24758 fi
24759 fi
24760
24761 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24762 { echo "$as_me:$LINENO: checking for std::istream" >&5
24763 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24764 if test "${ac_cv_type_std__istream+set}" = set; then
24765 echo $ECHO_N "(cached) $ECHO_C" >&6
24766 else
24767 cat >conftest.$ac_ext <<_ACEOF
24768 /* confdefs.h. */
24769 _ACEOF
24770 cat confdefs.h >>conftest.$ac_ext
24771 cat >>conftest.$ac_ext <<_ACEOF
24772 /* end confdefs.h. */
24773 #include <iostream>
24774
24775 typedef std::istream ac__type_new_;
24776 int
24777 main ()
24778 {
24779 if ((ac__type_new_ *) 0)
24780 return 0;
24781 if (sizeof (ac__type_new_))
24782 return 0;
24783 ;
24784 return 0;
24785 }
24786 _ACEOF
24787 rm -f conftest.$ac_objext
24788 if { (ac_try="$ac_compile"
24789 case "(($ac_try" in
24790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24791 *) ac_try_echo=$ac_try;;
24792 esac
24793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24794 (eval "$ac_compile") 2>conftest.er1
24795 ac_status=$?
24796 grep -v '^ *+' conftest.er1 >conftest.err
24797 rm -f conftest.er1
24798 cat conftest.err >&5
24799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800 (exit $ac_status); } && {
24801 test -z "$ac_cxx_werror_flag" ||
24802 test ! -s conftest.err
24803 } && test -s conftest.$ac_objext; then
24804 ac_cv_type_std__istream=yes
24805 else
24806 echo "$as_me: failed program was:" >&5
24807 sed 's/^/| /' conftest.$ac_ext >&5
24808
24809 ac_cv_type_std__istream=no
24810 fi
24811
24812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24813 fi
24814 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24815 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24816 if test $ac_cv_type_std__istream = yes; then
24817
24818 cat >>confdefs.h <<_ACEOF
24819 #define HAVE_STD__ISTREAM 1
24820 _ACEOF
24821
24822
24823 else
24824 wxUSE_STD_IOSTREAM=no
24825 fi
24826 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24827 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24828 if test "${ac_cv_type_std__ostream+set}" = set; then
24829 echo $ECHO_N "(cached) $ECHO_C" >&6
24830 else
24831 cat >conftest.$ac_ext <<_ACEOF
24832 /* confdefs.h. */
24833 _ACEOF
24834 cat confdefs.h >>conftest.$ac_ext
24835 cat >>conftest.$ac_ext <<_ACEOF
24836 /* end confdefs.h. */
24837 #include <iostream>
24838
24839 typedef std::ostream ac__type_new_;
24840 int
24841 main ()
24842 {
24843 if ((ac__type_new_ *) 0)
24844 return 0;
24845 if (sizeof (ac__type_new_))
24846 return 0;
24847 ;
24848 return 0;
24849 }
24850 _ACEOF
24851 rm -f conftest.$ac_objext
24852 if { (ac_try="$ac_compile"
24853 case "(($ac_try" in
24854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24855 *) ac_try_echo=$ac_try;;
24856 esac
24857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24858 (eval "$ac_compile") 2>conftest.er1
24859 ac_status=$?
24860 grep -v '^ *+' conftest.er1 >conftest.err
24861 rm -f conftest.er1
24862 cat conftest.err >&5
24863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24864 (exit $ac_status); } && {
24865 test -z "$ac_cxx_werror_flag" ||
24866 test ! -s conftest.err
24867 } && test -s conftest.$ac_objext; then
24868 ac_cv_type_std__ostream=yes
24869 else
24870 echo "$as_me: failed program was:" >&5
24871 sed 's/^/| /' conftest.$ac_ext >&5
24872
24873 ac_cv_type_std__ostream=no
24874 fi
24875
24876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24877 fi
24878 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24879 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24880 if test $ac_cv_type_std__ostream = yes; then
24881
24882 cat >>confdefs.h <<_ACEOF
24883 #define HAVE_STD__OSTREAM 1
24884 _ACEOF
24885
24886
24887 else
24888 wxUSE_STD_IOSTREAM=no
24889 fi
24890
24891
24892 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24893 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24894 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24895 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24896 { (exit 1); exit 1; }; }
24897 else
24898 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24899 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24900 fi
24901 fi
24902 fi
24903
24904 if test "$wxUSE_STL" = "yes"; then
24905 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24906 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24907 if test "${wx_cv_lib_stl+set}" = set; then
24908 echo $ECHO_N "(cached) $ECHO_C" >&6
24909 else
24910 cat >conftest.$ac_ext <<_ACEOF
24911 /* confdefs.h. */
24912 _ACEOF
24913 cat confdefs.h >>conftest.$ac_ext
24914 cat >>conftest.$ac_ext <<_ACEOF
24915 /* end confdefs.h. */
24916 #include <string>
24917 #include <functional>
24918 #include <algorithm>
24919 #include <vector>
24920 #include <list>
24921 int
24922 main ()
24923 {
24924 std::vector<int> moo;
24925 std::list<int> foo;
24926 std::vector<int>::iterator it =
24927 std::find_if(moo.begin(), moo.end(),
24928 std::bind2nd(std::less<int>(), 3));
24929 ;
24930 return 0;
24931 }
24932 _ACEOF
24933 rm -f conftest.$ac_objext
24934 if { (ac_try="$ac_compile"
24935 case "(($ac_try" in
24936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24937 *) ac_try_echo=$ac_try;;
24938 esac
24939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24940 (eval "$ac_compile") 2>conftest.er1
24941 ac_status=$?
24942 grep -v '^ *+' conftest.er1 >conftest.err
24943 rm -f conftest.er1
24944 cat conftest.err >&5
24945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946 (exit $ac_status); } && {
24947 test -z "$ac_cxx_werror_flag" ||
24948 test ! -s conftest.err
24949 } && test -s conftest.$ac_objext; then
24950 wx_cv_lib_stl=yes
24951 else
24952 echo "$as_me: failed program was:" >&5
24953 sed 's/^/| /' conftest.$ac_ext >&5
24954
24955 wx_cv_lib_stl=no
24956
24957 fi
24958
24959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24960
24961 fi
24962 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24963 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24964
24965 if test "$wx_cv_lib_stl" != yes; then
24966 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24967 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24968 { (exit 1); exit 1; }; }
24969 fi
24970
24971 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24972 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24973 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24974 echo $ECHO_N "(cached) $ECHO_C" >&6
24975 else
24976 cat >conftest.$ac_ext <<_ACEOF
24977 /* confdefs.h. */
24978 _ACEOF
24979 cat confdefs.h >>conftest.$ac_ext
24980 cat >>conftest.$ac_ext <<_ACEOF
24981 /* end confdefs.h. */
24982 #include <string>
24983 int
24984 main ()
24985 {
24986 std::string foo, bar;
24987 foo.compare(bar);
24988 foo.compare(1, 1, bar);
24989 foo.compare(1, 1, bar, 1, 1);
24990 foo.compare("");
24991 foo.compare(1, 1, "");
24992 foo.compare(1, 1, "", 2);
24993 ;
24994 return 0;
24995 }
24996 _ACEOF
24997 rm -f conftest.$ac_objext
24998 if { (ac_try="$ac_compile"
24999 case "(($ac_try" in
25000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25001 *) ac_try_echo=$ac_try;;
25002 esac
25003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25004 (eval "$ac_compile") 2>conftest.er1
25005 ac_status=$?
25006 grep -v '^ *+' conftest.er1 >conftest.err
25007 rm -f conftest.er1
25008 cat conftest.err >&5
25009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010 (exit $ac_status); } && {
25011 test -z "$ac_cxx_werror_flag" ||
25012 test ! -s conftest.err
25013 } && test -s conftest.$ac_objext; then
25014 wx_cv_func_stdstring_compare=yes
25015 else
25016 echo "$as_me: failed program was:" >&5
25017 sed 's/^/| /' conftest.$ac_ext >&5
25018
25019 wx_cv_func_stdstring_compare=no
25020
25021 fi
25022
25023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25024
25025 fi
25026 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25027 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25028
25029 if test "$wx_cv_func_stdstring_compare" = yes; then
25030 cat >>confdefs.h <<\_ACEOF
25031 #define HAVE_STD_STRING_COMPARE 1
25032 _ACEOF
25033
25034 fi
25035
25036 if test "$wx_cv_class_gnuhashmapset" = yes; then
25037 cat >>confdefs.h <<\_ACEOF
25038 #define HAVE_EXT_HASH_MAP 1
25039 _ACEOF
25040
25041 cat >>confdefs.h <<\_ACEOF
25042 #define HAVE_GNU_CXX_HASH_MAP 1
25043 _ACEOF
25044
25045 fi
25046
25047 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25048 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25049 if test "${ac_cv_header_unordered_map+set}" = set; then
25050 echo $ECHO_N "(cached) $ECHO_C" >&6
25051 else
25052 cat >conftest.$ac_ext <<_ACEOF
25053 /* confdefs.h. */
25054 _ACEOF
25055 cat confdefs.h >>conftest.$ac_ext
25056 cat >>conftest.$ac_ext <<_ACEOF
25057 /* end confdefs.h. */
25058
25059
25060
25061 #include <unordered_map>
25062 _ACEOF
25063 rm -f conftest.$ac_objext
25064 if { (ac_try="$ac_compile"
25065 case "(($ac_try" in
25066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25067 *) ac_try_echo=$ac_try;;
25068 esac
25069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25070 (eval "$ac_compile") 2>conftest.er1
25071 ac_status=$?
25072 grep -v '^ *+' conftest.er1 >conftest.err
25073 rm -f conftest.er1
25074 cat conftest.err >&5
25075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25076 (exit $ac_status); } && {
25077 test -z "$ac_cxx_werror_flag" ||
25078 test ! -s conftest.err
25079 } && test -s conftest.$ac_objext; then
25080 ac_cv_header_unordered_map=yes
25081 else
25082 echo "$as_me: failed program was:" >&5
25083 sed 's/^/| /' conftest.$ac_ext >&5
25084
25085 ac_cv_header_unordered_map=no
25086 fi
25087
25088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25089 fi
25090 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25091 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25092 if test $ac_cv_header_unordered_map = yes; then
25093 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25094 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25095 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25096 echo $ECHO_N "(cached) $ECHO_C" >&6
25097 else
25098 cat >conftest.$ac_ext <<_ACEOF
25099 /* confdefs.h. */
25100 _ACEOF
25101 cat confdefs.h >>conftest.$ac_ext
25102 cat >>conftest.$ac_ext <<_ACEOF
25103 /* end confdefs.h. */
25104 #include <unordered_map>
25105 #include <unordered_set>
25106 int
25107 main ()
25108 {
25109 std::unordered_map<double*, char*> test1;
25110 std::unordered_set<char*> test2;
25111 ;
25112 return 0;
25113 }
25114 _ACEOF
25115 rm -f conftest.$ac_objext
25116 if { (ac_try="$ac_compile"
25117 case "(($ac_try" in
25118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25119 *) ac_try_echo=$ac_try;;
25120 esac
25121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25122 (eval "$ac_compile") 2>conftest.er1
25123 ac_status=$?
25124 grep -v '^ *+' conftest.er1 >conftest.err
25125 rm -f conftest.er1
25126 cat conftest.err >&5
25127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25128 (exit $ac_status); } && {
25129 test -z "$ac_cxx_werror_flag" ||
25130 test ! -s conftest.err
25131 } && test -s conftest.$ac_objext; then
25132 wx_cv_class_stdunorderedmapset=yes
25133 else
25134 echo "$as_me: failed program was:" >&5
25135 sed 's/^/| /' conftest.$ac_ext >&5
25136
25137 wx_cv_class_stdunorderedmapset=no
25138 fi
25139
25140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25141
25142
25143 fi
25144 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25145 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25146 fi
25147
25148
25149
25150 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25151 cat >>confdefs.h <<\_ACEOF
25152 #define HAVE_STD_UNORDERED_MAP 1
25153 _ACEOF
25154
25155 cat >>confdefs.h <<\_ACEOF
25156 #define HAVE_STD_UNORDERED_SET 1
25157 _ACEOF
25158
25159 else
25160 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25161 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25162 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25163 echo $ECHO_N "(cached) $ECHO_C" >&6
25164 else
25165 cat >conftest.$ac_ext <<_ACEOF
25166 /* confdefs.h. */
25167 _ACEOF
25168 cat confdefs.h >>conftest.$ac_ext
25169 cat >>conftest.$ac_ext <<_ACEOF
25170 /* end confdefs.h. */
25171
25172
25173
25174 #include <tr1/unordered_map>
25175 _ACEOF
25176 rm -f conftest.$ac_objext
25177 if { (ac_try="$ac_compile"
25178 case "(($ac_try" in
25179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25180 *) ac_try_echo=$ac_try;;
25181 esac
25182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25183 (eval "$ac_compile") 2>conftest.er1
25184 ac_status=$?
25185 grep -v '^ *+' conftest.er1 >conftest.err
25186 rm -f conftest.er1
25187 cat conftest.err >&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); } && {
25190 test -z "$ac_cxx_werror_flag" ||
25191 test ! -s conftest.err
25192 } && test -s conftest.$ac_objext; then
25193 ac_cv_header_tr1_unordered_map=yes
25194 else
25195 echo "$as_me: failed program was:" >&5
25196 sed 's/^/| /' conftest.$ac_ext >&5
25197
25198 ac_cv_header_tr1_unordered_map=no
25199 fi
25200
25201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25202 fi
25203 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25204 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25205 if test $ac_cv_header_tr1_unordered_map = yes; then
25206 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25207 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25208 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25209 echo $ECHO_N "(cached) $ECHO_C" >&6
25210 else
25211 cat >conftest.$ac_ext <<_ACEOF
25212 /* confdefs.h. */
25213 _ACEOF
25214 cat confdefs.h >>conftest.$ac_ext
25215 cat >>conftest.$ac_ext <<_ACEOF
25216 /* end confdefs.h. */
25217 #include <tr1/unordered_map>
25218 #include <tr1/unordered_set>
25219 int
25220 main ()
25221 {
25222 std::tr1::unordered_map<double*, char*> test1;
25223 std::tr1::unordered_set<char*> test2;
25224 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25225 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25226 #endif
25227 ;
25228 return 0;
25229 }
25230 _ACEOF
25231 rm -f conftest.$ac_objext
25232 if { (ac_try="$ac_compile"
25233 case "(($ac_try" in
25234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25235 *) ac_try_echo=$ac_try;;
25236 esac
25237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25238 (eval "$ac_compile") 2>conftest.er1
25239 ac_status=$?
25240 grep -v '^ *+' conftest.er1 >conftest.err
25241 rm -f conftest.er1
25242 cat conftest.err >&5
25243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25244 (exit $ac_status); } && {
25245 test -z "$ac_cxx_werror_flag" ||
25246 test ! -s conftest.err
25247 } && test -s conftest.$ac_objext; then
25248 wx_cv_class_tr1unorderedmapset=yes
25249 else
25250 echo "$as_me: failed program was:" >&5
25251 sed 's/^/| /' conftest.$ac_ext >&5
25252
25253 wx_cv_class_tr1unorderedmapset=no
25254 fi
25255
25256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25257
25258
25259 fi
25260 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25261 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25262 fi
25263
25264
25265
25266 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25267 cat >>confdefs.h <<\_ACEOF
25268 #define HAVE_TR1_UNORDERED_MAP 1
25269 _ACEOF
25270
25271 cat >>confdefs.h <<\_ACEOF
25272 #define HAVE_TR1_UNORDERED_SET 1
25273 _ACEOF
25274
25275 else
25276 { echo "$as_me:$LINENO: checking for hash_map" >&5
25277 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25278 if test "${ac_cv_header_hash_map+set}" = set; then
25279 echo $ECHO_N "(cached) $ECHO_C" >&6
25280 else
25281 cat >conftest.$ac_ext <<_ACEOF
25282 /* confdefs.h. */
25283 _ACEOF
25284 cat confdefs.h >>conftest.$ac_ext
25285 cat >>conftest.$ac_ext <<_ACEOF
25286 /* end confdefs.h. */
25287
25288
25289
25290 #include <hash_map>
25291 _ACEOF
25292 rm -f conftest.$ac_objext
25293 if { (ac_try="$ac_compile"
25294 case "(($ac_try" in
25295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25296 *) ac_try_echo=$ac_try;;
25297 esac
25298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25299 (eval "$ac_compile") 2>conftest.er1
25300 ac_status=$?
25301 grep -v '^ *+' conftest.er1 >conftest.err
25302 rm -f conftest.er1
25303 cat conftest.err >&5
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); } && {
25306 test -z "$ac_cxx_werror_flag" ||
25307 test ! -s conftest.err
25308 } && test -s conftest.$ac_objext; then
25309 ac_cv_header_hash_map=yes
25310 else
25311 echo "$as_me: failed program was:" >&5
25312 sed 's/^/| /' conftest.$ac_ext >&5
25313
25314 ac_cv_header_hash_map=no
25315 fi
25316
25317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25318 fi
25319 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25320 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25321 if test $ac_cv_header_hash_map = yes; then
25322 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25323 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25324 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25325 echo $ECHO_N "(cached) $ECHO_C" >&6
25326 else
25327 cat >conftest.$ac_ext <<_ACEOF
25328 /* confdefs.h. */
25329 _ACEOF
25330 cat confdefs.h >>conftest.$ac_ext
25331 cat >>conftest.$ac_ext <<_ACEOF
25332 /* end confdefs.h. */
25333 #include <hash_map>
25334 #include <hash_set>
25335 int
25336 main ()
25337 {
25338 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25339 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25340 ;
25341 return 0;
25342 }
25343 _ACEOF
25344 rm -f conftest.$ac_objext
25345 if { (ac_try="$ac_compile"
25346 case "(($ac_try" in
25347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25348 *) ac_try_echo=$ac_try;;
25349 esac
25350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25351 (eval "$ac_compile") 2>conftest.er1
25352 ac_status=$?
25353 grep -v '^ *+' conftest.er1 >conftest.err
25354 rm -f conftest.er1
25355 cat conftest.err >&5
25356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25357 (exit $ac_status); } && {
25358 test -z "$ac_cxx_werror_flag" ||
25359 test ! -s conftest.err
25360 } && test -s conftest.$ac_objext; then
25361 wx_cv_class_stdhashmapset=yes
25362 else
25363 echo "$as_me: failed program was:" >&5
25364 sed 's/^/| /' conftest.$ac_ext >&5
25365
25366 wx_cv_class_stdhashmapset=no
25367 fi
25368
25369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25370
25371
25372 fi
25373 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25374 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25375 fi
25376
25377
25378
25379 if test "$wx_cv_class_stdhashmapset" = yes; then
25380 cat >>confdefs.h <<\_ACEOF
25381 #define HAVE_HASH_MAP 1
25382 _ACEOF
25383
25384 cat >>confdefs.h <<\_ACEOF
25385 #define HAVE_STD_HASH_MAP 1
25386 _ACEOF
25387
25388 fi
25389
25390 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25391 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25392 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25393 echo $ECHO_N "(cached) $ECHO_C" >&6
25394 else
25395 cat >conftest.$ac_ext <<_ACEOF
25396 /* confdefs.h. */
25397 _ACEOF
25398 cat confdefs.h >>conftest.$ac_ext
25399 cat >>conftest.$ac_ext <<_ACEOF
25400 /* end confdefs.h. */
25401
25402
25403
25404 #include <ext/hash_map>
25405 _ACEOF
25406 rm -f conftest.$ac_objext
25407 if { (ac_try="$ac_compile"
25408 case "(($ac_try" in
25409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25410 *) ac_try_echo=$ac_try;;
25411 esac
25412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25413 (eval "$ac_compile") 2>conftest.er1
25414 ac_status=$?
25415 grep -v '^ *+' conftest.er1 >conftest.err
25416 rm -f conftest.er1
25417 cat conftest.err >&5
25418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25419 (exit $ac_status); } && {
25420 test -z "$ac_cxx_werror_flag" ||
25421 test ! -s conftest.err
25422 } && test -s conftest.$ac_objext; then
25423 ac_cv_header_ext_hash_map=yes
25424 else
25425 echo "$as_me: failed program was:" >&5
25426 sed 's/^/| /' conftest.$ac_ext >&5
25427
25428 ac_cv_header_ext_hash_map=no
25429 fi
25430
25431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25432 fi
25433 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25434 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25435 if test $ac_cv_header_ext_hash_map = yes; then
25436 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25437 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25438 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25439 echo $ECHO_N "(cached) $ECHO_C" >&6
25440 else
25441 cat >conftest.$ac_ext <<_ACEOF
25442 /* confdefs.h. */
25443 _ACEOF
25444 cat confdefs.h >>conftest.$ac_ext
25445 cat >>conftest.$ac_ext <<_ACEOF
25446 /* end confdefs.h. */
25447 #include <ext/hash_map>
25448 #include <ext/hash_set>
25449 int
25450 main ()
25451 {
25452 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25453 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25454 ;
25455 return 0;
25456 }
25457 _ACEOF
25458 rm -f conftest.$ac_objext
25459 if { (ac_try="$ac_compile"
25460 case "(($ac_try" in
25461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25462 *) ac_try_echo=$ac_try;;
25463 esac
25464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25465 (eval "$ac_compile") 2>conftest.er1
25466 ac_status=$?
25467 grep -v '^ *+' conftest.er1 >conftest.err
25468 rm -f conftest.er1
25469 cat conftest.err >&5
25470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25471 (exit $ac_status); } && {
25472 test -z "$ac_cxx_werror_flag" ||
25473 test ! -s conftest.err
25474 } && test -s conftest.$ac_objext; then
25475 wx_cv_class_gnuhashmapset=yes
25476 else
25477 echo "$as_me: failed program was:" >&5
25478 sed 's/^/| /' conftest.$ac_ext >&5
25479
25480 wx_cv_class_gnuhashmapset=no
25481 fi
25482
25483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25484
25485
25486 fi
25487 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25488 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25489 fi
25490
25491
25492
25493 fi
25494 fi
25495 fi
25496
25497
25498
25499 if test -n "$GCC"; then
25500 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25501 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25502 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25503 echo $ECHO_N "(cached) $ECHO_C" >&6
25504 else
25505
25506 cat >conftest.$ac_ext <<_ACEOF
25507 /* confdefs.h. */
25508 _ACEOF
25509 cat confdefs.h >>conftest.$ac_ext
25510 cat >>conftest.$ac_ext <<_ACEOF
25511 /* end confdefs.h. */
25512
25513 int
25514 main ()
25515 {
25516
25517 unsigned int value=0;
25518 /* wxAtomicInc doesn't use return value here */
25519 __sync_fetch_and_add(&value, 2);
25520 __sync_sub_and_fetch(&value, 1);
25521 /* but wxAtomicDec does, so mimic that: */
25522 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25523
25524 ;
25525 return 0;
25526 }
25527 _ACEOF
25528 rm -f conftest.$ac_objext conftest$ac_exeext
25529 if { (ac_try="$ac_link"
25530 case "(($ac_try" in
25531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25532 *) ac_try_echo=$ac_try;;
25533 esac
25534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25535 (eval "$ac_link") 2>conftest.er1
25536 ac_status=$?
25537 grep -v '^ *+' conftest.er1 >conftest.err
25538 rm -f conftest.er1
25539 cat conftest.err >&5
25540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25541 (exit $ac_status); } && {
25542 test -z "$ac_cxx_werror_flag" ||
25543 test ! -s conftest.err
25544 } && test -s conftest$ac_exeext &&
25545 $as_test_x conftest$ac_exeext; then
25546 wx_cv_cc_gcc_atomic_builtins=yes
25547 else
25548 echo "$as_me: failed program was:" >&5
25549 sed 's/^/| /' conftest.$ac_ext >&5
25550
25551 wx_cv_cc_gcc_atomic_builtins=no
25552 fi
25553
25554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25555 conftest$ac_exeext conftest.$ac_ext
25556
25557 fi
25558
25559 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25560 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25561 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25562 cat >>confdefs.h <<\_ACEOF
25563 #define HAVE_GCC_ATOMIC_BUILTINS 1
25564 _ACEOF
25565
25566 fi
25567 fi
25568
25569
25570 ac_ext=c
25571 ac_cpp='$CPP $CPPFLAGS'
25572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25575
25576
25577
25578 SEARCH_INCLUDE="\
25579 /usr/local/include \
25580 /usr/local/X11/include \
25581 /usr/local/include/X11 \
25582 /usr/local/X11R7/include \
25583 /usr/local/X11R6/include \
25584 /usr/local/include/X11R7 \
25585 /usr/local/include/X11R6 \
25586 \
25587 /usr/Motif-2.1/include \
25588 /usr/Motif-1.2/include \
25589 /usr/include/Motif1.2 \
25590 \
25591 /usr/dt/include \
25592 /usr/openwin/include \
25593 \
25594 /usr/include/Xm \
25595 \
25596 /usr/X11R7/include \
25597 /usr/X11R6/include \
25598 /usr/X11R6.4/include \
25599 \
25600 /usr/include/X11R7 \
25601 /usr/include/X11R6 \
25602 \
25603 /usr/X11/include \
25604 /usr/include/X11 \
25605 \
25606 /usr/XFree86/include/X11 \
25607 /usr/pkg/include \
25608 \
25609 /usr/local/X1R5/include \
25610 /usr/local/include/X11R5 \
25611 /usr/X11R5/include \
25612 /usr/include/X11R5 \
25613 \
25614 /usr/local/X11R4/include \
25615 /usr/local/include/X11R4 \
25616 /usr/X11R4/include \
25617 /usr/include/X11R4 \
25618 \
25619 /usr/openwin/share/include"
25620
25621 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25622 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25623
25624 case "${host}" in
25625 *-*-irix6* )
25626 if test "${wx_cv_std_libpath+set}" = set; then
25627 echo $ECHO_N "(cached) $ECHO_C" >&6
25628 else
25629
25630 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25631 for e in a so sl dylib dll.a; do
25632 libc="$d/libc.$e"
25633 if test -f $libc; then
25634 save_LIBS="$LIBS"
25635 LIBS="$libc"
25636 cat >conftest.$ac_ext <<_ACEOF
25637 int main() { return 0; }
25638 _ACEOF
25639 rm -f conftest.$ac_objext conftest$ac_exeext
25640 if { (ac_try="$ac_link"
25641 case "(($ac_try" in
25642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25643 *) ac_try_echo=$ac_try;;
25644 esac
25645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25646 (eval "$ac_link") 2>conftest.er1
25647 ac_status=$?
25648 grep -v '^ *+' conftest.er1 >conftest.err
25649 rm -f conftest.er1
25650 cat conftest.err >&5
25651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25652 (exit $ac_status); } && {
25653 test -z "$ac_c_werror_flag" ||
25654 test ! -s conftest.err
25655 } && test -s conftest$ac_exeext &&
25656 $as_test_x conftest$ac_exeext; then
25657 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25658 else
25659 echo "$as_me: failed program was:" >&5
25660 sed 's/^/| /' conftest.$ac_ext >&5
25661
25662
25663 fi
25664
25665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25666 conftest$ac_exeext conftest.$ac_ext
25667 LIBS="$save_LIBS"
25668 if test "x$wx_cv_std_libpath" != "x"; then
25669 break 2
25670 fi
25671 fi
25672 done
25673 done
25674 if test "x$wx_cv_std_libpath" = "x"; then
25675 wx_cv_std_libpath="lib"
25676 fi
25677
25678
25679 fi
25680
25681 ;;
25682
25683 *-*-solaris2* )
25684 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25685 wx_cv_std_libpath="lib/64"
25686 else
25687 wx_cv_std_libpath="lib"
25688 fi
25689 ;;
25690
25691 *-*-linux* )
25692 if test "$ac_cv_sizeof_void_p" = 8 -a \
25693 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25694 wx_cv_std_libpath="lib64"
25695 else
25696 wx_cv_std_libpath="lib"
25697 fi
25698 ;;
25699
25700 *)
25701 wx_cv_std_libpath="lib";
25702 ;;
25703 esac
25704
25705 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25706 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25707
25708 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25709
25710 if test "$build" != "$host" -a "$GCC" = yes; then
25711 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25712 cross_root=`dirname $cross_root`
25713 cross_root=`dirname $cross_root`
25714
25715 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25716 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25717 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25718
25719 if test -z "$PKG_CONFIG_PATH"; then
25720 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25721 export PKG_CONFIG_PATH
25722 fi
25723
25724 if test -z "$x_includes" -o "$x_includes" = NONE; then
25725
25726 ac_find_includes=
25727 for ac_dir in $SEARCH_INCLUDE /usr/include;
25728 do
25729 if test -f "$ac_dir/X11/Intrinsic.h"; then
25730 ac_find_includes=$ac_dir
25731 break
25732 fi
25733 done
25734
25735 x_includes=$ac_find_includes
25736 fi
25737 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25738
25739 ac_find_libraries=
25740 for ac_dir in $SEARCH_LIB;
25741 do
25742 for ac_extension in a so sl dylib dll.a; do
25743 if test -f "$ac_dir/libXt.$ac_extension"; then
25744 ac_find_libraries=$ac_dir
25745 break 2
25746 fi
25747 done
25748 done
25749
25750 x_libraries=$ac_find_libraries
25751 fi
25752 fi
25753 fi
25754
25755
25756 cat >confcache <<\_ACEOF
25757 # This file is a shell script that caches the results of configure
25758 # tests run on this system so they can be shared between configure
25759 # scripts and configure runs, see configure's option --config-cache.
25760 # It is not useful on other systems. If it contains results you don't
25761 # want to keep, you may remove or edit it.
25762 #
25763 # config.status only pays attention to the cache file if you give it
25764 # the --recheck option to rerun configure.
25765 #
25766 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25767 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25768 # following values.
25769
25770 _ACEOF
25771
25772 # The following way of writing the cache mishandles newlines in values,
25773 # but we know of no workaround that is simple, portable, and efficient.
25774 # So, we kill variables containing newlines.
25775 # Ultrix sh set writes to stderr and can't be redirected directly,
25776 # and sets the high bit in the cache file unless we assign to the vars.
25777 (
25778 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25779 eval ac_val=\$$ac_var
25780 case $ac_val in #(
25781 *${as_nl}*)
25782 case $ac_var in #(
25783 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25784 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25785 esac
25786 case $ac_var in #(
25787 _ | IFS | as_nl) ;; #(
25788 *) $as_unset $ac_var ;;
25789 esac ;;
25790 esac
25791 done
25792
25793 (set) 2>&1 |
25794 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25795 *${as_nl}ac_space=\ *)
25796 # `set' does not quote correctly, so add quotes (double-quote
25797 # substitution turns \\\\ into \\, and sed turns \\ into \).
25798 sed -n \
25799 "s/'/'\\\\''/g;
25800 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25801 ;; #(
25802 *)
25803 # `set' quotes correctly as required by POSIX, so do not add quotes.
25804 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25805 ;;
25806 esac |
25807 sort
25808 ) |
25809 sed '
25810 /^ac_cv_env_/b end
25811 t clear
25812 :clear
25813 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25814 t end
25815 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25816 :end' >>confcache
25817 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25818 if test -w "$cache_file"; then
25819 test "x$cache_file" != "x/dev/null" &&
25820 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25821 echo "$as_me: updating cache $cache_file" >&6;}
25822 cat confcache >$cache_file
25823 else
25824 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25825 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25826 fi
25827 fi
25828 rm -f confcache
25829
25830 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25831 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25832 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25833 if test "${wx_cv_lib_glibc21+set}" = set; then
25834 echo $ECHO_N "(cached) $ECHO_C" >&6
25835 else
25836
25837 cat >conftest.$ac_ext <<_ACEOF
25838 /* confdefs.h. */
25839 _ACEOF
25840 cat confdefs.h >>conftest.$ac_ext
25841 cat >>conftest.$ac_ext <<_ACEOF
25842 /* end confdefs.h. */
25843 #include <features.h>
25844 int
25845 main ()
25846 {
25847
25848 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25849 not glibc 2.1
25850 #endif
25851
25852 ;
25853 return 0;
25854 }
25855 _ACEOF
25856 rm -f conftest.$ac_objext
25857 if { (ac_try="$ac_compile"
25858 case "(($ac_try" in
25859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25860 *) ac_try_echo=$ac_try;;
25861 esac
25862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25863 (eval "$ac_compile") 2>conftest.er1
25864 ac_status=$?
25865 grep -v '^ *+' conftest.er1 >conftest.err
25866 rm -f conftest.er1
25867 cat conftest.err >&5
25868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869 (exit $ac_status); } && {
25870 test -z "$ac_c_werror_flag" ||
25871 test ! -s conftest.err
25872 } && test -s conftest.$ac_objext; then
25873
25874 wx_cv_lib_glibc21=yes
25875
25876 else
25877 echo "$as_me: failed program was:" >&5
25878 sed 's/^/| /' conftest.$ac_ext >&5
25879
25880
25881 wx_cv_lib_glibc21=no
25882
25883
25884 fi
25885
25886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25887
25888 fi
25889 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25890 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25891 if test "$wx_cv_lib_glibc21" = "yes"; then
25892 cat >>confdefs.h <<\_ACEOF
25893 #define wxHAVE_GLIBC2 1
25894 _ACEOF
25895
25896 fi
25897 fi
25898
25899 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25900 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25901 cat >>confdefs.h <<\_ACEOF
25902 #define _GNU_SOURCE 1
25903 _ACEOF
25904
25905 fi
25906 fi
25907
25908 have_cos=0
25909 have_floor=0
25910
25911 for ac_func in cos
25912 do
25913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25914 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25916 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25917 echo $ECHO_N "(cached) $ECHO_C" >&6
25918 else
25919 cat >conftest.$ac_ext <<_ACEOF
25920 /* confdefs.h. */
25921 _ACEOF
25922 cat confdefs.h >>conftest.$ac_ext
25923 cat >>conftest.$ac_ext <<_ACEOF
25924 /* end confdefs.h. */
25925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25927 #define $ac_func innocuous_$ac_func
25928
25929 /* System header to define __stub macros and hopefully few prototypes,
25930 which can conflict with char $ac_func (); below.
25931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25932 <limits.h> exists even on freestanding compilers. */
25933
25934 #ifdef __STDC__
25935 # include <limits.h>
25936 #else
25937 # include <assert.h>
25938 #endif
25939
25940 #undef $ac_func
25941
25942 /* Override any GCC internal prototype to avoid an error.
25943 Use char because int might match the return type of a GCC
25944 builtin and then its argument prototype would still apply. */
25945 #ifdef __cplusplus
25946 extern "C"
25947 #endif
25948 char $ac_func ();
25949 /* The GNU C library defines this for functions which it implements
25950 to always fail with ENOSYS. Some functions are actually named
25951 something starting with __ and the normal name is an alias. */
25952 #if defined __stub_$ac_func || defined __stub___$ac_func
25953 choke me
25954 #endif
25955
25956 int
25957 main ()
25958 {
25959 return $ac_func ();
25960 ;
25961 return 0;
25962 }
25963 _ACEOF
25964 rm -f conftest.$ac_objext conftest$ac_exeext
25965 if { (ac_try="$ac_link"
25966 case "(($ac_try" in
25967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25968 *) ac_try_echo=$ac_try;;
25969 esac
25970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25971 (eval "$ac_link") 2>conftest.er1
25972 ac_status=$?
25973 grep -v '^ *+' conftest.er1 >conftest.err
25974 rm -f conftest.er1
25975 cat conftest.err >&5
25976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25977 (exit $ac_status); } && {
25978 test -z "$ac_c_werror_flag" ||
25979 test ! -s conftest.err
25980 } && test -s conftest$ac_exeext &&
25981 $as_test_x conftest$ac_exeext; then
25982 eval "$as_ac_var=yes"
25983 else
25984 echo "$as_me: failed program was:" >&5
25985 sed 's/^/| /' conftest.$ac_ext >&5
25986
25987 eval "$as_ac_var=no"
25988 fi
25989
25990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25991 conftest$ac_exeext conftest.$ac_ext
25992 fi
25993 ac_res=`eval echo '${'$as_ac_var'}'`
25994 { echo "$as_me:$LINENO: result: $ac_res" >&5
25995 echo "${ECHO_T}$ac_res" >&6; }
25996 if test `eval echo '${'$as_ac_var'}'` = yes; then
25997 cat >>confdefs.h <<_ACEOF
25998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25999 _ACEOF
26000 have_cos=1
26001 fi
26002 done
26003
26004
26005 for ac_func in floor
26006 do
26007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26008 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26010 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26011 echo $ECHO_N "(cached) $ECHO_C" >&6
26012 else
26013 cat >conftest.$ac_ext <<_ACEOF
26014 /* confdefs.h. */
26015 _ACEOF
26016 cat confdefs.h >>conftest.$ac_ext
26017 cat >>conftest.$ac_ext <<_ACEOF
26018 /* end confdefs.h. */
26019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26021 #define $ac_func innocuous_$ac_func
26022
26023 /* System header to define __stub macros and hopefully few prototypes,
26024 which can conflict with char $ac_func (); below.
26025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26026 <limits.h> exists even on freestanding compilers. */
26027
26028 #ifdef __STDC__
26029 # include <limits.h>
26030 #else
26031 # include <assert.h>
26032 #endif
26033
26034 #undef $ac_func
26035
26036 /* Override any GCC internal prototype to avoid an error.
26037 Use char because int might match the return type of a GCC
26038 builtin and then its argument prototype would still apply. */
26039 #ifdef __cplusplus
26040 extern "C"
26041 #endif
26042 char $ac_func ();
26043 /* The GNU C library defines this for functions which it implements
26044 to always fail with ENOSYS. Some functions are actually named
26045 something starting with __ and the normal name is an alias. */
26046 #if defined __stub_$ac_func || defined __stub___$ac_func
26047 choke me
26048 #endif
26049
26050 int
26051 main ()
26052 {
26053 return $ac_func ();
26054 ;
26055 return 0;
26056 }
26057 _ACEOF
26058 rm -f conftest.$ac_objext conftest$ac_exeext
26059 if { (ac_try="$ac_link"
26060 case "(($ac_try" in
26061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26062 *) ac_try_echo=$ac_try;;
26063 esac
26064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26065 (eval "$ac_link") 2>conftest.er1
26066 ac_status=$?
26067 grep -v '^ *+' conftest.er1 >conftest.err
26068 rm -f conftest.er1
26069 cat conftest.err >&5
26070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26071 (exit $ac_status); } && {
26072 test -z "$ac_c_werror_flag" ||
26073 test ! -s conftest.err
26074 } && test -s conftest$ac_exeext &&
26075 $as_test_x conftest$ac_exeext; then
26076 eval "$as_ac_var=yes"
26077 else
26078 echo "$as_me: failed program was:" >&5
26079 sed 's/^/| /' conftest.$ac_ext >&5
26080
26081 eval "$as_ac_var=no"
26082 fi
26083
26084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26085 conftest$ac_exeext conftest.$ac_ext
26086 fi
26087 ac_res=`eval echo '${'$as_ac_var'}'`
26088 { echo "$as_me:$LINENO: result: $ac_res" >&5
26089 echo "${ECHO_T}$ac_res" >&6; }
26090 if test `eval echo '${'$as_ac_var'}'` = yes; then
26091 cat >>confdefs.h <<_ACEOF
26092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26093 _ACEOF
26094 have_floor=1
26095 fi
26096 done
26097
26098 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26099 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26100 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26101 { echo "$as_me:$LINENO: result: yes" >&5
26102 echo "${ECHO_T}yes" >&6; }
26103 else
26104 { echo "$as_me:$LINENO: result: no" >&5
26105 echo "${ECHO_T}no" >&6; }
26106 LIBS="$LIBS -lm"
26107 # use different functions to avoid configure caching
26108 have_sin=0
26109 have_ceil=0
26110
26111 for ac_func in sin
26112 do
26113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26114 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26116 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26117 echo $ECHO_N "(cached) $ECHO_C" >&6
26118 else
26119 cat >conftest.$ac_ext <<_ACEOF
26120 /* confdefs.h. */
26121 _ACEOF
26122 cat confdefs.h >>conftest.$ac_ext
26123 cat >>conftest.$ac_ext <<_ACEOF
26124 /* end confdefs.h. */
26125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26127 #define $ac_func innocuous_$ac_func
26128
26129 /* System header to define __stub macros and hopefully few prototypes,
26130 which can conflict with char $ac_func (); below.
26131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26132 <limits.h> exists even on freestanding compilers. */
26133
26134 #ifdef __STDC__
26135 # include <limits.h>
26136 #else
26137 # include <assert.h>
26138 #endif
26139
26140 #undef $ac_func
26141
26142 /* Override any GCC internal prototype to avoid an error.
26143 Use char because int might match the return type of a GCC
26144 builtin and then its argument prototype would still apply. */
26145 #ifdef __cplusplus
26146 extern "C"
26147 #endif
26148 char $ac_func ();
26149 /* The GNU C library defines this for functions which it implements
26150 to always fail with ENOSYS. Some functions are actually named
26151 something starting with __ and the normal name is an alias. */
26152 #if defined __stub_$ac_func || defined __stub___$ac_func
26153 choke me
26154 #endif
26155
26156 int
26157 main ()
26158 {
26159 return $ac_func ();
26160 ;
26161 return 0;
26162 }
26163 _ACEOF
26164 rm -f conftest.$ac_objext conftest$ac_exeext
26165 if { (ac_try="$ac_link"
26166 case "(($ac_try" in
26167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26168 *) ac_try_echo=$ac_try;;
26169 esac
26170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26171 (eval "$ac_link") 2>conftest.er1
26172 ac_status=$?
26173 grep -v '^ *+' conftest.er1 >conftest.err
26174 rm -f conftest.er1
26175 cat conftest.err >&5
26176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26177 (exit $ac_status); } && {
26178 test -z "$ac_c_werror_flag" ||
26179 test ! -s conftest.err
26180 } && test -s conftest$ac_exeext &&
26181 $as_test_x conftest$ac_exeext; then
26182 eval "$as_ac_var=yes"
26183 else
26184 echo "$as_me: failed program was:" >&5
26185 sed 's/^/| /' conftest.$ac_ext >&5
26186
26187 eval "$as_ac_var=no"
26188 fi
26189
26190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26191 conftest$ac_exeext conftest.$ac_ext
26192 fi
26193 ac_res=`eval echo '${'$as_ac_var'}'`
26194 { echo "$as_me:$LINENO: result: $ac_res" >&5
26195 echo "${ECHO_T}$ac_res" >&6; }
26196 if test `eval echo '${'$as_ac_var'}'` = yes; then
26197 cat >>confdefs.h <<_ACEOF
26198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26199 _ACEOF
26200 have_sin=1
26201 fi
26202 done
26203
26204
26205 for ac_func in ceil
26206 do
26207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26208 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26210 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26211 echo $ECHO_N "(cached) $ECHO_C" >&6
26212 else
26213 cat >conftest.$ac_ext <<_ACEOF
26214 /* confdefs.h. */
26215 _ACEOF
26216 cat confdefs.h >>conftest.$ac_ext
26217 cat >>conftest.$ac_ext <<_ACEOF
26218 /* end confdefs.h. */
26219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26221 #define $ac_func innocuous_$ac_func
26222
26223 /* System header to define __stub macros and hopefully few prototypes,
26224 which can conflict with char $ac_func (); below.
26225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26226 <limits.h> exists even on freestanding compilers. */
26227
26228 #ifdef __STDC__
26229 # include <limits.h>
26230 #else
26231 # include <assert.h>
26232 #endif
26233
26234 #undef $ac_func
26235
26236 /* Override any GCC internal prototype to avoid an error.
26237 Use char because int might match the return type of a GCC
26238 builtin and then its argument prototype would still apply. */
26239 #ifdef __cplusplus
26240 extern "C"
26241 #endif
26242 char $ac_func ();
26243 /* The GNU C library defines this for functions which it implements
26244 to always fail with ENOSYS. Some functions are actually named
26245 something starting with __ and the normal name is an alias. */
26246 #if defined __stub_$ac_func || defined __stub___$ac_func
26247 choke me
26248 #endif
26249
26250 int
26251 main ()
26252 {
26253 return $ac_func ();
26254 ;
26255 return 0;
26256 }
26257 _ACEOF
26258 rm -f conftest.$ac_objext conftest$ac_exeext
26259 if { (ac_try="$ac_link"
26260 case "(($ac_try" in
26261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26262 *) ac_try_echo=$ac_try;;
26263 esac
26264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26265 (eval "$ac_link") 2>conftest.er1
26266 ac_status=$?
26267 grep -v '^ *+' conftest.er1 >conftest.err
26268 rm -f conftest.er1
26269 cat conftest.err >&5
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); } && {
26272 test -z "$ac_c_werror_flag" ||
26273 test ! -s conftest.err
26274 } && test -s conftest$ac_exeext &&
26275 $as_test_x conftest$ac_exeext; then
26276 eval "$as_ac_var=yes"
26277 else
26278 echo "$as_me: failed program was:" >&5
26279 sed 's/^/| /' conftest.$ac_ext >&5
26280
26281 eval "$as_ac_var=no"
26282 fi
26283
26284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26285 conftest$ac_exeext conftest.$ac_ext
26286 fi
26287 ac_res=`eval echo '${'$as_ac_var'}'`
26288 { echo "$as_me:$LINENO: result: $ac_res" >&5
26289 echo "${ECHO_T}$ac_res" >&6; }
26290 if test `eval echo '${'$as_ac_var'}'` = yes; then
26291 cat >>confdefs.h <<_ACEOF
26292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26293 _ACEOF
26294 have_ceil=1
26295 fi
26296 done
26297
26298 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26299 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26300 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26301 { echo "$as_me:$LINENO: result: yes" >&5
26302 echo "${ECHO_T}yes" >&6; }
26303 else
26304 { echo "$as_me:$LINENO: result: no" >&5
26305 echo "${ECHO_T}no" >&6; }
26306 # not sure we should warn the user, crash, etc.
26307 fi
26308 fi
26309
26310 ac_ext=cpp
26311 ac_cpp='$CXXCPP $CPPFLAGS'
26312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26315
26316 if test "wxUSE_UNICODE" = "yes"; then
26317
26318 for wx_func in wcstoull
26319 do
26320 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26321 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26322 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26323 echo $ECHO_N "(cached) $ECHO_C" >&6
26324 else
26325
26326 cat >conftest.$ac_ext <<_ACEOF
26327
26328 /* confdefs.h. */
26329 _ACEOF
26330 cat confdefs.h >>conftest.$ac_ext
26331 cat >>conftest.$ac_ext <<_ACEOF
26332 /* end confdefs.h. */
26333
26334
26335 $ac_includes_default
26336
26337 int
26338 main ()
26339 {
26340
26341 #ifndef $wx_func
26342 &$wx_func;
26343 #endif
26344
26345
26346 ;
26347 return 0;
26348 }
26349
26350 _ACEOF
26351 rm -f conftest.$ac_objext conftest$ac_exeext
26352 if { (ac_try="$ac_link"
26353 case "(($ac_try" in
26354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26355 *) ac_try_echo=$ac_try;;
26356 esac
26357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26358 (eval "$ac_link") 2>conftest.er1
26359 ac_status=$?
26360 grep -v '^ *+' conftest.er1 >conftest.err
26361 rm -f conftest.er1
26362 cat conftest.err >&5
26363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26364 (exit $ac_status); } && {
26365 test -z "$ac_cxx_werror_flag" ||
26366 test ! -s conftest.err
26367 } && test -s conftest$ac_exeext &&
26368 $as_test_x conftest$ac_exeext; then
26369 eval wx_cv_func_$wx_func=yes
26370 else
26371 echo "$as_me: failed program was:" >&5
26372 sed 's/^/| /' conftest.$ac_ext >&5
26373
26374 eval wx_cv_func_$wx_func=no
26375 fi
26376
26377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26378 conftest$ac_exeext conftest.$ac_ext
26379
26380 fi
26381 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26382 { echo "$as_me:$LINENO: result: $ac_res" >&5
26383 echo "${ECHO_T}$ac_res" >&6; }
26384
26385 if eval test \$wx_cv_func_$wx_func = yes
26386 then
26387 cat >>confdefs.h <<_ACEOF
26388 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26389 _ACEOF
26390
26391
26392 else
26393 :
26394
26395 fi
26396 done
26397
26398 else
26399
26400 for wx_func in strtoull
26401 do
26402 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26403 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26404 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26405 echo $ECHO_N "(cached) $ECHO_C" >&6
26406 else
26407
26408 cat >conftest.$ac_ext <<_ACEOF
26409
26410 /* confdefs.h. */
26411 _ACEOF
26412 cat confdefs.h >>conftest.$ac_ext
26413 cat >>conftest.$ac_ext <<_ACEOF
26414 /* end confdefs.h. */
26415
26416
26417 $ac_includes_default
26418
26419 int
26420 main ()
26421 {
26422
26423 #ifndef $wx_func
26424 &$wx_func;
26425 #endif
26426
26427
26428 ;
26429 return 0;
26430 }
26431
26432 _ACEOF
26433 rm -f conftest.$ac_objext conftest$ac_exeext
26434 if { (ac_try="$ac_link"
26435 case "(($ac_try" in
26436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26437 *) ac_try_echo=$ac_try;;
26438 esac
26439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26440 (eval "$ac_link") 2>conftest.er1
26441 ac_status=$?
26442 grep -v '^ *+' conftest.er1 >conftest.err
26443 rm -f conftest.er1
26444 cat conftest.err >&5
26445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26446 (exit $ac_status); } && {
26447 test -z "$ac_cxx_werror_flag" ||
26448 test ! -s conftest.err
26449 } && test -s conftest$ac_exeext &&
26450 $as_test_x conftest$ac_exeext; then
26451 eval wx_cv_func_$wx_func=yes
26452 else
26453 echo "$as_me: failed program was:" >&5
26454 sed 's/^/| /' conftest.$ac_ext >&5
26455
26456 eval wx_cv_func_$wx_func=no
26457 fi
26458
26459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26460 conftest$ac_exeext conftest.$ac_ext
26461
26462 fi
26463 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26464 { echo "$as_me:$LINENO: result: $ac_res" >&5
26465 echo "${ECHO_T}$ac_res" >&6; }
26466
26467 if eval test \$wx_cv_func_$wx_func = yes
26468 then
26469 cat >>confdefs.h <<_ACEOF
26470 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26471 _ACEOF
26472
26473
26474 else
26475 :
26476
26477 fi
26478 done
26479
26480 fi
26481 ac_ext=c
26482 ac_cpp='$CPP $CPPFLAGS'
26483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26486
26487
26488
26489
26490 if test "$wxUSE_REGEX" != "no"; then
26491 cat >>confdefs.h <<\_ACEOF
26492 #define wxUSE_REGEX 1
26493 _ACEOF
26494
26495
26496 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26497 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26498 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26499 wxUSE_REGEX=builtin
26500 fi
26501
26502 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26503 { echo "$as_me:$LINENO: checking for regex.h" >&5
26504 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26505 if test "${ac_cv_header_regex_h+set}" = set; then
26506 echo $ECHO_N "(cached) $ECHO_C" >&6
26507 else
26508 cat >conftest.$ac_ext <<_ACEOF
26509 /* confdefs.h. */
26510 _ACEOF
26511 cat confdefs.h >>conftest.$ac_ext
26512 cat >>conftest.$ac_ext <<_ACEOF
26513 /* end confdefs.h. */
26514
26515
26516 #include <regex.h>
26517 _ACEOF
26518 rm -f conftest.$ac_objext
26519 if { (ac_try="$ac_compile"
26520 case "(($ac_try" in
26521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26522 *) ac_try_echo=$ac_try;;
26523 esac
26524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26525 (eval "$ac_compile") 2>conftest.er1
26526 ac_status=$?
26527 grep -v '^ *+' conftest.er1 >conftest.err
26528 rm -f conftest.er1
26529 cat conftest.err >&5
26530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26531 (exit $ac_status); } && {
26532 test -z "$ac_c_werror_flag" ||
26533 test ! -s conftest.err
26534 } && test -s conftest.$ac_objext; then
26535 ac_cv_header_regex_h=yes
26536 else
26537 echo "$as_me: failed program was:" >&5
26538 sed 's/^/| /' conftest.$ac_ext >&5
26539
26540 ac_cv_header_regex_h=no
26541 fi
26542
26543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26544 fi
26545 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26546 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26547 if test $ac_cv_header_regex_h = yes; then
26548
26549
26550 for ac_func in regcomp re_search
26551 do
26552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26553 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26555 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26556 echo $ECHO_N "(cached) $ECHO_C" >&6
26557 else
26558 cat >conftest.$ac_ext <<_ACEOF
26559 /* confdefs.h. */
26560 _ACEOF
26561 cat confdefs.h >>conftest.$ac_ext
26562 cat >>conftest.$ac_ext <<_ACEOF
26563 /* end confdefs.h. */
26564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26566 #define $ac_func innocuous_$ac_func
26567
26568 /* System header to define __stub macros and hopefully few prototypes,
26569 which can conflict with char $ac_func (); below.
26570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26571 <limits.h> exists even on freestanding compilers. */
26572
26573 #ifdef __STDC__
26574 # include <limits.h>
26575 #else
26576 # include <assert.h>
26577 #endif
26578
26579 #undef $ac_func
26580
26581 /* Override any GCC internal prototype to avoid an error.
26582 Use char because int might match the return type of a GCC
26583 builtin and then its argument prototype would still apply. */
26584 #ifdef __cplusplus
26585 extern "C"
26586 #endif
26587 char $ac_func ();
26588 /* The GNU C library defines this for functions which it implements
26589 to always fail with ENOSYS. Some functions are actually named
26590 something starting with __ and the normal name is an alias. */
26591 #if defined __stub_$ac_func || defined __stub___$ac_func
26592 choke me
26593 #endif
26594
26595 int
26596 main ()
26597 {
26598 return $ac_func ();
26599 ;
26600 return 0;
26601 }
26602 _ACEOF
26603 rm -f conftest.$ac_objext conftest$ac_exeext
26604 if { (ac_try="$ac_link"
26605 case "(($ac_try" in
26606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26607 *) ac_try_echo=$ac_try;;
26608 esac
26609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26610 (eval "$ac_link") 2>conftest.er1
26611 ac_status=$?
26612 grep -v '^ *+' conftest.er1 >conftest.err
26613 rm -f conftest.er1
26614 cat conftest.err >&5
26615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26616 (exit $ac_status); } && {
26617 test -z "$ac_c_werror_flag" ||
26618 test ! -s conftest.err
26619 } && test -s conftest$ac_exeext &&
26620 $as_test_x conftest$ac_exeext; then
26621 eval "$as_ac_var=yes"
26622 else
26623 echo "$as_me: failed program was:" >&5
26624 sed 's/^/| /' conftest.$ac_ext >&5
26625
26626 eval "$as_ac_var=no"
26627 fi
26628
26629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26630 conftest$ac_exeext conftest.$ac_ext
26631 fi
26632 ac_res=`eval echo '${'$as_ac_var'}'`
26633 { echo "$as_me:$LINENO: result: $ac_res" >&5
26634 echo "${ECHO_T}$ac_res" >&6; }
26635 if test `eval echo '${'$as_ac_var'}'` = yes; then
26636 cat >>confdefs.h <<_ACEOF
26637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26638 _ACEOF
26639
26640 fi
26641 done
26642
26643 fi
26644
26645
26646
26647 if test "x$ac_cv_func_regcomp" != "xyes"; then
26648 if test "$wxUSE_REGEX" = "sys" ; then
26649 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26650 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26651 { (exit 1); exit 1; }; }
26652 else
26653 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26654 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26655 wxUSE_REGEX=builtin
26656 fi
26657 else
26658 wxUSE_REGEX=sys
26659 cat >>confdefs.h <<\_ACEOF
26660 #define WX_NO_REGEX_ADVANCED 1
26661 _ACEOF
26662
26663 fi
26664 fi
26665 fi
26666
26667
26668 ZLIB_LINK=
26669 if test "$wxUSE_ZLIB" != "no" ; then
26670 cat >>confdefs.h <<\_ACEOF
26671 #define wxUSE_ZLIB 1
26672 _ACEOF
26673
26674
26675 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26676 if test "$USE_DARWIN" = 1; then
26677 system_zlib_h_ok="yes"
26678 else
26679 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26680 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26681 if test "${ac_cv_header_zlib_h+set}" = set; then
26682 echo $ECHO_N "(cached) $ECHO_C" >&6
26683 else
26684 if test "$cross_compiling" = yes; then
26685 unset ac_cv_header_zlib_h
26686
26687 else
26688 cat >conftest.$ac_ext <<_ACEOF
26689 /* confdefs.h. */
26690 _ACEOF
26691 cat confdefs.h >>conftest.$ac_ext
26692 cat >>conftest.$ac_ext <<_ACEOF
26693 /* end confdefs.h. */
26694
26695 #include <zlib.h>
26696 #include <stdio.h>
26697
26698 int main()
26699 {
26700 FILE *f=fopen("conftestval", "w");
26701 if (!f) exit(1);
26702 fprintf(f, "%s",
26703 ZLIB_VERSION[0] == '1' &&
26704 (ZLIB_VERSION[2] > '1' ||
26705 (ZLIB_VERSION[2] == '1' &&
26706 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26707 exit(0);
26708 }
26709
26710 _ACEOF
26711 rm -f conftest$ac_exeext
26712 if { (ac_try="$ac_link"
26713 case "(($ac_try" in
26714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26715 *) ac_try_echo=$ac_try;;
26716 esac
26717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26718 (eval "$ac_link") 2>&5
26719 ac_status=$?
26720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26721 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26722 { (case "(($ac_try" in
26723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26724 *) ac_try_echo=$ac_try;;
26725 esac
26726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26727 (eval "$ac_try") 2>&5
26728 ac_status=$?
26729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26730 (exit $ac_status); }; }; then
26731 ac_cv_header_zlib_h=`cat conftestval`
26732 else
26733 echo "$as_me: program exited with status $ac_status" >&5
26734 echo "$as_me: failed program was:" >&5
26735 sed 's/^/| /' conftest.$ac_ext >&5
26736
26737 ( exit $ac_status )
26738 ac_cv_header_zlib_h=no
26739 fi
26740 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26741 fi
26742
26743
26744
26745 fi
26746 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26747 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26748 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26749 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26750 if test "${ac_cv_header_zlib_h+set}" = set; then
26751 echo $ECHO_N "(cached) $ECHO_C" >&6
26752 else
26753 cat >conftest.$ac_ext <<_ACEOF
26754 /* confdefs.h. */
26755 _ACEOF
26756 cat confdefs.h >>conftest.$ac_ext
26757 cat >>conftest.$ac_ext <<_ACEOF
26758 /* end confdefs.h. */
26759
26760
26761 #include <zlib.h>
26762 _ACEOF
26763 rm -f conftest.$ac_objext
26764 if { (ac_try="$ac_compile"
26765 case "(($ac_try" in
26766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26767 *) ac_try_echo=$ac_try;;
26768 esac
26769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26770 (eval "$ac_compile") 2>conftest.er1
26771 ac_status=$?
26772 grep -v '^ *+' conftest.er1 >conftest.err
26773 rm -f conftest.er1
26774 cat conftest.err >&5
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); } && {
26777 test -z "$ac_c_werror_flag" ||
26778 test ! -s conftest.err
26779 } && test -s conftest.$ac_objext; then
26780 ac_cv_header_zlib_h=yes
26781 else
26782 echo "$as_me: failed program was:" >&5
26783 sed 's/^/| /' conftest.$ac_ext >&5
26784
26785 ac_cv_header_zlib_h=no
26786 fi
26787
26788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26789 fi
26790 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26791 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26792
26793
26794
26795 system_zlib_h_ok=$ac_cv_header_zlib_h
26796 fi
26797
26798 if test "$system_zlib_h_ok" = "yes"; then
26799 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26800 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26801 if test "${ac_cv_lib_z_deflate+set}" = set; then
26802 echo $ECHO_N "(cached) $ECHO_C" >&6
26803 else
26804 ac_check_lib_save_LIBS=$LIBS
26805 LIBS="-lz $LIBS"
26806 cat >conftest.$ac_ext <<_ACEOF
26807 /* confdefs.h. */
26808 _ACEOF
26809 cat confdefs.h >>conftest.$ac_ext
26810 cat >>conftest.$ac_ext <<_ACEOF
26811 /* end confdefs.h. */
26812
26813 /* Override any GCC internal prototype to avoid an error.
26814 Use char because int might match the return type of a GCC
26815 builtin and then its argument prototype would still apply. */
26816 #ifdef __cplusplus
26817 extern "C"
26818 #endif
26819 char deflate ();
26820 int
26821 main ()
26822 {
26823 return deflate ();
26824 ;
26825 return 0;
26826 }
26827 _ACEOF
26828 rm -f conftest.$ac_objext conftest$ac_exeext
26829 if { (ac_try="$ac_link"
26830 case "(($ac_try" in
26831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26832 *) ac_try_echo=$ac_try;;
26833 esac
26834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26835 (eval "$ac_link") 2>conftest.er1
26836 ac_status=$?
26837 grep -v '^ *+' conftest.er1 >conftest.err
26838 rm -f conftest.er1
26839 cat conftest.err >&5
26840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841 (exit $ac_status); } && {
26842 test -z "$ac_c_werror_flag" ||
26843 test ! -s conftest.err
26844 } && test -s conftest$ac_exeext &&
26845 $as_test_x conftest$ac_exeext; then
26846 ac_cv_lib_z_deflate=yes
26847 else
26848 echo "$as_me: failed program was:" >&5
26849 sed 's/^/| /' conftest.$ac_ext >&5
26850
26851 ac_cv_lib_z_deflate=no
26852 fi
26853
26854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26855 conftest$ac_exeext conftest.$ac_ext
26856 LIBS=$ac_check_lib_save_LIBS
26857 fi
26858 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26859 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26860 if test $ac_cv_lib_z_deflate = yes; then
26861 ZLIB_LINK=" -lz"
26862 fi
26863
26864 fi
26865
26866 if test "x$ZLIB_LINK" = "x" ; then
26867 if test "$wxUSE_ZLIB" = "sys" ; then
26868 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26869 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26870 { (exit 1); exit 1; }; }
26871 else
26872 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26873 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26874 wxUSE_ZLIB=builtin
26875 fi
26876 else
26877 wxUSE_ZLIB=sys
26878 fi
26879 fi
26880 fi
26881
26882
26883 PNG_LINK=
26884 if test "$wxUSE_LIBPNG" != "no" ; then
26885 cat >>confdefs.h <<\_ACEOF
26886 #define wxUSE_LIBPNG 1
26887 _ACEOF
26888
26889
26890 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26891 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26892 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26893 wxUSE_LIBPNG=sys
26894 fi
26895
26896 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26897 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26898 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26899 wxUSE_LIBPNG=builtin
26900 fi
26901
26902 if test "$wxUSE_MGL" != 1 ; then
26903 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26904 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26905 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26906 if test "${ac_cv_header_png_h+set}" = set; then
26907 echo $ECHO_N "(cached) $ECHO_C" >&6
26908 else
26909 if test "$cross_compiling" = yes; then
26910 unset ac_cv_header_png_h
26911
26912 else
26913 cat >conftest.$ac_ext <<_ACEOF
26914 /* confdefs.h. */
26915 _ACEOF
26916 cat confdefs.h >>conftest.$ac_ext
26917 cat >>conftest.$ac_ext <<_ACEOF
26918 /* end confdefs.h. */
26919
26920 #include <png.h>
26921 #include <stdio.h>
26922
26923 int main()
26924 {
26925 FILE *f=fopen("conftestval", "w");
26926 if (!f) exit(1);
26927 fprintf(f, "%s",
26928 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26929 exit(0);
26930 }
26931
26932 _ACEOF
26933 rm -f conftest$ac_exeext
26934 if { (ac_try="$ac_link"
26935 case "(($ac_try" in
26936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26937 *) ac_try_echo=$ac_try;;
26938 esac
26939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26940 (eval "$ac_link") 2>&5
26941 ac_status=$?
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26944 { (case "(($ac_try" in
26945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26946 *) ac_try_echo=$ac_try;;
26947 esac
26948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26949 (eval "$ac_try") 2>&5
26950 ac_status=$?
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); }; }; then
26953 ac_cv_header_png_h=`cat conftestval`
26954 else
26955 echo "$as_me: program exited with status $ac_status" >&5
26956 echo "$as_me: failed program was:" >&5
26957 sed 's/^/| /' conftest.$ac_ext >&5
26958
26959 ( exit $ac_status )
26960 ac_cv_header_png_h=no
26961 fi
26962 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26963 fi
26964
26965
26966
26967 fi
26968 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26969 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26970 { echo "$as_me:$LINENO: checking for png.h" >&5
26971 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26972 if test "${ac_cv_header_png_h+set}" = set; then
26973 echo $ECHO_N "(cached) $ECHO_C" >&6
26974 else
26975 cat >conftest.$ac_ext <<_ACEOF
26976 /* confdefs.h. */
26977 _ACEOF
26978 cat confdefs.h >>conftest.$ac_ext
26979 cat >>conftest.$ac_ext <<_ACEOF
26980 /* end confdefs.h. */
26981
26982
26983 #include <png.h>
26984 _ACEOF
26985 rm -f conftest.$ac_objext
26986 if { (ac_try="$ac_compile"
26987 case "(($ac_try" in
26988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26989 *) ac_try_echo=$ac_try;;
26990 esac
26991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26992 (eval "$ac_compile") 2>conftest.er1
26993 ac_status=$?
26994 grep -v '^ *+' conftest.er1 >conftest.err
26995 rm -f conftest.er1
26996 cat conftest.err >&5
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); } && {
26999 test -z "$ac_c_werror_flag" ||
27000 test ! -s conftest.err
27001 } && test -s conftest.$ac_objext; then
27002 ac_cv_header_png_h=yes
27003 else
27004 echo "$as_me: failed program was:" >&5
27005 sed 's/^/| /' conftest.$ac_ext >&5
27006
27007 ac_cv_header_png_h=no
27008 fi
27009
27010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27011 fi
27012 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27013 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27014
27015
27016
27017 if test "$ac_cv_header_png_h" = "yes"; then
27018 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
27019 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
27020 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
27021 echo $ECHO_N "(cached) $ECHO_C" >&6
27022 else
27023 ac_check_lib_save_LIBS=$LIBS
27024 LIBS="-lpng -lz -lm $LIBS"
27025 cat >conftest.$ac_ext <<_ACEOF
27026 /* confdefs.h. */
27027 _ACEOF
27028 cat confdefs.h >>conftest.$ac_ext
27029 cat >>conftest.$ac_ext <<_ACEOF
27030 /* end confdefs.h. */
27031
27032 /* Override any GCC internal prototype to avoid an error.
27033 Use char because int might match the return type of a GCC
27034 builtin and then its argument prototype would still apply. */
27035 #ifdef __cplusplus
27036 extern "C"
27037 #endif
27038 char png_check_sig ();
27039 int
27040 main ()
27041 {
27042 return png_check_sig ();
27043 ;
27044 return 0;
27045 }
27046 _ACEOF
27047 rm -f conftest.$ac_objext conftest$ac_exeext
27048 if { (ac_try="$ac_link"
27049 case "(($ac_try" in
27050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27051 *) ac_try_echo=$ac_try;;
27052 esac
27053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27054 (eval "$ac_link") 2>conftest.er1
27055 ac_status=$?
27056 grep -v '^ *+' conftest.er1 >conftest.err
27057 rm -f conftest.er1
27058 cat conftest.err >&5
27059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27060 (exit $ac_status); } && {
27061 test -z "$ac_c_werror_flag" ||
27062 test ! -s conftest.err
27063 } && test -s conftest$ac_exeext &&
27064 $as_test_x conftest$ac_exeext; then
27065 ac_cv_lib_png_png_check_sig=yes
27066 else
27067 echo "$as_me: failed program was:" >&5
27068 sed 's/^/| /' conftest.$ac_ext >&5
27069
27070 ac_cv_lib_png_png_check_sig=no
27071 fi
27072
27073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27074 conftest$ac_exeext conftest.$ac_ext
27075 LIBS=$ac_check_lib_save_LIBS
27076 fi
27077 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27078 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
27079 if test $ac_cv_lib_png_png_check_sig = yes; then
27080 PNG_LINK=" -lpng -lz"
27081 fi
27082
27083 fi
27084
27085 if test "x$PNG_LINK" = "x" ; then
27086 if test "$wxUSE_LIBPNG" = "sys" ; then
27087 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27088 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27089 { (exit 1); exit 1; }; }
27090 else
27091 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27092 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27093 wxUSE_LIBPNG=builtin
27094 fi
27095 else
27096 wxUSE_LIBPNG=sys
27097 fi
27098 fi
27099 fi
27100 fi
27101
27102
27103 JPEG_LINK=
27104 if test "$wxUSE_LIBJPEG" != "no" ; then
27105 cat >>confdefs.h <<\_ACEOF
27106 #define wxUSE_LIBJPEG 1
27107 _ACEOF
27108
27109
27110 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27111 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27112 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27113 wxUSE_LIBJPEG=sys
27114 fi
27115
27116 if test "$wxUSE_MGL" != 1 ; then
27117 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27118 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27119 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27120 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27121 echo $ECHO_N "(cached) $ECHO_C" >&6
27122 else
27123 cat >conftest.$ac_ext <<_ACEOF
27124 /* confdefs.h. */
27125 _ACEOF
27126 cat confdefs.h >>conftest.$ac_ext
27127 cat >>conftest.$ac_ext <<_ACEOF
27128 /* end confdefs.h. */
27129
27130 #undef HAVE_STDLIB_H
27131 #include <stdio.h>
27132 #include <jpeglib.h>
27133
27134 int
27135 main ()
27136 {
27137
27138
27139 ;
27140 return 0;
27141 }
27142 _ACEOF
27143 rm -f conftest.$ac_objext
27144 if { (ac_try="$ac_compile"
27145 case "(($ac_try" in
27146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27147 *) ac_try_echo=$ac_try;;
27148 esac
27149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27150 (eval "$ac_compile") 2>conftest.er1
27151 ac_status=$?
27152 grep -v '^ *+' conftest.er1 >conftest.err
27153 rm -f conftest.er1
27154 cat conftest.err >&5
27155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156 (exit $ac_status); } && {
27157 test -z "$ac_c_werror_flag" ||
27158 test ! -s conftest.err
27159 } && test -s conftest.$ac_objext; then
27160 ac_cv_header_jpeglib_h=yes
27161 else
27162 echo "$as_me: failed program was:" >&5
27163 sed 's/^/| /' conftest.$ac_ext >&5
27164
27165 ac_cv_header_jpeglib_h=no
27166
27167 fi
27168
27169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27170
27171 fi
27172
27173 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27174 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27175
27176 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27177 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27178 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27179 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27180 echo $ECHO_N "(cached) $ECHO_C" >&6
27181 else
27182 ac_check_lib_save_LIBS=$LIBS
27183 LIBS="-ljpeg $LIBS"
27184 cat >conftest.$ac_ext <<_ACEOF
27185 /* confdefs.h. */
27186 _ACEOF
27187 cat confdefs.h >>conftest.$ac_ext
27188 cat >>conftest.$ac_ext <<_ACEOF
27189 /* end confdefs.h. */
27190
27191 /* Override any GCC internal prototype to avoid an error.
27192 Use char because int might match the return type of a GCC
27193 builtin and then its argument prototype would still apply. */
27194 #ifdef __cplusplus
27195 extern "C"
27196 #endif
27197 char jpeg_read_header ();
27198 int
27199 main ()
27200 {
27201 return jpeg_read_header ();
27202 ;
27203 return 0;
27204 }
27205 _ACEOF
27206 rm -f conftest.$ac_objext conftest$ac_exeext
27207 if { (ac_try="$ac_link"
27208 case "(($ac_try" in
27209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27210 *) ac_try_echo=$ac_try;;
27211 esac
27212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27213 (eval "$ac_link") 2>conftest.er1
27214 ac_status=$?
27215 grep -v '^ *+' conftest.er1 >conftest.err
27216 rm -f conftest.er1
27217 cat conftest.err >&5
27218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27219 (exit $ac_status); } && {
27220 test -z "$ac_c_werror_flag" ||
27221 test ! -s conftest.err
27222 } && test -s conftest$ac_exeext &&
27223 $as_test_x conftest$ac_exeext; then
27224 ac_cv_lib_jpeg_jpeg_read_header=yes
27225 else
27226 echo "$as_me: failed program was:" >&5
27227 sed 's/^/| /' conftest.$ac_ext >&5
27228
27229 ac_cv_lib_jpeg_jpeg_read_header=no
27230 fi
27231
27232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27233 conftest$ac_exeext conftest.$ac_ext
27234 LIBS=$ac_check_lib_save_LIBS
27235 fi
27236 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27237 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27238 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27239 JPEG_LINK=" -ljpeg"
27240 fi
27241
27242 fi
27243
27244 if test "x$JPEG_LINK" = "x" ; then
27245 if test "$wxUSE_LIBJPEG" = "sys" ; then
27246 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27247 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27248 { (exit 1); exit 1; }; }
27249 else
27250 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27251 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27252 wxUSE_LIBJPEG=builtin
27253 fi
27254 else
27255 wxUSE_LIBJPEG=sys
27256
27257 if test "$wxUSE_MSW" = 1; then
27258 { echo "$as_me:$LINENO: checking for boolean" >&5
27259 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27260 if test "${ac_cv_type_boolean+set}" = set; then
27261 echo $ECHO_N "(cached) $ECHO_C" >&6
27262 else
27263 cat >conftest.$ac_ext <<_ACEOF
27264 /* confdefs.h. */
27265 _ACEOF
27266 cat confdefs.h >>conftest.$ac_ext
27267 cat >>conftest.$ac_ext <<_ACEOF
27268 /* end confdefs.h. */
27269 #include <windows.h>
27270
27271 typedef boolean ac__type_new_;
27272 int
27273 main ()
27274 {
27275 if ((ac__type_new_ *) 0)
27276 return 0;
27277 if (sizeof (ac__type_new_))
27278 return 0;
27279 ;
27280 return 0;
27281 }
27282 _ACEOF
27283 rm -f conftest.$ac_objext
27284 if { (ac_try="$ac_compile"
27285 case "(($ac_try" in
27286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27287 *) ac_try_echo=$ac_try;;
27288 esac
27289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27290 (eval "$ac_compile") 2>conftest.er1
27291 ac_status=$?
27292 grep -v '^ *+' conftest.er1 >conftest.err
27293 rm -f conftest.er1
27294 cat conftest.err >&5
27295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296 (exit $ac_status); } && {
27297 test -z "$ac_c_werror_flag" ||
27298 test ! -s conftest.err
27299 } && test -s conftest.$ac_objext; then
27300 ac_cv_type_boolean=yes
27301 else
27302 echo "$as_me: failed program was:" >&5
27303 sed 's/^/| /' conftest.$ac_ext >&5
27304
27305 ac_cv_type_boolean=no
27306 fi
27307
27308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27309 fi
27310 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27311 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27312 if test $ac_cv_type_boolean = yes; then
27313
27314 cat >>confdefs.h <<_ACEOF
27315 #define HAVE_BOOLEAN 1
27316 _ACEOF
27317
27318
27319 { echo "$as_me:$LINENO: checking for boolean" >&5
27320 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27321 if test "${ac_cv_type_boolean+set}" = set; then
27322 echo $ECHO_N "(cached) $ECHO_C" >&6
27323 else
27324 cat >conftest.$ac_ext <<_ACEOF
27325 /* confdefs.h. */
27326 _ACEOF
27327 cat confdefs.h >>conftest.$ac_ext
27328 cat >>conftest.$ac_ext <<_ACEOF
27329 /* end confdefs.h. */
27330
27331 #undef HAVE_BOOLEAN
27332 #include <stdio.h>
27333 #include <jpeglib.h>
27334
27335
27336 typedef boolean ac__type_new_;
27337 int
27338 main ()
27339 {
27340 if ((ac__type_new_ *) 0)
27341 return 0;
27342 if (sizeof (ac__type_new_))
27343 return 0;
27344 ;
27345 return 0;
27346 }
27347 _ACEOF
27348 rm -f conftest.$ac_objext
27349 if { (ac_try="$ac_compile"
27350 case "(($ac_try" in
27351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27352 *) ac_try_echo=$ac_try;;
27353 esac
27354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27355 (eval "$ac_compile") 2>conftest.er1
27356 ac_status=$?
27357 grep -v '^ *+' conftest.er1 >conftest.err
27358 rm -f conftest.er1
27359 cat conftest.err >&5
27360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27361 (exit $ac_status); } && {
27362 test -z "$ac_c_werror_flag" ||
27363 test ! -s conftest.err
27364 } && test -s conftest.$ac_objext; then
27365 ac_cv_type_boolean=yes
27366 else
27367 echo "$as_me: failed program was:" >&5
27368 sed 's/^/| /' conftest.$ac_ext >&5
27369
27370 ac_cv_type_boolean=no
27371 fi
27372
27373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27374 fi
27375 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27376 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27377
27378 # The cast to long int works around a bug in the HP C Compiler
27379 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27380 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27381 # This bug is HP SR number 8606223364.
27382 { echo "$as_me:$LINENO: checking size of boolean" >&5
27383 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27384 if test "${ac_cv_sizeof_boolean+set}" = set; then
27385 echo $ECHO_N "(cached) $ECHO_C" >&6
27386 else
27387 if test "$cross_compiling" = yes; then
27388 # Depending upon the size, compute the lo and hi bounds.
27389 cat >conftest.$ac_ext <<_ACEOF
27390 /* confdefs.h. */
27391 _ACEOF
27392 cat confdefs.h >>conftest.$ac_ext
27393 cat >>conftest.$ac_ext <<_ACEOF
27394 /* end confdefs.h. */
27395
27396 #undef HAVE_BOOLEAN
27397 #include <stdio.h>
27398 #include <jpeglib.h>
27399
27400
27401 typedef boolean ac__type_sizeof_;
27402 int
27403 main ()
27404 {
27405 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27406 test_array [0] = 0
27407
27408 ;
27409 return 0;
27410 }
27411 _ACEOF
27412 rm -f conftest.$ac_objext
27413 if { (ac_try="$ac_compile"
27414 case "(($ac_try" in
27415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27416 *) ac_try_echo=$ac_try;;
27417 esac
27418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27419 (eval "$ac_compile") 2>conftest.er1
27420 ac_status=$?
27421 grep -v '^ *+' conftest.er1 >conftest.err
27422 rm -f conftest.er1
27423 cat conftest.err >&5
27424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27425 (exit $ac_status); } && {
27426 test -z "$ac_c_werror_flag" ||
27427 test ! -s conftest.err
27428 } && test -s conftest.$ac_objext; then
27429 ac_lo=0 ac_mid=0
27430 while :; do
27431 cat >conftest.$ac_ext <<_ACEOF
27432 /* confdefs.h. */
27433 _ACEOF
27434 cat confdefs.h >>conftest.$ac_ext
27435 cat >>conftest.$ac_ext <<_ACEOF
27436 /* end confdefs.h. */
27437
27438 #undef HAVE_BOOLEAN
27439 #include <stdio.h>
27440 #include <jpeglib.h>
27441
27442
27443 typedef boolean ac__type_sizeof_;
27444 int
27445 main ()
27446 {
27447 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27448 test_array [0] = 0
27449
27450 ;
27451 return 0;
27452 }
27453 _ACEOF
27454 rm -f conftest.$ac_objext
27455 if { (ac_try="$ac_compile"
27456 case "(($ac_try" in
27457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27458 *) ac_try_echo=$ac_try;;
27459 esac
27460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27461 (eval "$ac_compile") 2>conftest.er1
27462 ac_status=$?
27463 grep -v '^ *+' conftest.er1 >conftest.err
27464 rm -f conftest.er1
27465 cat conftest.err >&5
27466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27467 (exit $ac_status); } && {
27468 test -z "$ac_c_werror_flag" ||
27469 test ! -s conftest.err
27470 } && test -s conftest.$ac_objext; then
27471 ac_hi=$ac_mid; break
27472 else
27473 echo "$as_me: failed program was:" >&5
27474 sed 's/^/| /' conftest.$ac_ext >&5
27475
27476 ac_lo=`expr $ac_mid + 1`
27477 if test $ac_lo -le $ac_mid; then
27478 ac_lo= ac_hi=
27479 break
27480 fi
27481 ac_mid=`expr 2 '*' $ac_mid + 1`
27482 fi
27483
27484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27485 done
27486 else
27487 echo "$as_me: failed program was:" >&5
27488 sed 's/^/| /' conftest.$ac_ext >&5
27489
27490 cat >conftest.$ac_ext <<_ACEOF
27491 /* confdefs.h. */
27492 _ACEOF
27493 cat confdefs.h >>conftest.$ac_ext
27494 cat >>conftest.$ac_ext <<_ACEOF
27495 /* end confdefs.h. */
27496
27497 #undef HAVE_BOOLEAN
27498 #include <stdio.h>
27499 #include <jpeglib.h>
27500
27501
27502 typedef boolean ac__type_sizeof_;
27503 int
27504 main ()
27505 {
27506 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27507 test_array [0] = 0
27508
27509 ;
27510 return 0;
27511 }
27512 _ACEOF
27513 rm -f conftest.$ac_objext
27514 if { (ac_try="$ac_compile"
27515 case "(($ac_try" in
27516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27517 *) ac_try_echo=$ac_try;;
27518 esac
27519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27520 (eval "$ac_compile") 2>conftest.er1
27521 ac_status=$?
27522 grep -v '^ *+' conftest.er1 >conftest.err
27523 rm -f conftest.er1
27524 cat conftest.err >&5
27525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27526 (exit $ac_status); } && {
27527 test -z "$ac_c_werror_flag" ||
27528 test ! -s conftest.err
27529 } && test -s conftest.$ac_objext; then
27530 ac_hi=-1 ac_mid=-1
27531 while :; do
27532 cat >conftest.$ac_ext <<_ACEOF
27533 /* confdefs.h. */
27534 _ACEOF
27535 cat confdefs.h >>conftest.$ac_ext
27536 cat >>conftest.$ac_ext <<_ACEOF
27537 /* end confdefs.h. */
27538
27539 #undef HAVE_BOOLEAN
27540 #include <stdio.h>
27541 #include <jpeglib.h>
27542
27543
27544 typedef boolean ac__type_sizeof_;
27545 int
27546 main ()
27547 {
27548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27549 test_array [0] = 0
27550
27551 ;
27552 return 0;
27553 }
27554 _ACEOF
27555 rm -f conftest.$ac_objext
27556 if { (ac_try="$ac_compile"
27557 case "(($ac_try" in
27558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27559 *) ac_try_echo=$ac_try;;
27560 esac
27561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27562 (eval "$ac_compile") 2>conftest.er1
27563 ac_status=$?
27564 grep -v '^ *+' conftest.er1 >conftest.err
27565 rm -f conftest.er1
27566 cat conftest.err >&5
27567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27568 (exit $ac_status); } && {
27569 test -z "$ac_c_werror_flag" ||
27570 test ! -s conftest.err
27571 } && test -s conftest.$ac_objext; then
27572 ac_lo=$ac_mid; break
27573 else
27574 echo "$as_me: failed program was:" >&5
27575 sed 's/^/| /' conftest.$ac_ext >&5
27576
27577 ac_hi=`expr '(' $ac_mid ')' - 1`
27578 if test $ac_mid -le $ac_hi; then
27579 ac_lo= ac_hi=
27580 break
27581 fi
27582 ac_mid=`expr 2 '*' $ac_mid`
27583 fi
27584
27585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27586 done
27587 else
27588 echo "$as_me: failed program was:" >&5
27589 sed 's/^/| /' conftest.$ac_ext >&5
27590
27591 ac_lo= ac_hi=
27592 fi
27593
27594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27595 fi
27596
27597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27598 # Binary search between lo and hi bounds.
27599 while test "x$ac_lo" != "x$ac_hi"; do
27600 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27601 cat >conftest.$ac_ext <<_ACEOF
27602 /* confdefs.h. */
27603 _ACEOF
27604 cat confdefs.h >>conftest.$ac_ext
27605 cat >>conftest.$ac_ext <<_ACEOF
27606 /* end confdefs.h. */
27607
27608 #undef HAVE_BOOLEAN
27609 #include <stdio.h>
27610 #include <jpeglib.h>
27611
27612
27613 typedef boolean ac__type_sizeof_;
27614 int
27615 main ()
27616 {
27617 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27618 test_array [0] = 0
27619
27620 ;
27621 return 0;
27622 }
27623 _ACEOF
27624 rm -f conftest.$ac_objext
27625 if { (ac_try="$ac_compile"
27626 case "(($ac_try" in
27627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27628 *) ac_try_echo=$ac_try;;
27629 esac
27630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27631 (eval "$ac_compile") 2>conftest.er1
27632 ac_status=$?
27633 grep -v '^ *+' conftest.er1 >conftest.err
27634 rm -f conftest.er1
27635 cat conftest.err >&5
27636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27637 (exit $ac_status); } && {
27638 test -z "$ac_c_werror_flag" ||
27639 test ! -s conftest.err
27640 } && test -s conftest.$ac_objext; then
27641 ac_hi=$ac_mid
27642 else
27643 echo "$as_me: failed program was:" >&5
27644 sed 's/^/| /' conftest.$ac_ext >&5
27645
27646 ac_lo=`expr '(' $ac_mid ')' + 1`
27647 fi
27648
27649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27650 done
27651 case $ac_lo in
27652 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27653 '') if test "$ac_cv_type_boolean" = yes; then
27654 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27655 See \`config.log' for more details." >&5
27656 echo "$as_me: error: cannot compute sizeof (boolean)
27657 See \`config.log' for more details." >&2;}
27658 { (exit 77); exit 77; }; }
27659 else
27660 ac_cv_sizeof_boolean=0
27661 fi ;;
27662 esac
27663 else
27664 cat >conftest.$ac_ext <<_ACEOF
27665 /* confdefs.h. */
27666 _ACEOF
27667 cat confdefs.h >>conftest.$ac_ext
27668 cat >>conftest.$ac_ext <<_ACEOF
27669 /* end confdefs.h. */
27670
27671 #undef HAVE_BOOLEAN
27672 #include <stdio.h>
27673 #include <jpeglib.h>
27674
27675
27676 typedef boolean ac__type_sizeof_;
27677 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27678 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27679 #include <stdio.h>
27680 #include <stdlib.h>
27681 int
27682 main ()
27683 {
27684
27685 FILE *f = fopen ("conftest.val", "w");
27686 if (! f)
27687 return 1;
27688 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27689 {
27690 long int i = longval ();
27691 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27692 return 1;
27693 fprintf (f, "%ld\n", i);
27694 }
27695 else
27696 {
27697 unsigned long int i = ulongval ();
27698 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27699 return 1;
27700 fprintf (f, "%lu\n", i);
27701 }
27702 return ferror (f) || fclose (f) != 0;
27703
27704 ;
27705 return 0;
27706 }
27707 _ACEOF
27708 rm -f conftest$ac_exeext
27709 if { (ac_try="$ac_link"
27710 case "(($ac_try" in
27711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27712 *) ac_try_echo=$ac_try;;
27713 esac
27714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27715 (eval "$ac_link") 2>&5
27716 ac_status=$?
27717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27718 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27719 { (case "(($ac_try" in
27720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27721 *) ac_try_echo=$ac_try;;
27722 esac
27723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27724 (eval "$ac_try") 2>&5
27725 ac_status=$?
27726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27727 (exit $ac_status); }; }; then
27728 ac_cv_sizeof_boolean=`cat conftest.val`
27729 else
27730 echo "$as_me: program exited with status $ac_status" >&5
27731 echo "$as_me: failed program was:" >&5
27732 sed 's/^/| /' conftest.$ac_ext >&5
27733
27734 ( exit $ac_status )
27735 if test "$ac_cv_type_boolean" = yes; then
27736 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27737 See \`config.log' for more details." >&5
27738 echo "$as_me: error: cannot compute sizeof (boolean)
27739 See \`config.log' for more details." >&2;}
27740 { (exit 77); exit 77; }; }
27741 else
27742 ac_cv_sizeof_boolean=0
27743 fi
27744 fi
27745 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27746 fi
27747 rm -f conftest.val
27748 fi
27749 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27750 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27751
27752
27753
27754 cat >>confdefs.h <<_ACEOF
27755 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27756 _ACEOF
27757
27758
27759 cat >>confdefs.h <<_ACEOF
27760 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27761 _ACEOF
27762
27763
27764 fi
27765
27766 fi
27767 fi
27768 fi
27769 fi
27770 fi
27771
27772
27773 TIFF_LINK=
27774 TIFF_PREREQ_LINKS=-lm
27775 if test "$wxUSE_LIBTIFF" != "no" ; then
27776 cat >>confdefs.h <<\_ACEOF
27777 #define wxUSE_LIBTIFF 1
27778 _ACEOF
27779
27780
27781 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27782 if test "$wxUSE_LIBJPEG" = "sys"; then
27783 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27784 fi
27785 if test "$wxUSE_ZLIB" = "sys"; then
27786 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27787 fi
27788 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27789 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27790 if test "${ac_cv_header_tiffio_h+set}" = set; then
27791 echo $ECHO_N "(cached) $ECHO_C" >&6
27792 else
27793 cat >conftest.$ac_ext <<_ACEOF
27794 /* confdefs.h. */
27795 _ACEOF
27796 cat confdefs.h >>conftest.$ac_ext
27797 cat >>conftest.$ac_ext <<_ACEOF
27798 /* end confdefs.h. */
27799
27800
27801
27802 #include <tiffio.h>
27803 _ACEOF
27804 rm -f conftest.$ac_objext
27805 if { (ac_try="$ac_compile"
27806 case "(($ac_try" in
27807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27808 *) ac_try_echo=$ac_try;;
27809 esac
27810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27811 (eval "$ac_compile") 2>conftest.er1
27812 ac_status=$?
27813 grep -v '^ *+' conftest.er1 >conftest.err
27814 rm -f conftest.er1
27815 cat conftest.err >&5
27816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27817 (exit $ac_status); } && {
27818 test -z "$ac_c_werror_flag" ||
27819 test ! -s conftest.err
27820 } && test -s conftest.$ac_objext; then
27821 ac_cv_header_tiffio_h=yes
27822 else
27823 echo "$as_me: failed program was:" >&5
27824 sed 's/^/| /' conftest.$ac_ext >&5
27825
27826 ac_cv_header_tiffio_h=no
27827 fi
27828
27829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27830 fi
27831 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27832 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27833 if test $ac_cv_header_tiffio_h = yes; then
27834
27835 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27836 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27837 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27838 echo $ECHO_N "(cached) $ECHO_C" >&6
27839 else
27840 ac_check_lib_save_LIBS=$LIBS
27841 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27842 cat >conftest.$ac_ext <<_ACEOF
27843 /* confdefs.h. */
27844 _ACEOF
27845 cat confdefs.h >>conftest.$ac_ext
27846 cat >>conftest.$ac_ext <<_ACEOF
27847 /* end confdefs.h. */
27848
27849 /* Override any GCC internal prototype to avoid an error.
27850 Use char because int might match the return type of a GCC
27851 builtin and then its argument prototype would still apply. */
27852 #ifdef __cplusplus
27853 extern "C"
27854 #endif
27855 char TIFFError ();
27856 int
27857 main ()
27858 {
27859 return TIFFError ();
27860 ;
27861 return 0;
27862 }
27863 _ACEOF
27864 rm -f conftest.$ac_objext conftest$ac_exeext
27865 if { (ac_try="$ac_link"
27866 case "(($ac_try" in
27867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27868 *) ac_try_echo=$ac_try;;
27869 esac
27870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27871 (eval "$ac_link") 2>conftest.er1
27872 ac_status=$?
27873 grep -v '^ *+' conftest.er1 >conftest.err
27874 rm -f conftest.er1
27875 cat conftest.err >&5
27876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27877 (exit $ac_status); } && {
27878 test -z "$ac_c_werror_flag" ||
27879 test ! -s conftest.err
27880 } && test -s conftest$ac_exeext &&
27881 $as_test_x conftest$ac_exeext; then
27882 ac_cv_lib_tiff_TIFFError=yes
27883 else
27884 echo "$as_me: failed program was:" >&5
27885 sed 's/^/| /' conftest.$ac_ext >&5
27886
27887 ac_cv_lib_tiff_TIFFError=no
27888 fi
27889
27890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27891 conftest$ac_exeext conftest.$ac_ext
27892 LIBS=$ac_check_lib_save_LIBS
27893 fi
27894 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27895 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27896 if test $ac_cv_lib_tiff_TIFFError = yes; then
27897 TIFF_LINK=" -ltiff"
27898 fi
27899
27900
27901 fi
27902
27903
27904
27905 if test "x$TIFF_LINK" = "x" ; then
27906 if test "$wxUSE_LIBTIFF" = "sys" ; then
27907 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27908 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27909 { (exit 1); exit 1; }; }
27910 else
27911 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27912 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27913 wxUSE_LIBTIFF=builtin
27914 fi
27915 else
27916 wxUSE_LIBTIFF=sys
27917 fi
27918 fi
27919 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27920 if test "$wxUSE_LIBJPEG" = "no"; then
27921 ac_configure_args="$ac_configure_args --disable-jpeg"
27922 fi
27923 subdirs="$subdirs src/tiff"
27924
27925 fi
27926 fi
27927
27928
27929 if test "$wxUSE_WCHAR_T" != "yes"; then
27930 if test "$wxUSE_EXPAT" != "no"; then
27931 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27932 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27933 wxUSE_EXPAT=no
27934 fi
27935 if test "$wxUSE_XML" != "no"; then
27936 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27937 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27938 wxUSE_XML=no
27939 fi
27940 fi
27941
27942 if test "$wxUSE_EXPAT" != "no"; then
27943 wxUSE_XML=yes
27944 cat >>confdefs.h <<\_ACEOF
27945 #define wxUSE_EXPAT 1
27946 _ACEOF
27947
27948 cat >>confdefs.h <<\_ACEOF
27949 #define wxUSE_XML 1
27950 _ACEOF
27951
27952
27953 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27954 { echo "$as_me:$LINENO: checking for expat.h" >&5
27955 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27956 if test "${ac_cv_header_expat_h+set}" = set; then
27957 echo $ECHO_N "(cached) $ECHO_C" >&6
27958 else
27959 cat >conftest.$ac_ext <<_ACEOF
27960 /* confdefs.h. */
27961 _ACEOF
27962 cat confdefs.h >>conftest.$ac_ext
27963 cat >>conftest.$ac_ext <<_ACEOF
27964 /* end confdefs.h. */
27965
27966
27967 #include <expat.h>
27968 _ACEOF
27969 rm -f conftest.$ac_objext
27970 if { (ac_try="$ac_compile"
27971 case "(($ac_try" in
27972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27973 *) ac_try_echo=$ac_try;;
27974 esac
27975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27976 (eval "$ac_compile") 2>conftest.er1
27977 ac_status=$?
27978 grep -v '^ *+' conftest.er1 >conftest.err
27979 rm -f conftest.er1
27980 cat conftest.err >&5
27981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27982 (exit $ac_status); } && {
27983 test -z "$ac_c_werror_flag" ||
27984 test ! -s conftest.err
27985 } && test -s conftest.$ac_objext; then
27986 ac_cv_header_expat_h=yes
27987 else
27988 echo "$as_me: failed program was:" >&5
27989 sed 's/^/| /' conftest.$ac_ext >&5
27990
27991 ac_cv_header_expat_h=no
27992 fi
27993
27994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27995 fi
27996 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27997 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27998 if test $ac_cv_header_expat_h = yes; then
27999 found_expat_h=1
28000 fi
28001
28002
28003 if test "x$found_expat_h" = "x1"; then
28004 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28005 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28006 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28007 echo $ECHO_N "(cached) $ECHO_C" >&6
28008 else
28009
28010 ac_ext=cpp
28011 ac_cpp='$CXXCPP $CPPFLAGS'
28012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28015
28016 cat >conftest.$ac_ext <<_ACEOF
28017 /* confdefs.h. */
28018 _ACEOF
28019 cat confdefs.h >>conftest.$ac_ext
28020 cat >>conftest.$ac_ext <<_ACEOF
28021 /* end confdefs.h. */
28022 #include <expat.h>
28023 int
28024 main ()
28025 {
28026
28027 ;
28028 return 0;
28029 }
28030 _ACEOF
28031 rm -f conftest.$ac_objext
28032 if { (ac_try="$ac_compile"
28033 case "(($ac_try" in
28034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28035 *) ac_try_echo=$ac_try;;
28036 esac
28037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28038 (eval "$ac_compile") 2>conftest.er1
28039 ac_status=$?
28040 grep -v '^ *+' conftest.er1 >conftest.err
28041 rm -f conftest.er1
28042 cat conftest.err >&5
28043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28044 (exit $ac_status); } && {
28045 test -z "$ac_cxx_werror_flag" ||
28046 test ! -s conftest.err
28047 } && test -s conftest.$ac_objext; then
28048 wx_cv_expat_is_not_broken=yes
28049 else
28050 echo "$as_me: failed program was:" >&5
28051 sed 's/^/| /' conftest.$ac_ext >&5
28052
28053 wx_cv_expat_is_not_broken=no
28054
28055 fi
28056
28057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28058 ac_ext=c
28059 ac_cpp='$CPP $CPPFLAGS'
28060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28063
28064
28065
28066 fi
28067 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28068 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28069 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28070 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28071 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28072 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28073 echo $ECHO_N "(cached) $ECHO_C" >&6
28074 else
28075 ac_check_lib_save_LIBS=$LIBS
28076 LIBS="-lexpat $LIBS"
28077 cat >conftest.$ac_ext <<_ACEOF
28078 /* confdefs.h. */
28079 _ACEOF
28080 cat confdefs.h >>conftest.$ac_ext
28081 cat >>conftest.$ac_ext <<_ACEOF
28082 /* end confdefs.h. */
28083
28084 /* Override any GCC internal prototype to avoid an error.
28085 Use char because int might match the return type of a GCC
28086 builtin and then its argument prototype would still apply. */
28087 #ifdef __cplusplus
28088 extern "C"
28089 #endif
28090 char XML_ParserCreate ();
28091 int
28092 main ()
28093 {
28094 return XML_ParserCreate ();
28095 ;
28096 return 0;
28097 }
28098 _ACEOF
28099 rm -f conftest.$ac_objext conftest$ac_exeext
28100 if { (ac_try="$ac_link"
28101 case "(($ac_try" in
28102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28103 *) ac_try_echo=$ac_try;;
28104 esac
28105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28106 (eval "$ac_link") 2>conftest.er1
28107 ac_status=$?
28108 grep -v '^ *+' conftest.er1 >conftest.err
28109 rm -f conftest.er1
28110 cat conftest.err >&5
28111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28112 (exit $ac_status); } && {
28113 test -z "$ac_c_werror_flag" ||
28114 test ! -s conftest.err
28115 } && test -s conftest$ac_exeext &&
28116 $as_test_x conftest$ac_exeext; then
28117 ac_cv_lib_expat_XML_ParserCreate=yes
28118 else
28119 echo "$as_me: failed program was:" >&5
28120 sed 's/^/| /' conftest.$ac_ext >&5
28121
28122 ac_cv_lib_expat_XML_ParserCreate=no
28123 fi
28124
28125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28126 conftest$ac_exeext conftest.$ac_ext
28127 LIBS=$ac_check_lib_save_LIBS
28128 fi
28129 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28130 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28131 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28132 EXPAT_LINK=" -lexpat"
28133 fi
28134
28135 fi
28136 fi
28137 if test "x$EXPAT_LINK" = "x" ; then
28138 if test "$wxUSE_EXPAT" = "sys" ; then
28139 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28140 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28141 { (exit 1); exit 1; }; }
28142 else
28143 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28144 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28145 wxUSE_EXPAT=builtin
28146 fi
28147 else
28148 wxUSE_EXPAT=sys
28149 fi
28150 fi
28151 if test "$wxUSE_EXPAT" = "builtin" ; then
28152 subdirs="$subdirs src/expat"
28153
28154 fi
28155 fi
28156
28157
28158
28159 if test "$wxUSE_LIBMSPACK" != "no"; then
28160 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28161 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28162 if test "${ac_cv_header_mspack_h+set}" = set; then
28163 echo $ECHO_N "(cached) $ECHO_C" >&6
28164 else
28165 cat >conftest.$ac_ext <<_ACEOF
28166 /* confdefs.h. */
28167 _ACEOF
28168 cat confdefs.h >>conftest.$ac_ext
28169 cat >>conftest.$ac_ext <<_ACEOF
28170 /* end confdefs.h. */
28171
28172
28173 #include <mspack.h>
28174 _ACEOF
28175 rm -f conftest.$ac_objext
28176 if { (ac_try="$ac_compile"
28177 case "(($ac_try" in
28178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28179 *) ac_try_echo=$ac_try;;
28180 esac
28181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28182 (eval "$ac_compile") 2>conftest.er1
28183 ac_status=$?
28184 grep -v '^ *+' conftest.er1 >conftest.err
28185 rm -f conftest.er1
28186 cat conftest.err >&5
28187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28188 (exit $ac_status); } && {
28189 test -z "$ac_c_werror_flag" ||
28190 test ! -s conftest.err
28191 } && test -s conftest.$ac_objext; then
28192 ac_cv_header_mspack_h=yes
28193 else
28194 echo "$as_me: failed program was:" >&5
28195 sed 's/^/| /' conftest.$ac_ext >&5
28196
28197 ac_cv_header_mspack_h=no
28198 fi
28199
28200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28201 fi
28202 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28203 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28204 if test $ac_cv_header_mspack_h = yes; then
28205 found_mspack_h=1
28206 fi
28207
28208
28209 if test "x$found_mspack_h" = "x1"; then
28210 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28211 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28212 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28213 echo $ECHO_N "(cached) $ECHO_C" >&6
28214 else
28215 ac_check_lib_save_LIBS=$LIBS
28216 LIBS="-lmspack $LIBS"
28217 cat >conftest.$ac_ext <<_ACEOF
28218 /* confdefs.h. */
28219 _ACEOF
28220 cat confdefs.h >>conftest.$ac_ext
28221 cat >>conftest.$ac_ext <<_ACEOF
28222 /* end confdefs.h. */
28223
28224 /* Override any GCC internal prototype to avoid an error.
28225 Use char because int might match the return type of a GCC
28226 builtin and then its argument prototype would still apply. */
28227 #ifdef __cplusplus
28228 extern "C"
28229 #endif
28230 char mspack_create_chm_decompressor ();
28231 int
28232 main ()
28233 {
28234 return mspack_create_chm_decompressor ();
28235 ;
28236 return 0;
28237 }
28238 _ACEOF
28239 rm -f conftest.$ac_objext conftest$ac_exeext
28240 if { (ac_try="$ac_link"
28241 case "(($ac_try" in
28242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28243 *) ac_try_echo=$ac_try;;
28244 esac
28245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28246 (eval "$ac_link") 2>conftest.er1
28247 ac_status=$?
28248 grep -v '^ *+' conftest.er1 >conftest.err
28249 rm -f conftest.er1
28250 cat conftest.err >&5
28251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28252 (exit $ac_status); } && {
28253 test -z "$ac_c_werror_flag" ||
28254 test ! -s conftest.err
28255 } && test -s conftest$ac_exeext &&
28256 $as_test_x conftest$ac_exeext; then
28257 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28258 else
28259 echo "$as_me: failed program was:" >&5
28260 sed 's/^/| /' conftest.$ac_ext >&5
28261
28262 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28263 fi
28264
28265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28266 conftest$ac_exeext conftest.$ac_ext
28267 LIBS=$ac_check_lib_save_LIBS
28268 fi
28269 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28270 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28271 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28272 MSPACK_LINK=" -lmspack"
28273 fi
28274
28275 fi
28276 if test "x$MSPACK_LINK" = "x" ; then
28277 wxUSE_LIBMSPACK=no
28278 fi
28279 fi
28280
28281 if test "$wxUSE_LIBMSPACK" != "no"; then
28282 cat >>confdefs.h <<\_ACEOF
28283 #define wxUSE_LIBMSPACK 1
28284 _ACEOF
28285
28286 fi
28287
28288
28289
28290 AFMINSTALL=
28291 WIN32INSTALL=
28292
28293 TOOLKIT=
28294 TOOLKIT_INCLUDE=
28295 WIDGET_SET=
28296
28297 if test "$USE_WIN32" = 1 ; then
28298
28299 for ac_header in w32api.h
28300 do
28301 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28302 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28304 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28305 echo $ECHO_N "(cached) $ECHO_C" >&6
28306 else
28307 cat >conftest.$ac_ext <<_ACEOF
28308 /* confdefs.h. */
28309 _ACEOF
28310 cat confdefs.h >>conftest.$ac_ext
28311 cat >>conftest.$ac_ext <<_ACEOF
28312 /* end confdefs.h. */
28313
28314
28315 #include <$ac_header>
28316 _ACEOF
28317 rm -f conftest.$ac_objext
28318 if { (ac_try="$ac_compile"
28319 case "(($ac_try" in
28320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28321 *) ac_try_echo=$ac_try;;
28322 esac
28323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28324 (eval "$ac_compile") 2>conftest.er1
28325 ac_status=$?
28326 grep -v '^ *+' conftest.er1 >conftest.err
28327 rm -f conftest.er1
28328 cat conftest.err >&5
28329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28330 (exit $ac_status); } && {
28331 test -z "$ac_c_werror_flag" ||
28332 test ! -s conftest.err
28333 } && test -s conftest.$ac_objext; then
28334 eval "$as_ac_Header=yes"
28335 else
28336 echo "$as_me: failed program was:" >&5
28337 sed 's/^/| /' conftest.$ac_ext >&5
28338
28339 eval "$as_ac_Header=no"
28340 fi
28341
28342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28343 fi
28344 ac_res=`eval echo '${'$as_ac_Header'}'`
28345 { echo "$as_me:$LINENO: result: $ac_res" >&5
28346 echo "${ECHO_T}$ac_res" >&6; }
28347 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28348 cat >>confdefs.h <<_ACEOF
28349 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28350 _ACEOF
28351
28352 fi
28353
28354 done
28355
28356 { echo "$as_me:$LINENO: checking for windows.h" >&5
28357 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28358 if test "${ac_cv_header_windows_h+set}" = set; then
28359 echo $ECHO_N "(cached) $ECHO_C" >&6
28360 else
28361 cat >conftest.$ac_ext <<_ACEOF
28362 /* confdefs.h. */
28363 _ACEOF
28364 cat confdefs.h >>conftest.$ac_ext
28365 cat >>conftest.$ac_ext <<_ACEOF
28366 /* end confdefs.h. */
28367
28368
28369 #include <windows.h>
28370 _ACEOF
28371 rm -f conftest.$ac_objext
28372 if { (ac_try="$ac_compile"
28373 case "(($ac_try" in
28374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28375 *) ac_try_echo=$ac_try;;
28376 esac
28377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28378 (eval "$ac_compile") 2>conftest.er1
28379 ac_status=$?
28380 grep -v '^ *+' conftest.er1 >conftest.err
28381 rm -f conftest.er1
28382 cat conftest.err >&5
28383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28384 (exit $ac_status); } && {
28385 test -z "$ac_c_werror_flag" ||
28386 test ! -s conftest.err
28387 } && test -s conftest.$ac_objext; then
28388 ac_cv_header_windows_h=yes
28389 else
28390 echo "$as_me: failed program was:" >&5
28391 sed 's/^/| /' conftest.$ac_ext >&5
28392
28393 ac_cv_header_windows_h=no
28394 fi
28395
28396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28397 fi
28398 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28399 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28400 if test $ac_cv_header_windows_h = yes; then
28401 :
28402 else
28403
28404 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28405 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28406 { (exit 1); exit 1; }; }
28407
28408 fi
28409
28410
28411
28412 case "${host}" in
28413 x86_64-*-mingw32* )
28414 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28415
28416 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
28417 ;;
28418 * )
28419 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28420 ;;
28421 esac
28422 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28423 LIBS="$LIBS -loleacc"
28424 fi
28425
28426 case "${host}" in
28427 *-*-cygwin* )
28428 LIBS="$LIBS -lkernel32 -luser32"
28429 esac
28430
28431 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28432 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28433
28434 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28435
28436 WIN32INSTALL=win32install
28437
28438 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28439 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28440 if test "${ac_cv_header_pbt_h+set}" = set; then
28441 echo $ECHO_N "(cached) $ECHO_C" >&6
28442 else
28443 cat >conftest.$ac_ext <<_ACEOF
28444 /* confdefs.h. */
28445 _ACEOF
28446 cat confdefs.h >>conftest.$ac_ext
28447 cat >>conftest.$ac_ext <<_ACEOF
28448 /* end confdefs.h. */
28449
28450
28451 #include <pbt.h>
28452 _ACEOF
28453 rm -f conftest.$ac_objext
28454 if { (ac_try="$ac_compile"
28455 case "(($ac_try" in
28456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28457 *) ac_try_echo=$ac_try;;
28458 esac
28459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28460 (eval "$ac_compile") 2>conftest.er1
28461 ac_status=$?
28462 grep -v '^ *+' conftest.er1 >conftest.err
28463 rm -f conftest.er1
28464 cat conftest.err >&5
28465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28466 (exit $ac_status); } && {
28467 test -z "$ac_c_werror_flag" ||
28468 test ! -s conftest.err
28469 } && test -s conftest.$ac_objext; then
28470 ac_cv_header_pbt_h=yes
28471 else
28472 echo "$as_me: failed program was:" >&5
28473 sed 's/^/| /' conftest.$ac_ext >&5
28474
28475 ac_cv_header_pbt_h=no
28476 fi
28477
28478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28479 fi
28480 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28481 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28482 if test $ac_cv_header_pbt_h = yes; then
28483 :
28484 else
28485 cat >>confdefs.h <<\_ACEOF
28486 #define NEED_PBT_H 1
28487 _ACEOF
28488
28489 fi
28490
28491
28492 fi
28493
28494 if test "$wxUSE_GUI" = "yes"; then
28495 USE_GUI=1
28496
28497 GUI_TK_LIBRARY=
28498
28499 WXGTK12=
28500 WXGTK127=
28501 WXGTK2=
28502 WXGPE=
28503
28504 if test "$wxUSE_COCOA" = 1 ; then
28505 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28506 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28507 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28508 wxUSE_PRINTING_ARCHITECTURE=no
28509 fi
28510 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28511 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28512 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28513 wxUSE_DRAG_AND_DROP=no
28514 fi
28515 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28516 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28517 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28518 wxUSE_DRAGIMAGE=no
28519 fi
28520 fi
28521
28522 if test "$wxUSE_MSW" = 1 ; then
28523 TOOLKIT=MSW
28524 GUIDIST=MSW_DIST
28525
28526 case "${host}" in
28527 *-*-mingw32* )
28528 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28529 esac
28530 fi
28531
28532 if test "$wxUSE_GTK" = 1; then
28533 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28534 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28535
28536 gtk_version_cached=1
28537 if test "${wx_cv_lib_gtk+set}" = set; then
28538 echo $ECHO_N "(cached) $ECHO_C" >&6
28539 else
28540
28541 gtk_version_cached=0
28542 { echo "$as_me:$LINENO: result: " >&5
28543 echo "${ECHO_T}" >&6; }
28544
28545 GTK_MODULES=
28546 if test "$wxUSE_THREADS" = "yes"; then
28547 GTK_MODULES=gthread
28548 fi
28549
28550 wx_cv_lib_gtk=
28551 if test "x$wxGTK_VERSION" != "x1"
28552 then
28553 case "${host}" in
28554 *-*-solaris2* )
28555 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28556 enable_gtktest=no
28557 fi
28558 esac
28559
28560 # Check whether --enable-gtktest was given.
28561 if test "${enable_gtktest+set}" = set; then
28562 enableval=$enable_gtktest;
28563 else
28564 enable_gtktest=yes
28565 fi
28566
28567
28568 pkg_config_args=gtk+-2.0
28569 for module in . $GTK_MODULES
28570 do
28571 case "$module" in
28572 gthread)
28573 pkg_config_args="$pkg_config_args gthread-2.0"
28574 ;;
28575 esac
28576 done
28577
28578 no_gtk=""
28579
28580 # Extract the first word of "pkg-config", so it can be a program name with args.
28581 set dummy pkg-config; ac_word=$2
28582 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28584 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28585 echo $ECHO_N "(cached) $ECHO_C" >&6
28586 else
28587 case $PKG_CONFIG in
28588 [\\/]* | ?:[\\/]*)
28589 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28590 ;;
28591 *)
28592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28593 for as_dir in $PATH
28594 do
28595 IFS=$as_save_IFS
28596 test -z "$as_dir" && as_dir=.
28597 for ac_exec_ext in '' $ac_executable_extensions; do
28598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28599 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28601 break 2
28602 fi
28603 done
28604 done
28605 IFS=$as_save_IFS
28606
28607 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28608 ;;
28609 esac
28610 fi
28611 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28612 if test -n "$PKG_CONFIG"; then
28613 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28614 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28615 else
28616 { echo "$as_me:$LINENO: result: no" >&5
28617 echo "${ECHO_T}no" >&6; }
28618 fi
28619
28620
28621
28622 if test x$PKG_CONFIG != xno ; then
28623 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28624 :
28625 else
28626 echo "*** pkg-config too old; version 0.7 or better required."
28627 no_gtk=yes
28628 PKG_CONFIG=no
28629 fi
28630 else
28631 no_gtk=yes
28632 fi
28633
28634 min_gtk_version=2.4.0
28635 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28636 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28637
28638 if test x$PKG_CONFIG != xno ; then
28639 ## don't try to run the test against uninstalled libtool libs
28640 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28641 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28642 enable_gtktest=no
28643 fi
28644
28645 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28646 :
28647 else
28648 no_gtk=yes
28649 fi
28650 fi
28651
28652 if test x"$no_gtk" = x ; then
28653 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28654 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28655 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28656 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28657 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28658 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28659 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28660 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28661 if test "x$enable_gtktest" = "xyes" ; then
28662 ac_save_CFLAGS="$CFLAGS"
28663 ac_save_LIBS="$LIBS"
28664 CFLAGS="$CFLAGS $GTK_CFLAGS"
28665 LIBS="$GTK_LIBS $LIBS"
28666 rm -f conf.gtktest
28667 if test "$cross_compiling" = yes; then
28668 echo $ac_n "cross compiling; assumed OK... $ac_c"
28669 else
28670 cat >conftest.$ac_ext <<_ACEOF
28671 /* confdefs.h. */
28672 _ACEOF
28673 cat confdefs.h >>conftest.$ac_ext
28674 cat >>conftest.$ac_ext <<_ACEOF
28675 /* end confdefs.h. */
28676
28677 #include <gtk/gtk.h>
28678 #include <stdio.h>
28679 #include <stdlib.h>
28680
28681 int
28682 main ()
28683 {
28684 int major, minor, micro;
28685 char *tmp_version;
28686
28687 system ("touch conf.gtktest");
28688
28689 /* HP/UX 9 (%@#!) writes to sscanf strings */
28690 tmp_version = g_strdup("$min_gtk_version");
28691 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28692 printf("%s, bad version string\n", "$min_gtk_version");
28693 exit(1);
28694 }
28695
28696 if ((gtk_major_version != $gtk_config_major_version) ||
28697 (gtk_minor_version != $gtk_config_minor_version) ||
28698 (gtk_micro_version != $gtk_config_micro_version))
28699 {
28700 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28701 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28702 gtk_major_version, gtk_minor_version, gtk_micro_version);
28703 printf ("*** was found! If pkg-config was correct, then it is best\n");
28704 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28705 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28706 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28707 printf("*** required on your system.\n");
28708 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28709 printf("*** to point to the correct configuration files\n");
28710 }
28711 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28712 (gtk_minor_version != GTK_MINOR_VERSION) ||
28713 (gtk_micro_version != GTK_MICRO_VERSION))
28714 {
28715 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28716 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28717 printf("*** library (version %d.%d.%d)\n",
28718 gtk_major_version, gtk_minor_version, gtk_micro_version);
28719 }
28720 else
28721 {
28722 if ((gtk_major_version > major) ||
28723 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28724 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28725 {
28726 return 0;
28727 }
28728 else
28729 {
28730 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28731 gtk_major_version, gtk_minor_version, gtk_micro_version);
28732 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28733 major, minor, micro);
28734 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28735 printf("***\n");
28736 printf("*** If you have already installed a sufficiently new version, this error\n");
28737 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28738 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28739 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28740 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28741 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28742 printf("*** so that the correct libraries are found at run-time))\n");
28743 }
28744 }
28745 return 1;
28746 }
28747
28748 _ACEOF
28749 rm -f conftest$ac_exeext
28750 if { (ac_try="$ac_link"
28751 case "(($ac_try" in
28752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28753 *) ac_try_echo=$ac_try;;
28754 esac
28755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28756 (eval "$ac_link") 2>&5
28757 ac_status=$?
28758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28759 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28760 { (case "(($ac_try" in
28761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28762 *) ac_try_echo=$ac_try;;
28763 esac
28764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28765 (eval "$ac_try") 2>&5
28766 ac_status=$?
28767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28768 (exit $ac_status); }; }; then
28769 :
28770 else
28771 echo "$as_me: program exited with status $ac_status" >&5
28772 echo "$as_me: failed program was:" >&5
28773 sed 's/^/| /' conftest.$ac_ext >&5
28774
28775 ( exit $ac_status )
28776 no_gtk=yes
28777 fi
28778 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28779 fi
28780
28781
28782 CFLAGS="$ac_save_CFLAGS"
28783 LIBS="$ac_save_LIBS"
28784 fi
28785 fi
28786 if test "x$no_gtk" = x ; then
28787 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28788 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28789 wx_cv_lib_gtk=2.0
28790 else
28791 { echo "$as_me:$LINENO: result: no" >&5
28792 echo "${ECHO_T}no" >&6; }
28793 if test "$PKG_CONFIG" = "no" ; then
28794 echo "*** A new enough version of pkg-config was not found."
28795 echo "*** See http://pkgconfig.sourceforge.net"
28796 else
28797 if test -f conf.gtktest ; then
28798 :
28799 else
28800 echo "*** Could not run GTK+ test program, checking why..."
28801 ac_save_CFLAGS="$CFLAGS"
28802 ac_save_LIBS="$LIBS"
28803 CFLAGS="$CFLAGS $GTK_CFLAGS"
28804 LIBS="$LIBS $GTK_LIBS"
28805 cat >conftest.$ac_ext <<_ACEOF
28806 /* confdefs.h. */
28807 _ACEOF
28808 cat confdefs.h >>conftest.$ac_ext
28809 cat >>conftest.$ac_ext <<_ACEOF
28810 /* end confdefs.h. */
28811
28812 #include <gtk/gtk.h>
28813 #include <stdio.h>
28814
28815 int
28816 main ()
28817 {
28818 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28819 ;
28820 return 0;
28821 }
28822 _ACEOF
28823 rm -f conftest.$ac_objext conftest$ac_exeext
28824 if { (ac_try="$ac_link"
28825 case "(($ac_try" in
28826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28827 *) ac_try_echo=$ac_try;;
28828 esac
28829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28830 (eval "$ac_link") 2>conftest.er1
28831 ac_status=$?
28832 grep -v '^ *+' conftest.er1 >conftest.err
28833 rm -f conftest.er1
28834 cat conftest.err >&5
28835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28836 (exit $ac_status); } && {
28837 test -z "$ac_c_werror_flag" ||
28838 test ! -s conftest.err
28839 } && test -s conftest$ac_exeext &&
28840 $as_test_x conftest$ac_exeext; then
28841 echo "*** The test program compiled, but did not run. This usually means"
28842 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28843 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28844 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28845 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28846 echo "*** is required on your system"
28847 echo "***"
28848 echo "*** If you have an old version installed, it is best to remove it, although"
28849 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28850 else
28851 echo "$as_me: failed program was:" >&5
28852 sed 's/^/| /' conftest.$ac_ext >&5
28853
28854 echo "*** The test program failed to compile or link. See the file config.log for the"
28855 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28856 fi
28857
28858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28859 conftest$ac_exeext conftest.$ac_ext
28860 CFLAGS="$ac_save_CFLAGS"
28861 LIBS="$ac_save_LIBS"
28862 fi
28863 fi
28864 GTK_CFLAGS=""
28865 GTK_LIBS=""
28866 :
28867 fi
28868
28869
28870 rm -f conf.gtktest
28871
28872
28873 case "${host}" in
28874 *-*-solaris2* )
28875 if test "$wxUSE_SHARED" != "yes"; then
28876 GTK_LIBS="$GTK_LIBS -lX11"
28877 fi
28878 esac
28879 fi
28880
28881 if test -z "$wx_cv_lib_gtk"; then
28882 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28883
28884 # Check whether --with-gtk-prefix was given.
28885 if test "${with_gtk_prefix+set}" = set; then
28886 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28887 else
28888 gtk_config_prefix=""
28889 fi
28890
28891
28892 # Check whether --with-gtk-exec-prefix was given.
28893 if test "${with_gtk_exec_prefix+set}" = set; then
28894 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28895 else
28896 gtk_config_exec_prefix=""
28897 fi
28898
28899 # Check whether --enable-gtktest was given.
28900 if test "${enable_gtktest+set}" = set; then
28901 enableval=$enable_gtktest;
28902 else
28903 enable_gtktest=yes
28904 fi
28905
28906
28907 for module in . $GTK_MODULES
28908 do
28909 case "$module" in
28910 gthread)
28911 gtk_config_args="$gtk_config_args gthread"
28912 ;;
28913 esac
28914 done
28915
28916 if test x$gtk_config_exec_prefix != x ; then
28917 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28918 if test x${GTK_CONFIG+set} != xset ; then
28919 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28920 fi
28921 fi
28922 if test x$gtk_config_prefix != x ; then
28923 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28924 if test x${GTK_CONFIG+set} != xset ; then
28925 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28926 fi
28927 fi
28928
28929 # Extract the first word of "gtk-config", so it can be a program name with args.
28930 set dummy gtk-config; ac_word=$2
28931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28933 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28934 echo $ECHO_N "(cached) $ECHO_C" >&6
28935 else
28936 case $GTK_CONFIG in
28937 [\\/]* | ?:[\\/]*)
28938 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28939 ;;
28940 *)
28941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28942 for as_dir in $PATH
28943 do
28944 IFS=$as_save_IFS
28945 test -z "$as_dir" && as_dir=.
28946 for ac_exec_ext in '' $ac_executable_extensions; do
28947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28948 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28950 break 2
28951 fi
28952 done
28953 done
28954 IFS=$as_save_IFS
28955
28956 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28957 ;;
28958 esac
28959 fi
28960 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28961 if test -n "$GTK_CONFIG"; then
28962 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28963 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28964 else
28965 { echo "$as_me:$LINENO: result: no" >&5
28966 echo "${ECHO_T}no" >&6; }
28967 fi
28968
28969
28970 min_gtk_version=1.2.7
28971 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28972 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28973 no_gtk=""
28974 if test "$GTK_CONFIG" = "no" ; then
28975 no_gtk=yes
28976 else
28977 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28978 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28979 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28980 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28981 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28982 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28983 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28984 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28985 if test "x$enable_gtktest" = "xyes" ; then
28986 ac_save_CFLAGS="$CFLAGS"
28987 ac_save_LIBS="$LIBS"
28988 CFLAGS="$CFLAGS $GTK_CFLAGS"
28989 LIBS="$GTK_LIBS $LIBS"
28990 rm -f conf.gtktest
28991 if test "$cross_compiling" = yes; then
28992 echo $ac_n "cross compiling; assumed OK... $ac_c"
28993 else
28994 cat >conftest.$ac_ext <<_ACEOF
28995 /* confdefs.h. */
28996 _ACEOF
28997 cat confdefs.h >>conftest.$ac_ext
28998 cat >>conftest.$ac_ext <<_ACEOF
28999 /* end confdefs.h. */
29000
29001 #include <gtk/gtk.h>
29002 #include <stdio.h>
29003 #include <stdlib.h>
29004
29005 int
29006 main ()
29007 {
29008 int major, minor, micro;
29009 char *tmp_version;
29010
29011 system ("touch conf.gtktest");
29012
29013 /* HP/UX 9 (%@#!) writes to sscanf strings */
29014 tmp_version = g_strdup("$min_gtk_version");
29015 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29016 printf("%s, bad version string\n", "$min_gtk_version");
29017 exit(1);
29018 }
29019
29020 if ((gtk_major_version != $gtk_config_major_version) ||
29021 (gtk_minor_version != $gtk_config_minor_version) ||
29022 (gtk_micro_version != $gtk_config_micro_version))
29023 {
29024 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29025 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29026 gtk_major_version, gtk_minor_version, gtk_micro_version);
29027 printf ("*** was found! If gtk-config was correct, then it is best\n");
29028 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29029 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29030 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29031 printf("*** required on your system.\n");
29032 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29033 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29034 printf("*** before re-running configure\n");
29035 }
29036 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29037 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29038 (gtk_minor_version != GTK_MINOR_VERSION) ||
29039 (gtk_micro_version != GTK_MICRO_VERSION))
29040 {
29041 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29042 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29043 printf("*** library (version %d.%d.%d)\n",
29044 gtk_major_version, gtk_minor_version, gtk_micro_version);
29045 }
29046 #endif /* defined (GTK_MAJOR_VERSION) ... */
29047 else
29048 {
29049 if ((gtk_major_version > major) ||
29050 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29051 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29052 {
29053 return 0;
29054 }
29055 else
29056 {
29057 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29058 gtk_major_version, gtk_minor_version, gtk_micro_version);
29059 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29060 major, minor, micro);
29061 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29062 printf("***\n");
29063 printf("*** If you have already installed a sufficiently new version, this error\n");
29064 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29065 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29066 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29067 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29068 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29069 printf("*** so that the correct libraries are found at run-time))\n");
29070 }
29071 }
29072 return 1;
29073 }
29074
29075 _ACEOF
29076 rm -f conftest$ac_exeext
29077 if { (ac_try="$ac_link"
29078 case "(($ac_try" in
29079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29080 *) ac_try_echo=$ac_try;;
29081 esac
29082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29083 (eval "$ac_link") 2>&5
29084 ac_status=$?
29085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29086 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29087 { (case "(($ac_try" in
29088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29089 *) ac_try_echo=$ac_try;;
29090 esac
29091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29092 (eval "$ac_try") 2>&5
29093 ac_status=$?
29094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29095 (exit $ac_status); }; }; then
29096 :
29097 else
29098 echo "$as_me: program exited with status $ac_status" >&5
29099 echo "$as_me: failed program was:" >&5
29100 sed 's/^/| /' conftest.$ac_ext >&5
29101
29102 ( exit $ac_status )
29103 no_gtk=yes
29104 fi
29105 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29106 fi
29107
29108
29109 CFLAGS="$ac_save_CFLAGS"
29110 LIBS="$ac_save_LIBS"
29111 fi
29112 fi
29113 if test "x$no_gtk" = x ; then
29114 { echo "$as_me:$LINENO: result: yes" >&5
29115 echo "${ECHO_T}yes" >&6; }
29116 wx_cv_lib_gtk=1.2.7
29117 else
29118 { echo "$as_me:$LINENO: result: no" >&5
29119 echo "${ECHO_T}no" >&6; }
29120 if test "$GTK_CONFIG" = "no" ; then
29121 echo "*** The gtk-config script installed by GTK could not be found"
29122 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29123 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29124 echo "*** full path to gtk-config."
29125 else
29126 if test -f conf.gtktest ; then
29127 :
29128 else
29129 echo "*** Could not run GTK test program, checking why..."
29130 CFLAGS="$CFLAGS $GTK_CFLAGS"
29131 LIBS="$LIBS $GTK_LIBS"
29132 cat >conftest.$ac_ext <<_ACEOF
29133 /* confdefs.h. */
29134 _ACEOF
29135 cat confdefs.h >>conftest.$ac_ext
29136 cat >>conftest.$ac_ext <<_ACEOF
29137 /* end confdefs.h. */
29138
29139 #include <gtk/gtk.h>
29140 #include <stdio.h>
29141
29142 int
29143 main ()
29144 {
29145 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29146 ;
29147 return 0;
29148 }
29149 _ACEOF
29150 rm -f conftest.$ac_objext conftest$ac_exeext
29151 if { (ac_try="$ac_link"
29152 case "(($ac_try" in
29153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29154 *) ac_try_echo=$ac_try;;
29155 esac
29156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29157 (eval "$ac_link") 2>conftest.er1
29158 ac_status=$?
29159 grep -v '^ *+' conftest.er1 >conftest.err
29160 rm -f conftest.er1
29161 cat conftest.err >&5
29162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163 (exit $ac_status); } && {
29164 test -z "$ac_c_werror_flag" ||
29165 test ! -s conftest.err
29166 } && test -s conftest$ac_exeext &&
29167 $as_test_x conftest$ac_exeext; then
29168 echo "*** The test program compiled, but did not run. This usually means"
29169 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29170 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29171 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29172 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29173 echo "*** is required on your system"
29174 echo "***"
29175 echo "*** If you have an old version installed, it is best to remove it, although"
29176 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29177 echo "***"
29178 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29179 echo "*** came with the system with the command"
29180 echo "***"
29181 echo "*** rpm --erase --nodeps gtk gtk-devel"
29182 else
29183 echo "$as_me: failed program was:" >&5
29184 sed 's/^/| /' conftest.$ac_ext >&5
29185
29186 echo "*** The test program failed to compile or link. See the file config.log for the"
29187 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29188 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29189 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29190 fi
29191
29192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29193 conftest$ac_exeext conftest.$ac_ext
29194 CFLAGS="$ac_save_CFLAGS"
29195 LIBS="$ac_save_LIBS"
29196 fi
29197 fi
29198 GTK_CFLAGS=""
29199 GTK_LIBS=""
29200 :
29201 fi
29202
29203
29204 rm -f conf.gtktest
29205
29206
29207 if test -z "$wx_cv_lib_gtk"; then
29208
29209 # Check whether --with-gtk-prefix was given.
29210 if test "${with_gtk_prefix+set}" = set; then
29211 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29212 else
29213 gtk_config_prefix=""
29214 fi
29215
29216
29217 # Check whether --with-gtk-exec-prefix was given.
29218 if test "${with_gtk_exec_prefix+set}" = set; then
29219 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29220 else
29221 gtk_config_exec_prefix=""
29222 fi
29223
29224 # Check whether --enable-gtktest was given.
29225 if test "${enable_gtktest+set}" = set; then
29226 enableval=$enable_gtktest;
29227 else
29228 enable_gtktest=yes
29229 fi
29230
29231
29232 for module in . $GTK_MODULES
29233 do
29234 case "$module" in
29235 gthread)
29236 gtk_config_args="$gtk_config_args gthread"
29237 ;;
29238 esac
29239 done
29240
29241 if test x$gtk_config_exec_prefix != x ; then
29242 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29243 if test x${GTK_CONFIG+set} != xset ; then
29244 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29245 fi
29246 fi
29247 if test x$gtk_config_prefix != x ; then
29248 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29249 if test x${GTK_CONFIG+set} != xset ; then
29250 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29251 fi
29252 fi
29253
29254 # Extract the first word of "gtk-config", so it can be a program name with args.
29255 set dummy gtk-config; ac_word=$2
29256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29258 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29259 echo $ECHO_N "(cached) $ECHO_C" >&6
29260 else
29261 case $GTK_CONFIG in
29262 [\\/]* | ?:[\\/]*)
29263 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29264 ;;
29265 *)
29266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29267 for as_dir in $PATH
29268 do
29269 IFS=$as_save_IFS
29270 test -z "$as_dir" && as_dir=.
29271 for ac_exec_ext in '' $ac_executable_extensions; do
29272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29273 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29275 break 2
29276 fi
29277 done
29278 done
29279 IFS=$as_save_IFS
29280
29281 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29282 ;;
29283 esac
29284 fi
29285 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29286 if test -n "$GTK_CONFIG"; then
29287 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29288 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29289 else
29290 { echo "$as_me:$LINENO: result: no" >&5
29291 echo "${ECHO_T}no" >&6; }
29292 fi
29293
29294
29295 min_gtk_version=1.2.3
29296 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29297 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29298 no_gtk=""
29299 if test "$GTK_CONFIG" = "no" ; then
29300 no_gtk=yes
29301 else
29302 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29303 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29304 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29305 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29306 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29307 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29308 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29309 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29310 if test "x$enable_gtktest" = "xyes" ; then
29311 ac_save_CFLAGS="$CFLAGS"
29312 ac_save_LIBS="$LIBS"
29313 CFLAGS="$CFLAGS $GTK_CFLAGS"
29314 LIBS="$GTK_LIBS $LIBS"
29315 rm -f conf.gtktest
29316 if test "$cross_compiling" = yes; then
29317 echo $ac_n "cross compiling; assumed OK... $ac_c"
29318 else
29319 cat >conftest.$ac_ext <<_ACEOF
29320 /* confdefs.h. */
29321 _ACEOF
29322 cat confdefs.h >>conftest.$ac_ext
29323 cat >>conftest.$ac_ext <<_ACEOF
29324 /* end confdefs.h. */
29325
29326 #include <gtk/gtk.h>
29327 #include <stdio.h>
29328 #include <stdlib.h>
29329
29330 int
29331 main ()
29332 {
29333 int major, minor, micro;
29334 char *tmp_version;
29335
29336 system ("touch conf.gtktest");
29337
29338 /* HP/UX 9 (%@#!) writes to sscanf strings */
29339 tmp_version = g_strdup("$min_gtk_version");
29340 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29341 printf("%s, bad version string\n", "$min_gtk_version");
29342 exit(1);
29343 }
29344
29345 if ((gtk_major_version != $gtk_config_major_version) ||
29346 (gtk_minor_version != $gtk_config_minor_version) ||
29347 (gtk_micro_version != $gtk_config_micro_version))
29348 {
29349 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29350 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29351 gtk_major_version, gtk_minor_version, gtk_micro_version);
29352 printf ("*** was found! If gtk-config was correct, then it is best\n");
29353 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29354 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29355 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29356 printf("*** required on your system.\n");
29357 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29358 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29359 printf("*** before re-running configure\n");
29360 }
29361 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29362 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29363 (gtk_minor_version != GTK_MINOR_VERSION) ||
29364 (gtk_micro_version != GTK_MICRO_VERSION))
29365 {
29366 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29367 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29368 printf("*** library (version %d.%d.%d)\n",
29369 gtk_major_version, gtk_minor_version, gtk_micro_version);
29370 }
29371 #endif /* defined (GTK_MAJOR_VERSION) ... */
29372 else
29373 {
29374 if ((gtk_major_version > major) ||
29375 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29376 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29377 {
29378 return 0;
29379 }
29380 else
29381 {
29382 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29383 gtk_major_version, gtk_minor_version, gtk_micro_version);
29384 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29385 major, minor, micro);
29386 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29387 printf("***\n");
29388 printf("*** If you have already installed a sufficiently new version, this error\n");
29389 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29390 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29391 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29392 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29393 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29394 printf("*** so that the correct libraries are found at run-time))\n");
29395 }
29396 }
29397 return 1;
29398 }
29399
29400 _ACEOF
29401 rm -f conftest$ac_exeext
29402 if { (ac_try="$ac_link"
29403 case "(($ac_try" in
29404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29405 *) ac_try_echo=$ac_try;;
29406 esac
29407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29408 (eval "$ac_link") 2>&5
29409 ac_status=$?
29410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29411 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29412 { (case "(($ac_try" in
29413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29414 *) ac_try_echo=$ac_try;;
29415 esac
29416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29417 (eval "$ac_try") 2>&5
29418 ac_status=$?
29419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29420 (exit $ac_status); }; }; then
29421 :
29422 else
29423 echo "$as_me: program exited with status $ac_status" >&5
29424 echo "$as_me: failed program was:" >&5
29425 sed 's/^/| /' conftest.$ac_ext >&5
29426
29427 ( exit $ac_status )
29428 no_gtk=yes
29429 fi
29430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29431 fi
29432
29433
29434 CFLAGS="$ac_save_CFLAGS"
29435 LIBS="$ac_save_LIBS"
29436 fi
29437 fi
29438 if test "x$no_gtk" = x ; then
29439 { echo "$as_me:$LINENO: result: yes" >&5
29440 echo "${ECHO_T}yes" >&6; }
29441 wx_cv_lib_gtk=1.2.3
29442 else
29443 { echo "$as_me:$LINENO: result: no" >&5
29444 echo "${ECHO_T}no" >&6; }
29445 if test "$GTK_CONFIG" = "no" ; then
29446 echo "*** The gtk-config script installed by GTK could not be found"
29447 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29448 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29449 echo "*** full path to gtk-config."
29450 else
29451 if test -f conf.gtktest ; then
29452 :
29453 else
29454 echo "*** Could not run GTK test program, checking why..."
29455 CFLAGS="$CFLAGS $GTK_CFLAGS"
29456 LIBS="$LIBS $GTK_LIBS"
29457 cat >conftest.$ac_ext <<_ACEOF
29458 /* confdefs.h. */
29459 _ACEOF
29460 cat confdefs.h >>conftest.$ac_ext
29461 cat >>conftest.$ac_ext <<_ACEOF
29462 /* end confdefs.h. */
29463
29464 #include <gtk/gtk.h>
29465 #include <stdio.h>
29466
29467 int
29468 main ()
29469 {
29470 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29471 ;
29472 return 0;
29473 }
29474 _ACEOF
29475 rm -f conftest.$ac_objext conftest$ac_exeext
29476 if { (ac_try="$ac_link"
29477 case "(($ac_try" in
29478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29479 *) ac_try_echo=$ac_try;;
29480 esac
29481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29482 (eval "$ac_link") 2>conftest.er1
29483 ac_status=$?
29484 grep -v '^ *+' conftest.er1 >conftest.err
29485 rm -f conftest.er1
29486 cat conftest.err >&5
29487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29488 (exit $ac_status); } && {
29489 test -z "$ac_c_werror_flag" ||
29490 test ! -s conftest.err
29491 } && test -s conftest$ac_exeext &&
29492 $as_test_x conftest$ac_exeext; then
29493 echo "*** The test program compiled, but did not run. This usually means"
29494 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29495 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29496 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29497 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29498 echo "*** is required on your system"
29499 echo "***"
29500 echo "*** If you have an old version installed, it is best to remove it, although"
29501 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29502 echo "***"
29503 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29504 echo "*** came with the system with the command"
29505 echo "***"
29506 echo "*** rpm --erase --nodeps gtk gtk-devel"
29507 else
29508 echo "$as_me: failed program was:" >&5
29509 sed 's/^/| /' conftest.$ac_ext >&5
29510
29511 echo "*** The test program failed to compile or link. See the file config.log for the"
29512 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29513 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29514 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29515 fi
29516
29517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29518 conftest$ac_exeext conftest.$ac_ext
29519 CFLAGS="$ac_save_CFLAGS"
29520 LIBS="$ac_save_LIBS"
29521 fi
29522 fi
29523 GTK_CFLAGS=""
29524 GTK_LIBS=""
29525 :
29526 fi
29527
29528
29529 rm -f conf.gtktest
29530
29531 fi
29532 fi
29533 fi
29534
29535 if test -z "$wx_cv_lib_gtk"; then
29536 wx_cv_lib_gtk=none
29537 else
29538 wx_cv_cflags_gtk=$GTK_CFLAGS
29539 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29540 fi
29541
29542
29543 fi
29544
29545
29546 if test "$gtk_version_cached" = 1; then
29547 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29548 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29549 fi
29550
29551 case "$wx_cv_lib_gtk" in
29552 2.0) WXGTK2=1
29553 TOOLKIT_VERSION=2
29554 ;;
29555 1.2.7) WXGTK127=1
29556 WXGTK12=1
29557 ;;
29558 1.2.3) WXGTK12=1
29559 ;;
29560 *) { { echo "$as_me:$LINENO: error:
29561 The development files for GTK+ were not found. For GTK+ 2, please
29562 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29563 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29564 and that the version is 1.2.3 or above. Also check that the
29565 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29566 --libs' are in the LD_LIBRARY_PATH or equivalent.
29567 " >&5
29568 echo "$as_me: error:
29569 The development files for GTK+ were not found. For GTK+ 2, please
29570 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29571 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29572 and that the version is 1.2.3 or above. Also check that the
29573 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29574 --libs' are in the LD_LIBRARY_PATH or equivalent.
29575 " >&2;}
29576 { (exit 1); exit 1; }; }
29577 ;;
29578 esac
29579
29580 if test "$WXGTK2" = 1; then
29581 save_CFLAGS="$CFLAGS"
29582 save_LIBS="$LIBS"
29583 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29584 LIBS="$LIBS $wx_cv_libs_gtk"
29585
29586 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
29587 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
29588 cat >conftest.$ac_ext <<_ACEOF
29589 /* confdefs.h. */
29590 _ACEOF
29591 cat confdefs.h >>conftest.$ac_ext
29592 cat >>conftest.$ac_ext <<_ACEOF
29593 /* end confdefs.h. */
29594
29595 #include <gtk/gtk.h>
29596
29597 int
29598 main ()
29599 {
29600
29601 #if !GTK_CHECK_VERSION(2,18,0)
29602 Not GTK+ 2.18
29603 #endif
29604
29605 ;
29606 return 0;
29607 }
29608 _ACEOF
29609 rm -f conftest.$ac_objext
29610 if { (ac_try="$ac_compile"
29611 case "(($ac_try" in
29612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29613 *) ac_try_echo=$ac_try;;
29614 esac
29615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29616 (eval "$ac_compile") 2>conftest.er1
29617 ac_status=$?
29618 grep -v '^ *+' conftest.er1 >conftest.err
29619 rm -f conftest.er1
29620 cat conftest.err >&5
29621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29622 (exit $ac_status); } && {
29623 test -z "$ac_c_werror_flag" ||
29624 test ! -s conftest.err
29625 } && test -s conftest.$ac_objext; then
29626
29627 cat >>confdefs.h <<\_ACEOF
29628 #define __WXGTK218__ 1
29629 _ACEOF
29630
29631 cat >>confdefs.h <<\_ACEOF
29632 #define __WXGTK210__ 1
29633 _ACEOF
29634
29635 cat >>confdefs.h <<\_ACEOF
29636 #define __WXGTK26__ 1
29637 _ACEOF
29638
29639 { echo "$as_me:$LINENO: result: yes" >&5
29640 echo "${ECHO_T}yes" >&6; }
29641 ac_wxgtk218=1
29642
29643 else
29644 echo "$as_me: failed program was:" >&5
29645 sed 's/^/| /' conftest.$ac_ext >&5
29646
29647
29648 { echo "$as_me:$LINENO: result: no" >&5
29649 echo "${ECHO_T}no" >&6; }
29650 ac_wxgtk218=0
29651
29652 fi
29653
29654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29655
29656 if test "$ac_wxgtk218" = 0; then
29657 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29658 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29659 cat >conftest.$ac_ext <<_ACEOF
29660 /* confdefs.h. */
29661 _ACEOF
29662 cat confdefs.h >>conftest.$ac_ext
29663 cat >>conftest.$ac_ext <<_ACEOF
29664 /* end confdefs.h. */
29665
29666 #include <gtk/gtk.h>
29667
29668 int
29669 main ()
29670 {
29671
29672 #if !GTK_CHECK_VERSION(2,10,0)
29673 Not GTK+ 2.10
29674 #endif
29675
29676 ;
29677 return 0;
29678 }
29679 _ACEOF
29680 rm -f conftest.$ac_objext
29681 if { (ac_try="$ac_compile"
29682 case "(($ac_try" in
29683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29684 *) ac_try_echo=$ac_try;;
29685 esac
29686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29687 (eval "$ac_compile") 2>conftest.er1
29688 ac_status=$?
29689 grep -v '^ *+' conftest.er1 >conftest.err
29690 rm -f conftest.er1
29691 cat conftest.err >&5
29692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29693 (exit $ac_status); } && {
29694 test -z "$ac_c_werror_flag" ||
29695 test ! -s conftest.err
29696 } && test -s conftest.$ac_objext; then
29697
29698 cat >>confdefs.h <<\_ACEOF
29699 #define __WXGTK210__ 1
29700 _ACEOF
29701
29702 cat >>confdefs.h <<\_ACEOF
29703 #define __WXGTK26__ 1
29704 _ACEOF
29705
29706 { echo "$as_me:$LINENO: result: yes" >&5
29707 echo "${ECHO_T}yes" >&6; }
29708 ac_wxgtk210=1
29709
29710 else
29711 echo "$as_me: failed program was:" >&5
29712 sed 's/^/| /' conftest.$ac_ext >&5
29713
29714
29715 { echo "$as_me:$LINENO: result: no" >&5
29716 echo "${ECHO_T}no" >&6; }
29717 ac_wxgtk210=0
29718
29719 fi
29720
29721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29722
29723 if test "$ac_wxgtk210" = 0; then
29724 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29725 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29726 cat >conftest.$ac_ext <<_ACEOF
29727 /* confdefs.h. */
29728 _ACEOF
29729 cat confdefs.h >>conftest.$ac_ext
29730 cat >>conftest.$ac_ext <<_ACEOF
29731 /* end confdefs.h. */
29732
29733 #include <gtk/gtk.h>
29734
29735 int
29736 main ()
29737 {
29738
29739 #if !GTK_CHECK_VERSION(2,6,0)
29740 Not GTK+ 2.6
29741 #endif
29742
29743 ;
29744 return 0;
29745 }
29746 _ACEOF
29747 rm -f conftest.$ac_objext
29748 if { (ac_try="$ac_compile"
29749 case "(($ac_try" in
29750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29751 *) ac_try_echo=$ac_try;;
29752 esac
29753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29754 (eval "$ac_compile") 2>conftest.er1
29755 ac_status=$?
29756 grep -v '^ *+' conftest.er1 >conftest.err
29757 rm -f conftest.er1
29758 cat conftest.err >&5
29759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29760 (exit $ac_status); } && {
29761 test -z "$ac_c_werror_flag" ||
29762 test ! -s conftest.err
29763 } && test -s conftest.$ac_objext; then
29764
29765 cat >>confdefs.h <<\_ACEOF
29766 #define __WXGTK26__ 1
29767 _ACEOF
29768
29769 { echo "$as_me:$LINENO: result: yes" >&5
29770 echo "${ECHO_T}yes" >&6; }
29771 ac_wxgtk26=1
29772
29773 else
29774 echo "$as_me: failed program was:" >&5
29775 sed 's/^/| /' conftest.$ac_ext >&5
29776
29777
29778 { echo "$as_me:$LINENO: result: no" >&5
29779 echo "${ECHO_T}no" >&6; }
29780 ac_wxgtk26=0
29781
29782 fi
29783
29784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29785 fi
29786 fi
29787
29788 CFLAGS="$save_CFLAGS"
29789 LIBS="$save_LIBS"
29790 else
29791 if test "$wxUSE_UNICODE" = "yes"; then
29792 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29793 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29794 wxUSE_UNICODE=no
29795 fi
29796
29797 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29798 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29799 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29800 echo $ECHO_N "(cached) $ECHO_C" >&6
29801 else
29802 ac_check_lib_save_LIBS=$LIBS
29803 LIBS="-lgdk $LIBS"
29804 cat >conftest.$ac_ext <<_ACEOF
29805 /* confdefs.h. */
29806 _ACEOF
29807 cat confdefs.h >>conftest.$ac_ext
29808 cat >>conftest.$ac_ext <<_ACEOF
29809 /* end confdefs.h. */
29810
29811 /* Override any GCC internal prototype to avoid an error.
29812 Use char because int might match the return type of a GCC
29813 builtin and then its argument prototype would still apply. */
29814 #ifdef __cplusplus
29815 extern "C"
29816 #endif
29817 char gdk_im_open ();
29818 int
29819 main ()
29820 {
29821 return gdk_im_open ();
29822 ;
29823 return 0;
29824 }
29825 _ACEOF
29826 rm -f conftest.$ac_objext conftest$ac_exeext
29827 if { (ac_try="$ac_link"
29828 case "(($ac_try" in
29829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29830 *) ac_try_echo=$ac_try;;
29831 esac
29832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29833 (eval "$ac_link") 2>conftest.er1
29834 ac_status=$?
29835 grep -v '^ *+' conftest.er1 >conftest.err
29836 rm -f conftest.er1
29837 cat conftest.err >&5
29838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29839 (exit $ac_status); } && {
29840 test -z "$ac_c_werror_flag" ||
29841 test ! -s conftest.err
29842 } && test -s conftest$ac_exeext &&
29843 $as_test_x conftest$ac_exeext; then
29844 ac_cv_lib_gdk_gdk_im_open=yes
29845 else
29846 echo "$as_me: failed program was:" >&5
29847 sed 's/^/| /' conftest.$ac_ext >&5
29848
29849 ac_cv_lib_gdk_gdk_im_open=no
29850 fi
29851
29852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29853 conftest$ac_exeext conftest.$ac_ext
29854 LIBS=$ac_check_lib_save_LIBS
29855 fi
29856 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29857 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29858 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29859 cat >>confdefs.h <<\_ACEOF
29860 #define HAVE_XIM 1
29861 _ACEOF
29862
29863 fi
29864
29865
29866 if test "$USE_DARWIN" != 1; then
29867
29868 for ac_func in poll
29869 do
29870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29871 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29873 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29874 echo $ECHO_N "(cached) $ECHO_C" >&6
29875 else
29876 cat >conftest.$ac_ext <<_ACEOF
29877 /* confdefs.h. */
29878 _ACEOF
29879 cat confdefs.h >>conftest.$ac_ext
29880 cat >>conftest.$ac_ext <<_ACEOF
29881 /* end confdefs.h. */
29882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29884 #define $ac_func innocuous_$ac_func
29885
29886 /* System header to define __stub macros and hopefully few prototypes,
29887 which can conflict with char $ac_func (); below.
29888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29889 <limits.h> exists even on freestanding compilers. */
29890
29891 #ifdef __STDC__
29892 # include <limits.h>
29893 #else
29894 # include <assert.h>
29895 #endif
29896
29897 #undef $ac_func
29898
29899 /* Override any GCC internal prototype to avoid an error.
29900 Use char because int might match the return type of a GCC
29901 builtin and then its argument prototype would still apply. */
29902 #ifdef __cplusplus
29903 extern "C"
29904 #endif
29905 char $ac_func ();
29906 /* The GNU C library defines this for functions which it implements
29907 to always fail with ENOSYS. Some functions are actually named
29908 something starting with __ and the normal name is an alias. */
29909 #if defined __stub_$ac_func || defined __stub___$ac_func
29910 choke me
29911 #endif
29912
29913 int
29914 main ()
29915 {
29916 return $ac_func ();
29917 ;
29918 return 0;
29919 }
29920 _ACEOF
29921 rm -f conftest.$ac_objext conftest$ac_exeext
29922 if { (ac_try="$ac_link"
29923 case "(($ac_try" in
29924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29925 *) ac_try_echo=$ac_try;;
29926 esac
29927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29928 (eval "$ac_link") 2>conftest.er1
29929 ac_status=$?
29930 grep -v '^ *+' conftest.er1 >conftest.err
29931 rm -f conftest.er1
29932 cat conftest.err >&5
29933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29934 (exit $ac_status); } && {
29935 test -z "$ac_c_werror_flag" ||
29936 test ! -s conftest.err
29937 } && test -s conftest$ac_exeext &&
29938 $as_test_x conftest$ac_exeext; then
29939 eval "$as_ac_var=yes"
29940 else
29941 echo "$as_me: failed program was:" >&5
29942 sed 's/^/| /' conftest.$ac_ext >&5
29943
29944 eval "$as_ac_var=no"
29945 fi
29946
29947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29948 conftest$ac_exeext conftest.$ac_ext
29949 fi
29950 ac_res=`eval echo '${'$as_ac_var'}'`
29951 { echo "$as_me:$LINENO: result: $ac_res" >&5
29952 echo "${ECHO_T}$ac_res" >&6; }
29953 if test `eval echo '${'$as_ac_var'}'` = yes; then
29954 cat >>confdefs.h <<_ACEOF
29955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29956 _ACEOF
29957
29958 fi
29959 done
29960
29961 fi
29962 fi
29963
29964 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29965 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29966
29967 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
29968
29969 AFMINSTALL=afminstall
29970 TOOLKIT=GTK
29971 GUIDIST=GTK_DIST
29972
29973 if test "$wxUSE_GPE" = "yes"; then
29974 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29975 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29976
29977 ac_find_libraries=
29978 for ac_dir in $SEARCH_LIB;
29979 do
29980 for ac_extension in a so sl dylib dll.a; do
29981 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29982 ac_find_libraries=$ac_dir
29983 break 2
29984 fi
29985 done
29986 done
29987
29988 if test "$ac_find_libraries" != "" ; then
29989
29990 if test "$ac_find_libraries" = "default location"; then
29991 ac_path_to_link=""
29992 else
29993 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29994 result=$?
29995 if test $result = 0; then
29996 ac_path_to_link=""
29997 else
29998 ac_path_to_link=" -L$ac_find_libraries"
29999 fi
30000 fi
30001
30002 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30003 WXGPE=1
30004 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30005 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30006 else
30007 { echo "$as_me:$LINENO: result: not found" >&5
30008 echo "${ECHO_T}not found" >&6; }
30009 fi
30010
30011 fi
30012 fi
30013
30014 if test "$wxUSE_MGL" = 1; then
30015 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30016 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30017 if test "x$MGL_ROOT" = x ; then
30018 { echo "$as_me:$LINENO: result: not found" >&5
30019 echo "${ECHO_T}not found" >&6; }
30020 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30021 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30022 { (exit 1); exit 1; }; }
30023 else
30024 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30025 echo "${ECHO_T}$MGL_ROOT" >&6; }
30026 fi
30027
30028 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30029 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30030 case "${host}" in
30031 *-*-linux* )
30032 if test "x$wxUSE_SHARED" = xyes ; then
30033 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30034 else
30035 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30036 fi
30037 ;;
30038 *-pc-msdosdjgpp )
30039 mgl_os_candidates="dos32/dj2"
30040 ;;
30041 *)
30042 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30043 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30044 { (exit 1); exit 1; }; }
30045 esac
30046
30047 mgl_lib_type=""
30048 mgl_os=""
30049
30050 for mgl_os_i in $mgl_os_candidates ; do
30051 if test "x$mgl_os" = x ; then
30052 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30053 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30054 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30055 mgl_lib_type=debug
30056 mgl_os=$mgl_os_i
30057 fi
30058 fi
30059 if test "x$mgl_lib_type" = x ; then
30060 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30061 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30062 mgl_lib_type=release
30063 mgl_os=$mgl_os_i
30064 fi
30065 fi
30066 fi
30067 done
30068
30069 if test "x$mgl_os" = x ; then
30070 { echo "$as_me:$LINENO: result: not found" >&5
30071 echo "${ECHO_T}not found" >&6; }
30072 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30073 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30074 { (exit 1); exit 1; }; }
30075 fi
30076 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30077 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30078
30079 wxUSE_UNIVERSAL="yes"
30080
30081 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30082 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30083
30084 AFMINSTALL=afminstall
30085 TOOLKIT=MGL
30086 GUIDIST=MGL_DIST
30087 fi
30088
30089 if test "$wxUSE_DFB" = 1; then
30090
30091
30092 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30093 if test -n "$ac_tool_prefix"; then
30094 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30095 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30098 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30099 echo $ECHO_N "(cached) $ECHO_C" >&6
30100 else
30101 case $PKG_CONFIG in
30102 [\\/]* | ?:[\\/]*)
30103 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30104 ;;
30105 *)
30106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30107 for as_dir in $PATH
30108 do
30109 IFS=$as_save_IFS
30110 test -z "$as_dir" && as_dir=.
30111 for ac_exec_ext in '' $ac_executable_extensions; do
30112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30113 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30115 break 2
30116 fi
30117 done
30118 done
30119 IFS=$as_save_IFS
30120
30121 ;;
30122 esac
30123 fi
30124 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30125 if test -n "$PKG_CONFIG"; then
30126 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30127 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30128 else
30129 { echo "$as_me:$LINENO: result: no" >&5
30130 echo "${ECHO_T}no" >&6; }
30131 fi
30132
30133
30134 fi
30135 if test -z "$ac_cv_path_PKG_CONFIG"; then
30136 ac_pt_PKG_CONFIG=$PKG_CONFIG
30137 # Extract the first word of "pkg-config", so it can be a program name with args.
30138 set dummy pkg-config; ac_word=$2
30139 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30141 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30142 echo $ECHO_N "(cached) $ECHO_C" >&6
30143 else
30144 case $ac_pt_PKG_CONFIG in
30145 [\\/]* | ?:[\\/]*)
30146 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30147 ;;
30148 *)
30149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30150 for as_dir in $PATH
30151 do
30152 IFS=$as_save_IFS
30153 test -z "$as_dir" && as_dir=.
30154 for ac_exec_ext in '' $ac_executable_extensions; do
30155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30156 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30158 break 2
30159 fi
30160 done
30161 done
30162 IFS=$as_save_IFS
30163
30164 ;;
30165 esac
30166 fi
30167 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30168 if test -n "$ac_pt_PKG_CONFIG"; then
30169 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30170 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30171 else
30172 { echo "$as_me:$LINENO: result: no" >&5
30173 echo "${ECHO_T}no" >&6; }
30174 fi
30175
30176 if test "x$ac_pt_PKG_CONFIG" = x; then
30177 PKG_CONFIG=""
30178 else
30179 case $cross_compiling:$ac_tool_warned in
30180 yes:)
30181 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30182 whose name does not start with the host triplet. If you think this
30183 configuration is useful to you, please write to autoconf@gnu.org." >&5
30184 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30185 whose name does not start with the host triplet. If you think this
30186 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30187 ac_tool_warned=yes ;;
30188 esac
30189 PKG_CONFIG=$ac_pt_PKG_CONFIG
30190 fi
30191 else
30192 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30193 fi
30194
30195 fi
30196 if test -n "$PKG_CONFIG"; then
30197 _pkg_min_version=0.9.0
30198 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30199 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30200 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30201 { echo "$as_me:$LINENO: result: yes" >&5
30202 echo "${ECHO_T}yes" >&6; }
30203 else
30204 { echo "$as_me:$LINENO: result: no" >&5
30205 echo "${ECHO_T}no" >&6; }
30206 PKG_CONFIG=""
30207 fi
30208
30209 fi
30210
30211
30212 pkg_failed=no
30213 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30214 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30215
30216 if test -n "$PKG_CONFIG"; then
30217 if test -n "$DIRECTFB_CFLAGS"; then
30218 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30219 else
30220 if test -n "$PKG_CONFIG" && \
30221 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30222 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30223 ac_status=$?
30224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30225 (exit $ac_status); }; then
30226 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30227 else
30228 pkg_failed=yes
30229 fi
30230 fi
30231 else
30232 pkg_failed=untried
30233 fi
30234 if test -n "$PKG_CONFIG"; then
30235 if test -n "$DIRECTFB_LIBS"; then
30236 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30237 else
30238 if test -n "$PKG_CONFIG" && \
30239 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30240 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30241 ac_status=$?
30242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30243 (exit $ac_status); }; then
30244 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30245 else
30246 pkg_failed=yes
30247 fi
30248 fi
30249 else
30250 pkg_failed=untried
30251 fi
30252
30253
30254
30255 if test $pkg_failed = yes; then
30256
30257 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30258 _pkg_short_errors_supported=yes
30259 else
30260 _pkg_short_errors_supported=no
30261 fi
30262 if test $_pkg_short_errors_supported = yes; then
30263 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30264 else
30265 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30266 fi
30267 # Put the nasty error message in config.log where it belongs
30268 echo "$DIRECTFB_PKG_ERRORS" >&5
30269
30270
30271 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30272 echo "$as_me: error: DirectFB not found." >&2;}
30273 { (exit 1); exit 1; }; }
30274
30275
30276 elif test $pkg_failed = untried; then
30277
30278 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30279 echo "$as_me: error: DirectFB not found." >&2;}
30280 { (exit 1); exit 1; }; }
30281
30282
30283 else
30284 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30285 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30286 { echo "$as_me:$LINENO: result: yes" >&5
30287 echo "${ECHO_T}yes" >&6; }
30288
30289 wxUSE_UNIVERSAL="yes"
30290 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30291 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30292 TOOLKIT=DFB
30293 GUIDIST=DFB_DIST
30294
30295 fi
30296 fi
30297
30298 if test "$wxUSE_MICROWIN" = 1; then
30299 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30300 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30301 if test "x$MICROWINDOWS" = x ; then
30302 { echo "$as_me:$LINENO: result: not found" >&5
30303 echo "${ECHO_T}not found" >&6; }
30304 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30305 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30306 { (exit 1); exit 1; }; }
30307 else
30308 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30309 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30310 fi
30311
30312 if test -f $MICROWINDOWS/lib/libmwin.a; then
30313 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30314 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30315 else
30316 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30317 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30318 { (exit 1); exit 1; }; }
30319 fi
30320
30321 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30322 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30323
30324 wxUSE_UNIVERSAL="yes"
30325
30326 AFMINSTALL=afminstall
30327 TOOLKIT=MICROWIN
30328 GUIDIST=MICROWIN_DIST
30329
30330 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30331 fi
30332
30333 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30334 { echo "$as_me:$LINENO: checking for X" >&5
30335 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30336
30337
30338 # Check whether --with-x was given.
30339 if test "${with_x+set}" = set; then
30340 withval=$with_x;
30341 fi
30342
30343 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30344 if test "x$with_x" = xno; then
30345 # The user explicitly disabled X.
30346 have_x=disabled
30347 else
30348 case $x_includes,$x_libraries in #(
30349 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30350 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30351 { (exit 1); exit 1; }; };; #(
30352 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30353 echo $ECHO_N "(cached) $ECHO_C" >&6
30354 else
30355 # One or both of the vars are not set, and there is no cached value.
30356 ac_x_includes=no ac_x_libraries=no
30357 rm -f -r conftest.dir
30358 if mkdir conftest.dir; then
30359 cd conftest.dir
30360 cat >Imakefile <<'_ACEOF'
30361 incroot:
30362 @echo incroot='${INCROOT}'
30363 usrlibdir:
30364 @echo usrlibdir='${USRLIBDIR}'
30365 libdir:
30366 @echo libdir='${LIBDIR}'
30367 _ACEOF
30368 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30369 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30370 for ac_var in incroot usrlibdir libdir; do
30371 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30372 done
30373 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30374 for ac_extension in a so sl; do
30375 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30376 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30377 ac_im_usrlibdir=$ac_im_libdir; break
30378 fi
30379 done
30380 # Screen out bogus values from the imake configuration. They are
30381 # bogus both because they are the default anyway, and because
30382 # using them would break gcc on systems where it needs fixed includes.
30383 case $ac_im_incroot in
30384 /usr/include) ac_x_includes= ;;
30385 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30386 esac
30387 case $ac_im_usrlibdir in
30388 /usr/lib | /lib) ;;
30389 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30390 esac
30391 fi
30392 cd ..
30393 rm -f -r conftest.dir
30394 fi
30395
30396 # Standard set of common directories for X headers.
30397 # Check X11 before X11Rn because it is often a symlink to the current release.
30398 ac_x_header_dirs='
30399 /usr/X11/include
30400 /usr/X11R6/include
30401 /usr/X11R5/include
30402 /usr/X11R4/include
30403
30404 /usr/include/X11
30405 /usr/include/X11R6
30406 /usr/include/X11R5
30407 /usr/include/X11R4
30408
30409 /usr/local/X11/include
30410 /usr/local/X11R6/include
30411 /usr/local/X11R5/include
30412 /usr/local/X11R4/include
30413
30414 /usr/local/include/X11
30415 /usr/local/include/X11R6
30416 /usr/local/include/X11R5
30417 /usr/local/include/X11R4
30418
30419 /usr/X386/include
30420 /usr/x386/include
30421 /usr/XFree86/include/X11
30422
30423 /usr/include
30424 /usr/local/include
30425 /usr/unsupported/include
30426 /usr/athena/include
30427 /usr/local/x11r5/include
30428 /usr/lpp/Xamples/include
30429
30430 /usr/openwin/include
30431 /usr/openwin/share/include'
30432
30433 if test "$ac_x_includes" = no; then
30434 # Guess where to find include files, by looking for Xlib.h.
30435 # First, try using that file with no special directory specified.
30436 cat >conftest.$ac_ext <<_ACEOF
30437 /* confdefs.h. */
30438 _ACEOF
30439 cat confdefs.h >>conftest.$ac_ext
30440 cat >>conftest.$ac_ext <<_ACEOF
30441 /* end confdefs.h. */
30442 #include <X11/Xlib.h>
30443 _ACEOF
30444 if { (ac_try="$ac_cpp conftest.$ac_ext"
30445 case "(($ac_try" in
30446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30447 *) ac_try_echo=$ac_try;;
30448 esac
30449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30450 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30451 ac_status=$?
30452 grep -v '^ *+' conftest.er1 >conftest.err
30453 rm -f conftest.er1
30454 cat conftest.err >&5
30455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30456 (exit $ac_status); } >/dev/null && {
30457 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30458 test ! -s conftest.err
30459 }; then
30460 # We can compile using X headers with no special include directory.
30461 ac_x_includes=
30462 else
30463 echo "$as_me: failed program was:" >&5
30464 sed 's/^/| /' conftest.$ac_ext >&5
30465
30466 for ac_dir in $ac_x_header_dirs; do
30467 if test -r "$ac_dir/X11/Xlib.h"; then
30468 ac_x_includes=$ac_dir
30469 break
30470 fi
30471 done
30472 fi
30473
30474 rm -f conftest.err conftest.$ac_ext
30475 fi # $ac_x_includes = no
30476
30477 if test "$ac_x_libraries" = no; then
30478 # Check for the libraries.
30479 # See if we find them without any special options.
30480 # Don't add to $LIBS permanently.
30481 ac_save_LIBS=$LIBS
30482 LIBS="-lX11 $LIBS"
30483 cat >conftest.$ac_ext <<_ACEOF
30484 /* confdefs.h. */
30485 _ACEOF
30486 cat confdefs.h >>conftest.$ac_ext
30487 cat >>conftest.$ac_ext <<_ACEOF
30488 /* end confdefs.h. */
30489 #include <X11/Xlib.h>
30490 int
30491 main ()
30492 {
30493 XrmInitialize ()
30494 ;
30495 return 0;
30496 }
30497 _ACEOF
30498 rm -f conftest.$ac_objext conftest$ac_exeext
30499 if { (ac_try="$ac_link"
30500 case "(($ac_try" in
30501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30502 *) ac_try_echo=$ac_try;;
30503 esac
30504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30505 (eval "$ac_link") 2>conftest.er1
30506 ac_status=$?
30507 grep -v '^ *+' conftest.er1 >conftest.err
30508 rm -f conftest.er1
30509 cat conftest.err >&5
30510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30511 (exit $ac_status); } && {
30512 test -z "$ac_c_werror_flag" ||
30513 test ! -s conftest.err
30514 } && test -s conftest$ac_exeext &&
30515 $as_test_x conftest$ac_exeext; then
30516 LIBS=$ac_save_LIBS
30517 # We can link X programs with no special library path.
30518 ac_x_libraries=
30519 else
30520 echo "$as_me: failed program was:" >&5
30521 sed 's/^/| /' conftest.$ac_ext >&5
30522
30523 LIBS=$ac_save_LIBS
30524 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30525 do
30526 # Don't even attempt the hair of trying to link an X program!
30527 for ac_extension in a so sl; do
30528 if test -r "$ac_dir/libX11.$ac_extension"; then
30529 ac_x_libraries=$ac_dir
30530 break 2
30531 fi
30532 done
30533 done
30534 fi
30535
30536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30537 conftest$ac_exeext conftest.$ac_ext
30538 fi # $ac_x_libraries = no
30539
30540 case $ac_x_includes,$ac_x_libraries in #(
30541 no,* | *,no | *\'*)
30542 # Didn't find X, or a directory has "'" in its name.
30543 ac_cv_have_x="have_x=no";; #(
30544 *)
30545 # Record where we found X for the cache.
30546 ac_cv_have_x="have_x=yes\
30547 ac_x_includes='$ac_x_includes'\
30548 ac_x_libraries='$ac_x_libraries'"
30549 esac
30550 fi
30551 ;; #(
30552 *) have_x=yes;;
30553 esac
30554 eval "$ac_cv_have_x"
30555 fi # $with_x != no
30556
30557 if test "$have_x" != yes; then
30558 { echo "$as_me:$LINENO: result: $have_x" >&5
30559 echo "${ECHO_T}$have_x" >&6; }
30560 no_x=yes
30561 else
30562 # If each of the values was on the command line, it overrides each guess.
30563 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30564 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30565 # Update the cache value to reflect the command line values.
30566 ac_cv_have_x="have_x=yes\
30567 ac_x_includes='$x_includes'\
30568 ac_x_libraries='$x_libraries'"
30569 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30570 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30571 fi
30572
30573 if test "$no_x" = yes; then
30574 # Not all programs may use this symbol, but it does not hurt to define it.
30575
30576 cat >>confdefs.h <<\_ACEOF
30577 #define X_DISPLAY_MISSING 1
30578 _ACEOF
30579
30580 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30581 else
30582 if test -n "$x_includes"; then
30583 X_CFLAGS="$X_CFLAGS -I$x_includes"
30584 fi
30585
30586 # It would also be nice to do this for all -L options, not just this one.
30587 if test -n "$x_libraries"; then
30588 X_LIBS="$X_LIBS -L$x_libraries"
30589 # For Solaris; some versions of Sun CC require a space after -R and
30590 # others require no space. Words are not sufficient . . . .
30591 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30592 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30593 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30594 ac_xsave_c_werror_flag=$ac_c_werror_flag
30595 ac_c_werror_flag=yes
30596 cat >conftest.$ac_ext <<_ACEOF
30597 /* confdefs.h. */
30598 _ACEOF
30599 cat confdefs.h >>conftest.$ac_ext
30600 cat >>conftest.$ac_ext <<_ACEOF
30601 /* end confdefs.h. */
30602
30603 int
30604 main ()
30605 {
30606
30607 ;
30608 return 0;
30609 }
30610 _ACEOF
30611 rm -f conftest.$ac_objext conftest$ac_exeext
30612 if { (ac_try="$ac_link"
30613 case "(($ac_try" in
30614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30615 *) ac_try_echo=$ac_try;;
30616 esac
30617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30618 (eval "$ac_link") 2>conftest.er1
30619 ac_status=$?
30620 grep -v '^ *+' conftest.er1 >conftest.err
30621 rm -f conftest.er1
30622 cat conftest.err >&5
30623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30624 (exit $ac_status); } && {
30625 test -z "$ac_c_werror_flag" ||
30626 test ! -s conftest.err
30627 } && test -s conftest$ac_exeext &&
30628 $as_test_x conftest$ac_exeext; then
30629 { echo "$as_me:$LINENO: result: no" >&5
30630 echo "${ECHO_T}no" >&6; }
30631 X_LIBS="$X_LIBS -R$x_libraries"
30632 else
30633 echo "$as_me: failed program was:" >&5
30634 sed 's/^/| /' conftest.$ac_ext >&5
30635
30636 LIBS="$ac_xsave_LIBS -R $x_libraries"
30637 cat >conftest.$ac_ext <<_ACEOF
30638 /* confdefs.h. */
30639 _ACEOF
30640 cat confdefs.h >>conftest.$ac_ext
30641 cat >>conftest.$ac_ext <<_ACEOF
30642 /* end confdefs.h. */
30643
30644 int
30645 main ()
30646 {
30647
30648 ;
30649 return 0;
30650 }
30651 _ACEOF
30652 rm -f conftest.$ac_objext conftest$ac_exeext
30653 if { (ac_try="$ac_link"
30654 case "(($ac_try" in
30655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30656 *) ac_try_echo=$ac_try;;
30657 esac
30658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30659 (eval "$ac_link") 2>conftest.er1
30660 ac_status=$?
30661 grep -v '^ *+' conftest.er1 >conftest.err
30662 rm -f conftest.er1
30663 cat conftest.err >&5
30664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30665 (exit $ac_status); } && {
30666 test -z "$ac_c_werror_flag" ||
30667 test ! -s conftest.err
30668 } && test -s conftest$ac_exeext &&
30669 $as_test_x conftest$ac_exeext; then
30670 { echo "$as_me:$LINENO: result: yes" >&5
30671 echo "${ECHO_T}yes" >&6; }
30672 X_LIBS="$X_LIBS -R $x_libraries"
30673 else
30674 echo "$as_me: failed program was:" >&5
30675 sed 's/^/| /' conftest.$ac_ext >&5
30676
30677 { echo "$as_me:$LINENO: result: neither works" >&5
30678 echo "${ECHO_T}neither works" >&6; }
30679 fi
30680
30681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30682 conftest$ac_exeext conftest.$ac_ext
30683 fi
30684
30685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30686 conftest$ac_exeext conftest.$ac_ext
30687 ac_c_werror_flag=$ac_xsave_c_werror_flag
30688 LIBS=$ac_xsave_LIBS
30689 fi
30690
30691 # Check for system-dependent libraries X programs must link with.
30692 # Do this before checking for the system-independent R6 libraries
30693 # (-lICE), since we may need -lsocket or whatever for X linking.
30694
30695 if test "$ISC" = yes; then
30696 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30697 else
30698 # Martyn Johnson says this is needed for Ultrix, if the X
30699 # libraries were built with DECnet support. And Karl Berry says
30700 # the Alpha needs dnet_stub (dnet does not exist).
30701 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30702 cat >conftest.$ac_ext <<_ACEOF
30703 /* confdefs.h. */
30704 _ACEOF
30705 cat confdefs.h >>conftest.$ac_ext
30706 cat >>conftest.$ac_ext <<_ACEOF
30707 /* end confdefs.h. */
30708
30709 /* Override any GCC internal prototype to avoid an error.
30710 Use char because int might match the return type of a GCC
30711 builtin and then its argument prototype would still apply. */
30712 #ifdef __cplusplus
30713 extern "C"
30714 #endif
30715 char XOpenDisplay ();
30716 int
30717 main ()
30718 {
30719 return XOpenDisplay ();
30720 ;
30721 return 0;
30722 }
30723 _ACEOF
30724 rm -f conftest.$ac_objext conftest$ac_exeext
30725 if { (ac_try="$ac_link"
30726 case "(($ac_try" in
30727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30728 *) ac_try_echo=$ac_try;;
30729 esac
30730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30731 (eval "$ac_link") 2>conftest.er1
30732 ac_status=$?
30733 grep -v '^ *+' conftest.er1 >conftest.err
30734 rm -f conftest.er1
30735 cat conftest.err >&5
30736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737 (exit $ac_status); } && {
30738 test -z "$ac_c_werror_flag" ||
30739 test ! -s conftest.err
30740 } && test -s conftest$ac_exeext &&
30741 $as_test_x conftest$ac_exeext; then
30742 :
30743 else
30744 echo "$as_me: failed program was:" >&5
30745 sed 's/^/| /' conftest.$ac_ext >&5
30746
30747 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30748 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30749 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30750 echo $ECHO_N "(cached) $ECHO_C" >&6
30751 else
30752 ac_check_lib_save_LIBS=$LIBS
30753 LIBS="-ldnet $LIBS"
30754 cat >conftest.$ac_ext <<_ACEOF
30755 /* confdefs.h. */
30756 _ACEOF
30757 cat confdefs.h >>conftest.$ac_ext
30758 cat >>conftest.$ac_ext <<_ACEOF
30759 /* end confdefs.h. */
30760
30761 /* Override any GCC internal prototype to avoid an error.
30762 Use char because int might match the return type of a GCC
30763 builtin and then its argument prototype would still apply. */
30764 #ifdef __cplusplus
30765 extern "C"
30766 #endif
30767 char dnet_ntoa ();
30768 int
30769 main ()
30770 {
30771 return dnet_ntoa ();
30772 ;
30773 return 0;
30774 }
30775 _ACEOF
30776 rm -f conftest.$ac_objext conftest$ac_exeext
30777 if { (ac_try="$ac_link"
30778 case "(($ac_try" in
30779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30780 *) ac_try_echo=$ac_try;;
30781 esac
30782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30783 (eval "$ac_link") 2>conftest.er1
30784 ac_status=$?
30785 grep -v '^ *+' conftest.er1 >conftest.err
30786 rm -f conftest.er1
30787 cat conftest.err >&5
30788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30789 (exit $ac_status); } && {
30790 test -z "$ac_c_werror_flag" ||
30791 test ! -s conftest.err
30792 } && test -s conftest$ac_exeext &&
30793 $as_test_x conftest$ac_exeext; then
30794 ac_cv_lib_dnet_dnet_ntoa=yes
30795 else
30796 echo "$as_me: failed program was:" >&5
30797 sed 's/^/| /' conftest.$ac_ext >&5
30798
30799 ac_cv_lib_dnet_dnet_ntoa=no
30800 fi
30801
30802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30803 conftest$ac_exeext conftest.$ac_ext
30804 LIBS=$ac_check_lib_save_LIBS
30805 fi
30806 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30807 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30808 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30809 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30810 fi
30811
30812 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30813 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30814 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30815 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30816 echo $ECHO_N "(cached) $ECHO_C" >&6
30817 else
30818 ac_check_lib_save_LIBS=$LIBS
30819 LIBS="-ldnet_stub $LIBS"
30820 cat >conftest.$ac_ext <<_ACEOF
30821 /* confdefs.h. */
30822 _ACEOF
30823 cat confdefs.h >>conftest.$ac_ext
30824 cat >>conftest.$ac_ext <<_ACEOF
30825 /* end confdefs.h. */
30826
30827 /* Override any GCC internal prototype to avoid an error.
30828 Use char because int might match the return type of a GCC
30829 builtin and then its argument prototype would still apply. */
30830 #ifdef __cplusplus
30831 extern "C"
30832 #endif
30833 char dnet_ntoa ();
30834 int
30835 main ()
30836 {
30837 return dnet_ntoa ();
30838 ;
30839 return 0;
30840 }
30841 _ACEOF
30842 rm -f conftest.$ac_objext conftest$ac_exeext
30843 if { (ac_try="$ac_link"
30844 case "(($ac_try" in
30845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30846 *) ac_try_echo=$ac_try;;
30847 esac
30848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30849 (eval "$ac_link") 2>conftest.er1
30850 ac_status=$?
30851 grep -v '^ *+' conftest.er1 >conftest.err
30852 rm -f conftest.er1
30853 cat conftest.err >&5
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); } && {
30856 test -z "$ac_c_werror_flag" ||
30857 test ! -s conftest.err
30858 } && test -s conftest$ac_exeext &&
30859 $as_test_x conftest$ac_exeext; then
30860 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30861 else
30862 echo "$as_me: failed program was:" >&5
30863 sed 's/^/| /' conftest.$ac_ext >&5
30864
30865 ac_cv_lib_dnet_stub_dnet_ntoa=no
30866 fi
30867
30868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30869 conftest$ac_exeext conftest.$ac_ext
30870 LIBS=$ac_check_lib_save_LIBS
30871 fi
30872 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30873 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30874 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30875 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30876 fi
30877
30878 fi
30879 fi
30880
30881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30882 conftest$ac_exeext conftest.$ac_ext
30883 LIBS="$ac_xsave_LIBS"
30884
30885 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30886 # to get the SysV transport functions.
30887 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30888 # needs -lnsl.
30889 # The nsl library prevents programs from opening the X display
30890 # on Irix 5.2, according to T.E. Dickey.
30891 # The functions gethostbyname, getservbyname, and inet_addr are
30892 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30893 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30894 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30895 if test "${ac_cv_func_gethostbyname+set}" = set; then
30896 echo $ECHO_N "(cached) $ECHO_C" >&6
30897 else
30898 cat >conftest.$ac_ext <<_ACEOF
30899 /* confdefs.h. */
30900 _ACEOF
30901 cat confdefs.h >>conftest.$ac_ext
30902 cat >>conftest.$ac_ext <<_ACEOF
30903 /* end confdefs.h. */
30904 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30906 #define gethostbyname innocuous_gethostbyname
30907
30908 /* System header to define __stub macros and hopefully few prototypes,
30909 which can conflict with char gethostbyname (); below.
30910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30911 <limits.h> exists even on freestanding compilers. */
30912
30913 #ifdef __STDC__
30914 # include <limits.h>
30915 #else
30916 # include <assert.h>
30917 #endif
30918
30919 #undef gethostbyname
30920
30921 /* Override any GCC internal prototype to avoid an error.
30922 Use char because int might match the return type of a GCC
30923 builtin and then its argument prototype would still apply. */
30924 #ifdef __cplusplus
30925 extern "C"
30926 #endif
30927 char gethostbyname ();
30928 /* The GNU C library defines this for functions which it implements
30929 to always fail with ENOSYS. Some functions are actually named
30930 something starting with __ and the normal name is an alias. */
30931 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30932 choke me
30933 #endif
30934
30935 int
30936 main ()
30937 {
30938 return gethostbyname ();
30939 ;
30940 return 0;
30941 }
30942 _ACEOF
30943 rm -f conftest.$ac_objext conftest$ac_exeext
30944 if { (ac_try="$ac_link"
30945 case "(($ac_try" in
30946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30947 *) ac_try_echo=$ac_try;;
30948 esac
30949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30950 (eval "$ac_link") 2>conftest.er1
30951 ac_status=$?
30952 grep -v '^ *+' conftest.er1 >conftest.err
30953 rm -f conftest.er1
30954 cat conftest.err >&5
30955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30956 (exit $ac_status); } && {
30957 test -z "$ac_c_werror_flag" ||
30958 test ! -s conftest.err
30959 } && test -s conftest$ac_exeext &&
30960 $as_test_x conftest$ac_exeext; then
30961 ac_cv_func_gethostbyname=yes
30962 else
30963 echo "$as_me: failed program was:" >&5
30964 sed 's/^/| /' conftest.$ac_ext >&5
30965
30966 ac_cv_func_gethostbyname=no
30967 fi
30968
30969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30970 conftest$ac_exeext conftest.$ac_ext
30971 fi
30972 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30973 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30974
30975 if test $ac_cv_func_gethostbyname = no; then
30976 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30977 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30978 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30979 echo $ECHO_N "(cached) $ECHO_C" >&6
30980 else
30981 ac_check_lib_save_LIBS=$LIBS
30982 LIBS="-lnsl $LIBS"
30983 cat >conftest.$ac_ext <<_ACEOF
30984 /* confdefs.h. */
30985 _ACEOF
30986 cat confdefs.h >>conftest.$ac_ext
30987 cat >>conftest.$ac_ext <<_ACEOF
30988 /* end confdefs.h. */
30989
30990 /* Override any GCC internal prototype to avoid an error.
30991 Use char because int might match the return type of a GCC
30992 builtin and then its argument prototype would still apply. */
30993 #ifdef __cplusplus
30994 extern "C"
30995 #endif
30996 char gethostbyname ();
30997 int
30998 main ()
30999 {
31000 return gethostbyname ();
31001 ;
31002 return 0;
31003 }
31004 _ACEOF
31005 rm -f conftest.$ac_objext conftest$ac_exeext
31006 if { (ac_try="$ac_link"
31007 case "(($ac_try" in
31008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31009 *) ac_try_echo=$ac_try;;
31010 esac
31011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31012 (eval "$ac_link") 2>conftest.er1
31013 ac_status=$?
31014 grep -v '^ *+' conftest.er1 >conftest.err
31015 rm -f conftest.er1
31016 cat conftest.err >&5
31017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31018 (exit $ac_status); } && {
31019 test -z "$ac_c_werror_flag" ||
31020 test ! -s conftest.err
31021 } && test -s conftest$ac_exeext &&
31022 $as_test_x conftest$ac_exeext; then
31023 ac_cv_lib_nsl_gethostbyname=yes
31024 else
31025 echo "$as_me: failed program was:" >&5
31026 sed 's/^/| /' conftest.$ac_ext >&5
31027
31028 ac_cv_lib_nsl_gethostbyname=no
31029 fi
31030
31031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31032 conftest$ac_exeext conftest.$ac_ext
31033 LIBS=$ac_check_lib_save_LIBS
31034 fi
31035 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31036 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31037 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31038 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31039 fi
31040
31041 if test $ac_cv_lib_nsl_gethostbyname = no; then
31042 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31043 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31044 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31045 echo $ECHO_N "(cached) $ECHO_C" >&6
31046 else
31047 ac_check_lib_save_LIBS=$LIBS
31048 LIBS="-lbsd $LIBS"
31049 cat >conftest.$ac_ext <<_ACEOF
31050 /* confdefs.h. */
31051 _ACEOF
31052 cat confdefs.h >>conftest.$ac_ext
31053 cat >>conftest.$ac_ext <<_ACEOF
31054 /* end confdefs.h. */
31055
31056 /* Override any GCC internal prototype to avoid an error.
31057 Use char because int might match the return type of a GCC
31058 builtin and then its argument prototype would still apply. */
31059 #ifdef __cplusplus
31060 extern "C"
31061 #endif
31062 char gethostbyname ();
31063 int
31064 main ()
31065 {
31066 return gethostbyname ();
31067 ;
31068 return 0;
31069 }
31070 _ACEOF
31071 rm -f conftest.$ac_objext conftest$ac_exeext
31072 if { (ac_try="$ac_link"
31073 case "(($ac_try" in
31074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31075 *) ac_try_echo=$ac_try;;
31076 esac
31077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31078 (eval "$ac_link") 2>conftest.er1
31079 ac_status=$?
31080 grep -v '^ *+' conftest.er1 >conftest.err
31081 rm -f conftest.er1
31082 cat conftest.err >&5
31083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31084 (exit $ac_status); } && {
31085 test -z "$ac_c_werror_flag" ||
31086 test ! -s conftest.err
31087 } && test -s conftest$ac_exeext &&
31088 $as_test_x conftest$ac_exeext; then
31089 ac_cv_lib_bsd_gethostbyname=yes
31090 else
31091 echo "$as_me: failed program was:" >&5
31092 sed 's/^/| /' conftest.$ac_ext >&5
31093
31094 ac_cv_lib_bsd_gethostbyname=no
31095 fi
31096
31097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31098 conftest$ac_exeext conftest.$ac_ext
31099 LIBS=$ac_check_lib_save_LIBS
31100 fi
31101 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31102 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31103 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31104 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31105 fi
31106
31107 fi
31108 fi
31109
31110 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31111 # socket/setsockopt and other routines are undefined under SCO ODT
31112 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31113 # on later versions), says Simon Leinen: it contains gethostby*
31114 # variants that don't use the name server (or something). -lsocket
31115 # must be given before -lnsl if both are needed. We assume that
31116 # if connect needs -lnsl, so does gethostbyname.
31117 { echo "$as_me:$LINENO: checking for connect" >&5
31118 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31119 if test "${ac_cv_func_connect+set}" = set; then
31120 echo $ECHO_N "(cached) $ECHO_C" >&6
31121 else
31122 cat >conftest.$ac_ext <<_ACEOF
31123 /* confdefs.h. */
31124 _ACEOF
31125 cat confdefs.h >>conftest.$ac_ext
31126 cat >>conftest.$ac_ext <<_ACEOF
31127 /* end confdefs.h. */
31128 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31130 #define connect innocuous_connect
31131
31132 /* System header to define __stub macros and hopefully few prototypes,
31133 which can conflict with char connect (); below.
31134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31135 <limits.h> exists even on freestanding compilers. */
31136
31137 #ifdef __STDC__
31138 # include <limits.h>
31139 #else
31140 # include <assert.h>
31141 #endif
31142
31143 #undef connect
31144
31145 /* Override any GCC internal prototype to avoid an error.
31146 Use char because int might match the return type of a GCC
31147 builtin and then its argument prototype would still apply. */
31148 #ifdef __cplusplus
31149 extern "C"
31150 #endif
31151 char connect ();
31152 /* The GNU C library defines this for functions which it implements
31153 to always fail with ENOSYS. Some functions are actually named
31154 something starting with __ and the normal name is an alias. */
31155 #if defined __stub_connect || defined __stub___connect
31156 choke me
31157 #endif
31158
31159 int
31160 main ()
31161 {
31162 return connect ();
31163 ;
31164 return 0;
31165 }
31166 _ACEOF
31167 rm -f conftest.$ac_objext conftest$ac_exeext
31168 if { (ac_try="$ac_link"
31169 case "(($ac_try" in
31170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31171 *) ac_try_echo=$ac_try;;
31172 esac
31173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31174 (eval "$ac_link") 2>conftest.er1
31175 ac_status=$?
31176 grep -v '^ *+' conftest.er1 >conftest.err
31177 rm -f conftest.er1
31178 cat conftest.err >&5
31179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 (exit $ac_status); } && {
31181 test -z "$ac_c_werror_flag" ||
31182 test ! -s conftest.err
31183 } && test -s conftest$ac_exeext &&
31184 $as_test_x conftest$ac_exeext; then
31185 ac_cv_func_connect=yes
31186 else
31187 echo "$as_me: failed program was:" >&5
31188 sed 's/^/| /' conftest.$ac_ext >&5
31189
31190 ac_cv_func_connect=no
31191 fi
31192
31193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31194 conftest$ac_exeext conftest.$ac_ext
31195 fi
31196 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31197 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31198
31199 if test $ac_cv_func_connect = no; then
31200 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31201 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31202 if test "${ac_cv_lib_socket_connect+set}" = set; then
31203 echo $ECHO_N "(cached) $ECHO_C" >&6
31204 else
31205 ac_check_lib_save_LIBS=$LIBS
31206 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31207 cat >conftest.$ac_ext <<_ACEOF
31208 /* confdefs.h. */
31209 _ACEOF
31210 cat confdefs.h >>conftest.$ac_ext
31211 cat >>conftest.$ac_ext <<_ACEOF
31212 /* end confdefs.h. */
31213
31214 /* Override any GCC internal prototype to avoid an error.
31215 Use char because int might match the return type of a GCC
31216 builtin and then its argument prototype would still apply. */
31217 #ifdef __cplusplus
31218 extern "C"
31219 #endif
31220 char connect ();
31221 int
31222 main ()
31223 {
31224 return connect ();
31225 ;
31226 return 0;
31227 }
31228 _ACEOF
31229 rm -f conftest.$ac_objext conftest$ac_exeext
31230 if { (ac_try="$ac_link"
31231 case "(($ac_try" in
31232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31233 *) ac_try_echo=$ac_try;;
31234 esac
31235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31236 (eval "$ac_link") 2>conftest.er1
31237 ac_status=$?
31238 grep -v '^ *+' conftest.er1 >conftest.err
31239 rm -f conftest.er1
31240 cat conftest.err >&5
31241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242 (exit $ac_status); } && {
31243 test -z "$ac_c_werror_flag" ||
31244 test ! -s conftest.err
31245 } && test -s conftest$ac_exeext &&
31246 $as_test_x conftest$ac_exeext; then
31247 ac_cv_lib_socket_connect=yes
31248 else
31249 echo "$as_me: failed program was:" >&5
31250 sed 's/^/| /' conftest.$ac_ext >&5
31251
31252 ac_cv_lib_socket_connect=no
31253 fi
31254
31255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31256 conftest$ac_exeext conftest.$ac_ext
31257 LIBS=$ac_check_lib_save_LIBS
31258 fi
31259 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31260 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31261 if test $ac_cv_lib_socket_connect = yes; then
31262 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31263 fi
31264
31265 fi
31266
31267 # Guillermo Gomez says -lposix is necessary on A/UX.
31268 { echo "$as_me:$LINENO: checking for remove" >&5
31269 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31270 if test "${ac_cv_func_remove+set}" = set; then
31271 echo $ECHO_N "(cached) $ECHO_C" >&6
31272 else
31273 cat >conftest.$ac_ext <<_ACEOF
31274 /* confdefs.h. */
31275 _ACEOF
31276 cat confdefs.h >>conftest.$ac_ext
31277 cat >>conftest.$ac_ext <<_ACEOF
31278 /* end confdefs.h. */
31279 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31281 #define remove innocuous_remove
31282
31283 /* System header to define __stub macros and hopefully few prototypes,
31284 which can conflict with char remove (); below.
31285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31286 <limits.h> exists even on freestanding compilers. */
31287
31288 #ifdef __STDC__
31289 # include <limits.h>
31290 #else
31291 # include <assert.h>
31292 #endif
31293
31294 #undef remove
31295
31296 /* Override any GCC internal prototype to avoid an error.
31297 Use char because int might match the return type of a GCC
31298 builtin and then its argument prototype would still apply. */
31299 #ifdef __cplusplus
31300 extern "C"
31301 #endif
31302 char remove ();
31303 /* The GNU C library defines this for functions which it implements
31304 to always fail with ENOSYS. Some functions are actually named
31305 something starting with __ and the normal name is an alias. */
31306 #if defined __stub_remove || defined __stub___remove
31307 choke me
31308 #endif
31309
31310 int
31311 main ()
31312 {
31313 return remove ();
31314 ;
31315 return 0;
31316 }
31317 _ACEOF
31318 rm -f conftest.$ac_objext conftest$ac_exeext
31319 if { (ac_try="$ac_link"
31320 case "(($ac_try" in
31321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31322 *) ac_try_echo=$ac_try;;
31323 esac
31324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31325 (eval "$ac_link") 2>conftest.er1
31326 ac_status=$?
31327 grep -v '^ *+' conftest.er1 >conftest.err
31328 rm -f conftest.er1
31329 cat conftest.err >&5
31330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31331 (exit $ac_status); } && {
31332 test -z "$ac_c_werror_flag" ||
31333 test ! -s conftest.err
31334 } && test -s conftest$ac_exeext &&
31335 $as_test_x conftest$ac_exeext; then
31336 ac_cv_func_remove=yes
31337 else
31338 echo "$as_me: failed program was:" >&5
31339 sed 's/^/| /' conftest.$ac_ext >&5
31340
31341 ac_cv_func_remove=no
31342 fi
31343
31344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31345 conftest$ac_exeext conftest.$ac_ext
31346 fi
31347 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31348 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31349
31350 if test $ac_cv_func_remove = no; then
31351 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31352 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31353 if test "${ac_cv_lib_posix_remove+set}" = set; then
31354 echo $ECHO_N "(cached) $ECHO_C" >&6
31355 else
31356 ac_check_lib_save_LIBS=$LIBS
31357 LIBS="-lposix $LIBS"
31358 cat >conftest.$ac_ext <<_ACEOF
31359 /* confdefs.h. */
31360 _ACEOF
31361 cat confdefs.h >>conftest.$ac_ext
31362 cat >>conftest.$ac_ext <<_ACEOF
31363 /* end confdefs.h. */
31364
31365 /* Override any GCC internal prototype to avoid an error.
31366 Use char because int might match the return type of a GCC
31367 builtin and then its argument prototype would still apply. */
31368 #ifdef __cplusplus
31369 extern "C"
31370 #endif
31371 char remove ();
31372 int
31373 main ()
31374 {
31375 return remove ();
31376 ;
31377 return 0;
31378 }
31379 _ACEOF
31380 rm -f conftest.$ac_objext conftest$ac_exeext
31381 if { (ac_try="$ac_link"
31382 case "(($ac_try" in
31383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31384 *) ac_try_echo=$ac_try;;
31385 esac
31386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31387 (eval "$ac_link") 2>conftest.er1
31388 ac_status=$?
31389 grep -v '^ *+' conftest.er1 >conftest.err
31390 rm -f conftest.er1
31391 cat conftest.err >&5
31392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393 (exit $ac_status); } && {
31394 test -z "$ac_c_werror_flag" ||
31395 test ! -s conftest.err
31396 } && test -s conftest$ac_exeext &&
31397 $as_test_x conftest$ac_exeext; then
31398 ac_cv_lib_posix_remove=yes
31399 else
31400 echo "$as_me: failed program was:" >&5
31401 sed 's/^/| /' conftest.$ac_ext >&5
31402
31403 ac_cv_lib_posix_remove=no
31404 fi
31405
31406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31407 conftest$ac_exeext conftest.$ac_ext
31408 LIBS=$ac_check_lib_save_LIBS
31409 fi
31410 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31411 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31412 if test $ac_cv_lib_posix_remove = yes; then
31413 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31414 fi
31415
31416 fi
31417
31418 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31419 { echo "$as_me:$LINENO: checking for shmat" >&5
31420 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31421 if test "${ac_cv_func_shmat+set}" = set; then
31422 echo $ECHO_N "(cached) $ECHO_C" >&6
31423 else
31424 cat >conftest.$ac_ext <<_ACEOF
31425 /* confdefs.h. */
31426 _ACEOF
31427 cat confdefs.h >>conftest.$ac_ext
31428 cat >>conftest.$ac_ext <<_ACEOF
31429 /* end confdefs.h. */
31430 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31432 #define shmat innocuous_shmat
31433
31434 /* System header to define __stub macros and hopefully few prototypes,
31435 which can conflict with char shmat (); below.
31436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31437 <limits.h> exists even on freestanding compilers. */
31438
31439 #ifdef __STDC__
31440 # include <limits.h>
31441 #else
31442 # include <assert.h>
31443 #endif
31444
31445 #undef shmat
31446
31447 /* Override any GCC internal prototype to avoid an error.
31448 Use char because int might match the return type of a GCC
31449 builtin and then its argument prototype would still apply. */
31450 #ifdef __cplusplus
31451 extern "C"
31452 #endif
31453 char shmat ();
31454 /* The GNU C library defines this for functions which it implements
31455 to always fail with ENOSYS. Some functions are actually named
31456 something starting with __ and the normal name is an alias. */
31457 #if defined __stub_shmat || defined __stub___shmat
31458 choke me
31459 #endif
31460
31461 int
31462 main ()
31463 {
31464 return shmat ();
31465 ;
31466 return 0;
31467 }
31468 _ACEOF
31469 rm -f conftest.$ac_objext conftest$ac_exeext
31470 if { (ac_try="$ac_link"
31471 case "(($ac_try" in
31472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31473 *) ac_try_echo=$ac_try;;
31474 esac
31475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31476 (eval "$ac_link") 2>conftest.er1
31477 ac_status=$?
31478 grep -v '^ *+' conftest.er1 >conftest.err
31479 rm -f conftest.er1
31480 cat conftest.err >&5
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); } && {
31483 test -z "$ac_c_werror_flag" ||
31484 test ! -s conftest.err
31485 } && test -s conftest$ac_exeext &&
31486 $as_test_x conftest$ac_exeext; then
31487 ac_cv_func_shmat=yes
31488 else
31489 echo "$as_me: failed program was:" >&5
31490 sed 's/^/| /' conftest.$ac_ext >&5
31491
31492 ac_cv_func_shmat=no
31493 fi
31494
31495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31496 conftest$ac_exeext conftest.$ac_ext
31497 fi
31498 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31499 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31500
31501 if test $ac_cv_func_shmat = no; then
31502 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31503 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31504 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31505 echo $ECHO_N "(cached) $ECHO_C" >&6
31506 else
31507 ac_check_lib_save_LIBS=$LIBS
31508 LIBS="-lipc $LIBS"
31509 cat >conftest.$ac_ext <<_ACEOF
31510 /* confdefs.h. */
31511 _ACEOF
31512 cat confdefs.h >>conftest.$ac_ext
31513 cat >>conftest.$ac_ext <<_ACEOF
31514 /* end confdefs.h. */
31515
31516 /* Override any GCC internal prototype to avoid an error.
31517 Use char because int might match the return type of a GCC
31518 builtin and then its argument prototype would still apply. */
31519 #ifdef __cplusplus
31520 extern "C"
31521 #endif
31522 char shmat ();
31523 int
31524 main ()
31525 {
31526 return shmat ();
31527 ;
31528 return 0;
31529 }
31530 _ACEOF
31531 rm -f conftest.$ac_objext conftest$ac_exeext
31532 if { (ac_try="$ac_link"
31533 case "(($ac_try" in
31534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31535 *) ac_try_echo=$ac_try;;
31536 esac
31537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31538 (eval "$ac_link") 2>conftest.er1
31539 ac_status=$?
31540 grep -v '^ *+' conftest.er1 >conftest.err
31541 rm -f conftest.er1
31542 cat conftest.err >&5
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); } && {
31545 test -z "$ac_c_werror_flag" ||
31546 test ! -s conftest.err
31547 } && test -s conftest$ac_exeext &&
31548 $as_test_x conftest$ac_exeext; then
31549 ac_cv_lib_ipc_shmat=yes
31550 else
31551 echo "$as_me: failed program was:" >&5
31552 sed 's/^/| /' conftest.$ac_ext >&5
31553
31554 ac_cv_lib_ipc_shmat=no
31555 fi
31556
31557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31558 conftest$ac_exeext conftest.$ac_ext
31559 LIBS=$ac_check_lib_save_LIBS
31560 fi
31561 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31562 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31563 if test $ac_cv_lib_ipc_shmat = yes; then
31564 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31565 fi
31566
31567 fi
31568 fi
31569
31570 # Check for libraries that X11R6 Xt/Xaw programs need.
31571 ac_save_LDFLAGS=$LDFLAGS
31572 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31573 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31574 # check for ICE first), but we must link in the order -lSM -lICE or
31575 # we get undefined symbols. So assume we have SM if we have ICE.
31576 # These have to be linked with before -lX11, unlike the other
31577 # libraries we check for below, so use a different variable.
31578 # John Interrante, Karl Berry
31579 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31580 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31581 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31582 echo $ECHO_N "(cached) $ECHO_C" >&6
31583 else
31584 ac_check_lib_save_LIBS=$LIBS
31585 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31586 cat >conftest.$ac_ext <<_ACEOF
31587 /* confdefs.h. */
31588 _ACEOF
31589 cat confdefs.h >>conftest.$ac_ext
31590 cat >>conftest.$ac_ext <<_ACEOF
31591 /* end confdefs.h. */
31592
31593 /* Override any GCC internal prototype to avoid an error.
31594 Use char because int might match the return type of a GCC
31595 builtin and then its argument prototype would still apply. */
31596 #ifdef __cplusplus
31597 extern "C"
31598 #endif
31599 char IceConnectionNumber ();
31600 int
31601 main ()
31602 {
31603 return IceConnectionNumber ();
31604 ;
31605 return 0;
31606 }
31607 _ACEOF
31608 rm -f conftest.$ac_objext conftest$ac_exeext
31609 if { (ac_try="$ac_link"
31610 case "(($ac_try" in
31611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31612 *) ac_try_echo=$ac_try;;
31613 esac
31614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31615 (eval "$ac_link") 2>conftest.er1
31616 ac_status=$?
31617 grep -v '^ *+' conftest.er1 >conftest.err
31618 rm -f conftest.er1
31619 cat conftest.err >&5
31620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31621 (exit $ac_status); } && {
31622 test -z "$ac_c_werror_flag" ||
31623 test ! -s conftest.err
31624 } && test -s conftest$ac_exeext &&
31625 $as_test_x conftest$ac_exeext; then
31626 ac_cv_lib_ICE_IceConnectionNumber=yes
31627 else
31628 echo "$as_me: failed program was:" >&5
31629 sed 's/^/| /' conftest.$ac_ext >&5
31630
31631 ac_cv_lib_ICE_IceConnectionNumber=no
31632 fi
31633
31634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31635 conftest$ac_exeext conftest.$ac_ext
31636 LIBS=$ac_check_lib_save_LIBS
31637 fi
31638 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31639 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31640 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31641 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31642 fi
31643
31644 LDFLAGS=$ac_save_LDFLAGS
31645
31646 fi
31647
31648
31649 if test "$no_x" = "yes"; then
31650 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31651 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31652 { (exit 1); exit 1; }; }
31653 fi
31654
31655 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31656 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31657 AFMINSTALL=afminstall
31658 COMPILED_X_PROGRAM=0
31659
31660 fi
31661
31662 if test "$wxUSE_X11" = 1; then
31663 if test "$wxUSE_NANOX" = "yes"; then
31664 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31665 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31666 if test "x$MICROWIN" = x ; then
31667 { echo "$as_me:$LINENO: result: not found" >&5
31668 echo "${ECHO_T}not found" >&6; }
31669 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31670 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31671 { (exit 1); exit 1; }; }
31672 else
31673 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31674 echo "${ECHO_T}$MICROWIN" >&6; }
31675 cat >>confdefs.h <<\_ACEOF
31676 #define wxUSE_NANOX 1
31677 _ACEOF
31678
31679 fi
31680 fi
31681
31682 if test "$wxUSE_UNICODE" = "yes"; then
31683
31684
31685 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31686 if test -n "$ac_tool_prefix"; then
31687 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31688 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31691 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31692 echo $ECHO_N "(cached) $ECHO_C" >&6
31693 else
31694 case $PKG_CONFIG in
31695 [\\/]* | ?:[\\/]*)
31696 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31697 ;;
31698 *)
31699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31700 for as_dir in $PATH
31701 do
31702 IFS=$as_save_IFS
31703 test -z "$as_dir" && as_dir=.
31704 for ac_exec_ext in '' $ac_executable_extensions; do
31705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31706 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31708 break 2
31709 fi
31710 done
31711 done
31712 IFS=$as_save_IFS
31713
31714 ;;
31715 esac
31716 fi
31717 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31718 if test -n "$PKG_CONFIG"; then
31719 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31720 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31721 else
31722 { echo "$as_me:$LINENO: result: no" >&5
31723 echo "${ECHO_T}no" >&6; }
31724 fi
31725
31726
31727 fi
31728 if test -z "$ac_cv_path_PKG_CONFIG"; then
31729 ac_pt_PKG_CONFIG=$PKG_CONFIG
31730 # Extract the first word of "pkg-config", so it can be a program name with args.
31731 set dummy pkg-config; ac_word=$2
31732 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31734 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31735 echo $ECHO_N "(cached) $ECHO_C" >&6
31736 else
31737 case $ac_pt_PKG_CONFIG in
31738 [\\/]* | ?:[\\/]*)
31739 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31740 ;;
31741 *)
31742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31743 for as_dir in $PATH
31744 do
31745 IFS=$as_save_IFS
31746 test -z "$as_dir" && as_dir=.
31747 for ac_exec_ext in '' $ac_executable_extensions; do
31748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31749 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31751 break 2
31752 fi
31753 done
31754 done
31755 IFS=$as_save_IFS
31756
31757 ;;
31758 esac
31759 fi
31760 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31761 if test -n "$ac_pt_PKG_CONFIG"; then
31762 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31763 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31764 else
31765 { echo "$as_me:$LINENO: result: no" >&5
31766 echo "${ECHO_T}no" >&6; }
31767 fi
31768
31769 if test "x$ac_pt_PKG_CONFIG" = x; then
31770 PKG_CONFIG=""
31771 else
31772 case $cross_compiling:$ac_tool_warned in
31773 yes:)
31774 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31775 whose name does not start with the host triplet. If you think this
31776 configuration is useful to you, please write to autoconf@gnu.org." >&5
31777 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31778 whose name does not start with the host triplet. If you think this
31779 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31780 ac_tool_warned=yes ;;
31781 esac
31782 PKG_CONFIG=$ac_pt_PKG_CONFIG
31783 fi
31784 else
31785 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31786 fi
31787
31788 fi
31789 if test -n "$PKG_CONFIG"; then
31790 _pkg_min_version=0.9.0
31791 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31792 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31793 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31794 { echo "$as_me:$LINENO: result: yes" >&5
31795 echo "${ECHO_T}yes" >&6; }
31796 else
31797 { echo "$as_me:$LINENO: result: no" >&5
31798 echo "${ECHO_T}no" >&6; }
31799 PKG_CONFIG=""
31800 fi
31801
31802 fi
31803
31804
31805 pkg_failed=no
31806 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31807 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31808
31809 if test -n "$PKG_CONFIG"; then
31810 if test -n "$PANGOX_CFLAGS"; then
31811 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31812 else
31813 if test -n "$PKG_CONFIG" && \
31814 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31815 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31816 ac_status=$?
31817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31818 (exit $ac_status); }; then
31819 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31820 else
31821 pkg_failed=yes
31822 fi
31823 fi
31824 else
31825 pkg_failed=untried
31826 fi
31827 if test -n "$PKG_CONFIG"; then
31828 if test -n "$PANGOX_LIBS"; then
31829 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31830 else
31831 if test -n "$PKG_CONFIG" && \
31832 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31833 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31834 ac_status=$?
31835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31836 (exit $ac_status); }; then
31837 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31838 else
31839 pkg_failed=yes
31840 fi
31841 fi
31842 else
31843 pkg_failed=untried
31844 fi
31845
31846
31847
31848 if test $pkg_failed = yes; then
31849
31850 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31851 _pkg_short_errors_supported=yes
31852 else
31853 _pkg_short_errors_supported=no
31854 fi
31855 if test $_pkg_short_errors_supported = yes; then
31856 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31857 else
31858 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31859 fi
31860 # Put the nasty error message in config.log where it belongs
31861 echo "$PANGOX_PKG_ERRORS" >&5
31862
31863
31864 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31865 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31866 { (exit 1); exit 1; }; }
31867
31868
31869 elif test $pkg_failed = untried; then
31870
31871 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31872 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31873 { (exit 1); exit 1; }; }
31874
31875
31876 else
31877 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31878 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31879 { echo "$as_me:$LINENO: result: yes" >&5
31880 echo "${ECHO_T}yes" >&6; }
31881
31882 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31883 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31884 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31885
31886 fi
31887
31888 pkg_failed=no
31889 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31890 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31891
31892 if test -n "$PKG_CONFIG"; then
31893 if test -n "$PANGOFT2_CFLAGS"; then
31894 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31895 else
31896 if test -n "$PKG_CONFIG" && \
31897 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31898 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31899 ac_status=$?
31900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31901 (exit $ac_status); }; then
31902 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31903 else
31904 pkg_failed=yes
31905 fi
31906 fi
31907 else
31908 pkg_failed=untried
31909 fi
31910 if test -n "$PKG_CONFIG"; then
31911 if test -n "$PANGOFT2_LIBS"; then
31912 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31913 else
31914 if test -n "$PKG_CONFIG" && \
31915 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31916 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31917 ac_status=$?
31918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31919 (exit $ac_status); }; then
31920 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31921 else
31922 pkg_failed=yes
31923 fi
31924 fi
31925 else
31926 pkg_failed=untried
31927 fi
31928
31929
31930
31931 if test $pkg_failed = yes; then
31932
31933 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31934 _pkg_short_errors_supported=yes
31935 else
31936 _pkg_short_errors_supported=no
31937 fi
31938 if test $_pkg_short_errors_supported = yes; then
31939 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31940 else
31941 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31942 fi
31943 # Put the nasty error message in config.log where it belongs
31944 echo "$PANGOFT2_PKG_ERRORS" >&5
31945
31946
31947 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31948 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31949 wxUSE_PRINTING_ARCHITECTURE="no"
31950
31951
31952 elif test $pkg_failed = untried; then
31953
31954 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31955 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31956 wxUSE_PRINTING_ARCHITECTURE="no"
31957
31958
31959 else
31960 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31961 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31962 { echo "$as_me:$LINENO: result: yes" >&5
31963 echo "${ECHO_T}yes" >&6; }
31964
31965 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31966 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31967 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31968
31969 fi
31970
31971 pkg_failed=no
31972 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31973 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31974
31975 if test -n "$PKG_CONFIG"; then
31976 if test -n "$PANGOXFT_CFLAGS"; then
31977 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31978 else
31979 if test -n "$PKG_CONFIG" && \
31980 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31981 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31982 ac_status=$?
31983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31984 (exit $ac_status); }; then
31985 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31986 else
31987 pkg_failed=yes
31988 fi
31989 fi
31990 else
31991 pkg_failed=untried
31992 fi
31993 if test -n "$PKG_CONFIG"; then
31994 if test -n "$PANGOXFT_LIBS"; then
31995 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31996 else
31997 if test -n "$PKG_CONFIG" && \
31998 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31999 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32000 ac_status=$?
32001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32002 (exit $ac_status); }; then
32003 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32004 else
32005 pkg_failed=yes
32006 fi
32007 fi
32008 else
32009 pkg_failed=untried
32010 fi
32011
32012
32013
32014 if test $pkg_failed = yes; then
32015
32016 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32017 _pkg_short_errors_supported=yes
32018 else
32019 _pkg_short_errors_supported=no
32020 fi
32021 if test $_pkg_short_errors_supported = yes; then
32022 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32023 else
32024 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32025 fi
32026 # Put the nasty error message in config.log where it belongs
32027 echo "$PANGOXFT_PKG_ERRORS" >&5
32028
32029
32030 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32031 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32032
32033
32034 elif test $pkg_failed = untried; then
32035
32036 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32037 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32038
32039
32040 else
32041 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32042 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32043 { echo "$as_me:$LINENO: result: yes" >&5
32044 echo "${ECHO_T}yes" >&6; }
32045
32046 cat >>confdefs.h <<\_ACEOF
32047 #define HAVE_PANGO_XFT 1
32048 _ACEOF
32049
32050 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32051 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32052 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32053
32054 fi
32055 save_LIBS="$LIBS"
32056 LIBS="$LIBS $PANGOX_LIBS"
32057
32058 for ac_func in pango_font_family_is_monospace
32059 do
32060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32061 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32063 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32064 echo $ECHO_N "(cached) $ECHO_C" >&6
32065 else
32066 cat >conftest.$ac_ext <<_ACEOF
32067 /* confdefs.h. */
32068 _ACEOF
32069 cat confdefs.h >>conftest.$ac_ext
32070 cat >>conftest.$ac_ext <<_ACEOF
32071 /* end confdefs.h. */
32072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32074 #define $ac_func innocuous_$ac_func
32075
32076 /* System header to define __stub macros and hopefully few prototypes,
32077 which can conflict with char $ac_func (); below.
32078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32079 <limits.h> exists even on freestanding compilers. */
32080
32081 #ifdef __STDC__
32082 # include <limits.h>
32083 #else
32084 # include <assert.h>
32085 #endif
32086
32087 #undef $ac_func
32088
32089 /* Override any GCC internal prototype to avoid an error.
32090 Use char because int might match the return type of a GCC
32091 builtin and then its argument prototype would still apply. */
32092 #ifdef __cplusplus
32093 extern "C"
32094 #endif
32095 char $ac_func ();
32096 /* The GNU C library defines this for functions which it implements
32097 to always fail with ENOSYS. Some functions are actually named
32098 something starting with __ and the normal name is an alias. */
32099 #if defined __stub_$ac_func || defined __stub___$ac_func
32100 choke me
32101 #endif
32102
32103 int
32104 main ()
32105 {
32106 return $ac_func ();
32107 ;
32108 return 0;
32109 }
32110 _ACEOF
32111 rm -f conftest.$ac_objext conftest$ac_exeext
32112 if { (ac_try="$ac_link"
32113 case "(($ac_try" in
32114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32115 *) ac_try_echo=$ac_try;;
32116 esac
32117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32118 (eval "$ac_link") 2>conftest.er1
32119 ac_status=$?
32120 grep -v '^ *+' conftest.er1 >conftest.err
32121 rm -f conftest.er1
32122 cat conftest.err >&5
32123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32124 (exit $ac_status); } && {
32125 test -z "$ac_c_werror_flag" ||
32126 test ! -s conftest.err
32127 } && test -s conftest$ac_exeext &&
32128 $as_test_x conftest$ac_exeext; then
32129 eval "$as_ac_var=yes"
32130 else
32131 echo "$as_me: failed program was:" >&5
32132 sed 's/^/| /' conftest.$ac_ext >&5
32133
32134 eval "$as_ac_var=no"
32135 fi
32136
32137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32138 conftest$ac_exeext conftest.$ac_ext
32139 fi
32140 ac_res=`eval echo '${'$as_ac_var'}'`
32141 { echo "$as_me:$LINENO: result: $ac_res" >&5
32142 echo "${ECHO_T}$ac_res" >&6; }
32143 if test `eval echo '${'$as_ac_var'}'` = yes; then
32144 cat >>confdefs.h <<_ACEOF
32145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32146 _ACEOF
32147
32148 fi
32149 done
32150
32151 LIBS="$save_LIBS"
32152 fi
32153
32154 wxUSE_UNIVERSAL="yes"
32155
32156 if test "$wxUSE_NANOX" = "yes"; then
32157 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32158 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"
32159 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32160 else
32161 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32162 fi
32163
32164 TOOLKIT=X11
32165 GUIDIST=X11_DIST
32166 fi
32167
32168 if test "$wxUSE_MOTIF" = 1; then
32169 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32170 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32171
32172 ac_find_includes=
32173 for ac_dir in $SEARCH_INCLUDE /usr/include;
32174 do
32175 if test -f "$ac_dir/Xm/Xm.h"; then
32176 ac_find_includes=$ac_dir
32177 break
32178 fi
32179 done
32180
32181 if test "$ac_find_includes" != "" ; then
32182 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32183 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32184
32185 if test "x$ac_find_includes" = "x/usr/include"; then
32186 ac_path_to_include=""
32187 else
32188 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32189 result=$?
32190 if test $result = 0; then
32191 ac_path_to_include=""
32192 else
32193 ac_path_to_include=" -I$ac_find_includes"
32194 fi
32195 fi
32196
32197 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32198 else
32199 save_CFLAGS=$CFLAGS
32200 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32201
32202 cat >conftest.$ac_ext <<_ACEOF
32203 /* confdefs.h. */
32204 _ACEOF
32205 cat confdefs.h >>conftest.$ac_ext
32206 cat >>conftest.$ac_ext <<_ACEOF
32207 /* end confdefs.h. */
32208
32209 #include <Xm/Xm.h>
32210
32211 int
32212 main ()
32213 {
32214
32215 int version;
32216 version = xmUseVersion;
32217
32218 ;
32219 return 0;
32220 }
32221 _ACEOF
32222 rm -f conftest.$ac_objext
32223 if { (ac_try="$ac_compile"
32224 case "(($ac_try" in
32225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32226 *) ac_try_echo=$ac_try;;
32227 esac
32228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32229 (eval "$ac_compile") 2>conftest.er1
32230 ac_status=$?
32231 grep -v '^ *+' conftest.er1 >conftest.err
32232 rm -f conftest.er1
32233 cat conftest.err >&5
32234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32235 (exit $ac_status); } && {
32236 test -z "$ac_c_werror_flag" ||
32237 test ! -s conftest.err
32238 } && test -s conftest.$ac_objext; then
32239
32240 { echo "$as_me:$LINENO: result: found in default search path" >&5
32241 echo "${ECHO_T}found in default search path" >&6; }
32242 COMPILED_X_PROGRAM=1
32243
32244 else
32245 echo "$as_me: failed program was:" >&5
32246 sed 's/^/| /' conftest.$ac_ext >&5
32247
32248
32249 { echo "$as_me:$LINENO: result: no" >&5
32250 echo "${ECHO_T}no" >&6; }
32251 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32252 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32253 { (exit 1); exit 1; }; }
32254
32255
32256 fi
32257
32258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32259
32260 CFLAGS=$save_CFLAGS
32261 fi
32262
32263
32264 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32265 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32266
32267 ac_find_libraries=
32268 for ac_dir in $SEARCH_LIB;
32269 do
32270 for ac_extension in a so sl dylib dll.a; do
32271 if test -f "$ac_dir/libXm.$ac_extension"; then
32272 ac_find_libraries=$ac_dir
32273 break 2
32274 fi
32275 done
32276 done
32277
32278
32279 if test "x$ac_find_libraries" != "x" ; then
32280 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32281 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32282
32283
32284 if test "$ac_find_libraries" = "default location"; then
32285 ac_path_to_link=""
32286 else
32287 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32288 result=$?
32289 if test $result = 0; then
32290 ac_path_to_link=""
32291 else
32292 ac_path_to_link=" -L$ac_find_libraries"
32293 fi
32294 fi
32295
32296 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32297 else
32298 save_CFLAGS=$CFLAGS
32299 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32300 save_LIBS="$LIBS"
32301 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32302
32303 cat >conftest.$ac_ext <<_ACEOF
32304 /* confdefs.h. */
32305 _ACEOF
32306 cat confdefs.h >>conftest.$ac_ext
32307 cat >>conftest.$ac_ext <<_ACEOF
32308 /* end confdefs.h. */
32309
32310 #include <Xm/Xm.h>
32311
32312 int
32313 main ()
32314 {
32315
32316 int version;
32317 version = xmUseVersion;
32318
32319 ;
32320 return 0;
32321 }
32322 _ACEOF
32323 rm -f conftest.$ac_objext conftest$ac_exeext
32324 if { (ac_try="$ac_link"
32325 case "(($ac_try" in
32326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32327 *) ac_try_echo=$ac_try;;
32328 esac
32329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32330 (eval "$ac_link") 2>conftest.er1
32331 ac_status=$?
32332 grep -v '^ *+' conftest.er1 >conftest.err
32333 rm -f conftest.er1
32334 cat conftest.err >&5
32335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32336 (exit $ac_status); } && {
32337 test -z "$ac_c_werror_flag" ||
32338 test ! -s conftest.err
32339 } && test -s conftest$ac_exeext &&
32340 $as_test_x conftest$ac_exeext; then
32341
32342 { echo "$as_me:$LINENO: result: found in default search path" >&5
32343 echo "${ECHO_T}found in default search path" >&6; }
32344 COMPILED_X_PROGRAM=1
32345
32346 else
32347 echo "$as_me: failed program was:" >&5
32348 sed 's/^/| /' conftest.$ac_ext >&5
32349
32350
32351 { echo "$as_me:$LINENO: result: no" >&5
32352 echo "${ECHO_T}no" >&6; }
32353 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32354 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32355 { (exit 1); exit 1; }; }
32356
32357
32358 fi
32359
32360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32361 conftest$ac_exeext conftest.$ac_ext
32362
32363 CFLAGS=$save_CFLAGS
32364 LIBS="$save_LIBS"
32365 fi
32366
32367 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32368 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32369 libp_link=""
32370 libsm_ice_link=""
32371 libs_found=0
32372 for libp in "" " -lXp"; do
32373 if test "$libs_found" = 0; then
32374 for libsm_ice in "" " -lSM -lICE"; do
32375 if test "$libs_found" = 0; then
32376 save_LIBS="$LIBS"
32377 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32378 save_CFLAGS=$CFLAGS
32379 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32380
32381 cat >conftest.$ac_ext <<_ACEOF
32382 /* confdefs.h. */
32383 _ACEOF
32384 cat confdefs.h >>conftest.$ac_ext
32385 cat >>conftest.$ac_ext <<_ACEOF
32386 /* end confdefs.h. */
32387
32388 #include <Xm/Xm.h>
32389 #include <Xm/List.h>
32390
32391 int
32392 main ()
32393 {
32394
32395 XmString string = NULL;
32396 Widget w = NULL;
32397 int position = 0;
32398 XmListAddItem(w, string, position);
32399
32400 ;
32401 return 0;
32402 }
32403 _ACEOF
32404 rm -f conftest.$ac_objext conftest$ac_exeext
32405 if { (ac_try="$ac_link"
32406 case "(($ac_try" in
32407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32408 *) ac_try_echo=$ac_try;;
32409 esac
32410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32411 (eval "$ac_link") 2>conftest.er1
32412 ac_status=$?
32413 grep -v '^ *+' conftest.er1 >conftest.err
32414 rm -f conftest.er1
32415 cat conftest.err >&5
32416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32417 (exit $ac_status); } && {
32418 test -z "$ac_c_werror_flag" ||
32419 test ! -s conftest.err
32420 } && test -s conftest$ac_exeext &&
32421 $as_test_x conftest$ac_exeext; then
32422
32423 libp_link="$libp"
32424 libsm_ice_link="$libsm_ice"
32425 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32426 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32427 libs_found=1
32428
32429 else
32430 echo "$as_me: failed program was:" >&5
32431 sed 's/^/| /' conftest.$ac_ext >&5
32432
32433
32434
32435 fi
32436
32437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32438 conftest$ac_exeext conftest.$ac_ext
32439
32440 LIBS="$save_LIBS"
32441 CFLAGS=$save_CFLAGS
32442 fi
32443 done
32444 fi
32445 done
32446
32447 if test "$libs_found" = 0; then
32448 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32449 echo "${ECHO_T}can't find the right libraries" >&6; }
32450 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32451 echo "$as_me: error: can't link a simple motif program" >&2;}
32452 { (exit 1); exit 1; }; }
32453 fi
32454
32455 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32456 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32457 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32458 echo $ECHO_N "(cached) $ECHO_C" >&6
32459 else
32460 ac_check_lib_save_LIBS=$LIBS
32461 LIBS="-lSgm $LIBS"
32462 cat >conftest.$ac_ext <<_ACEOF
32463 /* confdefs.h. */
32464 _ACEOF
32465 cat confdefs.h >>conftest.$ac_ext
32466 cat >>conftest.$ac_ext <<_ACEOF
32467 /* end confdefs.h. */
32468
32469 /* Override any GCC internal prototype to avoid an error.
32470 Use char because int might match the return type of a GCC
32471 builtin and then its argument prototype would still apply. */
32472 #ifdef __cplusplus
32473 extern "C"
32474 #endif
32475 char SgCreateList ();
32476 int
32477 main ()
32478 {
32479 return SgCreateList ();
32480 ;
32481 return 0;
32482 }
32483 _ACEOF
32484 rm -f conftest.$ac_objext conftest$ac_exeext
32485 if { (ac_try="$ac_link"
32486 case "(($ac_try" in
32487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32488 *) ac_try_echo=$ac_try;;
32489 esac
32490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32491 (eval "$ac_link") 2>conftest.er1
32492 ac_status=$?
32493 grep -v '^ *+' conftest.er1 >conftest.err
32494 rm -f conftest.er1
32495 cat conftest.err >&5
32496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32497 (exit $ac_status); } && {
32498 test -z "$ac_c_werror_flag" ||
32499 test ! -s conftest.err
32500 } && test -s conftest$ac_exeext &&
32501 $as_test_x conftest$ac_exeext; then
32502 ac_cv_lib_Sgm_SgCreateList=yes
32503 else
32504 echo "$as_me: failed program was:" >&5
32505 sed 's/^/| /' conftest.$ac_ext >&5
32506
32507 ac_cv_lib_Sgm_SgCreateList=no
32508 fi
32509
32510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32511 conftest$ac_exeext conftest.$ac_ext
32512 LIBS=$ac_check_lib_save_LIBS
32513 fi
32514 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32515 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32516 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32517 libsgm_link=" -lSgm"
32518 fi
32519
32520
32521 save_CFLAGS=$CFLAGS
32522 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32523
32524 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32525 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32526 if test "${wx_cv_lib_motif2+set}" = set; then
32527 echo $ECHO_N "(cached) $ECHO_C" >&6
32528 else
32529 cat >conftest.$ac_ext <<_ACEOF
32530 /* confdefs.h. */
32531 _ACEOF
32532 cat confdefs.h >>conftest.$ac_ext
32533 cat >>conftest.$ac_ext <<_ACEOF
32534 /* end confdefs.h. */
32535
32536 #include <Xm/Xm.h>
32537
32538 int
32539 main ()
32540 {
32541
32542 #if XmVersion < 2000
32543 Not Motif 2
32544 #endif
32545
32546 ;
32547 return 0;
32548 }
32549 _ACEOF
32550 rm -f conftest.$ac_objext
32551 if { (ac_try="$ac_compile"
32552 case "(($ac_try" in
32553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32554 *) ac_try_echo=$ac_try;;
32555 esac
32556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32557 (eval "$ac_compile") 2>conftest.er1
32558 ac_status=$?
32559 grep -v '^ *+' conftest.er1 >conftest.err
32560 rm -f conftest.er1
32561 cat conftest.err >&5
32562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32563 (exit $ac_status); } && {
32564 test -z "$ac_c_werror_flag" ||
32565 test ! -s conftest.err
32566 } && test -s conftest.$ac_objext; then
32567 wx_cv_lib_motif2="yes"
32568 else
32569 echo "$as_me: failed program was:" >&5
32570 sed 's/^/| /' conftest.$ac_ext >&5
32571
32572 wx_cv_lib_motif2="no"
32573 fi
32574
32575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32576 fi
32577 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32578 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32579 if test "$wx_cv_lib_motif2" = "yes"; then
32580 cat >>confdefs.h <<\_ACEOF
32581 #define __WXMOTIF20__ 1
32582 _ACEOF
32583
32584 else
32585 cat >>confdefs.h <<\_ACEOF
32586 #define __WXMOTIF20__ 0
32587 _ACEOF
32588
32589 fi
32590
32591 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32592 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32593 if test "${wx_cv_lib_lesstif+set}" = set; then
32594 echo $ECHO_N "(cached) $ECHO_C" >&6
32595 else
32596 cat >conftest.$ac_ext <<_ACEOF
32597 /* confdefs.h. */
32598 _ACEOF
32599 cat confdefs.h >>conftest.$ac_ext
32600 cat >>conftest.$ac_ext <<_ACEOF
32601 /* end confdefs.h. */
32602
32603 #include <Xm/Xm.h>
32604
32605 int
32606 main ()
32607 {
32608
32609 #if !defined(LesstifVersion) || LesstifVersion <= 0
32610 Not Lesstif
32611 #endif
32612
32613 ;
32614 return 0;
32615 }
32616 _ACEOF
32617 rm -f conftest.$ac_objext
32618 if { (ac_try="$ac_compile"
32619 case "(($ac_try" in
32620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32621 *) ac_try_echo=$ac_try;;
32622 esac
32623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32624 (eval "$ac_compile") 2>conftest.er1
32625 ac_status=$?
32626 grep -v '^ *+' conftest.er1 >conftest.err
32627 rm -f conftest.er1
32628 cat conftest.err >&5
32629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32630 (exit $ac_status); } && {
32631 test -z "$ac_c_werror_flag" ||
32632 test ! -s conftest.err
32633 } && test -s conftest.$ac_objext; then
32634 wx_cv_lib_lesstif="yes"
32635 else
32636 echo "$as_me: failed program was:" >&5
32637 sed 's/^/| /' conftest.$ac_ext >&5
32638
32639 wx_cv_lib_lesstif="no"
32640 fi
32641
32642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32643
32644 fi
32645 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32646 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32647 if test "$wx_cv_lib_lesstif" = "yes"; then
32648 cat >>confdefs.h <<\_ACEOF
32649 #define __WXLESSTIF__ 1
32650 _ACEOF
32651
32652 else
32653 cat >>confdefs.h <<\_ACEOF
32654 #define __WXLESSTIF__ 0
32655 _ACEOF
32656
32657 fi
32658
32659 CFLAGS=$save_CFLAGS
32660
32661 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32662 TOOLKIT=MOTIF
32663 GUIDIST=MOTIF_DIST
32664 fi
32665
32666 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32667 if test "$wxUSE_LIBXPM" = "sys"; then
32668 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32669 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32670
32671 ac_find_libraries=
32672 for ac_dir in $SEARCH_LIB;
32673 do
32674 for ac_extension in a so sl dylib dll.a; do
32675 if test -f "$ac_dir/libXpm.$ac_extension"; then
32676 ac_find_libraries=$ac_dir
32677 break 2
32678 fi
32679 done
32680 done
32681
32682 if test "$ac_find_libraries" != "" ; then
32683
32684 if test "$ac_find_libraries" = "default location"; then
32685 ac_path_to_link=""
32686 else
32687 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32688 result=$?
32689 if test $result = 0; then
32690 ac_path_to_link=""
32691 else
32692 ac_path_to_link=" -L$ac_find_libraries"
32693 fi
32694 fi
32695
32696 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32697 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32698 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32699
32700 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32701 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32702 if test "${wx_cv_x11_xpm_h+set}" = set; then
32703 echo $ECHO_N "(cached) $ECHO_C" >&6
32704 else
32705
32706 save_CFLAGS=$CFLAGS
32707 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32708
32709 cat >conftest.$ac_ext <<_ACEOF
32710 /* confdefs.h. */
32711 _ACEOF
32712 cat confdefs.h >>conftest.$ac_ext
32713 cat >>conftest.$ac_ext <<_ACEOF
32714 /* end confdefs.h. */
32715
32716 #include <X11/xpm.h>
32717
32718 int
32719 main ()
32720 {
32721
32722 int version;
32723 version = XpmLibraryVersion();
32724
32725 ;
32726 return 0;
32727 }
32728 _ACEOF
32729 rm -f conftest.$ac_objext
32730 if { (ac_try="$ac_compile"
32731 case "(($ac_try" in
32732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32733 *) ac_try_echo=$ac_try;;
32734 esac
32735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32736 (eval "$ac_compile") 2>conftest.er1
32737 ac_status=$?
32738 grep -v '^ *+' conftest.er1 >conftest.err
32739 rm -f conftest.er1
32740 cat conftest.err >&5
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); } && {
32743 test -z "$ac_c_werror_flag" ||
32744 test ! -s conftest.err
32745 } && test -s conftest.$ac_objext; then
32746 wx_cv_x11_xpm_h=yes
32747 else
32748 echo "$as_me: failed program was:" >&5
32749 sed 's/^/| /' conftest.$ac_ext >&5
32750
32751 wx_cv_x11_xpm_h=no
32752
32753 fi
32754
32755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32756
32757 CFLAGS=$save_CFLAGS
32758
32759
32760 fi
32761 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32762 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32763
32764 if test $wx_cv_x11_xpm_h = "yes"; then
32765 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32766 cat >>confdefs.h <<\_ACEOF
32767 #define wxHAVE_LIB_XPM 1
32768 _ACEOF
32769
32770 else
32771 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32772 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32773 fi
32774 fi
32775
32776 fi
32777
32778 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32779 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32780 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32781 echo $ECHO_N "(cached) $ECHO_C" >&6
32782 else
32783 ac_check_lib_save_LIBS=$LIBS
32784 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32785 cat >conftest.$ac_ext <<_ACEOF
32786 /* confdefs.h. */
32787 _ACEOF
32788 cat confdefs.h >>conftest.$ac_ext
32789 cat >>conftest.$ac_ext <<_ACEOF
32790 /* end confdefs.h. */
32791
32792 /* Override any GCC internal prototype to avoid an error.
32793 Use char because int might match the return type of a GCC
32794 builtin and then its argument prototype would still apply. */
32795 #ifdef __cplusplus
32796 extern "C"
32797 #endif
32798 char XShapeQueryExtension ();
32799 int
32800 main ()
32801 {
32802 return XShapeQueryExtension ();
32803 ;
32804 return 0;
32805 }
32806 _ACEOF
32807 rm -f conftest.$ac_objext conftest$ac_exeext
32808 if { (ac_try="$ac_link"
32809 case "(($ac_try" in
32810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32811 *) ac_try_echo=$ac_try;;
32812 esac
32813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32814 (eval "$ac_link") 2>conftest.er1
32815 ac_status=$?
32816 grep -v '^ *+' conftest.er1 >conftest.err
32817 rm -f conftest.er1
32818 cat conftest.err >&5
32819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32820 (exit $ac_status); } && {
32821 test -z "$ac_c_werror_flag" ||
32822 test ! -s conftest.err
32823 } && test -s conftest$ac_exeext &&
32824 $as_test_x conftest$ac_exeext; then
32825 ac_cv_lib_Xext_XShapeQueryExtension=yes
32826 else
32827 echo "$as_me: failed program was:" >&5
32828 sed 's/^/| /' conftest.$ac_ext >&5
32829
32830 ac_cv_lib_Xext_XShapeQueryExtension=no
32831 fi
32832
32833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32834 conftest$ac_exeext conftest.$ac_ext
32835 LIBS=$ac_check_lib_save_LIBS
32836 fi
32837 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32838 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32839 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32840
32841 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32842 wxHAVE_XEXT_LIB=1
32843
32844 fi
32845
32846
32847 if test "$wxHAVE_XEXT_LIB" = 1; then
32848 save_CFLAGS="$CFLAGS"
32849 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32850
32851 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32852 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32853 cat >conftest.$ac_ext <<_ACEOF
32854 /* confdefs.h. */
32855 _ACEOF
32856 cat confdefs.h >>conftest.$ac_ext
32857 cat >>conftest.$ac_ext <<_ACEOF
32858 /* end confdefs.h. */
32859
32860 #include <X11/Xlib.h>
32861 #include <X11/extensions/shape.h>
32862
32863 int
32864 main ()
32865 {
32866
32867 int dummy1, dummy2;
32868 XShapeQueryExtension((Display*)NULL,
32869 (int*)NULL, (int*)NULL);
32870
32871 ;
32872 return 0;
32873 }
32874 _ACEOF
32875 rm -f conftest.$ac_objext
32876 if { (ac_try="$ac_compile"
32877 case "(($ac_try" in
32878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32879 *) ac_try_echo=$ac_try;;
32880 esac
32881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32882 (eval "$ac_compile") 2>conftest.er1
32883 ac_status=$?
32884 grep -v '^ *+' conftest.er1 >conftest.err
32885 rm -f conftest.er1
32886 cat conftest.err >&5
32887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32888 (exit $ac_status); } && {
32889 test -z "$ac_c_werror_flag" ||
32890 test ! -s conftest.err
32891 } && test -s conftest.$ac_objext; then
32892
32893 cat >>confdefs.h <<\_ACEOF
32894 #define HAVE_XSHAPE 1
32895 _ACEOF
32896
32897 { echo "$as_me:$LINENO: result: found" >&5
32898 echo "${ECHO_T}found" >&6; }
32899
32900 else
32901 echo "$as_me: failed program was:" >&5
32902 sed 's/^/| /' conftest.$ac_ext >&5
32903
32904
32905 { echo "$as_me:$LINENO: result: not found" >&5
32906 echo "${ECHO_T}not found" >&6; }
32907
32908 fi
32909
32910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32911 CFLAGS="$save_CFLAGS"
32912
32913 fi
32914 fi
32915
32916 if test "$wxUSE_OSX_CARBON" = 1; then
32917 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32918 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32919 if test "$GCC" = yes; then
32920 { echo "$as_me:$LINENO: result: gcc" >&5
32921 echo "${ECHO_T}gcc" >&6; }
32922 CPPFLAGS_PASCAL="-fpascal-strings"
32923 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32924 { echo "$as_me:$LINENO: result: xlc" >&5
32925 echo "${ECHO_T}xlc" >&6; }
32926 CPPFLAGS_PASCAL="-qmacpstr"
32927 else
32928 { echo "$as_me:$LINENO: result: none" >&5
32929 echo "${ECHO_T}none" >&6; }
32930 fi
32931
32932 if test "x$wxUSE_UNIX" = "xyes"; then
32933 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32934 else
32935 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32936 fi
32937
32938 TOOLKIT=OSX_CARBON
32939 GUIDIST=OSX_CARBON_DIST
32940 WXBASEPORT="_carbon"
32941
32942 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
32943 fi
32944
32945 if test "$wxUSE_OSX_COCOA" = 1; then
32946 TOOLKIT=OSX_COCOA
32947 GUIDIST=OSX_COCOA_DIST
32948
32949 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
32950 fi
32951
32952 if test "$wxUSE_COCOA" = 1; then
32953 TOOLKIT=COCOA
32954 GUIDIST=COCOA_DIST
32955 fi
32956
32957 if test "$wxUSE_PM" = 1; then
32958 TOOLKIT=PM
32959 GUIDIST=PM_DIST
32960 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32961 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32962 if test "${wx_cv_spbcdata+set}" = set; then
32963 echo $ECHO_N "(cached) $ECHO_C" >&6
32964 else
32965
32966 cat >conftest.$ac_ext <<_ACEOF
32967 /* confdefs.h. */
32968 _ACEOF
32969 cat confdefs.h >>conftest.$ac_ext
32970 cat >>conftest.$ac_ext <<_ACEOF
32971 /* end confdefs.h. */
32972
32973 #define INCL_PM
32974 #include <os2.h>
32975
32976 int
32977 main ()
32978 {
32979
32980 SPBCDATA test;
32981
32982 ;
32983 return 0;
32984 }
32985 _ACEOF
32986 rm -f conftest.$ac_objext
32987 if { (ac_try="$ac_compile"
32988 case "(($ac_try" in
32989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32990 *) ac_try_echo=$ac_try;;
32991 esac
32992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32993 (eval "$ac_compile") 2>conftest.er1
32994 ac_status=$?
32995 grep -v '^ *+' conftest.er1 >conftest.err
32996 rm -f conftest.er1
32997 cat conftest.err >&5
32998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32999 (exit $ac_status); } && {
33000 test -z "$ac_c_werror_flag" ||
33001 test ! -s conftest.err
33002 } && test -s conftest.$ac_objext; then
33003 wx_cv_spbcdata=yes
33004 else
33005 echo "$as_me: failed program was:" >&5
33006 sed 's/^/| /' conftest.$ac_ext >&5
33007
33008 wx_cv_spbcdata=no
33009
33010 fi
33011
33012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33013
33014
33015 fi
33016 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33017 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33018
33019 if test $wx_cv_spbcdata = "yes"; then
33020 cat >>confdefs.h <<\_ACEOF
33021 #define HAVE_SPBCDATA 1
33022 _ACEOF
33023
33024 fi
33025 fi
33026
33027 if test "$TOOLKIT" = "PM" ; then
33028 TOOLKIT_DIR="os2"
33029 else
33030 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33031 fi
33032
33033 if test "$wxUSE_UNIVERSAL" = "yes"; then
33034 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33035 WIDGET_SET=univ
33036 fi
33037
33038 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33039 DISTDIR="wx\$(TOOLKIT)"
33040 else
33041 USE_GUI=0
33042
33043 TOOLKIT_DIR="base"
33044
33045 if test "$USE_WIN32" = 1 ; then
33046 TOOLKIT="MSW"
33047 fi
33048
33049 GUIDIST="BASE_DIST"
33050 DISTDIR="wxBase"
33051 fi
33052
33053
33054
33055 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33056 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33057 wxUSE_UNICODE_UTF8=yes
33058 elif test "$USE_OS2" = 1 ; then
33059 wxUSE_UNICODE_UTF8=yes
33060 else
33061 wxUSE_UNICODE_UTF8=no
33062 fi
33063 fi
33064
33065
33066 if test "$wxUSE_GUI" = "yes"; then
33067 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33068
33069 for ac_header in X11/Xlib.h
33070 do
33071 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33072 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33074 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33075 echo $ECHO_N "(cached) $ECHO_C" >&6
33076 else
33077 cat >conftest.$ac_ext <<_ACEOF
33078 /* confdefs.h. */
33079 _ACEOF
33080 cat confdefs.h >>conftest.$ac_ext
33081 cat >>conftest.$ac_ext <<_ACEOF
33082 /* end confdefs.h. */
33083
33084
33085 #include <$ac_header>
33086 _ACEOF
33087 rm -f conftest.$ac_objext
33088 if { (ac_try="$ac_compile"
33089 case "(($ac_try" in
33090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33091 *) ac_try_echo=$ac_try;;
33092 esac
33093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33094 (eval "$ac_compile") 2>conftest.er1
33095 ac_status=$?
33096 grep -v '^ *+' conftest.er1 >conftest.err
33097 rm -f conftest.er1
33098 cat conftest.err >&5
33099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33100 (exit $ac_status); } && {
33101 test -z "$ac_c_werror_flag" ||
33102 test ! -s conftest.err
33103 } && test -s conftest.$ac_objext; then
33104 eval "$as_ac_Header=yes"
33105 else
33106 echo "$as_me: failed program was:" >&5
33107 sed 's/^/| /' conftest.$ac_ext >&5
33108
33109 eval "$as_ac_Header=no"
33110 fi
33111
33112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33113 fi
33114 ac_res=`eval echo '${'$as_ac_Header'}'`
33115 { echo "$as_me:$LINENO: result: $ac_res" >&5
33116 echo "${ECHO_T}$ac_res" >&6; }
33117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33118 cat >>confdefs.h <<_ACEOF
33119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33120 _ACEOF
33121
33122 fi
33123
33124 done
33125
33126
33127 for ac_header in X11/XKBlib.h
33128 do
33129 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33130 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33132 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33133 echo $ECHO_N "(cached) $ECHO_C" >&6
33134 else
33135 cat >conftest.$ac_ext <<_ACEOF
33136 /* confdefs.h. */
33137 _ACEOF
33138 cat confdefs.h >>conftest.$ac_ext
33139 cat >>conftest.$ac_ext <<_ACEOF
33140 /* end confdefs.h. */
33141
33142 #if HAVE_X11_XLIB_H
33143 #include <X11/Xlib.h>
33144 #endif
33145
33146
33147 #include <$ac_header>
33148 _ACEOF
33149 rm -f conftest.$ac_objext
33150 if { (ac_try="$ac_compile"
33151 case "(($ac_try" in
33152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33153 *) ac_try_echo=$ac_try;;
33154 esac
33155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33156 (eval "$ac_compile") 2>conftest.er1
33157 ac_status=$?
33158 grep -v '^ *+' conftest.er1 >conftest.err
33159 rm -f conftest.er1
33160 cat conftest.err >&5
33161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33162 (exit $ac_status); } && {
33163 test -z "$ac_c_werror_flag" ||
33164 test ! -s conftest.err
33165 } && test -s conftest.$ac_objext; then
33166 eval "$as_ac_Header=yes"
33167 else
33168 echo "$as_me: failed program was:" >&5
33169 sed 's/^/| /' conftest.$ac_ext >&5
33170
33171 eval "$as_ac_Header=no"
33172 fi
33173
33174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33175 fi
33176 ac_res=`eval echo '${'$as_ac_Header'}'`
33177 { echo "$as_me:$LINENO: result: $ac_res" >&5
33178 echo "${ECHO_T}$ac_res" >&6; }
33179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33180 cat >>confdefs.h <<_ACEOF
33181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33182 _ACEOF
33183
33184 fi
33185
33186 done
33187
33188 fi
33189 fi
33190
33191
33192
33193 if test "$wxUSE_DISPLAY" = "yes"; then
33194 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33195 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33196 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33197
33198 ac_find_libraries=
33199 for ac_dir in $SEARCH_LIB;
33200 do
33201 for ac_extension in a so sl dylib dll.a; do
33202 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33203 ac_find_libraries=$ac_dir
33204 break 2
33205 fi
33206 done
33207 done
33208
33209 if test "$ac_find_libraries" != "" ; then
33210
33211 if test "$ac_find_libraries" = "default location"; then
33212 ac_path_to_link=""
33213 else
33214 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33215 result=$?
33216 if test $result = 0; then
33217 ac_path_to_link=""
33218 else
33219 ac_path_to_link=" -L$ac_find_libraries"
33220 fi
33221 fi
33222
33223 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33224 LDFLAGS="$LDFLAGS $ac_path_to_link"
33225 fi
33226 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33227 { echo "$as_me:$LINENO: result: yes" >&5
33228 echo "${ECHO_T}yes" >&6; }
33229
33230 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33231 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33232
33233 ac_find_libraries=
33234 for ac_dir in $SEARCH_LIB;
33235 do
33236 for ac_extension in a so sl dylib dll.a; do
33237 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33238 ac_find_libraries=$ac_dir
33239 break 2
33240 fi
33241 done
33242 done
33243
33244 if test "$ac_find_libraries" != "" ; then
33245 { echo "$as_me:$LINENO: result: yes" >&5
33246 echo "${ECHO_T}yes" >&6; }
33247
33248 for ac_header in X11/extensions/xf86vmode.h
33249 do
33250 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33251 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33253 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33254 echo $ECHO_N "(cached) $ECHO_C" >&6
33255 else
33256 cat >conftest.$ac_ext <<_ACEOF
33257 /* confdefs.h. */
33258 _ACEOF
33259 cat confdefs.h >>conftest.$ac_ext
33260 cat >>conftest.$ac_ext <<_ACEOF
33261 /* end confdefs.h. */
33262
33263 #if HAVE_X11_XLIB_H
33264 #include <X11/Xlib.h>
33265 #endif
33266
33267
33268 #include <$ac_header>
33269 _ACEOF
33270 rm -f conftest.$ac_objext
33271 if { (ac_try="$ac_compile"
33272 case "(($ac_try" in
33273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33274 *) ac_try_echo=$ac_try;;
33275 esac
33276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33277 (eval "$ac_compile") 2>conftest.er1
33278 ac_status=$?
33279 grep -v '^ *+' conftest.er1 >conftest.err
33280 rm -f conftest.er1
33281 cat conftest.err >&5
33282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33283 (exit $ac_status); } && {
33284 test -z "$ac_c_werror_flag" ||
33285 test ! -s conftest.err
33286 } && test -s conftest.$ac_objext; then
33287 eval "$as_ac_Header=yes"
33288 else
33289 echo "$as_me: failed program was:" >&5
33290 sed 's/^/| /' conftest.$ac_ext >&5
33291
33292 eval "$as_ac_Header=no"
33293 fi
33294
33295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33296 fi
33297 ac_res=`eval echo '${'$as_ac_Header'}'`
33298 { echo "$as_me:$LINENO: result: $ac_res" >&5
33299 echo "${ECHO_T}$ac_res" >&6; }
33300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33301 cat >>confdefs.h <<_ACEOF
33302 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33303 _ACEOF
33304
33305 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33306
33307 fi
33308
33309 done
33310
33311 else
33312 { echo "$as_me:$LINENO: result: no" >&5
33313 echo "${ECHO_T}no" >&6; }
33314 fi
33315
33316 else
33317 { echo "$as_me:$LINENO: result: no" >&5
33318 echo "${ECHO_T}no" >&6; }
33319 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33320 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33321 wxUSE_DISPLAY="no"
33322 fi
33323 elif test "$wxUSE_MSW" = 1; then
33324 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33325 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33326 if test "${ac_cv_header_ddraw_h+set}" = set; then
33327 echo $ECHO_N "(cached) $ECHO_C" >&6
33328 else
33329 cat >conftest.$ac_ext <<_ACEOF
33330 /* confdefs.h. */
33331 _ACEOF
33332 cat confdefs.h >>conftest.$ac_ext
33333 cat >>conftest.$ac_ext <<_ACEOF
33334 /* end confdefs.h. */
33335 #include <windows.h>
33336
33337 #include <ddraw.h>
33338 _ACEOF
33339 rm -f conftest.$ac_objext
33340 if { (ac_try="$ac_compile"
33341 case "(($ac_try" in
33342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33343 *) ac_try_echo=$ac_try;;
33344 esac
33345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33346 (eval "$ac_compile") 2>conftest.er1
33347 ac_status=$?
33348 grep -v '^ *+' conftest.er1 >conftest.err
33349 rm -f conftest.er1
33350 cat conftest.err >&5
33351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33352 (exit $ac_status); } && {
33353 test -z "$ac_c_werror_flag" ||
33354 test ! -s conftest.err
33355 } && test -s conftest.$ac_objext; then
33356 ac_cv_header_ddraw_h=yes
33357 else
33358 echo "$as_me: failed program was:" >&5
33359 sed 's/^/| /' conftest.$ac_ext >&5
33360
33361 ac_cv_header_ddraw_h=no
33362 fi
33363
33364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33365 fi
33366 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33367 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33368
33369
33370 fi
33371 fi
33372
33373 if test "$wxUSE_DETECT_SM" = "yes"; then
33374 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33375 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33376 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33377
33378 ac_find_libraries=
33379 for ac_dir in $SEARCH_LIB;
33380 do
33381 for ac_extension in a so sl dylib dll.a; do
33382 if test -f "$ac_dir/libSM.$ac_extension"; then
33383 ac_find_libraries=$ac_dir
33384 break 2
33385 fi
33386 done
33387 done
33388
33389 if test "$ac_find_libraries" != "" ; then
33390
33391 if test "$ac_find_libraries" = "default location"; then
33392 ac_path_to_link=""
33393 else
33394 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33395 result=$?
33396 if test $result = 0; then
33397 ac_path_to_link=""
33398 else
33399 ac_path_to_link=" -L$ac_find_libraries"
33400 fi
33401 fi
33402
33403 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33404 LDFLAGS="$LDFLAGS $ac_path_to_link"
33405 fi
33406 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33407 { echo "$as_me:$LINENO: result: yes" >&5
33408 echo "${ECHO_T}yes" >&6; }
33409 else
33410 { echo "$as_me:$LINENO: result: no" >&5
33411 echo "${ECHO_T}no" >&6; }
33412 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33413 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33414 wxUSE_DETECT_SM="no"
33415 fi
33416 else
33417 wxUSE_DETECT_SM="no"
33418 fi
33419 fi
33420
33421
33422
33423 USE_OPENGL=0
33424 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33425
33426
33427 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33428 OPENGL_LIBS="-framework OpenGL -framework AGL"
33429 elif test "$wxUSE_MSW" = 1; then
33430 OPENGL_LIBS="-lopengl32 -lglu32"
33431 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33432
33433 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33434 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33435
33436 ac_find_includes=
33437 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33438 do
33439 if test -f "$ac_dir/GL/gl.h"; then
33440 ac_find_includes=$ac_dir
33441 break
33442 fi
33443 done
33444
33445 if test "$ac_find_includes" != "" ; then
33446 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33447 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33448
33449 if test "x$ac_find_includes" = "x/usr/include"; then
33450 ac_path_to_include=""
33451 else
33452 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33453 result=$?
33454 if test $result = 0; then
33455 ac_path_to_include=""
33456 else
33457 ac_path_to_include=" -I$ac_find_includes"
33458 fi
33459 fi
33460
33461 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33462 else
33463 { echo "$as_me:$LINENO: result: not found" >&5
33464 echo "${ECHO_T}not found" >&6; }
33465 fi
33466
33467 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33468 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33469 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33470 echo $ECHO_N "(cached) $ECHO_C" >&6
33471 else
33472 cat >conftest.$ac_ext <<_ACEOF
33473 /* confdefs.h. */
33474 _ACEOF
33475 cat confdefs.h >>conftest.$ac_ext
33476 cat >>conftest.$ac_ext <<_ACEOF
33477 /* end confdefs.h. */
33478
33479
33480 #include <GL/gl.h>
33481 _ACEOF
33482 rm -f conftest.$ac_objext
33483 if { (ac_try="$ac_compile"
33484 case "(($ac_try" in
33485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33486 *) ac_try_echo=$ac_try;;
33487 esac
33488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33489 (eval "$ac_compile") 2>conftest.er1
33490 ac_status=$?
33491 grep -v '^ *+' conftest.er1 >conftest.err
33492 rm -f conftest.er1
33493 cat conftest.err >&5
33494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33495 (exit $ac_status); } && {
33496 test -z "$ac_c_werror_flag" ||
33497 test ! -s conftest.err
33498 } && test -s conftest.$ac_objext; then
33499 ac_cv_header_GL_gl_h=yes
33500 else
33501 echo "$as_me: failed program was:" >&5
33502 sed 's/^/| /' conftest.$ac_ext >&5
33503
33504 ac_cv_header_GL_gl_h=no
33505 fi
33506
33507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33508 fi
33509 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33510 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33511 if test $ac_cv_header_GL_gl_h = yes; then
33512
33513 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33514 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33515 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33516 echo $ECHO_N "(cached) $ECHO_C" >&6
33517 else
33518 cat >conftest.$ac_ext <<_ACEOF
33519 /* confdefs.h. */
33520 _ACEOF
33521 cat confdefs.h >>conftest.$ac_ext
33522 cat >>conftest.$ac_ext <<_ACEOF
33523 /* end confdefs.h. */
33524
33525
33526 #include <GL/glu.h>
33527 _ACEOF
33528 rm -f conftest.$ac_objext
33529 if { (ac_try="$ac_compile"
33530 case "(($ac_try" in
33531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33532 *) ac_try_echo=$ac_try;;
33533 esac
33534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33535 (eval "$ac_compile") 2>conftest.er1
33536 ac_status=$?
33537 grep -v '^ *+' conftest.er1 >conftest.err
33538 rm -f conftest.er1
33539 cat conftest.err >&5
33540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33541 (exit $ac_status); } && {
33542 test -z "$ac_c_werror_flag" ||
33543 test ! -s conftest.err
33544 } && test -s conftest.$ac_objext; then
33545 ac_cv_header_GL_glu_h=yes
33546 else
33547 echo "$as_me: failed program was:" >&5
33548 sed 's/^/| /' conftest.$ac_ext >&5
33549
33550 ac_cv_header_GL_glu_h=no
33551 fi
33552
33553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33554 fi
33555 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33556 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33557 if test $ac_cv_header_GL_glu_h = yes; then
33558
33559 found_gl=0
33560
33561 { echo "$as_me:$LINENO: checking for -lGL" >&5
33562 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33563
33564 ac_find_libraries=
33565 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33566 do
33567 for ac_extension in a so sl dylib dll.a; do
33568 if test -f "$ac_dir/libGL.$ac_extension"; then
33569 ac_find_libraries=$ac_dir
33570 break 2
33571 fi
33572 done
33573 done
33574
33575 if test "$ac_find_libraries" != "" ; then
33576 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33577 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33578
33579
33580 if test "$ac_find_libraries" = "default location"; then
33581 ac_path_to_link=""
33582 else
33583 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33584 result=$?
33585 if test $result = 0; then
33586 ac_path_to_link=""
33587 else
33588 ac_path_to_link=" -L$ac_find_libraries"
33589 fi
33590 fi
33591
33592 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33593 LDFLAGS_GL="$ac_path_to_link"
33594 fi
33595
33596 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33597 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33598
33599 ac_find_libraries=
33600 for ac_dir in $SEARCH_LIB;
33601 do
33602 for ac_extension in a so sl dylib dll.a; do
33603 if test -f "$ac_dir/libGLU.$ac_extension"; then
33604 ac_find_libraries=$ac_dir
33605 break 2
33606 fi
33607 done
33608 done
33609
33610 if test "$ac_find_libraries" != "" ; then
33611
33612 if test "$ac_find_libraries" = "default location"; then
33613 ac_path_to_link=""
33614 else
33615 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33616 result=$?
33617 if test $result = 0; then
33618 ac_path_to_link=""
33619 else
33620 ac_path_to_link=" -L$ac_find_libraries"
33621 fi
33622 fi
33623
33624 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33625 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33626 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33627 fi
33628
33629 found_gl=1
33630 OPENGL_LIBS="-lGL -lGLU"
33631 { echo "$as_me:$LINENO: result: yes" >&5
33632 echo "${ECHO_T}yes" >&6; }
33633 else
33634 { echo "$as_me:$LINENO: result: no" >&5
33635 echo "${ECHO_T}no" >&6; }
33636 fi
33637 else
33638 { echo "$as_me:$LINENO: result: no" >&5
33639 echo "${ECHO_T}no" >&6; }
33640 fi
33641
33642 if test "$found_gl" != 1; then
33643 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33644 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33645
33646 ac_find_libraries=
33647 for ac_dir in $SEARCH_LIB;
33648 do
33649 for ac_extension in a so sl dylib dll.a; do
33650 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33651 ac_find_libraries=$ac_dir
33652 break 2
33653 fi
33654 done
33655 done
33656
33657 if test "$ac_find_libraries" != "" ; then
33658
33659 if test "$ac_find_libraries" = "default location"; then
33660 ac_path_to_link=""
33661 else
33662 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33663 result=$?
33664 if test $result = 0; then
33665 ac_path_to_link=""
33666 else
33667 ac_path_to_link=" -L$ac_find_libraries"
33668 fi
33669 fi
33670
33671 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33672 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33673 { echo "$as_me:$LINENO: result: yes" >&5
33674 echo "${ECHO_T}yes" >&6; }
33675 else
33676 { echo "$as_me:$LINENO: result: no" >&5
33677 echo "${ECHO_T}no" >&6; }
33678 fi
33679 fi
33680
33681 fi
33682
33683
33684
33685 fi
33686
33687
33688
33689 if test "x$OPENGL_LIBS" = "x"; then
33690 if test "$wxUSE_OPENGL" = "yes"; then
33691 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33692 echo "$as_me: error: OpenGL libraries not available" >&2;}
33693 { (exit 1); exit 1; }; }
33694 else
33695 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33696 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33697 wxUSE_OPENGL=no
33698 USE_OPENGL=0
33699 fi
33700 fi
33701 else
33702 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33703 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33704 wxUSE_OPENGL="no"
33705 fi
33706
33707 if test "$wxUSE_OPENGL" = "auto"; then
33708 wxUSE_OPENGL=yes
33709 fi
33710
33711 if test "$wxUSE_OPENGL" = "yes"; then
33712 USE_OPENGL=1
33713 cat >>confdefs.h <<\_ACEOF
33714 #define wxUSE_OPENGL 1
33715 _ACEOF
33716
33717 cat >>confdefs.h <<\_ACEOF
33718 #define wxUSE_GLCANVAS 1
33719 _ACEOF
33720
33721 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33722 fi
33723 fi
33724
33725
33726 if test -n "$TOOLKIT" ; then
33727 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33728 fi
33729
33730
33731
33732 if test "$wxUSE_SHARED" = "yes"; then
33733 case "${host}" in
33734 *-pc-msdosdjgpp )
33735 wxUSE_SHARED=no
33736 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33737 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33738 ;;
33739 esac
33740 fi
33741
33742 if test "$wxUSE_SHARED" = "yes"; then
33743
33744
33745 case "${host}" in
33746 *-*-cygwin* | *-*-mingw* )
33747 wx_cv_version_script=no
33748 ;;
33749
33750 *)
33751 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33752 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33753 if test "${wx_cv_version_script+set}" = set; then
33754 echo $ECHO_N "(cached) $ECHO_C" >&6
33755 else
33756
33757 echo "VER_1 { *; };" >conftest.sym
33758 echo "int main() { return 0; }" >conftest.cpp
33759
33760 if { ac_try='
33761 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33762 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33764 (eval $ac_try) 2>&5
33765 ac_status=$?
33766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33767 (exit $ac_status); }; } ; then
33768 if test -s conftest.stderr ; then
33769 wx_cv_version_script=no
33770 else
33771 wx_cv_version_script=yes
33772 fi
33773 else
33774 wx_cv_version_script=no
33775 fi
33776
33777 if test $wx_cv_version_script = yes
33778 then
33779 echo "struct B { virtual ~B() { } }; \
33780 struct D : public B { }; \
33781 void F() { D d; }" > conftest.cpp
33782
33783 if { ac_try='
33784 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33785 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33787 (eval $ac_try) 2>&5
33788 ac_status=$?
33789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33790 (exit $ac_status); }; } &&
33791 { ac_try='
33792 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33793 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33795 (eval $ac_try) 2>&5
33796 ac_status=$?
33797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33798 (exit $ac_status); }; }
33799 then
33800 if { ac_try='
33801 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33802 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33804 (eval $ac_try) 2>&5
33805 ac_status=$?
33806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33807 (exit $ac_status); }; }
33808 then
33809 wx_cv_version_script=yes
33810 else
33811 wx_cv_version_script=no
33812 fi
33813 fi
33814 fi
33815
33816 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33817 rm -f conftest1.output conftest2.output conftest3.output
33818
33819 fi
33820 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33821 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33822
33823 if test $wx_cv_version_script = yes ; then
33824 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33825 fi
33826 ;;
33827 esac
33828
33829
33830 if test "$wxUSE_VISIBILITY" != "no"; then
33831
33832
33833 if test -n "$GCC"; then
33834 CFLAGS_VISIBILITY="-fvisibility=hidden"
33835 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33836 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33837 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33838 if test "${wx_cv_cc_visibility+set}" = set; then
33839 echo $ECHO_N "(cached) $ECHO_C" >&6
33840 else
33841
33842 wx_save_CXXFLAGS="$CXXFLAGS"
33843 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33844 ac_ext=cpp
33845 ac_cpp='$CXXCPP $CPPFLAGS'
33846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33849
33850 cat >conftest.$ac_ext <<_ACEOF
33851 /* confdefs.h. */
33852 _ACEOF
33853 cat confdefs.h >>conftest.$ac_ext
33854 cat >>conftest.$ac_ext <<_ACEOF
33855 /* end confdefs.h. */
33856
33857 /* we need gcc >= 4.0, older versions with visibility support
33858 didn't have class visibility: */
33859 #if defined(__GNUC__) && __GNUC__ < 4
33860 error this gcc is too old;
33861 #endif
33862
33863 /* visibility only makes sense for ELF shared libs: */
33864 #if !defined(__ELF__) && !defined(__APPLE__)
33865 error this platform has no visibility;
33866 #endif
33867
33868 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33869 extern __attribute__((__visibility__("default"))) int exportedvar;
33870 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33871 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33872 class __attribute__((__visibility__("default"))) Foo {
33873 Foo() {}
33874 };
33875
33876 int
33877 main ()
33878 {
33879
33880 ;
33881 return 0;
33882 }
33883 _ACEOF
33884 rm -f conftest.$ac_objext
33885 if { (ac_try="$ac_compile"
33886 case "(($ac_try" in
33887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33888 *) ac_try_echo=$ac_try;;
33889 esac
33890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33891 (eval "$ac_compile") 2>conftest.er1
33892 ac_status=$?
33893 grep -v '^ *+' conftest.er1 >conftest.err
33894 rm -f conftest.er1
33895 cat conftest.err >&5
33896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33897 (exit $ac_status); } && {
33898 test -z "$ac_cxx_werror_flag" ||
33899 test ! -s conftest.err
33900 } && test -s conftest.$ac_objext; then
33901 wx_cv_cc_visibility=yes
33902 else
33903 echo "$as_me: failed program was:" >&5
33904 sed 's/^/| /' conftest.$ac_ext >&5
33905
33906 wx_cv_cc_visibility=no
33907 fi
33908
33909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33910 ac_ext=c
33911 ac_cpp='$CPP $CPPFLAGS'
33912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33915
33916 CXXFLAGS="$wx_save_CXXFLAGS"
33917 fi
33918
33919 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33920 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33921 if test $wx_cv_cc_visibility = yes; then
33922 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33923 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33924 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33925 echo $ECHO_N "(cached) $ECHO_C" >&6
33926 else
33927
33928 wx_save_CXXFLAGS="$CXXFLAGS"
33929 wx_save_LDFLAGS="$LDFLAGS"
33930 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33931 LDFLAGS="$LDFLAGS -shared -fPIC"
33932 ac_ext=cpp
33933 ac_cpp='$CXXCPP $CPPFLAGS'
33934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33937
33938 cat >conftest.$ac_ext <<_ACEOF
33939 /* confdefs.h. */
33940 _ACEOF
33941 cat confdefs.h >>conftest.$ac_ext
33942 cat >>conftest.$ac_ext <<_ACEOF
33943 /* end confdefs.h. */
33944
33945 #include <string>
33946
33947 int
33948 main ()
33949 {
33950
33951 std::string s("hello");
33952 return s.length();
33953
33954 ;
33955 return 0;
33956 }
33957 _ACEOF
33958 rm -f conftest.$ac_objext conftest$ac_exeext
33959 if { (ac_try="$ac_link"
33960 case "(($ac_try" in
33961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33962 *) ac_try_echo=$ac_try;;
33963 esac
33964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33965 (eval "$ac_link") 2>conftest.er1
33966 ac_status=$?
33967 grep -v '^ *+' conftest.er1 >conftest.err
33968 rm -f conftest.er1
33969 cat conftest.err >&5
33970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33971 (exit $ac_status); } && {
33972 test -z "$ac_cxx_werror_flag" ||
33973 test ! -s conftest.err
33974 } && test -s conftest$ac_exeext &&
33975 $as_test_x conftest$ac_exeext; then
33976 wx_cv_cc_broken_libstdcxx_visibility=no
33977 else
33978 echo "$as_me: failed program was:" >&5
33979 sed 's/^/| /' conftest.$ac_ext >&5
33980
33981 wx_cv_cc_broken_libstdcxx_visibility=yes
33982 fi
33983
33984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33985 conftest$ac_exeext conftest.$ac_ext
33986 ac_ext=c
33987 ac_cpp='$CPP $CPPFLAGS'
33988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33991
33992 CXXFLAGS="$wx_save_CXXFLAGS"
33993 LDFLAGS="$wx_save_LDFLAGS"
33994 fi
33995
33996 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33997 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33998
33999 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34000 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34001 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34002 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34003 echo $ECHO_N "(cached) $ECHO_C" >&6
34004 else
34005
34006 ac_ext=cpp
34007 ac_cpp='$CXXCPP $CPPFLAGS'
34008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34011
34012 cat >conftest.$ac_ext <<_ACEOF
34013 /* confdefs.h. */
34014 _ACEOF
34015 cat confdefs.h >>conftest.$ac_ext
34016 cat >>conftest.$ac_ext <<_ACEOF
34017 /* end confdefs.h. */
34018
34019 #pragma GCC visibility push(default)
34020 #include <string>
34021 #pragma GCC visibility pop
34022
34023 int
34024 main ()
34025 {
34026
34027 std::string s("hello");
34028 return s.length();
34029
34030 ;
34031 return 0;
34032 }
34033 _ACEOF
34034 rm -f conftest.$ac_objext conftest$ac_exeext
34035 if { (ac_try="$ac_link"
34036 case "(($ac_try" in
34037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34038 *) ac_try_echo=$ac_try;;
34039 esac
34040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34041 (eval "$ac_link") 2>conftest.er1
34042 ac_status=$?
34043 grep -v '^ *+' conftest.er1 >conftest.err
34044 rm -f conftest.er1
34045 cat conftest.err >&5
34046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34047 (exit $ac_status); } && {
34048 test -z "$ac_cxx_werror_flag" ||
34049 test ! -s conftest.err
34050 } && test -s conftest$ac_exeext &&
34051 $as_test_x conftest$ac_exeext; then
34052 wx_cv_cc_visibility_workaround=no
34053 else
34054 echo "$as_me: failed program was:" >&5
34055 sed 's/^/| /' conftest.$ac_ext >&5
34056
34057 wx_cv_cc_visibility_workaround=yes
34058 fi
34059
34060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34061 conftest$ac_exeext conftest.$ac_ext
34062 ac_ext=c
34063 ac_cpp='$CPP $CPPFLAGS'
34064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34067
34068
34069 fi
34070
34071 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34072 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34073
34074 if test $wx_cv_cc_visibility_workaround = no; then
34075 wx_cv_cc_visibility=no
34076 fi
34077 fi
34078 fi
34079
34080 if test $wx_cv_cc_visibility = yes; then
34081 cat >>confdefs.h <<\_ACEOF
34082 #define HAVE_VISIBILITY 1
34083 _ACEOF
34084
34085 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34086 cat >>confdefs.h <<\_ACEOF
34087 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34088 _ACEOF
34089
34090 fi
34091 else
34092 CFLAGS_VISIBILITY=""
34093 CXXFLAGS_VISIBILITY=""
34094 fi
34095
34096
34097 fi
34098
34099 fi
34100
34101 if test "x$SUNCXX" = xyes; then
34102 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34103 WXCONFIG_RPATH="-R\$libdir"
34104 else
34105 case "${host}" in
34106 *-*-linux* | *-*-gnu* )
34107 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34108 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34109 ;;
34110
34111 *-*-solaris2* )
34112
34113 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34114
34115 saveLdflags="$LDFLAGS"
34116 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34117 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34118 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34119 cat >conftest.$ac_ext <<_ACEOF
34120 /* confdefs.h. */
34121 _ACEOF
34122 cat confdefs.h >>conftest.$ac_ext
34123 cat >>conftest.$ac_ext <<_ACEOF
34124 /* end confdefs.h. */
34125
34126 int
34127 main ()
34128 {
34129
34130 ;
34131 return 0;
34132 }
34133 _ACEOF
34134 rm -f conftest.$ac_objext conftest$ac_exeext
34135 if { (ac_try="$ac_link"
34136 case "(($ac_try" in
34137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34138 *) ac_try_echo=$ac_try;;
34139 esac
34140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34141 (eval "$ac_link") 2>conftest.er1
34142 ac_status=$?
34143 grep -v '^ *+' conftest.er1 >conftest.err
34144 rm -f conftest.er1
34145 cat conftest.err >&5
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); } && {
34148 test -z "$ac_c_werror_flag" ||
34149 test ! -s conftest.err
34150 } && test -s conftest$ac_exeext &&
34151 $as_test_x conftest$ac_exeext; then
34152
34153 { echo "$as_me:$LINENO: result: yes" >&5
34154 echo "${ECHO_T}yes" >&6; }
34155 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34156 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34157
34158 else
34159 echo "$as_me: failed program was:" >&5
34160 sed 's/^/| /' conftest.$ac_ext >&5
34161
34162
34163 { echo "$as_me:$LINENO: result: no" >&5
34164 echo "${ECHO_T}no" >&6; }
34165 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34166 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34167 LDFLAGS="$saveLdflags -Wl,-R,/"
34168 cat >conftest.$ac_ext <<_ACEOF
34169 /* confdefs.h. */
34170 _ACEOF
34171 cat confdefs.h >>conftest.$ac_ext
34172 cat >>conftest.$ac_ext <<_ACEOF
34173 /* end confdefs.h. */
34174
34175 int
34176 main ()
34177 {
34178
34179 ;
34180 return 0;
34181 }
34182 _ACEOF
34183 rm -f conftest.$ac_objext conftest$ac_exeext
34184 if { (ac_try="$ac_link"
34185 case "(($ac_try" in
34186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34187 *) ac_try_echo=$ac_try;;
34188 esac
34189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34190 (eval "$ac_link") 2>conftest.er1
34191 ac_status=$?
34192 grep -v '^ *+' conftest.er1 >conftest.err
34193 rm -f conftest.er1
34194 cat conftest.err >&5
34195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34196 (exit $ac_status); } && {
34197 test -z "$ac_c_werror_flag" ||
34198 test ! -s conftest.err
34199 } && test -s conftest$ac_exeext &&
34200 $as_test_x conftest$ac_exeext; then
34201
34202 { echo "$as_me:$LINENO: result: yes" >&5
34203 echo "${ECHO_T}yes" >&6; }
34204 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34205 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34206
34207 else
34208 echo "$as_me: failed program was:" >&5
34209 sed 's/^/| /' conftest.$ac_ext >&5
34210
34211
34212 { echo "$as_me:$LINENO: result: no" >&5
34213 echo "${ECHO_T}no" >&6; }
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
34220 fi
34221
34222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34223 conftest$ac_exeext conftest.$ac_ext
34224 LDFLAGS="$saveLdflags"
34225 ;;
34226
34227 *-*-darwin* )
34228 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
34229 if test "$install_name_tool" -a -x "$install_name_tool"; then
34230 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34231 cat <<EOF >change-install-names
34232 #!/bin/sh
34233 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34234 for i in \${libnames} ; do
34235 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34236 for dep in \${libnames} ; do
34237 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34238 done
34239 done
34240 EOF
34241 chmod +x change-install-names
34242 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34243 fi
34244
34245 HEADER_PAD_OPTION="-headerpad_max_install_names"
34246 ;;
34247
34248 *-*-cygwin* | *-*-mingw32* )
34249 ;;
34250
34251 *-*-hpux* )
34252 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34253 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34254 ;;
34255
34256 esac
34257 fi
34258
34259 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34260
34261 if test $wxUSE_RPATH = "no"; then
34262 SAMPLES_RPATH_FLAG=''
34263 DYLIB_PATH_POSTLINK=''
34264 WXCONFIG_RPATH=''
34265 fi
34266
34267 SHARED=1
34268
34269 else
34270
34271 config_linkage_component="-static"
34272 SHARED=0
34273
34274 fi
34275
34276
34277 UNICODE=0
34278 lib_unicode_suffix=
34279 WX_CHARTYPE="ansi"
34280 if test "$wxUSE_UNICODE" = "yes"; then
34281 lib_unicode_suffix=u
34282 WX_CHARTYPE="unicode"
34283 UNICODE=1
34284 fi
34285
34286 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34287 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34288
34289 DEBUG_INFO=0
34290 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34291 DEBUG_INFO=1
34292 fi
34293
34294 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34295
34296 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34297
34298 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34299
34300
34301 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34302 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34303 else
34304 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34305 fi
34306 if test "${TOOLKIT_DIR}" = "os2"; then
34307 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34308 else
34309 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34310 fi
34311
34312
34313
34314 if test "$wxUSE_COCOA" = 1; then
34315
34316 ac_ext=c
34317 ac_cpp='$CPP $CPPFLAGS'
34318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34321
34322 ac_ext=m
34323
34324 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34325 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34326 cat >conftest.$ac_ext <<_ACEOF
34327 /* confdefs.h. */
34328 _ACEOF
34329 cat confdefs.h >>conftest.$ac_ext
34330 cat >>conftest.$ac_ext <<_ACEOF
34331 /* end confdefs.h. */
34332 #include <AppKit/NSEvent.h>
34333 #include <CoreFoundation/CoreFoundation.h>
34334
34335 int
34336 main ()
34337 {
34338
34339 ;
34340 return 0;
34341 }
34342 _ACEOF
34343 rm -f conftest.$ac_objext
34344 if { (ac_try="$ac_compile"
34345 case "(($ac_try" in
34346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34347 *) ac_try_echo=$ac_try;;
34348 esac
34349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34350 (eval "$ac_compile") 2>conftest.er1
34351 ac_status=$?
34352 grep -v '^ *+' conftest.er1 >conftest.err
34353 rm -f conftest.er1
34354 cat conftest.err >&5
34355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34356 (exit $ac_status); } && {
34357 test -z "$ac_c_werror_flag" ||
34358 test ! -s conftest.err
34359 } && test -s conftest.$ac_objext; then
34360 { echo "$as_me:$LINENO: result: no" >&5
34361 echo "${ECHO_T}no" >&6; }
34362 else
34363 echo "$as_me: failed program was:" >&5
34364 sed 's/^/| /' conftest.$ac_ext >&5
34365
34366 { echo "$as_me:$LINENO: result: yes" >&5
34367 echo "${ECHO_T}yes" >&6; }
34368 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34369 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34370 cat >conftest.$ac_ext <<_ACEOF
34371 /* confdefs.h. */
34372 _ACEOF
34373 cat confdefs.h >>conftest.$ac_ext
34374 cat >>conftest.$ac_ext <<_ACEOF
34375 /* end confdefs.h. */
34376 #define __Point__ 1
34377 #include <AppKit/NSEvent.h>
34378 #include <CoreFoundation/CoreFoundation.h>
34379
34380 int
34381 main ()
34382 {
34383
34384 ;
34385 return 0;
34386 }
34387 _ACEOF
34388 rm -f conftest.$ac_objext
34389 if { (ac_try="$ac_compile"
34390 case "(($ac_try" in
34391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34392 *) ac_try_echo=$ac_try;;
34393 esac
34394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34395 (eval "$ac_compile") 2>conftest.er1
34396 ac_status=$?
34397 grep -v '^ *+' conftest.er1 >conftest.err
34398 rm -f conftest.er1
34399 cat conftest.err >&5
34400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401 (exit $ac_status); } && {
34402 test -z "$ac_c_werror_flag" ||
34403 test ! -s conftest.err
34404 } && test -s conftest.$ac_objext; then
34405 { echo "$as_me:$LINENO: result: yes" >&5
34406 echo "${ECHO_T}yes" >&6; }
34407 cat >>confdefs.h <<\_ACEOF
34408 #define __Point__ 1
34409 _ACEOF
34410
34411
34412 else
34413 echo "$as_me: failed program was:" >&5
34414 sed 's/^/| /' conftest.$ac_ext >&5
34415
34416 { { echo "$as_me:$LINENO: error: no
34417 See \`config.log' for more details." >&5
34418 echo "$as_me: error: no
34419 See \`config.log' for more details." >&2;}
34420 { (exit 1); exit 1; }; }
34421
34422 fi
34423
34424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34425
34426 fi
34427
34428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34429 ac_ext=c
34430 ac_cpp='$CPP $CPPFLAGS'
34431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34434
34435 fi
34436
34437
34438 { echo "$as_me:$LINENO: checking for mode_t" >&5
34439 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34440 if test "${ac_cv_type_mode_t+set}" = set; then
34441 echo $ECHO_N "(cached) $ECHO_C" >&6
34442 else
34443 cat >conftest.$ac_ext <<_ACEOF
34444 /* confdefs.h. */
34445 _ACEOF
34446 cat confdefs.h >>conftest.$ac_ext
34447 cat >>conftest.$ac_ext <<_ACEOF
34448 /* end confdefs.h. */
34449 $ac_includes_default
34450 typedef mode_t ac__type_new_;
34451 int
34452 main ()
34453 {
34454 if ((ac__type_new_ *) 0)
34455 return 0;
34456 if (sizeof (ac__type_new_))
34457 return 0;
34458 ;
34459 return 0;
34460 }
34461 _ACEOF
34462 rm -f conftest.$ac_objext
34463 if { (ac_try="$ac_compile"
34464 case "(($ac_try" in
34465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34466 *) ac_try_echo=$ac_try;;
34467 esac
34468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34469 (eval "$ac_compile") 2>conftest.er1
34470 ac_status=$?
34471 grep -v '^ *+' conftest.er1 >conftest.err
34472 rm -f conftest.er1
34473 cat conftest.err >&5
34474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34475 (exit $ac_status); } && {
34476 test -z "$ac_c_werror_flag" ||
34477 test ! -s conftest.err
34478 } && test -s conftest.$ac_objext; then
34479 ac_cv_type_mode_t=yes
34480 else
34481 echo "$as_me: failed program was:" >&5
34482 sed 's/^/| /' conftest.$ac_ext >&5
34483
34484 ac_cv_type_mode_t=no
34485 fi
34486
34487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34488 fi
34489 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34490 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34491 if test $ac_cv_type_mode_t = yes; then
34492 :
34493 else
34494
34495 cat >>confdefs.h <<_ACEOF
34496 #define mode_t int
34497 _ACEOF
34498
34499 fi
34500
34501 { echo "$as_me:$LINENO: checking for off_t" >&5
34502 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34503 if test "${ac_cv_type_off_t+set}" = set; then
34504 echo $ECHO_N "(cached) $ECHO_C" >&6
34505 else
34506 cat >conftest.$ac_ext <<_ACEOF
34507 /* confdefs.h. */
34508 _ACEOF
34509 cat confdefs.h >>conftest.$ac_ext
34510 cat >>conftest.$ac_ext <<_ACEOF
34511 /* end confdefs.h. */
34512 $ac_includes_default
34513 typedef off_t ac__type_new_;
34514 int
34515 main ()
34516 {
34517 if ((ac__type_new_ *) 0)
34518 return 0;
34519 if (sizeof (ac__type_new_))
34520 return 0;
34521 ;
34522 return 0;
34523 }
34524 _ACEOF
34525 rm -f conftest.$ac_objext
34526 if { (ac_try="$ac_compile"
34527 case "(($ac_try" in
34528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34529 *) ac_try_echo=$ac_try;;
34530 esac
34531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34532 (eval "$ac_compile") 2>conftest.er1
34533 ac_status=$?
34534 grep -v '^ *+' conftest.er1 >conftest.err
34535 rm -f conftest.er1
34536 cat conftest.err >&5
34537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34538 (exit $ac_status); } && {
34539 test -z "$ac_c_werror_flag" ||
34540 test ! -s conftest.err
34541 } && test -s conftest.$ac_objext; then
34542 ac_cv_type_off_t=yes
34543 else
34544 echo "$as_me: failed program was:" >&5
34545 sed 's/^/| /' conftest.$ac_ext >&5
34546
34547 ac_cv_type_off_t=no
34548 fi
34549
34550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34551 fi
34552 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34553 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34554 if test $ac_cv_type_off_t = yes; then
34555 :
34556 else
34557
34558 cat >>confdefs.h <<_ACEOF
34559 #define off_t long int
34560 _ACEOF
34561
34562 fi
34563
34564 { echo "$as_me:$LINENO: checking for pid_t" >&5
34565 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34566 if test "${ac_cv_type_pid_t+set}" = set; then
34567 echo $ECHO_N "(cached) $ECHO_C" >&6
34568 else
34569 cat >conftest.$ac_ext <<_ACEOF
34570 /* confdefs.h. */
34571 _ACEOF
34572 cat confdefs.h >>conftest.$ac_ext
34573 cat >>conftest.$ac_ext <<_ACEOF
34574 /* end confdefs.h. */
34575 $ac_includes_default
34576 typedef pid_t ac__type_new_;
34577 int
34578 main ()
34579 {
34580 if ((ac__type_new_ *) 0)
34581 return 0;
34582 if (sizeof (ac__type_new_))
34583 return 0;
34584 ;
34585 return 0;
34586 }
34587 _ACEOF
34588 rm -f conftest.$ac_objext
34589 if { (ac_try="$ac_compile"
34590 case "(($ac_try" in
34591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34592 *) ac_try_echo=$ac_try;;
34593 esac
34594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34595 (eval "$ac_compile") 2>conftest.er1
34596 ac_status=$?
34597 grep -v '^ *+' conftest.er1 >conftest.err
34598 rm -f conftest.er1
34599 cat conftest.err >&5
34600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34601 (exit $ac_status); } && {
34602 test -z "$ac_c_werror_flag" ||
34603 test ! -s conftest.err
34604 } && test -s conftest.$ac_objext; then
34605 ac_cv_type_pid_t=yes
34606 else
34607 echo "$as_me: failed program was:" >&5
34608 sed 's/^/| /' conftest.$ac_ext >&5
34609
34610 ac_cv_type_pid_t=no
34611 fi
34612
34613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34614 fi
34615 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34616 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34617 if test $ac_cv_type_pid_t = yes; then
34618 :
34619 else
34620
34621 cat >>confdefs.h <<_ACEOF
34622 #define pid_t int
34623 _ACEOF
34624
34625 fi
34626
34627 { echo "$as_me:$LINENO: checking for size_t" >&5
34628 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34629 if test "${ac_cv_type_size_t+set}" = set; then
34630 echo $ECHO_N "(cached) $ECHO_C" >&6
34631 else
34632 cat >conftest.$ac_ext <<_ACEOF
34633 /* confdefs.h. */
34634 _ACEOF
34635 cat confdefs.h >>conftest.$ac_ext
34636 cat >>conftest.$ac_ext <<_ACEOF
34637 /* end confdefs.h. */
34638 $ac_includes_default
34639 typedef size_t ac__type_new_;
34640 int
34641 main ()
34642 {
34643 if ((ac__type_new_ *) 0)
34644 return 0;
34645 if (sizeof (ac__type_new_))
34646 return 0;
34647 ;
34648 return 0;
34649 }
34650 _ACEOF
34651 rm -f conftest.$ac_objext
34652 if { (ac_try="$ac_compile"
34653 case "(($ac_try" in
34654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34655 *) ac_try_echo=$ac_try;;
34656 esac
34657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34658 (eval "$ac_compile") 2>conftest.er1
34659 ac_status=$?
34660 grep -v '^ *+' conftest.er1 >conftest.err
34661 rm -f conftest.er1
34662 cat conftest.err >&5
34663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34664 (exit $ac_status); } && {
34665 test -z "$ac_c_werror_flag" ||
34666 test ! -s conftest.err
34667 } && test -s conftest.$ac_objext; then
34668 ac_cv_type_size_t=yes
34669 else
34670 echo "$as_me: failed program was:" >&5
34671 sed 's/^/| /' conftest.$ac_ext >&5
34672
34673 ac_cv_type_size_t=no
34674 fi
34675
34676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34677 fi
34678 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34679 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34680 if test $ac_cv_type_size_t = yes; then
34681 :
34682 else
34683
34684 cat >>confdefs.h <<_ACEOF
34685 #define size_t unsigned int
34686 _ACEOF
34687
34688 fi
34689
34690
34691 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34692 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34693 if test "${ac_cv_type_ssize_t+set}" = set; then
34694 echo $ECHO_N "(cached) $ECHO_C" >&6
34695 else
34696 cat >conftest.$ac_ext <<_ACEOF
34697 /* confdefs.h. */
34698 _ACEOF
34699 cat confdefs.h >>conftest.$ac_ext
34700 cat >>conftest.$ac_ext <<_ACEOF
34701 /* end confdefs.h. */
34702 $ac_includes_default
34703 typedef ssize_t ac__type_new_;
34704 int
34705 main ()
34706 {
34707 if ((ac__type_new_ *) 0)
34708 return 0;
34709 if (sizeof (ac__type_new_))
34710 return 0;
34711 ;
34712 return 0;
34713 }
34714 _ACEOF
34715 rm -f conftest.$ac_objext
34716 if { (ac_try="$ac_compile"
34717 case "(($ac_try" in
34718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34719 *) ac_try_echo=$ac_try;;
34720 esac
34721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34722 (eval "$ac_compile") 2>conftest.er1
34723 ac_status=$?
34724 grep -v '^ *+' conftest.er1 >conftest.err
34725 rm -f conftest.er1
34726 cat conftest.err >&5
34727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34728 (exit $ac_status); } && {
34729 test -z "$ac_c_werror_flag" ||
34730 test ! -s conftest.err
34731 } && test -s conftest.$ac_objext; then
34732 ac_cv_type_ssize_t=yes
34733 else
34734 echo "$as_me: failed program was:" >&5
34735 sed 's/^/| /' conftest.$ac_ext >&5
34736
34737 ac_cv_type_ssize_t=no
34738 fi
34739
34740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34741 fi
34742 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34743 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34744 if test $ac_cv_type_ssize_t = yes; then
34745
34746 cat >>confdefs.h <<_ACEOF
34747 #define HAVE_SSIZE_T 1
34748 _ACEOF
34749
34750
34751 fi
34752
34753
34754 ac_ext=cpp
34755 ac_cpp='$CXXCPP $CPPFLAGS'
34756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34759 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34760 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34761 if test "${wx_cv_size_t_is_uint+set}" = set; then
34762 echo $ECHO_N "(cached) $ECHO_C" >&6
34763 else
34764
34765 cat >conftest.$ac_ext <<_ACEOF
34766 /* confdefs.h. */
34767 _ACEOF
34768 cat confdefs.h >>conftest.$ac_ext
34769 cat >>conftest.$ac_ext <<_ACEOF
34770 /* end confdefs.h. */
34771 #include <stddef.h>
34772 int
34773 main ()
34774 {
34775
34776 return 0; }
34777
34778 struct Foo { void foo(size_t); void foo(unsigned int); };
34779
34780 int bar() {
34781
34782 ;
34783 return 0;
34784 }
34785 _ACEOF
34786 rm -f conftest.$ac_objext
34787 if { (ac_try="$ac_compile"
34788 case "(($ac_try" in
34789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34790 *) ac_try_echo=$ac_try;;
34791 esac
34792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34793 (eval "$ac_compile") 2>conftest.er1
34794 ac_status=$?
34795 grep -v '^ *+' conftest.er1 >conftest.err
34796 rm -f conftest.er1
34797 cat conftest.err >&5
34798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34799 (exit $ac_status); } && {
34800 test -z "$ac_cxx_werror_flag" ||
34801 test ! -s conftest.err
34802 } && test -s conftest.$ac_objext; then
34803 wx_cv_size_t_is_uint=no
34804 else
34805 echo "$as_me: failed program was:" >&5
34806 sed 's/^/| /' conftest.$ac_ext >&5
34807
34808 wx_cv_size_t_is_uint=yes
34809
34810 fi
34811
34812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34813
34814
34815 fi
34816 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34817 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34818
34819 if test "$wx_cv_size_t_is_uint" = "yes"; then
34820 cat >>confdefs.h <<\_ACEOF
34821 #define wxSIZE_T_IS_UINT 1
34822 _ACEOF
34823
34824 else
34825 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34826 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34827 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34828 echo $ECHO_N "(cached) $ECHO_C" >&6
34829 else
34830 cat >conftest.$ac_ext <<_ACEOF
34831 /* confdefs.h. */
34832 _ACEOF
34833 cat confdefs.h >>conftest.$ac_ext
34834 cat >>conftest.$ac_ext <<_ACEOF
34835 /* end confdefs.h. */
34836 #include <stddef.h>
34837 int
34838 main ()
34839 {
34840
34841 return 0; }
34842
34843 struct Foo { void foo(size_t); void foo(unsigned long); };
34844
34845 int bar() {
34846
34847 ;
34848 return 0;
34849 }
34850 _ACEOF
34851 rm -f conftest.$ac_objext
34852 if { (ac_try="$ac_compile"
34853 case "(($ac_try" in
34854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34855 *) ac_try_echo=$ac_try;;
34856 esac
34857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34858 (eval "$ac_compile") 2>conftest.er1
34859 ac_status=$?
34860 grep -v '^ *+' conftest.er1 >conftest.err
34861 rm -f conftest.er1
34862 cat conftest.err >&5
34863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34864 (exit $ac_status); } && {
34865 test -z "$ac_cxx_werror_flag" ||
34866 test ! -s conftest.err
34867 } && test -s conftest.$ac_objext; then
34868 wx_cv_size_t_is_ulong=no
34869 else
34870 echo "$as_me: failed program was:" >&5
34871 sed 's/^/| /' conftest.$ac_ext >&5
34872
34873 wx_cv_size_t_is_ulong=yes
34874
34875 fi
34876
34877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34878
34879 fi
34880 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34881 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34882
34883 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34884 cat >>confdefs.h <<\_ACEOF
34885 #define wxSIZE_T_IS_ULONG 1
34886 _ACEOF
34887
34888 fi
34889 fi
34890
34891 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34892 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34893 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34894 echo $ECHO_N "(cached) $ECHO_C" >&6
34895 else
34896 cat >conftest.$ac_ext <<_ACEOF
34897 /* confdefs.h. */
34898 _ACEOF
34899 cat confdefs.h >>conftest.$ac_ext
34900 cat >>conftest.$ac_ext <<_ACEOF
34901 /* end confdefs.h. */
34902 #include <wchar.h>
34903 int
34904 main ()
34905 {
34906
34907 return 0; }
34908
34909 struct Foo { void foo(wchar_t);
34910 void foo(unsigned short);
34911 void foo(unsigned int);
34912 void foo(unsigned long); };
34913
34914 int bar() {
34915
34916 ;
34917 return 0;
34918 }
34919 _ACEOF
34920 rm -f conftest.$ac_objext
34921 if { (ac_try="$ac_compile"
34922 case "(($ac_try" in
34923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34924 *) ac_try_echo=$ac_try;;
34925 esac
34926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34927 (eval "$ac_compile") 2>conftest.er1
34928 ac_status=$?
34929 grep -v '^ *+' conftest.er1 >conftest.err
34930 rm -f conftest.er1
34931 cat conftest.err >&5
34932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34933 (exit $ac_status); } && {
34934 test -z "$ac_cxx_werror_flag" ||
34935 test ! -s conftest.err
34936 } && test -s conftest.$ac_objext; then
34937 wx_cv_wchar_t_is_separate_type=yes
34938 else
34939 echo "$as_me: failed program was:" >&5
34940 sed 's/^/| /' conftest.$ac_ext >&5
34941
34942 wx_cv_wchar_t_is_separate_type=no
34943
34944 fi
34945
34946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34947
34948 fi
34949 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34950 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34951
34952 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34953 cat >>confdefs.h <<\_ACEOF
34954 #define wxWCHAR_T_IS_REAL_TYPE 1
34955 _ACEOF
34956
34957 else
34958 cat >>confdefs.h <<\_ACEOF
34959 #define wxWCHAR_T_IS_REAL_TYPE 0
34960 _ACEOF
34961
34962 fi
34963
34964 ac_ext=c
34965 ac_cpp='$CPP $CPPFLAGS'
34966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34969
34970
34971 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34972 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34973 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34974 echo $ECHO_N "(cached) $ECHO_C" >&6
34975 else
34976
34977 cat >conftest.$ac_ext <<_ACEOF
34978 /* confdefs.h. */
34979 _ACEOF
34980 cat confdefs.h >>conftest.$ac_ext
34981 cat >>conftest.$ac_ext <<_ACEOF
34982 /* end confdefs.h. */
34983 #include <pwd.h>
34984 int
34985 main ()
34986 {
34987
34988 char *p;
34989 struct passwd *pw;
34990 p = pw->pw_gecos;
34991
34992 ;
34993 return 0;
34994 }
34995 _ACEOF
34996 rm -f conftest.$ac_objext
34997 if { (ac_try="$ac_compile"
34998 case "(($ac_try" in
34999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35000 *) ac_try_echo=$ac_try;;
35001 esac
35002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35003 (eval "$ac_compile") 2>conftest.er1
35004 ac_status=$?
35005 grep -v '^ *+' conftest.er1 >conftest.err
35006 rm -f conftest.er1
35007 cat conftest.err >&5
35008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35009 (exit $ac_status); } && {
35010 test -z "$ac_c_werror_flag" ||
35011 test ! -s conftest.err
35012 } && test -s conftest.$ac_objext; then
35013
35014 wx_cv_struct_pw_gecos=yes
35015
35016 else
35017 echo "$as_me: failed program was:" >&5
35018 sed 's/^/| /' conftest.$ac_ext >&5
35019
35020
35021 wx_cv_struct_pw_gecos=no
35022
35023
35024 fi
35025
35026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35027
35028
35029 fi
35030 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35031 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35032
35033 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35034 cat >>confdefs.h <<\_ACEOF
35035 #define HAVE_PW_GECOS 1
35036 _ACEOF
35037
35038 fi
35039
35040
35041 if test "$wxUSE_WCHAR_T" = "yes"; then
35042 cat >>confdefs.h <<\_ACEOF
35043 #define wxUSE_WCHAR_T 1
35044 _ACEOF
35045
35046
35047 WCSLEN_FOUND=0
35048 WCHAR_LINK=
35049
35050 for ac_func in wcslen
35051 do
35052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35053 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35055 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35056 echo $ECHO_N "(cached) $ECHO_C" >&6
35057 else
35058 cat >conftest.$ac_ext <<_ACEOF
35059 /* confdefs.h. */
35060 _ACEOF
35061 cat confdefs.h >>conftest.$ac_ext
35062 cat >>conftest.$ac_ext <<_ACEOF
35063 /* end confdefs.h. */
35064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35066 #define $ac_func innocuous_$ac_func
35067
35068 /* System header to define __stub macros and hopefully few prototypes,
35069 which can conflict with char $ac_func (); below.
35070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35071 <limits.h> exists even on freestanding compilers. */
35072
35073 #ifdef __STDC__
35074 # include <limits.h>
35075 #else
35076 # include <assert.h>
35077 #endif
35078
35079 #undef $ac_func
35080
35081 /* Override any GCC internal prototype to avoid an error.
35082 Use char because int might match the return type of a GCC
35083 builtin and then its argument prototype would still apply. */
35084 #ifdef __cplusplus
35085 extern "C"
35086 #endif
35087 char $ac_func ();
35088 /* The GNU C library defines this for functions which it implements
35089 to always fail with ENOSYS. Some functions are actually named
35090 something starting with __ and the normal name is an alias. */
35091 #if defined __stub_$ac_func || defined __stub___$ac_func
35092 choke me
35093 #endif
35094
35095 int
35096 main ()
35097 {
35098 return $ac_func ();
35099 ;
35100 return 0;
35101 }
35102 _ACEOF
35103 rm -f conftest.$ac_objext conftest$ac_exeext
35104 if { (ac_try="$ac_link"
35105 case "(($ac_try" in
35106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35107 *) ac_try_echo=$ac_try;;
35108 esac
35109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35110 (eval "$ac_link") 2>conftest.er1
35111 ac_status=$?
35112 grep -v '^ *+' conftest.er1 >conftest.err
35113 rm -f conftest.er1
35114 cat conftest.err >&5
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); } && {
35117 test -z "$ac_c_werror_flag" ||
35118 test ! -s conftest.err
35119 } && test -s conftest$ac_exeext &&
35120 $as_test_x conftest$ac_exeext; then
35121 eval "$as_ac_var=yes"
35122 else
35123 echo "$as_me: failed program was:" >&5
35124 sed 's/^/| /' conftest.$ac_ext >&5
35125
35126 eval "$as_ac_var=no"
35127 fi
35128
35129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35130 conftest$ac_exeext conftest.$ac_ext
35131 fi
35132 ac_res=`eval echo '${'$as_ac_var'}'`
35133 { echo "$as_me:$LINENO: result: $ac_res" >&5
35134 echo "${ECHO_T}$ac_res" >&6; }
35135 if test `eval echo '${'$as_ac_var'}'` = yes; then
35136 cat >>confdefs.h <<_ACEOF
35137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35138 _ACEOF
35139 WCSLEN_FOUND=1
35140 fi
35141 done
35142
35143
35144 if test "$WCSLEN_FOUND" = 0; then
35145 if test "$TOOLKIT" = "MSW"; then
35146 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35147 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35148 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35149 echo $ECHO_N "(cached) $ECHO_C" >&6
35150 else
35151 ac_check_lib_save_LIBS=$LIBS
35152 LIBS="-lmsvcrt $LIBS"
35153 cat >conftest.$ac_ext <<_ACEOF
35154 /* confdefs.h. */
35155 _ACEOF
35156 cat confdefs.h >>conftest.$ac_ext
35157 cat >>conftest.$ac_ext <<_ACEOF
35158 /* end confdefs.h. */
35159
35160 /* Override any GCC internal prototype to avoid an error.
35161 Use char because int might match the return type of a GCC
35162 builtin and then its argument prototype would still apply. */
35163 #ifdef __cplusplus
35164 extern "C"
35165 #endif
35166 char wcslen ();
35167 int
35168 main ()
35169 {
35170 return wcslen ();
35171 ;
35172 return 0;
35173 }
35174 _ACEOF
35175 rm -f conftest.$ac_objext conftest$ac_exeext
35176 if { (ac_try="$ac_link"
35177 case "(($ac_try" in
35178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35179 *) ac_try_echo=$ac_try;;
35180 esac
35181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35182 (eval "$ac_link") 2>conftest.er1
35183 ac_status=$?
35184 grep -v '^ *+' conftest.er1 >conftest.err
35185 rm -f conftest.er1
35186 cat conftest.err >&5
35187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35188 (exit $ac_status); } && {
35189 test -z "$ac_c_werror_flag" ||
35190 test ! -s conftest.err
35191 } && test -s conftest$ac_exeext &&
35192 $as_test_x conftest$ac_exeext; then
35193 ac_cv_lib_msvcrt_wcslen=yes
35194 else
35195 echo "$as_me: failed program was:" >&5
35196 sed 's/^/| /' conftest.$ac_ext >&5
35197
35198 ac_cv_lib_msvcrt_wcslen=no
35199 fi
35200
35201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35202 conftest$ac_exeext conftest.$ac_ext
35203 LIBS=$ac_check_lib_save_LIBS
35204 fi
35205 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35206 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35207 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35208 WCHAR_OK=1
35209 fi
35210
35211 else
35212 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35213 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35214 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35215 echo $ECHO_N "(cached) $ECHO_C" >&6
35216 else
35217 ac_check_lib_save_LIBS=$LIBS
35218 LIBS="-lw $LIBS"
35219 cat >conftest.$ac_ext <<_ACEOF
35220 /* confdefs.h. */
35221 _ACEOF
35222 cat confdefs.h >>conftest.$ac_ext
35223 cat >>conftest.$ac_ext <<_ACEOF
35224 /* end confdefs.h. */
35225
35226 /* Override any GCC internal prototype to avoid an error.
35227 Use char because int might match the return type of a GCC
35228 builtin and then its argument prototype would still apply. */
35229 #ifdef __cplusplus
35230 extern "C"
35231 #endif
35232 char wcslen ();
35233 int
35234 main ()
35235 {
35236 return wcslen ();
35237 ;
35238 return 0;
35239 }
35240 _ACEOF
35241 rm -f conftest.$ac_objext conftest$ac_exeext
35242 if { (ac_try="$ac_link"
35243 case "(($ac_try" in
35244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35245 *) ac_try_echo=$ac_try;;
35246 esac
35247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35248 (eval "$ac_link") 2>conftest.er1
35249 ac_status=$?
35250 grep -v '^ *+' conftest.er1 >conftest.err
35251 rm -f conftest.er1
35252 cat conftest.err >&5
35253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35254 (exit $ac_status); } && {
35255 test -z "$ac_c_werror_flag" ||
35256 test ! -s conftest.err
35257 } && test -s conftest$ac_exeext &&
35258 $as_test_x conftest$ac_exeext; then
35259 ac_cv_lib_w_wcslen=yes
35260 else
35261 echo "$as_me: failed program was:" >&5
35262 sed 's/^/| /' conftest.$ac_ext >&5
35263
35264 ac_cv_lib_w_wcslen=no
35265 fi
35266
35267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35268 conftest$ac_exeext conftest.$ac_ext
35269 LIBS=$ac_check_lib_save_LIBS
35270 fi
35271 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35272 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35273 if test $ac_cv_lib_w_wcslen = yes; then
35274
35275 WCHAR_LINK=" -lw"
35276 WCSLEN_FOUND=1
35277
35278 fi
35279
35280 fi
35281 fi
35282
35283 if test "$WCSLEN_FOUND" = 1; then
35284 cat >>confdefs.h <<\_ACEOF
35285 #define HAVE_WCSLEN 1
35286 _ACEOF
35287
35288 fi
35289
35290
35291
35292
35293
35294
35295 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35296 do
35297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35298 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35300 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35301 echo $ECHO_N "(cached) $ECHO_C" >&6
35302 else
35303 cat >conftest.$ac_ext <<_ACEOF
35304 /* confdefs.h. */
35305 _ACEOF
35306 cat confdefs.h >>conftest.$ac_ext
35307 cat >>conftest.$ac_ext <<_ACEOF
35308 /* end confdefs.h. */
35309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35311 #define $ac_func innocuous_$ac_func
35312
35313 /* System header to define __stub macros and hopefully few prototypes,
35314 which can conflict with char $ac_func (); below.
35315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35316 <limits.h> exists even on freestanding compilers. */
35317
35318 #ifdef __STDC__
35319 # include <limits.h>
35320 #else
35321 # include <assert.h>
35322 #endif
35323
35324 #undef $ac_func
35325
35326 /* Override any GCC internal prototype to avoid an error.
35327 Use char because int might match the return type of a GCC
35328 builtin and then its argument prototype would still apply. */
35329 #ifdef __cplusplus
35330 extern "C"
35331 #endif
35332 char $ac_func ();
35333 /* The GNU C library defines this for functions which it implements
35334 to always fail with ENOSYS. Some functions are actually named
35335 something starting with __ and the normal name is an alias. */
35336 #if defined __stub_$ac_func || defined __stub___$ac_func
35337 choke me
35338 #endif
35339
35340 int
35341 main ()
35342 {
35343 return $ac_func ();
35344 ;
35345 return 0;
35346 }
35347 _ACEOF
35348 rm -f conftest.$ac_objext conftest$ac_exeext
35349 if { (ac_try="$ac_link"
35350 case "(($ac_try" in
35351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35352 *) ac_try_echo=$ac_try;;
35353 esac
35354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35355 (eval "$ac_link") 2>conftest.er1
35356 ac_status=$?
35357 grep -v '^ *+' conftest.er1 >conftest.err
35358 rm -f conftest.er1
35359 cat conftest.err >&5
35360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35361 (exit $ac_status); } && {
35362 test -z "$ac_c_werror_flag" ||
35363 test ! -s conftest.err
35364 } && test -s conftest$ac_exeext &&
35365 $as_test_x conftest$ac_exeext; then
35366 eval "$as_ac_var=yes"
35367 else
35368 echo "$as_me: failed program was:" >&5
35369 sed 's/^/| /' conftest.$ac_ext >&5
35370
35371 eval "$as_ac_var=no"
35372 fi
35373
35374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35375 conftest$ac_exeext conftest.$ac_ext
35376 fi
35377 ac_res=`eval echo '${'$as_ac_var'}'`
35378 { echo "$as_me:$LINENO: result: $ac_res" >&5
35379 echo "${ECHO_T}$ac_res" >&6; }
35380 if test `eval echo '${'$as_ac_var'}'` = yes; then
35381 cat >>confdefs.h <<_ACEOF
35382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35383 _ACEOF
35384
35385 fi
35386 done
35387
35388
35389 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35390 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35391 fi
35392
35393 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35394 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35395 if test "${ac_cv_type_mbstate_t+set}" = set; then
35396 echo $ECHO_N "(cached) $ECHO_C" >&6
35397 else
35398 cat >conftest.$ac_ext <<_ACEOF
35399 /* confdefs.h. */
35400 _ACEOF
35401 cat confdefs.h >>conftest.$ac_ext
35402 cat >>conftest.$ac_ext <<_ACEOF
35403 /* end confdefs.h. */
35404 #include <wchar.h>
35405
35406 typedef mbstate_t ac__type_new_;
35407 int
35408 main ()
35409 {
35410 if ((ac__type_new_ *) 0)
35411 return 0;
35412 if (sizeof (ac__type_new_))
35413 return 0;
35414 ;
35415 return 0;
35416 }
35417 _ACEOF
35418 rm -f conftest.$ac_objext
35419 if { (ac_try="$ac_compile"
35420 case "(($ac_try" in
35421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35422 *) ac_try_echo=$ac_try;;
35423 esac
35424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35425 (eval "$ac_compile") 2>conftest.er1
35426 ac_status=$?
35427 grep -v '^ *+' conftest.er1 >conftest.err
35428 rm -f conftest.er1
35429 cat conftest.err >&5
35430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35431 (exit $ac_status); } && {
35432 test -z "$ac_c_werror_flag" ||
35433 test ! -s conftest.err
35434 } && test -s conftest.$ac_objext; then
35435 ac_cv_type_mbstate_t=yes
35436 else
35437 echo "$as_me: failed program was:" >&5
35438 sed 's/^/| /' conftest.$ac_ext >&5
35439
35440 ac_cv_type_mbstate_t=no
35441 fi
35442
35443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35444 fi
35445 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35446 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35447 if test $ac_cv_type_mbstate_t = yes; then
35448
35449 cat >>confdefs.h <<_ACEOF
35450 #define HAVE_MBSTATE_T 1
35451 _ACEOF
35452
35453
35454 for ac_func in wcsrtombs
35455 do
35456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35457 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35459 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35460 echo $ECHO_N "(cached) $ECHO_C" >&6
35461 else
35462 cat >conftest.$ac_ext <<_ACEOF
35463 /* confdefs.h. */
35464 _ACEOF
35465 cat confdefs.h >>conftest.$ac_ext
35466 cat >>conftest.$ac_ext <<_ACEOF
35467 /* end confdefs.h. */
35468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35470 #define $ac_func innocuous_$ac_func
35471
35472 /* System header to define __stub macros and hopefully few prototypes,
35473 which can conflict with char $ac_func (); below.
35474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35475 <limits.h> exists even on freestanding compilers. */
35476
35477 #ifdef __STDC__
35478 # include <limits.h>
35479 #else
35480 # include <assert.h>
35481 #endif
35482
35483 #undef $ac_func
35484
35485 /* Override any GCC internal prototype to avoid an error.
35486 Use char because int might match the return type of a GCC
35487 builtin and then its argument prototype would still apply. */
35488 #ifdef __cplusplus
35489 extern "C"
35490 #endif
35491 char $ac_func ();
35492 /* The GNU C library defines this for functions which it implements
35493 to always fail with ENOSYS. Some functions are actually named
35494 something starting with __ and the normal name is an alias. */
35495 #if defined __stub_$ac_func || defined __stub___$ac_func
35496 choke me
35497 #endif
35498
35499 int
35500 main ()
35501 {
35502 return $ac_func ();
35503 ;
35504 return 0;
35505 }
35506 _ACEOF
35507 rm -f conftest.$ac_objext conftest$ac_exeext
35508 if { (ac_try="$ac_link"
35509 case "(($ac_try" in
35510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35511 *) ac_try_echo=$ac_try;;
35512 esac
35513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35514 (eval "$ac_link") 2>conftest.er1
35515 ac_status=$?
35516 grep -v '^ *+' conftest.er1 >conftest.err
35517 rm -f conftest.er1
35518 cat conftest.err >&5
35519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35520 (exit $ac_status); } && {
35521 test -z "$ac_c_werror_flag" ||
35522 test ! -s conftest.err
35523 } && test -s conftest$ac_exeext &&
35524 $as_test_x conftest$ac_exeext; then
35525 eval "$as_ac_var=yes"
35526 else
35527 echo "$as_me: failed program was:" >&5
35528 sed 's/^/| /' conftest.$ac_ext >&5
35529
35530 eval "$as_ac_var=no"
35531 fi
35532
35533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35534 conftest$ac_exeext conftest.$ac_ext
35535 fi
35536 ac_res=`eval echo '${'$as_ac_var'}'`
35537 { echo "$as_me:$LINENO: result: $ac_res" >&5
35538 echo "${ECHO_T}$ac_res" >&6; }
35539 if test `eval echo '${'$as_ac_var'}'` = yes; then
35540 cat >>confdefs.h <<_ACEOF
35541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35542 _ACEOF
35543
35544 fi
35545 done
35546
35547 fi
35548
35549 else
35550 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35551 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35552 fi
35553
35554
35555
35556
35557 for ac_func in snprintf vsnprintf vsscanf
35558 do
35559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35560 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35562 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35563 echo $ECHO_N "(cached) $ECHO_C" >&6
35564 else
35565 cat >conftest.$ac_ext <<_ACEOF
35566 /* confdefs.h. */
35567 _ACEOF
35568 cat confdefs.h >>conftest.$ac_ext
35569 cat >>conftest.$ac_ext <<_ACEOF
35570 /* end confdefs.h. */
35571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35573 #define $ac_func innocuous_$ac_func
35574
35575 /* System header to define __stub macros and hopefully few prototypes,
35576 which can conflict with char $ac_func (); below.
35577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35578 <limits.h> exists even on freestanding compilers. */
35579
35580 #ifdef __STDC__
35581 # include <limits.h>
35582 #else
35583 # include <assert.h>
35584 #endif
35585
35586 #undef $ac_func
35587
35588 /* Override any GCC internal prototype to avoid an error.
35589 Use char because int might match the return type of a GCC
35590 builtin and then its argument prototype would still apply. */
35591 #ifdef __cplusplus
35592 extern "C"
35593 #endif
35594 char $ac_func ();
35595 /* The GNU C library defines this for functions which it implements
35596 to always fail with ENOSYS. Some functions are actually named
35597 something starting with __ and the normal name is an alias. */
35598 #if defined __stub_$ac_func || defined __stub___$ac_func
35599 choke me
35600 #endif
35601
35602 int
35603 main ()
35604 {
35605 return $ac_func ();
35606 ;
35607 return 0;
35608 }
35609 _ACEOF
35610 rm -f conftest.$ac_objext conftest$ac_exeext
35611 if { (ac_try="$ac_link"
35612 case "(($ac_try" in
35613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35614 *) ac_try_echo=$ac_try;;
35615 esac
35616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35617 (eval "$ac_link") 2>conftest.er1
35618 ac_status=$?
35619 grep -v '^ *+' conftest.er1 >conftest.err
35620 rm -f conftest.er1
35621 cat conftest.err >&5
35622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35623 (exit $ac_status); } && {
35624 test -z "$ac_c_werror_flag" ||
35625 test ! -s conftest.err
35626 } && test -s conftest$ac_exeext &&
35627 $as_test_x conftest$ac_exeext; then
35628 eval "$as_ac_var=yes"
35629 else
35630 echo "$as_me: failed program was:" >&5
35631 sed 's/^/| /' conftest.$ac_ext >&5
35632
35633 eval "$as_ac_var=no"
35634 fi
35635
35636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35637 conftest$ac_exeext conftest.$ac_ext
35638 fi
35639 ac_res=`eval echo '${'$as_ac_var'}'`
35640 { echo "$as_me:$LINENO: result: $ac_res" >&5
35641 echo "${ECHO_T}$ac_res" >&6; }
35642 if test `eval echo '${'$as_ac_var'}'` = yes; then
35643 cat >>confdefs.h <<_ACEOF
35644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35645 _ACEOF
35646
35647 fi
35648 done
35649
35650
35651 ac_ext=cpp
35652 ac_cpp='$CXXCPP $CPPFLAGS'
35653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35656
35657 if test "$ac_cv_func_vsnprintf" = "yes"; then
35658 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35659 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35660 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35661 echo $ECHO_N "(cached) $ECHO_C" >&6
35662 else
35663
35664 cat >conftest.$ac_ext <<_ACEOF
35665 /* confdefs.h. */
35666 _ACEOF
35667 cat confdefs.h >>conftest.$ac_ext
35668 cat >>conftest.$ac_ext <<_ACEOF
35669 /* end confdefs.h. */
35670
35671 #include <stdio.h>
35672 #include <stdarg.h>
35673 #ifdef __MSL__
35674 #if __MSL__ >= 0x6000
35675 namespace std {}
35676 using namespace std;
35677 #endif
35678 #endif
35679
35680 int
35681 main ()
35682 {
35683
35684 char *buf;
35685 va_list ap;
35686 vsnprintf(buf, 10u, "%s", ap);
35687
35688 ;
35689 return 0;
35690 }
35691 _ACEOF
35692 rm -f conftest.$ac_objext
35693 if { (ac_try="$ac_compile"
35694 case "(($ac_try" in
35695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35696 *) ac_try_echo=$ac_try;;
35697 esac
35698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35699 (eval "$ac_compile") 2>conftest.er1
35700 ac_status=$?
35701 grep -v '^ *+' conftest.er1 >conftest.err
35702 rm -f conftest.er1
35703 cat conftest.err >&5
35704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35705 (exit $ac_status); } && {
35706 test -z "$ac_cxx_werror_flag" ||
35707 test ! -s conftest.err
35708 } && test -s conftest.$ac_objext; then
35709 wx_cv_func_vsnprintf_decl=yes
35710 else
35711 echo "$as_me: failed program was:" >&5
35712 sed 's/^/| /' conftest.$ac_ext >&5
35713
35714 wx_cv_func_vsnprintf_decl=no
35715
35716 fi
35717
35718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35719
35720
35721 fi
35722 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35723 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35724
35725 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35726 cat >>confdefs.h <<\_ACEOF
35727 #define HAVE_VSNPRINTF_DECL 1
35728 _ACEOF
35729
35730
35731 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35732 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35733 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35734 echo $ECHO_N "(cached) $ECHO_C" >&6
35735 else
35736
35737 cat >conftest.$ac_ext <<_ACEOF
35738 /* confdefs.h. */
35739 _ACEOF
35740 cat confdefs.h >>conftest.$ac_ext
35741 cat >>conftest.$ac_ext <<_ACEOF
35742 /* end confdefs.h. */
35743
35744 #include <stdio.h>
35745 #include <stdarg.h>
35746 #ifdef __MSL__
35747 #if __MSL__ >= 0x6000
35748 namespace std {}
35749 using namespace std;
35750 #endif
35751 #endif
35752
35753 int
35754 main ()
35755 {
35756
35757 char *buf;
35758 va_list ap;
35759 const char *fmt = "%s";
35760 vsnprintf(buf, 10u, fmt, ap);
35761
35762 ;
35763 return 0;
35764 }
35765 _ACEOF
35766 rm -f conftest.$ac_objext
35767 if { (ac_try="$ac_compile"
35768 case "(($ac_try" in
35769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35770 *) ac_try_echo=$ac_try;;
35771 esac
35772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35773 (eval "$ac_compile") 2>conftest.er1
35774 ac_status=$?
35775 grep -v '^ *+' conftest.er1 >conftest.err
35776 rm -f conftest.er1
35777 cat conftest.err >&5
35778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35779 (exit $ac_status); } && {
35780 test -z "$ac_cxx_werror_flag" ||
35781 test ! -s conftest.err
35782 } && test -s conftest.$ac_objext; then
35783 wx_cv_func_broken_vsnprintf_decl=no
35784 else
35785 echo "$as_me: failed program was:" >&5
35786 sed 's/^/| /' conftest.$ac_ext >&5
35787
35788 wx_cv_func_broken_vsnprintf_decl=yes
35789
35790 fi
35791
35792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35793
35794
35795 fi
35796 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35797 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35798
35799 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35800 cat >>confdefs.h <<\_ACEOF
35801 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35802 _ACEOF
35803
35804 fi
35805 fi
35806 fi
35807
35808 if test "$ac_cv_func_snprintf" = "yes"; then
35809 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35810 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35811 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35812 echo $ECHO_N "(cached) $ECHO_C" >&6
35813 else
35814
35815 cat >conftest.$ac_ext <<_ACEOF
35816 /* confdefs.h. */
35817 _ACEOF
35818 cat confdefs.h >>conftest.$ac_ext
35819 cat >>conftest.$ac_ext <<_ACEOF
35820 /* end confdefs.h. */
35821
35822 #include <stdio.h>
35823 #include <stdarg.h>
35824 #ifdef __MSL__
35825 #if __MSL__ >= 0x6000
35826 namespace std {}
35827 using namespace std;
35828 #endif
35829 #endif
35830
35831 int
35832 main ()
35833 {
35834
35835 char *buf;
35836 snprintf(buf, 10u, "%s", "wx");
35837
35838 ;
35839 return 0;
35840 }
35841 _ACEOF
35842 rm -f conftest.$ac_objext
35843 if { (ac_try="$ac_compile"
35844 case "(($ac_try" in
35845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35846 *) ac_try_echo=$ac_try;;
35847 esac
35848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35849 (eval "$ac_compile") 2>conftest.er1
35850 ac_status=$?
35851 grep -v '^ *+' conftest.er1 >conftest.err
35852 rm -f conftest.er1
35853 cat conftest.err >&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); } && {
35856 test -z "$ac_cxx_werror_flag" ||
35857 test ! -s conftest.err
35858 } && test -s conftest.$ac_objext; then
35859 wx_cv_func_snprintf_decl=yes
35860 else
35861 echo "$as_me: failed program was:" >&5
35862 sed 's/^/| /' conftest.$ac_ext >&5
35863
35864 wx_cv_func_snprintf_decl=no
35865
35866 fi
35867
35868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35869
35870
35871 fi
35872 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35873 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35874
35875 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35876 cat >>confdefs.h <<\_ACEOF
35877 #define HAVE_SNPRINTF_DECL 1
35878 _ACEOF
35879
35880 fi
35881
35882 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35883
35884 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35885 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35886 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35887 echo $ECHO_N "(cached) $ECHO_C" >&6
35888 else
35889
35890 if test "$cross_compiling" = yes; then
35891
35892 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35893 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35894 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35895 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35896 wx_cv_func_snprintf_pos_params=no
35897
35898
35899 else
35900 cat >conftest.$ac_ext <<_ACEOF
35901 /* confdefs.h. */
35902 _ACEOF
35903 cat confdefs.h >>conftest.$ac_ext
35904 cat >>conftest.$ac_ext <<_ACEOF
35905 /* end confdefs.h. */
35906
35907 #include <stdio.h>
35908
35909 int main (void)
35910 {
35911 char buffer[128];
35912 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35913 if (strcmp ("2 3 1", buffer) == 0)
35914 exit (0);
35915 exit (1);
35916 }
35917
35918 _ACEOF
35919 rm -f conftest$ac_exeext
35920 if { (ac_try="$ac_link"
35921 case "(($ac_try" in
35922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35923 *) ac_try_echo=$ac_try;;
35924 esac
35925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35926 (eval "$ac_link") 2>&5
35927 ac_status=$?
35928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35929 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35930 { (case "(($ac_try" in
35931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35932 *) ac_try_echo=$ac_try;;
35933 esac
35934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35935 (eval "$ac_try") 2>&5
35936 ac_status=$?
35937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35938 (exit $ac_status); }; }; then
35939 wx_cv_func_snprintf_pos_params=no
35940 else
35941 echo "$as_me: program exited with status $ac_status" >&5
35942 echo "$as_me: failed program was:" >&5
35943 sed 's/^/| /' conftest.$ac_ext >&5
35944
35945 ( exit $ac_status )
35946 wx_cv_func_snprintf_pos_params=yes
35947 fi
35948 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35949 fi
35950
35951
35952
35953
35954 fi
35955 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35956 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35957
35958 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35959 cat >>confdefs.h <<\_ACEOF
35960 #define HAVE_UNIX98_PRINTF 1
35961 _ACEOF
35962
35963 fi
35964 fi
35965 fi
35966
35967 if test "$ac_cv_func_vsscanf" = "yes"; then
35968 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35969 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35970 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35971 echo $ECHO_N "(cached) $ECHO_C" >&6
35972 else
35973
35974 cat >conftest.$ac_ext <<_ACEOF
35975 /* confdefs.h. */
35976 _ACEOF
35977 cat confdefs.h >>conftest.$ac_ext
35978 cat >>conftest.$ac_ext <<_ACEOF
35979 /* end confdefs.h. */
35980
35981 #include <stdio.h>
35982 #include <stdarg.h>
35983 #ifdef __MSL__
35984 #if __MSL__ >= 0x6000
35985 namespace std {}
35986 using namespace std;
35987 #endif
35988 #endif
35989
35990 int
35991 main ()
35992 {
35993
35994 char *buf;
35995 va_list args;
35996 vsscanf(buf, "%s", args);
35997
35998 ;
35999 return 0;
36000 }
36001 _ACEOF
36002 rm -f conftest.$ac_objext
36003 if { (ac_try="$ac_compile"
36004 case "(($ac_try" in
36005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36006 *) ac_try_echo=$ac_try;;
36007 esac
36008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36009 (eval "$ac_compile") 2>conftest.er1
36010 ac_status=$?
36011 grep -v '^ *+' conftest.er1 >conftest.err
36012 rm -f conftest.er1
36013 cat conftest.err >&5
36014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36015 (exit $ac_status); } && {
36016 test -z "$ac_cxx_werror_flag" ||
36017 test ! -s conftest.err
36018 } && test -s conftest.$ac_objext; then
36019 wx_cv_func_vsscanf_decl=yes
36020 else
36021 echo "$as_me: failed program was:" >&5
36022 sed 's/^/| /' conftest.$ac_ext >&5
36023
36024 wx_cv_func_vsscanf_decl=no
36025
36026 fi
36027
36028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36029
36030
36031 fi
36032 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36033 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36034
36035 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36036 cat >>confdefs.h <<\_ACEOF
36037 #define HAVE_VSSCANF_DECL 1
36038 _ACEOF
36039
36040 fi
36041 fi
36042 ac_ext=c
36043 ac_cpp='$CPP $CPPFLAGS'
36044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36047
36048
36049 if test "$wxUSE_UNICODE" = yes; then
36050
36051 wchar_headers="#include <stdio.h>
36052 #include <wchar.h>"
36053 case "${host}" in
36054 *-*-solaris2* )
36055
36056 for ac_header in widec.h
36057 do
36058 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36059 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36061 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36062 echo $ECHO_N "(cached) $ECHO_C" >&6
36063 else
36064 cat >conftest.$ac_ext <<_ACEOF
36065 /* confdefs.h. */
36066 _ACEOF
36067 cat confdefs.h >>conftest.$ac_ext
36068 cat >>conftest.$ac_ext <<_ACEOF
36069 /* end confdefs.h. */
36070 $ac_includes_default
36071
36072 #include <$ac_header>
36073 _ACEOF
36074 rm -f conftest.$ac_objext
36075 if { (ac_try="$ac_compile"
36076 case "(($ac_try" in
36077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36078 *) ac_try_echo=$ac_try;;
36079 esac
36080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36081 (eval "$ac_compile") 2>conftest.er1
36082 ac_status=$?
36083 grep -v '^ *+' conftest.er1 >conftest.err
36084 rm -f conftest.er1
36085 cat conftest.err >&5
36086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36087 (exit $ac_status); } && {
36088 test -z "$ac_c_werror_flag" ||
36089 test ! -s conftest.err
36090 } && test -s conftest.$ac_objext; then
36091 eval "$as_ac_Header=yes"
36092 else
36093 echo "$as_me: failed program was:" >&5
36094 sed 's/^/| /' conftest.$ac_ext >&5
36095
36096 eval "$as_ac_Header=no"
36097 fi
36098
36099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36100 fi
36101 ac_res=`eval echo '${'$as_ac_Header'}'`
36102 { echo "$as_me:$LINENO: result: $ac_res" >&5
36103 echo "${ECHO_T}$ac_res" >&6; }
36104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36105 cat >>confdefs.h <<_ACEOF
36106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36107 _ACEOF
36108
36109 fi
36110
36111 done
36112
36113 if test "$ac_cv_header_widec_h" = "yes"; then
36114 wchar_headers="$wchar_headers
36115 #include <widec.h>"
36116 fi
36117 esac
36118
36119
36120 for wx_func in putws fputws wprintf vswprintf vswscanf
36121 do
36122 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36123 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36124 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36125 echo $ECHO_N "(cached) $ECHO_C" >&6
36126 else
36127
36128 cat >conftest.$ac_ext <<_ACEOF
36129
36130 /* confdefs.h. */
36131 _ACEOF
36132 cat confdefs.h >>conftest.$ac_ext
36133 cat >>conftest.$ac_ext <<_ACEOF
36134 /* end confdefs.h. */
36135
36136 $wchar_headers
36137 $ac_includes_default
36138
36139 int
36140 main ()
36141 {
36142
36143 #ifndef $wx_func
36144 &$wx_func;
36145 #endif
36146
36147
36148 ;
36149 return 0;
36150 }
36151
36152 _ACEOF
36153 rm -f conftest.$ac_objext conftest$ac_exeext
36154 if { (ac_try="$ac_link"
36155 case "(($ac_try" in
36156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36157 *) ac_try_echo=$ac_try;;
36158 esac
36159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36160 (eval "$ac_link") 2>conftest.er1
36161 ac_status=$?
36162 grep -v '^ *+' conftest.er1 >conftest.err
36163 rm -f conftest.er1
36164 cat conftest.err >&5
36165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166 (exit $ac_status); } && {
36167 test -z "$ac_c_werror_flag" ||
36168 test ! -s conftest.err
36169 } && test -s conftest$ac_exeext &&
36170 $as_test_x conftest$ac_exeext; then
36171 eval wx_cv_func_$wx_func=yes
36172 else
36173 echo "$as_me: failed program was:" >&5
36174 sed 's/^/| /' conftest.$ac_ext >&5
36175
36176 eval wx_cv_func_$wx_func=no
36177 fi
36178
36179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36180 conftest$ac_exeext conftest.$ac_ext
36181
36182 fi
36183 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36184 { echo "$as_me:$LINENO: result: $ac_res" >&5
36185 echo "${ECHO_T}$ac_res" >&6; }
36186
36187 if eval test \$wx_cv_func_$wx_func = yes
36188 then
36189 cat >>confdefs.h <<_ACEOF
36190 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36191 _ACEOF
36192
36193
36194 else
36195 :
36196
36197 fi
36198 done
36199
36200
36201 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36202 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36203 cat >conftest.$ac_ext <<_ACEOF
36204 /* confdefs.h. */
36205 _ACEOF
36206 cat confdefs.h >>conftest.$ac_ext
36207 cat >>conftest.$ac_ext <<_ACEOF
36208 /* end confdefs.h. */
36209 #include <wchar.h>
36210 int
36211 main ()
36212 {
36213 &_vsnwprintf;
36214 ;
36215 return 0;
36216 }
36217 _ACEOF
36218 rm -f conftest.$ac_objext
36219 if { (ac_try="$ac_compile"
36220 case "(($ac_try" in
36221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36222 *) ac_try_echo=$ac_try;;
36223 esac
36224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36225 (eval "$ac_compile") 2>conftest.er1
36226 ac_status=$?
36227 grep -v '^ *+' conftest.er1 >conftest.err
36228 rm -f conftest.er1
36229 cat conftest.err >&5
36230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36231 (exit $ac_status); } && {
36232 test -z "$ac_c_werror_flag" ||
36233 test ! -s conftest.err
36234 } && test -s conftest.$ac_objext; then
36235 { echo "$as_me:$LINENO: result: yes" >&5
36236 echo "${ECHO_T}yes" >&6; }
36237 cat >>confdefs.h <<\_ACEOF
36238 #define HAVE__VSNWPRINTF 1
36239 _ACEOF
36240
36241 else
36242 echo "$as_me: failed program was:" >&5
36243 sed 's/^/| /' conftest.$ac_ext >&5
36244
36245 { echo "$as_me:$LINENO: result: no" >&5
36246 echo "${ECHO_T}no" >&6; }
36247 fi
36248
36249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36250 fi
36251
36252 if test "$wxUSE_FILE" = "yes"; then
36253
36254 for wx_func in fsync
36255 do
36256 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36257 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36258 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36259 echo $ECHO_N "(cached) $ECHO_C" >&6
36260 else
36261
36262 cat >conftest.$ac_ext <<_ACEOF
36263
36264 /* confdefs.h. */
36265 _ACEOF
36266 cat confdefs.h >>conftest.$ac_ext
36267 cat >>conftest.$ac_ext <<_ACEOF
36268 /* end confdefs.h. */
36269
36270
36271 $ac_includes_default
36272
36273 int
36274 main ()
36275 {
36276
36277 #ifndef $wx_func
36278 &$wx_func;
36279 #endif
36280
36281
36282 ;
36283 return 0;
36284 }
36285
36286 _ACEOF
36287 rm -f conftest.$ac_objext conftest$ac_exeext
36288 if { (ac_try="$ac_link"
36289 case "(($ac_try" in
36290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36291 *) ac_try_echo=$ac_try;;
36292 esac
36293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36294 (eval "$ac_link") 2>conftest.er1
36295 ac_status=$?
36296 grep -v '^ *+' conftest.er1 >conftest.err
36297 rm -f conftest.er1
36298 cat conftest.err >&5
36299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36300 (exit $ac_status); } && {
36301 test -z "$ac_c_werror_flag" ||
36302 test ! -s conftest.err
36303 } && test -s conftest$ac_exeext &&
36304 $as_test_x conftest$ac_exeext; then
36305 eval wx_cv_func_$wx_func=yes
36306 else
36307 echo "$as_me: failed program was:" >&5
36308 sed 's/^/| /' conftest.$ac_ext >&5
36309
36310 eval wx_cv_func_$wx_func=no
36311 fi
36312
36313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36314 conftest$ac_exeext conftest.$ac_ext
36315
36316 fi
36317 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36318 { echo "$as_me:$LINENO: result: $ac_res" >&5
36319 echo "${ECHO_T}$ac_res" >&6; }
36320
36321 if eval test \$wx_cv_func_$wx_func = yes
36322 then
36323 cat >>confdefs.h <<_ACEOF
36324 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36325 _ACEOF
36326
36327
36328 else
36329 :
36330
36331 fi
36332 done
36333
36334 fi
36335
36336 ac_ext=cpp
36337 ac_cpp='$CXXCPP $CPPFLAGS'
36338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36341
36342
36343 for wx_func in round
36344 do
36345 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36346 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36347 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36348 echo $ECHO_N "(cached) $ECHO_C" >&6
36349 else
36350
36351 cat >conftest.$ac_ext <<_ACEOF
36352
36353 /* confdefs.h. */
36354 _ACEOF
36355 cat confdefs.h >>conftest.$ac_ext
36356 cat >>conftest.$ac_ext <<_ACEOF
36357 /* end confdefs.h. */
36358
36359 #include <math.h>
36360 $ac_includes_default
36361
36362 int
36363 main ()
36364 {
36365
36366 #ifndef $wx_func
36367 &$wx_func;
36368 #endif
36369
36370
36371 ;
36372 return 0;
36373 }
36374
36375 _ACEOF
36376 rm -f conftest.$ac_objext conftest$ac_exeext
36377 if { (ac_try="$ac_link"
36378 case "(($ac_try" in
36379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36380 *) ac_try_echo=$ac_try;;
36381 esac
36382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36383 (eval "$ac_link") 2>conftest.er1
36384 ac_status=$?
36385 grep -v '^ *+' conftest.er1 >conftest.err
36386 rm -f conftest.er1
36387 cat conftest.err >&5
36388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36389 (exit $ac_status); } && {
36390 test -z "$ac_cxx_werror_flag" ||
36391 test ! -s conftest.err
36392 } && test -s conftest$ac_exeext &&
36393 $as_test_x conftest$ac_exeext; then
36394 eval wx_cv_func_$wx_func=yes
36395 else
36396 echo "$as_me: failed program was:" >&5
36397 sed 's/^/| /' conftest.$ac_ext >&5
36398
36399 eval wx_cv_func_$wx_func=no
36400 fi
36401
36402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36403 conftest$ac_exeext conftest.$ac_ext
36404
36405 fi
36406 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36407 { echo "$as_me:$LINENO: result: $ac_res" >&5
36408 echo "${ECHO_T}$ac_res" >&6; }
36409
36410 if eval test \$wx_cv_func_$wx_func = yes
36411 then
36412 cat >>confdefs.h <<_ACEOF
36413 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36414 _ACEOF
36415
36416
36417 else
36418 :
36419
36420 fi
36421 done
36422
36423 ac_ext=c
36424 ac_cpp='$CPP $CPPFLAGS'
36425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36428
36429
36430 if test "$TOOLKIT" != "MSW"; then
36431
36432 if test "$wxUSE_LIBICONV" != "no" ; then
36433
36434
36435
36436 # Check whether --with-libiconv-prefix was given.
36437 if test "${with_libiconv_prefix+set}" = set; then
36438 withval=$with_libiconv_prefix;
36439 for dir in `echo "$withval" | tr : ' '`; do
36440 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36441 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36442 done
36443
36444 fi
36445
36446
36447 { echo "$as_me:$LINENO: checking for iconv" >&5
36448 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36449 if test "${am_cv_func_iconv+set}" = set; then
36450 echo $ECHO_N "(cached) $ECHO_C" >&6
36451 else
36452
36453 am_cv_func_iconv="no, consider installing GNU libiconv"
36454 am_cv_lib_iconv=no
36455 cat >conftest.$ac_ext <<_ACEOF
36456 /* confdefs.h. */
36457 _ACEOF
36458 cat confdefs.h >>conftest.$ac_ext
36459 cat >>conftest.$ac_ext <<_ACEOF
36460 /* end confdefs.h. */
36461 #include <stdlib.h>
36462 #include <iconv.h>
36463 int
36464 main ()
36465 {
36466 iconv_t cd = iconv_open("","");
36467 iconv(cd,NULL,NULL,NULL,NULL);
36468 iconv_close(cd);
36469 ;
36470 return 0;
36471 }
36472 _ACEOF
36473 rm -f conftest.$ac_objext conftest$ac_exeext
36474 if { (ac_try="$ac_link"
36475 case "(($ac_try" in
36476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36477 *) ac_try_echo=$ac_try;;
36478 esac
36479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36480 (eval "$ac_link") 2>conftest.er1
36481 ac_status=$?
36482 grep -v '^ *+' conftest.er1 >conftest.err
36483 rm -f conftest.er1
36484 cat conftest.err >&5
36485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36486 (exit $ac_status); } && {
36487 test -z "$ac_c_werror_flag" ||
36488 test ! -s conftest.err
36489 } && test -s conftest$ac_exeext &&
36490 $as_test_x conftest$ac_exeext; then
36491 am_cv_func_iconv=yes
36492 else
36493 echo "$as_me: failed program was:" >&5
36494 sed 's/^/| /' conftest.$ac_ext >&5
36495
36496
36497 fi
36498
36499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36500 conftest$ac_exeext conftest.$ac_ext
36501 if test "$am_cv_func_iconv" != yes; then
36502 am_save_LIBS="$LIBS"
36503 LIBS="$LIBS -liconv"
36504 cat >conftest.$ac_ext <<_ACEOF
36505 /* confdefs.h. */
36506 _ACEOF
36507 cat confdefs.h >>conftest.$ac_ext
36508 cat >>conftest.$ac_ext <<_ACEOF
36509 /* end confdefs.h. */
36510 #include <stdlib.h>
36511 #include <iconv.h>
36512 int
36513 main ()
36514 {
36515 iconv_t cd = iconv_open("","");
36516 iconv(cd,NULL,NULL,NULL,NULL);
36517 iconv_close(cd);
36518 ;
36519 return 0;
36520 }
36521 _ACEOF
36522 rm -f conftest.$ac_objext conftest$ac_exeext
36523 if { (ac_try="$ac_link"
36524 case "(($ac_try" in
36525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36526 *) ac_try_echo=$ac_try;;
36527 esac
36528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36529 (eval "$ac_link") 2>conftest.er1
36530 ac_status=$?
36531 grep -v '^ *+' conftest.er1 >conftest.err
36532 rm -f conftest.er1
36533 cat conftest.err >&5
36534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36535 (exit $ac_status); } && {
36536 test -z "$ac_c_werror_flag" ||
36537 test ! -s conftest.err
36538 } && test -s conftest$ac_exeext &&
36539 $as_test_x conftest$ac_exeext; then
36540 am_cv_lib_iconv=yes
36541 am_cv_func_iconv=yes
36542 else
36543 echo "$as_me: failed program was:" >&5
36544 sed 's/^/| /' conftest.$ac_ext >&5
36545
36546
36547 fi
36548
36549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36550 conftest$ac_exeext conftest.$ac_ext
36551 LIBS="$am_save_LIBS"
36552 fi
36553
36554 fi
36555 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36556 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36557 if test "$am_cv_func_iconv" = yes; then
36558
36559 cat >>confdefs.h <<\_ACEOF
36560 #define HAVE_ICONV 1
36561 _ACEOF
36562
36563 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36564 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36565 if test "${wx_cv_func_iconv_const+set}" = set; then
36566 echo $ECHO_N "(cached) $ECHO_C" >&6
36567 else
36568 cat >conftest.$ac_ext <<_ACEOF
36569 /* confdefs.h. */
36570 _ACEOF
36571 cat confdefs.h >>conftest.$ac_ext
36572 cat >>conftest.$ac_ext <<_ACEOF
36573 /* end confdefs.h. */
36574
36575 #include <stdlib.h>
36576 #include <iconv.h>
36577 extern
36578 #ifdef __cplusplus
36579 "C"
36580 #endif
36581 #if defined(__STDC__) || defined(__cplusplus)
36582 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36583 #else
36584 size_t iconv();
36585 #endif
36586
36587 int
36588 main ()
36589 {
36590
36591 ;
36592 return 0;
36593 }
36594 _ACEOF
36595 rm -f conftest.$ac_objext
36596 if { (ac_try="$ac_compile"
36597 case "(($ac_try" in
36598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36599 *) ac_try_echo=$ac_try;;
36600 esac
36601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36602 (eval "$ac_compile") 2>conftest.er1
36603 ac_status=$?
36604 grep -v '^ *+' conftest.er1 >conftest.err
36605 rm -f conftest.er1
36606 cat conftest.err >&5
36607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36608 (exit $ac_status); } && {
36609 test -z "$ac_c_werror_flag" ||
36610 test ! -s conftest.err
36611 } && test -s conftest.$ac_objext; then
36612 wx_cv_func_iconv_const="no"
36613 else
36614 echo "$as_me: failed program was:" >&5
36615 sed 's/^/| /' conftest.$ac_ext >&5
36616
36617 wx_cv_func_iconv_const="yes"
36618
36619 fi
36620
36621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36622
36623 fi
36624 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36625 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36626
36627 iconv_const=
36628 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36629 iconv_const="const"
36630 fi
36631
36632
36633 cat >>confdefs.h <<_ACEOF
36634 #define ICONV_CONST $iconv_const
36635 _ACEOF
36636
36637 fi
36638 LIBICONV=
36639 if test "$am_cv_lib_iconv" = yes; then
36640 LIBICONV="-liconv"
36641 fi
36642
36643
36644 LIBS="$LIBICONV $LIBS"
36645 fi
36646
36647 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36648
36649 for ac_func in sigaction
36650 do
36651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36652 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36654 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36655 echo $ECHO_N "(cached) $ECHO_C" >&6
36656 else
36657 cat >conftest.$ac_ext <<_ACEOF
36658 /* confdefs.h. */
36659 _ACEOF
36660 cat confdefs.h >>conftest.$ac_ext
36661 cat >>conftest.$ac_ext <<_ACEOF
36662 /* end confdefs.h. */
36663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36665 #define $ac_func innocuous_$ac_func
36666
36667 /* System header to define __stub macros and hopefully few prototypes,
36668 which can conflict with char $ac_func (); below.
36669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36670 <limits.h> exists even on freestanding compilers. */
36671
36672 #ifdef __STDC__
36673 # include <limits.h>
36674 #else
36675 # include <assert.h>
36676 #endif
36677
36678 #undef $ac_func
36679
36680 /* Override any GCC internal prototype to avoid an error.
36681 Use char because int might match the return type of a GCC
36682 builtin and then its argument prototype would still apply. */
36683 #ifdef __cplusplus
36684 extern "C"
36685 #endif
36686 char $ac_func ();
36687 /* The GNU C library defines this for functions which it implements
36688 to always fail with ENOSYS. Some functions are actually named
36689 something starting with __ and the normal name is an alias. */
36690 #if defined __stub_$ac_func || defined __stub___$ac_func
36691 choke me
36692 #endif
36693
36694 int
36695 main ()
36696 {
36697 return $ac_func ();
36698 ;
36699 return 0;
36700 }
36701 _ACEOF
36702 rm -f conftest.$ac_objext conftest$ac_exeext
36703 if { (ac_try="$ac_link"
36704 case "(($ac_try" in
36705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36706 *) ac_try_echo=$ac_try;;
36707 esac
36708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36709 (eval "$ac_link") 2>conftest.er1
36710 ac_status=$?
36711 grep -v '^ *+' conftest.er1 >conftest.err
36712 rm -f conftest.er1
36713 cat conftest.err >&5
36714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36715 (exit $ac_status); } && {
36716 test -z "$ac_c_werror_flag" ||
36717 test ! -s conftest.err
36718 } && test -s conftest$ac_exeext &&
36719 $as_test_x conftest$ac_exeext; then
36720 eval "$as_ac_var=yes"
36721 else
36722 echo "$as_me: failed program was:" >&5
36723 sed 's/^/| /' conftest.$ac_ext >&5
36724
36725 eval "$as_ac_var=no"
36726 fi
36727
36728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36729 conftest$ac_exeext conftest.$ac_ext
36730 fi
36731 ac_res=`eval echo '${'$as_ac_var'}'`
36732 { echo "$as_me:$LINENO: result: $ac_res" >&5
36733 echo "${ECHO_T}$ac_res" >&6; }
36734 if test `eval echo '${'$as_ac_var'}'` = yes; then
36735 cat >>confdefs.h <<_ACEOF
36736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36737 _ACEOF
36738
36739 fi
36740 done
36741
36742
36743 if test "$ac_cv_func_sigaction" = "no"; then
36744 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36745 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36746 wxUSE_ON_FATAL_EXCEPTION=no
36747 fi
36748
36749 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36750 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36751 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36752 if test "${wx_cv_type_sa_handler+set}" = set; then
36753 echo $ECHO_N "(cached) $ECHO_C" >&6
36754 else
36755
36756 ac_ext=cpp
36757 ac_cpp='$CXXCPP $CPPFLAGS'
36758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36761
36762 cat >conftest.$ac_ext <<_ACEOF
36763 /* confdefs.h. */
36764 _ACEOF
36765 cat confdefs.h >>conftest.$ac_ext
36766 cat >>conftest.$ac_ext <<_ACEOF
36767 /* end confdefs.h. */
36768 #include <signal.h>
36769 int
36770 main ()
36771 {
36772
36773 extern void testSigHandler(int);
36774
36775 struct sigaction sa;
36776 sa.sa_handler = testSigHandler;
36777
36778 ;
36779 return 0;
36780 }
36781 _ACEOF
36782 rm -f conftest.$ac_objext
36783 if { (ac_try="$ac_compile"
36784 case "(($ac_try" in
36785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36786 *) ac_try_echo=$ac_try;;
36787 esac
36788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36789 (eval "$ac_compile") 2>conftest.er1
36790 ac_status=$?
36791 grep -v '^ *+' conftest.er1 >conftest.err
36792 rm -f conftest.er1
36793 cat conftest.err >&5
36794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36795 (exit $ac_status); } && {
36796 test -z "$ac_cxx_werror_flag" ||
36797 test ! -s conftest.err
36798 } && test -s conftest.$ac_objext; then
36799
36800 wx_cv_type_sa_handler=int
36801
36802 else
36803 echo "$as_me: failed program was:" >&5
36804 sed 's/^/| /' conftest.$ac_ext >&5
36805
36806
36807 wx_cv_type_sa_handler=void
36808
36809 fi
36810
36811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36812 ac_ext=c
36813 ac_cpp='$CPP $CPPFLAGS'
36814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36817
36818
36819 fi
36820 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36821 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36822
36823 cat >>confdefs.h <<_ACEOF
36824 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36825 _ACEOF
36826
36827 fi
36828 fi
36829
36830 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36831 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36832 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36833 if test "${wx_cv_func_backtrace+set}" = set; then
36834 echo $ECHO_N "(cached) $ECHO_C" >&6
36835 else
36836
36837 ac_ext=cpp
36838 ac_cpp='$CXXCPP $CPPFLAGS'
36839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36842
36843 cat >conftest.$ac_ext <<_ACEOF
36844 /* confdefs.h. */
36845 _ACEOF
36846 cat confdefs.h >>conftest.$ac_ext
36847 cat >>conftest.$ac_ext <<_ACEOF
36848 /* end confdefs.h. */
36849 #include <execinfo.h>
36850 int
36851 main ()
36852 {
36853
36854 void *trace[1];
36855 char **messages;
36856
36857 backtrace(trace, 1);
36858 messages = backtrace_symbols(trace, 1);
36859
36860 ;
36861 return 0;
36862 }
36863 _ACEOF
36864 rm -f conftest.$ac_objext
36865 if { (ac_try="$ac_compile"
36866 case "(($ac_try" in
36867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36868 *) ac_try_echo=$ac_try;;
36869 esac
36870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36871 (eval "$ac_compile") 2>conftest.er1
36872 ac_status=$?
36873 grep -v '^ *+' conftest.er1 >conftest.err
36874 rm -f conftest.er1
36875 cat conftest.err >&5
36876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36877 (exit $ac_status); } && {
36878 test -z "$ac_cxx_werror_flag" ||
36879 test ! -s conftest.err
36880 } && test -s conftest.$ac_objext; then
36881 wx_cv_func_backtrace=yes
36882 else
36883 echo "$as_me: failed program was:" >&5
36884 sed 's/^/| /' conftest.$ac_ext >&5
36885
36886 wx_cv_func_backtrace=no
36887
36888 fi
36889
36890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36891 ac_ext=c
36892 ac_cpp='$CPP $CPPFLAGS'
36893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36896
36897
36898
36899 fi
36900 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36901 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36902
36903
36904 if test "$wx_cv_func_backtrace" = "no"; then
36905 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36906 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36907 wxUSE_STACKWALKER=no
36908 else
36909 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36910 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36911 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36912 echo $ECHO_N "(cached) $ECHO_C" >&6
36913 else
36914
36915 ac_ext=cpp
36916 ac_cpp='$CXXCPP $CPPFLAGS'
36917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36920
36921 cat >conftest.$ac_ext <<_ACEOF
36922 /* confdefs.h. */
36923 _ACEOF
36924 cat confdefs.h >>conftest.$ac_ext
36925 cat >>conftest.$ac_ext <<_ACEOF
36926 /* end confdefs.h. */
36927 #include <cxxabi.h>
36928 int
36929 main ()
36930 {
36931
36932 int rc;
36933 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36934
36935 ;
36936 return 0;
36937 }
36938 _ACEOF
36939 rm -f conftest.$ac_objext conftest$ac_exeext
36940 if { (ac_try="$ac_link"
36941 case "(($ac_try" in
36942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36943 *) ac_try_echo=$ac_try;;
36944 esac
36945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36946 (eval "$ac_link") 2>conftest.er1
36947 ac_status=$?
36948 grep -v '^ *+' conftest.er1 >conftest.err
36949 rm -f conftest.er1
36950 cat conftest.err >&5
36951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36952 (exit $ac_status); } && {
36953 test -z "$ac_cxx_werror_flag" ||
36954 test ! -s conftest.err
36955 } && test -s conftest$ac_exeext &&
36956 $as_test_x conftest$ac_exeext; then
36957 wx_cv_func_cxa_demangle=yes
36958 else
36959 echo "$as_me: failed program was:" >&5
36960 sed 's/^/| /' conftest.$ac_ext >&5
36961
36962 wx_cv_func_cxa_demangle=no
36963
36964 fi
36965
36966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36967 conftest$ac_exeext conftest.$ac_ext
36968 ac_ext=c
36969 ac_cpp='$CPP $CPPFLAGS'
36970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36973
36974
36975
36976 fi
36977 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36978 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36979
36980 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36981 cat >>confdefs.h <<\_ACEOF
36982 #define HAVE_CXA_DEMANGLE 1
36983 _ACEOF
36984
36985 fi
36986 fi
36987 fi
36988
36989 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36990 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36991 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36992 wxUSE_STACKWALKER=no
36993 fi
36994
36995
36996
36997
36998 for ac_func in mkstemp mktemp
36999 do
37000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37001 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37003 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37004 echo $ECHO_N "(cached) $ECHO_C" >&6
37005 else
37006 cat >conftest.$ac_ext <<_ACEOF
37007 /* confdefs.h. */
37008 _ACEOF
37009 cat confdefs.h >>conftest.$ac_ext
37010 cat >>conftest.$ac_ext <<_ACEOF
37011 /* end confdefs.h. */
37012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37014 #define $ac_func innocuous_$ac_func
37015
37016 /* System header to define __stub macros and hopefully few prototypes,
37017 which can conflict with char $ac_func (); below.
37018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37019 <limits.h> exists even on freestanding compilers. */
37020
37021 #ifdef __STDC__
37022 # include <limits.h>
37023 #else
37024 # include <assert.h>
37025 #endif
37026
37027 #undef $ac_func
37028
37029 /* Override any GCC internal prototype to avoid an error.
37030 Use char because int might match the return type of a GCC
37031 builtin and then its argument prototype would still apply. */
37032 #ifdef __cplusplus
37033 extern "C"
37034 #endif
37035 char $ac_func ();
37036 /* The GNU C library defines this for functions which it implements
37037 to always fail with ENOSYS. Some functions are actually named
37038 something starting with __ and the normal name is an alias. */
37039 #if defined __stub_$ac_func || defined __stub___$ac_func
37040 choke me
37041 #endif
37042
37043 int
37044 main ()
37045 {
37046 return $ac_func ();
37047 ;
37048 return 0;
37049 }
37050 _ACEOF
37051 rm -f conftest.$ac_objext conftest$ac_exeext
37052 if { (ac_try="$ac_link"
37053 case "(($ac_try" in
37054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37055 *) ac_try_echo=$ac_try;;
37056 esac
37057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37058 (eval "$ac_link") 2>conftest.er1
37059 ac_status=$?
37060 grep -v '^ *+' conftest.er1 >conftest.err
37061 rm -f conftest.er1
37062 cat conftest.err >&5
37063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37064 (exit $ac_status); } && {
37065 test -z "$ac_c_werror_flag" ||
37066 test ! -s conftest.err
37067 } && test -s conftest$ac_exeext &&
37068 $as_test_x conftest$ac_exeext; then
37069 eval "$as_ac_var=yes"
37070 else
37071 echo "$as_me: failed program was:" >&5
37072 sed 's/^/| /' conftest.$ac_ext >&5
37073
37074 eval "$as_ac_var=no"
37075 fi
37076
37077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37078 conftest$ac_exeext conftest.$ac_ext
37079 fi
37080 ac_res=`eval echo '${'$as_ac_var'}'`
37081 { echo "$as_me:$LINENO: result: $ac_res" >&5
37082 echo "${ECHO_T}$ac_res" >&6; }
37083 if test `eval echo '${'$as_ac_var'}'` = yes; then
37084 cat >>confdefs.h <<_ACEOF
37085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37086 _ACEOF
37087 break
37088 fi
37089 done
37090
37091
37092 { echo "$as_me:$LINENO: checking for statfs" >&5
37093 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37094 if test "${wx_cv_func_statfs+set}" = set; then
37095 echo $ECHO_N "(cached) $ECHO_C" >&6
37096 else
37097 cat >conftest.$ac_ext <<_ACEOF
37098 /* confdefs.h. */
37099 _ACEOF
37100 cat confdefs.h >>conftest.$ac_ext
37101 cat >>conftest.$ac_ext <<_ACEOF
37102 /* end confdefs.h. */
37103
37104 #if defined(__BSD__)
37105 #include <sys/param.h>
37106 #include <sys/mount.h>
37107 #else
37108 #include <sys/vfs.h>
37109 #endif
37110
37111 int
37112 main ()
37113 {
37114
37115 long l;
37116 struct statfs fs;
37117 statfs("/", &fs);
37118 l = fs.f_bsize;
37119 l += fs.f_blocks;
37120 l += fs.f_bavail;
37121
37122 ;
37123 return 0;
37124 }
37125 _ACEOF
37126 rm -f conftest.$ac_objext
37127 if { (ac_try="$ac_compile"
37128 case "(($ac_try" in
37129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37130 *) ac_try_echo=$ac_try;;
37131 esac
37132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37133 (eval "$ac_compile") 2>conftest.er1
37134 ac_status=$?
37135 grep -v '^ *+' conftest.er1 >conftest.err
37136 rm -f conftest.er1
37137 cat conftest.err >&5
37138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37139 (exit $ac_status); } && {
37140 test -z "$ac_c_werror_flag" ||
37141 test ! -s conftest.err
37142 } && test -s conftest.$ac_objext; then
37143 wx_cv_func_statfs=yes
37144 else
37145 echo "$as_me: failed program was:" >&5
37146 sed 's/^/| /' conftest.$ac_ext >&5
37147
37148 wx_cv_func_statfs=no
37149
37150 fi
37151
37152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37153
37154 fi
37155 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37156 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37157
37158 if test "$wx_cv_func_statfs" = "yes"; then
37159 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37160 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37161 if test "${wx_cv_func_statfs_decl+set}" = set; then
37162 echo $ECHO_N "(cached) $ECHO_C" >&6
37163 else
37164 ac_ext=cpp
37165 ac_cpp='$CXXCPP $CPPFLAGS'
37166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37169
37170 cat >conftest.$ac_ext <<_ACEOF
37171 /* confdefs.h. */
37172 _ACEOF
37173 cat confdefs.h >>conftest.$ac_ext
37174 cat >>conftest.$ac_ext <<_ACEOF
37175 /* end confdefs.h. */
37176
37177 #if defined(__BSD__)
37178 #include <sys/param.h>
37179 #include <sys/mount.h>
37180 #else
37181 #include <sys/vfs.h>
37182 #endif
37183
37184 int
37185 main ()
37186 {
37187
37188 struct statfs fs;
37189 statfs("", &fs);
37190
37191 ;
37192 return 0;
37193 }
37194 _ACEOF
37195 rm -f conftest.$ac_objext
37196 if { (ac_try="$ac_compile"
37197 case "(($ac_try" in
37198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37199 *) ac_try_echo=$ac_try;;
37200 esac
37201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37202 (eval "$ac_compile") 2>conftest.er1
37203 ac_status=$?
37204 grep -v '^ *+' conftest.er1 >conftest.err
37205 rm -f conftest.er1
37206 cat conftest.err >&5
37207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37208 (exit $ac_status); } && {
37209 test -z "$ac_cxx_werror_flag" ||
37210 test ! -s conftest.err
37211 } && test -s conftest.$ac_objext; then
37212 wx_cv_func_statfs_decl=yes
37213 else
37214 echo "$as_me: failed program was:" >&5
37215 sed 's/^/| /' conftest.$ac_ext >&5
37216
37217 wx_cv_func_statfs_decl=no
37218
37219 fi
37220
37221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37222 ac_ext=c
37223 ac_cpp='$CPP $CPPFLAGS'
37224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37227
37228
37229 fi
37230 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37231 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37232
37233 if test "$wx_cv_func_statfs_decl" = "yes"; then
37234 cat >>confdefs.h <<\_ACEOF
37235 #define HAVE_STATFS_DECL 1
37236 _ACEOF
37237
37238 fi
37239
37240 wx_cv_type_statvfs_t="struct statfs"
37241 cat >>confdefs.h <<\_ACEOF
37242 #define HAVE_STATFS 1
37243 _ACEOF
37244
37245 else
37246 { echo "$as_me:$LINENO: checking for statvfs" >&5
37247 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37248 if test "${wx_cv_func_statvfs+set}" = set; then
37249 echo $ECHO_N "(cached) $ECHO_C" >&6
37250 else
37251 cat >conftest.$ac_ext <<_ACEOF
37252 /* confdefs.h. */
37253 _ACEOF
37254 cat confdefs.h >>conftest.$ac_ext
37255 cat >>conftest.$ac_ext <<_ACEOF
37256 /* end confdefs.h. */
37257
37258 #include <stddef.h>
37259 #include <sys/statvfs.h>
37260
37261 int
37262 main ()
37263 {
37264
37265 statvfs("/", NULL);
37266
37267 ;
37268 return 0;
37269 }
37270 _ACEOF
37271 rm -f conftest.$ac_objext
37272 if { (ac_try="$ac_compile"
37273 case "(($ac_try" in
37274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37275 *) ac_try_echo=$ac_try;;
37276 esac
37277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37278 (eval "$ac_compile") 2>conftest.er1
37279 ac_status=$?
37280 grep -v '^ *+' conftest.er1 >conftest.err
37281 rm -f conftest.er1
37282 cat conftest.err >&5
37283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37284 (exit $ac_status); } && {
37285 test -z "$ac_c_werror_flag" ||
37286 test ! -s conftest.err
37287 } && test -s conftest.$ac_objext; then
37288 wx_cv_func_statvfs=yes
37289 else
37290 echo "$as_me: failed program was:" >&5
37291 sed 's/^/| /' conftest.$ac_ext >&5
37292
37293 wx_cv_func_statvfs=no
37294
37295 fi
37296
37297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37298
37299 fi
37300 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37301 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37302
37303 if test "$wx_cv_func_statvfs" = "yes"; then
37304 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37305 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37306 if test "${wx_cv_type_statvfs_t+set}" = set; then
37307 echo $ECHO_N "(cached) $ECHO_C" >&6
37308 else
37309 ac_ext=cpp
37310 ac_cpp='$CXXCPP $CPPFLAGS'
37311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37314
37315 cat >conftest.$ac_ext <<_ACEOF
37316 /* confdefs.h. */
37317 _ACEOF
37318 cat confdefs.h >>conftest.$ac_ext
37319 cat >>conftest.$ac_ext <<_ACEOF
37320 /* end confdefs.h. */
37321
37322 #include <sys/statvfs.h>
37323
37324 int
37325 main ()
37326 {
37327
37328 long l;
37329 statvfs_t fs;
37330 statvfs("/", &fs);
37331 l = fs.f_bsize;
37332 l += fs.f_blocks;
37333 l += fs.f_bavail;
37334
37335 ;
37336 return 0;
37337 }
37338 _ACEOF
37339 rm -f conftest.$ac_objext
37340 if { (ac_try="$ac_compile"
37341 case "(($ac_try" in
37342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37343 *) ac_try_echo=$ac_try;;
37344 esac
37345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37346 (eval "$ac_compile") 2>conftest.er1
37347 ac_status=$?
37348 grep -v '^ *+' conftest.er1 >conftest.err
37349 rm -f conftest.er1
37350 cat conftest.err >&5
37351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37352 (exit $ac_status); } && {
37353 test -z "$ac_cxx_werror_flag" ||
37354 test ! -s conftest.err
37355 } && test -s conftest.$ac_objext; then
37356 wx_cv_type_statvfs_t=statvfs_t
37357 else
37358 echo "$as_me: failed program was:" >&5
37359 sed 's/^/| /' conftest.$ac_ext >&5
37360
37361
37362 cat >conftest.$ac_ext <<_ACEOF
37363 /* confdefs.h. */
37364 _ACEOF
37365 cat confdefs.h >>conftest.$ac_ext
37366 cat >>conftest.$ac_ext <<_ACEOF
37367 /* end confdefs.h. */
37368
37369 #include <sys/statvfs.h>
37370
37371 int
37372 main ()
37373 {
37374
37375 long l;
37376 struct statvfs fs;
37377 statvfs("/", &fs);
37378 l = fs.f_bsize;
37379 l += fs.f_blocks;
37380 l += fs.f_bavail;
37381
37382 ;
37383 return 0;
37384 }
37385 _ACEOF
37386 rm -f conftest.$ac_objext
37387 if { (ac_try="$ac_compile"
37388 case "(($ac_try" in
37389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37390 *) ac_try_echo=$ac_try;;
37391 esac
37392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37393 (eval "$ac_compile") 2>conftest.er1
37394 ac_status=$?
37395 grep -v '^ *+' conftest.er1 >conftest.err
37396 rm -f conftest.er1
37397 cat conftest.err >&5
37398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37399 (exit $ac_status); } && {
37400 test -z "$ac_cxx_werror_flag" ||
37401 test ! -s conftest.err
37402 } && test -s conftest.$ac_objext; then
37403 wx_cv_type_statvfs_t="struct statvfs"
37404 else
37405 echo "$as_me: failed program was:" >&5
37406 sed 's/^/| /' conftest.$ac_ext >&5
37407
37408 wx_cv_type_statvfs_t="unknown"
37409
37410 fi
37411
37412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37413
37414
37415 fi
37416
37417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37418 ac_ext=c
37419 ac_cpp='$CPP $CPPFLAGS'
37420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37423
37424
37425 fi
37426 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37427 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37428
37429 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37430 cat >>confdefs.h <<\_ACEOF
37431 #define HAVE_STATVFS 1
37432 _ACEOF
37433
37434 fi
37435 else
37436 wx_cv_type_statvfs_t="unknown"
37437 fi
37438 fi
37439
37440 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37441 cat >>confdefs.h <<_ACEOF
37442 #define WX_STATFS_T $wx_cv_type_statvfs_t
37443 _ACEOF
37444
37445 else
37446 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37447 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37448 fi
37449
37450 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37451
37452
37453 for ac_func in fcntl flock
37454 do
37455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37456 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37458 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37459 echo $ECHO_N "(cached) $ECHO_C" >&6
37460 else
37461 cat >conftest.$ac_ext <<_ACEOF
37462 /* confdefs.h. */
37463 _ACEOF
37464 cat confdefs.h >>conftest.$ac_ext
37465 cat >>conftest.$ac_ext <<_ACEOF
37466 /* end confdefs.h. */
37467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37469 #define $ac_func innocuous_$ac_func
37470
37471 /* System header to define __stub macros and hopefully few prototypes,
37472 which can conflict with char $ac_func (); below.
37473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37474 <limits.h> exists even on freestanding compilers. */
37475
37476 #ifdef __STDC__
37477 # include <limits.h>
37478 #else
37479 # include <assert.h>
37480 #endif
37481
37482 #undef $ac_func
37483
37484 /* Override any GCC internal prototype to avoid an error.
37485 Use char because int might match the return type of a GCC
37486 builtin and then its argument prototype would still apply. */
37487 #ifdef __cplusplus
37488 extern "C"
37489 #endif
37490 char $ac_func ();
37491 /* The GNU C library defines this for functions which it implements
37492 to always fail with ENOSYS. Some functions are actually named
37493 something starting with __ and the normal name is an alias. */
37494 #if defined __stub_$ac_func || defined __stub___$ac_func
37495 choke me
37496 #endif
37497
37498 int
37499 main ()
37500 {
37501 return $ac_func ();
37502 ;
37503 return 0;
37504 }
37505 _ACEOF
37506 rm -f conftest.$ac_objext conftest$ac_exeext
37507 if { (ac_try="$ac_link"
37508 case "(($ac_try" in
37509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37510 *) ac_try_echo=$ac_try;;
37511 esac
37512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37513 (eval "$ac_link") 2>conftest.er1
37514 ac_status=$?
37515 grep -v '^ *+' conftest.er1 >conftest.err
37516 rm -f conftest.er1
37517 cat conftest.err >&5
37518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37519 (exit $ac_status); } && {
37520 test -z "$ac_c_werror_flag" ||
37521 test ! -s conftest.err
37522 } && test -s conftest$ac_exeext &&
37523 $as_test_x conftest$ac_exeext; then
37524 eval "$as_ac_var=yes"
37525 else
37526 echo "$as_me: failed program was:" >&5
37527 sed 's/^/| /' conftest.$ac_ext >&5
37528
37529 eval "$as_ac_var=no"
37530 fi
37531
37532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37533 conftest$ac_exeext conftest.$ac_ext
37534 fi
37535 ac_res=`eval echo '${'$as_ac_var'}'`
37536 { echo "$as_me:$LINENO: result: $ac_res" >&5
37537 echo "${ECHO_T}$ac_res" >&6; }
37538 if test `eval echo '${'$as_ac_var'}'` = yes; then
37539 cat >>confdefs.h <<_ACEOF
37540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37541 _ACEOF
37542 break
37543 fi
37544 done
37545
37546
37547 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37548 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37549 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37550 wxUSE_SNGLINST_CHECKER=no
37551 fi
37552 fi
37553
37554
37555
37556 for ac_func in setenv putenv
37557 do
37558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37559 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37561 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37562 echo $ECHO_N "(cached) $ECHO_C" >&6
37563 else
37564 cat >conftest.$ac_ext <<_ACEOF
37565 /* confdefs.h. */
37566 _ACEOF
37567 cat confdefs.h >>conftest.$ac_ext
37568 cat >>conftest.$ac_ext <<_ACEOF
37569 /* end confdefs.h. */
37570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37572 #define $ac_func innocuous_$ac_func
37573
37574 /* System header to define __stub macros and hopefully few prototypes,
37575 which can conflict with char $ac_func (); below.
37576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37577 <limits.h> exists even on freestanding compilers. */
37578
37579 #ifdef __STDC__
37580 # include <limits.h>
37581 #else
37582 # include <assert.h>
37583 #endif
37584
37585 #undef $ac_func
37586
37587 /* Override any GCC internal prototype to avoid an error.
37588 Use char because int might match the return type of a GCC
37589 builtin and then its argument prototype would still apply. */
37590 #ifdef __cplusplus
37591 extern "C"
37592 #endif
37593 char $ac_func ();
37594 /* The GNU C library defines this for functions which it implements
37595 to always fail with ENOSYS. Some functions are actually named
37596 something starting with __ and the normal name is an alias. */
37597 #if defined __stub_$ac_func || defined __stub___$ac_func
37598 choke me
37599 #endif
37600
37601 int
37602 main ()
37603 {
37604 return $ac_func ();
37605 ;
37606 return 0;
37607 }
37608 _ACEOF
37609 rm -f conftest.$ac_objext conftest$ac_exeext
37610 if { (ac_try="$ac_link"
37611 case "(($ac_try" in
37612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37613 *) ac_try_echo=$ac_try;;
37614 esac
37615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37616 (eval "$ac_link") 2>conftest.er1
37617 ac_status=$?
37618 grep -v '^ *+' conftest.er1 >conftest.err
37619 rm -f conftest.er1
37620 cat conftest.err >&5
37621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37622 (exit $ac_status); } && {
37623 test -z "$ac_c_werror_flag" ||
37624 test ! -s conftest.err
37625 } && test -s conftest$ac_exeext &&
37626 $as_test_x conftest$ac_exeext; then
37627 eval "$as_ac_var=yes"
37628 else
37629 echo "$as_me: failed program was:" >&5
37630 sed 's/^/| /' conftest.$ac_ext >&5
37631
37632 eval "$as_ac_var=no"
37633 fi
37634
37635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37636 conftest$ac_exeext conftest.$ac_ext
37637 fi
37638 ac_res=`eval echo '${'$as_ac_var'}'`
37639 { echo "$as_me:$LINENO: result: $ac_res" >&5
37640 echo "${ECHO_T}$ac_res" >&6; }
37641 if test `eval echo '${'$as_ac_var'}'` = yes; then
37642 cat >>confdefs.h <<_ACEOF
37643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37644 _ACEOF
37645 break
37646 fi
37647 done
37648
37649 if test "$ac_cv_func_setenv" = "yes"; then
37650
37651 for ac_func in unsetenv
37652 do
37653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37656 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37657 echo $ECHO_N "(cached) $ECHO_C" >&6
37658 else
37659 cat >conftest.$ac_ext <<_ACEOF
37660 /* confdefs.h. */
37661 _ACEOF
37662 cat confdefs.h >>conftest.$ac_ext
37663 cat >>conftest.$ac_ext <<_ACEOF
37664 /* end confdefs.h. */
37665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37667 #define $ac_func innocuous_$ac_func
37668
37669 /* System header to define __stub macros and hopefully few prototypes,
37670 which can conflict with char $ac_func (); below.
37671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37672 <limits.h> exists even on freestanding compilers. */
37673
37674 #ifdef __STDC__
37675 # include <limits.h>
37676 #else
37677 # include <assert.h>
37678 #endif
37679
37680 #undef $ac_func
37681
37682 /* Override any GCC internal prototype to avoid an error.
37683 Use char because int might match the return type of a GCC
37684 builtin and then its argument prototype would still apply. */
37685 #ifdef __cplusplus
37686 extern "C"
37687 #endif
37688 char $ac_func ();
37689 /* The GNU C library defines this for functions which it implements
37690 to always fail with ENOSYS. Some functions are actually named
37691 something starting with __ and the normal name is an alias. */
37692 #if defined __stub_$ac_func || defined __stub___$ac_func
37693 choke me
37694 #endif
37695
37696 int
37697 main ()
37698 {
37699 return $ac_func ();
37700 ;
37701 return 0;
37702 }
37703 _ACEOF
37704 rm -f conftest.$ac_objext conftest$ac_exeext
37705 if { (ac_try="$ac_link"
37706 case "(($ac_try" in
37707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37708 *) ac_try_echo=$ac_try;;
37709 esac
37710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37711 (eval "$ac_link") 2>conftest.er1
37712 ac_status=$?
37713 grep -v '^ *+' conftest.er1 >conftest.err
37714 rm -f conftest.er1
37715 cat conftest.err >&5
37716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37717 (exit $ac_status); } && {
37718 test -z "$ac_c_werror_flag" ||
37719 test ! -s conftest.err
37720 } && test -s conftest$ac_exeext &&
37721 $as_test_x conftest$ac_exeext; then
37722 eval "$as_ac_var=yes"
37723 else
37724 echo "$as_me: failed program was:" >&5
37725 sed 's/^/| /' conftest.$ac_ext >&5
37726
37727 eval "$as_ac_var=no"
37728 fi
37729
37730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37731 conftest$ac_exeext conftest.$ac_ext
37732 fi
37733 ac_res=`eval echo '${'$as_ac_var'}'`
37734 { echo "$as_me:$LINENO: result: $ac_res" >&5
37735 echo "${ECHO_T}$ac_res" >&6; }
37736 if test `eval echo '${'$as_ac_var'}'` = yes; then
37737 cat >>confdefs.h <<_ACEOF
37738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37739 _ACEOF
37740
37741 fi
37742 done
37743
37744 fi
37745
37746 HAVE_SOME_SLEEP_FUNC=0
37747 if test "$USE_BEOS" = 1; then
37748 cat >>confdefs.h <<\_ACEOF
37749 #define HAVE_SLEEP 1
37750 _ACEOF
37751
37752 HAVE_SOME_SLEEP_FUNC=1
37753 fi
37754
37755 if test "$USE_DARWIN" = 1; then
37756 cat >>confdefs.h <<\_ACEOF
37757 #define HAVE_USLEEP 1
37758 _ACEOF
37759
37760 HAVE_SOME_SLEEP_FUNC=1
37761 fi
37762
37763 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37764 POSIX4_LINK=
37765
37766 for ac_func in nanosleep
37767 do
37768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37769 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37771 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37772 echo $ECHO_N "(cached) $ECHO_C" >&6
37773 else
37774 cat >conftest.$ac_ext <<_ACEOF
37775 /* confdefs.h. */
37776 _ACEOF
37777 cat confdefs.h >>conftest.$ac_ext
37778 cat >>conftest.$ac_ext <<_ACEOF
37779 /* end confdefs.h. */
37780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37782 #define $ac_func innocuous_$ac_func
37783
37784 /* System header to define __stub macros and hopefully few prototypes,
37785 which can conflict with char $ac_func (); below.
37786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37787 <limits.h> exists even on freestanding compilers. */
37788
37789 #ifdef __STDC__
37790 # include <limits.h>
37791 #else
37792 # include <assert.h>
37793 #endif
37794
37795 #undef $ac_func
37796
37797 /* Override any GCC internal prototype to avoid an error.
37798 Use char because int might match the return type of a GCC
37799 builtin and then its argument prototype would still apply. */
37800 #ifdef __cplusplus
37801 extern "C"
37802 #endif
37803 char $ac_func ();
37804 /* The GNU C library defines this for functions which it implements
37805 to always fail with ENOSYS. Some functions are actually named
37806 something starting with __ and the normal name is an alias. */
37807 #if defined __stub_$ac_func || defined __stub___$ac_func
37808 choke me
37809 #endif
37810
37811 int
37812 main ()
37813 {
37814 return $ac_func ();
37815 ;
37816 return 0;
37817 }
37818 _ACEOF
37819 rm -f conftest.$ac_objext conftest$ac_exeext
37820 if { (ac_try="$ac_link"
37821 case "(($ac_try" in
37822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37823 *) ac_try_echo=$ac_try;;
37824 esac
37825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37826 (eval "$ac_link") 2>conftest.er1
37827 ac_status=$?
37828 grep -v '^ *+' conftest.er1 >conftest.err
37829 rm -f conftest.er1
37830 cat conftest.err >&5
37831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37832 (exit $ac_status); } && {
37833 test -z "$ac_c_werror_flag" ||
37834 test ! -s conftest.err
37835 } && test -s conftest$ac_exeext &&
37836 $as_test_x conftest$ac_exeext; then
37837 eval "$as_ac_var=yes"
37838 else
37839 echo "$as_me: failed program was:" >&5
37840 sed 's/^/| /' conftest.$ac_ext >&5
37841
37842 eval "$as_ac_var=no"
37843 fi
37844
37845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37846 conftest$ac_exeext conftest.$ac_ext
37847 fi
37848 ac_res=`eval echo '${'$as_ac_var'}'`
37849 { echo "$as_me:$LINENO: result: $ac_res" >&5
37850 echo "${ECHO_T}$ac_res" >&6; }
37851 if test `eval echo '${'$as_ac_var'}'` = yes; then
37852 cat >>confdefs.h <<_ACEOF
37853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37854 _ACEOF
37855 cat >>confdefs.h <<\_ACEOF
37856 #define HAVE_NANOSLEEP 1
37857 _ACEOF
37858
37859 else
37860
37861 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37862 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37863 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37864 echo $ECHO_N "(cached) $ECHO_C" >&6
37865 else
37866 ac_check_lib_save_LIBS=$LIBS
37867 LIBS="-lposix4 $LIBS"
37868 cat >conftest.$ac_ext <<_ACEOF
37869 /* confdefs.h. */
37870 _ACEOF
37871 cat confdefs.h >>conftest.$ac_ext
37872 cat >>conftest.$ac_ext <<_ACEOF
37873 /* end confdefs.h. */
37874
37875 /* Override any GCC internal prototype to avoid an error.
37876 Use char because int might match the return type of a GCC
37877 builtin and then its argument prototype would still apply. */
37878 #ifdef __cplusplus
37879 extern "C"
37880 #endif
37881 char nanosleep ();
37882 int
37883 main ()
37884 {
37885 return nanosleep ();
37886 ;
37887 return 0;
37888 }
37889 _ACEOF
37890 rm -f conftest.$ac_objext conftest$ac_exeext
37891 if { (ac_try="$ac_link"
37892 case "(($ac_try" in
37893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37894 *) ac_try_echo=$ac_try;;
37895 esac
37896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37897 (eval "$ac_link") 2>conftest.er1
37898 ac_status=$?
37899 grep -v '^ *+' conftest.er1 >conftest.err
37900 rm -f conftest.er1
37901 cat conftest.err >&5
37902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37903 (exit $ac_status); } && {
37904 test -z "$ac_c_werror_flag" ||
37905 test ! -s conftest.err
37906 } && test -s conftest$ac_exeext &&
37907 $as_test_x conftest$ac_exeext; then
37908 ac_cv_lib_posix4_nanosleep=yes
37909 else
37910 echo "$as_me: failed program was:" >&5
37911 sed 's/^/| /' conftest.$ac_ext >&5
37912
37913 ac_cv_lib_posix4_nanosleep=no
37914 fi
37915
37916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37917 conftest$ac_exeext conftest.$ac_ext
37918 LIBS=$ac_check_lib_save_LIBS
37919 fi
37920 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37921 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37922 if test $ac_cv_lib_posix4_nanosleep = yes; then
37923
37924 cat >>confdefs.h <<\_ACEOF
37925 #define HAVE_NANOSLEEP 1
37926 _ACEOF
37927
37928 POSIX4_LINK=" -lposix4"
37929
37930 else
37931
37932
37933 for wx_func in usleep
37934 do
37935 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37936 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37937 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37938 echo $ECHO_N "(cached) $ECHO_C" >&6
37939 else
37940
37941 cat >conftest.$ac_ext <<_ACEOF
37942
37943 /* confdefs.h. */
37944 _ACEOF
37945 cat confdefs.h >>conftest.$ac_ext
37946 cat >>conftest.$ac_ext <<_ACEOF
37947 /* end confdefs.h. */
37948
37949
37950 $ac_includes_default
37951
37952 int
37953 main ()
37954 {
37955
37956 #ifndef $wx_func
37957 &$wx_func;
37958 #endif
37959
37960
37961 ;
37962 return 0;
37963 }
37964
37965 _ACEOF
37966 rm -f conftest.$ac_objext conftest$ac_exeext
37967 if { (ac_try="$ac_link"
37968 case "(($ac_try" in
37969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37970 *) ac_try_echo=$ac_try;;
37971 esac
37972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37973 (eval "$ac_link") 2>conftest.er1
37974 ac_status=$?
37975 grep -v '^ *+' conftest.er1 >conftest.err
37976 rm -f conftest.er1
37977 cat conftest.err >&5
37978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37979 (exit $ac_status); } && {
37980 test -z "$ac_c_werror_flag" ||
37981 test ! -s conftest.err
37982 } && test -s conftest$ac_exeext &&
37983 $as_test_x conftest$ac_exeext; then
37984 eval wx_cv_func_$wx_func=yes
37985 else
37986 echo "$as_me: failed program was:" >&5
37987 sed 's/^/| /' conftest.$ac_ext >&5
37988
37989 eval wx_cv_func_$wx_func=no
37990 fi
37991
37992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37993 conftest$ac_exeext conftest.$ac_ext
37994
37995 fi
37996 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37997 { echo "$as_me:$LINENO: result: $ac_res" >&5
37998 echo "${ECHO_T}$ac_res" >&6; }
37999
38000 if eval test \$wx_cv_func_$wx_func = yes
38001 then
38002 cat >>confdefs.h <<_ACEOF
38003 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38004 _ACEOF
38005
38006
38007 else
38008 :
38009 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38010 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38011
38012 fi
38013 done
38014
38015
38016
38017 fi
38018
38019
38020
38021 fi
38022 done
38023
38024 fi
38025
38026
38027 for wx_func in uname
38028 do
38029 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38030 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38031 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38032 echo $ECHO_N "(cached) $ECHO_C" >&6
38033 else
38034
38035 cat >conftest.$ac_ext <<_ACEOF
38036
38037 /* confdefs.h. */
38038 _ACEOF
38039 cat confdefs.h >>conftest.$ac_ext
38040 cat >>conftest.$ac_ext <<_ACEOF
38041 /* end confdefs.h. */
38042
38043 #include <sys/utsname.h>
38044 $ac_includes_default
38045
38046 int
38047 main ()
38048 {
38049
38050 #ifndef $wx_func
38051 &$wx_func;
38052 #endif
38053
38054
38055 ;
38056 return 0;
38057 }
38058
38059 _ACEOF
38060 rm -f conftest.$ac_objext conftest$ac_exeext
38061 if { (ac_try="$ac_link"
38062 case "(($ac_try" in
38063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38064 *) ac_try_echo=$ac_try;;
38065 esac
38066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38067 (eval "$ac_link") 2>conftest.er1
38068 ac_status=$?
38069 grep -v '^ *+' conftest.er1 >conftest.err
38070 rm -f conftest.er1
38071 cat conftest.err >&5
38072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38073 (exit $ac_status); } && {
38074 test -z "$ac_c_werror_flag" ||
38075 test ! -s conftest.err
38076 } && test -s conftest$ac_exeext &&
38077 $as_test_x conftest$ac_exeext; then
38078 eval wx_cv_func_$wx_func=yes
38079 else
38080 echo "$as_me: failed program was:" >&5
38081 sed 's/^/| /' conftest.$ac_ext >&5
38082
38083 eval wx_cv_func_$wx_func=no
38084 fi
38085
38086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38087 conftest$ac_exeext conftest.$ac_ext
38088
38089 fi
38090 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38091 { echo "$as_me:$LINENO: result: $ac_res" >&5
38092 echo "${ECHO_T}$ac_res" >&6; }
38093
38094 if eval test \$wx_cv_func_$wx_func = yes
38095 then
38096 cat >>confdefs.h <<_ACEOF
38097 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38098 _ACEOF
38099
38100
38101 else
38102 :
38103
38104 fi
38105 done
38106
38107 if test "$wx_cv_func_uname" != yes; then
38108
38109 for wx_func in gethostname
38110 do
38111 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38112 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38113 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38114 echo $ECHO_N "(cached) $ECHO_C" >&6
38115 else
38116
38117 cat >conftest.$ac_ext <<_ACEOF
38118
38119 /* confdefs.h. */
38120 _ACEOF
38121 cat confdefs.h >>conftest.$ac_ext
38122 cat >>conftest.$ac_ext <<_ACEOF
38123 /* end confdefs.h. */
38124
38125
38126 $ac_includes_default
38127
38128 int
38129 main ()
38130 {
38131
38132 #ifndef $wx_func
38133 &$wx_func;
38134 #endif
38135
38136
38137 ;
38138 return 0;
38139 }
38140
38141 _ACEOF
38142 rm -f conftest.$ac_objext conftest$ac_exeext
38143 if { (ac_try="$ac_link"
38144 case "(($ac_try" in
38145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38146 *) ac_try_echo=$ac_try;;
38147 esac
38148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38149 (eval "$ac_link") 2>conftest.er1
38150 ac_status=$?
38151 grep -v '^ *+' conftest.er1 >conftest.err
38152 rm -f conftest.er1
38153 cat conftest.err >&5
38154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38155 (exit $ac_status); } && {
38156 test -z "$ac_c_werror_flag" ||
38157 test ! -s conftest.err
38158 } && test -s conftest$ac_exeext &&
38159 $as_test_x conftest$ac_exeext; then
38160 eval wx_cv_func_$wx_func=yes
38161 else
38162 echo "$as_me: failed program was:" >&5
38163 sed 's/^/| /' conftest.$ac_ext >&5
38164
38165 eval wx_cv_func_$wx_func=no
38166 fi
38167
38168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38169 conftest$ac_exeext conftest.$ac_ext
38170
38171 fi
38172 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38173 { echo "$as_me:$LINENO: result: $ac_res" >&5
38174 echo "${ECHO_T}$ac_res" >&6; }
38175
38176 if eval test \$wx_cv_func_$wx_func = yes
38177 then
38178 cat >>confdefs.h <<_ACEOF
38179 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38180 _ACEOF
38181
38182
38183 else
38184 :
38185
38186 fi
38187 done
38188
38189 fi
38190
38191
38192 for wx_func in strtok_r
38193 do
38194 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38195 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38196 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38197 echo $ECHO_N "(cached) $ECHO_C" >&6
38198 else
38199
38200 cat >conftest.$ac_ext <<_ACEOF
38201
38202 /* confdefs.h. */
38203 _ACEOF
38204 cat confdefs.h >>conftest.$ac_ext
38205 cat >>conftest.$ac_ext <<_ACEOF
38206 /* end confdefs.h. */
38207
38208 #define _REENTRANT
38209 $ac_includes_default
38210
38211 int
38212 main ()
38213 {
38214
38215 #ifndef $wx_func
38216 &$wx_func;
38217 #endif
38218
38219
38220 ;
38221 return 0;
38222 }
38223
38224 _ACEOF
38225 rm -f conftest.$ac_objext conftest$ac_exeext
38226 if { (ac_try="$ac_link"
38227 case "(($ac_try" in
38228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38229 *) ac_try_echo=$ac_try;;
38230 esac
38231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38232 (eval "$ac_link") 2>conftest.er1
38233 ac_status=$?
38234 grep -v '^ *+' conftest.er1 >conftest.err
38235 rm -f conftest.er1
38236 cat conftest.err >&5
38237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38238 (exit $ac_status); } && {
38239 test -z "$ac_c_werror_flag" ||
38240 test ! -s conftest.err
38241 } && test -s conftest$ac_exeext &&
38242 $as_test_x conftest$ac_exeext; then
38243 eval wx_cv_func_$wx_func=yes
38244 else
38245 echo "$as_me: failed program was:" >&5
38246 sed 's/^/| /' conftest.$ac_ext >&5
38247
38248 eval wx_cv_func_$wx_func=no
38249 fi
38250
38251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38252 conftest$ac_exeext conftest.$ac_ext
38253
38254 fi
38255 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38256 { echo "$as_me:$LINENO: result: $ac_res" >&5
38257 echo "${ECHO_T}$ac_res" >&6; }
38258
38259 if eval test \$wx_cv_func_$wx_func = yes
38260 then
38261 cat >>confdefs.h <<_ACEOF
38262 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38263 _ACEOF
38264
38265
38266 else
38267 :
38268
38269 fi
38270 done
38271
38272
38273 INET_LINK=
38274
38275 for ac_func in inet_addr
38276 do
38277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38278 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38280 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38281 echo $ECHO_N "(cached) $ECHO_C" >&6
38282 else
38283 cat >conftest.$ac_ext <<_ACEOF
38284 /* confdefs.h. */
38285 _ACEOF
38286 cat confdefs.h >>conftest.$ac_ext
38287 cat >>conftest.$ac_ext <<_ACEOF
38288 /* end confdefs.h. */
38289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38291 #define $ac_func innocuous_$ac_func
38292
38293 /* System header to define __stub macros and hopefully few prototypes,
38294 which can conflict with char $ac_func (); below.
38295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38296 <limits.h> exists even on freestanding compilers. */
38297
38298 #ifdef __STDC__
38299 # include <limits.h>
38300 #else
38301 # include <assert.h>
38302 #endif
38303
38304 #undef $ac_func
38305
38306 /* Override any GCC internal prototype to avoid an error.
38307 Use char because int might match the return type of a GCC
38308 builtin and then its argument prototype would still apply. */
38309 #ifdef __cplusplus
38310 extern "C"
38311 #endif
38312 char $ac_func ();
38313 /* The GNU C library defines this for functions which it implements
38314 to always fail with ENOSYS. Some functions are actually named
38315 something starting with __ and the normal name is an alias. */
38316 #if defined __stub_$ac_func || defined __stub___$ac_func
38317 choke me
38318 #endif
38319
38320 int
38321 main ()
38322 {
38323 return $ac_func ();
38324 ;
38325 return 0;
38326 }
38327 _ACEOF
38328 rm -f conftest.$ac_objext conftest$ac_exeext
38329 if { (ac_try="$ac_link"
38330 case "(($ac_try" in
38331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38332 *) ac_try_echo=$ac_try;;
38333 esac
38334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38335 (eval "$ac_link") 2>conftest.er1
38336 ac_status=$?
38337 grep -v '^ *+' conftest.er1 >conftest.err
38338 rm -f conftest.er1
38339 cat conftest.err >&5
38340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38341 (exit $ac_status); } && {
38342 test -z "$ac_c_werror_flag" ||
38343 test ! -s conftest.err
38344 } && test -s conftest$ac_exeext &&
38345 $as_test_x conftest$ac_exeext; then
38346 eval "$as_ac_var=yes"
38347 else
38348 echo "$as_me: failed program was:" >&5
38349 sed 's/^/| /' conftest.$ac_ext >&5
38350
38351 eval "$as_ac_var=no"
38352 fi
38353
38354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38355 conftest$ac_exeext conftest.$ac_ext
38356 fi
38357 ac_res=`eval echo '${'$as_ac_var'}'`
38358 { echo "$as_me:$LINENO: result: $ac_res" >&5
38359 echo "${ECHO_T}$ac_res" >&6; }
38360 if test `eval echo '${'$as_ac_var'}'` = yes; then
38361 cat >>confdefs.h <<_ACEOF
38362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38363 _ACEOF
38364 cat >>confdefs.h <<\_ACEOF
38365 #define HAVE_INET_ADDR 1
38366 _ACEOF
38367
38368 else
38369
38370 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38371 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38372 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38373 echo $ECHO_N "(cached) $ECHO_C" >&6
38374 else
38375 ac_check_lib_save_LIBS=$LIBS
38376 LIBS="-lnsl $LIBS"
38377 cat >conftest.$ac_ext <<_ACEOF
38378 /* confdefs.h. */
38379 _ACEOF
38380 cat confdefs.h >>conftest.$ac_ext
38381 cat >>conftest.$ac_ext <<_ACEOF
38382 /* end confdefs.h. */
38383
38384 /* Override any GCC internal prototype to avoid an error.
38385 Use char because int might match the return type of a GCC
38386 builtin and then its argument prototype would still apply. */
38387 #ifdef __cplusplus
38388 extern "C"
38389 #endif
38390 char inet_addr ();
38391 int
38392 main ()
38393 {
38394 return inet_addr ();
38395 ;
38396 return 0;
38397 }
38398 _ACEOF
38399 rm -f conftest.$ac_objext conftest$ac_exeext
38400 if { (ac_try="$ac_link"
38401 case "(($ac_try" in
38402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38403 *) ac_try_echo=$ac_try;;
38404 esac
38405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38406 (eval "$ac_link") 2>conftest.er1
38407 ac_status=$?
38408 grep -v '^ *+' conftest.er1 >conftest.err
38409 rm -f conftest.er1
38410 cat conftest.err >&5
38411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38412 (exit $ac_status); } && {
38413 test -z "$ac_c_werror_flag" ||
38414 test ! -s conftest.err
38415 } && test -s conftest$ac_exeext &&
38416 $as_test_x conftest$ac_exeext; then
38417 ac_cv_lib_nsl_inet_addr=yes
38418 else
38419 echo "$as_me: failed program was:" >&5
38420 sed 's/^/| /' conftest.$ac_ext >&5
38421
38422 ac_cv_lib_nsl_inet_addr=no
38423 fi
38424
38425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38426 conftest$ac_exeext conftest.$ac_ext
38427 LIBS=$ac_check_lib_save_LIBS
38428 fi
38429 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38430 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38431 if test $ac_cv_lib_nsl_inet_addr = yes; then
38432 INET_LINK="nsl"
38433 else
38434
38435 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38436 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38437 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38438 echo $ECHO_N "(cached) $ECHO_C" >&6
38439 else
38440 ac_check_lib_save_LIBS=$LIBS
38441 LIBS="-lresolv $LIBS"
38442 cat >conftest.$ac_ext <<_ACEOF
38443 /* confdefs.h. */
38444 _ACEOF
38445 cat confdefs.h >>conftest.$ac_ext
38446 cat >>conftest.$ac_ext <<_ACEOF
38447 /* end confdefs.h. */
38448
38449 /* Override any GCC internal prototype to avoid an error.
38450 Use char because int might match the return type of a GCC
38451 builtin and then its argument prototype would still apply. */
38452 #ifdef __cplusplus
38453 extern "C"
38454 #endif
38455 char inet_addr ();
38456 int
38457 main ()
38458 {
38459 return inet_addr ();
38460 ;
38461 return 0;
38462 }
38463 _ACEOF
38464 rm -f conftest.$ac_objext conftest$ac_exeext
38465 if { (ac_try="$ac_link"
38466 case "(($ac_try" in
38467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38468 *) ac_try_echo=$ac_try;;
38469 esac
38470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38471 (eval "$ac_link") 2>conftest.er1
38472 ac_status=$?
38473 grep -v '^ *+' conftest.er1 >conftest.err
38474 rm -f conftest.er1
38475 cat conftest.err >&5
38476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38477 (exit $ac_status); } && {
38478 test -z "$ac_c_werror_flag" ||
38479 test ! -s conftest.err
38480 } && test -s conftest$ac_exeext &&
38481 $as_test_x conftest$ac_exeext; then
38482 ac_cv_lib_resolv_inet_addr=yes
38483 else
38484 echo "$as_me: failed program was:" >&5
38485 sed 's/^/| /' conftest.$ac_ext >&5
38486
38487 ac_cv_lib_resolv_inet_addr=no
38488 fi
38489
38490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38491 conftest$ac_exeext conftest.$ac_ext
38492 LIBS=$ac_check_lib_save_LIBS
38493 fi
38494 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38495 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38496 if test $ac_cv_lib_resolv_inet_addr = yes; then
38497 INET_LINK="resolv"
38498 else
38499
38500 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38501 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38502 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38503 echo $ECHO_N "(cached) $ECHO_C" >&6
38504 else
38505 ac_check_lib_save_LIBS=$LIBS
38506 LIBS="-lsocket $LIBS"
38507 cat >conftest.$ac_ext <<_ACEOF
38508 /* confdefs.h. */
38509 _ACEOF
38510 cat confdefs.h >>conftest.$ac_ext
38511 cat >>conftest.$ac_ext <<_ACEOF
38512 /* end confdefs.h. */
38513
38514 /* Override any GCC internal prototype to avoid an error.
38515 Use char because int might match the return type of a GCC
38516 builtin and then its argument prototype would still apply. */
38517 #ifdef __cplusplus
38518 extern "C"
38519 #endif
38520 char inet_addr ();
38521 int
38522 main ()
38523 {
38524 return inet_addr ();
38525 ;
38526 return 0;
38527 }
38528 _ACEOF
38529 rm -f conftest.$ac_objext conftest$ac_exeext
38530 if { (ac_try="$ac_link"
38531 case "(($ac_try" in
38532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38533 *) ac_try_echo=$ac_try;;
38534 esac
38535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38536 (eval "$ac_link") 2>conftest.er1
38537 ac_status=$?
38538 grep -v '^ *+' conftest.er1 >conftest.err
38539 rm -f conftest.er1
38540 cat conftest.err >&5
38541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38542 (exit $ac_status); } && {
38543 test -z "$ac_c_werror_flag" ||
38544 test ! -s conftest.err
38545 } && test -s conftest$ac_exeext &&
38546 $as_test_x conftest$ac_exeext; then
38547 ac_cv_lib_socket_inet_addr=yes
38548 else
38549 echo "$as_me: failed program was:" >&5
38550 sed 's/^/| /' conftest.$ac_ext >&5
38551
38552 ac_cv_lib_socket_inet_addr=no
38553 fi
38554
38555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38556 conftest$ac_exeext conftest.$ac_ext
38557 LIBS=$ac_check_lib_save_LIBS
38558 fi
38559 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38560 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38561 if test $ac_cv_lib_socket_inet_addr = yes; then
38562 INET_LINK="socket"
38563
38564 fi
38565
38566
38567
38568 fi
38569
38570
38571
38572 fi
38573
38574
38575
38576 fi
38577 done
38578
38579
38580
38581 for ac_func in inet_aton
38582 do
38583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38584 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38586 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38587 echo $ECHO_N "(cached) $ECHO_C" >&6
38588 else
38589 cat >conftest.$ac_ext <<_ACEOF
38590 /* confdefs.h. */
38591 _ACEOF
38592 cat confdefs.h >>conftest.$ac_ext
38593 cat >>conftest.$ac_ext <<_ACEOF
38594 /* end confdefs.h. */
38595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38597 #define $ac_func innocuous_$ac_func
38598
38599 /* System header to define __stub macros and hopefully few prototypes,
38600 which can conflict with char $ac_func (); below.
38601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38602 <limits.h> exists even on freestanding compilers. */
38603
38604 #ifdef __STDC__
38605 # include <limits.h>
38606 #else
38607 # include <assert.h>
38608 #endif
38609
38610 #undef $ac_func
38611
38612 /* Override any GCC internal prototype to avoid an error.
38613 Use char because int might match the return type of a GCC
38614 builtin and then its argument prototype would still apply. */
38615 #ifdef __cplusplus
38616 extern "C"
38617 #endif
38618 char $ac_func ();
38619 /* The GNU C library defines this for functions which it implements
38620 to always fail with ENOSYS. Some functions are actually named
38621 something starting with __ and the normal name is an alias. */
38622 #if defined __stub_$ac_func || defined __stub___$ac_func
38623 choke me
38624 #endif
38625
38626 int
38627 main ()
38628 {
38629 return $ac_func ();
38630 ;
38631 return 0;
38632 }
38633 _ACEOF
38634 rm -f conftest.$ac_objext conftest$ac_exeext
38635 if { (ac_try="$ac_link"
38636 case "(($ac_try" in
38637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38638 *) ac_try_echo=$ac_try;;
38639 esac
38640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38641 (eval "$ac_link") 2>conftest.er1
38642 ac_status=$?
38643 grep -v '^ *+' conftest.er1 >conftest.err
38644 rm -f conftest.er1
38645 cat conftest.err >&5
38646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38647 (exit $ac_status); } && {
38648 test -z "$ac_c_werror_flag" ||
38649 test ! -s conftest.err
38650 } && test -s conftest$ac_exeext &&
38651 $as_test_x conftest$ac_exeext; then
38652 eval "$as_ac_var=yes"
38653 else
38654 echo "$as_me: failed program was:" >&5
38655 sed 's/^/| /' conftest.$ac_ext >&5
38656
38657 eval "$as_ac_var=no"
38658 fi
38659
38660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38661 conftest$ac_exeext conftest.$ac_ext
38662 fi
38663 ac_res=`eval echo '${'$as_ac_var'}'`
38664 { echo "$as_me:$LINENO: result: $ac_res" >&5
38665 echo "${ECHO_T}$ac_res" >&6; }
38666 if test `eval echo '${'$as_ac_var'}'` = yes; then
38667 cat >>confdefs.h <<_ACEOF
38668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38669 _ACEOF
38670 cat >>confdefs.h <<\_ACEOF
38671 #define HAVE_INET_ATON 1
38672 _ACEOF
38673
38674 else
38675
38676 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38677 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38678 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38679 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38680 echo $ECHO_N "(cached) $ECHO_C" >&6
38681 else
38682 ac_check_lib_save_LIBS=$LIBS
38683 LIBS="-l$INET_LINK $LIBS"
38684 cat >conftest.$ac_ext <<_ACEOF
38685 /* confdefs.h. */
38686 _ACEOF
38687 cat confdefs.h >>conftest.$ac_ext
38688 cat >>conftest.$ac_ext <<_ACEOF
38689 /* end confdefs.h. */
38690
38691 /* Override any GCC internal prototype to avoid an error.
38692 Use char because int might match the return type of a GCC
38693 builtin and then its argument prototype would still apply. */
38694 #ifdef __cplusplus
38695 extern "C"
38696 #endif
38697 char inet_aton ();
38698 int
38699 main ()
38700 {
38701 return inet_aton ();
38702 ;
38703 return 0;
38704 }
38705 _ACEOF
38706 rm -f conftest.$ac_objext conftest$ac_exeext
38707 if { (ac_try="$ac_link"
38708 case "(($ac_try" in
38709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38710 *) ac_try_echo=$ac_try;;
38711 esac
38712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38713 (eval "$ac_link") 2>conftest.er1
38714 ac_status=$?
38715 grep -v '^ *+' conftest.er1 >conftest.err
38716 rm -f conftest.er1
38717 cat conftest.err >&5
38718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38719 (exit $ac_status); } && {
38720 test -z "$ac_c_werror_flag" ||
38721 test ! -s conftest.err
38722 } && test -s conftest$ac_exeext &&
38723 $as_test_x conftest$ac_exeext; then
38724 eval "$as_ac_Lib=yes"
38725 else
38726 echo "$as_me: failed program was:" >&5
38727 sed 's/^/| /' conftest.$ac_ext >&5
38728
38729 eval "$as_ac_Lib=no"
38730 fi
38731
38732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38733 conftest$ac_exeext conftest.$ac_ext
38734 LIBS=$ac_check_lib_save_LIBS
38735 fi
38736 ac_res=`eval echo '${'$as_ac_Lib'}'`
38737 { echo "$as_me:$LINENO: result: $ac_res" >&5
38738 echo "${ECHO_T}$ac_res" >&6; }
38739 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38740 cat >>confdefs.h <<\_ACEOF
38741 #define HAVE_INET_ATON 1
38742 _ACEOF
38743
38744 fi
38745
38746
38747 fi
38748 done
38749
38750
38751 if test "x$INET_LINK" != "x"; then
38752 cat >>confdefs.h <<\_ACEOF
38753 #define HAVE_INET_ADDR 1
38754 _ACEOF
38755
38756 INET_LINK=" -l$INET_LINK"
38757 fi
38758
38759
38760 for wx_func in fdopen
38761 do
38762 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38763 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38764 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38765 echo $ECHO_N "(cached) $ECHO_C" >&6
38766 else
38767
38768 cat >conftest.$ac_ext <<_ACEOF
38769
38770 /* confdefs.h. */
38771 _ACEOF
38772 cat confdefs.h >>conftest.$ac_ext
38773 cat >>conftest.$ac_ext <<_ACEOF
38774 /* end confdefs.h. */
38775
38776
38777 $ac_includes_default
38778
38779 int
38780 main ()
38781 {
38782
38783 #ifndef $wx_func
38784 &$wx_func;
38785 #endif
38786
38787
38788 ;
38789 return 0;
38790 }
38791
38792 _ACEOF
38793 rm -f conftest.$ac_objext conftest$ac_exeext
38794 if { (ac_try="$ac_link"
38795 case "(($ac_try" in
38796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38797 *) ac_try_echo=$ac_try;;
38798 esac
38799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38800 (eval "$ac_link") 2>conftest.er1
38801 ac_status=$?
38802 grep -v '^ *+' conftest.er1 >conftest.err
38803 rm -f conftest.er1
38804 cat conftest.err >&5
38805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38806 (exit $ac_status); } && {
38807 test -z "$ac_c_werror_flag" ||
38808 test ! -s conftest.err
38809 } && test -s conftest$ac_exeext &&
38810 $as_test_x conftest$ac_exeext; then
38811 eval wx_cv_func_$wx_func=yes
38812 else
38813 echo "$as_me: failed program was:" >&5
38814 sed 's/^/| /' conftest.$ac_ext >&5
38815
38816 eval wx_cv_func_$wx_func=no
38817 fi
38818
38819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38820 conftest$ac_exeext conftest.$ac_ext
38821
38822 fi
38823 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38824 { echo "$as_me:$LINENO: result: $ac_res" >&5
38825 echo "${ECHO_T}$ac_res" >&6; }
38826
38827 if eval test \$wx_cv_func_$wx_func = yes
38828 then
38829 cat >>confdefs.h <<_ACEOF
38830 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38831 _ACEOF
38832
38833
38834 else
38835 :
38836
38837 fi
38838 done
38839
38840
38841 if test "$wxUSE_TARSTREAM" = "yes"; then
38842
38843 for wx_func in sysconf
38844 do
38845 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38846 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38847 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38848 echo $ECHO_N "(cached) $ECHO_C" >&6
38849 else
38850
38851 cat >conftest.$ac_ext <<_ACEOF
38852
38853 /* confdefs.h. */
38854 _ACEOF
38855 cat confdefs.h >>conftest.$ac_ext
38856 cat >>conftest.$ac_ext <<_ACEOF
38857 /* end confdefs.h. */
38858
38859
38860 $ac_includes_default
38861
38862 int
38863 main ()
38864 {
38865
38866 #ifndef $wx_func
38867 &$wx_func;
38868 #endif
38869
38870
38871 ;
38872 return 0;
38873 }
38874
38875 _ACEOF
38876 rm -f conftest.$ac_objext conftest$ac_exeext
38877 if { (ac_try="$ac_link"
38878 case "(($ac_try" in
38879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38880 *) ac_try_echo=$ac_try;;
38881 esac
38882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38883 (eval "$ac_link") 2>conftest.er1
38884 ac_status=$?
38885 grep -v '^ *+' conftest.er1 >conftest.err
38886 rm -f conftest.er1
38887 cat conftest.err >&5
38888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38889 (exit $ac_status); } && {
38890 test -z "$ac_c_werror_flag" ||
38891 test ! -s conftest.err
38892 } && test -s conftest$ac_exeext &&
38893 $as_test_x conftest$ac_exeext; then
38894 eval wx_cv_func_$wx_func=yes
38895 else
38896 echo "$as_me: failed program was:" >&5
38897 sed 's/^/| /' conftest.$ac_ext >&5
38898
38899 eval wx_cv_func_$wx_func=no
38900 fi
38901
38902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38903 conftest$ac_exeext conftest.$ac_ext
38904
38905 fi
38906 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38907 { echo "$as_me:$LINENO: result: $ac_res" >&5
38908 echo "${ECHO_T}$ac_res" >&6; }
38909
38910 if eval test \$wx_cv_func_$wx_func = yes
38911 then
38912 cat >>confdefs.h <<_ACEOF
38913 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38914 _ACEOF
38915
38916
38917 else
38918 :
38919
38920 fi
38921 done
38922
38923
38924
38925 for wx_func in getpwuid_r
38926 do
38927 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38928 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38929 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38930 echo $ECHO_N "(cached) $ECHO_C" >&6
38931 else
38932
38933 cat >conftest.$ac_ext <<_ACEOF
38934
38935 /* confdefs.h. */
38936 _ACEOF
38937 cat confdefs.h >>conftest.$ac_ext
38938 cat >>conftest.$ac_ext <<_ACEOF
38939 /* end confdefs.h. */
38940
38941
38942 #define _REENTRANT
38943 #include <pwd.h>
38944
38945 $ac_includes_default
38946
38947 int
38948 main ()
38949 {
38950
38951 #ifndef $wx_func
38952 &$wx_func;
38953 #endif
38954
38955 struct passwd pw, *ppw;
38956 char buf[1024];
38957 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38958
38959
38960 ;
38961 return 0;
38962 }
38963
38964 _ACEOF
38965 rm -f conftest.$ac_objext conftest$ac_exeext
38966 if { (ac_try="$ac_link"
38967 case "(($ac_try" in
38968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38969 *) ac_try_echo=$ac_try;;
38970 esac
38971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38972 (eval "$ac_link") 2>conftest.er1
38973 ac_status=$?
38974 grep -v '^ *+' conftest.er1 >conftest.err
38975 rm -f conftest.er1
38976 cat conftest.err >&5
38977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38978 (exit $ac_status); } && {
38979 test -z "$ac_c_werror_flag" ||
38980 test ! -s conftest.err
38981 } && test -s conftest$ac_exeext &&
38982 $as_test_x conftest$ac_exeext; then
38983 eval wx_cv_func_$wx_func=yes
38984 else
38985 echo "$as_me: failed program was:" >&5
38986 sed 's/^/| /' conftest.$ac_ext >&5
38987
38988 eval wx_cv_func_$wx_func=no
38989 fi
38990
38991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38992 conftest$ac_exeext conftest.$ac_ext
38993
38994 fi
38995 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38996 { echo "$as_me:$LINENO: result: $ac_res" >&5
38997 echo "${ECHO_T}$ac_res" >&6; }
38998
38999 if eval test \$wx_cv_func_$wx_func = yes
39000 then
39001 cat >>confdefs.h <<_ACEOF
39002 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39003 _ACEOF
39004
39005
39006 else
39007 :
39008
39009 fi
39010 done
39011
39012
39013
39014 for wx_func in getgrgid_r
39015 do
39016 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39017 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39018 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39019 echo $ECHO_N "(cached) $ECHO_C" >&6
39020 else
39021
39022 cat >conftest.$ac_ext <<_ACEOF
39023
39024 /* confdefs.h. */
39025 _ACEOF
39026 cat confdefs.h >>conftest.$ac_ext
39027 cat >>conftest.$ac_ext <<_ACEOF
39028 /* end confdefs.h. */
39029
39030
39031 #define _REENTRANT
39032 #include <grp.h>
39033
39034 $ac_includes_default
39035
39036 int
39037 main ()
39038 {
39039
39040 #ifndef $wx_func
39041 &$wx_func;
39042 #endif
39043
39044 struct group grp, *pgrp;
39045 char buf[1024];
39046 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39047
39048
39049 ;
39050 return 0;
39051 }
39052
39053 _ACEOF
39054 rm -f conftest.$ac_objext conftest$ac_exeext
39055 if { (ac_try="$ac_link"
39056 case "(($ac_try" in
39057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39058 *) ac_try_echo=$ac_try;;
39059 esac
39060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39061 (eval "$ac_link") 2>conftest.er1
39062 ac_status=$?
39063 grep -v '^ *+' conftest.er1 >conftest.err
39064 rm -f conftest.er1
39065 cat conftest.err >&5
39066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39067 (exit $ac_status); } && {
39068 test -z "$ac_c_werror_flag" ||
39069 test ! -s conftest.err
39070 } && test -s conftest$ac_exeext &&
39071 $as_test_x conftest$ac_exeext; then
39072 eval wx_cv_func_$wx_func=yes
39073 else
39074 echo "$as_me: failed program was:" >&5
39075 sed 's/^/| /' conftest.$ac_ext >&5
39076
39077 eval wx_cv_func_$wx_func=no
39078 fi
39079
39080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39081 conftest$ac_exeext conftest.$ac_ext
39082
39083 fi
39084 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39085 { echo "$as_me:$LINENO: result: $ac_res" >&5
39086 echo "${ECHO_T}$ac_res" >&6; }
39087
39088 if eval test \$wx_cv_func_$wx_func = yes
39089 then
39090 cat >>confdefs.h <<_ACEOF
39091 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39092 _ACEOF
39093
39094
39095 else
39096 :
39097
39098 fi
39099 done
39100
39101 fi
39102
39103 fi
39104
39105
39106
39107 cat >confcache <<\_ACEOF
39108 # This file is a shell script that caches the results of configure
39109 # tests run on this system so they can be shared between configure
39110 # scripts and configure runs, see configure's option --config-cache.
39111 # It is not useful on other systems. If it contains results you don't
39112 # want to keep, you may remove or edit it.
39113 #
39114 # config.status only pays attention to the cache file if you give it
39115 # the --recheck option to rerun configure.
39116 #
39117 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39118 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39119 # following values.
39120
39121 _ACEOF
39122
39123 # The following way of writing the cache mishandles newlines in values,
39124 # but we know of no workaround that is simple, portable, and efficient.
39125 # So, we kill variables containing newlines.
39126 # Ultrix sh set writes to stderr and can't be redirected directly,
39127 # and sets the high bit in the cache file unless we assign to the vars.
39128 (
39129 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39130 eval ac_val=\$$ac_var
39131 case $ac_val in #(
39132 *${as_nl}*)
39133 case $ac_var in #(
39134 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39135 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39136 esac
39137 case $ac_var in #(
39138 _ | IFS | as_nl) ;; #(
39139 *) $as_unset $ac_var ;;
39140 esac ;;
39141 esac
39142 done
39143
39144 (set) 2>&1 |
39145 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39146 *${as_nl}ac_space=\ *)
39147 # `set' does not quote correctly, so add quotes (double-quote
39148 # substitution turns \\\\ into \\, and sed turns \\ into \).
39149 sed -n \
39150 "s/'/'\\\\''/g;
39151 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39152 ;; #(
39153 *)
39154 # `set' quotes correctly as required by POSIX, so do not add quotes.
39155 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39156 ;;
39157 esac |
39158 sort
39159 ) |
39160 sed '
39161 /^ac_cv_env_/b end
39162 t clear
39163 :clear
39164 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39165 t end
39166 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39167 :end' >>confcache
39168 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
39169 if test -w "$cache_file"; then
39170 test "x$cache_file" != "x/dev/null" &&
39171 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39172 echo "$as_me: updating cache $cache_file" >&6;}
39173 cat confcache >$cache_file
39174 else
39175 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39176 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39177 fi
39178 fi
39179 rm -f confcache
39180
39181
39182 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39183
39184
39185 THREADS_LINK=
39186 THREADS_CFLAGS=
39187
39188 if test "$wxUSE_THREADS" = "yes" ; then
39189 if test "$USE_BEOS" = 1; then
39190 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39191 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39192 wxUSE_THREADS="no"
39193 fi
39194 fi
39195
39196 if test "$wxUSE_THREADS" = "yes" ; then
39197
39198
39199 THREAD_OPTS="-pthread"
39200 if test "x$SUNCXX" = xyes; then
39201 THREAD_OPTS="-mt lthread $THREAD_OPTS"
39202 fi
39203
39204 case "${host}" in
39205 *-*-solaris2* | *-*-sunos4* )
39206 if test "x$GCC" = "xyes"; then
39207 THREAD_OPTS="-pthreads $THREAD_OPTS"
39208 fi
39209 ;;
39210 *-*-freebsd*)
39211 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39212 ;;
39213 *-*-darwin* | *-*-cygwin* )
39214 THREAD_OPTS=""
39215 ;;
39216 *-*-aix*)
39217 THREAD_OPTS="pthreads"
39218 ;;
39219 *-hp-hpux* )
39220 if test "x$GCC" = "xyes"; then
39221 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39222 THREAD_OPTS=""
39223 else
39224 THREAD_OPTS="-mt"
39225 fi
39226 ;;
39227
39228 *-*-irix* )
39229 if test "x$GCC" = "xyes"; then
39230 THREAD_OPTS=""
39231 fi
39232 ;;
39233
39234 *-*-*UnixWare*)
39235 if test "x$GCC" != "xyes"; then
39236 THREAD_OPTS="-Ethread"
39237 fi
39238 ;;
39239 esac
39240
39241 THREAD_OPTS="$THREAD_OPTS pthread none"
39242
39243 THREADS_OK=no
39244 for flag in $THREAD_OPTS; do
39245 case $flag in
39246 none)
39247 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39248 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39249 ;;
39250
39251 -*)
39252 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39253 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39254 THREADS_CFLAGS="$flag"
39255 ;;
39256
39257 *)
39258 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39259 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39260 THREADS_LINK="-l$flag"
39261 ;;
39262 esac
39263
39264 save_LIBS="$LIBS"
39265 save_CFLAGS="$CFLAGS"
39266 LIBS="$THREADS_LINK $LIBS"
39267 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39268
39269 cat >conftest.$ac_ext <<_ACEOF
39270 /* confdefs.h. */
39271 _ACEOF
39272 cat confdefs.h >>conftest.$ac_ext
39273 cat >>conftest.$ac_ext <<_ACEOF
39274 /* end confdefs.h. */
39275 #include <pthread.h>
39276 int
39277 main ()
39278 {
39279 pthread_create(0,0,0,0);
39280 ;
39281 return 0;
39282 }
39283 _ACEOF
39284 rm -f conftest.$ac_objext conftest$ac_exeext
39285 if { (ac_try="$ac_link"
39286 case "(($ac_try" in
39287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39288 *) ac_try_echo=$ac_try;;
39289 esac
39290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39291 (eval "$ac_link") 2>conftest.er1
39292 ac_status=$?
39293 grep -v '^ *+' conftest.er1 >conftest.err
39294 rm -f conftest.er1
39295 cat conftest.err >&5
39296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39297 (exit $ac_status); } && {
39298 test -z "$ac_c_werror_flag" ||
39299 test ! -s conftest.err
39300 } && test -s conftest$ac_exeext &&
39301 $as_test_x conftest$ac_exeext; then
39302 THREADS_OK=yes
39303 else
39304 echo "$as_me: failed program was:" >&5
39305 sed 's/^/| /' conftest.$ac_ext >&5
39306
39307
39308 fi
39309
39310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39311 conftest$ac_exeext conftest.$ac_ext
39312
39313 LIBS="$save_LIBS"
39314 CFLAGS="$save_CFLAGS"
39315
39316 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39317 echo "${ECHO_T}$THREADS_OK" >&6; }
39318 if test "x$THREADS_OK" = "xyes"; then
39319 break;
39320 fi
39321
39322 THREADS_LINK=""
39323 THREADS_CFLAGS=""
39324 done
39325
39326 if test "x$THREADS_OK" != "xyes"; then
39327 wxUSE_THREADS=no
39328 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39329 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39330 else
39331 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39332 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
39333 LIBS="$THREADS_LINK $LIBS"
39334
39335 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39336 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39337 flag=no
39338 case "${host}" in
39339 *-aix*)
39340 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39341 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
39342 flag="-D_THREAD_SAFE"
39343 ;;
39344 *-freebsd*)
39345 flag="-D_THREAD_SAFE"
39346 ;;
39347 *-hp-hpux* )
39348 flag="-D_REENTRANT"
39349 if test "x$GCC" != "xyes"; then
39350 flag="$flag -D_RWSTD_MULTI_THREAD"
39351 fi
39352 ;;
39353 *solaris* | alpha*-osf*)
39354 flag="-D_REENTRANT"
39355 ;;
39356 esac
39357 { echo "$as_me:$LINENO: result: ${flag}" >&5
39358 echo "${ECHO_T}${flag}" >&6; }
39359 if test "x$flag" != xno; then
39360 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39361 fi
39362
39363 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39364 fi
39365 fi
39366
39367 if test "$wxUSE_THREADS" = "yes" ; then
39368
39369 for ac_func in thr_setconcurrency
39370 do
39371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39372 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39374 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39375 echo $ECHO_N "(cached) $ECHO_C" >&6
39376 else
39377 cat >conftest.$ac_ext <<_ACEOF
39378 /* confdefs.h. */
39379 _ACEOF
39380 cat confdefs.h >>conftest.$ac_ext
39381 cat >>conftest.$ac_ext <<_ACEOF
39382 /* end confdefs.h. */
39383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39385 #define $ac_func innocuous_$ac_func
39386
39387 /* System header to define __stub macros and hopefully few prototypes,
39388 which can conflict with char $ac_func (); below.
39389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39390 <limits.h> exists even on freestanding compilers. */
39391
39392 #ifdef __STDC__
39393 # include <limits.h>
39394 #else
39395 # include <assert.h>
39396 #endif
39397
39398 #undef $ac_func
39399
39400 /* Override any GCC internal prototype to avoid an error.
39401 Use char because int might match the return type of a GCC
39402 builtin and then its argument prototype would still apply. */
39403 #ifdef __cplusplus
39404 extern "C"
39405 #endif
39406 char $ac_func ();
39407 /* The GNU C library defines this for functions which it implements
39408 to always fail with ENOSYS. Some functions are actually named
39409 something starting with __ and the normal name is an alias. */
39410 #if defined __stub_$ac_func || defined __stub___$ac_func
39411 choke me
39412 #endif
39413
39414 int
39415 main ()
39416 {
39417 return $ac_func ();
39418 ;
39419 return 0;
39420 }
39421 _ACEOF
39422 rm -f conftest.$ac_objext conftest$ac_exeext
39423 if { (ac_try="$ac_link"
39424 case "(($ac_try" in
39425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39426 *) ac_try_echo=$ac_try;;
39427 esac
39428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39429 (eval "$ac_link") 2>conftest.er1
39430 ac_status=$?
39431 grep -v '^ *+' conftest.er1 >conftest.err
39432 rm -f conftest.er1
39433 cat conftest.err >&5
39434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39435 (exit $ac_status); } && {
39436 test -z "$ac_c_werror_flag" ||
39437 test ! -s conftest.err
39438 } && test -s conftest$ac_exeext &&
39439 $as_test_x conftest$ac_exeext; then
39440 eval "$as_ac_var=yes"
39441 else
39442 echo "$as_me: failed program was:" >&5
39443 sed 's/^/| /' conftest.$ac_ext >&5
39444
39445 eval "$as_ac_var=no"
39446 fi
39447
39448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39449 conftest$ac_exeext conftest.$ac_ext
39450 fi
39451 ac_res=`eval echo '${'$as_ac_var'}'`
39452 { echo "$as_me:$LINENO: result: $ac_res" >&5
39453 echo "${ECHO_T}$ac_res" >&6; }
39454 if test `eval echo '${'$as_ac_var'}'` = yes; then
39455 cat >>confdefs.h <<_ACEOF
39456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39457 _ACEOF
39458
39459 fi
39460 done
39461
39462
39463 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39464 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39465 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39466 echo $ECHO_N "(cached) $ECHO_C" >&6
39467 else
39468
39469 ac_ext=cpp
39470 ac_cpp='$CXXCPP $CPPFLAGS'
39471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39474
39475 cat >conftest.$ac_ext <<_ACEOF
39476 /* confdefs.h. */
39477 _ACEOF
39478 cat confdefs.h >>conftest.$ac_ext
39479 cat >>conftest.$ac_ext <<_ACEOF
39480 /* end confdefs.h. */
39481 #include <pthread.h>
39482 void ThreadCleanupFunc(void *p);
39483
39484 int
39485 main ()
39486 {
39487
39488 void *p;
39489 pthread_cleanup_push(ThreadCleanupFunc, p);
39490 pthread_cleanup_pop(0);
39491
39492 ;
39493 return 0;
39494 }
39495 _ACEOF
39496 rm -f conftest.$ac_objext
39497 if { (ac_try="$ac_compile"
39498 case "(($ac_try" in
39499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39500 *) ac_try_echo=$ac_try;;
39501 esac
39502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39503 (eval "$ac_compile") 2>conftest.er1
39504 ac_status=$?
39505 grep -v '^ *+' conftest.er1 >conftest.err
39506 rm -f conftest.er1
39507 cat conftest.err >&5
39508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39509 (exit $ac_status); } && {
39510 test -z "$ac_cxx_werror_flag" ||
39511 test ! -s conftest.err
39512 } && test -s conftest.$ac_objext; then
39513
39514 wx_cv_func_pthread_cleanup=yes
39515
39516 else
39517 echo "$as_me: failed program was:" >&5
39518 sed 's/^/| /' conftest.$ac_ext >&5
39519
39520
39521 wx_cv_func_pthread_cleanup=no
39522
39523
39524 fi
39525
39526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39527 ac_ext=c
39528 ac_cpp='$CPP $CPPFLAGS'
39529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39532
39533
39534 fi
39535 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39536 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39537 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39538 cat >>confdefs.h <<\_ACEOF
39539 #define wxHAVE_PTHREAD_CLEANUP 1
39540 _ACEOF
39541
39542 fi
39543
39544
39545 for ac_header in sched.h
39546 do
39547 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39548 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39551 echo $ECHO_N "(cached) $ECHO_C" >&6
39552 else
39553 cat >conftest.$ac_ext <<_ACEOF
39554 /* confdefs.h. */
39555 _ACEOF
39556 cat confdefs.h >>conftest.$ac_ext
39557 cat >>conftest.$ac_ext <<_ACEOF
39558 /* end confdefs.h. */
39559 $ac_includes_default
39560
39561 #include <$ac_header>
39562 _ACEOF
39563 rm -f conftest.$ac_objext
39564 if { (ac_try="$ac_compile"
39565 case "(($ac_try" in
39566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39567 *) ac_try_echo=$ac_try;;
39568 esac
39569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39570 (eval "$ac_compile") 2>conftest.er1
39571 ac_status=$?
39572 grep -v '^ *+' conftest.er1 >conftest.err
39573 rm -f conftest.er1
39574 cat conftest.err >&5
39575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39576 (exit $ac_status); } && {
39577 test -z "$ac_c_werror_flag" ||
39578 test ! -s conftest.err
39579 } && test -s conftest.$ac_objext; then
39580 eval "$as_ac_Header=yes"
39581 else
39582 echo "$as_me: failed program was:" >&5
39583 sed 's/^/| /' conftest.$ac_ext >&5
39584
39585 eval "$as_ac_Header=no"
39586 fi
39587
39588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39589 fi
39590 ac_res=`eval echo '${'$as_ac_Header'}'`
39591 { echo "$as_me:$LINENO: result: $ac_res" >&5
39592 echo "${ECHO_T}$ac_res" >&6; }
39593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39594 cat >>confdefs.h <<_ACEOF
39595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39596 _ACEOF
39597
39598 fi
39599
39600 done
39601
39602 if test "$ac_cv_header_sched_h" = "yes"; then
39603 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39604 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39605 if test "${ac_cv_func_sched_yield+set}" = set; then
39606 echo $ECHO_N "(cached) $ECHO_C" >&6
39607 else
39608 cat >conftest.$ac_ext <<_ACEOF
39609 /* confdefs.h. */
39610 _ACEOF
39611 cat confdefs.h >>conftest.$ac_ext
39612 cat >>conftest.$ac_ext <<_ACEOF
39613 /* end confdefs.h. */
39614 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39616 #define sched_yield innocuous_sched_yield
39617
39618 /* System header to define __stub macros and hopefully few prototypes,
39619 which can conflict with char sched_yield (); below.
39620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39621 <limits.h> exists even on freestanding compilers. */
39622
39623 #ifdef __STDC__
39624 # include <limits.h>
39625 #else
39626 # include <assert.h>
39627 #endif
39628
39629 #undef sched_yield
39630
39631 /* Override any GCC internal prototype to avoid an error.
39632 Use char because int might match the return type of a GCC
39633 builtin and then its argument prototype would still apply. */
39634 #ifdef __cplusplus
39635 extern "C"
39636 #endif
39637 char sched_yield ();
39638 /* The GNU C library defines this for functions which it implements
39639 to always fail with ENOSYS. Some functions are actually named
39640 something starting with __ and the normal name is an alias. */
39641 #if defined __stub_sched_yield || defined __stub___sched_yield
39642 choke me
39643 #endif
39644
39645 int
39646 main ()
39647 {
39648 return sched_yield ();
39649 ;
39650 return 0;
39651 }
39652 _ACEOF
39653 rm -f conftest.$ac_objext conftest$ac_exeext
39654 if { (ac_try="$ac_link"
39655 case "(($ac_try" in
39656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39657 *) ac_try_echo=$ac_try;;
39658 esac
39659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39660 (eval "$ac_link") 2>conftest.er1
39661 ac_status=$?
39662 grep -v '^ *+' conftest.er1 >conftest.err
39663 rm -f conftest.er1
39664 cat conftest.err >&5
39665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39666 (exit $ac_status); } && {
39667 test -z "$ac_c_werror_flag" ||
39668 test ! -s conftest.err
39669 } && test -s conftest$ac_exeext &&
39670 $as_test_x conftest$ac_exeext; then
39671 ac_cv_func_sched_yield=yes
39672 else
39673 echo "$as_me: failed program was:" >&5
39674 sed 's/^/| /' conftest.$ac_ext >&5
39675
39676 ac_cv_func_sched_yield=no
39677 fi
39678
39679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39680 conftest$ac_exeext conftest.$ac_ext
39681 fi
39682 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39683 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39684 if test $ac_cv_func_sched_yield = yes; then
39685 cat >>confdefs.h <<\_ACEOF
39686 #define HAVE_SCHED_YIELD 1
39687 _ACEOF
39688
39689 else
39690
39691 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39692 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39693 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39694 echo $ECHO_N "(cached) $ECHO_C" >&6
39695 else
39696 ac_check_lib_save_LIBS=$LIBS
39697 LIBS="-lposix4 $LIBS"
39698 cat >conftest.$ac_ext <<_ACEOF
39699 /* confdefs.h. */
39700 _ACEOF
39701 cat confdefs.h >>conftest.$ac_ext
39702 cat >>conftest.$ac_ext <<_ACEOF
39703 /* end confdefs.h. */
39704
39705 /* Override any GCC internal prototype to avoid an error.
39706 Use char because int might match the return type of a GCC
39707 builtin and then its argument prototype would still apply. */
39708 #ifdef __cplusplus
39709 extern "C"
39710 #endif
39711 char sched_yield ();
39712 int
39713 main ()
39714 {
39715 return sched_yield ();
39716 ;
39717 return 0;
39718 }
39719 _ACEOF
39720 rm -f conftest.$ac_objext conftest$ac_exeext
39721 if { (ac_try="$ac_link"
39722 case "(($ac_try" in
39723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39724 *) ac_try_echo=$ac_try;;
39725 esac
39726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39727 (eval "$ac_link") 2>conftest.er1
39728 ac_status=$?
39729 grep -v '^ *+' conftest.er1 >conftest.err
39730 rm -f conftest.er1
39731 cat conftest.err >&5
39732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39733 (exit $ac_status); } && {
39734 test -z "$ac_c_werror_flag" ||
39735 test ! -s conftest.err
39736 } && test -s conftest$ac_exeext &&
39737 $as_test_x conftest$ac_exeext; then
39738 ac_cv_lib_posix4_sched_yield=yes
39739 else
39740 echo "$as_me: failed program was:" >&5
39741 sed 's/^/| /' conftest.$ac_ext >&5
39742
39743 ac_cv_lib_posix4_sched_yield=no
39744 fi
39745
39746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39747 conftest$ac_exeext conftest.$ac_ext
39748 LIBS=$ac_check_lib_save_LIBS
39749 fi
39750 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39751 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39752 if test $ac_cv_lib_posix4_sched_yield = yes; then
39753 cat >>confdefs.h <<\_ACEOF
39754 #define HAVE_SCHED_YIELD 1
39755 _ACEOF
39756 POSIX4_LINK=" -lposix4"
39757 else
39758 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39759 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39760
39761 fi
39762
39763
39764
39765 fi
39766
39767 fi
39768
39769 HAVE_PRIOR_FUNCS=0
39770 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39771 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39772 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39773 echo $ECHO_N "(cached) $ECHO_C" >&6
39774 else
39775 cat >conftest.$ac_ext <<_ACEOF
39776 /* confdefs.h. */
39777 _ACEOF
39778 cat confdefs.h >>conftest.$ac_ext
39779 cat >>conftest.$ac_ext <<_ACEOF
39780 /* end confdefs.h. */
39781 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39783 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39784
39785 /* System header to define __stub macros and hopefully few prototypes,
39786 which can conflict with char pthread_attr_getschedpolicy (); below.
39787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39788 <limits.h> exists even on freestanding compilers. */
39789
39790 #ifdef __STDC__
39791 # include <limits.h>
39792 #else
39793 # include <assert.h>
39794 #endif
39795
39796 #undef pthread_attr_getschedpolicy
39797
39798 /* Override any GCC internal prototype to avoid an error.
39799 Use char because int might match the return type of a GCC
39800 builtin and then its argument prototype would still apply. */
39801 #ifdef __cplusplus
39802 extern "C"
39803 #endif
39804 char pthread_attr_getschedpolicy ();
39805 /* The GNU C library defines this for functions which it implements
39806 to always fail with ENOSYS. Some functions are actually named
39807 something starting with __ and the normal name is an alias. */
39808 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39809 choke me
39810 #endif
39811
39812 int
39813 main ()
39814 {
39815 return pthread_attr_getschedpolicy ();
39816 ;
39817 return 0;
39818 }
39819 _ACEOF
39820 rm -f conftest.$ac_objext conftest$ac_exeext
39821 if { (ac_try="$ac_link"
39822 case "(($ac_try" in
39823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39824 *) ac_try_echo=$ac_try;;
39825 esac
39826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39827 (eval "$ac_link") 2>conftest.er1
39828 ac_status=$?
39829 grep -v '^ *+' conftest.er1 >conftest.err
39830 rm -f conftest.er1
39831 cat conftest.err >&5
39832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39833 (exit $ac_status); } && {
39834 test -z "$ac_c_werror_flag" ||
39835 test ! -s conftest.err
39836 } && test -s conftest$ac_exeext &&
39837 $as_test_x conftest$ac_exeext; then
39838 ac_cv_func_pthread_attr_getschedpolicy=yes
39839 else
39840 echo "$as_me: failed program was:" >&5
39841 sed 's/^/| /' conftest.$ac_ext >&5
39842
39843 ac_cv_func_pthread_attr_getschedpolicy=no
39844 fi
39845
39846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39847 conftest$ac_exeext conftest.$ac_ext
39848 fi
39849 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39850 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39851 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39852 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39853 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39854 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39855 echo $ECHO_N "(cached) $ECHO_C" >&6
39856 else
39857 cat >conftest.$ac_ext <<_ACEOF
39858 /* confdefs.h. */
39859 _ACEOF
39860 cat confdefs.h >>conftest.$ac_ext
39861 cat >>conftest.$ac_ext <<_ACEOF
39862 /* end confdefs.h. */
39863 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39865 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39866
39867 /* System header to define __stub macros and hopefully few prototypes,
39868 which can conflict with char pthread_attr_setschedparam (); below.
39869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39870 <limits.h> exists even on freestanding compilers. */
39871
39872 #ifdef __STDC__
39873 # include <limits.h>
39874 #else
39875 # include <assert.h>
39876 #endif
39877
39878 #undef pthread_attr_setschedparam
39879
39880 /* Override any GCC internal prototype to avoid an error.
39881 Use char because int might match the return type of a GCC
39882 builtin and then its argument prototype would still apply. */
39883 #ifdef __cplusplus
39884 extern "C"
39885 #endif
39886 char pthread_attr_setschedparam ();
39887 /* The GNU C library defines this for functions which it implements
39888 to always fail with ENOSYS. Some functions are actually named
39889 something starting with __ and the normal name is an alias. */
39890 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39891 choke me
39892 #endif
39893
39894 int
39895 main ()
39896 {
39897 return pthread_attr_setschedparam ();
39898 ;
39899 return 0;
39900 }
39901 _ACEOF
39902 rm -f conftest.$ac_objext conftest$ac_exeext
39903 if { (ac_try="$ac_link"
39904 case "(($ac_try" in
39905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39906 *) ac_try_echo=$ac_try;;
39907 esac
39908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39909 (eval "$ac_link") 2>conftest.er1
39910 ac_status=$?
39911 grep -v '^ *+' conftest.er1 >conftest.err
39912 rm -f conftest.er1
39913 cat conftest.err >&5
39914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39915 (exit $ac_status); } && {
39916 test -z "$ac_c_werror_flag" ||
39917 test ! -s conftest.err
39918 } && test -s conftest$ac_exeext &&
39919 $as_test_x conftest$ac_exeext; then
39920 ac_cv_func_pthread_attr_setschedparam=yes
39921 else
39922 echo "$as_me: failed program was:" >&5
39923 sed 's/^/| /' conftest.$ac_ext >&5
39924
39925 ac_cv_func_pthread_attr_setschedparam=no
39926 fi
39927
39928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39929 conftest$ac_exeext conftest.$ac_ext
39930 fi
39931 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39932 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39933 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39934 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39935 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39936 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39937 echo $ECHO_N "(cached) $ECHO_C" >&6
39938 else
39939 cat >conftest.$ac_ext <<_ACEOF
39940 /* confdefs.h. */
39941 _ACEOF
39942 cat confdefs.h >>conftest.$ac_ext
39943 cat >>conftest.$ac_ext <<_ACEOF
39944 /* end confdefs.h. */
39945 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39947 #define sched_get_priority_max innocuous_sched_get_priority_max
39948
39949 /* System header to define __stub macros and hopefully few prototypes,
39950 which can conflict with char sched_get_priority_max (); below.
39951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39952 <limits.h> exists even on freestanding compilers. */
39953
39954 #ifdef __STDC__
39955 # include <limits.h>
39956 #else
39957 # include <assert.h>
39958 #endif
39959
39960 #undef sched_get_priority_max
39961
39962 /* Override any GCC internal prototype to avoid an error.
39963 Use char because int might match the return type of a GCC
39964 builtin and then its argument prototype would still apply. */
39965 #ifdef __cplusplus
39966 extern "C"
39967 #endif
39968 char sched_get_priority_max ();
39969 /* The GNU C library defines this for functions which it implements
39970 to always fail with ENOSYS. Some functions are actually named
39971 something starting with __ and the normal name is an alias. */
39972 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39973 choke me
39974 #endif
39975
39976 int
39977 main ()
39978 {
39979 return sched_get_priority_max ();
39980 ;
39981 return 0;
39982 }
39983 _ACEOF
39984 rm -f conftest.$ac_objext conftest$ac_exeext
39985 if { (ac_try="$ac_link"
39986 case "(($ac_try" in
39987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39988 *) ac_try_echo=$ac_try;;
39989 esac
39990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39991 (eval "$ac_link") 2>conftest.er1
39992 ac_status=$?
39993 grep -v '^ *+' conftest.er1 >conftest.err
39994 rm -f conftest.er1
39995 cat conftest.err >&5
39996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39997 (exit $ac_status); } && {
39998 test -z "$ac_c_werror_flag" ||
39999 test ! -s conftest.err
40000 } && test -s conftest$ac_exeext &&
40001 $as_test_x conftest$ac_exeext; then
40002 ac_cv_func_sched_get_priority_max=yes
40003 else
40004 echo "$as_me: failed program was:" >&5
40005 sed 's/^/| /' conftest.$ac_ext >&5
40006
40007 ac_cv_func_sched_get_priority_max=no
40008 fi
40009
40010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40011 conftest$ac_exeext conftest.$ac_ext
40012 fi
40013 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40014 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40015 if test $ac_cv_func_sched_get_priority_max = yes; then
40016 HAVE_PRIOR_FUNCS=1
40017 else
40018 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40019 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40020 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40021 echo $ECHO_N "(cached) $ECHO_C" >&6
40022 else
40023 ac_check_lib_save_LIBS=$LIBS
40024 LIBS="-lposix4 $LIBS"
40025 cat >conftest.$ac_ext <<_ACEOF
40026 /* confdefs.h. */
40027 _ACEOF
40028 cat confdefs.h >>conftest.$ac_ext
40029 cat >>conftest.$ac_ext <<_ACEOF
40030 /* end confdefs.h. */
40031
40032 /* Override any GCC internal prototype to avoid an error.
40033 Use char because int might match the return type of a GCC
40034 builtin and then its argument prototype would still apply. */
40035 #ifdef __cplusplus
40036 extern "C"
40037 #endif
40038 char sched_get_priority_max ();
40039 int
40040 main ()
40041 {
40042 return sched_get_priority_max ();
40043 ;
40044 return 0;
40045 }
40046 _ACEOF
40047 rm -f conftest.$ac_objext conftest$ac_exeext
40048 if { (ac_try="$ac_link"
40049 case "(($ac_try" in
40050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40051 *) ac_try_echo=$ac_try;;
40052 esac
40053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40054 (eval "$ac_link") 2>conftest.er1
40055 ac_status=$?
40056 grep -v '^ *+' conftest.er1 >conftest.err
40057 rm -f conftest.er1
40058 cat conftest.err >&5
40059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40060 (exit $ac_status); } && {
40061 test -z "$ac_c_werror_flag" ||
40062 test ! -s conftest.err
40063 } && test -s conftest$ac_exeext &&
40064 $as_test_x conftest$ac_exeext; then
40065 ac_cv_lib_posix4_sched_get_priority_max=yes
40066 else
40067 echo "$as_me: failed program was:" >&5
40068 sed 's/^/| /' conftest.$ac_ext >&5
40069
40070 ac_cv_lib_posix4_sched_get_priority_max=no
40071 fi
40072
40073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40074 conftest$ac_exeext conftest.$ac_ext
40075 LIBS=$ac_check_lib_save_LIBS
40076 fi
40077 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40078 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40079 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40080
40081 HAVE_PRIOR_FUNCS=1
40082 POSIX4_LINK=" -lposix4"
40083
40084 fi
40085
40086
40087 fi
40088
40089
40090 fi
40091
40092
40093 fi
40094
40095
40096 if test "$HAVE_PRIOR_FUNCS" = 1; then
40097 cat >>confdefs.h <<\_ACEOF
40098 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40099 _ACEOF
40100
40101 else
40102 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40103 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40104 fi
40105
40106 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40107 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40108 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40109 echo $ECHO_N "(cached) $ECHO_C" >&6
40110 else
40111 cat >conftest.$ac_ext <<_ACEOF
40112 /* confdefs.h. */
40113 _ACEOF
40114 cat confdefs.h >>conftest.$ac_ext
40115 cat >>conftest.$ac_ext <<_ACEOF
40116 /* end confdefs.h. */
40117 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40119 #define pthread_cancel innocuous_pthread_cancel
40120
40121 /* System header to define __stub macros and hopefully few prototypes,
40122 which can conflict with char pthread_cancel (); below.
40123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40124 <limits.h> exists even on freestanding compilers. */
40125
40126 #ifdef __STDC__
40127 # include <limits.h>
40128 #else
40129 # include <assert.h>
40130 #endif
40131
40132 #undef pthread_cancel
40133
40134 /* Override any GCC internal prototype to avoid an error.
40135 Use char because int might match the return type of a GCC
40136 builtin and then its argument prototype would still apply. */
40137 #ifdef __cplusplus
40138 extern "C"
40139 #endif
40140 char pthread_cancel ();
40141 /* The GNU C library defines this for functions which it implements
40142 to always fail with ENOSYS. Some functions are actually named
40143 something starting with __ and the normal name is an alias. */
40144 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40145 choke me
40146 #endif
40147
40148 int
40149 main ()
40150 {
40151 return pthread_cancel ();
40152 ;
40153 return 0;
40154 }
40155 _ACEOF
40156 rm -f conftest.$ac_objext conftest$ac_exeext
40157 if { (ac_try="$ac_link"
40158 case "(($ac_try" in
40159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40160 *) ac_try_echo=$ac_try;;
40161 esac
40162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40163 (eval "$ac_link") 2>conftest.er1
40164 ac_status=$?
40165 grep -v '^ *+' conftest.er1 >conftest.err
40166 rm -f conftest.er1
40167 cat conftest.err >&5
40168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40169 (exit $ac_status); } && {
40170 test -z "$ac_c_werror_flag" ||
40171 test ! -s conftest.err
40172 } && test -s conftest$ac_exeext &&
40173 $as_test_x conftest$ac_exeext; then
40174 ac_cv_func_pthread_cancel=yes
40175 else
40176 echo "$as_me: failed program was:" >&5
40177 sed 's/^/| /' conftest.$ac_ext >&5
40178
40179 ac_cv_func_pthread_cancel=no
40180 fi
40181
40182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40183 conftest$ac_exeext conftest.$ac_ext
40184 fi
40185 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40186 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40187 if test $ac_cv_func_pthread_cancel = yes; then
40188 cat >>confdefs.h <<\_ACEOF
40189 #define HAVE_PTHREAD_CANCEL 1
40190 _ACEOF
40191
40192 else
40193 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40194 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40195 fi
40196
40197
40198 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40199 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40200 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40201 echo $ECHO_N "(cached) $ECHO_C" >&6
40202 else
40203 cat >conftest.$ac_ext <<_ACEOF
40204 /* confdefs.h. */
40205 _ACEOF
40206 cat confdefs.h >>conftest.$ac_ext
40207 cat >>conftest.$ac_ext <<_ACEOF
40208 /* end confdefs.h. */
40209 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40211 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40212
40213 /* System header to define __stub macros and hopefully few prototypes,
40214 which can conflict with char pthread_mutex_timedlock (); below.
40215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40216 <limits.h> exists even on freestanding compilers. */
40217
40218 #ifdef __STDC__
40219 # include <limits.h>
40220 #else
40221 # include <assert.h>
40222 #endif
40223
40224 #undef pthread_mutex_timedlock
40225
40226 /* Override any GCC internal prototype to avoid an error.
40227 Use char because int might match the return type of a GCC
40228 builtin and then its argument prototype would still apply. */
40229 #ifdef __cplusplus
40230 extern "C"
40231 #endif
40232 char pthread_mutex_timedlock ();
40233 /* The GNU C library defines this for functions which it implements
40234 to always fail with ENOSYS. Some functions are actually named
40235 something starting with __ and the normal name is an alias. */
40236 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40237 choke me
40238 #endif
40239
40240 int
40241 main ()
40242 {
40243 return pthread_mutex_timedlock ();
40244 ;
40245 return 0;
40246 }
40247 _ACEOF
40248 rm -f conftest.$ac_objext conftest$ac_exeext
40249 if { (ac_try="$ac_link"
40250 case "(($ac_try" in
40251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40252 *) ac_try_echo=$ac_try;;
40253 esac
40254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40255 (eval "$ac_link") 2>conftest.er1
40256 ac_status=$?
40257 grep -v '^ *+' conftest.er1 >conftest.err
40258 rm -f conftest.er1
40259 cat conftest.err >&5
40260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40261 (exit $ac_status); } && {
40262 test -z "$ac_c_werror_flag" ||
40263 test ! -s conftest.err
40264 } && test -s conftest$ac_exeext &&
40265 $as_test_x conftest$ac_exeext; then
40266 ac_cv_func_pthread_mutex_timedlock=yes
40267 else
40268 echo "$as_me: failed program was:" >&5
40269 sed 's/^/| /' conftest.$ac_ext >&5
40270
40271 ac_cv_func_pthread_mutex_timedlock=no
40272 fi
40273
40274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40275 conftest$ac_exeext conftest.$ac_ext
40276 fi
40277 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40278 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40279 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40280 cat >>confdefs.h <<\_ACEOF
40281 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40282 _ACEOF
40283
40284 else
40285 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40286 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40287 fi
40288
40289
40290 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40291 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40292 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40293 echo $ECHO_N "(cached) $ECHO_C" >&6
40294 else
40295 cat >conftest.$ac_ext <<_ACEOF
40296 /* confdefs.h. */
40297 _ACEOF
40298 cat confdefs.h >>conftest.$ac_ext
40299 cat >>conftest.$ac_ext <<_ACEOF
40300 /* end confdefs.h. */
40301 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40303 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40304
40305 /* System header to define __stub macros and hopefully few prototypes,
40306 which can conflict with char pthread_attr_setstacksize (); below.
40307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40308 <limits.h> exists even on freestanding compilers. */
40309
40310 #ifdef __STDC__
40311 # include <limits.h>
40312 #else
40313 # include <assert.h>
40314 #endif
40315
40316 #undef pthread_attr_setstacksize
40317
40318 /* Override any GCC internal prototype to avoid an error.
40319 Use char because int might match the return type of a GCC
40320 builtin and then its argument prototype would still apply. */
40321 #ifdef __cplusplus
40322 extern "C"
40323 #endif
40324 char pthread_attr_setstacksize ();
40325 /* The GNU C library defines this for functions which it implements
40326 to always fail with ENOSYS. Some functions are actually named
40327 something starting with __ and the normal name is an alias. */
40328 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40329 choke me
40330 #endif
40331
40332 int
40333 main ()
40334 {
40335 return pthread_attr_setstacksize ();
40336 ;
40337 return 0;
40338 }
40339 _ACEOF
40340 rm -f conftest.$ac_objext conftest$ac_exeext
40341 if { (ac_try="$ac_link"
40342 case "(($ac_try" in
40343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40344 *) ac_try_echo=$ac_try;;
40345 esac
40346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40347 (eval "$ac_link") 2>conftest.er1
40348 ac_status=$?
40349 grep -v '^ *+' conftest.er1 >conftest.err
40350 rm -f conftest.er1
40351 cat conftest.err >&5
40352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40353 (exit $ac_status); } && {
40354 test -z "$ac_c_werror_flag" ||
40355 test ! -s conftest.err
40356 } && test -s conftest$ac_exeext &&
40357 $as_test_x conftest$ac_exeext; then
40358 ac_cv_func_pthread_attr_setstacksize=yes
40359 else
40360 echo "$as_me: failed program was:" >&5
40361 sed 's/^/| /' conftest.$ac_ext >&5
40362
40363 ac_cv_func_pthread_attr_setstacksize=no
40364 fi
40365
40366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40367 conftest$ac_exeext conftest.$ac_ext
40368 fi
40369 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40370 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40371 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40372 cat >>confdefs.h <<\_ACEOF
40373 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40374 _ACEOF
40375
40376 fi
40377
40378
40379
40380 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40381 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40382 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40383 echo $ECHO_N "(cached) $ECHO_C" >&6
40384 else
40385
40386 cat >conftest.$ac_ext <<_ACEOF
40387 /* confdefs.h. */
40388 _ACEOF
40389 cat confdefs.h >>conftest.$ac_ext
40390 cat >>conftest.$ac_ext <<_ACEOF
40391 /* end confdefs.h. */
40392 #include <pthread.h>
40393 int
40394 main ()
40395 {
40396
40397 pthread_mutexattr_t attr;
40398 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40399
40400 ;
40401 return 0;
40402 }
40403 _ACEOF
40404 rm -f conftest.$ac_objext
40405 if { (ac_try="$ac_compile"
40406 case "(($ac_try" in
40407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40408 *) ac_try_echo=$ac_try;;
40409 esac
40410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40411 (eval "$ac_compile") 2>conftest.er1
40412 ac_status=$?
40413 grep -v '^ *+' conftest.er1 >conftest.err
40414 rm -f conftest.er1
40415 cat conftest.err >&5
40416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40417 (exit $ac_status); } && {
40418 test -z "$ac_c_werror_flag" ||
40419 test ! -s conftest.err
40420 } && test -s conftest.$ac_objext; then
40421 wx_cv_type_pthread_mutexattr_t=yes
40422 else
40423 echo "$as_me: failed program was:" >&5
40424 sed 's/^/| /' conftest.$ac_ext >&5
40425
40426 wx_cv_type_pthread_mutexattr_t=no
40427
40428 fi
40429
40430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40431
40432 fi
40433 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40434 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40435
40436 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40437 cat >>confdefs.h <<\_ACEOF
40438 #define HAVE_PTHREAD_MUTEXATTR_T 1
40439 _ACEOF
40440
40441
40442 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40443 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40444 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40445 echo $ECHO_N "(cached) $ECHO_C" >&6
40446 else
40447
40448 cat >conftest.$ac_ext <<_ACEOF
40449 /* confdefs.h. */
40450 _ACEOF
40451 cat confdefs.h >>conftest.$ac_ext
40452 cat >>conftest.$ac_ext <<_ACEOF
40453 /* end confdefs.h. */
40454 #include <pthread.h>
40455 int
40456 main ()
40457 {
40458
40459 pthread_mutexattr_t attr;
40460 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40461
40462 ;
40463 return 0;
40464 }
40465 _ACEOF
40466 rm -f conftest.$ac_objext
40467 if { (ac_try="$ac_compile"
40468 case "(($ac_try" in
40469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40470 *) ac_try_echo=$ac_try;;
40471 esac
40472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40473 (eval "$ac_compile") 2>conftest.er1
40474 ac_status=$?
40475 grep -v '^ *+' conftest.er1 >conftest.err
40476 rm -f conftest.er1
40477 cat conftest.err >&5
40478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40479 (exit $ac_status); } && {
40480 test -z "$ac_c_werror_flag" ||
40481 test ! -s conftest.err
40482 } && test -s conftest.$ac_objext; then
40483 wx_cv_func_pthread_mutexattr_settype_decl=yes
40484 else
40485 echo "$as_me: failed program was:" >&5
40486 sed 's/^/| /' conftest.$ac_ext >&5
40487
40488 wx_cv_func_pthread_mutexattr_settype_decl=no
40489
40490 fi
40491
40492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40493
40494 fi
40495 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40496 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40497 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40498 cat >>confdefs.h <<\_ACEOF
40499 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40500 _ACEOF
40501
40502 fi
40503 else
40504 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40505 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40506 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40507 echo $ECHO_N "(cached) $ECHO_C" >&6
40508 else
40509
40510 cat >conftest.$ac_ext <<_ACEOF
40511 /* confdefs.h. */
40512 _ACEOF
40513 cat confdefs.h >>conftest.$ac_ext
40514 cat >>conftest.$ac_ext <<_ACEOF
40515 /* end confdefs.h. */
40516 #include <pthread.h>
40517 int
40518 main ()
40519 {
40520
40521 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40522
40523 ;
40524 return 0;
40525 }
40526 _ACEOF
40527 rm -f conftest.$ac_objext
40528 if { (ac_try="$ac_compile"
40529 case "(($ac_try" in
40530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40531 *) ac_try_echo=$ac_try;;
40532 esac
40533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40534 (eval "$ac_compile") 2>conftest.er1
40535 ac_status=$?
40536 grep -v '^ *+' conftest.er1 >conftest.err
40537 rm -f conftest.er1
40538 cat conftest.err >&5
40539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40540 (exit $ac_status); } && {
40541 test -z "$ac_c_werror_flag" ||
40542 test ! -s conftest.err
40543 } && test -s conftest.$ac_objext; then
40544
40545 wx_cv_type_pthread_rec_mutex_init=yes
40546
40547 else
40548 echo "$as_me: failed program was:" >&5
40549 sed 's/^/| /' conftest.$ac_ext >&5
40550
40551
40552 wx_cv_type_pthread_rec_mutex_init=no
40553
40554
40555 fi
40556
40557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40558
40559 fi
40560 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40561 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40562 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40563 cat >>confdefs.h <<\_ACEOF
40564 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40565 _ACEOF
40566
40567 else
40568 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40569 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40570 fi
40571 fi
40572
40573 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40574 if test "$USE_NETBSD" = 1; then
40575 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40576 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40577 wxUSE_COMPILER_TLS=no
40578 else
40579 wxUSE_COMPILER_TLS=yes
40580 fi
40581 fi
40582
40583 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40584 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40585 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40586 if test "${wx_cv_cc___thread+set}" = set; then
40587 echo $ECHO_N "(cached) $ECHO_C" >&6
40588 else
40589
40590 cat >conftest.$ac_ext <<_ACEOF
40591 /* confdefs.h. */
40592 _ACEOF
40593 cat confdefs.h >>conftest.$ac_ext
40594 cat >>conftest.$ac_ext <<_ACEOF
40595 /* end confdefs.h. */
40596 #include <pthread.h>
40597 int
40598 main ()
40599 {
40600
40601 static __thread int n = 0;
40602 static __thread int *p = 0;
40603
40604 ;
40605 return 0;
40606 }
40607 _ACEOF
40608 rm -f conftest.$ac_objext
40609 if { (ac_try="$ac_compile"
40610 case "(($ac_try" in
40611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40612 *) ac_try_echo=$ac_try;;
40613 esac
40614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40615 (eval "$ac_compile") 2>conftest.er1
40616 ac_status=$?
40617 grep -v '^ *+' conftest.er1 >conftest.err
40618 rm -f conftest.er1
40619 cat conftest.err >&5
40620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40621 (exit $ac_status); } && {
40622 test -z "$ac_c_werror_flag" ||
40623 test ! -s conftest.err
40624 } && test -s conftest.$ac_objext; then
40625 wx_cv_cc___thread=yes
40626 else
40627 echo "$as_me: failed program was:" >&5
40628 sed 's/^/| /' conftest.$ac_ext >&5
40629
40630 wx_cv_cc___thread=no
40631
40632 fi
40633
40634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40635
40636
40637 fi
40638 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40639 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40640
40641 if test "$wx_cv_cc___thread" = "yes"; then
40642
40643 GXX_VERSION=""
40644
40645
40646
40647 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40648 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40649
40650 if test "x$GCC" = "xyes" ; then
40651
40652 if test -z "" ; then
40653
40654 ax_gcc_option_test="int main()
40655 {
40656 return 0;
40657 }"
40658
40659 else
40660
40661 ax_gcc_option_test=""
40662
40663 fi
40664
40665
40666 # Dump the test program to file
40667 cat <<EOF > conftest.c
40668 $ax_gcc_option_test
40669 EOF
40670
40671 # Dump back the file to the log, useful for debugging purposes
40672 { ac_try='cat conftest.c 1>&5'
40673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40674 (eval $ac_try) 2>&5
40675 ac_status=$?
40676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40677 (exit $ac_status); }; }
40678
40679 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40681 (eval $ac_try) 2>&5
40682 ac_status=$?
40683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40684 (exit $ac_status); }; } ; then
40685
40686 { echo "$as_me:$LINENO: result: yes" >&5
40687 echo "${ECHO_T}yes" >&6; }
40688
40689 ax_gcc_version_option=yes
40690
40691
40692 else
40693
40694 { echo "$as_me:$LINENO: result: no" >&5
40695 echo "${ECHO_T}no" >&6; }
40696
40697 ax_gcc_version_option=no
40698
40699
40700 fi
40701
40702
40703 else
40704
40705 { echo "$as_me:$LINENO: result: no gcc available" >&5
40706 echo "${ECHO_T}no gcc available" >&6; }
40707
40708 fi
40709
40710
40711 if test "x$GXX" = "xyes"; then
40712
40713 if test "x$ax_gxx_version_option" != "no"; then
40714
40715 { echo "$as_me:$LINENO: checking gxx version" >&5
40716 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40717 if test "${ax_cv_gxx_version+set}" = set; then
40718 echo $ECHO_N "(cached) $ECHO_C" >&6
40719 else
40720
40721 ax_cv_gxx_version="`$CXX -dumpversion`"
40722 if test "x$ax_cv_gxx_version" = "x"; then
40723
40724 ax_cv_gxx_version=""
40725
40726 fi
40727
40728
40729 fi
40730 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40731 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40732 GXX_VERSION=$ax_cv_gxx_version
40733
40734 fi
40735
40736
40737 fi
40738
40739
40740
40741 if test -n "$ax_cv_gxx_version"; then
40742 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40743 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40744 case "$ax_cv_gxx_version" in
40745 1.* | 2.* | 3.* )
40746 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40747 echo "${ECHO_T}no, it's broken" >&6; }
40748 wx_cv_cc___thread=no
40749 ;;
40750 *)
40751 { echo "$as_me:$LINENO: result: yes, it works" >&5
40752 echo "${ECHO_T}yes, it works" >&6; }
40753 ;;
40754 esac
40755 fi
40756 fi
40757
40758 if test "$wx_cv_cc___thread" = "yes"; then
40759 cat >>confdefs.h <<\_ACEOF
40760 #define HAVE___THREAD_KEYWORD 1
40761 _ACEOF
40762
40763 fi
40764 fi
40765 fi
40766
40767 else
40768 if test "$wxUSE_THREADS" = "yes" ; then
40769 case "${host}" in
40770 x86_64-*-mingw32* )
40771 ;;
40772 *-*-mingw32* )
40773 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40774 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40775 if test "${wx_cv_cflags_mthread+set}" = set; then
40776 echo $ECHO_N "(cached) $ECHO_C" >&6
40777 else
40778
40779 CFLAGS_OLD="$CFLAGS"
40780 CFLAGS="-mthreads $CFLAGS"
40781 cat >conftest.$ac_ext <<_ACEOF
40782 /* confdefs.h. */
40783 _ACEOF
40784 cat confdefs.h >>conftest.$ac_ext
40785 cat >>conftest.$ac_ext <<_ACEOF
40786 /* end confdefs.h. */
40787
40788 int
40789 main ()
40790 {
40791
40792 ;
40793 return 0;
40794 }
40795 _ACEOF
40796 rm -f conftest.$ac_objext
40797 if { (ac_try="$ac_compile"
40798 case "(($ac_try" in
40799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40800 *) ac_try_echo=$ac_try;;
40801 esac
40802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40803 (eval "$ac_compile") 2>conftest.er1
40804 ac_status=$?
40805 grep -v '^ *+' conftest.er1 >conftest.err
40806 rm -f conftest.er1
40807 cat conftest.err >&5
40808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40809 (exit $ac_status); } && {
40810 test -z "$ac_c_werror_flag" ||
40811 test ! -s conftest.err
40812 } && test -s conftest.$ac_objext; then
40813 wx_cv_cflags_mthread=yes
40814 else
40815 echo "$as_me: failed program was:" >&5
40816 sed 's/^/| /' conftest.$ac_ext >&5
40817
40818 wx_cv_cflags_mthread=no
40819
40820 fi
40821
40822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40823
40824
40825 fi
40826 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40827 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40828
40829 if test "$wx_cv_cflags_mthread" = "yes"; then
40830 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40831 LDFLAGS="$LDFLAGS -mthreads"
40832 else
40833 CFLAGS="$CFLAGS_OLD"
40834 fi
40835 ;;
40836 *-pc-os2*emx )
40837 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40838 LDFLAGS="$LDFLAGS -Zmt"
40839 ;;
40840 esac
40841 fi
40842 fi
40843
40844 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40845 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40846 if test "${ac_cv_func_localtime_r+set}" = set; then
40847 echo $ECHO_N "(cached) $ECHO_C" >&6
40848 else
40849 cat >conftest.$ac_ext <<_ACEOF
40850 /* confdefs.h. */
40851 _ACEOF
40852 cat confdefs.h >>conftest.$ac_ext
40853 cat >>conftest.$ac_ext <<_ACEOF
40854 /* end confdefs.h. */
40855 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40857 #define localtime_r innocuous_localtime_r
40858
40859 /* System header to define __stub macros and hopefully few prototypes,
40860 which can conflict with char localtime_r (); below.
40861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40862 <limits.h> exists even on freestanding compilers. */
40863
40864 #ifdef __STDC__
40865 # include <limits.h>
40866 #else
40867 # include <assert.h>
40868 #endif
40869
40870 #undef localtime_r
40871
40872 /* Override any GCC internal prototype to avoid an error.
40873 Use char because int might match the return type of a GCC
40874 builtin and then its argument prototype would still apply. */
40875 #ifdef __cplusplus
40876 extern "C"
40877 #endif
40878 char localtime_r ();
40879 /* The GNU C library defines this for functions which it implements
40880 to always fail with ENOSYS. Some functions are actually named
40881 something starting with __ and the normal name is an alias. */
40882 #if defined __stub_localtime_r || defined __stub___localtime_r
40883 choke me
40884 #endif
40885
40886 int
40887 main ()
40888 {
40889 return localtime_r ();
40890 ;
40891 return 0;
40892 }
40893 _ACEOF
40894 rm -f conftest.$ac_objext conftest$ac_exeext
40895 if { (ac_try="$ac_link"
40896 case "(($ac_try" in
40897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40898 *) ac_try_echo=$ac_try;;
40899 esac
40900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40901 (eval "$ac_link") 2>conftest.er1
40902 ac_status=$?
40903 grep -v '^ *+' conftest.er1 >conftest.err
40904 rm -f conftest.er1
40905 cat conftest.err >&5
40906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40907 (exit $ac_status); } && {
40908 test -z "$ac_c_werror_flag" ||
40909 test ! -s conftest.err
40910 } && test -s conftest$ac_exeext &&
40911 $as_test_x conftest$ac_exeext; then
40912 ac_cv_func_localtime_r=yes
40913 else
40914 echo "$as_me: failed program was:" >&5
40915 sed 's/^/| /' conftest.$ac_ext >&5
40916
40917 ac_cv_func_localtime_r=no
40918 fi
40919
40920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40921 conftest$ac_exeext conftest.$ac_ext
40922 fi
40923 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40924 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40925 if test $ac_cv_func_localtime_r = yes; then
40926 cat >>confdefs.h <<\_ACEOF
40927 #define HAVE_LOCALTIME_R 1
40928 _ACEOF
40929
40930 fi
40931
40932 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40933 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40934 if test "${ac_cv_func_gmtime_r+set}" = set; then
40935 echo $ECHO_N "(cached) $ECHO_C" >&6
40936 else
40937 cat >conftest.$ac_ext <<_ACEOF
40938 /* confdefs.h. */
40939 _ACEOF
40940 cat confdefs.h >>conftest.$ac_ext
40941 cat >>conftest.$ac_ext <<_ACEOF
40942 /* end confdefs.h. */
40943 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40945 #define gmtime_r innocuous_gmtime_r
40946
40947 /* System header to define __stub macros and hopefully few prototypes,
40948 which can conflict with char gmtime_r (); below.
40949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40950 <limits.h> exists even on freestanding compilers. */
40951
40952 #ifdef __STDC__
40953 # include <limits.h>
40954 #else
40955 # include <assert.h>
40956 #endif
40957
40958 #undef gmtime_r
40959
40960 /* Override any GCC internal prototype to avoid an error.
40961 Use char because int might match the return type of a GCC
40962 builtin and then its argument prototype would still apply. */
40963 #ifdef __cplusplus
40964 extern "C"
40965 #endif
40966 char gmtime_r ();
40967 /* The GNU C library defines this for functions which it implements
40968 to always fail with ENOSYS. Some functions are actually named
40969 something starting with __ and the normal name is an alias. */
40970 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40971 choke me
40972 #endif
40973
40974 int
40975 main ()
40976 {
40977 return gmtime_r ();
40978 ;
40979 return 0;
40980 }
40981 _ACEOF
40982 rm -f conftest.$ac_objext conftest$ac_exeext
40983 if { (ac_try="$ac_link"
40984 case "(($ac_try" in
40985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40986 *) ac_try_echo=$ac_try;;
40987 esac
40988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40989 (eval "$ac_link") 2>conftest.er1
40990 ac_status=$?
40991 grep -v '^ *+' conftest.er1 >conftest.err
40992 rm -f conftest.er1
40993 cat conftest.err >&5
40994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40995 (exit $ac_status); } && {
40996 test -z "$ac_c_werror_flag" ||
40997 test ! -s conftest.err
40998 } && test -s conftest$ac_exeext &&
40999 $as_test_x conftest$ac_exeext; then
41000 ac_cv_func_gmtime_r=yes
41001 else
41002 echo "$as_me: failed program was:" >&5
41003 sed 's/^/| /' conftest.$ac_ext >&5
41004
41005 ac_cv_func_gmtime_r=no
41006 fi
41007
41008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41009 conftest$ac_exeext conftest.$ac_ext
41010 fi
41011 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41012 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41013 if test $ac_cv_func_gmtime_r = yes; then
41014 cat >>confdefs.h <<\_ACEOF
41015 #define HAVE_GMTIME_R 1
41016 _ACEOF
41017
41018 fi
41019
41020
41021
41022
41023 ac_ext=c
41024 ac_cpp='$CPP $CPPFLAGS'
41025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41028
41029 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41030 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41031
41032 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41033 echo $ECHO_N "(cached) $ECHO_C" >&6
41034 else
41035
41036
41037 ################################################################
41038
41039 ac_cv_func_which_gethostbyname_r=unknown
41040
41041 #
41042 # ONE ARGUMENT (sanity check)
41043 #
41044
41045 # This should fail, as there is no variant of gethostbyname_r() that takes
41046 # a single argument. If it actually compiles, then we can assume that
41047 # netdb.h is not declaring the function, and the compiler is thereby
41048 # assuming an implicit prototype. In which case, we're out of luck.
41049 #
41050 cat >conftest.$ac_ext <<_ACEOF
41051 /* confdefs.h. */
41052 _ACEOF
41053 cat confdefs.h >>conftest.$ac_ext
41054 cat >>conftest.$ac_ext <<_ACEOF
41055 /* end confdefs.h. */
41056 #include <netdb.h>
41057 int
41058 main ()
41059 {
41060
41061 char *name = "www.gnu.org";
41062 (void)gethostbyname_r(name) /* ; */
41063
41064 ;
41065 return 0;
41066 }
41067 _ACEOF
41068 rm -f conftest.$ac_objext
41069 if { (ac_try="$ac_compile"
41070 case "(($ac_try" in
41071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41072 *) ac_try_echo=$ac_try;;
41073 esac
41074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41075 (eval "$ac_compile") 2>conftest.er1
41076 ac_status=$?
41077 grep -v '^ *+' conftest.er1 >conftest.err
41078 rm -f conftest.er1
41079 cat conftest.err >&5
41080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41081 (exit $ac_status); } && {
41082 test -z "$ac_c_werror_flag" ||
41083 test ! -s conftest.err
41084 } && test -s conftest.$ac_objext; then
41085 ac_cv_func_which_gethostbyname_r=no
41086 else
41087 echo "$as_me: failed program was:" >&5
41088 sed 's/^/| /' conftest.$ac_ext >&5
41089
41090
41091 fi
41092
41093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41094
41095 #
41096 # SIX ARGUMENTS
41097 # (e.g. Linux)
41098 #
41099
41100 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41101
41102 cat >conftest.$ac_ext <<_ACEOF
41103 /* confdefs.h. */
41104 _ACEOF
41105 cat confdefs.h >>conftest.$ac_ext
41106 cat >>conftest.$ac_ext <<_ACEOF
41107 /* end confdefs.h. */
41108 #include <netdb.h>
41109 int
41110 main ()
41111 {
41112
41113 char *name = "www.gnu.org";
41114 struct hostent ret, *retp;
41115 char buf[1024];
41116 int buflen = 1024;
41117 int my_h_errno;
41118 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41119
41120 ;
41121 return 0;
41122 }
41123 _ACEOF
41124 rm -f conftest.$ac_objext
41125 if { (ac_try="$ac_compile"
41126 case "(($ac_try" in
41127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41128 *) ac_try_echo=$ac_try;;
41129 esac
41130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41131 (eval "$ac_compile") 2>conftest.er1
41132 ac_status=$?
41133 grep -v '^ *+' conftest.er1 >conftest.err
41134 rm -f conftest.er1
41135 cat conftest.err >&5
41136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41137 (exit $ac_status); } && {
41138 test -z "$ac_c_werror_flag" ||
41139 test ! -s conftest.err
41140 } && test -s conftest.$ac_objext; then
41141 ac_cv_func_which_gethostbyname_r=six
41142 else
41143 echo "$as_me: failed program was:" >&5
41144 sed 's/^/| /' conftest.$ac_ext >&5
41145
41146
41147 fi
41148
41149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41150
41151 fi
41152
41153 #
41154 # FIVE ARGUMENTS
41155 # (e.g. Solaris)
41156 #
41157
41158 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41159
41160 cat >conftest.$ac_ext <<_ACEOF
41161 /* confdefs.h. */
41162 _ACEOF
41163 cat confdefs.h >>conftest.$ac_ext
41164 cat >>conftest.$ac_ext <<_ACEOF
41165 /* end confdefs.h. */
41166 #include <netdb.h>
41167 int
41168 main ()
41169 {
41170
41171 char *name = "www.gnu.org";
41172 struct hostent ret;
41173 char buf[1024];
41174 int buflen = 1024;
41175 int my_h_errno;
41176 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41177
41178 ;
41179 return 0;
41180 }
41181 _ACEOF
41182 rm -f conftest.$ac_objext
41183 if { (ac_try="$ac_compile"
41184 case "(($ac_try" in
41185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41186 *) ac_try_echo=$ac_try;;
41187 esac
41188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41189 (eval "$ac_compile") 2>conftest.er1
41190 ac_status=$?
41191 grep -v '^ *+' conftest.er1 >conftest.err
41192 rm -f conftest.er1
41193 cat conftest.err >&5
41194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41195 (exit $ac_status); } && {
41196 test -z "$ac_c_werror_flag" ||
41197 test ! -s conftest.err
41198 } && test -s conftest.$ac_objext; then
41199 ac_cv_func_which_gethostbyname_r=five
41200 else
41201 echo "$as_me: failed program was:" >&5
41202 sed 's/^/| /' conftest.$ac_ext >&5
41203
41204
41205 fi
41206
41207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41208
41209 fi
41210
41211 #
41212 # THREE ARGUMENTS
41213 # (e.g. AIX, HP-UX, Tru64)
41214 #
41215
41216 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41217
41218 cat >conftest.$ac_ext <<_ACEOF
41219 /* confdefs.h. */
41220 _ACEOF
41221 cat confdefs.h >>conftest.$ac_ext
41222 cat >>conftest.$ac_ext <<_ACEOF
41223 /* end confdefs.h. */
41224 #include <netdb.h>
41225 int
41226 main ()
41227 {
41228
41229 char *name = "www.gnu.org";
41230 struct hostent ret;
41231 struct hostent_data data;
41232 (void)gethostbyname_r(name, &ret, &data) /* ; */
41233
41234 ;
41235 return 0;
41236 }
41237 _ACEOF
41238 rm -f conftest.$ac_objext
41239 if { (ac_try="$ac_compile"
41240 case "(($ac_try" in
41241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41242 *) ac_try_echo=$ac_try;;
41243 esac
41244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41245 (eval "$ac_compile") 2>conftest.er1
41246 ac_status=$?
41247 grep -v '^ *+' conftest.er1 >conftest.err
41248 rm -f conftest.er1
41249 cat conftest.err >&5
41250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41251 (exit $ac_status); } && {
41252 test -z "$ac_c_werror_flag" ||
41253 test ! -s conftest.err
41254 } && test -s conftest.$ac_objext; then
41255 ac_cv_func_which_gethostbyname_r=three
41256 else
41257 echo "$as_me: failed program was:" >&5
41258 sed 's/^/| /' conftest.$ac_ext >&5
41259
41260
41261 fi
41262
41263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41264
41265 fi
41266
41267 ################################################################
41268
41269
41270 fi
41271
41272 case "$ac_cv_func_which_gethostbyname_r" in
41273 three)
41274 { echo "$as_me:$LINENO: result: three" >&5
41275 echo "${ECHO_T}three" >&6; }
41276 cat >>confdefs.h <<\_ACEOF
41277 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41278 _ACEOF
41279
41280 ;;
41281
41282 five)
41283 { echo "$as_me:$LINENO: result: five" >&5
41284 echo "${ECHO_T}five" >&6; }
41285 cat >>confdefs.h <<\_ACEOF
41286 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41287 _ACEOF
41288
41289 ;;
41290
41291 six)
41292 { echo "$as_me:$LINENO: result: six" >&5
41293 echo "${ECHO_T}six" >&6; }
41294 cat >>confdefs.h <<\_ACEOF
41295 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41296 _ACEOF
41297
41298 ;;
41299
41300 no)
41301 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41302 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41303 ;;
41304
41305 unknown)
41306 { echo "$as_me:$LINENO: result: can't tell" >&5
41307 echo "${ECHO_T}can't tell" >&6; }
41308 ;;
41309
41310 *)
41311 { { echo "$as_me:$LINENO: error: internal error" >&5
41312 echo "$as_me: error: internal error" >&2;}
41313 { (exit 1); exit 1; }; }
41314 ;;
41315 esac
41316
41317 ac_ext=c
41318 ac_cpp='$CPP $CPPFLAGS'
41319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41322
41323
41324
41325 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41326 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41327 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41328 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41329 if test "${ac_cv_func_gethostbyname+set}" = set; then
41330 echo $ECHO_N "(cached) $ECHO_C" >&6
41331 else
41332 cat >conftest.$ac_ext <<_ACEOF
41333 /* confdefs.h. */
41334 _ACEOF
41335 cat confdefs.h >>conftest.$ac_ext
41336 cat >>conftest.$ac_ext <<_ACEOF
41337 /* end confdefs.h. */
41338 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41340 #define gethostbyname innocuous_gethostbyname
41341
41342 /* System header to define __stub macros and hopefully few prototypes,
41343 which can conflict with char gethostbyname (); below.
41344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41345 <limits.h> exists even on freestanding compilers. */
41346
41347 #ifdef __STDC__
41348 # include <limits.h>
41349 #else
41350 # include <assert.h>
41351 #endif
41352
41353 #undef gethostbyname
41354
41355 /* Override any GCC internal prototype to avoid an error.
41356 Use char because int might match the return type of a GCC
41357 builtin and then its argument prototype would still apply. */
41358 #ifdef __cplusplus
41359 extern "C"
41360 #endif
41361 char gethostbyname ();
41362 /* The GNU C library defines this for functions which it implements
41363 to always fail with ENOSYS. Some functions are actually named
41364 something starting with __ and the normal name is an alias. */
41365 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41366 choke me
41367 #endif
41368
41369 int
41370 main ()
41371 {
41372 return gethostbyname ();
41373 ;
41374 return 0;
41375 }
41376 _ACEOF
41377 rm -f conftest.$ac_objext conftest$ac_exeext
41378 if { (ac_try="$ac_link"
41379 case "(($ac_try" in
41380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41381 *) ac_try_echo=$ac_try;;
41382 esac
41383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41384 (eval "$ac_link") 2>conftest.er1
41385 ac_status=$?
41386 grep -v '^ *+' conftest.er1 >conftest.err
41387 rm -f conftest.er1
41388 cat conftest.err >&5
41389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41390 (exit $ac_status); } && {
41391 test -z "$ac_c_werror_flag" ||
41392 test ! -s conftest.err
41393 } && test -s conftest$ac_exeext &&
41394 $as_test_x conftest$ac_exeext; then
41395 ac_cv_func_gethostbyname=yes
41396 else
41397 echo "$as_me: failed program was:" >&5
41398 sed 's/^/| /' conftest.$ac_ext >&5
41399
41400 ac_cv_func_gethostbyname=no
41401 fi
41402
41403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41404 conftest$ac_exeext conftest.$ac_ext
41405 fi
41406 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41407 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41408 if test $ac_cv_func_gethostbyname = yes; then
41409 cat >>confdefs.h <<\_ACEOF
41410 #define HAVE_GETHOSTBYNAME 1
41411 _ACEOF
41412
41413 fi
41414
41415 fi
41416
41417 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41418 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41419 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41420 echo $ECHO_N "(cached) $ECHO_C" >&6
41421 else
41422
41423 ac_ext=cpp
41424 ac_cpp='$CXXCPP $CPPFLAGS'
41425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41428
41429
41430 cat >conftest.$ac_ext <<_ACEOF
41431 /* confdefs.h. */
41432 _ACEOF
41433 cat confdefs.h >>conftest.$ac_ext
41434 cat >>conftest.$ac_ext <<_ACEOF
41435 /* end confdefs.h. */
41436 #include <netdb.h>
41437 int
41438 main ()
41439 {
41440
41441 char *name;
41442 char *proto;
41443 struct servent *se, *res;
41444 char buffer[2048];
41445 int buflen = 2048;
41446 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41447
41448 ;
41449 return 0;
41450 }
41451 _ACEOF
41452 rm -f conftest.$ac_objext
41453 if { (ac_try="$ac_compile"
41454 case "(($ac_try" in
41455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41456 *) ac_try_echo=$ac_try;;
41457 esac
41458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41459 (eval "$ac_compile") 2>conftest.er1
41460 ac_status=$?
41461 grep -v '^ *+' conftest.er1 >conftest.err
41462 rm -f conftest.er1
41463 cat conftest.err >&5
41464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41465 (exit $ac_status); } && {
41466 test -z "$ac_cxx_werror_flag" ||
41467 test ! -s conftest.err
41468 } && test -s conftest.$ac_objext; then
41469 ac_cv_func_which_getservbyname_r=six
41470 else
41471 echo "$as_me: failed program was:" >&5
41472 sed 's/^/| /' conftest.$ac_ext >&5
41473
41474
41475 cat >conftest.$ac_ext <<_ACEOF
41476 /* confdefs.h. */
41477 _ACEOF
41478 cat confdefs.h >>conftest.$ac_ext
41479 cat >>conftest.$ac_ext <<_ACEOF
41480 /* end confdefs.h. */
41481 #include <netdb.h>
41482 int
41483 main ()
41484 {
41485
41486 char *name;
41487 char *proto;
41488 struct servent *se;
41489 char buffer[2048];
41490 int buflen = 2048;
41491 (void) getservbyname_r(name, proto, se, buffer, buflen)
41492
41493 ;
41494 return 0;
41495 }
41496 _ACEOF
41497 rm -f conftest.$ac_objext
41498 if { (ac_try="$ac_compile"
41499 case "(($ac_try" in
41500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41501 *) ac_try_echo=$ac_try;;
41502 esac
41503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41504 (eval "$ac_compile") 2>conftest.er1
41505 ac_status=$?
41506 grep -v '^ *+' conftest.er1 >conftest.err
41507 rm -f conftest.er1
41508 cat conftest.err >&5
41509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41510 (exit $ac_status); } && {
41511 test -z "$ac_cxx_werror_flag" ||
41512 test ! -s conftest.err
41513 } && test -s conftest.$ac_objext; then
41514 ac_cv_func_which_getservbyname_r=five
41515 else
41516 echo "$as_me: failed program was:" >&5
41517 sed 's/^/| /' conftest.$ac_ext >&5
41518
41519
41520 cat >conftest.$ac_ext <<_ACEOF
41521 /* confdefs.h. */
41522 _ACEOF
41523 cat confdefs.h >>conftest.$ac_ext
41524 cat >>conftest.$ac_ext <<_ACEOF
41525 /* end confdefs.h. */
41526 #include <netdb.h>
41527 int
41528 main ()
41529 {
41530
41531 char *name;
41532 char *proto;
41533 struct servent *se;
41534 struct servent_data data;
41535 (void) getservbyname_r(name, proto, se, &data);
41536
41537 ;
41538 return 0;
41539 }
41540 _ACEOF
41541 rm -f conftest.$ac_objext
41542 if { (ac_try="$ac_compile"
41543 case "(($ac_try" in
41544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41545 *) ac_try_echo=$ac_try;;
41546 esac
41547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41548 (eval "$ac_compile") 2>conftest.er1
41549 ac_status=$?
41550 grep -v '^ *+' conftest.er1 >conftest.err
41551 rm -f conftest.er1
41552 cat conftest.err >&5
41553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41554 (exit $ac_status); } && {
41555 test -z "$ac_cxx_werror_flag" ||
41556 test ! -s conftest.err
41557 } && test -s conftest.$ac_objext; then
41558 ac_cv_func_which_getservbyname_r=four
41559 else
41560 echo "$as_me: failed program was:" >&5
41561 sed 's/^/| /' conftest.$ac_ext >&5
41562
41563 ac_cv_func_which_getservbyname_r=no
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
41574
41575 fi
41576
41577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41578 ac_ext=c
41579 ac_cpp='$CPP $CPPFLAGS'
41580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41583
41584
41585
41586 fi
41587 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41588 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41589
41590 if test $ac_cv_func_which_getservbyname_r = six; then
41591 cat >>confdefs.h <<\_ACEOF
41592 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41593 _ACEOF
41594
41595 elif test $ac_cv_func_which_getservbyname_r = five; then
41596 cat >>confdefs.h <<\_ACEOF
41597 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41598 _ACEOF
41599
41600 elif test $ac_cv_func_which_getservbyname_r = four; then
41601 cat >>confdefs.h <<\_ACEOF
41602 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41603 _ACEOF
41604
41605 fi
41606
41607
41608 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41609 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41610
41611 for ac_func in getservbyname
41612 do
41613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41614 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41616 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41617 echo $ECHO_N "(cached) $ECHO_C" >&6
41618 else
41619 cat >conftest.$ac_ext <<_ACEOF
41620 /* confdefs.h. */
41621 _ACEOF
41622 cat confdefs.h >>conftest.$ac_ext
41623 cat >>conftest.$ac_ext <<_ACEOF
41624 /* end confdefs.h. */
41625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41627 #define $ac_func innocuous_$ac_func
41628
41629 /* System header to define __stub macros and hopefully few prototypes,
41630 which can conflict with char $ac_func (); below.
41631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41632 <limits.h> exists even on freestanding compilers. */
41633
41634 #ifdef __STDC__
41635 # include <limits.h>
41636 #else
41637 # include <assert.h>
41638 #endif
41639
41640 #undef $ac_func
41641
41642 /* Override any GCC internal prototype to avoid an error.
41643 Use char because int might match the return type of a GCC
41644 builtin and then its argument prototype would still apply. */
41645 #ifdef __cplusplus
41646 extern "C"
41647 #endif
41648 char $ac_func ();
41649 /* The GNU C library defines this for functions which it implements
41650 to always fail with ENOSYS. Some functions are actually named
41651 something starting with __ and the normal name is an alias. */
41652 #if defined __stub_$ac_func || defined __stub___$ac_func
41653 choke me
41654 #endif
41655
41656 int
41657 main ()
41658 {
41659 return $ac_func ();
41660 ;
41661 return 0;
41662 }
41663 _ACEOF
41664 rm -f conftest.$ac_objext conftest$ac_exeext
41665 if { (ac_try="$ac_link"
41666 case "(($ac_try" in
41667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41668 *) ac_try_echo=$ac_try;;
41669 esac
41670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41671 (eval "$ac_link") 2>conftest.er1
41672 ac_status=$?
41673 grep -v '^ *+' conftest.er1 >conftest.err
41674 rm -f conftest.er1
41675 cat conftest.err >&5
41676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41677 (exit $ac_status); } && {
41678 test -z "$ac_c_werror_flag" ||
41679 test ! -s conftest.err
41680 } && test -s conftest$ac_exeext &&
41681 $as_test_x conftest$ac_exeext; then
41682 eval "$as_ac_var=yes"
41683 else
41684 echo "$as_me: failed program was:" >&5
41685 sed 's/^/| /' conftest.$ac_ext >&5
41686
41687 eval "$as_ac_var=no"
41688 fi
41689
41690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41691 conftest$ac_exeext conftest.$ac_ext
41692 fi
41693 ac_res=`eval echo '${'$as_ac_var'}'`
41694 { echo "$as_me:$LINENO: result: $ac_res" >&5
41695 echo "${ECHO_T}$ac_res" >&6; }
41696 if test `eval echo '${'$as_ac_var'}'` = yes; then
41697 cat >>confdefs.h <<_ACEOF
41698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41699 _ACEOF
41700 cat >>confdefs.h <<\_ACEOF
41701 #define HAVE_GETSERVBYNAME 1
41702 _ACEOF
41703
41704 fi
41705 done
41706
41707 fi
41708
41709 if test "$wxUSE_THREADS" = "yes"; then
41710 cat >>confdefs.h <<\_ACEOF
41711 #define wxUSE_THREADS 1
41712 _ACEOF
41713
41714
41715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41716 else
41717 if test "$wx_cv_func_strtok_r" = "yes"; then
41718 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41719 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41720 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41721 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41722 { echo "$as_me:$LINENO: result: yes" >&5
41723 echo "${ECHO_T}yes" >&6; }
41724 else
41725 { echo "$as_me:$LINENO: result: no" >&5
41726 echo "${ECHO_T}no" >&6; }
41727 fi
41728 fi
41729 fi
41730
41731 if test "$WXGTK2" = 1 ; then
41732 cat >>confdefs.h <<_ACEOF
41733 #define __WXGTK20__ $WXGTK2
41734 _ACEOF
41735
41736 WXGTK12=1
41737 fi
41738
41739 if test "$WXGTK12" = 1 ; then
41740 cat >>confdefs.h <<_ACEOF
41741 #define __WXGTK12__ $WXGTK12
41742 _ACEOF
41743
41744 fi
41745
41746 if test "$WXGTK127" = 1 ; then
41747 cat >>confdefs.h <<_ACEOF
41748 #define __WXGTK127__ $WXGTK127
41749 _ACEOF
41750
41751 fi
41752
41753 if test "$WXGPE" = 1 ; then
41754 cat >>confdefs.h <<_ACEOF
41755 #define __WXGPE__ $WXGPE
41756 _ACEOF
41757
41758 fi
41759
41760 DEBUG_CFLAGS=
41761 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
41762 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41763 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41764 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41765 DEBUG_CFLAGS="-g"
41766 fi
41767
41768 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41769 wxUSE_DEBUG_INFO=yes
41770 if test "$GCC" = yes; then
41771 DEBUG_CFLAGS="-ggdb"
41772 fi
41773 fi
41774
41775 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
41776 if test "$wxUSE_GTK" = 1 ; then
41777 if test "x$wxGTK_VERSION" = "x1" ; then
41778 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41779 fi
41780 fi
41781 fi
41782
41783 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41784 cat >>confdefs.h <<\_ACEOF
41785 #define wxUSE_MEMORY_TRACING 1
41786 _ACEOF
41787
41788 cat >>confdefs.h <<\_ACEOF
41789 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41790 _ACEOF
41791
41792 cat >>confdefs.h <<\_ACEOF
41793 #define wxUSE_DEBUG_NEW_ALWAYS 1
41794 _ACEOF
41795
41796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41797 fi
41798
41799 if test "$wxUSE_DMALLOC" = "yes" ; then
41800 DMALLOC_LIBS="-ldmallocthcxx"
41801 fi
41802
41803 PROFILE_FLAGS=
41804 if test "$wxUSE_PROFILE" = "yes" ; then
41805 PROFILE_FLAGS=" -pg"
41806 fi
41807
41808 if test "$GCC" = "yes" ; then
41809 if test "$wxUSE_NO_RTTI" = "yes" ; then
41810 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41811 fi
41812 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41813 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41814 fi
41815 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41816 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41817 fi
41818
41819 case "${host}" in
41820 powerpc*-*-aix* )
41821 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41822 ;;
41823 *-hppa* )
41824 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41825 ;;
41826 esac
41827 fi
41828
41829 OPTIMISE_CFLAGS=
41830 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
41831 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41832 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41833 else
41834 if test "$wxUSE_OPTIMISE" = "no" ; then
41835 if test "$GCC" = yes ; then
41836 OPTIMISE_CFLAGS="-O0"
41837 fi
41838 else
41839 if test "$GCC" = yes ; then
41840 case "${host}" in
41841 *-pc-os2_emx | *-pc-os2-emx )
41842 OPTIMISE_CFLAGS="-O2"
41843 ;;
41844 *)
41845 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41846 ;;
41847 esac
41848 else
41849 OPTIMISE_CFLAGS="-O"
41850 fi
41851 fi
41852 fi
41853
41854
41855 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41856 cat >>confdefs.h <<\_ACEOF
41857 #define WXWIN_COMPATIBILITY_2_6 1
41858 _ACEOF
41859
41860
41861 WXWIN_COMPATIBILITY_2_8="yes"
41862 fi
41863
41864 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41865 cat >>confdefs.h <<\_ACEOF
41866 #define WXWIN_COMPATIBILITY_2_8 1
41867 _ACEOF
41868
41869 fi
41870
41871
41872 if test "$wxUSE_GUI" = "yes"; then
41873 cat >>confdefs.h <<\_ACEOF
41874 #define wxUSE_GUI 1
41875 _ACEOF
41876
41877
41878 fi
41879
41880
41881 if test "$wxUSE_UNIX" = "yes"; then
41882 cat >>confdefs.h <<\_ACEOF
41883 #define wxUSE_UNIX 1
41884 _ACEOF
41885
41886 fi
41887
41888
41889 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41890
41891 HAVE_DL_FUNCS=0
41892 HAVE_SHL_FUNCS=0
41893 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41894 if test "$USE_DOS" = 1; then
41895 HAVE_DL_FUNCS=0
41896 else
41897
41898 for ac_func in dlopen
41899 do
41900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41901 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41903 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41904 echo $ECHO_N "(cached) $ECHO_C" >&6
41905 else
41906 cat >conftest.$ac_ext <<_ACEOF
41907 /* confdefs.h. */
41908 _ACEOF
41909 cat confdefs.h >>conftest.$ac_ext
41910 cat >>conftest.$ac_ext <<_ACEOF
41911 /* end confdefs.h. */
41912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41914 #define $ac_func innocuous_$ac_func
41915
41916 /* System header to define __stub macros and hopefully few prototypes,
41917 which can conflict with char $ac_func (); below.
41918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41919 <limits.h> exists even on freestanding compilers. */
41920
41921 #ifdef __STDC__
41922 # include <limits.h>
41923 #else
41924 # include <assert.h>
41925 #endif
41926
41927 #undef $ac_func
41928
41929 /* Override any GCC internal prototype to avoid an error.
41930 Use char because int might match the return type of a GCC
41931 builtin and then its argument prototype would still apply. */
41932 #ifdef __cplusplus
41933 extern "C"
41934 #endif
41935 char $ac_func ();
41936 /* The GNU C library defines this for functions which it implements
41937 to always fail with ENOSYS. Some functions are actually named
41938 something starting with __ and the normal name is an alias. */
41939 #if defined __stub_$ac_func || defined __stub___$ac_func
41940 choke me
41941 #endif
41942
41943 int
41944 main ()
41945 {
41946 return $ac_func ();
41947 ;
41948 return 0;
41949 }
41950 _ACEOF
41951 rm -f conftest.$ac_objext conftest$ac_exeext
41952 if { (ac_try="$ac_link"
41953 case "(($ac_try" in
41954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41955 *) ac_try_echo=$ac_try;;
41956 esac
41957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41958 (eval "$ac_link") 2>conftest.er1
41959 ac_status=$?
41960 grep -v '^ *+' conftest.er1 >conftest.err
41961 rm -f conftest.er1
41962 cat conftest.err >&5
41963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41964 (exit $ac_status); } && {
41965 test -z "$ac_c_werror_flag" ||
41966 test ! -s conftest.err
41967 } && test -s conftest$ac_exeext &&
41968 $as_test_x conftest$ac_exeext; then
41969 eval "$as_ac_var=yes"
41970 else
41971 echo "$as_me: failed program was:" >&5
41972 sed 's/^/| /' conftest.$ac_ext >&5
41973
41974 eval "$as_ac_var=no"
41975 fi
41976
41977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41978 conftest$ac_exeext conftest.$ac_ext
41979 fi
41980 ac_res=`eval echo '${'$as_ac_var'}'`
41981 { echo "$as_me:$LINENO: result: $ac_res" >&5
41982 echo "${ECHO_T}$ac_res" >&6; }
41983 if test `eval echo '${'$as_ac_var'}'` = yes; then
41984 cat >>confdefs.h <<_ACEOF
41985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41986 _ACEOF
41987
41988 cat >>confdefs.h <<\_ACEOF
41989 #define HAVE_DLOPEN 1
41990 _ACEOF
41991
41992 HAVE_DL_FUNCS=1
41993
41994 else
41995
41996 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41997 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41998 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41999 echo $ECHO_N "(cached) $ECHO_C" >&6
42000 else
42001 ac_check_lib_save_LIBS=$LIBS
42002 LIBS="-ldl $LIBS"
42003 cat >conftest.$ac_ext <<_ACEOF
42004 /* confdefs.h. */
42005 _ACEOF
42006 cat confdefs.h >>conftest.$ac_ext
42007 cat >>conftest.$ac_ext <<_ACEOF
42008 /* end confdefs.h. */
42009
42010 /* Override any GCC internal prototype to avoid an error.
42011 Use char because int might match the return type of a GCC
42012 builtin and then its argument prototype would still apply. */
42013 #ifdef __cplusplus
42014 extern "C"
42015 #endif
42016 char dlopen ();
42017 int
42018 main ()
42019 {
42020 return dlopen ();
42021 ;
42022 return 0;
42023 }
42024 _ACEOF
42025 rm -f conftest.$ac_objext conftest$ac_exeext
42026 if { (ac_try="$ac_link"
42027 case "(($ac_try" in
42028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42029 *) ac_try_echo=$ac_try;;
42030 esac
42031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42032 (eval "$ac_link") 2>conftest.er1
42033 ac_status=$?
42034 grep -v '^ *+' conftest.er1 >conftest.err
42035 rm -f conftest.er1
42036 cat conftest.err >&5
42037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42038 (exit $ac_status); } && {
42039 test -z "$ac_c_werror_flag" ||
42040 test ! -s conftest.err
42041 } && test -s conftest$ac_exeext &&
42042 $as_test_x conftest$ac_exeext; then
42043 ac_cv_lib_dl_dlopen=yes
42044 else
42045 echo "$as_me: failed program was:" >&5
42046 sed 's/^/| /' conftest.$ac_ext >&5
42047
42048 ac_cv_lib_dl_dlopen=no
42049 fi
42050
42051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42052 conftest$ac_exeext conftest.$ac_ext
42053 LIBS=$ac_check_lib_save_LIBS
42054 fi
42055 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42056 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42057 if test $ac_cv_lib_dl_dlopen = yes; then
42058
42059 cat >>confdefs.h <<\_ACEOF
42060 #define HAVE_DLOPEN 1
42061 _ACEOF
42062
42063 HAVE_DL_FUNCS=1
42064 DL_LINK=" -ldl$DL_LINK"
42065
42066 else
42067
42068
42069 for ac_func in shl_load
42070 do
42071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42072 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42074 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42075 echo $ECHO_N "(cached) $ECHO_C" >&6
42076 else
42077 cat >conftest.$ac_ext <<_ACEOF
42078 /* confdefs.h. */
42079 _ACEOF
42080 cat confdefs.h >>conftest.$ac_ext
42081 cat >>conftest.$ac_ext <<_ACEOF
42082 /* end confdefs.h. */
42083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42085 #define $ac_func innocuous_$ac_func
42086
42087 /* System header to define __stub macros and hopefully few prototypes,
42088 which can conflict with char $ac_func (); below.
42089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42090 <limits.h> exists even on freestanding compilers. */
42091
42092 #ifdef __STDC__
42093 # include <limits.h>
42094 #else
42095 # include <assert.h>
42096 #endif
42097
42098 #undef $ac_func
42099
42100 /* Override any GCC internal prototype to avoid an error.
42101 Use char because int might match the return type of a GCC
42102 builtin and then its argument prototype would still apply. */
42103 #ifdef __cplusplus
42104 extern "C"
42105 #endif
42106 char $ac_func ();
42107 /* The GNU C library defines this for functions which it implements
42108 to always fail with ENOSYS. Some functions are actually named
42109 something starting with __ and the normal name is an alias. */
42110 #if defined __stub_$ac_func || defined __stub___$ac_func
42111 choke me
42112 #endif
42113
42114 int
42115 main ()
42116 {
42117 return $ac_func ();
42118 ;
42119 return 0;
42120 }
42121 _ACEOF
42122 rm -f conftest.$ac_objext conftest$ac_exeext
42123 if { (ac_try="$ac_link"
42124 case "(($ac_try" in
42125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42126 *) ac_try_echo=$ac_try;;
42127 esac
42128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42129 (eval "$ac_link") 2>conftest.er1
42130 ac_status=$?
42131 grep -v '^ *+' conftest.er1 >conftest.err
42132 rm -f conftest.er1
42133 cat conftest.err >&5
42134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42135 (exit $ac_status); } && {
42136 test -z "$ac_c_werror_flag" ||
42137 test ! -s conftest.err
42138 } && test -s conftest$ac_exeext &&
42139 $as_test_x conftest$ac_exeext; then
42140 eval "$as_ac_var=yes"
42141 else
42142 echo "$as_me: failed program was:" >&5
42143 sed 's/^/| /' conftest.$ac_ext >&5
42144
42145 eval "$as_ac_var=no"
42146 fi
42147
42148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42149 conftest$ac_exeext conftest.$ac_ext
42150 fi
42151 ac_res=`eval echo '${'$as_ac_var'}'`
42152 { echo "$as_me:$LINENO: result: $ac_res" >&5
42153 echo "${ECHO_T}$ac_res" >&6; }
42154 if test `eval echo '${'$as_ac_var'}'` = yes; then
42155 cat >>confdefs.h <<_ACEOF
42156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42157 _ACEOF
42158
42159 cat >>confdefs.h <<\_ACEOF
42160 #define HAVE_SHL_LOAD 1
42161 _ACEOF
42162
42163 HAVE_SHL_FUNCS=1
42164
42165 else
42166
42167 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42168 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42169 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42170 echo $ECHO_N "(cached) $ECHO_C" >&6
42171 else
42172 ac_check_lib_save_LIBS=$LIBS
42173 LIBS="-lshl_load $LIBS"
42174 cat >conftest.$ac_ext <<_ACEOF
42175 /* confdefs.h. */
42176 _ACEOF
42177 cat confdefs.h >>conftest.$ac_ext
42178 cat >>conftest.$ac_ext <<_ACEOF
42179 /* end confdefs.h. */
42180
42181 /* Override any GCC internal prototype to avoid an error.
42182 Use char because int might match the return type of a GCC
42183 builtin and then its argument prototype would still apply. */
42184 #ifdef __cplusplus
42185 extern "C"
42186 #endif
42187 char dld ();
42188 int
42189 main ()
42190 {
42191 return dld ();
42192 ;
42193 return 0;
42194 }
42195 _ACEOF
42196 rm -f conftest.$ac_objext conftest$ac_exeext
42197 if { (ac_try="$ac_link"
42198 case "(($ac_try" in
42199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42200 *) ac_try_echo=$ac_try;;
42201 esac
42202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42203 (eval "$ac_link") 2>conftest.er1
42204 ac_status=$?
42205 grep -v '^ *+' conftest.er1 >conftest.err
42206 rm -f conftest.er1
42207 cat conftest.err >&5
42208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42209 (exit $ac_status); } && {
42210 test -z "$ac_c_werror_flag" ||
42211 test ! -s conftest.err
42212 } && test -s conftest$ac_exeext &&
42213 $as_test_x conftest$ac_exeext; then
42214 ac_cv_lib_shl_load_dld=yes
42215 else
42216 echo "$as_me: failed program was:" >&5
42217 sed 's/^/| /' conftest.$ac_ext >&5
42218
42219 ac_cv_lib_shl_load_dld=no
42220 fi
42221
42222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42223 conftest$ac_exeext conftest.$ac_ext
42224 LIBS=$ac_check_lib_save_LIBS
42225 fi
42226 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42227 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42228 if test $ac_cv_lib_shl_load_dld = yes; then
42229
42230 HAVE_SHL_FUNCS=1
42231 DL_LINK=" -ldld$DL_LINK"
42232
42233 fi
42234
42235
42236 fi
42237 done
42238
42239
42240 fi
42241
42242
42243 fi
42244 done
42245
42246
42247 if test "$HAVE_DL_FUNCS" = 1; then
42248
42249 for ac_func in dlerror
42250 do
42251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42252 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42254 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42255 echo $ECHO_N "(cached) $ECHO_C" >&6
42256 else
42257 cat >conftest.$ac_ext <<_ACEOF
42258 /* confdefs.h. */
42259 _ACEOF
42260 cat confdefs.h >>conftest.$ac_ext
42261 cat >>conftest.$ac_ext <<_ACEOF
42262 /* end confdefs.h. */
42263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42265 #define $ac_func innocuous_$ac_func
42266
42267 /* System header to define __stub macros and hopefully few prototypes,
42268 which can conflict with char $ac_func (); below.
42269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42270 <limits.h> exists even on freestanding compilers. */
42271
42272 #ifdef __STDC__
42273 # include <limits.h>
42274 #else
42275 # include <assert.h>
42276 #endif
42277
42278 #undef $ac_func
42279
42280 /* Override any GCC internal prototype to avoid an error.
42281 Use char because int might match the return type of a GCC
42282 builtin and then its argument prototype would still apply. */
42283 #ifdef __cplusplus
42284 extern "C"
42285 #endif
42286 char $ac_func ();
42287 /* The GNU C library defines this for functions which it implements
42288 to always fail with ENOSYS. Some functions are actually named
42289 something starting with __ and the normal name is an alias. */
42290 #if defined __stub_$ac_func || defined __stub___$ac_func
42291 choke me
42292 #endif
42293
42294 int
42295 main ()
42296 {
42297 return $ac_func ();
42298 ;
42299 return 0;
42300 }
42301 _ACEOF
42302 rm -f conftest.$ac_objext conftest$ac_exeext
42303 if { (ac_try="$ac_link"
42304 case "(($ac_try" in
42305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42306 *) ac_try_echo=$ac_try;;
42307 esac
42308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42309 (eval "$ac_link") 2>conftest.er1
42310 ac_status=$?
42311 grep -v '^ *+' conftest.er1 >conftest.err
42312 rm -f conftest.er1
42313 cat conftest.err >&5
42314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42315 (exit $ac_status); } && {
42316 test -z "$ac_c_werror_flag" ||
42317 test ! -s conftest.err
42318 } && test -s conftest$ac_exeext &&
42319 $as_test_x conftest$ac_exeext; then
42320 eval "$as_ac_var=yes"
42321 else
42322 echo "$as_me: failed program was:" >&5
42323 sed 's/^/| /' conftest.$ac_ext >&5
42324
42325 eval "$as_ac_var=no"
42326 fi
42327
42328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42329 conftest$ac_exeext conftest.$ac_ext
42330 fi
42331 ac_res=`eval echo '${'$as_ac_var'}'`
42332 { echo "$as_me:$LINENO: result: $ac_res" >&5
42333 echo "${ECHO_T}$ac_res" >&6; }
42334 if test `eval echo '${'$as_ac_var'}'` = yes; then
42335 cat >>confdefs.h <<_ACEOF
42336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42337 _ACEOF
42338 cat >>confdefs.h <<\_ACEOF
42339 #define HAVE_DLERROR 1
42340 _ACEOF
42341
42342 else
42343
42344 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42345 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42346 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42347 echo $ECHO_N "(cached) $ECHO_C" >&6
42348 else
42349 ac_check_lib_save_LIBS=$LIBS
42350 LIBS="-ldl $LIBS"
42351 cat >conftest.$ac_ext <<_ACEOF
42352 /* confdefs.h. */
42353 _ACEOF
42354 cat confdefs.h >>conftest.$ac_ext
42355 cat >>conftest.$ac_ext <<_ACEOF
42356 /* end confdefs.h. */
42357
42358 /* Override any GCC internal prototype to avoid an error.
42359 Use char because int might match the return type of a GCC
42360 builtin and then its argument prototype would still apply. */
42361 #ifdef __cplusplus
42362 extern "C"
42363 #endif
42364 char dlerror ();
42365 int
42366 main ()
42367 {
42368 return dlerror ();
42369 ;
42370 return 0;
42371 }
42372 _ACEOF
42373 rm -f conftest.$ac_objext conftest$ac_exeext
42374 if { (ac_try="$ac_link"
42375 case "(($ac_try" in
42376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42377 *) ac_try_echo=$ac_try;;
42378 esac
42379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42380 (eval "$ac_link") 2>conftest.er1
42381 ac_status=$?
42382 grep -v '^ *+' conftest.er1 >conftest.err
42383 rm -f conftest.er1
42384 cat conftest.err >&5
42385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42386 (exit $ac_status); } && {
42387 test -z "$ac_c_werror_flag" ||
42388 test ! -s conftest.err
42389 } && test -s conftest$ac_exeext &&
42390 $as_test_x conftest$ac_exeext; then
42391 ac_cv_lib_dl_dlerror=yes
42392 else
42393 echo "$as_me: failed program was:" >&5
42394 sed 's/^/| /' conftest.$ac_ext >&5
42395
42396 ac_cv_lib_dl_dlerror=no
42397 fi
42398
42399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42400 conftest$ac_exeext conftest.$ac_ext
42401 LIBS=$ac_check_lib_save_LIBS
42402 fi
42403 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42404 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42405 if test $ac_cv_lib_dl_dlerror = yes; then
42406 cat >>confdefs.h <<\_ACEOF
42407 #define HAVE_DLERROR 1
42408 _ACEOF
42409
42410 fi
42411
42412
42413
42414 fi
42415 done
42416
42417 fi
42418 fi
42419
42420 if test "$USE_DARWIN" = 1; then
42421 HAVE_DL_FUNCS=1
42422 fi
42423
42424 if test "$HAVE_DL_FUNCS" = 0; then
42425 if test "$HAVE_SHL_FUNCS" = 0; then
42426 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42427 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42428 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42429 wxUSE_DYNAMIC_LOADER=no
42430 wxUSE_DYNLIB_CLASS=no
42431 else
42432 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42433 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42434 fi
42435 fi
42436 fi
42437 fi
42438 fi
42439
42440 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42441 cat >>confdefs.h <<\_ACEOF
42442 #define wxUSE_DYNAMIC_LOADER 1
42443 _ACEOF
42444
42445 fi
42446 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42447 cat >>confdefs.h <<\_ACEOF
42448 #define wxUSE_DYNLIB_CLASS 1
42449 _ACEOF
42450
42451 fi
42452
42453
42454
42455 if test "$wxUSE_PLUGINS" = "yes" ; then
42456 if test "$wxUSE_SHARED" = "no" ; then
42457 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42458 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42459 wxUSE_PLUGINS=no
42460 fi
42461 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42462 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42463 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42464 wxUSE_PLUGINS=no
42465 fi
42466 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42467 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42468 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42469 wxUSE_PLUGINS=no
42470 fi
42471 if test "$wxUSE_PLUGINS" = "yes" ; then
42472 cat >>confdefs.h <<\_ACEOF
42473 #define wxUSE_PLUGINS 1
42474 _ACEOF
42475
42476 fi
42477 fi
42478
42479
42480 if test "$wxUSE_FSWATCHER" = "yes"; then
42481 cat >>confdefs.h <<\_ACEOF
42482 #define wxUSE_FSWATCHER 1
42483 _ACEOF
42484
42485 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
42486
42487 if test "$wxUSE_UNIX" = "yes"; then
42488
42489 for ac_header in sys/inotify.h
42490 do
42491 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42492 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42494 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42495 echo $ECHO_N "(cached) $ECHO_C" >&6
42496 else
42497 cat >conftest.$ac_ext <<_ACEOF
42498 /* confdefs.h. */
42499 _ACEOF
42500 cat confdefs.h >>conftest.$ac_ext
42501 cat >>conftest.$ac_ext <<_ACEOF
42502 /* end confdefs.h. */
42503 $ac_includes_default
42504
42505 #include <$ac_header>
42506 _ACEOF
42507 rm -f conftest.$ac_objext
42508 if { (ac_try="$ac_compile"
42509 case "(($ac_try" in
42510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42511 *) ac_try_echo=$ac_try;;
42512 esac
42513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42514 (eval "$ac_compile") 2>conftest.er1
42515 ac_status=$?
42516 grep -v '^ *+' conftest.er1 >conftest.err
42517 rm -f conftest.er1
42518 cat conftest.err >&5
42519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42520 (exit $ac_status); } && {
42521 test -z "$ac_c_werror_flag" ||
42522 test ! -s conftest.err
42523 } && test -s conftest.$ac_objext; then
42524 eval "$as_ac_Header=yes"
42525 else
42526 echo "$as_me: failed program was:" >&5
42527 sed 's/^/| /' conftest.$ac_ext >&5
42528
42529 eval "$as_ac_Header=no"
42530 fi
42531
42532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42533 fi
42534 ac_res=`eval echo '${'$as_ac_Header'}'`
42535 { echo "$as_me:$LINENO: result: $ac_res" >&5
42536 echo "${ECHO_T}$ac_res" >&6; }
42537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42538 cat >>confdefs.h <<_ACEOF
42539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42540 _ACEOF
42541
42542 fi
42543
42544 done
42545
42546 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
42547 cat >>confdefs.h <<\_ACEOF
42548 #define wxHAS_INOTIFY 1
42549 _ACEOF
42550
42551 else
42552
42553 for ac_header in sys/event.h
42554 do
42555 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42556 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42558 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42559 echo $ECHO_N "(cached) $ECHO_C" >&6
42560 else
42561 cat >conftest.$ac_ext <<_ACEOF
42562 /* confdefs.h. */
42563 _ACEOF
42564 cat confdefs.h >>conftest.$ac_ext
42565 cat >>conftest.$ac_ext <<_ACEOF
42566 /* end confdefs.h. */
42567 $ac_includes_default
42568
42569 #include <$ac_header>
42570 _ACEOF
42571 rm -f conftest.$ac_objext
42572 if { (ac_try="$ac_compile"
42573 case "(($ac_try" in
42574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42575 *) ac_try_echo=$ac_try;;
42576 esac
42577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42578 (eval "$ac_compile") 2>conftest.er1
42579 ac_status=$?
42580 grep -v '^ *+' conftest.er1 >conftest.err
42581 rm -f conftest.er1
42582 cat conftest.err >&5
42583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42584 (exit $ac_status); } && {
42585 test -z "$ac_c_werror_flag" ||
42586 test ! -s conftest.err
42587 } && test -s conftest.$ac_objext; then
42588 eval "$as_ac_Header=yes"
42589 else
42590 echo "$as_me: failed program was:" >&5
42591 sed 's/^/| /' conftest.$ac_ext >&5
42592
42593 eval "$as_ac_Header=no"
42594 fi
42595
42596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42597 fi
42598 ac_res=`eval echo '${'$as_ac_Header'}'`
42599 { echo "$as_me:$LINENO: result: $ac_res" >&5
42600 echo "${ECHO_T}$ac_res" >&6; }
42601 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42602 cat >>confdefs.h <<_ACEOF
42603 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42604 _ACEOF
42605
42606 fi
42607
42608 done
42609
42610 if test "$ac_cv_header_sys_event_h" = "yes"; then
42611 cat >>confdefs.h <<\_ACEOF
42612 #define wxHAS_KQUEUE 1
42613 _ACEOF
42614
42615 else
42616 { echo "$as_me:$LINENO: WARNING: No native wxFileSystemWatcher implementation available for on this platform" >&5
42617 echo "$as_me: WARNING: No native wxFileSystemWatcher implementation available for on this platform" >&2;}
42618 fi
42619 fi
42620 fi
42621 fi
42622
42623
42624 if test "$wxUSE_STL" = "yes"; then
42625 cat >>confdefs.h <<\_ACEOF
42626 #define wxUSE_STL 1
42627 _ACEOF
42628
42629 fi
42630
42631 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42632 cat >>confdefs.h <<\_ACEOF
42633 #define wxUSE_EXTENDED_RTTI 1
42634 _ACEOF
42635
42636 fi
42637
42638 if test "$wxUSE_ANY" = "yes"; then
42639 cat >>confdefs.h <<\_ACEOF
42640 #define wxUSE_ANY 1
42641 _ACEOF
42642
42643 fi
42644
42645 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42646 cat >>confdefs.h <<\_ACEOF
42647 #define wxUSE_APPLE_IEEE 1
42648 _ACEOF
42649
42650 fi
42651
42652 if test "$wxUSE_TIMER" = "yes"; then
42653 cat >>confdefs.h <<\_ACEOF
42654 #define wxUSE_TIMER 1
42655 _ACEOF
42656
42657 fi
42658
42659 if test "$USE_UNIX" = 1 ; then
42660 if test "$wxUSE_MGL" != 1; then
42661 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42662 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42663 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42664 echo $ECHO_N "(cached) $ECHO_C" >&6
42665 else
42666
42667 cat >conftest.$ac_ext <<_ACEOF
42668 /* confdefs.h. */
42669 _ACEOF
42670 cat confdefs.h >>conftest.$ac_ext
42671 cat >>conftest.$ac_ext <<_ACEOF
42672 /* end confdefs.h. */
42673
42674 #include <sys/ioctl.h>
42675 #include <sys/soundcard.h>
42676
42677 int
42678 main ()
42679 {
42680
42681 ioctl(0, SNDCTL_DSP_SPEED, 0);
42682
42683 ;
42684 return 0;
42685 }
42686 _ACEOF
42687 rm -f conftest.$ac_objext conftest$ac_exeext
42688 if { (ac_try="$ac_link"
42689 case "(($ac_try" in
42690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42691 *) ac_try_echo=$ac_try;;
42692 esac
42693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42694 (eval "$ac_link") 2>conftest.er1
42695 ac_status=$?
42696 grep -v '^ *+' conftest.er1 >conftest.err
42697 rm -f conftest.er1
42698 cat conftest.err >&5
42699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42700 (exit $ac_status); } && {
42701 test -z "$ac_c_werror_flag" ||
42702 test ! -s conftest.err
42703 } && test -s conftest$ac_exeext &&
42704 $as_test_x conftest$ac_exeext; then
42705 ac_cv_header_sys_soundcard=yes
42706 else
42707 echo "$as_me: failed program was:" >&5
42708 sed 's/^/| /' conftest.$ac_ext >&5
42709
42710
42711 saveLibs="$LIBS"
42712 LIBS="$saveLibs -lossaudio"
42713 cat >conftest.$ac_ext <<_ACEOF
42714 /* confdefs.h. */
42715 _ACEOF
42716 cat confdefs.h >>conftest.$ac_ext
42717 cat >>conftest.$ac_ext <<_ACEOF
42718 /* end confdefs.h. */
42719
42720 #include <sys/ioctl.h>
42721 #include <sys/soundcard.h>
42722
42723 int
42724 main ()
42725 {
42726
42727 ioctl(0, SNDCTL_DSP_SPEED, 0);
42728
42729 ;
42730 return 0;
42731 }
42732 _ACEOF
42733 rm -f conftest.$ac_objext conftest$ac_exeext
42734 if { (ac_try="$ac_link"
42735 case "(($ac_try" in
42736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42737 *) ac_try_echo=$ac_try;;
42738 esac
42739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42740 (eval "$ac_link") 2>conftest.er1
42741 ac_status=$?
42742 grep -v '^ *+' conftest.er1 >conftest.err
42743 rm -f conftest.er1
42744 cat conftest.err >&5
42745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42746 (exit $ac_status); } && {
42747 test -z "$ac_c_werror_flag" ||
42748 test ! -s conftest.err
42749 } && test -s conftest$ac_exeext &&
42750 $as_test_x conftest$ac_exeext; then
42751 ac_cv_header_sys_soundcard=yes
42752 else
42753 echo "$as_me: failed program was:" >&5
42754 sed 's/^/| /' conftest.$ac_ext >&5
42755
42756
42757 LIBS="$saveLibs"
42758 ac_cv_header_sys_soundcard=no
42759
42760
42761 fi
42762
42763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42764 conftest$ac_exeext conftest.$ac_ext
42765
42766
42767 fi
42768
42769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42770 conftest$ac_exeext conftest.$ac_ext
42771
42772 fi
42773 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42774 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42775 fi
42776
42777 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42778 cat >>confdefs.h <<\_ACEOF
42779 #define HAVE_SYS_SOUNDCARD_H 1
42780 _ACEOF
42781
42782 fi
42783 fi
42784
42785 WITH_PLUGIN_SDL=0
42786 if test "$wxUSE_SOUND" = "yes"; then
42787 if test "$USE_UNIX" = 1 ; then
42788 if test "$wxUSE_LIBSDL" != "no"; then
42789
42790 # Check whether --with-sdl-prefix was given.
42791 if test "${with_sdl_prefix+set}" = set; then
42792 withval=$with_sdl_prefix; sdl_prefix="$withval"
42793 else
42794 sdl_prefix=""
42795 fi
42796
42797
42798 # Check whether --with-sdl-exec-prefix was given.
42799 if test "${with_sdl_exec_prefix+set}" = set; then
42800 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42801 else
42802 sdl_exec_prefix=""
42803 fi
42804
42805 # Check whether --enable-sdltest was given.
42806 if test "${enable_sdltest+set}" = set; then
42807 enableval=$enable_sdltest;
42808 else
42809 enable_sdltest=yes
42810 fi
42811
42812
42813 if test x$sdl_exec_prefix != x ; then
42814 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42815 if test x${SDL_CONFIG+set} != xset ; then
42816 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42817 fi
42818 fi
42819 if test x$sdl_prefix != x ; then
42820 sdl_args="$sdl_args --prefix=$sdl_prefix"
42821 if test x${SDL_CONFIG+set} != xset ; then
42822 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42823 fi
42824 fi
42825
42826 if test "x$prefix" != xNONE; then
42827 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42828 fi
42829 # Extract the first word of "sdl-config", so it can be a program name with args.
42830 set dummy sdl-config; ac_word=$2
42831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42833 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42834 echo $ECHO_N "(cached) $ECHO_C" >&6
42835 else
42836 case $SDL_CONFIG in
42837 [\\/]* | ?:[\\/]*)
42838 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42839 ;;
42840 *)
42841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42842 for as_dir in $PATH
42843 do
42844 IFS=$as_save_IFS
42845 test -z "$as_dir" && as_dir=.
42846 for ac_exec_ext in '' $ac_executable_extensions; do
42847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42848 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42850 break 2
42851 fi
42852 done
42853 done
42854 IFS=$as_save_IFS
42855
42856 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42857 ;;
42858 esac
42859 fi
42860 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42861 if test -n "$SDL_CONFIG"; then
42862 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42863 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42864 else
42865 { echo "$as_me:$LINENO: result: no" >&5
42866 echo "${ECHO_T}no" >&6; }
42867 fi
42868
42869
42870 min_sdl_version=1.2.0
42871 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42872 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42873 no_sdl=""
42874 if test "$SDL_CONFIG" = "no" ; then
42875 no_sdl=yes
42876 else
42877 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42878 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42879
42880 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42882 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42883 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42884 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42885 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42886 if test "x$enable_sdltest" = "xyes" ; then
42887 ac_save_CFLAGS="$CFLAGS"
42888 ac_save_CXXFLAGS="$CXXFLAGS"
42889 ac_save_LIBS="$LIBS"
42890 CFLAGS="$CFLAGS $SDL_CFLAGS"
42891 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42892 LIBS="$LIBS $SDL_LIBS"
42893 rm -f conf.sdltest
42894 if test "$cross_compiling" = yes; then
42895 echo $ac_n "cross compiling; assumed OK... $ac_c"
42896 else
42897 cat >conftest.$ac_ext <<_ACEOF
42898 /* confdefs.h. */
42899 _ACEOF
42900 cat confdefs.h >>conftest.$ac_ext
42901 cat >>conftest.$ac_ext <<_ACEOF
42902 /* end confdefs.h. */
42903
42904 #include <stdio.h>
42905 #include <stdlib.h>
42906 #include <string.h>
42907 #include "SDL.h"
42908
42909 char*
42910 my_strdup (char *str)
42911 {
42912 char *new_str;
42913
42914 if (str)
42915 {
42916 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42917 strcpy (new_str, str);
42918 }
42919 else
42920 new_str = NULL;
42921
42922 return new_str;
42923 }
42924
42925 int main (int argc, char *argv[])
42926 {
42927 int major, minor, micro;
42928 char *tmp_version;
42929
42930 /* This hangs on some systems (?)
42931 system ("touch conf.sdltest");
42932 */
42933 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42934
42935 /* HP/UX 9 (%@#!) writes to sscanf strings */
42936 tmp_version = my_strdup("$min_sdl_version");
42937 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42938 printf("%s, bad version string\n", "$min_sdl_version");
42939 exit(1);
42940 }
42941
42942 if (($sdl_major_version > major) ||
42943 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42944 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42945 {
42946 return 0;
42947 }
42948 else
42949 {
42950 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42951 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42952 printf("*** best to upgrade to the required version.\n");
42953 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42954 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42955 printf("*** config.cache before re-running configure\n");
42956 return 1;
42957 }
42958 }
42959
42960
42961 _ACEOF
42962 rm -f conftest$ac_exeext
42963 if { (ac_try="$ac_link"
42964 case "(($ac_try" in
42965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42966 *) ac_try_echo=$ac_try;;
42967 esac
42968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42969 (eval "$ac_link") 2>&5
42970 ac_status=$?
42971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42972 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42973 { (case "(($ac_try" in
42974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42975 *) ac_try_echo=$ac_try;;
42976 esac
42977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42978 (eval "$ac_try") 2>&5
42979 ac_status=$?
42980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42981 (exit $ac_status); }; }; then
42982 :
42983 else
42984 echo "$as_me: program exited with status $ac_status" >&5
42985 echo "$as_me: failed program was:" >&5
42986 sed 's/^/| /' conftest.$ac_ext >&5
42987
42988 ( exit $ac_status )
42989 no_sdl=yes
42990 fi
42991 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42992 fi
42993
42994
42995 CFLAGS="$ac_save_CFLAGS"
42996 CXXFLAGS="$ac_save_CXXFLAGS"
42997 LIBS="$ac_save_LIBS"
42998 fi
42999 fi
43000 if test "x$no_sdl" = x ; then
43001 { echo "$as_me:$LINENO: result: yes" >&5
43002 echo "${ECHO_T}yes" >&6; }
43003
43004 EXTRALIBS_SDL="$SDL_LIBS"
43005 CFLAGS="$SDL_CFLAGS $CFLAGS"
43006 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43007 cat >>confdefs.h <<\_ACEOF
43008 #define wxUSE_LIBSDL 1
43009 _ACEOF
43010
43011
43012 else
43013 { echo "$as_me:$LINENO: result: no" >&5
43014 echo "${ECHO_T}no" >&6; }
43015 if test "$SDL_CONFIG" = "no" ; then
43016 echo "*** The sdl-config script installed by SDL could not be found"
43017 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43018 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43019 echo "*** full path to sdl-config."
43020 else
43021 if test -f conf.sdltest ; then
43022 :
43023 else
43024 echo "*** Could not run SDL test program, checking why..."
43025 CFLAGS="$CFLAGS $SDL_CFLAGS"
43026 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43027 LIBS="$LIBS $SDL_LIBS"
43028 cat >conftest.$ac_ext <<_ACEOF
43029 /* confdefs.h. */
43030 _ACEOF
43031 cat confdefs.h >>conftest.$ac_ext
43032 cat >>conftest.$ac_ext <<_ACEOF
43033 /* end confdefs.h. */
43034
43035 #include <stdio.h>
43036 #include "SDL.h"
43037
43038 int main(int argc, char *argv[])
43039 { return 0; }
43040 #undef main
43041 #define main K_and_R_C_main
43042
43043 int
43044 main ()
43045 {
43046 return 0;
43047 ;
43048 return 0;
43049 }
43050 _ACEOF
43051 rm -f conftest.$ac_objext conftest$ac_exeext
43052 if { (ac_try="$ac_link"
43053 case "(($ac_try" in
43054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43055 *) ac_try_echo=$ac_try;;
43056 esac
43057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43058 (eval "$ac_link") 2>conftest.er1
43059 ac_status=$?
43060 grep -v '^ *+' conftest.er1 >conftest.err
43061 rm -f conftest.er1
43062 cat conftest.err >&5
43063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43064 (exit $ac_status); } && {
43065 test -z "$ac_c_werror_flag" ||
43066 test ! -s conftest.err
43067 } && test -s conftest$ac_exeext &&
43068 $as_test_x conftest$ac_exeext; then
43069 echo "*** The test program compiled, but did not run. This usually means"
43070 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43071 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43072 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43073 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43074 echo "*** is required on your system"
43075 echo "***"
43076 echo "*** If you have an old version installed, it is best to remove it, although"
43077 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43078 else
43079 echo "$as_me: failed program was:" >&5
43080 sed 's/^/| /' conftest.$ac_ext >&5
43081
43082 echo "*** The test program failed to compile or link. See the file config.log for the"
43083 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43084 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43085 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43086 fi
43087
43088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43089 conftest$ac_exeext conftest.$ac_ext
43090 CFLAGS="$ac_save_CFLAGS"
43091 CXXFLAGS="$ac_save_CXXFLAGS"
43092 LIBS="$ac_save_LIBS"
43093 fi
43094 fi
43095 SDL_CFLAGS=""
43096 SDL_LIBS=""
43097 wxUSE_LIBSDL="no"
43098 fi
43099
43100
43101 rm -f conf.sdltest
43102
43103 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43104 WITH_PLUGIN_SDL=1
43105 fi
43106 fi
43107 else
43108 if test "$wxUSE_MGL" = 1; then
43109 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43110 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43111 wxUSE_SOUND="no"
43112 fi
43113 fi
43114 fi
43115
43116 if test "$wxUSE_SOUND" = "yes"; then
43117 cat >>confdefs.h <<\_ACEOF
43118 #define wxUSE_SOUND 1
43119 _ACEOF
43120
43121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43122 fi
43123
43124 if test "$WXGTK2" = 1; then
43125
43126
43127 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43128 if test -n "$ac_tool_prefix"; then
43129 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43130 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43131 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43133 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43134 echo $ECHO_N "(cached) $ECHO_C" >&6
43135 else
43136 case $PKG_CONFIG in
43137 [\\/]* | ?:[\\/]*)
43138 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43139 ;;
43140 *)
43141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43142 for as_dir in $PATH
43143 do
43144 IFS=$as_save_IFS
43145 test -z "$as_dir" && as_dir=.
43146 for ac_exec_ext in '' $ac_executable_extensions; do
43147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43148 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43150 break 2
43151 fi
43152 done
43153 done
43154 IFS=$as_save_IFS
43155
43156 ;;
43157 esac
43158 fi
43159 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43160 if test -n "$PKG_CONFIG"; then
43161 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43162 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43163 else
43164 { echo "$as_me:$LINENO: result: no" >&5
43165 echo "${ECHO_T}no" >&6; }
43166 fi
43167
43168
43169 fi
43170 if test -z "$ac_cv_path_PKG_CONFIG"; then
43171 ac_pt_PKG_CONFIG=$PKG_CONFIG
43172 # Extract the first word of "pkg-config", so it can be a program name with args.
43173 set dummy pkg-config; ac_word=$2
43174 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43176 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43177 echo $ECHO_N "(cached) $ECHO_C" >&6
43178 else
43179 case $ac_pt_PKG_CONFIG in
43180 [\\/]* | ?:[\\/]*)
43181 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43182 ;;
43183 *)
43184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43185 for as_dir in $PATH
43186 do
43187 IFS=$as_save_IFS
43188 test -z "$as_dir" && as_dir=.
43189 for ac_exec_ext in '' $ac_executable_extensions; do
43190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43191 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43193 break 2
43194 fi
43195 done
43196 done
43197 IFS=$as_save_IFS
43198
43199 ;;
43200 esac
43201 fi
43202 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43203 if test -n "$ac_pt_PKG_CONFIG"; then
43204 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43205 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43206 else
43207 { echo "$as_me:$LINENO: result: no" >&5
43208 echo "${ECHO_T}no" >&6; }
43209 fi
43210
43211 if test "x$ac_pt_PKG_CONFIG" = x; then
43212 PKG_CONFIG=""
43213 else
43214 case $cross_compiling:$ac_tool_warned in
43215 yes:)
43216 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43217 whose name does not start with the host triplet. If you think this
43218 configuration is useful to you, please write to autoconf@gnu.org." >&5
43219 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43220 whose name does not start with the host triplet. If you think this
43221 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43222 ac_tool_warned=yes ;;
43223 esac
43224 PKG_CONFIG=$ac_pt_PKG_CONFIG
43225 fi
43226 else
43227 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43228 fi
43229
43230 fi
43231 if test -n "$PKG_CONFIG"; then
43232 _pkg_min_version=0.9.0
43233 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43234 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43235 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43236 { echo "$as_me:$LINENO: result: yes" >&5
43237 echo "${ECHO_T}yes" >&6; }
43238 else
43239 { echo "$as_me:$LINENO: result: no" >&5
43240 echo "${ECHO_T}no" >&6; }
43241 PKG_CONFIG=""
43242 fi
43243
43244 fi
43245
43246 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43247
43248 if test "$wxUSE_GTKPRINT" = "yes" ; then
43249
43250
43251 pkg_failed=no
43252 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
43253 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
43254
43255 if test -n "$PKG_CONFIG"; then
43256 if test -n "$GTKPRINT_CFLAGS"; then
43257 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
43258 else
43259 if test -n "$PKG_CONFIG" && \
43260 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43261 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43262 ac_status=$?
43263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43264 (exit $ac_status); }; then
43265 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43266 else
43267 pkg_failed=yes
43268 fi
43269 fi
43270 else
43271 pkg_failed=untried
43272 fi
43273 if test -n "$PKG_CONFIG"; then
43274 if test -n "$GTKPRINT_LIBS"; then
43275 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
43276 else
43277 if test -n "$PKG_CONFIG" && \
43278 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43279 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43280 ac_status=$?
43281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43282 (exit $ac_status); }; then
43283 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43284 else
43285 pkg_failed=yes
43286 fi
43287 fi
43288 else
43289 pkg_failed=untried
43290 fi
43291
43292
43293
43294 if test $pkg_failed = yes; then
43295
43296 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43297 _pkg_short_errors_supported=yes
43298 else
43299 _pkg_short_errors_supported=no
43300 fi
43301 if test $_pkg_short_errors_supported = yes; then
43302 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43303 else
43304 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43305 fi
43306 # Put the nasty error message in config.log where it belongs
43307 echo "$GTKPRINT_PKG_ERRORS" >&5
43308
43309
43310 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43311 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43312 wxUSE_GTKPRINT="no"
43313
43314
43315 elif test $pkg_failed = untried; then
43316
43317 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43318 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43319 wxUSE_GTKPRINT="no"
43320
43321
43322 else
43323 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
43324 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
43325 { echo "$as_me:$LINENO: result: yes" >&5
43326 echo "${ECHO_T}yes" >&6; }
43327
43328 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
43329 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
43330 cat >>confdefs.h <<\_ACEOF
43331 #define wxUSE_GTKPRINT 1
43332 _ACEOF
43333
43334
43335 fi
43336 fi
43337
43338 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43339
43340
43341 pkg_failed=no
43342 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43343 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43344
43345 if test -n "$PKG_CONFIG"; then
43346 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43347 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43348 else
43349 if test -n "$PKG_CONFIG" && \
43350 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43351 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43352 ac_status=$?
43353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43354 (exit $ac_status); }; then
43355 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43356 else
43357 pkg_failed=yes
43358 fi
43359 fi
43360 else
43361 pkg_failed=untried
43362 fi
43363 if test -n "$PKG_CONFIG"; then
43364 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43365 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43366 else
43367 if test -n "$PKG_CONFIG" && \
43368 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43369 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43370 ac_status=$?
43371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43372 (exit $ac_status); }; then
43373 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43374 else
43375 pkg_failed=yes
43376 fi
43377 fi
43378 else
43379 pkg_failed=untried
43380 fi
43381
43382
43383
43384 if test $pkg_failed = yes; then
43385
43386 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43387 _pkg_short_errors_supported=yes
43388 else
43389 _pkg_short_errors_supported=no
43390 fi
43391 if test $_pkg_short_errors_supported = yes; then
43392 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43393 else
43394 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43395 fi
43396 # Put the nasty error message in config.log where it belongs
43397 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43398
43399
43400 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43401 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43402 wxUSE_LIBGNOMEPRINT="no"
43403
43404
43405 elif test $pkg_failed = untried; then
43406
43407 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43408 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43409 wxUSE_LIBGNOMEPRINT="no"
43410
43411
43412 else
43413 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43414 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43415 { echo "$as_me:$LINENO: result: yes" >&5
43416 echo "${ECHO_T}yes" >&6; }
43417
43418 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43419 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43420 cat >>confdefs.h <<\_ACEOF
43421 #define wxUSE_LIBGNOMEPRINT 1
43422 _ACEOF
43423
43424
43425 fi
43426 fi
43427 fi
43428
43429 if test "$wxUSE_MIMETYPE" = "yes" ; then
43430 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43431
43432
43433 pkg_failed=no
43434 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43435 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43436
43437 if test -n "$PKG_CONFIG"; then
43438 if test -n "$GNOMEVFS_CFLAGS"; then
43439 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43440 else
43441 if test -n "$PKG_CONFIG" && \
43442 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43443 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43444 ac_status=$?
43445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43446 (exit $ac_status); }; then
43447 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43448 else
43449 pkg_failed=yes
43450 fi
43451 fi
43452 else
43453 pkg_failed=untried
43454 fi
43455 if test -n "$PKG_CONFIG"; then
43456 if test -n "$GNOMEVFS_LIBS"; then
43457 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43458 else
43459 if test -n "$PKG_CONFIG" && \
43460 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43461 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43462 ac_status=$?
43463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43464 (exit $ac_status); }; then
43465 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43466 else
43467 pkg_failed=yes
43468 fi
43469 fi
43470 else
43471 pkg_failed=untried
43472 fi
43473
43474
43475
43476 if test $pkg_failed = yes; then
43477
43478 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43479 _pkg_short_errors_supported=yes
43480 else
43481 _pkg_short_errors_supported=no
43482 fi
43483 if test $_pkg_short_errors_supported = yes; then
43484 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43485 else
43486 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43487 fi
43488 # Put the nasty error message in config.log where it belongs
43489 echo "$GNOMEVFS_PKG_ERRORS" >&5
43490
43491
43492 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43493 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43494 wxUSE_LIBGNOMEVFS="no"
43495
43496
43497 elif test $pkg_failed = untried; then
43498
43499 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43500 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43501 wxUSE_LIBGNOMEVFS="no"
43502
43503
43504 else
43505 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43506 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43507 { echo "$as_me:$LINENO: result: yes" >&5
43508 echo "${ECHO_T}yes" >&6; }
43509
43510 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43511 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43512 cat >>confdefs.h <<\_ACEOF
43513 #define wxUSE_LIBGNOMEVFS 1
43514 _ACEOF
43515
43516
43517 fi
43518 fi
43519 fi
43520
43521 if test "$wxUSE_LIBHILDON" = "yes" ; then
43522
43523 pkg_failed=no
43524 { echo "$as_me:$LINENO: checking for HILDON" >&5
43525 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43526
43527 if test -n "$PKG_CONFIG"; then
43528 if test -n "$HILDON_CFLAGS"; then
43529 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43530 else
43531 if test -n "$PKG_CONFIG" && \
43532 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43533 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43534 ac_status=$?
43535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43536 (exit $ac_status); }; then
43537 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43538 else
43539 pkg_failed=yes
43540 fi
43541 fi
43542 else
43543 pkg_failed=untried
43544 fi
43545 if test -n "$PKG_CONFIG"; then
43546 if test -n "$HILDON_LIBS"; then
43547 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43548 else
43549 if test -n "$PKG_CONFIG" && \
43550 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43551 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43552 ac_status=$?
43553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43554 (exit $ac_status); }; then
43555 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43556 else
43557 pkg_failed=yes
43558 fi
43559 fi
43560 else
43561 pkg_failed=untried
43562 fi
43563
43564
43565
43566 if test $pkg_failed = yes; then
43567
43568 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43569 _pkg_short_errors_supported=yes
43570 else
43571 _pkg_short_errors_supported=no
43572 fi
43573 if test $_pkg_short_errors_supported = yes; then
43574 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43575 else
43576 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43577 fi
43578 # Put the nasty error message in config.log where it belongs
43579 echo "$HILDON_PKG_ERRORS" >&5
43580
43581
43582 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43583 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43584 wxUSE_LIBHILDON="no"
43585 ac_hildon_lgpl=0
43586
43587
43588 elif test $pkg_failed = untried; then
43589
43590 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43591 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43592 wxUSE_LIBHILDON="no"
43593 ac_hildon_lgpl=0
43594
43595
43596 else
43597 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43598 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43599 { echo "$as_me:$LINENO: result: yes" >&5
43600 echo "${ECHO_T}yes" >&6; }
43601
43602 EXTRALIBS_HILDON="$HILDON_LIBS"
43603 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43604 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43605 cat >>confdefs.h <<\_ACEOF
43606 #define wxUSE_LIBHILDON 1
43607 _ACEOF
43608
43609 ac_hildon_lgpl=1
43610
43611 fi
43612
43613 if test "$ac_hildon_lgpl" = 0 ; then
43614
43615 pkg_failed=no
43616 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43617 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43618
43619 if test -n "$PKG_CONFIG"; then
43620 if test -n "$HILDON2_CFLAGS"; then
43621 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
43622 else
43623 if test -n "$PKG_CONFIG" && \
43624 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43625 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43626 ac_status=$?
43627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43628 (exit $ac_status); }; then
43629 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
43630 else
43631 pkg_failed=yes
43632 fi
43633 fi
43634 else
43635 pkg_failed=untried
43636 fi
43637 if test -n "$PKG_CONFIG"; then
43638 if test -n "$HILDON2_LIBS"; then
43639 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
43640 else
43641 if test -n "$PKG_CONFIG" && \
43642 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43643 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43644 ac_status=$?
43645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43646 (exit $ac_status); }; then
43647 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
43648 else
43649 pkg_failed=yes
43650 fi
43651 fi
43652 else
43653 pkg_failed=untried
43654 fi
43655
43656
43657
43658 if test $pkg_failed = yes; then
43659
43660 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43661 _pkg_short_errors_supported=yes
43662 else
43663 _pkg_short_errors_supported=no
43664 fi
43665 if test $_pkg_short_errors_supported = yes; then
43666 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43667 else
43668 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43669 fi
43670 # Put the nasty error message in config.log where it belongs
43671 echo "$HILDON2_PKG_ERRORS" >&5
43672
43673
43674 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43675 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43676 wxUSE_LIBHILDON2="no"
43677
43678
43679 elif test $pkg_failed = untried; then
43680
43681 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43682 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43683 wxUSE_LIBHILDON2="no"
43684
43685
43686 else
43687 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
43688 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
43689 { echo "$as_me:$LINENO: result: yes" >&5
43690 echo "${ECHO_T}yes" >&6; }
43691
43692 EXTRALIBS_HILDON="$HILDON2_LIBS"
43693 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
43694 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
43695 cat >>confdefs.h <<\_ACEOF
43696 #define wxUSE_LIBHILDON2 1
43697 _ACEOF
43698
43699
43700 fi
43701 fi
43702 fi
43703 fi
43704
43705 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43706 cat >>confdefs.h <<\_ACEOF
43707 #define wxUSE_CMDLINE_PARSER 1
43708 _ACEOF
43709
43710 fi
43711
43712 if test "$wxUSE_STOPWATCH" = "yes"; then
43713 cat >>confdefs.h <<\_ACEOF
43714 #define wxUSE_STOPWATCH 1
43715 _ACEOF
43716
43717 fi
43718
43719 if test "$wxUSE_DATETIME" = "yes"; then
43720 cat >>confdefs.h <<\_ACEOF
43721 #define wxUSE_DATETIME 1
43722 _ACEOF
43723
43724 fi
43725
43726 if test "$wxUSE_FILE" = "yes"; then
43727 cat >>confdefs.h <<\_ACEOF
43728 #define wxUSE_FILE 1
43729 _ACEOF
43730
43731 fi
43732
43733 if test "$wxUSE_FFILE" = "yes"; then
43734 cat >>confdefs.h <<\_ACEOF
43735 #define wxUSE_FFILE 1
43736 _ACEOF
43737
43738 fi
43739
43740 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43741 if test "$wxUSE_STREAMS" != yes; then
43742 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43743 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43744 wxUSE_ARCHIVE_STREAMS=no
43745 else
43746 cat >>confdefs.h <<\_ACEOF
43747 #define wxUSE_ARCHIVE_STREAMS 1
43748 _ACEOF
43749
43750 fi
43751 fi
43752
43753 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43754 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43755 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43756 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43757 elif test "$wxUSE_ZLIB" = "no"; then
43758 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43759 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43760 else
43761 cat >>confdefs.h <<\_ACEOF
43762 #define wxUSE_ZIPSTREAM 1
43763 _ACEOF
43764
43765 fi
43766 fi
43767
43768 if test "$wxUSE_TARSTREAM" = "yes"; then
43769 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43770 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43771 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43772 else
43773 cat >>confdefs.h <<\_ACEOF
43774 #define wxUSE_TARSTREAM 1
43775 _ACEOF
43776
43777 fi
43778 fi
43779
43780 if test "$wxUSE_FILESYSTEM" = "yes"; then
43781 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43782 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43783 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43784 wxUSE_FILESYSTEM=no
43785 else
43786 cat >>confdefs.h <<\_ACEOF
43787 #define wxUSE_FILESYSTEM 1
43788 _ACEOF
43789
43790 fi
43791 fi
43792
43793 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43794 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43795 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43796 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43797 else
43798 cat >>confdefs.h <<\_ACEOF
43799 #define wxUSE_FS_ARCHIVE 1
43800 _ACEOF
43801
43802 fi
43803 fi
43804
43805 if test "$wxUSE_FS_ZIP" = "yes"; then
43806 if test "$wxUSE_FS_ARCHIVE" != yes; then
43807 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43808 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43809 else
43810 cat >>confdefs.h <<\_ACEOF
43811 #define wxUSE_FS_ZIP 1
43812 _ACEOF
43813
43814 fi
43815 fi
43816
43817 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43818 if test "$USE_UNIX" != 1; then
43819 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43820 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43821 wxUSE_ON_FATAL_EXCEPTION=no
43822 else
43823 cat >>confdefs.h <<\_ACEOF
43824 #define wxUSE_ON_FATAL_EXCEPTION 1
43825 _ACEOF
43826
43827 fi
43828 fi
43829
43830 if test "$wxUSE_STACKWALKER" = "yes"; then
43831 cat >>confdefs.h <<\_ACEOF
43832 #define wxUSE_STACKWALKER 1
43833 _ACEOF
43834
43835 fi
43836
43837 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43838 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43839 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43840 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43841 wxUSE_DEBUGREPORT=no
43842 else
43843 cat >>confdefs.h <<\_ACEOF
43844 #define wxUSE_DEBUGREPORT 1
43845 _ACEOF
43846
43847 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43848 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43849 fi
43850 fi
43851 fi
43852
43853 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43854 cat >>confdefs.h <<\_ACEOF
43855 #define wxUSE_SNGLINST_CHECKER 1
43856 _ACEOF
43857
43858 fi
43859
43860 if test "$wxUSE_BUSYINFO" = "yes"; then
43861 cat >>confdefs.h <<\_ACEOF
43862 #define wxUSE_BUSYINFO 1
43863 _ACEOF
43864
43865 fi
43866
43867 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43868 cat >>confdefs.h <<\_ACEOF
43869 #define wxUSE_STD_IOSTREAM 1
43870 _ACEOF
43871
43872 fi
43873
43874 if test "$wxUSE_STD_STRING" = "yes"; then
43875 cat >>confdefs.h <<\_ACEOF
43876 #define wxUSE_STD_STRING 1
43877 _ACEOF
43878
43879 fi
43880
43881 if test "$wxUSE_STDPATHS" = "yes"; then
43882 cat >>confdefs.h <<\_ACEOF
43883 #define wxUSE_STDPATHS 1
43884 _ACEOF
43885
43886 fi
43887
43888 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43889 cat >>confdefs.h <<\_ACEOF
43890 #define wxUSE_TEXTBUFFER 1
43891 _ACEOF
43892
43893 fi
43894
43895 if test "$wxUSE_TEXTFILE" = "yes"; then
43896 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43897 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43898 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43899 else
43900 cat >>confdefs.h <<\_ACEOF
43901 #define wxUSE_TEXTFILE 1
43902 _ACEOF
43903
43904 fi
43905 fi
43906
43907 if test "$wxUSE_CONFIG" = "yes" ; then
43908 if test "$wxUSE_TEXTFILE" != "yes"; then
43909 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43910 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43911 else
43912 cat >>confdefs.h <<\_ACEOF
43913 #define wxUSE_CONFIG 1
43914 _ACEOF
43915
43916 cat >>confdefs.h <<\_ACEOF
43917 #define wxUSE_CONFIG_NATIVE 1
43918 _ACEOF
43919
43920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43921 fi
43922 fi
43923
43924 if test "$wxUSE_INTL" = "yes" ; then
43925 if test "$wxUSE_FILE" != "yes"; then
43926 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43927 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43928 else
43929 cat >>confdefs.h <<\_ACEOF
43930 #define wxUSE_INTL 1
43931 _ACEOF
43932
43933 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43934 GUIDIST="$GUIDIST INTL_DIST"
43935 fi
43936 fi
43937
43938 if test "$wxUSE_XLOCALE" = "yes" ; then
43939 cat >>confdefs.h <<\_ACEOF
43940 #define wxUSE_XLOCALE 1
43941 _ACEOF
43942
43943 { echo "$as_me:$LINENO: checking for locale_t" >&5
43944 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43945 if test "${ac_cv_type_locale_t+set}" = set; then
43946 echo $ECHO_N "(cached) $ECHO_C" >&6
43947 else
43948 cat >conftest.$ac_ext <<_ACEOF
43949 /* confdefs.h. */
43950 _ACEOF
43951 cat confdefs.h >>conftest.$ac_ext
43952 cat >>conftest.$ac_ext <<_ACEOF
43953 /* end confdefs.h. */
43954 #include <xlocale.h>
43955 #include <locale.h>
43956
43957 typedef locale_t ac__type_new_;
43958 int
43959 main ()
43960 {
43961 if ((ac__type_new_ *) 0)
43962 return 0;
43963 if (sizeof (ac__type_new_))
43964 return 0;
43965 ;
43966 return 0;
43967 }
43968 _ACEOF
43969 rm -f conftest.$ac_objext
43970 if { (ac_try="$ac_compile"
43971 case "(($ac_try" in
43972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43973 *) ac_try_echo=$ac_try;;
43974 esac
43975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43976 (eval "$ac_compile") 2>conftest.er1
43977 ac_status=$?
43978 grep -v '^ *+' conftest.er1 >conftest.err
43979 rm -f conftest.er1
43980 cat conftest.err >&5
43981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43982 (exit $ac_status); } && {
43983 test -z "$ac_c_werror_flag" ||
43984 test ! -s conftest.err
43985 } && test -s conftest.$ac_objext; then
43986 ac_cv_type_locale_t=yes
43987 else
43988 echo "$as_me: failed program was:" >&5
43989 sed 's/^/| /' conftest.$ac_ext >&5
43990
43991 ac_cv_type_locale_t=no
43992 fi
43993
43994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43995 fi
43996 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43997 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43998 if test $ac_cv_type_locale_t = yes; then
43999
44000 cat >>confdefs.h <<_ACEOF
44001 #define HAVE_LOCALE_T 1
44002 _ACEOF
44003
44004
44005 fi
44006
44007 fi
44008
44009 if test "$wxUSE_LOG" = "yes"; then
44010 cat >>confdefs.h <<\_ACEOF
44011 #define wxUSE_LOG 1
44012 _ACEOF
44013
44014
44015 if test "$wxUSE_LOGGUI" = "yes"; then
44016 cat >>confdefs.h <<\_ACEOF
44017 #define wxUSE_LOGGUI 1
44018 _ACEOF
44019
44020 fi
44021
44022 if test "$wxUSE_LOGWINDOW" = "yes"; then
44023 cat >>confdefs.h <<\_ACEOF
44024 #define wxUSE_LOGWINDOW 1
44025 _ACEOF
44026
44027 fi
44028
44029 if test "$wxUSE_LOGDIALOG" = "yes"; then
44030 cat >>confdefs.h <<\_ACEOF
44031 #define wxUSE_LOG_DIALOG 1
44032 _ACEOF
44033
44034 fi
44035
44036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44037 fi
44038
44039 if test "$wxUSE_LONGLONG" = "yes"; then
44040 cat >>confdefs.h <<\_ACEOF
44041 #define wxUSE_LONGLONG 1
44042 _ACEOF
44043
44044 fi
44045
44046 if test "$wxUSE_GEOMETRY" = "yes"; then
44047 cat >>confdefs.h <<\_ACEOF
44048 #define wxUSE_GEOMETRY 1
44049 _ACEOF
44050
44051 fi
44052
44053 if test "$wxUSE_BASE64" = "yes"; then
44054 cat >>confdefs.h <<\_ACEOF
44055 #define wxUSE_BASE64 1
44056 _ACEOF
44057
44058 fi
44059
44060 if test "$wxUSE_STREAMS" = "yes" ; then
44061 cat >>confdefs.h <<\_ACEOF
44062 #define wxUSE_STREAMS 1
44063 _ACEOF
44064
44065 fi
44066
44067 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44068 cat >>confdefs.h <<\_ACEOF
44069 #define wxUSE_PRINTF_POS_PARAMS 1
44070 _ACEOF
44071
44072 fi
44073
44074 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44075 cat >>confdefs.h <<\_ACEOF
44076 #define wxUSE_OBJC_UNIQUIFYING 1
44077 _ACEOF
44078
44079 fi
44080
44081
44082 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44083 cat >>confdefs.h <<\_ACEOF
44084 #define wxUSE_CONSOLE_EVENTLOOP 1
44085 _ACEOF
44086
44087
44088 if test "$wxUSE_UNIX" = "yes"; then
44089 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44090 cat >>confdefs.h <<\_ACEOF
44091 #define wxUSE_SELECT_DISPATCHER 1
44092 _ACEOF
44093
44094 fi
44095
44096 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44097
44098 for ac_header in sys/epoll.h
44099 do
44100 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44101 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44103 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44104 echo $ECHO_N "(cached) $ECHO_C" >&6
44105 else
44106 cat >conftest.$ac_ext <<_ACEOF
44107 /* confdefs.h. */
44108 _ACEOF
44109 cat confdefs.h >>conftest.$ac_ext
44110 cat >>conftest.$ac_ext <<_ACEOF
44111 /* end confdefs.h. */
44112 $ac_includes_default
44113
44114 #include <$ac_header>
44115 _ACEOF
44116 rm -f conftest.$ac_objext
44117 if { (ac_try="$ac_compile"
44118 case "(($ac_try" in
44119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44120 *) ac_try_echo=$ac_try;;
44121 esac
44122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44123 (eval "$ac_compile") 2>conftest.er1
44124 ac_status=$?
44125 grep -v '^ *+' conftest.er1 >conftest.err
44126 rm -f conftest.er1
44127 cat conftest.err >&5
44128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44129 (exit $ac_status); } && {
44130 test -z "$ac_c_werror_flag" ||
44131 test ! -s conftest.err
44132 } && test -s conftest.$ac_objext; then
44133 eval "$as_ac_Header=yes"
44134 else
44135 echo "$as_me: failed program was:" >&5
44136 sed 's/^/| /' conftest.$ac_ext >&5
44137
44138 eval "$as_ac_Header=no"
44139 fi
44140
44141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44142 fi
44143 ac_res=`eval echo '${'$as_ac_Header'}'`
44144 { echo "$as_me:$LINENO: result: $ac_res" >&5
44145 echo "${ECHO_T}$ac_res" >&6; }
44146 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44147 cat >>confdefs.h <<_ACEOF
44148 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44149 _ACEOF
44150
44151 fi
44152
44153 done
44154
44155 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44156 cat >>confdefs.h <<\_ACEOF
44157 #define wxUSE_EPOLL_DISPATCHER 1
44158 _ACEOF
44159
44160 else
44161 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44162 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44163 fi
44164 fi
44165 fi
44166 fi
44167
44168
44169
44170
44171 for ac_func in gettimeofday ftime
44172 do
44173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44174 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44176 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44177 echo $ECHO_N "(cached) $ECHO_C" >&6
44178 else
44179 cat >conftest.$ac_ext <<_ACEOF
44180 /* confdefs.h. */
44181 _ACEOF
44182 cat confdefs.h >>conftest.$ac_ext
44183 cat >>conftest.$ac_ext <<_ACEOF
44184 /* end confdefs.h. */
44185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44187 #define $ac_func innocuous_$ac_func
44188
44189 /* System header to define __stub macros and hopefully few prototypes,
44190 which can conflict with char $ac_func (); below.
44191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44192 <limits.h> exists even on freestanding compilers. */
44193
44194 #ifdef __STDC__
44195 # include <limits.h>
44196 #else
44197 # include <assert.h>
44198 #endif
44199
44200 #undef $ac_func
44201
44202 /* Override any GCC internal prototype to avoid an error.
44203 Use char because int might match the return type of a GCC
44204 builtin and then its argument prototype would still apply. */
44205 #ifdef __cplusplus
44206 extern "C"
44207 #endif
44208 char $ac_func ();
44209 /* The GNU C library defines this for functions which it implements
44210 to always fail with ENOSYS. Some functions are actually named
44211 something starting with __ and the normal name is an alias. */
44212 #if defined __stub_$ac_func || defined __stub___$ac_func
44213 choke me
44214 #endif
44215
44216 int
44217 main ()
44218 {
44219 return $ac_func ();
44220 ;
44221 return 0;
44222 }
44223 _ACEOF
44224 rm -f conftest.$ac_objext conftest$ac_exeext
44225 if { (ac_try="$ac_link"
44226 case "(($ac_try" in
44227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44228 *) ac_try_echo=$ac_try;;
44229 esac
44230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44231 (eval "$ac_link") 2>conftest.er1
44232 ac_status=$?
44233 grep -v '^ *+' conftest.er1 >conftest.err
44234 rm -f conftest.er1
44235 cat conftest.err >&5
44236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44237 (exit $ac_status); } && {
44238 test -z "$ac_c_werror_flag" ||
44239 test ! -s conftest.err
44240 } && test -s conftest$ac_exeext &&
44241 $as_test_x conftest$ac_exeext; then
44242 eval "$as_ac_var=yes"
44243 else
44244 echo "$as_me: failed program was:" >&5
44245 sed 's/^/| /' conftest.$ac_ext >&5
44246
44247 eval "$as_ac_var=no"
44248 fi
44249
44250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44251 conftest$ac_exeext conftest.$ac_ext
44252 fi
44253 ac_res=`eval echo '${'$as_ac_var'}'`
44254 { echo "$as_me:$LINENO: result: $ac_res" >&5
44255 echo "${ECHO_T}$ac_res" >&6; }
44256 if test `eval echo '${'$as_ac_var'}'` = yes; then
44257 cat >>confdefs.h <<_ACEOF
44258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44259 _ACEOF
44260 break
44261 fi
44262 done
44263
44264
44265 if test "$ac_cv_func_gettimeofday" = "yes"; then
44266 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44267 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
44268 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44269 echo $ECHO_N "(cached) $ECHO_C" >&6
44270 else
44271
44272 cat >conftest.$ac_ext <<_ACEOF
44273 /* confdefs.h. */
44274 _ACEOF
44275 cat confdefs.h >>conftest.$ac_ext
44276 cat >>conftest.$ac_ext <<_ACEOF
44277 /* end confdefs.h. */
44278
44279 #include <sys/time.h>
44280 #include <unistd.h>
44281
44282 int
44283 main ()
44284 {
44285
44286 struct timeval tv;
44287 gettimeofday(&tv, NULL);
44288
44289 ;
44290 return 0;
44291 }
44292 _ACEOF
44293 rm -f conftest.$ac_objext
44294 if { (ac_try="$ac_compile"
44295 case "(($ac_try" in
44296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44297 *) ac_try_echo=$ac_try;;
44298 esac
44299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44300 (eval "$ac_compile") 2>conftest.er1
44301 ac_status=$?
44302 grep -v '^ *+' conftest.er1 >conftest.err
44303 rm -f conftest.er1
44304 cat conftest.err >&5
44305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44306 (exit $ac_status); } && {
44307 test -z "$ac_c_werror_flag" ||
44308 test ! -s conftest.err
44309 } && test -s conftest.$ac_objext; then
44310 wx_cv_func_gettimeofday_has_2_args=yes
44311 else
44312 echo "$as_me: failed program was:" >&5
44313 sed 's/^/| /' conftest.$ac_ext >&5
44314
44315 cat >conftest.$ac_ext <<_ACEOF
44316 /* confdefs.h. */
44317 _ACEOF
44318 cat confdefs.h >>conftest.$ac_ext
44319 cat >>conftest.$ac_ext <<_ACEOF
44320 /* end confdefs.h. */
44321
44322 #include <sys/time.h>
44323 #include <unistd.h>
44324
44325 int
44326 main ()
44327 {
44328
44329 struct timeval tv;
44330 gettimeofday(&tv);
44331
44332 ;
44333 return 0;
44334 }
44335 _ACEOF
44336 rm -f conftest.$ac_objext
44337 if { (ac_try="$ac_compile"
44338 case "(($ac_try" in
44339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44340 *) ac_try_echo=$ac_try;;
44341 esac
44342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44343 (eval "$ac_compile") 2>conftest.er1
44344 ac_status=$?
44345 grep -v '^ *+' conftest.er1 >conftest.err
44346 rm -f conftest.er1
44347 cat conftest.err >&5
44348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44349 (exit $ac_status); } && {
44350 test -z "$ac_c_werror_flag" ||
44351 test ! -s conftest.err
44352 } && test -s conftest.$ac_objext; then
44353 wx_cv_func_gettimeofday_has_2_args=no
44354 else
44355 echo "$as_me: failed program was:" >&5
44356 sed 's/^/| /' conftest.$ac_ext >&5
44357
44358
44359 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44360 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44361 wx_cv_func_gettimeofday_has_2_args=unknown
44362
44363
44364 fi
44365
44366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44367
44368 fi
44369
44370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44371
44372 fi
44373 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44374 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44375
44376 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44377 cat >>confdefs.h <<\_ACEOF
44378 #define WX_GETTIMEOFDAY_NO_TZ 1
44379 _ACEOF
44380
44381 fi
44382 fi
44383
44384 if test "$wxUSE_DATETIME" = "yes"; then
44385 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44386 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44387 if test "${wx_cv_var_timezone+set}" = set; then
44388 echo $ECHO_N "(cached) $ECHO_C" >&6
44389 else
44390
44391 ac_ext=cpp
44392 ac_cpp='$CXXCPP $CPPFLAGS'
44393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44396
44397 cat >conftest.$ac_ext <<_ACEOF
44398 /* confdefs.h. */
44399 _ACEOF
44400 cat confdefs.h >>conftest.$ac_ext
44401 cat >>conftest.$ac_ext <<_ACEOF
44402 /* end confdefs.h. */
44403
44404 #include <time.h>
44405
44406 int
44407 main ()
44408 {
44409
44410 int tz;
44411 tz = timezone;
44412
44413 ;
44414 return 0;
44415 }
44416 _ACEOF
44417 rm -f conftest.$ac_objext
44418 if { (ac_try="$ac_compile"
44419 case "(($ac_try" in
44420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44421 *) ac_try_echo=$ac_try;;
44422 esac
44423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44424 (eval "$ac_compile") 2>conftest.er1
44425 ac_status=$?
44426 grep -v '^ *+' conftest.er1 >conftest.err
44427 rm -f conftest.er1
44428 cat conftest.err >&5
44429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44430 (exit $ac_status); } && {
44431 test -z "$ac_cxx_werror_flag" ||
44432 test ! -s conftest.err
44433 } && test -s conftest.$ac_objext; then
44434
44435 wx_cv_var_timezone=timezone
44436
44437 else
44438 echo "$as_me: failed program was:" >&5
44439 sed 's/^/| /' conftest.$ac_ext >&5
44440
44441
44442 cat >conftest.$ac_ext <<_ACEOF
44443 /* confdefs.h. */
44444 _ACEOF
44445 cat confdefs.h >>conftest.$ac_ext
44446 cat >>conftest.$ac_ext <<_ACEOF
44447 /* end confdefs.h. */
44448
44449 #include <time.h>
44450
44451 int
44452 main ()
44453 {
44454
44455 int tz;
44456 tz = _timezone;
44457
44458 ;
44459 return 0;
44460 }
44461 _ACEOF
44462 rm -f conftest.$ac_objext
44463 if { (ac_try="$ac_compile"
44464 case "(($ac_try" in
44465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44466 *) ac_try_echo=$ac_try;;
44467 esac
44468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44469 (eval "$ac_compile") 2>conftest.er1
44470 ac_status=$?
44471 grep -v '^ *+' conftest.er1 >conftest.err
44472 rm -f conftest.er1
44473 cat conftest.err >&5
44474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44475 (exit $ac_status); } && {
44476 test -z "$ac_cxx_werror_flag" ||
44477 test ! -s conftest.err
44478 } && test -s conftest.$ac_objext; then
44479
44480 wx_cv_var_timezone=_timezone
44481
44482 else
44483 echo "$as_me: failed program was:" >&5
44484 sed 's/^/| /' conftest.$ac_ext >&5
44485
44486
44487 cat >conftest.$ac_ext <<_ACEOF
44488 /* confdefs.h. */
44489 _ACEOF
44490 cat confdefs.h >>conftest.$ac_ext
44491 cat >>conftest.$ac_ext <<_ACEOF
44492 /* end confdefs.h. */
44493
44494 #include <time.h>
44495
44496 int
44497 main ()
44498 {
44499
44500 int tz;
44501 tz = __timezone;
44502
44503 ;
44504 return 0;
44505 }
44506 _ACEOF
44507 rm -f conftest.$ac_objext
44508 if { (ac_try="$ac_compile"
44509 case "(($ac_try" in
44510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44511 *) ac_try_echo=$ac_try;;
44512 esac
44513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44514 (eval "$ac_compile") 2>conftest.er1
44515 ac_status=$?
44516 grep -v '^ *+' conftest.er1 >conftest.err
44517 rm -f conftest.er1
44518 cat conftest.err >&5
44519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44520 (exit $ac_status); } && {
44521 test -z "$ac_cxx_werror_flag" ||
44522 test ! -s conftest.err
44523 } && test -s conftest.$ac_objext; then
44524
44525 wx_cv_var_timezone=__timezone
44526
44527 else
44528 echo "$as_me: failed program was:" >&5
44529 sed 's/^/| /' conftest.$ac_ext >&5
44530
44531
44532 if test "$USE_DOS" = 0 ; then
44533 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44534 echo "$as_me: WARNING: no timezone variable" >&2;}
44535 fi
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
44547
44548 fi
44549
44550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44551 ac_ext=c
44552 ac_cpp='$CPP $CPPFLAGS'
44553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44556
44557
44558
44559 fi
44560 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44561 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44562
44563 if test "x$wx_cv_var_timezone" != x ; then
44564 cat >>confdefs.h <<_ACEOF
44565 #define WX_TIMEZONE $wx_cv_var_timezone
44566 _ACEOF
44567
44568 fi
44569
44570
44571 for ac_func in localtime
44572 do
44573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44574 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44576 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44577 echo $ECHO_N "(cached) $ECHO_C" >&6
44578 else
44579 cat >conftest.$ac_ext <<_ACEOF
44580 /* confdefs.h. */
44581 _ACEOF
44582 cat confdefs.h >>conftest.$ac_ext
44583 cat >>conftest.$ac_ext <<_ACEOF
44584 /* end confdefs.h. */
44585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44587 #define $ac_func innocuous_$ac_func
44588
44589 /* System header to define __stub macros and hopefully few prototypes,
44590 which can conflict with char $ac_func (); below.
44591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44592 <limits.h> exists even on freestanding compilers. */
44593
44594 #ifdef __STDC__
44595 # include <limits.h>
44596 #else
44597 # include <assert.h>
44598 #endif
44599
44600 #undef $ac_func
44601
44602 /* Override any GCC internal prototype to avoid an error.
44603 Use char because int might match the return type of a GCC
44604 builtin and then its argument prototype would still apply. */
44605 #ifdef __cplusplus
44606 extern "C"
44607 #endif
44608 char $ac_func ();
44609 /* The GNU C library defines this for functions which it implements
44610 to always fail with ENOSYS. Some functions are actually named
44611 something starting with __ and the normal name is an alias. */
44612 #if defined __stub_$ac_func || defined __stub___$ac_func
44613 choke me
44614 #endif
44615
44616 int
44617 main ()
44618 {
44619 return $ac_func ();
44620 ;
44621 return 0;
44622 }
44623 _ACEOF
44624 rm -f conftest.$ac_objext conftest$ac_exeext
44625 if { (ac_try="$ac_link"
44626 case "(($ac_try" in
44627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44628 *) ac_try_echo=$ac_try;;
44629 esac
44630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44631 (eval "$ac_link") 2>conftest.er1
44632 ac_status=$?
44633 grep -v '^ *+' conftest.er1 >conftest.err
44634 rm -f conftest.er1
44635 cat conftest.err >&5
44636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44637 (exit $ac_status); } && {
44638 test -z "$ac_c_werror_flag" ||
44639 test ! -s conftest.err
44640 } && test -s conftest$ac_exeext &&
44641 $as_test_x conftest$ac_exeext; then
44642 eval "$as_ac_var=yes"
44643 else
44644 echo "$as_me: failed program was:" >&5
44645 sed 's/^/| /' conftest.$ac_ext >&5
44646
44647 eval "$as_ac_var=no"
44648 fi
44649
44650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44651 conftest$ac_exeext conftest.$ac_ext
44652 fi
44653 ac_res=`eval echo '${'$as_ac_var'}'`
44654 { echo "$as_me:$LINENO: result: $ac_res" >&5
44655 echo "${ECHO_T}$ac_res" >&6; }
44656 if test `eval echo '${'$as_ac_var'}'` = yes; then
44657 cat >>confdefs.h <<_ACEOF
44658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44659 _ACEOF
44660
44661 fi
44662 done
44663
44664
44665 if test "$ac_cv_func_localtime" = "yes"; then
44666 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44667 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44668 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44669 echo $ECHO_N "(cached) $ECHO_C" >&6
44670 else
44671
44672 cat >conftest.$ac_ext <<_ACEOF
44673 /* confdefs.h. */
44674 _ACEOF
44675 cat confdefs.h >>conftest.$ac_ext
44676 cat >>conftest.$ac_ext <<_ACEOF
44677 /* end confdefs.h. */
44678
44679 #include <time.h>
44680
44681 int
44682 main ()
44683 {
44684
44685 struct tm tm;
44686 tm.tm_gmtoff++;
44687
44688 ;
44689 return 0;
44690 }
44691 _ACEOF
44692 rm -f conftest.$ac_objext
44693 if { (ac_try="$ac_compile"
44694 case "(($ac_try" in
44695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44696 *) ac_try_echo=$ac_try;;
44697 esac
44698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44699 (eval "$ac_compile") 2>conftest.er1
44700 ac_status=$?
44701 grep -v '^ *+' conftest.er1 >conftest.err
44702 rm -f conftest.er1
44703 cat conftest.err >&5
44704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44705 (exit $ac_status); } && {
44706 test -z "$ac_c_werror_flag" ||
44707 test ! -s conftest.err
44708 } && test -s conftest.$ac_objext; then
44709
44710 wx_cv_struct_tm_has_gmtoff=yes
44711
44712 else
44713 echo "$as_me: failed program was:" >&5
44714 sed 's/^/| /' conftest.$ac_ext >&5
44715
44716 wx_cv_struct_tm_has_gmtoff=no
44717
44718 fi
44719
44720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44721
44722 fi
44723 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44724 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44725 fi
44726
44727 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44728 cat >>confdefs.h <<\_ACEOF
44729 #define WX_GMTOFF_IN_TM 1
44730 _ACEOF
44731
44732 fi
44733
44734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44735 fi
44736
44737
44738 if test "$wxUSE_SOCKETS" = "yes"; then
44739 if test "$wxUSE_MGL" = 1; then
44740 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44741 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44742 wxUSE_SOCKETS="no"
44743 fi
44744 fi
44745
44746 if test "$wxUSE_SOCKETS" = "yes"; then
44747 if test "$TOOLKIT" != "MSW"; then
44748 { echo "$as_me:$LINENO: checking for socket" >&5
44749 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44750 if test "${ac_cv_func_socket+set}" = set; then
44751 echo $ECHO_N "(cached) $ECHO_C" >&6
44752 else
44753 cat >conftest.$ac_ext <<_ACEOF
44754 /* confdefs.h. */
44755 _ACEOF
44756 cat confdefs.h >>conftest.$ac_ext
44757 cat >>conftest.$ac_ext <<_ACEOF
44758 /* end confdefs.h. */
44759 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44761 #define socket innocuous_socket
44762
44763 /* System header to define __stub macros and hopefully few prototypes,
44764 which can conflict with char socket (); below.
44765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44766 <limits.h> exists even on freestanding compilers. */
44767
44768 #ifdef __STDC__
44769 # include <limits.h>
44770 #else
44771 # include <assert.h>
44772 #endif
44773
44774 #undef socket
44775
44776 /* Override any GCC internal prototype to avoid an error.
44777 Use char because int might match the return type of a GCC
44778 builtin and then its argument prototype would still apply. */
44779 #ifdef __cplusplus
44780 extern "C"
44781 #endif
44782 char socket ();
44783 /* The GNU C library defines this for functions which it implements
44784 to always fail with ENOSYS. Some functions are actually named
44785 something starting with __ and the normal name is an alias. */
44786 #if defined __stub_socket || defined __stub___socket
44787 choke me
44788 #endif
44789
44790 int
44791 main ()
44792 {
44793 return socket ();
44794 ;
44795 return 0;
44796 }
44797 _ACEOF
44798 rm -f conftest.$ac_objext conftest$ac_exeext
44799 if { (ac_try="$ac_link"
44800 case "(($ac_try" in
44801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44802 *) ac_try_echo=$ac_try;;
44803 esac
44804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44805 (eval "$ac_link") 2>conftest.er1
44806 ac_status=$?
44807 grep -v '^ *+' conftest.er1 >conftest.err
44808 rm -f conftest.er1
44809 cat conftest.err >&5
44810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44811 (exit $ac_status); } && {
44812 test -z "$ac_c_werror_flag" ||
44813 test ! -s conftest.err
44814 } && test -s conftest$ac_exeext &&
44815 $as_test_x conftest$ac_exeext; then
44816 ac_cv_func_socket=yes
44817 else
44818 echo "$as_me: failed program was:" >&5
44819 sed 's/^/| /' conftest.$ac_ext >&5
44820
44821 ac_cv_func_socket=no
44822 fi
44823
44824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44825 conftest$ac_exeext conftest.$ac_ext
44826 fi
44827 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44828 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44829 if test $ac_cv_func_socket = yes; then
44830 :
44831 else
44832
44833 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44834 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44835 if test "${ac_cv_lib_socket_socket+set}" = set; then
44836 echo $ECHO_N "(cached) $ECHO_C" >&6
44837 else
44838 ac_check_lib_save_LIBS=$LIBS
44839 LIBS="-lsocket $LIBS"
44840 cat >conftest.$ac_ext <<_ACEOF
44841 /* confdefs.h. */
44842 _ACEOF
44843 cat confdefs.h >>conftest.$ac_ext
44844 cat >>conftest.$ac_ext <<_ACEOF
44845 /* end confdefs.h. */
44846
44847 /* Override any GCC internal prototype to avoid an error.
44848 Use char because int might match the return type of a GCC
44849 builtin and then its argument prototype would still apply. */
44850 #ifdef __cplusplus
44851 extern "C"
44852 #endif
44853 char socket ();
44854 int
44855 main ()
44856 {
44857 return socket ();
44858 ;
44859 return 0;
44860 }
44861 _ACEOF
44862 rm -f conftest.$ac_objext conftest$ac_exeext
44863 if { (ac_try="$ac_link"
44864 case "(($ac_try" in
44865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44866 *) ac_try_echo=$ac_try;;
44867 esac
44868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44869 (eval "$ac_link") 2>conftest.er1
44870 ac_status=$?
44871 grep -v '^ *+' conftest.er1 >conftest.err
44872 rm -f conftest.er1
44873 cat conftest.err >&5
44874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44875 (exit $ac_status); } && {
44876 test -z "$ac_c_werror_flag" ||
44877 test ! -s conftest.err
44878 } && test -s conftest$ac_exeext &&
44879 $as_test_x conftest$ac_exeext; then
44880 ac_cv_lib_socket_socket=yes
44881 else
44882 echo "$as_me: failed program was:" >&5
44883 sed 's/^/| /' conftest.$ac_ext >&5
44884
44885 ac_cv_lib_socket_socket=no
44886 fi
44887
44888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44889 conftest$ac_exeext conftest.$ac_ext
44890 LIBS=$ac_check_lib_save_LIBS
44891 fi
44892 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44893 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44894 if test $ac_cv_lib_socket_socket = yes; then
44895 if test "$INET_LINK" != " -lsocket"; then
44896 INET_LINK="$INET_LINK -lsocket"
44897 fi
44898 else
44899
44900 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44901 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44902 wxUSE_SOCKETS=no
44903
44904
44905 fi
44906
44907
44908
44909 fi
44910
44911 fi
44912 fi
44913
44914 if test "$wxUSE_SOCKETS" = "yes" ; then
44915 if test "$TOOLKIT" != "MSW"; then
44916 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44917 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44918 if test "${wx_cv_type_getsockname3+set}" = set; then
44919 echo $ECHO_N "(cached) $ECHO_C" >&6
44920 else
44921
44922 ac_ext=cpp
44923 ac_cpp='$CXXCPP $CPPFLAGS'
44924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44927
44928 cat >conftest.$ac_ext <<_ACEOF
44929 /* confdefs.h. */
44930 _ACEOF
44931 cat confdefs.h >>conftest.$ac_ext
44932 cat >>conftest.$ac_ext <<_ACEOF
44933 /* end confdefs.h. */
44934
44935 #include <sys/types.h>
44936 #include <sys/socket.h>
44937
44938 int
44939 main ()
44940 {
44941
44942 socklen_t len;
44943 getsockname(0, 0, &len);
44944
44945 ;
44946 return 0;
44947 }
44948 _ACEOF
44949 rm -f conftest.$ac_objext
44950 if { (ac_try="$ac_compile"
44951 case "(($ac_try" in
44952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44953 *) ac_try_echo=$ac_try;;
44954 esac
44955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44956 (eval "$ac_compile") 2>conftest.er1
44957 ac_status=$?
44958 grep -v '^ *+' conftest.er1 >conftest.err
44959 rm -f conftest.er1
44960 cat conftest.err >&5
44961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44962 (exit $ac_status); } && {
44963 test -z "$ac_cxx_werror_flag" ||
44964 test ! -s conftest.err
44965 } && test -s conftest.$ac_objext; then
44966 wx_cv_type_getsockname3=socklen_t
44967 else
44968 echo "$as_me: failed program was:" >&5
44969 sed 's/^/| /' conftest.$ac_ext >&5
44970
44971
44972 CFLAGS_OLD="$CFLAGS"
44973 if test "$GCC" = yes ; then
44974 CFLAGS="-Werror $CFLAGS"
44975 fi
44976
44977 cat >conftest.$ac_ext <<_ACEOF
44978 /* confdefs.h. */
44979 _ACEOF
44980 cat confdefs.h >>conftest.$ac_ext
44981 cat >>conftest.$ac_ext <<_ACEOF
44982 /* end confdefs.h. */
44983
44984 #include <sys/types.h>
44985 #include <sys/socket.h>
44986
44987 int
44988 main ()
44989 {
44990
44991 size_t len;
44992 getsockname(0, 0, &len);
44993
44994 ;
44995 return 0;
44996 }
44997 _ACEOF
44998 rm -f conftest.$ac_objext
44999 if { (ac_try="$ac_compile"
45000 case "(($ac_try" in
45001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45002 *) ac_try_echo=$ac_try;;
45003 esac
45004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45005 (eval "$ac_compile") 2>conftest.er1
45006 ac_status=$?
45007 grep -v '^ *+' conftest.er1 >conftest.err
45008 rm -f conftest.er1
45009 cat conftest.err >&5
45010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45011 (exit $ac_status); } && {
45012 test -z "$ac_cxx_werror_flag" ||
45013 test ! -s conftest.err
45014 } && test -s conftest.$ac_objext; then
45015 wx_cv_type_getsockname3=size_t
45016 else
45017 echo "$as_me: failed program was:" >&5
45018 sed 's/^/| /' conftest.$ac_ext >&5
45019
45020 cat >conftest.$ac_ext <<_ACEOF
45021 /* confdefs.h. */
45022 _ACEOF
45023 cat confdefs.h >>conftest.$ac_ext
45024 cat >>conftest.$ac_ext <<_ACEOF
45025 /* end confdefs.h. */
45026
45027 #include <sys/types.h>
45028 #include <sys/socket.h>
45029
45030 int
45031 main ()
45032 {
45033
45034 int len;
45035 getsockname(0, 0, &len);
45036
45037 ;
45038 return 0;
45039 }
45040 _ACEOF
45041 rm -f conftest.$ac_objext
45042 if { (ac_try="$ac_compile"
45043 case "(($ac_try" in
45044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45045 *) ac_try_echo=$ac_try;;
45046 esac
45047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45048 (eval "$ac_compile") 2>conftest.er1
45049 ac_status=$?
45050 grep -v '^ *+' conftest.er1 >conftest.err
45051 rm -f conftest.er1
45052 cat conftest.err >&5
45053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45054 (exit $ac_status); } && {
45055 test -z "$ac_cxx_werror_flag" ||
45056 test ! -s conftest.err
45057 } && test -s conftest.$ac_objext; then
45058 wx_cv_type_getsockname3=int
45059 else
45060 echo "$as_me: failed program was:" >&5
45061 sed 's/^/| /' conftest.$ac_ext >&5
45062
45063 wx_cv_type_getsockname3=unknown
45064
45065 fi
45066
45067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45068
45069 fi
45070
45071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45072
45073 CFLAGS="$CFLAGS_OLD"
45074
45075
45076 fi
45077
45078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45079 ac_ext=c
45080 ac_cpp='$CPP $CPPFLAGS'
45081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45084
45085
45086 fi
45087 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45088 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45089
45090 if test "$wx_cv_type_getsockname3" = "unknown"; then
45091 wxUSE_SOCKETS=no
45092 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45093 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45094 else
45095 cat >>confdefs.h <<_ACEOF
45096 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45097 _ACEOF
45098
45099 fi
45100 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45101 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45102 if test "${wx_cv_type_getsockopt5+set}" = set; then
45103 echo $ECHO_N "(cached) $ECHO_C" >&6
45104 else
45105
45106 ac_ext=cpp
45107 ac_cpp='$CXXCPP $CPPFLAGS'
45108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45111
45112 cat >conftest.$ac_ext <<_ACEOF
45113 /* confdefs.h. */
45114 _ACEOF
45115 cat confdefs.h >>conftest.$ac_ext
45116 cat >>conftest.$ac_ext <<_ACEOF
45117 /* end confdefs.h. */
45118
45119 #include <sys/types.h>
45120 #include <sys/socket.h>
45121
45122 int
45123 main ()
45124 {
45125
45126 socklen_t len;
45127 getsockopt(0, 0, 0, 0, &len);
45128
45129 ;
45130 return 0;
45131 }
45132 _ACEOF
45133 rm -f conftest.$ac_objext
45134 if { (ac_try="$ac_compile"
45135 case "(($ac_try" in
45136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45137 *) ac_try_echo=$ac_try;;
45138 esac
45139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45140 (eval "$ac_compile") 2>conftest.er1
45141 ac_status=$?
45142 grep -v '^ *+' conftest.er1 >conftest.err
45143 rm -f conftest.er1
45144 cat conftest.err >&5
45145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45146 (exit $ac_status); } && {
45147 test -z "$ac_cxx_werror_flag" ||
45148 test ! -s conftest.err
45149 } && test -s conftest.$ac_objext; then
45150 wx_cv_type_getsockopt5=socklen_t
45151 else
45152 echo "$as_me: failed program was:" >&5
45153 sed 's/^/| /' conftest.$ac_ext >&5
45154
45155
45156 cat >conftest.$ac_ext <<_ACEOF
45157 /* confdefs.h. */
45158 _ACEOF
45159 cat confdefs.h >>conftest.$ac_ext
45160 cat >>conftest.$ac_ext <<_ACEOF
45161 /* end confdefs.h. */
45162
45163 #include <sys/types.h>
45164 #include <sys/socket.h>
45165
45166 int
45167 main ()
45168 {
45169
45170 size_t len;
45171 getsockopt(0, 0, 0, 0, &len);
45172
45173 ;
45174 return 0;
45175 }
45176 _ACEOF
45177 rm -f conftest.$ac_objext
45178 if { (ac_try="$ac_compile"
45179 case "(($ac_try" in
45180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45181 *) ac_try_echo=$ac_try;;
45182 esac
45183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45184 (eval "$ac_compile") 2>conftest.er1
45185 ac_status=$?
45186 grep -v '^ *+' conftest.er1 >conftest.err
45187 rm -f conftest.er1
45188 cat conftest.err >&5
45189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45190 (exit $ac_status); } && {
45191 test -z "$ac_cxx_werror_flag" ||
45192 test ! -s conftest.err
45193 } && test -s conftest.$ac_objext; then
45194 wx_cv_type_getsockopt5=size_t
45195 else
45196 echo "$as_me: failed program was:" >&5
45197 sed 's/^/| /' conftest.$ac_ext >&5
45198
45199 cat >conftest.$ac_ext <<_ACEOF
45200 /* confdefs.h. */
45201 _ACEOF
45202 cat confdefs.h >>conftest.$ac_ext
45203 cat >>conftest.$ac_ext <<_ACEOF
45204 /* end confdefs.h. */
45205
45206 #include <sys/types.h>
45207 #include <sys/socket.h>
45208
45209 int
45210 main ()
45211 {
45212
45213 int len;
45214 getsockopt(0, 0, 0, 0, &len);
45215
45216 ;
45217 return 0;
45218 }
45219 _ACEOF
45220 rm -f conftest.$ac_objext
45221 if { (ac_try="$ac_compile"
45222 case "(($ac_try" in
45223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45224 *) ac_try_echo=$ac_try;;
45225 esac
45226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45227 (eval "$ac_compile") 2>conftest.er1
45228 ac_status=$?
45229 grep -v '^ *+' conftest.er1 >conftest.err
45230 rm -f conftest.er1
45231 cat conftest.err >&5
45232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45233 (exit $ac_status); } && {
45234 test -z "$ac_cxx_werror_flag" ||
45235 test ! -s conftest.err
45236 } && test -s conftest.$ac_objext; then
45237 wx_cv_type_getsockopt5=int
45238 else
45239 echo "$as_me: failed program was:" >&5
45240 sed 's/^/| /' conftest.$ac_ext >&5
45241
45242 wx_cv_type_getsockopt5=unknown
45243
45244 fi
45245
45246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45247
45248 fi
45249
45250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45251
45252
45253 fi
45254
45255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45256 ac_ext=c
45257 ac_cpp='$CPP $CPPFLAGS'
45258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45261
45262
45263 fi
45264 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45265 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45266
45267 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45268 wxUSE_SOCKETS=no
45269 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45270 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45271 else
45272 cat >>confdefs.h <<_ACEOF
45273 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45274 _ACEOF
45275
45276 fi
45277 fi
45278 fi
45279
45280 if test "$wxUSE_SOCKETS" = "yes" ; then
45281 if test "$wxUSE_IPV6" = "yes"; then
45282 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45283 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45284 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45285 echo $ECHO_N "(cached) $ECHO_C" >&6
45286 else
45287
45288 cat >conftest.$ac_ext <<_ACEOF
45289 /* confdefs.h. */
45290 _ACEOF
45291 cat confdefs.h >>conftest.$ac_ext
45292 cat >>conftest.$ac_ext <<_ACEOF
45293 /* end confdefs.h. */
45294
45295 #include <sys/types.h>
45296 #include <sys/socket.h>
45297 #include <netinet/in.h>
45298
45299 int
45300 main ()
45301 {
45302
45303 struct sockaddr_in6 sa6;
45304
45305 ;
45306 return 0;
45307 }
45308 _ACEOF
45309 rm -f conftest.$ac_objext
45310 if { (ac_try="$ac_compile"
45311 case "(($ac_try" in
45312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45313 *) ac_try_echo=$ac_try;;
45314 esac
45315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45316 (eval "$ac_compile") 2>conftest.er1
45317 ac_status=$?
45318 grep -v '^ *+' conftest.er1 >conftest.err
45319 rm -f conftest.er1
45320 cat conftest.err >&5
45321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45322 (exit $ac_status); } && {
45323 test -z "$ac_c_werror_flag" ||
45324 test ! -s conftest.err
45325 } && test -s conftest.$ac_objext; then
45326 wx_cv_type_sockaddr_in6=yes
45327 else
45328 echo "$as_me: failed program was:" >&5
45329 sed 's/^/| /' conftest.$ac_ext >&5
45330
45331 wx_cv_type_sockaddr_in6=no
45332
45333 fi
45334
45335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45336
45337
45338 fi
45339 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45340 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45341
45342 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45343 cat >>confdefs.h <<\_ACEOF
45344 #define wxUSE_IPV6 1
45345 _ACEOF
45346
45347 else
45348 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45349 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45350 fi
45351 fi
45352
45353 cat >>confdefs.h <<\_ACEOF
45354 #define wxUSE_SOCKETS 1
45355 _ACEOF
45356
45357 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45358 fi
45359
45360 if test "$wxUSE_PROTOCOL" = "yes"; then
45361 if test "$wxUSE_SOCKETS" != "yes"; then
45362 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45363 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45364 wxUSE_PROTOCOL=no
45365 fi
45366 fi
45367
45368 if test "$wxUSE_PROTOCOL" = "yes"; then
45369 cat >>confdefs.h <<\_ACEOF
45370 #define wxUSE_PROTOCOL 1
45371 _ACEOF
45372
45373
45374 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45375 cat >>confdefs.h <<\_ACEOF
45376 #define wxUSE_PROTOCOL_HTTP 1
45377 _ACEOF
45378
45379 fi
45380 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45381 cat >>confdefs.h <<\_ACEOF
45382 #define wxUSE_PROTOCOL_FTP 1
45383 _ACEOF
45384
45385 fi
45386 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45387 cat >>confdefs.h <<\_ACEOF
45388 #define wxUSE_PROTOCOL_FILE 1
45389 _ACEOF
45390
45391 fi
45392 else
45393 if test "$wxUSE_FS_INET" = "yes"; then
45394 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45395 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45396 wxUSE_FS_INET="no"
45397 fi
45398 fi
45399
45400 if test "$wxUSE_URL" = "yes"; then
45401 if test "$wxUSE_PROTOCOL" != "yes"; then
45402 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45403 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45404 wxUSE_URL=no
45405 fi
45406 if test "$wxUSE_URL" = "yes"; then
45407 cat >>confdefs.h <<\_ACEOF
45408 #define wxUSE_URL 1
45409 _ACEOF
45410
45411 fi
45412 fi
45413
45414 if test "$wxUSE_VARIANT" = "yes"; then
45415 cat >>confdefs.h <<\_ACEOF
45416 #define wxUSE_VARIANT 1
45417 _ACEOF
45418
45419 fi
45420
45421 if test "$wxUSE_FS_INET" = "yes"; then
45422 cat >>confdefs.h <<\_ACEOF
45423 #define wxUSE_FS_INET 1
45424 _ACEOF
45425
45426 fi
45427
45428
45429 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45430 wxUSE_JOYSTICK=no
45431
45432 if test "$TOOLKIT" = "MSW"; then
45433 wxUSE_JOYSTICK=yes
45434
45435 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45436 if test "$USE_DARWIN" = 1; then
45437 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45438 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45439 ac_ext=cpp
45440 ac_cpp='$CXXCPP $CPPFLAGS'
45441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45444
45445 cat >conftest.$ac_ext <<_ACEOF
45446 /* confdefs.h. */
45447 _ACEOF
45448 cat confdefs.h >>conftest.$ac_ext
45449 cat >>conftest.$ac_ext <<_ACEOF
45450 /* end confdefs.h. */
45451 #include <IOKit/hid/IOHIDLib.h>
45452 int
45453 main ()
45454 {
45455 IOHIDQueueInterface *qi = NULL;
45456 IOHIDCallbackFunction cb = NULL;
45457 qi->setEventCallout(NULL, cb, NULL, NULL);
45458 ;
45459 return 0;
45460 }
45461 _ACEOF
45462 rm -f conftest.$ac_objext
45463 if { (ac_try="$ac_compile"
45464 case "(($ac_try" in
45465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45466 *) ac_try_echo=$ac_try;;
45467 esac
45468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45469 (eval "$ac_compile") 2>conftest.er1
45470 ac_status=$?
45471 grep -v '^ *+' conftest.er1 >conftest.err
45472 rm -f conftest.er1
45473 cat conftest.err >&5
45474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45475 (exit $ac_status); } && {
45476 test -z "$ac_cxx_werror_flag" ||
45477 test ! -s conftest.err
45478 } && test -s conftest.$ac_objext; then
45479 wxUSE_JOYSTICK=yes
45480
45481 else
45482 echo "$as_me: failed program was:" >&5
45483 sed 's/^/| /' conftest.$ac_ext >&5
45484
45485
45486 fi
45487
45488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45489 ac_ext=c
45490 ac_cpp='$CPP $CPPFLAGS'
45491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45494
45495 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45496 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45497 fi
45498
45499 else
45500 if test "$wxUSE_MGL" != 1; then
45501
45502 for ac_header in linux/joystick.h
45503 do
45504 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45505 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45507 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45508 echo $ECHO_N "(cached) $ECHO_C" >&6
45509 else
45510 cat >conftest.$ac_ext <<_ACEOF
45511 /* confdefs.h. */
45512 _ACEOF
45513 cat confdefs.h >>conftest.$ac_ext
45514 cat >>conftest.$ac_ext <<_ACEOF
45515 /* end confdefs.h. */
45516 $ac_includes_default
45517
45518 #include <$ac_header>
45519 _ACEOF
45520 rm -f conftest.$ac_objext
45521 if { (ac_try="$ac_compile"
45522 case "(($ac_try" in
45523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45524 *) ac_try_echo=$ac_try;;
45525 esac
45526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45527 (eval "$ac_compile") 2>conftest.er1
45528 ac_status=$?
45529 grep -v '^ *+' conftest.er1 >conftest.err
45530 rm -f conftest.er1
45531 cat conftest.err >&5
45532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45533 (exit $ac_status); } && {
45534 test -z "$ac_c_werror_flag" ||
45535 test ! -s conftest.err
45536 } && test -s conftest.$ac_objext; then
45537 eval "$as_ac_Header=yes"
45538 else
45539 echo "$as_me: failed program was:" >&5
45540 sed 's/^/| /' conftest.$ac_ext >&5
45541
45542 eval "$as_ac_Header=no"
45543 fi
45544
45545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45546 fi
45547 ac_res=`eval echo '${'$as_ac_Header'}'`
45548 { echo "$as_me:$LINENO: result: $ac_res" >&5
45549 echo "${ECHO_T}$ac_res" >&6; }
45550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45551 cat >>confdefs.h <<_ACEOF
45552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45553 _ACEOF
45554 wxUSE_JOYSTICK=yes
45555 fi
45556
45557 done
45558
45559 fi
45560 fi
45561
45562 if test "$wxUSE_JOYSTICK" = "yes"; then
45563 cat >>confdefs.h <<\_ACEOF
45564 #define wxUSE_JOYSTICK 1
45565 _ACEOF
45566
45567 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45568 else
45569 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45570 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45571 fi
45572 fi
45573
45574
45575
45576 if test "$wxUSE_FONTENUM" = "yes" ; then
45577 cat >>confdefs.h <<\_ACEOF
45578 #define wxUSE_FONTENUM 1
45579 _ACEOF
45580
45581 fi
45582
45583 if test "$wxUSE_FONTMAP" = "yes" ; then
45584 cat >>confdefs.h <<\_ACEOF
45585 #define wxUSE_FONTMAP 1
45586 _ACEOF
45587
45588 fi
45589
45590 if test "$wxUSE_UNICODE" = "yes" ; then
45591 cat >>confdefs.h <<\_ACEOF
45592 #define wxUSE_UNICODE 1
45593 _ACEOF
45594
45595
45596 if test "$USE_WIN32" != 1; then
45597 wxUSE_UNICODE_MSLU=no
45598 fi
45599
45600 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45601 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45602 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45603 if test "${ac_cv_lib_unicows_main+set}" = set; then
45604 echo $ECHO_N "(cached) $ECHO_C" >&6
45605 else
45606 ac_check_lib_save_LIBS=$LIBS
45607 LIBS="-lunicows $LIBS"
45608 cat >conftest.$ac_ext <<_ACEOF
45609 /* confdefs.h. */
45610 _ACEOF
45611 cat confdefs.h >>conftest.$ac_ext
45612 cat >>conftest.$ac_ext <<_ACEOF
45613 /* end confdefs.h. */
45614
45615
45616 int
45617 main ()
45618 {
45619 return main ();
45620 ;
45621 return 0;
45622 }
45623 _ACEOF
45624 rm -f conftest.$ac_objext conftest$ac_exeext
45625 if { (ac_try="$ac_link"
45626 case "(($ac_try" in
45627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45628 *) ac_try_echo=$ac_try;;
45629 esac
45630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45631 (eval "$ac_link") 2>conftest.er1
45632 ac_status=$?
45633 grep -v '^ *+' conftest.er1 >conftest.err
45634 rm -f conftest.er1
45635 cat conftest.err >&5
45636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45637 (exit $ac_status); } && {
45638 test -z "$ac_c_werror_flag" ||
45639 test ! -s conftest.err
45640 } && test -s conftest$ac_exeext &&
45641 $as_test_x conftest$ac_exeext; then
45642 ac_cv_lib_unicows_main=yes
45643 else
45644 echo "$as_me: failed program was:" >&5
45645 sed 's/^/| /' conftest.$ac_ext >&5
45646
45647 ac_cv_lib_unicows_main=no
45648 fi
45649
45650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45651 conftest$ac_exeext conftest.$ac_ext
45652 LIBS=$ac_check_lib_save_LIBS
45653 fi
45654 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45655 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45656 if test $ac_cv_lib_unicows_main = yes; then
45657
45658 cat >>confdefs.h <<\_ACEOF
45659 #define wxUSE_UNICODE_MSLU 1
45660 _ACEOF
45661
45662
45663 else
45664
45665 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45666 Applications will only run on Windows NT/2000/XP!" >&5
45667 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45668 Applications will only run on Windows NT/2000/XP!" >&2;}
45669 wxUSE_UNICODE_MSLU=no
45670
45671 fi
45672
45673 fi
45674 fi
45675
45676 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45677 cat >>confdefs.h <<\_ACEOF
45678 #define wxUSE_UNICODE_UTF8 1
45679 _ACEOF
45680
45681
45682 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45683 cat >>confdefs.h <<\_ACEOF
45684 #define wxUSE_UTF8_LOCALE_ONLY 1
45685 _ACEOF
45686
45687 fi
45688 fi
45689
45690
45691 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45692 cat >>confdefs.h <<\_ACEOF
45693 #define wxUSE_CONSTRAINTS 1
45694 _ACEOF
45695
45696 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45697 fi
45698
45699 if test "$wxUSE_MDI" = "yes"; then
45700 cat >>confdefs.h <<\_ACEOF
45701 #define wxUSE_MDI 1
45702 _ACEOF
45703
45704
45705 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45706 cat >>confdefs.h <<\_ACEOF
45707 #define wxUSE_MDI_ARCHITECTURE 1
45708 _ACEOF
45709
45710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45711 fi
45712 fi
45713
45714 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45715 cat >>confdefs.h <<\_ACEOF
45716 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45717 _ACEOF
45718
45719 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45720 fi
45721
45722 if test "$wxUSE_HELP" = "yes"; then
45723 cat >>confdefs.h <<\_ACEOF
45724 #define wxUSE_HELP 1
45725 _ACEOF
45726
45727 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45728
45729 if test "$wxUSE_MSW" = 1; then
45730 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45731 cat >>confdefs.h <<\_ACEOF
45732 #define wxUSE_MS_HTML_HELP 1
45733 _ACEOF
45734
45735 fi
45736 fi
45737
45738 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45739 if test "$wxUSE_HTML" = "yes"; then
45740 cat >>confdefs.h <<\_ACEOF
45741 #define wxUSE_WXHTML_HELP 1
45742 _ACEOF
45743
45744 else
45745 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45746 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45747 wxUSE_WXHTML_HELP=no
45748 fi
45749 fi
45750 fi
45751
45752 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45753 cat >>confdefs.h <<\_ACEOF
45754 #define wxUSE_PRINTING_ARCHITECTURE 1
45755 _ACEOF
45756
45757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45758 fi
45759
45760 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45761 cat >>confdefs.h <<\_ACEOF
45762 #define wxUSE_POSTSCRIPT 1
45763 _ACEOF
45764
45765 fi
45766
45767 cat >>confdefs.h <<\_ACEOF
45768 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45769 _ACEOF
45770
45771
45772 if test "$wxUSE_SVG" = "yes"; then
45773 cat >>confdefs.h <<\_ACEOF
45774 #define wxUSE_SVG 1
45775 _ACEOF
45776
45777 fi
45778
45779
45780 if test "$wxUSE_METAFILE" = "yes"; then
45781 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45782 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45783 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45784 wxUSE_METAFILE=no
45785 fi
45786 fi
45787
45788
45789 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45790 -o "$wxUSE_CLIPBOARD" = "yes" \
45791 -o "$wxUSE_OLE" = "yes" \
45792 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45793 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45794 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45795 if test "${ac_cv_header_ole2_h+set}" = set; then
45796 echo $ECHO_N "(cached) $ECHO_C" >&6
45797 else
45798 cat >conftest.$ac_ext <<_ACEOF
45799 /* confdefs.h. */
45800 _ACEOF
45801 cat confdefs.h >>conftest.$ac_ext
45802 cat >>conftest.$ac_ext <<_ACEOF
45803 /* end confdefs.h. */
45804
45805
45806 #include <ole2.h>
45807 _ACEOF
45808 rm -f conftest.$ac_objext
45809 if { (ac_try="$ac_compile"
45810 case "(($ac_try" in
45811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45812 *) ac_try_echo=$ac_try;;
45813 esac
45814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45815 (eval "$ac_compile") 2>conftest.er1
45816 ac_status=$?
45817 grep -v '^ *+' conftest.er1 >conftest.err
45818 rm -f conftest.er1
45819 cat conftest.err >&5
45820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45821 (exit $ac_status); } && {
45822 test -z "$ac_c_werror_flag" ||
45823 test ! -s conftest.err
45824 } && test -s conftest.$ac_objext; then
45825 ac_cv_header_ole2_h=yes
45826 else
45827 echo "$as_me: failed program was:" >&5
45828 sed 's/^/| /' conftest.$ac_ext >&5
45829
45830 ac_cv_header_ole2_h=no
45831 fi
45832
45833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45834 fi
45835 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45836 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45837
45838
45839
45840 if test "$ac_cv_header_ole2_h" = "yes" ; then
45841 if test "$GCC" = yes ; then
45842 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45843 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45844 cat >conftest.$ac_ext <<_ACEOF
45845 /* confdefs.h. */
45846 _ACEOF
45847 cat confdefs.h >>conftest.$ac_ext
45848 cat >>conftest.$ac_ext <<_ACEOF
45849 /* end confdefs.h. */
45850 #include <windows.h>
45851 #include <ole2.h>
45852 int
45853 main ()
45854 {
45855
45856 ;
45857 return 0;
45858 }
45859 _ACEOF
45860 rm -f conftest.$ac_objext
45861 if { (ac_try="$ac_compile"
45862 case "(($ac_try" in
45863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45864 *) ac_try_echo=$ac_try;;
45865 esac
45866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45867 (eval "$ac_compile") 2>conftest.er1
45868 ac_status=$?
45869 grep -v '^ *+' conftest.er1 >conftest.err
45870 rm -f conftest.er1
45871 cat conftest.err >&5
45872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45873 (exit $ac_status); } && {
45874 test -z "$ac_c_werror_flag" ||
45875 test ! -s conftest.err
45876 } && test -s conftest.$ac_objext; then
45877 { echo "$as_me:$LINENO: result: no" >&5
45878 echo "${ECHO_T}no" >&6; }
45879 else
45880 echo "$as_me: failed program was:" >&5
45881 sed 's/^/| /' conftest.$ac_ext >&5
45882
45883 { echo "$as_me:$LINENO: result: yes" >&5
45884 echo "${ECHO_T}yes" >&6; }
45885 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45886 fi
45887
45888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45889 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45890 if test "$wxUSE_OLE" = "yes" ; then
45891 cat >>confdefs.h <<\_ACEOF
45892 #define wxUSE_OLE 1
45893 _ACEOF
45894
45895 cat >>confdefs.h <<\_ACEOF
45896 #define wxUSE_OLE_AUTOMATION 1
45897 _ACEOF
45898
45899 cat >>confdefs.h <<\_ACEOF
45900 #define wxUSE_ACTIVEX 1
45901 _ACEOF
45902
45903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45904 fi
45905 fi
45906
45907 if test "$wxUSE_DATAOBJ" = "yes" ; then
45908 cat >>confdefs.h <<\_ACEOF
45909 #define wxUSE_DATAOBJ 1
45910 _ACEOF
45911
45912 fi
45913 else
45914 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45915 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45916
45917 wxUSE_CLIPBOARD=no
45918 wxUSE_DRAG_AND_DROP=no
45919 wxUSE_DATAOBJ=no
45920 wxUSE_OLE=no
45921 fi
45922
45923 if test "$wxUSE_METAFILE" = "yes"; then
45924 cat >>confdefs.h <<\_ACEOF
45925 #define wxUSE_METAFILE 1
45926 _ACEOF
45927
45928
45929 cat >>confdefs.h <<\_ACEOF
45930 #define wxUSE_ENH_METAFILE 1
45931 _ACEOF
45932
45933 fi
45934 fi
45935
45936 if test "$wxUSE_IPC" = "yes"; then
45937 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45938 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45939 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45940 wxUSE_IPC=no
45941 fi
45942
45943 if test "$wxUSE_IPC" = "yes"; then
45944 cat >>confdefs.h <<\_ACEOF
45945 #define wxUSE_IPC 1
45946 _ACEOF
45947
45948 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45949 fi
45950 fi
45951
45952 if test "$wxUSE_DATAOBJ" = "yes"; then
45953 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45954 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45955 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45956 wxUSE_DATAOBJ=no
45957 else
45958 cat >>confdefs.h <<\_ACEOF
45959 #define wxUSE_DATAOBJ 1
45960 _ACEOF
45961
45962 fi
45963 else
45964 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45965 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45966 wxUSE_CLIPBOARD=no
45967 wxUSE_DRAG_AND_DROP=no
45968 fi
45969
45970 if test "$wxUSE_CLIPBOARD" = "yes"; then
45971 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45972 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45973 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45974 wxUSE_CLIPBOARD=no
45975 fi
45976
45977 if test "$wxUSE_CLIPBOARD" = "yes"; then
45978 cat >>confdefs.h <<\_ACEOF
45979 #define wxUSE_CLIPBOARD 1
45980 _ACEOF
45981
45982 fi
45983 fi
45984
45985 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45986 if test "$wxUSE_GTK" = 1; then
45987 if test "$WXGTK12" != 1; then
45988 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45989 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45990 wxUSE_DRAG_AND_DROP=no
45991 fi
45992 fi
45993
45994 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45995 "$wxUSE_DFB" = 1; then
45996 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45997 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45998 wxUSE_DRAG_AND_DROP=no
45999 fi
46000
46001 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46002 cat >>confdefs.h <<\_ACEOF
46003 #define wxUSE_DRAG_AND_DROP 1
46004 _ACEOF
46005
46006 fi
46007
46008 fi
46009
46010 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46012 fi
46013
46014 if test "$wxUSE_CLIPBOARD" = "yes"; then
46015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
46016 fi
46017
46018 if test "$wxUSE_SPLINES" = "yes" ; then
46019 cat >>confdefs.h <<\_ACEOF
46020 #define wxUSE_SPLINES 1
46021 _ACEOF
46022
46023 fi
46024
46025 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46026 cat >>confdefs.h <<\_ACEOF
46027 #define wxUSE_MOUSEWHEEL 1
46028 _ACEOF
46029
46030 fi
46031
46032
46033 USES_CONTROLS=0
46034 if test "$wxUSE_CONTROLS" = "yes"; then
46035 USES_CONTROLS=1
46036 fi
46037
46038 if test "$wxUSE_ACCEL" = "yes"; then
46039 cat >>confdefs.h <<\_ACEOF
46040 #define wxUSE_ACCEL 1
46041 _ACEOF
46042
46043 USES_CONTROLS=1
46044 fi
46045
46046 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46047 cat >>confdefs.h <<\_ACEOF
46048 #define wxUSE_ANIMATIONCTRL 1
46049 _ACEOF
46050
46051 USES_CONTROLS=1
46052 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46053 fi
46054
46055 if test "$wxUSE_BUTTON" = "yes"; then
46056 cat >>confdefs.h <<\_ACEOF
46057 #define wxUSE_BUTTON 1
46058 _ACEOF
46059
46060 USES_CONTROLS=1
46061 fi
46062
46063 if test "$wxUSE_BMPBUTTON" = "yes"; then
46064 cat >>confdefs.h <<\_ACEOF
46065 #define wxUSE_BMPBUTTON 1
46066 _ACEOF
46067
46068 USES_CONTROLS=1
46069 fi
46070
46071 if test "$wxUSE_CALCTRL" = "yes"; then
46072 cat >>confdefs.h <<\_ACEOF
46073 #define wxUSE_CALENDARCTRL 1
46074 _ACEOF
46075
46076 USES_CONTROLS=1
46077 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46078 fi
46079
46080 if test "$wxUSE_CARET" = "yes"; then
46081 cat >>confdefs.h <<\_ACEOF
46082 #define wxUSE_CARET 1
46083 _ACEOF
46084
46085 USES_CONTROLS=1
46086 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46087 fi
46088
46089 if test "$wxUSE_COLLPANE" = "yes"; then
46090 cat >>confdefs.h <<\_ACEOF
46091 #define wxUSE_COLLPANE 1
46092 _ACEOF
46093
46094 USES_CONTROLS=1
46095 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46096 fi
46097
46098 if test "$wxUSE_COMBOBOX" = "yes"; then
46099 cat >>confdefs.h <<\_ACEOF
46100 #define wxUSE_COMBOBOX 1
46101 _ACEOF
46102
46103 USES_CONTROLS=1
46104 fi
46105
46106 if test "$wxUSE_COMBOCTRL" = "yes"; then
46107 cat >>confdefs.h <<\_ACEOF
46108 #define wxUSE_COMBOCTRL 1
46109 _ACEOF
46110
46111 USES_CONTROLS=1
46112 fi
46113
46114 if test "$wxUSE_CHOICE" = "yes"; then
46115 cat >>confdefs.h <<\_ACEOF
46116 #define wxUSE_CHOICE 1
46117 _ACEOF
46118
46119 USES_CONTROLS=1
46120 fi
46121
46122 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46123 cat >>confdefs.h <<\_ACEOF
46124 #define wxUSE_CHOICEBOOK 1
46125 _ACEOF
46126
46127 USES_CONTROLS=1
46128 fi
46129
46130 if test "$wxUSE_CHECKBOX" = "yes"; then
46131 cat >>confdefs.h <<\_ACEOF
46132 #define wxUSE_CHECKBOX 1
46133 _ACEOF
46134
46135 USES_CONTROLS=1
46136 fi
46137
46138 if test "$wxUSE_CHECKLST" = "yes"; then
46139 cat >>confdefs.h <<\_ACEOF
46140 #define wxUSE_CHECKLISTBOX 1
46141 _ACEOF
46142
46143 USES_CONTROLS=1
46144 fi
46145
46146 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46147 cat >>confdefs.h <<\_ACEOF
46148 #define wxUSE_COLOURPICKERCTRL 1
46149 _ACEOF
46150
46151 USES_CONTROLS=1
46152 fi
46153
46154 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46155 cat >>confdefs.h <<\_ACEOF
46156 #define wxUSE_DATEPICKCTRL 1
46157 _ACEOF
46158
46159 USES_CONTROLS=1
46160 fi
46161
46162 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46163 cat >>confdefs.h <<\_ACEOF
46164 #define wxUSE_DIRPICKERCTRL 1
46165 _ACEOF
46166
46167 USES_CONTROLS=1
46168 fi
46169
46170 if test "$wxUSE_FILECTRL" = "yes"; then
46171 cat >>confdefs.h <<\_ACEOF
46172 #define wxUSE_FILECTRL 1
46173 _ACEOF
46174
46175 USES_CONTROLS=1
46176 fi
46177
46178 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46179 cat >>confdefs.h <<\_ACEOF
46180 #define wxUSE_FILEPICKERCTRL 1
46181 _ACEOF
46182
46183 USES_CONTROLS=1
46184 fi
46185
46186 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46187 cat >>confdefs.h <<\_ACEOF
46188 #define wxUSE_FONTPICKERCTRL 1
46189 _ACEOF
46190
46191 USES_CONTROLS=1
46192 fi
46193
46194 if test "$wxUSE_DISPLAY" = "yes"; then
46195 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46196 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46197 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46198 wxUSE_DISPLAY=no
46199 else
46200 cat >>confdefs.h <<\_ACEOF
46201 #define wxUSE_DISPLAY 1
46202 _ACEOF
46203
46204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
46205 fi
46206 fi
46207
46208 if test "$wxUSE_DETECT_SM" = "yes"; then
46209 cat >>confdefs.h <<\_ACEOF
46210 #define wxUSE_DETECT_SM 1
46211 _ACEOF
46212
46213 fi
46214
46215 if test "$wxUSE_GAUGE" = "yes"; then
46216 cat >>confdefs.h <<\_ACEOF
46217 #define wxUSE_GAUGE 1
46218 _ACEOF
46219
46220 USES_CONTROLS=1
46221 fi
46222
46223 if test "$wxUSE_GRID" = "yes"; then
46224 cat >>confdefs.h <<\_ACEOF
46225 #define wxUSE_GRID 1
46226 _ACEOF
46227
46228 USES_CONTROLS=1
46229 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46230 fi
46231
46232 if test "$wxUSE_HEADERCTRL" = "yes"; then
46233 cat >>confdefs.h <<\_ACEOF
46234 #define wxUSE_HEADERCTRL 1
46235 _ACEOF
46236
46237 USES_CONTROLS=1
46238 fi
46239
46240 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46241 cat >>confdefs.h <<\_ACEOF
46242 #define wxUSE_HYPERLINKCTRL 1
46243 _ACEOF
46244
46245 USES_CONTROLS=1
46246 fi
46247
46248 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46249 cat >>confdefs.h <<\_ACEOF
46250 #define wxUSE_BITMAPCOMBOBOX 1
46251 _ACEOF
46252
46253 USES_CONTROLS=1
46254 fi
46255
46256 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46257 cat >>confdefs.h <<\_ACEOF
46258 #define wxUSE_DATAVIEWCTRL 1
46259 _ACEOF
46260
46261 USES_CONTROLS=1
46262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46263 fi
46264
46265 if test "$wxUSE_IMAGLIST" = "yes"; then
46266 cat >>confdefs.h <<\_ACEOF
46267 #define wxUSE_IMAGLIST 1
46268 _ACEOF
46269
46270 fi
46271
46272 if test "$wxUSE_INFOBAR" = "yes"; then
46273 cat >>confdefs.h <<\_ACEOF
46274 #define wxUSE_INFOBAR 1
46275 _ACEOF
46276
46277 fi
46278
46279 if test "$wxUSE_LISTBOOK" = "yes"; then
46280 cat >>confdefs.h <<\_ACEOF
46281 #define wxUSE_LISTBOOK 1
46282 _ACEOF
46283
46284 USES_CONTROLS=1
46285 fi
46286
46287 if test "$wxUSE_LISTBOX" = "yes"; then
46288 cat >>confdefs.h <<\_ACEOF
46289 #define wxUSE_LISTBOX 1
46290 _ACEOF
46291
46292 USES_CONTROLS=1
46293 fi
46294
46295 if test "$wxUSE_LISTCTRL" = "yes"; then
46296 if test "$wxUSE_IMAGLIST" = "yes"; then
46297 cat >>confdefs.h <<\_ACEOF
46298 #define wxUSE_LISTCTRL 1
46299 _ACEOF
46300
46301 USES_CONTROLS=1
46302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46303 else
46304 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46305 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46306 fi
46307 fi
46308
46309 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46310 cat >>confdefs.h <<\_ACEOF
46311 #define wxUSE_EDITABLELISTBOX 1
46312 _ACEOF
46313
46314 USES_CONTROLS=1
46315 fi
46316
46317 if test "$wxUSE_NOTEBOOK" = "yes"; then
46318 cat >>confdefs.h <<\_ACEOF
46319 #define wxUSE_NOTEBOOK 1
46320 _ACEOF
46321
46322 USES_CONTROLS=1
46323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46324 fi
46325
46326 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46327 cat >>confdefs.h <<\_ACEOF
46328 #define wxUSE_NOTIFICATION_MESSAGE 1
46329 _ACEOF
46330
46331 fi
46332
46333 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46334 cat >>confdefs.h <<\_ACEOF
46335 #define wxUSE_ODCOMBOBOX 1
46336 _ACEOF
46337
46338 USES_CONTROLS=1
46339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46340 fi
46341
46342 if test "$wxUSE_RADIOBOX" = "yes"; then
46343 cat >>confdefs.h <<\_ACEOF
46344 #define wxUSE_RADIOBOX 1
46345 _ACEOF
46346
46347 USES_CONTROLS=1
46348 fi
46349
46350 if test "$wxUSE_RADIOBTN" = "yes"; then
46351 cat >>confdefs.h <<\_ACEOF
46352 #define wxUSE_RADIOBTN 1
46353 _ACEOF
46354
46355 USES_CONTROLS=1
46356 fi
46357
46358 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46359 cat >>confdefs.h <<\_ACEOF
46360 #define wxUSE_REARRANGECTRL 1
46361 _ACEOF
46362
46363 fi
46364
46365 if test "$wxUSE_SASH" = "yes"; then
46366 cat >>confdefs.h <<\_ACEOF
46367 #define wxUSE_SASH 1
46368 _ACEOF
46369
46370 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46371 fi
46372
46373 if test "$wxUSE_SCROLLBAR" = "yes"; then
46374 cat >>confdefs.h <<\_ACEOF
46375 #define wxUSE_SCROLLBAR 1
46376 _ACEOF
46377
46378 USES_CONTROLS=1
46379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
46380 fi
46381
46382 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46383 cat >>confdefs.h <<\_ACEOF
46384 #define wxUSE_SEARCHCTRL 1
46385 _ACEOF
46386
46387 USES_CONTROLS=1
46388 fi
46389
46390 if test "$wxUSE_SLIDER" = "yes"; then
46391 cat >>confdefs.h <<\_ACEOF
46392 #define wxUSE_SLIDER 1
46393 _ACEOF
46394
46395 USES_CONTROLS=1
46396 fi
46397
46398 if test "$wxUSE_SPINBTN" = "yes"; then
46399 cat >>confdefs.h <<\_ACEOF
46400 #define wxUSE_SPINBTN 1
46401 _ACEOF
46402
46403 USES_CONTROLS=1
46404 fi
46405
46406 if test "$wxUSE_SPINCTRL" = "yes"; then
46407 cat >>confdefs.h <<\_ACEOF
46408 #define wxUSE_SPINCTRL 1
46409 _ACEOF
46410
46411 USES_CONTROLS=1
46412 fi
46413
46414 if test "$wxUSE_SPLITTER" = "yes"; then
46415 cat >>confdefs.h <<\_ACEOF
46416 #define wxUSE_SPLITTER 1
46417 _ACEOF
46418
46419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46420 fi
46421
46422 if test "$wxUSE_STATBMP" = "yes"; then
46423 cat >>confdefs.h <<\_ACEOF
46424 #define wxUSE_STATBMP 1
46425 _ACEOF
46426
46427 USES_CONTROLS=1
46428 fi
46429
46430 if test "$wxUSE_STATBOX" = "yes"; then
46431 cat >>confdefs.h <<\_ACEOF
46432 #define wxUSE_STATBOX 1
46433 _ACEOF
46434
46435 USES_CONTROLS=1
46436 fi
46437
46438 if test "$wxUSE_STATTEXT" = "yes"; then
46439 cat >>confdefs.h <<\_ACEOF
46440 #define wxUSE_STATTEXT 1
46441 _ACEOF
46442
46443 USES_CONTROLS=1
46444 fi
46445
46446 if test "$wxUSE_STATLINE" = "yes"; then
46447 cat >>confdefs.h <<\_ACEOF
46448 #define wxUSE_STATLINE 1
46449 _ACEOF
46450
46451 USES_CONTROLS=1
46452 fi
46453
46454 if test "$wxUSE_STATUSBAR" = "yes"; then
46455 cat >>confdefs.h <<\_ACEOF
46456 #define wxUSE_NATIVE_STATUSBAR 1
46457 _ACEOF
46458
46459 cat >>confdefs.h <<\_ACEOF
46460 #define wxUSE_STATUSBAR 1
46461 _ACEOF
46462
46463 USES_CONTROLS=1
46464
46465 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46466 fi
46467
46468 if test "$wxUSE_TEXTCTRL" = "yes"; then
46469 cat >>confdefs.h <<\_ACEOF
46470 #define wxUSE_TEXTCTRL 1
46471 _ACEOF
46472
46473 USES_CONTROLS=1
46474 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46475
46476 cat >>confdefs.h <<\_ACEOF
46477 #define wxUSE_RICHEDIT 1
46478 _ACEOF
46479
46480 cat >>confdefs.h <<\_ACEOF
46481 #define wxUSE_RICHEDIT2 1
46482 _ACEOF
46483
46484 fi
46485
46486 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46487 if test "$wxUSE_COCOA" = 1 ; then
46488 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46489 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46490 wxUSE_TOGGLEBTN=no
46491 fi
46492
46493 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46494 cat >>confdefs.h <<\_ACEOF
46495 #define wxUSE_TOGGLEBTN 1
46496 _ACEOF
46497
46498 USES_CONTROLS=1
46499 fi
46500 fi
46501
46502 if test "$wxUSE_TOOLBAR" = "yes"; then
46503 cat >>confdefs.h <<\_ACEOF
46504 #define wxUSE_TOOLBAR 1
46505 _ACEOF
46506
46507 USES_CONTROLS=1
46508
46509 if test "$wxUSE_UNIVERSAL" = "yes"; then
46510 wxUSE_TOOLBAR_NATIVE="no"
46511 else
46512 wxUSE_TOOLBAR_NATIVE="yes"
46513 cat >>confdefs.h <<\_ACEOF
46514 #define wxUSE_TOOLBAR_NATIVE 1
46515 _ACEOF
46516
46517 fi
46518
46519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46520 fi
46521
46522 if test "$wxUSE_TOOLTIPS" = "yes"; then
46523 if test "$wxUSE_MOTIF" = 1; then
46524 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46525 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46526 else
46527 if test "$wxUSE_UNIVERSAL" = "yes"; then
46528 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46529 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46530 else
46531 cat >>confdefs.h <<\_ACEOF
46532 #define wxUSE_TOOLTIPS 1
46533 _ACEOF
46534
46535 fi
46536 fi
46537 fi
46538
46539 if test "$wxUSE_TREEBOOK" = "yes"; then
46540 cat >>confdefs.h <<\_ACEOF
46541 #define wxUSE_TREEBOOK 1
46542 _ACEOF
46543
46544 USES_CONTROLS=1
46545 fi
46546
46547 if test "$wxUSE_TOOLBOOK" = "yes"; then
46548 cat >>confdefs.h <<\_ACEOF
46549 #define wxUSE_TOOLBOOK 1
46550 _ACEOF
46551
46552 USES_CONTROLS=1
46553 fi
46554
46555 if test "$wxUSE_TREECTRL" = "yes"; then
46556 if test "$wxUSE_IMAGLIST" = "yes"; then
46557 cat >>confdefs.h <<\_ACEOF
46558 #define wxUSE_TREECTRL 1
46559 _ACEOF
46560
46561 USES_CONTROLS=1
46562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46563 else
46564 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46565 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46566 fi
46567 fi
46568
46569 if test "$wxUSE_POPUPWIN" = "yes"; then
46570 if test "$wxUSE_COCOA" = 1 ; then
46571 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46572 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46573 else
46574 if test "$wxUSE_PM" = 1; then
46575 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46576 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46577 else
46578 cat >>confdefs.h <<\_ACEOF
46579 #define wxUSE_POPUPWIN 1
46580 _ACEOF
46581
46582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46583
46584 USES_CONTROLS=1
46585 fi
46586 fi
46587 fi
46588
46589 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46590 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46591 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46592 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46593 else
46594 cat >>confdefs.h <<\_ACEOF
46595 #define wxUSE_DIALUP_MANAGER 1
46596 _ACEOF
46597
46598 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46599 fi
46600 fi
46601
46602 if test "$wxUSE_TIPWINDOW" = "yes"; then
46603 if test "$wxUSE_PM" = 1; then
46604 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46605 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46606 else
46607 cat >>confdefs.h <<\_ACEOF
46608 #define wxUSE_TIPWINDOW 1
46609 _ACEOF
46610
46611 fi
46612 fi
46613
46614 if test "$USES_CONTROLS" = 1; then
46615 cat >>confdefs.h <<\_ACEOF
46616 #define wxUSE_CONTROLS 1
46617 _ACEOF
46618
46619 fi
46620
46621
46622 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46623 cat >>confdefs.h <<\_ACEOF
46624 #define wxUSE_ACCESSIBILITY 1
46625 _ACEOF
46626
46627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46628 fi
46629
46630 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46631 cat >>confdefs.h <<\_ACEOF
46632 #define wxUSE_DRAGIMAGE 1
46633 _ACEOF
46634
46635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46636 fi
46637
46638 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46639 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46640 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46641 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46642 else
46643 cat >>confdefs.h <<\_ACEOF
46644 #define wxUSE_EXCEPTIONS 1
46645 _ACEOF
46646
46647 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46648 fi
46649 fi
46650
46651 USE_HTML=0
46652 if test "$wxUSE_HTML" = "yes"; then
46653 cat >>confdefs.h <<\_ACEOF
46654 #define wxUSE_HTML 1
46655 _ACEOF
46656
46657 USE_HTML=1
46658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46659 fi
46660 if test "$wxUSE_WEBKIT" = "yes"; then
46661 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46662 old_CPPFLAGS="$CPPFLAGS"
46663 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46664 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46665 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46666 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46667 echo $ECHO_N "(cached) $ECHO_C" >&6
46668 else
46669 cat >conftest.$ac_ext <<_ACEOF
46670 /* confdefs.h. */
46671 _ACEOF
46672 cat confdefs.h >>conftest.$ac_ext
46673 cat >>conftest.$ac_ext <<_ACEOF
46674 /* end confdefs.h. */
46675
46676 #include <Carbon/Carbon.h>
46677 #include <WebKit/WebKit.h>
46678
46679
46680 #include <WebKit/HIWebView.h>
46681 _ACEOF
46682 rm -f conftest.$ac_objext
46683 if { (ac_try="$ac_compile"
46684 case "(($ac_try" in
46685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46686 *) ac_try_echo=$ac_try;;
46687 esac
46688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46689 (eval "$ac_compile") 2>conftest.er1
46690 ac_status=$?
46691 grep -v '^ *+' conftest.er1 >conftest.err
46692 rm -f conftest.er1
46693 cat conftest.err >&5
46694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46695 (exit $ac_status); } && {
46696 test -z "$ac_c_werror_flag" ||
46697 test ! -s conftest.err
46698 } && test -s conftest.$ac_objext; then
46699 ac_cv_header_WebKit_HIWebView_h=yes
46700 else
46701 echo "$as_me: failed program was:" >&5
46702 sed 's/^/| /' conftest.$ac_ext >&5
46703
46704 ac_cv_header_WebKit_HIWebView_h=no
46705 fi
46706
46707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46708 fi
46709 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46710 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46711 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46712
46713 cat >>confdefs.h <<\_ACEOF
46714 #define wxUSE_WEBKIT 1
46715 _ACEOF
46716
46717 WEBKIT_LINK="-framework WebKit"
46718
46719 else
46720
46721 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46722 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46723 wxUSE_WEBKIT=no
46724
46725 fi
46726
46727
46728 CPPFLAGS="$old_CPPFLAGS"
46729 elif test "$wxUSE_COCOA" = 1; then
46730 cat >>confdefs.h <<\_ACEOF
46731 #define wxUSE_WEBKIT 1
46732 _ACEOF
46733
46734 else
46735 wxUSE_WEBKIT=no
46736 fi
46737 if test "$wxUSE_WEBKIT" = "yes"; then
46738 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46739 fi
46740 fi
46741
46742 USE_XRC=0
46743 if test "$wxUSE_XRC" = "yes"; then
46744 if test "$wxUSE_XML" != "yes"; then
46745 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46746 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46747 wxUSE_XRC=no
46748 else
46749 cat >>confdefs.h <<\_ACEOF
46750 #define wxUSE_XRC 1
46751 _ACEOF
46752
46753 USE_XRC=1
46754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46755 fi
46756 fi
46757
46758 USE_AUI=0
46759 if test "$wxUSE_AUI" = "yes"; then
46760 cat >>confdefs.h <<\_ACEOF
46761 #define wxUSE_AUI 1
46762 _ACEOF
46763
46764 USE_AUI=1
46765 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46766 fi
46767
46768 USE_PROPGRID=0
46769 if test "$wxUSE_PROPGRID" = "yes"; then
46770 cat >>confdefs.h <<\_ACEOF
46771 #define wxUSE_PROPGRID 1
46772 _ACEOF
46773
46774 USE_PROPGRID=1
46775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46776 fi
46777
46778 USE_RIBBON=0
46779 if test "$wxUSE_RIBBON" = "yes"; then
46780 cat >>confdefs.h <<\_ACEOF
46781 #define wxUSE_RIBBON 1
46782 _ACEOF
46783
46784 USE_RIBBON=1
46785 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
46786 fi
46787
46788 USE_STC=0
46789 if test "$wxUSE_STC" = "yes"; then
46790 cat >>confdefs.h <<\_ACEOF
46791 #define wxUSE_STC 1
46792 _ACEOF
46793
46794 USE_STC=1
46795 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46796
46797 # Extract the first word of "python", so it can be a program name with args.
46798 set dummy python; ac_word=$2
46799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46801 if test "${ac_cv_path_PYTHON+set}" = set; then
46802 echo $ECHO_N "(cached) $ECHO_C" >&6
46803 else
46804 case $PYTHON in
46805 [\\/]* | ?:[\\/]*)
46806 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46807 ;;
46808 *)
46809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46810 for as_dir in $PATH
46811 do
46812 IFS=$as_save_IFS
46813 test -z "$as_dir" && as_dir=.
46814 for ac_exec_ext in '' $ac_executable_extensions; do
46815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46816 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46818 break 2
46819 fi
46820 done
46821 done
46822 IFS=$as_save_IFS
46823
46824 ;;
46825 esac
46826 fi
46827 PYTHON=$ac_cv_path_PYTHON
46828 if test -n "$PYTHON"; then
46829 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46830 echo "${ECHO_T}$PYTHON" >&6; }
46831 else
46832 { echo "$as_me:$LINENO: result: no" >&5
46833 echo "${ECHO_T}no" >&6; }
46834 fi
46835
46836
46837 if test "x$PYTHON" = "x"; then
46838 COND_PYTHON="#"
46839 fi
46840
46841 fi
46842
46843 if test "$wxUSE_MENUS" = "yes"; then
46844 cat >>confdefs.h <<\_ACEOF
46845 #define wxUSE_MENUS 1
46846 _ACEOF
46847
46848 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46849 fi
46850
46851 if test "$wxUSE_METAFILE" = "yes"; then
46852 cat >>confdefs.h <<\_ACEOF
46853 #define wxUSE_METAFILE 1
46854 _ACEOF
46855
46856 fi
46857
46858 if test "$wxUSE_MIMETYPE" = "yes"; then
46859 cat >>confdefs.h <<\_ACEOF
46860 #define wxUSE_MIMETYPE 1
46861 _ACEOF
46862
46863 fi
46864
46865 if test "$wxUSE_MINIFRAME" = "yes"; then
46866 cat >>confdefs.h <<\_ACEOF
46867 #define wxUSE_MINIFRAME 1
46868 _ACEOF
46869
46870 fi
46871
46872 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46873 cat >>confdefs.h <<\_ACEOF
46874 #define wxUSE_SYSTEM_OPTIONS 1
46875 _ACEOF
46876
46877 fi
46878
46879 if test "$wxUSE_TASKBARICON" = "yes"; then
46880 cat >>confdefs.h <<\_ACEOF
46881 #define wxUSE_TASKBARICON 1
46882 _ACEOF
46883
46884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46885 fi
46886
46887
46888 if test "$wxUSE_VALIDATORS" = "yes"; then
46889 cat >>confdefs.h <<\_ACEOF
46890 #define wxUSE_VALIDATORS 1
46891 _ACEOF
46892
46893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46894 fi
46895
46896 if test "$wxUSE_PALETTE" = "yes" ; then
46897 if test "$wxUSE_DFB" = 1; then
46898 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46899 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46900 wxUSE_PALETTE=no
46901 else
46902 cat >>confdefs.h <<\_ACEOF
46903 #define wxUSE_PALETTE 1
46904 _ACEOF
46905
46906 fi
46907 fi
46908
46909 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46910 LIBS=" -lunicows $LIBS"
46911 fi
46912
46913 USE_RICHTEXT=0
46914 if test "$wxUSE_RICHTEXT" = "yes"; then
46915 cat >>confdefs.h <<\_ACEOF
46916 #define wxUSE_RICHTEXT 1
46917 _ACEOF
46918
46919 USE_RICHTEXT=1
46920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46921 fi
46922
46923
46924 if test "$wxUSE_IMAGE" = "yes" ; then
46925 cat >>confdefs.h <<\_ACEOF
46926 #define wxUSE_IMAGE 1
46927 _ACEOF
46928
46929
46930 if test "$wxUSE_GIF" = "yes" ; then
46931 cat >>confdefs.h <<\_ACEOF
46932 #define wxUSE_GIF 1
46933 _ACEOF
46934
46935 fi
46936
46937 if test "$wxUSE_PCX" = "yes" ; then
46938 cat >>confdefs.h <<\_ACEOF
46939 #define wxUSE_PCX 1
46940 _ACEOF
46941
46942 fi
46943
46944 if test "$wxUSE_TGA" = "yes" ; then
46945 cat >>confdefs.h <<\_ACEOF
46946 #define wxUSE_TGA 1
46947 _ACEOF
46948
46949 fi
46950
46951 if test "$wxUSE_IFF" = "yes" ; then
46952 cat >>confdefs.h <<\_ACEOF
46953 #define wxUSE_IFF 1
46954 _ACEOF
46955
46956 fi
46957
46958 if test "$wxUSE_PNM" = "yes" ; then
46959 cat >>confdefs.h <<\_ACEOF
46960 #define wxUSE_PNM 1
46961 _ACEOF
46962
46963 fi
46964
46965 if test "$wxUSE_XPM" = "yes" ; then
46966 cat >>confdefs.h <<\_ACEOF
46967 #define wxUSE_XPM 1
46968 _ACEOF
46969
46970 fi
46971
46972 if test "$wxUSE_ICO_CUR" = "yes" ; then
46973 cat >>confdefs.h <<\_ACEOF
46974 #define wxUSE_ICO_CUR 1
46975 _ACEOF
46976
46977 fi
46978 fi
46979
46980
46981 if test "$wxUSE_ABOUTDLG" = "yes"; then
46982 cat >>confdefs.h <<\_ACEOF
46983 #define wxUSE_ABOUTDLG 1
46984 _ACEOF
46985
46986 fi
46987
46988 if test "$wxUSE_CHOICEDLG" = "yes"; then
46989 cat >>confdefs.h <<\_ACEOF
46990 #define wxUSE_CHOICEDLG 1
46991 _ACEOF
46992
46993 fi
46994
46995 if test "$wxUSE_COLOURDLG" = "yes"; then
46996 cat >>confdefs.h <<\_ACEOF
46997 #define wxUSE_COLOURDLG 1
46998 _ACEOF
46999
47000 fi
47001
47002 if test "$wxUSE_FILEDLG" = "yes"; then
47003 cat >>confdefs.h <<\_ACEOF
47004 #define wxUSE_FILEDLG 1
47005 _ACEOF
47006
47007 fi
47008
47009 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47010 cat >>confdefs.h <<\_ACEOF
47011 #define wxUSE_FINDREPLDLG 1
47012 _ACEOF
47013
47014 fi
47015
47016 if test "$wxUSE_FONTDLG" = "yes"; then
47017 cat >>confdefs.h <<\_ACEOF
47018 #define wxUSE_FONTDLG 1
47019 _ACEOF
47020
47021 fi
47022
47023 if test "$wxUSE_DIRDLG" = "yes"; then
47024 if test "$wxUSE_TREECTRL" != "yes"; then
47025 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47026 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47027 else
47028 cat >>confdefs.h <<\_ACEOF
47029 #define wxUSE_DIRDLG 1
47030 _ACEOF
47031
47032 fi
47033 fi
47034
47035 if test "$wxUSE_MSGDLG" = "yes"; then
47036 cat >>confdefs.h <<\_ACEOF
47037 #define wxUSE_MSGDLG 1
47038 _ACEOF
47039
47040 fi
47041
47042 if test "$wxUSE_NUMBERDLG" = "yes"; then
47043 cat >>confdefs.h <<\_ACEOF
47044 #define wxUSE_NUMBERDLG 1
47045 _ACEOF
47046
47047 fi
47048
47049 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47050 cat >>confdefs.h <<\_ACEOF
47051 #define wxUSE_PROGRESSDLG 1
47052 _ACEOF
47053
47054 fi
47055
47056 if test "$wxUSE_SPLASH" = "yes"; then
47057 cat >>confdefs.h <<\_ACEOF
47058 #define wxUSE_SPLASH 1
47059 _ACEOF
47060
47061 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47062 fi
47063
47064 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47065 cat >>confdefs.h <<\_ACEOF
47066 #define wxUSE_STARTUP_TIPS 1
47067 _ACEOF
47068
47069 fi
47070
47071 if test "$wxUSE_TEXTDLG" = "yes"; then
47072 cat >>confdefs.h <<\_ACEOF
47073 #define wxUSE_TEXTDLG 1
47074 _ACEOF
47075
47076 fi
47077
47078 if test "$wxUSE_WIZARDDLG" = "yes"; then
47079 cat >>confdefs.h <<\_ACEOF
47080 #define wxUSE_WIZARDDLG 1
47081 _ACEOF
47082
47083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47084 fi
47085
47086
47087 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47088 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47089 cat >>confdefs.h <<\_ACEOF
47090 #define wxUSE_OWNER_DRAWN 1
47091 _ACEOF
47092
47093 fi
47094 fi
47095
47096
47097 if test "$wxUSE_MSW" = 1 ; then
47098
47099 if test "$wxUSE_DC_CACHEING" = "yes"; then
47100 cat >>confdefs.h <<\_ACEOF
47101 #define wxUSE_DC_CACHEING 1
47102 _ACEOF
47103
47104 fi
47105
47106 if test "$wxUSE_DIB" = "yes"; then
47107 cat >>confdefs.h <<\_ACEOF
47108 #define wxUSE_WXDIB 1
47109 _ACEOF
47110
47111 fi
47112
47113 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47114 cat >>confdefs.h <<\_ACEOF
47115 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47116 _ACEOF
47117
47118 fi
47119
47120 if test "$wxUSE_UXTHEME" = "yes"; then
47121 cat >>confdefs.h <<\_ACEOF
47122 #define wxUSE_UXTHEME 1
47123 _ACEOF
47124
47125 fi
47126
47127 fi
47128
47129 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47130 cat >>confdefs.h <<\_ACEOF
47131 #define wxUSE_AUTOID_MANAGEMENT 1
47132 _ACEOF
47133
47134 fi
47135
47136 if test "$USE_WIN32" = 1 ; then
47137 if test "$wxUSE_INICONF" = "yes"; then
47138 cat >>confdefs.h <<\_ACEOF
47139 #define wxUSE_INICONF 1
47140 _ACEOF
47141
47142 fi
47143
47144 if test "$wxUSE_REGKEY" = "yes"; then
47145 cat >>confdefs.h <<\_ACEOF
47146 #define wxUSE_REGKEY 1
47147 _ACEOF
47148
47149 fi
47150 fi
47151
47152
47153 if test "$wxUSE_MAC" = 1; then
47154 wxUSE_GRAPHICS_CONTEXT="yes"
47155 fi
47156
47157 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47158 wx_has_graphics=0
47159 if test "$wxUSE_MSW" = 1; then
47160 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
47161 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
47162 if test "${wx_cv_lib_gdiplus+set}" = set; then
47163 echo $ECHO_N "(cached) $ECHO_C" >&6
47164 else
47165
47166 ac_ext=cpp
47167 ac_cpp='$CXXCPP $CPPFLAGS'
47168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47171
47172 cat >conftest.$ac_ext <<_ACEOF
47173 /* confdefs.h. */
47174 _ACEOF
47175 cat confdefs.h >>conftest.$ac_ext
47176 cat >>conftest.$ac_ext <<_ACEOF
47177 /* end confdefs.h. */
47178 #include <gdiplus.h>
47179 int
47180 main ()
47181 {
47182
47183 using namespace Gdiplus;
47184
47185 ;
47186 return 0;
47187 }
47188 _ACEOF
47189 rm -f conftest.$ac_objext
47190 if { (ac_try="$ac_compile"
47191 case "(($ac_try" in
47192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47193 *) ac_try_echo=$ac_try;;
47194 esac
47195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47196 (eval "$ac_compile") 2>conftest.er1
47197 ac_status=$?
47198 grep -v '^ *+' conftest.er1 >conftest.err
47199 rm -f conftest.er1
47200 cat conftest.err >&5
47201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47202 (exit $ac_status); } && {
47203 test -z "$ac_cxx_werror_flag" ||
47204 test ! -s conftest.err
47205 } && test -s conftest.$ac_objext; then
47206 wx_cv_lib_gdiplus=yes
47207 else
47208 echo "$as_me: failed program was:" >&5
47209 sed 's/^/| /' conftest.$ac_ext >&5
47210
47211 wx_cv_lib_gdiplus=no
47212
47213 fi
47214
47215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47216 ac_ext=c
47217 ac_cpp='$CPP $CPPFLAGS'
47218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47221
47222
47223
47224 fi
47225 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
47226 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
47227 if test "$wx_cv_lib_gdiplus" = "yes"; then
47228 wx_has_graphics=1
47229 fi
47230 elif test "$wxUSE_GTK" = 1; then
47231
47232 pkg_failed=no
47233 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47234 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47235
47236 if test -n "$PKG_CONFIG"; then
47237 if test -n "$CAIRO_CFLAGS"; then
47238 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47239 else
47240 if test -n "$PKG_CONFIG" && \
47241 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47242 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47243 ac_status=$?
47244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47245 (exit $ac_status); }; then
47246 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47247 else
47248 pkg_failed=yes
47249 fi
47250 fi
47251 else
47252 pkg_failed=untried
47253 fi
47254 if test -n "$PKG_CONFIG"; then
47255 if test -n "$CAIRO_LIBS"; then
47256 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47257 else
47258 if test -n "$PKG_CONFIG" && \
47259 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47260 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47261 ac_status=$?
47262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47263 (exit $ac_status); }; then
47264 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47265 else
47266 pkg_failed=yes
47267 fi
47268 fi
47269 else
47270 pkg_failed=untried
47271 fi
47272
47273
47274
47275 if test $pkg_failed = yes; then
47276
47277 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47278 _pkg_short_errors_supported=yes
47279 else
47280 _pkg_short_errors_supported=no
47281 fi
47282 if test $_pkg_short_errors_supported = yes; then
47283 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47284 else
47285 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47286 fi
47287 # Put the nasty error message in config.log where it belongs
47288 echo "$CAIRO_PKG_ERRORS" >&5
47289
47290 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47291 echo "$as_me: WARNING: Cairo library not found" >&2;}
47292
47293 elif test $pkg_failed = untried; then
47294 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47295 echo "$as_me: WARNING: Cairo library not found" >&2;}
47296
47297 else
47298 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47299 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47300 { echo "$as_me:$LINENO: result: yes" >&5
47301 echo "${ECHO_T}yes" >&6; }
47302 wx_has_graphics=1
47303 fi
47304 else
47305 wx_has_graphics=1
47306 fi
47307
47308 if test "$wx_has_graphics" = 1; then
47309 cat >>confdefs.h <<\_ACEOF
47310 #define wxUSE_GRAPHICS_CONTEXT 1
47311 _ACEOF
47312
47313 else
47314 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
47315 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
47316 fi
47317 fi
47318
47319
47320 USE_MEDIA=0
47321
47322 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
47323 USE_MEDIA=1
47324
47325 if test "$wxUSE_GTK" = 1; then
47326 wxUSE_GSTREAMER="no"
47327
47328 GST_VERSION_MAJOR=0
47329 GST_VERSION_MINOR=10
47330 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47331
47332 if test "$wxUSE_GSTREAMER8" = "no"; then
47333
47334 pkg_failed=no
47335 { echo "$as_me:$LINENO: checking for GST" >&5
47336 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47337
47338 if test -n "$PKG_CONFIG"; then
47339 if test -n "$GST_CFLAGS"; then
47340 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47341 else
47342 if test -n "$PKG_CONFIG" && \
47343 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47344 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47345 ac_status=$?
47346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47347 (exit $ac_status); }; then
47348 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47349 else
47350 pkg_failed=yes
47351 fi
47352 fi
47353 else
47354 pkg_failed=untried
47355 fi
47356 if test -n "$PKG_CONFIG"; then
47357 if test -n "$GST_LIBS"; then
47358 pkg_cv_GST_LIBS="$GST_LIBS"
47359 else
47360 if test -n "$PKG_CONFIG" && \
47361 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47362 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47363 ac_status=$?
47364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47365 (exit $ac_status); }; then
47366 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47367 else
47368 pkg_failed=yes
47369 fi
47370 fi
47371 else
47372 pkg_failed=untried
47373 fi
47374
47375
47376
47377 if test $pkg_failed = yes; then
47378
47379 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47380 _pkg_short_errors_supported=yes
47381 else
47382 _pkg_short_errors_supported=no
47383 fi
47384 if test $_pkg_short_errors_supported = yes; then
47385 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47386 else
47387 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47388 fi
47389 # Put the nasty error message in config.log where it belongs
47390 echo "$GST_PKG_ERRORS" >&5
47391
47392
47393 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47394 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47395 GST_VERSION_MINOR=8
47396
47397
47398 elif test $pkg_failed = untried; then
47399
47400 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47401 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47402 GST_VERSION_MINOR=8
47403
47404
47405 else
47406 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47407 GST_LIBS=$pkg_cv_GST_LIBS
47408 { echo "$as_me:$LINENO: result: yes" >&5
47409 echo "${ECHO_T}yes" >&6; }
47410
47411 wxUSE_GSTREAMER="yes"
47412 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47413
47414 fi
47415 else
47416 GST_VERSION_MINOR=8
47417 fi
47418
47419 if test $GST_VERSION_MINOR = "8"; then
47420 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47421
47422 pkg_failed=no
47423 { echo "$as_me:$LINENO: checking for GST" >&5
47424 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47425
47426 if test -n "$PKG_CONFIG"; then
47427 if test -n "$GST_CFLAGS"; then
47428 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47429 else
47430 if test -n "$PKG_CONFIG" && \
47431 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47432 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47433 ac_status=$?
47434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47435 (exit $ac_status); }; then
47436 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47437 else
47438 pkg_failed=yes
47439 fi
47440 fi
47441 else
47442 pkg_failed=untried
47443 fi
47444 if test -n "$PKG_CONFIG"; then
47445 if test -n "$GST_LIBS"; then
47446 pkg_cv_GST_LIBS="$GST_LIBS"
47447 else
47448 if test -n "$PKG_CONFIG" && \
47449 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47450 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47451 ac_status=$?
47452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47453 (exit $ac_status); }; then
47454 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47455 else
47456 pkg_failed=yes
47457 fi
47458 fi
47459 else
47460 pkg_failed=untried
47461 fi
47462
47463
47464
47465 if test $pkg_failed = yes; then
47466
47467 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47468 _pkg_short_errors_supported=yes
47469 else
47470 _pkg_short_errors_supported=no
47471 fi
47472 if test $_pkg_short_errors_supported = yes; then
47473 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47474 else
47475 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47476 fi
47477 # Put the nasty error message in config.log where it belongs
47478 echo "$GST_PKG_ERRORS" >&5
47479
47480
47481 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47482 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47483
47484 elif test $pkg_failed = untried; then
47485
47486 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47487 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47488
47489 else
47490 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47491 GST_LIBS=$pkg_cv_GST_LIBS
47492 { echo "$as_me:$LINENO: result: yes" >&5
47493 echo "${ECHO_T}yes" >&6; }
47494 wxUSE_GSTREAMER="yes"
47495 fi
47496 fi
47497
47498
47499 if test "$wxUSE_GSTREAMER" = "yes"; then
47500 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47501 EXTRALIBS_MEDIA="$GST_LIBS"
47502
47503 cat >>confdefs.h <<\_ACEOF
47504 #define wxUSE_GSTREAMER 1
47505 _ACEOF
47506
47507 else
47508 USE_MEDIA=0
47509 fi
47510 fi
47511
47512 if test $USE_MEDIA = 1; then
47513 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47514 cat >>confdefs.h <<\_ACEOF
47515 #define wxUSE_MEDIACTRL 1
47516 _ACEOF
47517
47518 else
47519 if test "$wxUSE_MEDIACTRL" = "yes"; then
47520 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47521 echo "$as_me: error: GStreamer not available" >&2;}
47522 { (exit 1); exit 1; }; }
47523 else
47524 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47525 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47526 fi
47527 fi
47528 fi
47529
47530
47531 if test "$cross_compiling" != "no"; then
47532 OSINFO="\"$host\""
47533 else
47534 OSINFO=`uname -s -r -m`
47535 OSINFO="\"$OSINFO\""
47536 fi
47537
47538 cat >>confdefs.h <<_ACEOF
47539 #define WXWIN_OS_DESCRIPTION $OSINFO
47540 _ACEOF
47541
47542
47543
47544 if test "x$prefix" != "xNONE"; then
47545 wxPREFIX=$prefix
47546 else
47547 wxPREFIX=$ac_default_prefix
47548 fi
47549
47550 cat >>confdefs.h <<_ACEOF
47551 #define wxINSTALL_PREFIX "$wxPREFIX"
47552 _ACEOF
47553
47554
47555
47556
47557 STD_BASE_LIBS="base"
47558 STD_GUI_LIBS=""
47559 BUILT_WX_LIBS="base"
47560 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47561
47562 if test "$wxUSE_SOCKETS" = "yes" ; then
47563 STD_BASE_LIBS="net $STD_BASE_LIBS"
47564 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47565 fi
47566 if test "$wxUSE_XML" = "yes" ; then
47567 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47568 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47569 fi
47570
47571 if test "$wxUSE_GUI" = "yes"; then
47572 STD_GUI_LIBS="adv core"
47573 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47574
47575 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47576 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47577 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47578 fi
47579 if test "$wxUSE_HTML" = "yes" ; then
47580 STD_GUI_LIBS="html $STD_GUI_LIBS"
47581 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47582 fi
47583 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47584 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47585 fi
47586 if test "$wxUSE_OPENGL" = "yes" ; then
47587 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47588 fi
47589 if test "$wxUSE_AUI" = "yes" ; then
47590 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47591 fi
47592 if test "$wxUSE_PROPGRID" = "yes" ; then
47593 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47594 fi
47595 if test "$wxUSE_RIBBON" = "yes" ; then
47596 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
47597 fi
47598 if test "$wxUSE_RICHTEXT" = "yes" ; then
47599 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47600 fi
47601 if test "$wxUSE_STC" = "yes" ; then
47602 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47603 fi
47604 if test "$wxUSE_XRC" = "yes" ; then
47605 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47606 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47607 fi
47608 fi
47609
47610
47611
47612
47613
47614
47615
47616 EXTRA_FRAMEWORKS=
47617 if test "$wxUSE_MAC" = 1 ; then
47618 if test "$USE_DARWIN" = 1; then
47619 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
47620 fi
47621 fi
47622 if test "$wxUSE_COCOA" = 1 ; then
47623 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
47624 if test "$wxUSE_MEDIACTRL" = "yes"; then
47625 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
47626 fi
47627 fi
47628 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47629 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47630 fi
47631
47632 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
47633 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
47634
47635 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47636
47637 if test "$wxUSE_GUI" = "yes"; then
47638
47639
47640 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47641 erase event exec font image minimal render \
47642 shaped svg taborder vscroll widgets wrapsizer"
47643
47644 if test "$wxUSE_MONOLITHIC" != "yes"; then
47645 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47646 fi
47647 if test "$TOOLKIT" = "MSW"; then
47648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47649 if test "$wxUSE_UNIVERSAL" != "yes"; then
47650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47651 fi
47652 fi
47653 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47654 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47655 fi
47656 else
47657 SAMPLES_SUBDIRS="console"
47658 if test "$wxUSE_SOCKETS" = "yes" ; then
47659 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47660 fi
47661 if test "$wxUSE_IPC" = "yes" ; then
47662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47663 fi
47664 fi
47665
47666
47667 if test "x$INTELCC" = "xyes" ; then
47668 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47669 elif test "$GCC" = yes ; then
47670 CWARNINGS="-Wall -Wundef"
47671 fi
47672
47673 if test "x$INTELCXX" = "xyes" ; then
47674 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47675 elif test "$GXX" = yes ; then
47676 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47677 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47678 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47679 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47680 echo $ECHO_N "(cached) $ECHO_C" >&6
47681 else
47682 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47683
47684 ac_ext=cpp
47685 ac_cpp='$CXXCPP $CPPFLAGS'
47686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47689
47690 ac_save_CXXFLAGS="$CXXFLAGS"
47691 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47692 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47693 cat >conftest.$ac_ext <<_ACEOF
47694 /* confdefs.h. */
47695 _ACEOF
47696 cat confdefs.h >>conftest.$ac_ext
47697 cat >>conftest.$ac_ext <<_ACEOF
47698 /* end confdefs.h. */
47699
47700 int
47701 main ()
47702 {
47703 return 0;
47704 ;
47705 return 0;
47706 }
47707 _ACEOF
47708 rm -f conftest.$ac_objext
47709 if { (ac_try="$ac_compile"
47710 case "(($ac_try" in
47711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47712 *) ac_try_echo=$ac_try;;
47713 esac
47714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47715 (eval "$ac_compile") 2>conftest.er1
47716 ac_status=$?
47717 grep -v '^ *+' conftest.er1 >conftest.err
47718 rm -f conftest.er1
47719 cat conftest.err >&5
47720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47721 (exit $ac_status); } && {
47722 test -z "$ac_cxx_werror_flag" ||
47723 test ! -s conftest.err
47724 } && test -s conftest.$ac_objext; then
47725 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47726 else
47727 echo "$as_me: failed program was:" >&5
47728 sed 's/^/| /' conftest.$ac_ext >&5
47729
47730
47731 fi
47732
47733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47734 done
47735 CXXFLAGS="$ac_save_CXXFLAGS"
47736 ac_ext=c
47737 ac_cpp='$CPP $CPPFLAGS'
47738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47741
47742
47743 fi
47744 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47745 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47746 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47747 .ok|.ok,*) ;;
47748 .|.no|.no,*) ;;
47749 *)
47750 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47751 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47752 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47753 ac_status=$?
47754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47755 (exit $ac_status); }
47756 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47757 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47758 ac_status=$?
47759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47760 (exit $ac_status); }
47761 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47762 fi
47763 ;;
47764 esac
47765
47766
47767 if test "$wxUSE_MAC" = 1 ; then
47768 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
47769 fi
47770 fi
47771
47772
47773 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47774 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47775
47776
47777 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47778 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47779 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47780 $CPPFLAGS `
47781
47782 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47783 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47784 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47785 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47786 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47787
47788 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47789
47790
47791 if test "x$MWCC" = "xyes"; then
47792
47793 CC="$CC -cwd source -I-"
47794 CXX="$CXX -cwd source -I-"
47795 fi
47796
47797
47798 LIBS=`echo $LIBS`
47799 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47800 EXTRALIBS_XML="$EXPAT_LINK"
47801 EXTRALIBS_HTML="$MSPACK_LINK"
47802 EXTRALIBS_MEDIA="$GST_LIBS"
47803 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47804 if test "$wxUSE_GUI" = "yes"; then
47805 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47806 fi
47807 if test "$wxUSE_OPENGL" = "yes"; then
47808 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47809 fi
47810
47811 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47812
47813 WXCONFIG_LIBS="$LIBS"
47814
47815 if test "$wxUSE_REGEX" = "builtin" ; then
47816 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47817 fi
47818 if test "$wxUSE_EXPAT" = "builtin" ; then
47819 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47820 fi
47821 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47822 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47823 fi
47824 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47825 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47826 fi
47827 if test "$wxUSE_LIBPNG" = "builtin" ; then
47828 wxconfig_3rdparty="png $wxconfig_3rdparty"
47829 fi
47830 if test "$wxUSE_ZLIB" = "builtin" ; then
47831 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47832 fi
47833
47834 for i in $wxconfig_3rdparty ; do
47835 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47836 done
47837
47838
47839 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47840 WXUNIV=1
47841
47842 case "$wxUNIV_THEMES" in
47843 ''|all)
47844 cat >>confdefs.h <<\_ACEOF
47845 #define wxUSE_ALL_THEMES 1
47846 _ACEOF
47847
47848 ;;
47849
47850 *)
47851 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47852 cat >>confdefs.h <<_ACEOF
47853 #define wxUSE_THEME_$t 1
47854 _ACEOF
47855
47856 done
47857 esac
47858 else
47859 WXUNIV=0
47860 fi
47861
47862
47863
47864
47865
47866
47867
47868
47869 if test $wxUSE_MONOLITHIC = "yes" ; then
47870 MONOLITHIC=1
47871 else
47872 MONOLITHIC=0
47873 fi
47874
47875 if test $wxUSE_PLUGINS = "yes" ; then
47876 USE_PLUGINS=1
47877 else
47878 USE_PLUGINS=0
47879 fi
47880
47881 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47882 USE_QA=1
47883 else
47884 USE_QA=0
47885 fi
47886
47887 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47888 OFFICIAL_BUILD=1
47889 else
47890 OFFICIAL_BUILD=0
47891 fi
47892
47893
47894
47895
47896
47897
47898
47899
47900
47901
47902
47903
47904
47905
47906
47907
47908
47909
47910
47911
47912
47913
47914
47915
47916
47917
47918
47919 TOOLKIT_LOWERCASE=xxx
47920 if test "$TOOLKIT" = "MAC"; then
47921 TOOLKIT_LOWERCASE=osx_carbon
47922 fi
47923 if test "$TOOLKIT" = "OSX_CARBON"; then
47924 TOOLKIT_LOWERCASE=osx_carbon
47925 fi
47926 if test "$TOOLKIT" = "OSX_COCOA"; then
47927 TOOLKIT_LOWERCASE=osx_cocoa
47928 fi
47929 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47930 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47931 fi
47932
47933
47934
47935
47936
47937
47938
47939
47940
47941
47942 case "$TOOLKIT" in
47943 GTK)
47944 TOOLKIT_DESC="GTK+"
47945 if test "$WXGTK2" = 1; then
47946 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47947 if test "$wxUSE_GTKPRINT" = "yes" ; then
47948 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47949 fi
47950 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47951 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47952 fi
47953 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47954 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47955 fi
47956 if test "$wxUSE_LIBHILDON" = "yes"; then
47957 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47958 fi
47959 if test "$wxUSE_LIBHILDON2" = "yes"; then
47960 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47961 fi
47962
47963 if test "$TOOLKIT_EXTRA" != ""; then
47964 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47965 fi
47966 fi
47967 ;;
47968
47969 ?*)
47970 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47971 ;;
47972
47973 *)
47974 TOOLKIT_DESC="base only"
47975 ;;
47976 esac
47977
47978 if test "$wxUSE_WINE" = "yes"; then
47979 BAKEFILE_FORCE_PLATFORM=win32
47980 fi
47981
47982 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47983 then
47984 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47985 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47986 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47987 echo $ECHO_N "(cached) $ECHO_C" >&6
47988 else
47989
47990 echo '#include <stdio.h>
47991 const wchar_t test_var[] = L"awidetest";' > conftest.h
47992
47993 echo '#include "conftest.h"
47994 int main()
47995 {
47996 printf("%ls", test_var);
47997 return 0;
47998 }' > conftest.cpp
47999
48000 wx_cv_gcc_pch_bug="pch not supported"
48001
48002 if $CXX conftest.h >/dev/null 2>&1
48003 then
48004 wx_cv_gcc_pch_bug=
48005
48006 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48007 then
48008 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48009 grep awidetest >/dev/null
48010 then
48011 wx_cv_gcc_pch_bug=no
48012 else
48013 wx_cv_gcc_pch_bug=yes
48014 fi
48015 fi
48016 fi
48017
48018 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48019
48020 fi
48021 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48022 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48023
48024 if test "$wx_cv_gcc_pch_bug" = yes; then
48025 bk_use_pch=no
48026 fi
48027 fi
48028
48029
48030
48031
48032
48033
48034
48035 if test "x$BAKEFILE_HOST" = "x"; then
48036 if test "x${host}" = "x" ; then
48037 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48038 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48039 { (exit 1); exit 1; }; }
48040 fi
48041
48042 BAKEFILE_HOST="${host}"
48043 fi
48044
48045 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48046
48047 if test -n "$ac_tool_prefix"; then
48048 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48049 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48052 if test "${ac_cv_prog_RANLIB+set}" = set; then
48053 echo $ECHO_N "(cached) $ECHO_C" >&6
48054 else
48055 if test -n "$RANLIB"; then
48056 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48057 else
48058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48059 for as_dir in $PATH
48060 do
48061 IFS=$as_save_IFS
48062 test -z "$as_dir" && as_dir=.
48063 for ac_exec_ext in '' $ac_executable_extensions; do
48064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48065 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48067 break 2
48068 fi
48069 done
48070 done
48071 IFS=$as_save_IFS
48072
48073 fi
48074 fi
48075 RANLIB=$ac_cv_prog_RANLIB
48076 if test -n "$RANLIB"; then
48077 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48078 echo "${ECHO_T}$RANLIB" >&6; }
48079 else
48080 { echo "$as_me:$LINENO: result: no" >&5
48081 echo "${ECHO_T}no" >&6; }
48082 fi
48083
48084
48085 fi
48086 if test -z "$ac_cv_prog_RANLIB"; then
48087 ac_ct_RANLIB=$RANLIB
48088 # Extract the first word of "ranlib", so it can be a program name with args.
48089 set dummy ranlib; ac_word=$2
48090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48092 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48093 echo $ECHO_N "(cached) $ECHO_C" >&6
48094 else
48095 if test -n "$ac_ct_RANLIB"; then
48096 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48097 else
48098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48099 for as_dir in $PATH
48100 do
48101 IFS=$as_save_IFS
48102 test -z "$as_dir" && as_dir=.
48103 for ac_exec_ext in '' $ac_executable_extensions; do
48104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48105 ac_cv_prog_ac_ct_RANLIB="ranlib"
48106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48107 break 2
48108 fi
48109 done
48110 done
48111 IFS=$as_save_IFS
48112
48113 fi
48114 fi
48115 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48116 if test -n "$ac_ct_RANLIB"; then
48117 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48118 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48119 else
48120 { echo "$as_me:$LINENO: result: no" >&5
48121 echo "${ECHO_T}no" >&6; }
48122 fi
48123
48124 if test "x$ac_ct_RANLIB" = x; then
48125 RANLIB=":"
48126 else
48127 case $cross_compiling:$ac_tool_warned in
48128 yes:)
48129 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48130 whose name does not start with the host triplet. If you think this
48131 configuration is useful to you, please write to autoconf@gnu.org." >&5
48132 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48133 whose name does not start with the host triplet. If you think this
48134 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48135 ac_tool_warned=yes ;;
48136 esac
48137 RANLIB=$ac_ct_RANLIB
48138 fi
48139 else
48140 RANLIB="$ac_cv_prog_RANLIB"
48141 fi
48142
48143 # Find a good install program. We prefer a C program (faster),
48144 # so one script is as good as another. But avoid the broken or
48145 # incompatible versions:
48146 # SysV /etc/install, /usr/sbin/install
48147 # SunOS /usr/etc/install
48148 # IRIX /sbin/install
48149 # AIX /bin/install
48150 # AmigaOS /C/install, which installs bootblocks on floppy discs
48151 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48152 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48153 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48154 # OS/2's system install, which has a completely different semantic
48155 # ./install, which can be erroneously created by make from ./install.sh.
48156 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48157 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48158 if test -z "$INSTALL"; then
48159 if test "${ac_cv_path_install+set}" = set; then
48160 echo $ECHO_N "(cached) $ECHO_C" >&6
48161 else
48162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48163 for as_dir in $PATH
48164 do
48165 IFS=$as_save_IFS
48166 test -z "$as_dir" && as_dir=.
48167 # Account for people who put trailing slashes in PATH elements.
48168 case $as_dir/ in
48169 ./ | .// | /cC/* | \
48170 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48171 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48172 /usr/ucb/* ) ;;
48173 *)
48174 # OSF1 and SCO ODT 3.0 have their own names for install.
48175 # Don't use installbsd from OSF since it installs stuff as root
48176 # by default.
48177 for ac_prog in ginstall scoinst install; do
48178 for ac_exec_ext in '' $ac_executable_extensions; do
48179 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48180 if test $ac_prog = install &&
48181 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48182 # AIX install. It has an incompatible calling convention.
48183 :
48184 elif test $ac_prog = install &&
48185 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48186 # program-specific install script used by HP pwplus--don't use.
48187 :
48188 else
48189 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48190 break 3
48191 fi
48192 fi
48193 done
48194 done
48195 ;;
48196 esac
48197 done
48198 IFS=$as_save_IFS
48199
48200
48201 fi
48202 if test "${ac_cv_path_install+set}" = set; then
48203 INSTALL=$ac_cv_path_install
48204 else
48205 # As a last resort, use the slow shell script. Don't cache a
48206 # value for INSTALL within a source directory, because that will
48207 # break other packages using the cache if that directory is
48208 # removed, or if the value is a relative name.
48209 INSTALL=$ac_install_sh
48210 fi
48211 fi
48212 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48213 echo "${ECHO_T}$INSTALL" >&6; }
48214
48215 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48216 # It thinks the first close brace ends the variable substitution.
48217 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48218
48219 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48220
48221 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48222
48223 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48224 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48225 LN_S=$as_ln_s
48226 if test "$LN_S" = "ln -s"; then
48227 { echo "$as_me:$LINENO: result: yes" >&5
48228 echo "${ECHO_T}yes" >&6; }
48229 else
48230 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48231 echo "${ECHO_T}no, using $LN_S" >&6; }
48232 fi
48233
48234
48235 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48236 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48237 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48238 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48239 echo $ECHO_N "(cached) $ECHO_C" >&6
48240 else
48241 cat >conftest.make <<\_ACEOF
48242 SHELL = /bin/sh
48243 all:
48244 @echo '@@@%%%=$(MAKE)=@@@%%%'
48245 _ACEOF
48246 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48247 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48248 *@@@%%%=?*=@@@%%%*)
48249 eval ac_cv_prog_make_${ac_make}_set=yes;;
48250 *)
48251 eval ac_cv_prog_make_${ac_make}_set=no;;
48252 esac
48253 rm -f conftest.make
48254 fi
48255 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48256 { echo "$as_me:$LINENO: result: yes" >&5
48257 echo "${ECHO_T}yes" >&6; }
48258 SET_MAKE=
48259 else
48260 { echo "$as_me:$LINENO: result: no" >&5
48261 echo "${ECHO_T}no" >&6; }
48262 SET_MAKE="MAKE=${MAKE-make}"
48263 fi
48264
48265
48266
48267 if test "x$SUNCXX" = "xyes"; then
48268 AR=$CXX
48269 AROPTIONS="-xar -o"
48270
48271 elif test "x$SGICC" = "xyes"; then
48272 AR=$CXX
48273 AROPTIONS="-ar -o"
48274
48275 else
48276 if test -n "$ac_tool_prefix"; then
48277 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48278 set dummy ${ac_tool_prefix}ar; ac_word=$2
48279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48281 if test "${ac_cv_prog_AR+set}" = set; then
48282 echo $ECHO_N "(cached) $ECHO_C" >&6
48283 else
48284 if test -n "$AR"; then
48285 ac_cv_prog_AR="$AR" # Let the user override the test.
48286 else
48287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48288 for as_dir in $PATH
48289 do
48290 IFS=$as_save_IFS
48291 test -z "$as_dir" && as_dir=.
48292 for ac_exec_ext in '' $ac_executable_extensions; do
48293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48294 ac_cv_prog_AR="${ac_tool_prefix}ar"
48295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48296 break 2
48297 fi
48298 done
48299 done
48300 IFS=$as_save_IFS
48301
48302 fi
48303 fi
48304 AR=$ac_cv_prog_AR
48305 if test -n "$AR"; then
48306 { echo "$as_me:$LINENO: result: $AR" >&5
48307 echo "${ECHO_T}$AR" >&6; }
48308 else
48309 { echo "$as_me:$LINENO: result: no" >&5
48310 echo "${ECHO_T}no" >&6; }
48311 fi
48312
48313
48314 fi
48315 if test -z "$ac_cv_prog_AR"; then
48316 ac_ct_AR=$AR
48317 # Extract the first word of "ar", so it can be a program name with args.
48318 set dummy ar; ac_word=$2
48319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48321 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48322 echo $ECHO_N "(cached) $ECHO_C" >&6
48323 else
48324 if test -n "$ac_ct_AR"; then
48325 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48326 else
48327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48328 for as_dir in $PATH
48329 do
48330 IFS=$as_save_IFS
48331 test -z "$as_dir" && as_dir=.
48332 for ac_exec_ext in '' $ac_executable_extensions; do
48333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48334 ac_cv_prog_ac_ct_AR="ar"
48335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48336 break 2
48337 fi
48338 done
48339 done
48340 IFS=$as_save_IFS
48341
48342 fi
48343 fi
48344 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48345 if test -n "$ac_ct_AR"; then
48346 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48347 echo "${ECHO_T}$ac_ct_AR" >&6; }
48348 else
48349 { echo "$as_me:$LINENO: result: no" >&5
48350 echo "${ECHO_T}no" >&6; }
48351 fi
48352
48353 if test "x$ac_ct_AR" = x; then
48354 AR="ar"
48355 else
48356 case $cross_compiling:$ac_tool_warned in
48357 yes:)
48358 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48359 whose name does not start with the host triplet. If you think this
48360 configuration is useful to you, please write to autoconf@gnu.org." >&5
48361 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48362 whose name does not start with the host triplet. If you think this
48363 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48364 ac_tool_warned=yes ;;
48365 esac
48366 AR=$ac_ct_AR
48367 fi
48368 else
48369 AR="$ac_cv_prog_AR"
48370 fi
48371
48372 AROPTIONS=rcu
48373 fi
48374
48375
48376 if test -n "$ac_tool_prefix"; then
48377 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48378 set dummy ${ac_tool_prefix}strip; ac_word=$2
48379 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48381 if test "${ac_cv_prog_STRIP+set}" = set; then
48382 echo $ECHO_N "(cached) $ECHO_C" >&6
48383 else
48384 if test -n "$STRIP"; then
48385 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48386 else
48387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48388 for as_dir in $PATH
48389 do
48390 IFS=$as_save_IFS
48391 test -z "$as_dir" && as_dir=.
48392 for ac_exec_ext in '' $ac_executable_extensions; do
48393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48394 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48396 break 2
48397 fi
48398 done
48399 done
48400 IFS=$as_save_IFS
48401
48402 fi
48403 fi
48404 STRIP=$ac_cv_prog_STRIP
48405 if test -n "$STRIP"; then
48406 { echo "$as_me:$LINENO: result: $STRIP" >&5
48407 echo "${ECHO_T}$STRIP" >&6; }
48408 else
48409 { echo "$as_me:$LINENO: result: no" >&5
48410 echo "${ECHO_T}no" >&6; }
48411 fi
48412
48413
48414 fi
48415 if test -z "$ac_cv_prog_STRIP"; then
48416 ac_ct_STRIP=$STRIP
48417 # Extract the first word of "strip", so it can be a program name with args.
48418 set dummy strip; ac_word=$2
48419 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48421 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48422 echo $ECHO_N "(cached) $ECHO_C" >&6
48423 else
48424 if test -n "$ac_ct_STRIP"; then
48425 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48426 else
48427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48428 for as_dir in $PATH
48429 do
48430 IFS=$as_save_IFS
48431 test -z "$as_dir" && as_dir=.
48432 for ac_exec_ext in '' $ac_executable_extensions; do
48433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48434 ac_cv_prog_ac_ct_STRIP="strip"
48435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48436 break 2
48437 fi
48438 done
48439 done
48440 IFS=$as_save_IFS
48441
48442 fi
48443 fi
48444 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48445 if test -n "$ac_ct_STRIP"; then
48446 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48447 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48448 else
48449 { echo "$as_me:$LINENO: result: no" >&5
48450 echo "${ECHO_T}no" >&6; }
48451 fi
48452
48453 if test "x$ac_ct_STRIP" = x; then
48454 STRIP=":"
48455 else
48456 case $cross_compiling:$ac_tool_warned in
48457 yes:)
48458 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48459 whose name does not start with the host triplet. If you think this
48460 configuration is useful to you, please write to autoconf@gnu.org." >&5
48461 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48462 whose name does not start with the host triplet. If you think this
48463 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48464 ac_tool_warned=yes ;;
48465 esac
48466 STRIP=$ac_ct_STRIP
48467 fi
48468 else
48469 STRIP="$ac_cv_prog_STRIP"
48470 fi
48471
48472 if test -n "$ac_tool_prefix"; then
48473 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48474 set dummy ${ac_tool_prefix}nm; ac_word=$2
48475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48477 if test "${ac_cv_prog_NM+set}" = set; then
48478 echo $ECHO_N "(cached) $ECHO_C" >&6
48479 else
48480 if test -n "$NM"; then
48481 ac_cv_prog_NM="$NM" # Let the user override the test.
48482 else
48483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48484 for as_dir in $PATH
48485 do
48486 IFS=$as_save_IFS
48487 test -z "$as_dir" && as_dir=.
48488 for ac_exec_ext in '' $ac_executable_extensions; do
48489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48490 ac_cv_prog_NM="${ac_tool_prefix}nm"
48491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48492 break 2
48493 fi
48494 done
48495 done
48496 IFS=$as_save_IFS
48497
48498 fi
48499 fi
48500 NM=$ac_cv_prog_NM
48501 if test -n "$NM"; then
48502 { echo "$as_me:$LINENO: result: $NM" >&5
48503 echo "${ECHO_T}$NM" >&6; }
48504 else
48505 { echo "$as_me:$LINENO: result: no" >&5
48506 echo "${ECHO_T}no" >&6; }
48507 fi
48508
48509
48510 fi
48511 if test -z "$ac_cv_prog_NM"; then
48512 ac_ct_NM=$NM
48513 # Extract the first word of "nm", so it can be a program name with args.
48514 set dummy nm; ac_word=$2
48515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48517 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48518 echo $ECHO_N "(cached) $ECHO_C" >&6
48519 else
48520 if test -n "$ac_ct_NM"; then
48521 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48522 else
48523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48524 for as_dir in $PATH
48525 do
48526 IFS=$as_save_IFS
48527 test -z "$as_dir" && as_dir=.
48528 for ac_exec_ext in '' $ac_executable_extensions; do
48529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48530 ac_cv_prog_ac_ct_NM="nm"
48531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48532 break 2
48533 fi
48534 done
48535 done
48536 IFS=$as_save_IFS
48537
48538 fi
48539 fi
48540 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48541 if test -n "$ac_ct_NM"; then
48542 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48543 echo "${ECHO_T}$ac_ct_NM" >&6; }
48544 else
48545 { echo "$as_me:$LINENO: result: no" >&5
48546 echo "${ECHO_T}no" >&6; }
48547 fi
48548
48549 if test "x$ac_ct_NM" = x; then
48550 NM=":"
48551 else
48552 case $cross_compiling:$ac_tool_warned in
48553 yes:)
48554 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48555 whose name does not start with the host triplet. If you think this
48556 configuration is useful to you, please write to autoconf@gnu.org." >&5
48557 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48558 whose name does not start with the host triplet. If you think this
48559 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48560 ac_tool_warned=yes ;;
48561 esac
48562 NM=$ac_ct_NM
48563 fi
48564 else
48565 NM="$ac_cv_prog_NM"
48566 fi
48567
48568
48569 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48570 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48571 INSTALL_TEST_DIR=acbftest$$
48572 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48573 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48574 rmdir $INSTALL_TEST_DIR
48575 INSTALL_DIR='$(INSTALL) -d'
48576 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48577 echo "${ECHO_T}$INSTALL -d" >&6; }
48578 else
48579 INSTALL_DIR="mkdir -p"
48580 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48581 echo "${ECHO_T}mkdir -p" >&6; }
48582 fi
48583
48584
48585 LDFLAGS_GUI=
48586 case ${BAKEFILE_HOST} in
48587 *-*-cygwin* | *-*-mingw32* )
48588 LDFLAGS_GUI="-mwindows"
48589 esac
48590
48591
48592 fi
48593
48594 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48595 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48596 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48597 echo $ECHO_N "(cached) $ECHO_C" >&6
48598 else
48599
48600 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48601 egrep -s GNU > /dev/null); then
48602 bakefile_cv_prog_makeisgnu="yes"
48603 else
48604 bakefile_cv_prog_makeisgnu="no"
48605 fi
48606
48607 fi
48608 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48609 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48610
48611 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48612 IF_GNU_MAKE=""
48613 else
48614 IF_GNU_MAKE="#"
48615 fi
48616
48617
48618
48619 PLATFORM_UNIX=0
48620 PLATFORM_WIN32=0
48621 PLATFORM_MSDOS=0
48622 PLATFORM_MAC=0
48623 PLATFORM_MACOS=0
48624 PLATFORM_MACOSX=0
48625 PLATFORM_OS2=0
48626 PLATFORM_BEOS=0
48627
48628 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48629 case "${BAKEFILE_HOST}" in
48630 *-*-mingw32* )
48631 PLATFORM_WIN32=1
48632 ;;
48633 *-pc-msdosdjgpp )
48634 PLATFORM_MSDOS=1
48635 ;;
48636 *-pc-os2_emx | *-pc-os2-emx )
48637 PLATFORM_OS2=1
48638 ;;
48639 *-*-darwin* )
48640 PLATFORM_MAC=1
48641 PLATFORM_MACOSX=1
48642 ;;
48643 *-*-beos* )
48644 PLATFORM_BEOS=1
48645 ;;
48646 powerpc-apple-macos* )
48647 PLATFORM_MAC=1
48648 PLATFORM_MACOS=1
48649 ;;
48650 * )
48651 PLATFORM_UNIX=1
48652 ;;
48653 esac
48654 else
48655 case "$BAKEFILE_FORCE_PLATFORM" in
48656 win32 )
48657 PLATFORM_WIN32=1
48658 ;;
48659 msdos )
48660 PLATFORM_MSDOS=1
48661 ;;
48662 os2 )
48663 PLATFORM_OS2=1
48664 ;;
48665 darwin )
48666 PLATFORM_MAC=1
48667 PLATFORM_MACOSX=1
48668 ;;
48669 unix )
48670 PLATFORM_UNIX=1
48671 ;;
48672 beos )
48673 PLATFORM_BEOS=1
48674 ;;
48675 * )
48676 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48677 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48678 { (exit 1); exit 1; }; }
48679 ;;
48680 esac
48681 fi
48682
48683
48684
48685
48686
48687
48688
48689
48690
48691
48692
48693 # Check whether --enable-omf was given.
48694 if test "${enable_omf+set}" = set; then
48695 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48696 fi
48697
48698
48699 case "${BAKEFILE_HOST}" in
48700 *-*-darwin* )
48701 if test "x$GCC" = "xyes"; then
48702 CFLAGS="$CFLAGS -fno-common"
48703 CXXFLAGS="$CXXFLAGS -fno-common"
48704 fi
48705 if test "x$XLCC" = "xyes"; then
48706 CFLAGS="$CFLAGS -qnocommon"
48707 CXXFLAGS="$CXXFLAGS -qnocommon"
48708 fi
48709 ;;
48710
48711 *-pc-os2_emx | *-pc-os2-emx )
48712 if test "x$bk_os2_use_omf" = "xyes" ; then
48713 AR=emxomfar
48714 RANLIB=:
48715 LDFLAGS="-Zomf $LDFLAGS"
48716 CFLAGS="-Zomf $CFLAGS"
48717 CXXFLAGS="-Zomf $CXXFLAGS"
48718 OS2_LIBEXT="lib"
48719 else
48720 OS2_LIBEXT="a"
48721 fi
48722 ;;
48723
48724 i*86-*-beos* )
48725 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48726 ;;
48727 esac
48728
48729
48730 SO_SUFFIX="so"
48731 SO_SUFFIX_MODULE="so"
48732 EXEEXT=""
48733 LIBPREFIX="lib"
48734 LIBEXT=".a"
48735 DLLPREFIX="lib"
48736 DLLPREFIX_MODULE=""
48737 DLLIMP_SUFFIX=""
48738 dlldir="$libdir"
48739
48740 case "${BAKEFILE_HOST}" in
48741 ia64-hp-hpux* )
48742 ;;
48743 *-hp-hpux* )
48744 SO_SUFFIX="sl"
48745 SO_SUFFIX_MODULE="sl"
48746 ;;
48747 *-*-aix* )
48748 SO_SUFFIX="a"
48749 SO_SUFFIX_MODULE="a"
48750 ;;
48751 *-*-cygwin* )
48752 SO_SUFFIX="dll"
48753 SO_SUFFIX_MODULE="dll"
48754 DLLIMP_SUFFIX="dll.a"
48755 EXEEXT=".exe"
48756 DLLPREFIX="cyg"
48757 dlldir="$bindir"
48758 ;;
48759 *-*-mingw32* )
48760 SO_SUFFIX="dll"
48761 SO_SUFFIX_MODULE="dll"
48762 DLLIMP_SUFFIX="dll.a"
48763 EXEEXT=".exe"
48764 DLLPREFIX=""
48765 dlldir="$bindir"
48766 ;;
48767 *-pc-msdosdjgpp )
48768 EXEEXT=".exe"
48769 DLLPREFIX=""
48770 dlldir="$bindir"
48771 ;;
48772 *-pc-os2_emx | *-pc-os2-emx )
48773 SO_SUFFIX="dll"
48774 SO_SUFFIX_MODULE="dll"
48775 DLLIMP_SUFFIX=$OS2_LIBEXT
48776 EXEEXT=".exe"
48777 DLLPREFIX=""
48778 LIBPREFIX=""
48779 LIBEXT=".$OS2_LIBEXT"
48780 dlldir="$bindir"
48781 ;;
48782 *-*-darwin* )
48783 SO_SUFFIX="dylib"
48784 SO_SUFFIX_MODULE="bundle"
48785 ;;
48786 esac
48787
48788 if test "x$DLLIMP_SUFFIX" = "x" ; then
48789 DLLIMP_SUFFIX="$SO_SUFFIX"
48790 fi
48791
48792
48793
48794
48795
48796
48797
48798
48799
48800
48801
48802
48803 PIC_FLAG=""
48804 if test "x$GCC" = "xyes"; then
48805 PIC_FLAG="-fPIC"
48806 fi
48807
48808 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48809 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48810 WINDOWS_IMPLIB=0
48811
48812 case "${BAKEFILE_HOST}" in
48813 *-hp-hpux* )
48814 if test "x$GCC" != "xyes"; then
48815 LDFLAGS="$LDFLAGS -L/usr/lib"
48816
48817 SHARED_LD_CC="${CC} -b -o"
48818 SHARED_LD_CXX="${CXX} -b -o"
48819 PIC_FLAG="+Z"
48820 fi
48821 ;;
48822
48823 *-*-linux* )
48824 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48825 PIC_FLAG="-KPIC"
48826 elif test "x$SUNCXX" = "xyes"; then
48827 SHARED_LD_CC="${CC} -G -o"
48828 SHARED_LD_CXX="${CXX} -G -o"
48829 PIC_FLAG="-KPIC"
48830 fi
48831 ;;
48832
48833 *-*-solaris2* )
48834 if test "x$SUNCXX" = xyes ; then
48835 SHARED_LD_CC="${CC} -G -o"
48836 SHARED_LD_CXX="${CXX} -G -o"
48837 PIC_FLAG="-KPIC"
48838 fi
48839 ;;
48840
48841 *-*-darwin* )
48842
48843 D='$'
48844 cat <<EOF >shared-ld-sh
48845 #!/bin/sh
48846 #-----------------------------------------------------------------------------
48847 #-- Name: distrib/mac/shared-ld-sh
48848 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48849 #-- Author: Gilles Depeyrot
48850 #-- Copyright: (c) 2002 Gilles Depeyrot
48851 #-- Licence: any use permitted
48852 #-----------------------------------------------------------------------------
48853
48854 verbose=0
48855 args=""
48856 objects=""
48857 linking_flag="-dynamiclib"
48858 ldargs="-r -keep_private_externs -nostdlib"
48859
48860 if test "x${D}CXX" = "x"; then
48861 CXX="c++"
48862 fi
48863
48864 while test ${D}# -gt 0; do
48865 case ${D}1 in
48866
48867 -v)
48868 verbose=1
48869 ;;
48870
48871 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48872 # collect these options and values
48873 args="${D}{args} ${D}1 ${D}2"
48874 shift
48875 ;;
48876
48877 -arch|-isysroot)
48878 # collect these options and values
48879 ldargs="${D}{ldargs} ${D}1 ${D}2"
48880 shift
48881 ;;
48882
48883 -s|-Wl,*)
48884 # collect these load args
48885 ldargs="${D}{ldargs} ${D}1"
48886 ;;
48887
48888 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48889 # collect these options
48890 args="${D}{args} ${D}1"
48891 ;;
48892
48893 -dynamiclib|-bundle)
48894 linking_flag="${D}1"
48895 ;;
48896
48897 -*)
48898 echo "shared-ld: unhandled option '${D}1'"
48899 exit 1
48900 ;;
48901
48902 *.o | *.a | *.dylib)
48903 # collect object files
48904 objects="${D}{objects} ${D}1"
48905 ;;
48906
48907 *)
48908 echo "shared-ld: unhandled argument '${D}1'"
48909 exit 1
48910 ;;
48911
48912 esac
48913 shift
48914 done
48915
48916 status=0
48917
48918 #
48919 # Link one module containing all the others
48920 #
48921 if test ${D}{verbose} = 1; then
48922 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48923 fi
48924 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48925 status=${D}?
48926
48927 #
48928 # Link the shared library from the single module created, but only if the
48929 # previous command didn't fail:
48930 #
48931 if test ${D}{status} = 0; then
48932 if test ${D}{verbose} = 1; then
48933 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48934 fi
48935 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48936 status=${D}?
48937 fi
48938
48939 #
48940 # Remove intermediate module
48941 #
48942 rm -f master.${D}${D}.o
48943
48944 exit ${D}status
48945 EOF
48946
48947 chmod +x shared-ld-sh
48948
48949 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48950 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
48951
48952
48953 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48954 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48955 if test "${bakefile_cv_gcc31+set}" = set; then
48956 echo $ECHO_N "(cached) $ECHO_C" >&6
48957 else
48958
48959 cat >conftest.$ac_ext <<_ACEOF
48960 /* confdefs.h. */
48961 _ACEOF
48962 cat confdefs.h >>conftest.$ac_ext
48963 cat >>conftest.$ac_ext <<_ACEOF
48964 /* end confdefs.h. */
48965
48966 int
48967 main ()
48968 {
48969
48970 #if (__GNUC__ < 3) || \
48971 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48972 This is old gcc
48973 #endif
48974
48975 ;
48976 return 0;
48977 }
48978 _ACEOF
48979 rm -f conftest.$ac_objext
48980 if { (ac_try="$ac_compile"
48981 case "(($ac_try" in
48982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48983 *) ac_try_echo=$ac_try;;
48984 esac
48985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48986 (eval "$ac_compile") 2>conftest.er1
48987 ac_status=$?
48988 grep -v '^ *+' conftest.er1 >conftest.err
48989 rm -f conftest.er1
48990 cat conftest.err >&5
48991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48992 (exit $ac_status); } && {
48993 test -z "$ac_c_werror_flag" ||
48994 test ! -s conftest.err
48995 } && test -s conftest.$ac_objext; then
48996
48997 bakefile_cv_gcc31=yes
48998
48999 else
49000 echo "$as_me: failed program was:" >&5
49001 sed 's/^/| /' conftest.$ac_ext >&5
49002
49003
49004 bakefile_cv_gcc31=no
49005
49006
49007 fi
49008
49009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49010
49011 fi
49012 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49013 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49014 if test "$bakefile_cv_gcc31" = "no"; then
49015 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49016 SHARED_LD_CXX="$SHARED_LD_CC"
49017 else
49018 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49019 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49020 fi
49021
49022 if test "x$GCC" == "xyes"; then
49023 PIC_FLAG="-dynamic -fPIC"
49024 fi
49025 if test "x$XLCC" = "xyes"; then
49026 PIC_FLAG="-dynamic -DPIC"
49027 fi
49028 ;;
49029
49030 *-*-aix* )
49031 if test "x$GCC" = "xyes"; then
49032 PIC_FLAG=""
49033
49034 case "${BAKEFILE_HOST}" in
49035 *-*-aix5* )
49036 LD_EXPFULL="-Wl,-bexpfull"
49037 ;;
49038 esac
49039
49040 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49041 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49042 else
49043 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49044 set dummy makeC++SharedLib; ac_word=$2
49045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49047 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49048 echo $ECHO_N "(cached) $ECHO_C" >&6
49049 else
49050 if test -n "$AIX_CXX_LD"; then
49051 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49052 else
49053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49054 for as_dir in $PATH
49055 do
49056 IFS=$as_save_IFS
49057 test -z "$as_dir" && as_dir=.
49058 for ac_exec_ext in '' $ac_executable_extensions; do
49059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49060 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49062 break 2
49063 fi
49064 done
49065 done
49066 IFS=$as_save_IFS
49067
49068 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49069 fi
49070 fi
49071 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49072 if test -n "$AIX_CXX_LD"; then
49073 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49074 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49075 else
49076 { echo "$as_me:$LINENO: result: no" >&5
49077 echo "${ECHO_T}no" >&6; }
49078 fi
49079
49080
49081 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49082 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49083 fi
49084 ;;
49085
49086 *-*-beos* )
49087 SHARED_LD_CC="${LD} -nostart -o"
49088 SHARED_LD_CXX="${LD} -nostart -o"
49089 ;;
49090
49091 *-*-irix* )
49092 if test "x$GCC" != "xyes"; then
49093 PIC_FLAG="-KPIC"
49094 fi
49095 ;;
49096
49097 *-*-cygwin* | *-*-mingw32* )
49098 PIC_FLAG=""
49099 SHARED_LD_CC="\$(CC) -shared -o"
49100 SHARED_LD_CXX="\$(CXX) -shared -o"
49101 WINDOWS_IMPLIB=1
49102 ;;
49103
49104 *-pc-os2_emx | *-pc-os2-emx )
49105 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49106 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49107 PIC_FLAG=""
49108
49109 D='$'
49110 cat <<EOF >dllar.sh
49111 #!/bin/sh
49112 #
49113 # dllar - a tool to build both a .dll and an .a file
49114 # from a set of object (.o) files for EMX/OS2.
49115 #
49116 # Written by Andrew Zabolotny, bit@freya.etu.ru
49117 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49118 #
49119 # This script will accept a set of files on the command line.
49120 # All the public symbols from the .o files will be exported into
49121 # a .DEF file, then linker will be run (through gcc) against them to
49122 # build a shared library consisting of all given .o files. All libraries
49123 # (.a) will be first decompressed into component .o files then act as
49124 # described above. You can optionally give a description (-d "description")
49125 # which will be put into .DLL. To see the list of accepted options (as well
49126 # as command-line format) simply run this program without options. The .DLL
49127 # is built to be imported by name (there is no guarantee that new versions
49128 # of the library you build will have same ordinals for same symbols).
49129 #
49130 # dllar is free software; you can redistribute it and/or modify
49131 # it under the terms of the GNU General Public License as published by
49132 # the Free Software Foundation; either version 2, or (at your option)
49133 # any later version.
49134 #
49135 # dllar is distributed in the hope that it will be useful,
49136 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49137 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49138 # GNU General Public License for more details.
49139 #
49140 # You should have received a copy of the GNU General Public License
49141 # along with dllar; see the file COPYING. If not, write to the Free
49142 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49143 # 02111-1307, USA.
49144
49145 # To successfuly run this program you will need:
49146 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49147 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49148 # - gcc
49149 # (used to build the .dll)
49150 # - emxexp
49151 # (used to create .def file from .o files)
49152 # - emximp
49153 # (used to create .a file from .def file)
49154 # - GNU text utilites (cat, sort, uniq)
49155 # used to process emxexp output
49156 # - GNU file utilities (mv, rm)
49157 # - GNU sed
49158 # - lxlite (optional, see flag below)
49159 # (used for general .dll cleanup)
49160 #
49161
49162 flag_USE_LXLITE=1;
49163
49164 #
49165 # helper functions
49166 # basnam, variant of basename, which does _not_ remove the path, _iff_
49167 # second argument (suffix to remove) is given
49168 basnam(){
49169 case ${D}# in
49170 1)
49171 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49172 ;;
49173 2)
49174 echo ${D}1 | sed 's/'${D}2'${D}//'
49175 ;;
49176 *)
49177 echo "error in basnam ${D}*"
49178 exit 8
49179 ;;
49180 esac
49181 }
49182
49183 # Cleanup temporary files and output
49184 CleanUp() {
49185 cd ${D}curDir
49186 for i in ${D}inputFiles ; do
49187 case ${D}i in
49188 *!)
49189 rm -rf \`basnam ${D}i !\`
49190 ;;
49191 *)
49192 ;;
49193 esac
49194 done
49195
49196 # Kill result in case of failure as there is just to many stupid make/nmake
49197 # things out there which doesn't do this.
49198 if [ ${D}# -eq 0 ]; then
49199 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49200 fi
49201 }
49202
49203 # Print usage and exit script with rc=1.
49204 PrintHelp() {
49205 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49206 echo ' [-name-mangler-script script.sh]'
49207 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49208 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49209 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49210 echo ' [*.o] [*.a]'
49211 echo '*> "output_file" should have no extension.'
49212 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49213 echo ' The import library name is derived from this and is set to "name".a,'
49214 echo ' unless overridden by -import'
49215 echo '*> "importlib_name" should have no extension.'
49216 echo ' If it has the .o, or .a extension, it is automatically removed.'
49217 echo ' This name is used as the import library name and may be longer and'
49218 echo ' more descriptive than the DLL name which has to follow the old '
49219 echo ' 8.3 convention of FAT.'
49220 echo '*> "script.sh may be given to override the output_file name by a'
49221 echo ' different name. It is mainly useful if the regular make process'
49222 echo ' of some package does not take into account OS/2 restriction of'
49223 echo ' DLL name lengths. It takes the importlib name as input and is'
49224 echo ' supposed to procude a shorter name as output. The script should'
49225 echo ' expect to get importlib_name without extension and should produce'
49226 echo ' a (max.) 8 letter name without extension.'
49227 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49228 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49229 echo ' These flags will be put at the start of GCC command line.'
49230 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49231 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49232 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49233 echo ' If the last character of a symbol is "*", all symbols beginning'
49234 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49235 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49236 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49237 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49238 echo ' C runtime DLLs.'
49239 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49240 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49241 echo ' unchanged to GCC at the end of command line.'
49242 echo '*> If you create a DLL from a library and you do not specify -o,'
49243 echo ' the basename for DLL and import library will be set to library name,'
49244 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49245 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49246 echo ' library will be renamed into gcc_s.a.'
49247 echo '--------'
49248 echo 'Example:'
49249 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49250 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49251 CleanUp
49252 exit 1
49253 }
49254
49255 # Execute a command.
49256 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49257 # @Uses Whatever CleanUp() uses.
49258 doCommand() {
49259 echo "${D}*"
49260 eval ${D}*
49261 rcCmd=${D}?
49262
49263 if [ ${D}rcCmd -ne 0 ]; then
49264 echo "command failed, exit code="${D}rcCmd
49265 CleanUp
49266 exit ${D}rcCmd
49267 fi
49268 }
49269
49270 # main routine
49271 # setup globals
49272 cmdLine=${D}*
49273 outFile=""
49274 outimpFile=""
49275 inputFiles=""
49276 renameScript=""
49277 description=""
49278 CC=gcc.exe
49279 CFLAGS="-s -Zcrtdll"
49280 EXTRA_CFLAGS=""
49281 EXPORT_BY_ORDINALS=0
49282 exclude_symbols=""
49283 library_flags=""
49284 curDir=\`pwd\`
49285 curDirS=curDir
49286 case ${D}curDirS in
49287 */)
49288 ;;
49289 *)
49290 curDirS=${D}{curDirS}"/"
49291 ;;
49292 esac
49293 # Parse commandline
49294 libsToLink=0
49295 omfLinking=0
49296 while [ ${D}1 ]; do
49297 case ${D}1 in
49298 -ord*)
49299 EXPORT_BY_ORDINALS=1;
49300 ;;
49301 -o*)
49302 shift
49303 outFile=${D}1
49304 ;;
49305 -i*)
49306 shift
49307 outimpFile=${D}1
49308 ;;
49309 -name-mangler-script)
49310 shift
49311 renameScript=${D}1
49312 ;;
49313 -d*)
49314 shift
49315 description=${D}1
49316 ;;
49317 -f*)
49318 shift
49319 CFLAGS=${D}1
49320 ;;
49321 -c*)
49322 shift
49323 CC=${D}1
49324 ;;
49325 -h*)
49326 PrintHelp
49327 ;;
49328 -ex*)
49329 shift
49330 exclude_symbols=${D}{exclude_symbols}${D}1" "
49331 ;;
49332 -libf*)
49333 shift
49334 library_flags=${D}{library_flags}${D}1" "
49335 ;;
49336 -nocrt*)
49337 CFLAGS="-s"
49338 ;;
49339 -nolxl*)
49340 flag_USE_LXLITE=0
49341 ;;
49342 -* | /*)
49343 case ${D}1 in
49344 -L* | -l*)
49345 libsToLink=1
49346 ;;
49347 -Zomf)
49348 omfLinking=1
49349 ;;
49350 *)
49351 ;;
49352 esac
49353 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49354 ;;
49355 *.dll)
49356 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49357 if [ ${D}omfLinking -eq 1 ]; then
49358 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49359 else
49360 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49361 fi
49362 ;;
49363 *)
49364 found=0;
49365 if [ ${D}libsToLink -ne 0 ]; then
49366 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49367 else
49368 for file in ${D}1 ; do
49369 if [ -f ${D}file ]; then
49370 inputFiles="${D}{inputFiles} ${D}file"
49371 found=1
49372 fi
49373 done
49374 if [ ${D}found -eq 0 ]; then
49375 echo "ERROR: No file(s) found: "${D}1
49376 exit 8
49377 fi
49378 fi
49379 ;;
49380 esac
49381 shift
49382 done # iterate cmdline words
49383
49384 #
49385 if [ -z "${D}inputFiles" ]; then
49386 echo "dllar: no input files"
49387 PrintHelp
49388 fi
49389
49390 # Now extract all .o files from .a files
49391 newInputFiles=""
49392 for file in ${D}inputFiles ; do
49393 case ${D}file in
49394 *.a | *.lib)
49395 case ${D}file in
49396 *.a)
49397 suffix=".a"
49398 AR="ar"
49399 ;;
49400 *.lib)
49401 suffix=".lib"
49402 AR="emxomfar"
49403 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49404 ;;
49405 *)
49406 ;;
49407 esac
49408 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49409 mkdir ${D}dirname
49410 if [ ${D}? -ne 0 ]; then
49411 echo "Failed to create subdirectory ./${D}dirname"
49412 CleanUp
49413 exit 8;
49414 fi
49415 # Append '!' to indicate archive
49416 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49417 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49418 cd ${D}curDir
49419 found=0;
49420 for subfile in ${D}dirname/*.o* ; do
49421 if [ -f ${D}subfile ]; then
49422 found=1
49423 if [ -s ${D}subfile ]; then
49424 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49425 newInputFiles="${D}newInputFiles ${D}subfile"
49426 fi
49427 fi
49428 done
49429 if [ ${D}found -eq 0 ]; then
49430 echo "WARNING: there are no files in archive \\'${D}file\\'"
49431 fi
49432 ;;
49433 *)
49434 newInputFiles="${D}{newInputFiles} ${D}file"
49435 ;;
49436 esac
49437 done
49438 inputFiles="${D}newInputFiles"
49439
49440 # Output filename(s).
49441 do_backup=0;
49442 if [ -z ${D}outFile ]; then
49443 do_backup=1;
49444 set outFile ${D}inputFiles; outFile=${D}2
49445 fi
49446
49447 # If it is an archive, remove the '!' and the '_%' suffixes
49448 case ${D}outFile in
49449 *_%!)
49450 outFile=\`basnam ${D}outFile _%!\`
49451 ;;
49452 *)
49453 ;;
49454 esac
49455 case ${D}outFile in
49456 *.dll)
49457 outFile=\`basnam ${D}outFile .dll\`
49458 ;;
49459 *.DLL)
49460 outFile=\`basnam ${D}outFile .DLL\`
49461 ;;
49462 *.o)
49463 outFile=\`basnam ${D}outFile .o\`
49464 ;;
49465 *.obj)
49466 outFile=\`basnam ${D}outFile .obj\`
49467 ;;
49468 *.a)
49469 outFile=\`basnam ${D}outFile .a\`
49470 ;;
49471 *.lib)
49472 outFile=\`basnam ${D}outFile .lib\`
49473 ;;
49474 *)
49475 ;;
49476 esac
49477 case ${D}outimpFile in
49478 *.a)
49479 outimpFile=\`basnam ${D}outimpFile .a\`
49480 ;;
49481 *.lib)
49482 outimpFile=\`basnam ${D}outimpFile .lib\`
49483 ;;
49484 *)
49485 ;;
49486 esac
49487 if [ -z ${D}outimpFile ]; then
49488 outimpFile=${D}outFile
49489 fi
49490 defFile="${D}{outFile}.def"
49491 arcFile="${D}{outimpFile}.a"
49492 arcFile2="${D}{outimpFile}.lib"
49493
49494 #create ${D}dllFile as something matching 8.3 restrictions,
49495 if [ -z ${D}renameScript ] ; then
49496 dllFile="${D}outFile"
49497 else
49498 dllFile=\`${D}renameScript ${D}outimpFile\`
49499 fi
49500
49501 if [ ${D}do_backup -ne 0 ] ; then
49502 if [ -f ${D}arcFile ] ; then
49503 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49504 fi
49505 if [ -f ${D}arcFile2 ] ; then
49506 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49507 fi
49508 fi
49509
49510 # Extract public symbols from all the object files.
49511 tmpdefFile=${D}{defFile}_%
49512 rm -f ${D}tmpdefFile
49513 for file in ${D}inputFiles ; do
49514 case ${D}file in
49515 *!)
49516 ;;
49517 *)
49518 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49519 ;;
49520 esac
49521 done
49522
49523 # Create the def file.
49524 rm -f ${D}defFile
49525 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49526 dllFile="${D}{dllFile}.dll"
49527 if [ ! -z ${D}description ]; then
49528 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49529 fi
49530 echo "EXPORTS" >> ${D}defFile
49531
49532 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49533 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49534
49535 # Checks if the export is ok or not.
49536 for word in ${D}exclude_symbols; do
49537 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49538 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49539 done
49540
49541
49542 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49543 sed "=" < ${D}tmpdefFile | \\
49544 sed '
49545 N
49546 : loop
49547 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49548 t loop
49549 ' > ${D}{tmpdefFile}%
49550 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49551 else
49552 rm -f ${D}{tmpdefFile}%
49553 fi
49554 cat ${D}tmpdefFile >> ${D}defFile
49555 rm -f ${D}tmpdefFile
49556
49557 # Do linking, create implib, and apply lxlite.
49558 gccCmdl="";
49559 for file in ${D}inputFiles ; do
49560 case ${D}file in
49561 *!)
49562 ;;
49563 *)
49564 gccCmdl="${D}gccCmdl ${D}file"
49565 ;;
49566 esac
49567 done
49568 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49569 touch "${D}{outFile}.dll"
49570
49571 doCommand "emximp -o ${D}arcFile ${D}defFile"
49572 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49573 add_flags="";
49574 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49575 add_flags="-ynd"
49576 fi
49577 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49578 fi
49579 doCommand "emxomf -s -l ${D}arcFile"
49580
49581 # Successful exit.
49582 CleanUp 1
49583 exit 0
49584 EOF
49585
49586 chmod +x dllar.sh
49587 ;;
49588
49589 powerpc-apple-macos* | \
49590 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49591 *-*-mirbsd* | \
49592 *-*-sunos4* | \
49593 *-*-osf* | \
49594 *-*-dgux5* | \
49595 *-*-sysv5* | \
49596 *-pc-msdosdjgpp )
49597 ;;
49598
49599 *)
49600 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49601 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49602 { (exit 1); exit 1; }; }
49603 esac
49604
49605 if test "x$PIC_FLAG" != "x" ; then
49606 PIC_FLAG="$PIC_FLAG -DPIC"
49607 fi
49608
49609 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49610 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49611 fi
49612 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49613 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49614 fi
49615
49616
49617
49618
49619
49620
49621
49622
49623
49624 USE_SOVERSION=0
49625 USE_SOVERLINUX=0
49626 USE_SOVERSOLARIS=0
49627 USE_SOVERCYGWIN=0
49628 USE_SOTWOSYMLINKS=0
49629 USE_MACVERSION=0
49630 SONAME_FLAG=
49631
49632 case "${BAKEFILE_HOST}" in
49633 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49634 *-*-k*bsd*-gnu | *-*-mirbsd* )
49635 if test "x$SUNCXX" = "xyes"; then
49636 SONAME_FLAG="-h "
49637 else
49638 SONAME_FLAG="-Wl,-soname,"
49639 fi
49640 USE_SOVERSION=1
49641 USE_SOVERLINUX=1
49642 USE_SOTWOSYMLINKS=1
49643 ;;
49644
49645 *-*-solaris2* )
49646 SONAME_FLAG="-h "
49647 USE_SOVERSION=1
49648 USE_SOVERSOLARIS=1
49649 ;;
49650
49651 *-*-darwin* )
49652 USE_MACVERSION=1
49653 USE_SOVERSION=1
49654 USE_SOTWOSYMLINKS=1
49655 ;;
49656
49657 *-*-cygwin* )
49658 USE_SOVERSION=1
49659 USE_SOVERCYGWIN=1
49660 ;;
49661 esac
49662
49663
49664
49665
49666
49667
49668
49669
49670
49671
49672 # Check whether --enable-dependency-tracking was given.
49673 if test "${enable_dependency_tracking+set}" = set; then
49674 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49675 fi
49676
49677
49678 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49679 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49680
49681 BK_DEPS=""
49682 if test "x$bk_use_trackdeps" = "xno" ; then
49683 DEPS_TRACKING=0
49684 { echo "$as_me:$LINENO: result: disabled" >&5
49685 echo "${ECHO_T}disabled" >&6; }
49686 else
49687 DEPS_TRACKING=1
49688
49689 if test "x$GCC" = "xyes"; then
49690 DEPSMODE=gcc
49691 case "${BAKEFILE_HOST}" in
49692 *-*-darwin* )
49693 DEPSFLAG="-no-cpp-precomp -MMD"
49694 ;;
49695 * )
49696 DEPSFLAG="-MMD"
49697 ;;
49698 esac
49699 { echo "$as_me:$LINENO: result: gcc" >&5
49700 echo "${ECHO_T}gcc" >&6; }
49701 elif test "x$MWCC" = "xyes"; then
49702 DEPSMODE=mwcc
49703 DEPSFLAG="-MM"
49704 { echo "$as_me:$LINENO: result: mwcc" >&5
49705 echo "${ECHO_T}mwcc" >&6; }
49706 elif test "x$SUNCC" = "xyes"; then
49707 DEPSMODE=unixcc
49708 DEPSFLAG="-xM1"
49709 { echo "$as_me:$LINENO: result: Sun cc" >&5
49710 echo "${ECHO_T}Sun cc" >&6; }
49711 elif test "x$SGICC" = "xyes"; then
49712 DEPSMODE=unixcc
49713 DEPSFLAG="-M"
49714 { echo "$as_me:$LINENO: result: SGI cc" >&5
49715 echo "${ECHO_T}SGI cc" >&6; }
49716 elif test "x$HPCC" = "xyes"; then
49717 DEPSMODE=unixcc
49718 DEPSFLAG="+make"
49719 { echo "$as_me:$LINENO: result: HP cc" >&5
49720 echo "${ECHO_T}HP cc" >&6; }
49721 elif test "x$COMPAQCC" = "xyes"; then
49722 DEPSMODE=gcc
49723 DEPSFLAG="-MD"
49724 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49725 echo "${ECHO_T}Compaq cc" >&6; }
49726 else
49727 DEPS_TRACKING=0
49728 { echo "$as_me:$LINENO: result: none" >&5
49729 echo "${ECHO_T}none" >&6; }
49730 fi
49731
49732 if test $DEPS_TRACKING = 1 ; then
49733
49734 D='$'
49735 cat <<EOF >bk-deps
49736 #!/bin/sh
49737
49738 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49739 # script. It is used to track C/C++ files dependencies in portable way.
49740 #
49741 # Permission is given to use this file in any way.
49742
49743 DEPSMODE=${DEPSMODE}
49744 DEPSFLAG="${DEPSFLAG}"
49745 DEPSDIRBASE=.deps
49746
49747 if test ${D}DEPSMODE = gcc ; then
49748 ${D}* ${D}{DEPSFLAG}
49749 status=${D}?
49750
49751 # determine location of created files:
49752 while test ${D}# -gt 0; do
49753 case "${D}1" in
49754 -o )
49755 shift
49756 objfile=${D}1
49757 ;;
49758 -* )
49759 ;;
49760 * )
49761 srcfile=${D}1
49762 ;;
49763 esac
49764 shift
49765 done
49766 objfilebase=\`basename ${D}objfile\`
49767 builddir=\`dirname ${D}objfile\`
49768 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49769 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49770 depsdir=${D}builddir/${D}DEPSDIRBASE
49771 mkdir -p ${D}depsdir
49772
49773 # if the compiler failed, we're done:
49774 if test ${D}{status} != 0 ; then
49775 rm -f ${D}depfile
49776 exit ${D}{status}
49777 fi
49778
49779 # move created file to the location we want it in:
49780 if test -f ${D}depfile ; then
49781 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49782 rm -f ${D}depfile
49783 else
49784 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49785 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49786 if test ! -f ${D}depfile ; then
49787 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49788 depfile="${D}objfile.d"
49789 fi
49790 if test -f ${D}depfile ; then
49791 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49792 rm -f ${D}depfile
49793 fi
49794 fi
49795 exit 0
49796
49797 elif test ${D}DEPSMODE = mwcc ; then
49798 ${D}* || exit ${D}?
49799 # Run mwcc again with -MM and redirect into the dep file we want
49800 # NOTE: We can't use shift here because we need ${D}* to be valid
49801 prevarg=
49802 for arg in ${D}* ; do
49803 if test "${D}prevarg" = "-o"; then
49804 objfile=${D}arg
49805 else
49806 case "${D}arg" in
49807 -* )
49808 ;;
49809 * )
49810 srcfile=${D}arg
49811 ;;
49812 esac
49813 fi
49814 prevarg="${D}arg"
49815 done
49816
49817 objfilebase=\`basename ${D}objfile\`
49818 builddir=\`dirname ${D}objfile\`
49819 depsdir=${D}builddir/${D}DEPSDIRBASE
49820 mkdir -p ${D}depsdir
49821
49822 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49823 exit 0
49824
49825 elif test ${D}DEPSMODE = unixcc; then
49826 ${D}* || exit ${D}?
49827 # Run compiler again with deps flag and redirect into the dep file.
49828 # It doesn't work if the '-o FILE' option is used, but without it the
49829 # dependency file will contain the wrong name for the object. So it is
49830 # removed from the command line, and the dep file is fixed with sed.
49831 cmd=""
49832 while test ${D}# -gt 0; do
49833 case "${D}1" in
49834 -o )
49835 shift
49836 objfile=${D}1
49837 ;;
49838 * )
49839 eval arg${D}#=\\${D}1
49840 cmd="${D}cmd \\${D}arg${D}#"
49841 ;;
49842 esac
49843 shift
49844 done
49845
49846 objfilebase=\`basename ${D}objfile\`
49847 builddir=\`dirname ${D}objfile\`
49848 depsdir=${D}builddir/${D}DEPSDIRBASE
49849 mkdir -p ${D}depsdir
49850
49851 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49852 exit 0
49853
49854 else
49855 ${D}*
49856 exit ${D}?
49857 fi
49858 EOF
49859
49860 chmod +x bk-deps
49861 BK_DEPS="`pwd`/bk-deps"
49862 fi
49863 fi
49864
49865
49866
49867
49868
49869 case ${BAKEFILE_HOST} in
49870 *-*-cygwin* | *-*-mingw32* )
49871 if test -n "$ac_tool_prefix"; then
49872 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49873 set dummy ${ac_tool_prefix}windres; ac_word=$2
49874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49876 if test "${ac_cv_prog_WINDRES+set}" = set; then
49877 echo $ECHO_N "(cached) $ECHO_C" >&6
49878 else
49879 if test -n "$WINDRES"; then
49880 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49881 else
49882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49883 for as_dir in $PATH
49884 do
49885 IFS=$as_save_IFS
49886 test -z "$as_dir" && as_dir=.
49887 for ac_exec_ext in '' $ac_executable_extensions; do
49888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49889 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49891 break 2
49892 fi
49893 done
49894 done
49895 IFS=$as_save_IFS
49896
49897 fi
49898 fi
49899 WINDRES=$ac_cv_prog_WINDRES
49900 if test -n "$WINDRES"; then
49901 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49902 echo "${ECHO_T}$WINDRES" >&6; }
49903 else
49904 { echo "$as_me:$LINENO: result: no" >&5
49905 echo "${ECHO_T}no" >&6; }
49906 fi
49907
49908
49909 fi
49910 if test -z "$ac_cv_prog_WINDRES"; then
49911 ac_ct_WINDRES=$WINDRES
49912 # Extract the first word of "windres", so it can be a program name with args.
49913 set dummy windres; ac_word=$2
49914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49916 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49917 echo $ECHO_N "(cached) $ECHO_C" >&6
49918 else
49919 if test -n "$ac_ct_WINDRES"; then
49920 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49921 else
49922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49923 for as_dir in $PATH
49924 do
49925 IFS=$as_save_IFS
49926 test -z "$as_dir" && as_dir=.
49927 for ac_exec_ext in '' $ac_executable_extensions; do
49928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49929 ac_cv_prog_ac_ct_WINDRES="windres"
49930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49931 break 2
49932 fi
49933 done
49934 done
49935 IFS=$as_save_IFS
49936
49937 fi
49938 fi
49939 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49940 if test -n "$ac_ct_WINDRES"; then
49941 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49942 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49943 else
49944 { echo "$as_me:$LINENO: result: no" >&5
49945 echo "${ECHO_T}no" >&6; }
49946 fi
49947
49948 if test "x$ac_ct_WINDRES" = x; then
49949 WINDRES=""
49950 else
49951 case $cross_compiling:$ac_tool_warned in
49952 yes:)
49953 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49954 whose name does not start with the host triplet. If you think this
49955 configuration is useful to you, please write to autoconf@gnu.org." >&5
49956 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49957 whose name does not start with the host triplet. If you think this
49958 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49959 ac_tool_warned=yes ;;
49960 esac
49961 WINDRES=$ac_ct_WINDRES
49962 fi
49963 else
49964 WINDRES="$ac_cv_prog_WINDRES"
49965 fi
49966
49967 ;;
49968
49969 *-*-darwin* | powerpc-apple-macos* )
49970 # Extract the first word of "Rez", so it can be a program name with args.
49971 set dummy Rez; ac_word=$2
49972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49974 if test "${ac_cv_prog_REZ+set}" = set; then
49975 echo $ECHO_N "(cached) $ECHO_C" >&6
49976 else
49977 if test -n "$REZ"; then
49978 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49979 else
49980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49981 for as_dir in $PATH
49982 do
49983 IFS=$as_save_IFS
49984 test -z "$as_dir" && as_dir=.
49985 for ac_exec_ext in '' $ac_executable_extensions; do
49986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49987 ac_cv_prog_REZ="Rez"
49988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49989 break 2
49990 fi
49991 done
49992 done
49993 IFS=$as_save_IFS
49994
49995 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49996 fi
49997 fi
49998 REZ=$ac_cv_prog_REZ
49999 if test -n "$REZ"; then
50000 { echo "$as_me:$LINENO: result: $REZ" >&5
50001 echo "${ECHO_T}$REZ" >&6; }
50002 else
50003 { echo "$as_me:$LINENO: result: no" >&5
50004 echo "${ECHO_T}no" >&6; }
50005 fi
50006
50007
50008 # Extract the first word of "SetFile", so it can be a program name with args.
50009 set dummy SetFile; ac_word=$2
50010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50012 if test "${ac_cv_prog_SETFILE+set}" = set; then
50013 echo $ECHO_N "(cached) $ECHO_C" >&6
50014 else
50015 if test -n "$SETFILE"; then
50016 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50017 else
50018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50019 for as_dir in $PATH
50020 do
50021 IFS=$as_save_IFS
50022 test -z "$as_dir" && as_dir=.
50023 for ac_exec_ext in '' $ac_executable_extensions; do
50024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50025 ac_cv_prog_SETFILE="SetFile"
50026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50027 break 2
50028 fi
50029 done
50030 done
50031 IFS=$as_save_IFS
50032
50033 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50034 fi
50035 fi
50036 SETFILE=$ac_cv_prog_SETFILE
50037 if test -n "$SETFILE"; then
50038 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50039 echo "${ECHO_T}$SETFILE" >&6; }
50040 else
50041 { echo "$as_me:$LINENO: result: no" >&5
50042 echo "${ECHO_T}no" >&6; }
50043 fi
50044
50045
50046 ;;
50047 esac
50048
50049
50050
50051
50052
50053
50054
50055
50056
50057 BAKEFILE_BAKEFILE_M4_VERSION="0.2.8"
50058
50059
50060 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8"
50061
50062
50063
50064 # Check whether --enable-precomp-headers was given.
50065 if test "${enable_precomp_headers+set}" = set; then
50066 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
50067 fi
50068
50069
50070 GCC_PCH=0
50071 ICC_PCH=0
50072 USE_PCH=0
50073 BK_MAKE_PCH=""
50074
50075 case ${BAKEFILE_HOST} in
50076 *-*-cygwin* )
50077 bk_use_pch="no"
50078 ;;
50079 esac
50080
50081 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50082 if test "x$GCC" = "xyes"; then
50083 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50084 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50085 cat >conftest.$ac_ext <<_ACEOF
50086 /* confdefs.h. */
50087 _ACEOF
50088 cat confdefs.h >>conftest.$ac_ext
50089 cat >>conftest.$ac_ext <<_ACEOF
50090 /* end confdefs.h. */
50091
50092 int
50093 main ()
50094 {
50095
50096 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50097 There is no PCH support
50098 #endif
50099 #if (__GNUC__ < 3)
50100 There is no PCH support
50101 #endif
50102 #if (__GNUC__ == 3) && \
50103 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50104 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50105 ( defined(__INTEL_COMPILER) )
50106 There is no PCH support
50107 #endif
50108
50109 ;
50110 return 0;
50111 }
50112 _ACEOF
50113 rm -f conftest.$ac_objext
50114 if { (ac_try="$ac_compile"
50115 case "(($ac_try" in
50116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50117 *) ac_try_echo=$ac_try;;
50118 esac
50119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50120 (eval "$ac_compile") 2>conftest.er1
50121 ac_status=$?
50122 grep -v '^ *+' conftest.er1 >conftest.err
50123 rm -f conftest.er1
50124 cat conftest.err >&5
50125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50126 (exit $ac_status); } && {
50127 test -z "$ac_c_werror_flag" ||
50128 test ! -s conftest.err
50129 } && test -s conftest.$ac_objext; then
50130
50131 { echo "$as_me:$LINENO: result: yes" >&5
50132 echo "${ECHO_T}yes" >&6; }
50133 GCC_PCH=1
50134
50135 else
50136 echo "$as_me: failed program was:" >&5
50137 sed 's/^/| /' conftest.$ac_ext >&5
50138
50139
50140 if test "$INTELCXX8" = "yes"; then
50141 { echo "$as_me:$LINENO: result: yes" >&5
50142 echo "${ECHO_T}yes" >&6; }
50143 ICC_PCH=1
50144 if test "$INTELCXX10" = "yes"; then
50145 ICC_PCH_CREATE_SWITCH="-pch-create"
50146 ICC_PCH_USE_SWITCH="-pch-use"
50147 else
50148 ICC_PCH_CREATE_SWITCH="-create-pch"
50149 ICC_PCH_USE_SWITCH="-use-pch"
50150 fi
50151 else
50152 { echo "$as_me:$LINENO: result: no" >&5
50153 echo "${ECHO_T}no" >&6; }
50154 fi
50155
50156 fi
50157
50158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50159 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50160 USE_PCH=1
50161
50162 D='$'
50163 cat <<EOF >bk-make-pch
50164 #!/bin/sh
50165
50166 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50167 # script. It is used to generated precompiled headers.
50168 #
50169 # Permission is given to use this file in any way.
50170
50171 outfile="${D}{1}"
50172 header="${D}{2}"
50173 shift
50174 shift
50175
50176 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
50177
50178 compiler=""
50179 headerfile=""
50180
50181 while test ${D}{#} -gt 0; do
50182 add_to_cmdline=1
50183 case "${D}{1}" in
50184 -I* )
50185 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
50186 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50187 headerfile="${D}{incdir}/${D}{header}"
50188 fi
50189 ;;
50190 -use-pch|-use_pch|-pch-use )
50191 shift
50192 add_to_cmdline=0
50193 ;;
50194 esac
50195 if test ${D}add_to_cmdline = 1 ; then
50196 compiler="${D}{compiler} ${D}{1}"
50197 fi
50198 shift
50199 done
50200
50201 if test "x${D}{headerfile}" = "x" ; then
50202 echo "error: can't find header ${D}{header} in include paths" >&2
50203 else
50204 if test -f ${D}{outfile} ; then
50205 rm -f ${D}{outfile}
50206 else
50207 mkdir -p \`dirname ${D}{outfile}\`
50208 fi
50209 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
50210 mkdir -p ${D}{builddir}/.deps
50211 if test "x${GCC_PCH}" = "x1" ; then
50212 # can do this because gcc is >= 3.4:
50213 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50214 elif test "x${ICC_PCH}" = "x1" ; then
50215 filename=pch_gen-${D}${D}
50216 file=${D}{filename}.c
50217 dfile=${D}{filename}.d
50218 cat > ${D}file <<EOT
50219 #include "${D}header"
50220 EOT
50221 # using -MF icc complains about differing command lines in creation/use
50222 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50223 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50224 rm -f ${D}file ${D}dfile ${D}{filename}.o
50225 fi
50226 exit ${D}{?}
50227 fi
50228 EOF
50229
50230 chmod +x bk-make-pch
50231 BK_MAKE_PCH="`pwd`/bk-make-pch"
50232 fi
50233 fi
50234 fi
50235
50236
50237
50238
50239
50240
50241
50242 COND_BUILD_DEBUG="#"
50243 if test "x$BUILD" = "xdebug" ; then
50244 COND_BUILD_DEBUG=""
50245 fi
50246
50247 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50248 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50249 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50250 fi
50251
50252 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50253 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50254 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50255 fi
50256
50257 COND_BUILD_DEBUG_UNICODE_0="#"
50258 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50259 COND_BUILD_DEBUG_UNICODE_0=""
50260 fi
50261
50262 COND_BUILD_DEBUG_UNICODE_1="#"
50263 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50264 COND_BUILD_DEBUG_UNICODE_1=""
50265 fi
50266
50267 COND_BUILD_RELEASE="#"
50268 if test "x$BUILD" = "xrelease" ; then
50269 COND_BUILD_RELEASE=""
50270 fi
50271
50272 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50273 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50274 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50275 fi
50276
50277 COND_BUILD_RELEASE_UNICODE_0="#"
50278 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50279 COND_BUILD_RELEASE_UNICODE_0=""
50280 fi
50281
50282 COND_BUILD_RELEASE_UNICODE_1="#"
50283 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50284 COND_BUILD_RELEASE_UNICODE_1=""
50285 fi
50286
50287 COND_BUILD_debug="#"
50288 if test "x$BUILD" = "xdebug" ; then
50289 COND_BUILD_debug=""
50290 fi
50291
50292 COND_BUILD_debug_DEBUG_FLAG_default="#"
50293 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50294 COND_BUILD_debug_DEBUG_FLAG_default=""
50295 fi
50296
50297 COND_BUILD_debug_DEBUG_INFO_default="#"
50298 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50299 COND_BUILD_debug_DEBUG_INFO_default=""
50300 fi
50301
50302 COND_BUILD_debug_UNICODE_0="#"
50303 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50304 COND_BUILD_debug_UNICODE_0=""
50305 fi
50306
50307 COND_BUILD_debug_UNICODE_1="#"
50308 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50309 COND_BUILD_debug_UNICODE_1=""
50310 fi
50311
50312 COND_BUILD_release="#"
50313 if test "x$BUILD" = "xrelease" ; then
50314 COND_BUILD_release=""
50315 fi
50316
50317 COND_BUILD_release_DEBUG_INFO_default="#"
50318 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50319 COND_BUILD_release_DEBUG_INFO_default=""
50320 fi
50321
50322 COND_BUILD_release_UNICODE_0="#"
50323 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50324 COND_BUILD_release_UNICODE_0=""
50325 fi
50326
50327 COND_BUILD_release_UNICODE_1="#"
50328 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50329 COND_BUILD_release_UNICODE_1=""
50330 fi
50331
50332 COND_DEBUG_FLAG_0="#"
50333 if test "x$DEBUG_FLAG" = "x0" ; then
50334 COND_DEBUG_FLAG_0=""
50335 fi
50336
50337 COND_DEBUG_FLAG_1="#"
50338 if test "x$DEBUG_FLAG" = "x1" ; then
50339 COND_DEBUG_FLAG_1=""
50340 fi
50341
50342 COND_DEBUG_INFO_0="#"
50343 if test "x$DEBUG_INFO" = "x0" ; then
50344 COND_DEBUG_INFO_0=""
50345 fi
50346
50347 COND_DEBUG_INFO_1="#"
50348 if test "x$DEBUG_INFO" = "x1" ; then
50349 COND_DEBUG_INFO_1=""
50350 fi
50351
50352 COND_DEPS_TRACKING_0="#"
50353 if test "x$DEPS_TRACKING" = "x0" ; then
50354 COND_DEPS_TRACKING_0=""
50355 fi
50356
50357 COND_DEPS_TRACKING_1="#"
50358 if test "x$DEPS_TRACKING" = "x1" ; then
50359 COND_DEPS_TRACKING_1=""
50360 fi
50361
50362 COND_GCC_PCH_1="#"
50363 if test "x$GCC_PCH" = "x1" ; then
50364 COND_GCC_PCH_1=""
50365 fi
50366
50367 COND_ICC_PCH_1="#"
50368 if test "x$ICC_PCH" = "x1" ; then
50369 COND_ICC_PCH_1=""
50370 fi
50371
50372 COND_MONOLITHIC_0="#"
50373 if test "x$MONOLITHIC" = "x0" ; then
50374 COND_MONOLITHIC_0=""
50375 fi
50376
50377 COND_MONOLITHIC_0_SHARED_0="#"
50378 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50379 COND_MONOLITHIC_0_SHARED_0=""
50380 fi
50381
50382 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50383 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50384 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50385 fi
50386
50387 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50388 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50389 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50390 fi
50391
50392 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50393 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50394 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50395 fi
50396
50397 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50398 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50399 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50400 fi
50401
50402 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50403 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50404 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50405 fi
50406
50407 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50408 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50409 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50410 fi
50411
50412 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
50413 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50414 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
50415 fi
50416
50417 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50418 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50419 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50420 fi
50421
50422 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50423 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50424 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50425 fi
50426
50427 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50428 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50429 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50430 fi
50431
50432 COND_MONOLITHIC_0_SHARED_1="#"
50433 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50434 COND_MONOLITHIC_0_SHARED_1=""
50435 fi
50436
50437 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50438 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50439 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50440 fi
50441
50442 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50443 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50444 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50445 fi
50446
50447 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50448 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50449 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50450 fi
50451
50452 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50453 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50454 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50455 fi
50456
50457 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50458 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50459 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50460 fi
50461
50462 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50463 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50464 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50465 fi
50466
50467 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
50468 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50469 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
50470 fi
50471
50472 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50473 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50474 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50475 fi
50476
50477 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50478 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50479 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50480 fi
50481
50482 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50483 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50484 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50485 fi
50486
50487 COND_MONOLITHIC_0_USE_AUI_1="#"
50488 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50489 COND_MONOLITHIC_0_USE_AUI_1=""
50490 fi
50491
50492 COND_MONOLITHIC_0_USE_GUI_1="#"
50493 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50494 COND_MONOLITHIC_0_USE_GUI_1=""
50495 fi
50496
50497 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50498 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50499 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50500 fi
50501
50502 COND_MONOLITHIC_0_USE_HTML_1="#"
50503 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50504 COND_MONOLITHIC_0_USE_HTML_1=""
50505 fi
50506
50507 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50508 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50509 COND_MONOLITHIC_0_USE_MEDIA_1=""
50510 fi
50511
50512 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50513 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50514 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50515 fi
50516
50517 COND_MONOLITHIC_0_USE_QA_1="#"
50518 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50519 COND_MONOLITHIC_0_USE_QA_1=""
50520 fi
50521
50522 COND_MONOLITHIC_0_USE_RIBBON_1="#"
50523 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50524 COND_MONOLITHIC_0_USE_RIBBON_1=""
50525 fi
50526
50527 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50528 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50529 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50530 fi
50531
50532 COND_MONOLITHIC_0_USE_STC_1="#"
50533 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50534 COND_MONOLITHIC_0_USE_STC_1=""
50535 fi
50536
50537 COND_MONOLITHIC_0_USE_XRC_1="#"
50538 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50539 COND_MONOLITHIC_0_USE_XRC_1=""
50540 fi
50541
50542 COND_MONOLITHIC_1="#"
50543 if test "x$MONOLITHIC" = "x1" ; then
50544 COND_MONOLITHIC_1=""
50545 fi
50546
50547 COND_MONOLITHIC_1_SHARED_0="#"
50548 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50549 COND_MONOLITHIC_1_SHARED_0=""
50550 fi
50551
50552 COND_MONOLITHIC_1_SHARED_1="#"
50553 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50554 COND_MONOLITHIC_1_SHARED_1=""
50555 fi
50556
50557 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50558 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50559 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50560 fi
50561
50562 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50563 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50564 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50565 fi
50566
50567 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50568 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50569 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50570 fi
50571
50572 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50573 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50574 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50575 fi
50576
50577 COND_PLATFORM_MACOSX_1="#"
50578 if test "x$PLATFORM_MACOSX" = "x1" ; then
50579 COND_PLATFORM_MACOSX_1=""
50580 fi
50581
50582 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50583 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50584 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50585 fi
50586
50587 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50588 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50589 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50590 fi
50591
50592 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50593 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50594 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50595 fi
50596
50597 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50598 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50599 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50600 fi
50601
50602 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50603 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50604 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50605 fi
50606
50607 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50608 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50609 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50610 fi
50611
50612 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50613 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50614 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50615 fi
50616
50617 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50618 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50619 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50620 fi
50621
50622 COND_PLATFORM_MACOS_1="#"
50623 if test "x$PLATFORM_MACOS" = "x1" ; then
50624 COND_PLATFORM_MACOS_1=""
50625 fi
50626
50627 COND_PLATFORM_MAC_0="#"
50628 if test "x$PLATFORM_MAC" = "x0" ; then
50629 COND_PLATFORM_MAC_0=""
50630 fi
50631
50632 COND_PLATFORM_MAC_1="#"
50633 if test "x$PLATFORM_MAC" = "x1" ; then
50634 COND_PLATFORM_MAC_1=""
50635 fi
50636
50637 COND_PLATFORM_MSDOS_0="#"
50638 if test "x$PLATFORM_MSDOS" = "x0" ; then
50639 COND_PLATFORM_MSDOS_0=""
50640 fi
50641
50642 COND_PLATFORM_MSDOS_1="#"
50643 if test "x$PLATFORM_MSDOS" = "x1" ; then
50644 COND_PLATFORM_MSDOS_1=""
50645 fi
50646
50647 COND_PLATFORM_OS2_1="#"
50648 if test "x$PLATFORM_OS2" = "x1" ; then
50649 COND_PLATFORM_OS2_1=""
50650 fi
50651
50652 COND_PLATFORM_UNIX_0="#"
50653 if test "x$PLATFORM_UNIX" = "x0" ; then
50654 COND_PLATFORM_UNIX_0=""
50655 fi
50656
50657 COND_PLATFORM_UNIX_1="#"
50658 if test "x$PLATFORM_UNIX" = "x1" ; then
50659 COND_PLATFORM_UNIX_1=""
50660 fi
50661
50662 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50663 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50664 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50665 fi
50666
50667 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50668 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50669 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50670 fi
50671
50672 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50673 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50674 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50675 fi
50676
50677 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50678 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50679 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50680 fi
50681
50682 COND_PLATFORM_WIN32_0="#"
50683 if test "x$PLATFORM_WIN32" = "x0" ; then
50684 COND_PLATFORM_WIN32_0=""
50685 fi
50686
50687 COND_PLATFORM_WIN32_1="#"
50688 if test "x$PLATFORM_WIN32" = "x1" ; then
50689 COND_PLATFORM_WIN32_1=""
50690 fi
50691
50692 COND_SHARED_0="#"
50693 if test "x$SHARED" = "x0" ; then
50694 COND_SHARED_0=""
50695 fi
50696
50697 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50698 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50699 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50700 fi
50701
50702 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50703 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50704 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50705 fi
50706
50707 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50708 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50709 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50710 fi
50711
50712 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50713 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50714 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50715 fi
50716
50717 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50718 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50719 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50720 fi
50721
50722 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50723 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50724 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50725 fi
50726
50727 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50728 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50729 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50730 fi
50731
50732 COND_SHARED_0_USE_STC_1="#"
50733 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50734 COND_SHARED_0_USE_STC_1=""
50735 fi
50736
50737 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50738 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50739 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50740 fi
50741
50742 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50743 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50744 COND_SHARED_0_wxUSE_REGEX_builtin=""
50745 fi
50746
50747 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50748 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50749 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50750 fi
50751
50752 COND_SHARED_1="#"
50753 if test "x$SHARED" = "x1" ; then
50754 COND_SHARED_1=""
50755 fi
50756
50757 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50758 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50759 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50760 fi
50761
50762 COND_TOOLKIT_="#"
50763 if test "x$TOOLKIT" = "x" ; then
50764 COND_TOOLKIT_=""
50765 fi
50766
50767 COND_TOOLKIT_COCOA="#"
50768 if test "x$TOOLKIT" = "xCOCOA" ; then
50769 COND_TOOLKIT_COCOA=""
50770 fi
50771
50772 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50773 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50774 COND_TOOLKIT_COCOA_USE_GUI_1=""
50775 fi
50776
50777 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50778 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50779 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50780 fi
50781
50782 COND_TOOLKIT_DFB="#"
50783 if test "x$TOOLKIT" = "xDFB" ; then
50784 COND_TOOLKIT_DFB=""
50785 fi
50786
50787 COND_TOOLKIT_DFB_USE_GUI_1="#"
50788 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50789 COND_TOOLKIT_DFB_USE_GUI_1=""
50790 fi
50791
50792 COND_TOOLKIT_GTK="#"
50793 if test "x$TOOLKIT" = "xGTK" ; then
50794 COND_TOOLKIT_GTK=""
50795 fi
50796
50797 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50798 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50799 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50800 fi
50801
50802 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50803 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50804 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50805 fi
50806
50807 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50808 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50809 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50810 fi
50811
50812 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50813 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50814 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50815 fi
50816
50817 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50818 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50819 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50820 fi
50821
50822 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50823 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50824 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50825 fi
50826
50827 COND_TOOLKIT_GTK_USE_GUI_1="#"
50828 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50829 COND_TOOLKIT_GTK_USE_GUI_1=""
50830 fi
50831
50832 COND_TOOLKIT_MAC="#"
50833 if test "x$TOOLKIT" = "xMAC" ; then
50834 COND_TOOLKIT_MAC=""
50835 fi
50836
50837 COND_TOOLKIT_MGL="#"
50838 if test "x$TOOLKIT" = "xMGL" ; then
50839 COND_TOOLKIT_MGL=""
50840 fi
50841
50842 COND_TOOLKIT_MGL_USE_GUI_1="#"
50843 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50844 COND_TOOLKIT_MGL_USE_GUI_1=""
50845 fi
50846
50847 COND_TOOLKIT_MOTIF="#"
50848 if test "x$TOOLKIT" = "xMOTIF" ; then
50849 COND_TOOLKIT_MOTIF=""
50850 fi
50851
50852 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50853 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50854 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50855 fi
50856
50857 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50858 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50859 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50860 fi
50861
50862 COND_TOOLKIT_MSW="#"
50863 if test "x$TOOLKIT" = "xMSW" ; then
50864 COND_TOOLKIT_MSW=""
50865 fi
50866
50867 COND_TOOLKIT_MSW_USE_GUI_1="#"
50868 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50869 COND_TOOLKIT_MSW_USE_GUI_1=""
50870 fi
50871
50872 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50873 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50874 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50875 fi
50876
50877 COND_TOOLKIT_MSW_WXUNIV_0="#"
50878 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50879 COND_TOOLKIT_MSW_WXUNIV_0=""
50880 fi
50881
50882 COND_TOOLKIT_OSX_CARBON="#"
50883 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50884 COND_TOOLKIT_OSX_CARBON=""
50885 fi
50886
50887 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50888 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50889 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50890 fi
50891
50892 COND_TOOLKIT_OSX_COCOA="#"
50893 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50894 COND_TOOLKIT_OSX_COCOA=""
50895 fi
50896
50897 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50898 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50899 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50900 fi
50901
50902 COND_TOOLKIT_OSX_IPHONE="#"
50903 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50904 COND_TOOLKIT_OSX_IPHONE=""
50905 fi
50906
50907 COND_TOOLKIT_PM="#"
50908 if test "x$TOOLKIT" = "xPM" ; then
50909 COND_TOOLKIT_PM=""
50910 fi
50911
50912 COND_TOOLKIT_PM_USE_GUI_1="#"
50913 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50914 COND_TOOLKIT_PM_USE_GUI_1=""
50915 fi
50916
50917 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50918 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50919 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50920 fi
50921
50922 COND_TOOLKIT_WINCE="#"
50923 if test "x$TOOLKIT" = "xWINCE" ; then
50924 COND_TOOLKIT_WINCE=""
50925 fi
50926
50927 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50928 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50929 COND_TOOLKIT_WINCE_USE_GUI_1=""
50930 fi
50931
50932 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50933 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50934 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50935 fi
50936
50937 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50938 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50939 COND_TOOLKIT_WINCE_WXUNIV_0=""
50940 fi
50941
50942 COND_TOOLKIT_X11="#"
50943 if test "x$TOOLKIT" = "xX11" ; then
50944 COND_TOOLKIT_X11=""
50945 fi
50946
50947 COND_TOOLKIT_X11_USE_GUI_1="#"
50948 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50949 COND_TOOLKIT_X11_USE_GUI_1=""
50950 fi
50951
50952 COND_UNICODE_1="#"
50953 if test "x$UNICODE" = "x1" ; then
50954 COND_UNICODE_1=""
50955 fi
50956
50957 COND_USE_CAIRO_1="#"
50958 if test "x$USE_CAIRO" = "x1" ; then
50959 COND_USE_CAIRO_1=""
50960 fi
50961
50962 COND_USE_EXCEPTIONS_0="#"
50963 if test "x$USE_EXCEPTIONS" = "x0" ; then
50964 COND_USE_EXCEPTIONS_0=""
50965 fi
50966
50967 COND_USE_EXCEPTIONS_1="#"
50968 if test "x$USE_EXCEPTIONS" = "x1" ; then
50969 COND_USE_EXCEPTIONS_1=""
50970 fi
50971
50972 COND_USE_GUI_0="#"
50973 if test "x$USE_GUI" = "x0" ; then
50974 COND_USE_GUI_0=""
50975 fi
50976
50977 COND_USE_GUI_1="#"
50978 if test "x$USE_GUI" = "x1" ; then
50979 COND_USE_GUI_1=""
50980 fi
50981
50982 COND_USE_GUI_1_USE_OPENGL_1="#"
50983 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50984 COND_USE_GUI_1_USE_OPENGL_1=""
50985 fi
50986
50987 COND_USE_GUI_1_WXUNIV_0="#"
50988 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50989 COND_USE_GUI_1_WXUNIV_0=""
50990 fi
50991
50992 COND_USE_GUI_1_WXUNIV_1="#"
50993 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50994 COND_USE_GUI_1_WXUNIV_1=""
50995 fi
50996
50997 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50998 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50999 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51000 fi
51001
51002 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51003 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51004 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51005 fi
51006
51007 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51008 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51009 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51010 fi
51011
51012 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51013 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51014 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51015 fi
51016
51017 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51018 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51019 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51020 fi
51021
51022 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51023 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51024 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51025 fi
51026
51027 COND_USE_OPENGL_1="#"
51028 if test "x$USE_OPENGL" = "x1" ; then
51029 COND_USE_OPENGL_1=""
51030 fi
51031
51032 COND_USE_PCH_1="#"
51033 if test "x$USE_PCH" = "x1" ; then
51034 COND_USE_PCH_1=""
51035 fi
51036
51037 COND_USE_PLUGINS_0="#"
51038 if test "x$USE_PLUGINS" = "x0" ; then
51039 COND_USE_PLUGINS_0=""
51040 fi
51041
51042 COND_USE_RTTI_0="#"
51043 if test "x$USE_RTTI" = "x0" ; then
51044 COND_USE_RTTI_0=""
51045 fi
51046
51047 COND_USE_RTTI_1="#"
51048 if test "x$USE_RTTI" = "x1" ; then
51049 COND_USE_RTTI_1=""
51050 fi
51051
51052 COND_USE_SOTWOSYMLINKS_1="#"
51053 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51054 COND_USE_SOTWOSYMLINKS_1=""
51055 fi
51056
51057 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51058 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51059 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51060 fi
51061
51062 COND_USE_SOVERLINUX_1="#"
51063 if test "x$USE_SOVERLINUX" = "x1" ; then
51064 COND_USE_SOVERLINUX_1=""
51065 fi
51066
51067 COND_USE_SOVERSION_0="#"
51068 if test "x$USE_SOVERSION" = "x0" ; then
51069 COND_USE_SOVERSION_0=""
51070 fi
51071
51072 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51073 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51074 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51075 fi
51076
51077 COND_USE_SOVERSOLARIS_1="#"
51078 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51079 COND_USE_SOVERSOLARIS_1=""
51080 fi
51081
51082 COND_USE_STC_1="#"
51083 if test "x$USE_STC" = "x1" ; then
51084 COND_USE_STC_1=""
51085 fi
51086
51087 COND_USE_THREADS_0="#"
51088 if test "x$USE_THREADS" = "x0" ; then
51089 COND_USE_THREADS_0=""
51090 fi
51091
51092 COND_USE_THREADS_1="#"
51093 if test "x$USE_THREADS" = "x1" ; then
51094 COND_USE_THREADS_1=""
51095 fi
51096
51097 COND_USE_XRC_1="#"
51098 if test "x$USE_XRC" = "x1" ; then
51099 COND_USE_XRC_1=""
51100 fi
51101
51102 COND_WINDOWS_IMPLIB_1="#"
51103 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51104 COND_WINDOWS_IMPLIB_1=""
51105 fi
51106
51107 COND_WITH_PLUGIN_SDL_1="#"
51108 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51109 COND_WITH_PLUGIN_SDL_1=""
51110 fi
51111
51112 COND_WXUNIV_0="#"
51113 if test "x$WXUNIV" = "x0" ; then
51114 COND_WXUNIV_0=""
51115 fi
51116
51117 COND_WXUNIV_1="#"
51118 if test "x$WXUNIV" = "x1" ; then
51119 COND_WXUNIV_1=""
51120 fi
51121
51122 COND_WXUSE_EXPAT_BUILTIN="#"
51123 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51124 COND_WXUSE_EXPAT_BUILTIN=""
51125 fi
51126
51127 COND_WXUSE_LIBJPEG_BUILTIN="#"
51128 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51129 COND_WXUSE_LIBJPEG_BUILTIN=""
51130 fi
51131
51132 COND_WXUSE_LIBPNG_BUILTIN="#"
51133 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51134 COND_WXUSE_LIBPNG_BUILTIN=""
51135 fi
51136
51137 COND_WXUSE_LIBTIFF_BUILTIN="#"
51138 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51139 COND_WXUSE_LIBTIFF_BUILTIN=""
51140 fi
51141
51142 COND_WXUSE_REGEX_BUILTIN="#"
51143 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51144 COND_WXUSE_REGEX_BUILTIN=""
51145 fi
51146
51147 COND_WXUSE_ZLIB_BUILTIN="#"
51148 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51149 COND_WXUSE_ZLIB_BUILTIN=""
51150 fi
51151
51152 COND_wxUSE_EXPAT_builtin="#"
51153 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51154 COND_wxUSE_EXPAT_builtin=""
51155 fi
51156
51157 COND_wxUSE_LIBJPEG_builtin="#"
51158 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51159 COND_wxUSE_LIBJPEG_builtin=""
51160 fi
51161
51162 COND_wxUSE_LIBPNG_builtin="#"
51163 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51164 COND_wxUSE_LIBPNG_builtin=""
51165 fi
51166
51167 COND_wxUSE_LIBTIFF_builtin="#"
51168 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51169 COND_wxUSE_LIBTIFF_builtin=""
51170 fi
51171
51172 COND_wxUSE_REGEX_builtin="#"
51173 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51174 COND_wxUSE_REGEX_builtin=""
51175 fi
51176
51177 COND_wxUSE_ZLIB_builtin="#"
51178 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51179 COND_wxUSE_ZLIB_builtin=""
51180 fi
51181
51182
51183
51184 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51185 { { 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
51186 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;}
51187 { (exit 1); exit 1; }; }
51188 fi
51189
51190 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51191 { { 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
51192 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;}
51193 { (exit 1); exit 1; }; }
51194 fi
51195
51196
51197 case ${INSTALL} in
51198 /* ) # Absolute
51199 ;;
51200 ?:* ) # Drive letter, considered as absolute.
51201 ;;
51202 *)
51203 INSTALL=`pwd`/${INSTALL} ;;
51204 esac
51205
51206 if test "$wxUSE_GUI" = "yes"; then
51207
51208 if test "$wxUSE_MSW" = 1 ; then
51209 if test "x$WINDRES" = "x"; then
51210 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
51211 echo "$as_me: error: Required windres program not found" >&2;}
51212 { (exit 1); exit 1; }; }
51213 fi
51214
51215 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
51216 fi
51217
51218 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
51219 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
51220 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
51221
51222 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
51223
51224 # Extract the first word of "DeRez", so it can be a program name with args.
51225 set dummy DeRez; ac_word=$2
51226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51228 if test "${ac_cv_prog_DEREZ+set}" = set; then
51229 echo $ECHO_N "(cached) $ECHO_C" >&6
51230 else
51231 if test -n "$DEREZ"; then
51232 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
51233 else
51234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51235 for as_dir in $PATH
51236 do
51237 IFS=$as_save_IFS
51238 test -z "$as_dir" && as_dir=.
51239 for ac_exec_ext in '' $ac_executable_extensions; do
51240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51241 ac_cv_prog_DEREZ="DeRez"
51242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51243 break 2
51244 fi
51245 done
51246 done
51247 IFS=$as_save_IFS
51248
51249 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
51250 fi
51251 fi
51252 DEREZ=$ac_cv_prog_DEREZ
51253 if test -n "$DEREZ"; then
51254 { echo "$as_me:$LINENO: result: $DEREZ" >&5
51255 echo "${ECHO_T}$DEREZ" >&6; }
51256 else
51257 { echo "$as_me:$LINENO: result: no" >&5
51258 echo "${ECHO_T}no" >&6; }
51259 fi
51260
51261
51262
51263 MACSETFILE="\$(SETFILE)"
51264
51265 if test "$wxUSE_OSX_CARBON" = 1; then
51266 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
51267 RESCOMP="$REZ"
51268 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
51269 else
51270 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
51271 RESCOMP="cat /dev/null \| $REZ"
51272 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
51273 fi
51274
51275 else
51276 MACSETFILE="@true"
51277
51278 if test "$wxUSE_PM" = 1; then
51279 RESCOMP="emxbind"
51280 WXCONFIG_RESFLAGS="-ep"
51281
51282 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
51283 else
51284 POSTLINK_COMMAND="@true"
51285 fi
51286 fi
51287
51288 fi
51289
51290
51291 if test $GCC_PCH = 1
51292 then
51293 if test "$wx_cv_gcc_pch_bug" = yes; then
51294 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51295 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51296 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51297 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51298 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51299 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51300 fi
51301
51302 # Our WX_PRECOMP flag does not make sense for any language except C++ because
51303 # the headers that benefit from precompilation are mostly C++ headers.
51304 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51305 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
51306 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51307 fi
51308
51309
51310 if test "$wxUSE_MAC" = 1 ; then
51311 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51312 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51313 mv temp bk-deps
51314 chmod +x bk-deps
51315 fi
51316 fi
51317
51318 if test "$wxUSE_SHARED" = "yes"; then
51319 case "${host}" in
51320 *-pc-os2_emx | *-pc-os2-emx )
51321 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51322 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51323 cp -p ${srcdir}/src/os2/dllnames.sh .
51324 cp -p ${srcdir}/src/os2/dllar.sh .
51325 ;;
51326 esac
51327 fi
51328 if test "$wxUSE_OMF" = "yes"; then
51329 case "${host}" in
51330 *-pc-os2_emx | *-pc-os2-emx )
51331 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51332 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51333 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51334 ;;
51335 esac
51336 fi
51337
51338 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51339
51340
51341 case "${host}" in
51342 *-*-solaris2* )
51343 if test "$GCC" = yes; then
51344 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51345 LIBS=`echo $LIBS | sed 's/-mt//'`
51346 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51347 fi
51348 ;;
51349
51350 *-*-linux* )
51351 if test "x$SUNCXX" = xyes; then
51352 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51353 LIBS=`echo $LIBS | sed 's/-pthread//'`
51354 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51355 fi
51356 ;;
51357 esac
51358
51359 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51360 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51361 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
51362 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51363
51364 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51365
51366
51367
51368
51369
51370
51371
51372
51373
51374
51375
51376
51377
51378
51379
51380
51381
51382
51383
51384
51385
51386
51387
51388
51389
51390
51391
51392
51393
51394
51395
51396
51397
51398
51399
51400
51401
51402
51403
51404
51405
51406
51407
51408
51409
51410
51411
51412
51413
51414
51415
51416
51417
51418
51419
51420
51421
51422
51423
51424
51425 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51426 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51427 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51428 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51429 echo $ECHO_N "(cached) $ECHO_C" >&6
51430 else
51431 cat >conftest.make <<\_ACEOF
51432 SHELL = /bin/sh
51433 all:
51434 @echo '@@@%%%=$(MAKE)=@@@%%%'
51435 _ACEOF
51436 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51437 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51438 *@@@%%%=?*=@@@%%%*)
51439 eval ac_cv_prog_make_${ac_make}_set=yes;;
51440 *)
51441 eval ac_cv_prog_make_${ac_make}_set=no;;
51442 esac
51443 rm -f conftest.make
51444 fi
51445 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51446 { echo "$as_me:$LINENO: result: yes" >&5
51447 echo "${ECHO_T}yes" >&6; }
51448 SET_MAKE=
51449 else
51450 { echo "$as_me:$LINENO: result: no" >&5
51451 echo "${ECHO_T}no" >&6; }
51452 SET_MAKE="MAKE=${MAKE-make}"
51453 fi
51454
51455
51456
51457 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51458
51459
51460 if test "$USE_WIN32" = 1; then
51461 ac_config_commands="$ac_config_commands rcdefs.h"
51462
51463 fi
51464
51465 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51466
51467
51468 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51469
51470
51471 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51472
51473
51474 if test "$wx_cv_version_script" = "yes"; then
51475 ac_config_files="$ac_config_files version-script"
51476
51477 fi
51478 ac_config_files="$ac_config_files Makefile"
51479
51480
51481 ac_config_commands="$ac_config_commands wx-config"
51482
51483
51484
51485 if test "$wxWITH_SUBDIRS" != "no"; then
51486 if test "$wxUSE_GUI" = "yes"; then
51487 SUBDIRS="samples demos utils"
51488 else
51489 SUBDIRS="samples utils"
51490 fi
51491
51492
51493
51494 # Check whether --with-cppunit-prefix was given.
51495 if test "${with_cppunit_prefix+set}" = set; then
51496 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51497 else
51498 cppunit_config_prefix=""
51499 fi
51500
51501
51502 # Check whether --with-cppunit-exec-prefix was given.
51503 if test "${with_cppunit_exec_prefix+set}" = set; then
51504 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51505 else
51506 cppunit_config_exec_prefix=""
51507 fi
51508
51509
51510 if test x$cppunit_config_exec_prefix != x ; then
51511 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51512 if test x${CPPUNIT_CONFIG+set} != xset ; then
51513 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51514 fi
51515 fi
51516 if test x$cppunit_config_prefix != x ; then
51517 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51518 if test x${CPPUNIT_CONFIG+set} != xset ; then
51519 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51520 fi
51521 fi
51522
51523 # Extract the first word of "cppunit-config", so it can be a program name with args.
51524 set dummy cppunit-config; ac_word=$2
51525 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51527 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51528 echo $ECHO_N "(cached) $ECHO_C" >&6
51529 else
51530 case $CPPUNIT_CONFIG in
51531 [\\/]* | ?:[\\/]*)
51532 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51533 ;;
51534 *)
51535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51536 for as_dir in $PATH
51537 do
51538 IFS=$as_save_IFS
51539 test -z "$as_dir" && as_dir=.
51540 for ac_exec_ext in '' $ac_executable_extensions; do
51541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51542 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51544 break 2
51545 fi
51546 done
51547 done
51548 IFS=$as_save_IFS
51549
51550 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51551 ;;
51552 esac
51553 fi
51554 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51555 if test -n "$CPPUNIT_CONFIG"; then
51556 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51557 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51558 else
51559 { echo "$as_me:$LINENO: result: no" >&5
51560 echo "${ECHO_T}no" >&6; }
51561 fi
51562
51563
51564 cppunit_version_min=1.8.0
51565
51566 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51567 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51568 no_cppunit=""
51569 if test "$CPPUNIT_CONFIG" = "no" ; then
51570 { echo "$as_me:$LINENO: result: no" >&5
51571 echo "${ECHO_T}no" >&6; }
51572 no_cppunit=yes
51573 else
51574 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51575 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51576 cppunit_version=`$CPPUNIT_CONFIG --version`
51577
51578 cppunit_major_version=`echo $cppunit_version | \
51579 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51580 cppunit_minor_version=`echo $cppunit_version | \
51581 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51582 cppunit_micro_version=`echo $cppunit_version | \
51583 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51584
51585 cppunit_major_min=`echo $cppunit_version_min | \
51586 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51587 cppunit_minor_min=`echo $cppunit_version_min | \
51588 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51589 cppunit_micro_min=`echo $cppunit_version_min | \
51590 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51591
51592 cppunit_version_proper=`expr \
51593 $cppunit_major_version \> $cppunit_major_min \| \
51594 $cppunit_major_version \= $cppunit_major_min \& \
51595 $cppunit_minor_version \> $cppunit_minor_min \| \
51596 $cppunit_major_version \= $cppunit_major_min \& \
51597 $cppunit_minor_version \= $cppunit_minor_min \& \
51598 $cppunit_micro_version \>= $cppunit_micro_min `
51599
51600 if test "$cppunit_version_proper" = "1" ; then
51601 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51602 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51603 else
51604 { echo "$as_me:$LINENO: result: no" >&5
51605 echo "${ECHO_T}no" >&6; }
51606 no_cppunit=yes
51607 fi
51608 fi
51609
51610 if test "x$no_cppunit" = x ; then
51611 SUBDIRS="$SUBDIRS tests"
51612 else
51613 CPPUNIT_CFLAGS=""
51614 CPPUNIT_LIBS=""
51615 :
51616 fi
51617
51618
51619
51620
51621
51622 for subdir in $SUBDIRS; do
51623 if test -d ${srcdir}/${subdir} ; then
51624 if test "$wxUSE_GUI" = "yes"; then
51625 if test ${subdir} = "samples"; then
51626 makefiles="samples/Makefile.in $makefiles"
51627 for sample in $SAMPLES_SUBDIRS; do
51628 if test -d $srcdir/samples/$sample; then
51629 makefiles="samples/$sample/Makefile.in $makefiles"
51630 fi
51631 done
51632 else
51633 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51634 eval "disabled=\$$disabled_var"
51635 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51636 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51637 fi
51638 else
51639 if test ${subdir} = "samples"; then
51640 makefiles="samples/Makefile.in $makefiles"
51641 for sample in `echo $SAMPLES_SUBDIRS`; do
51642 if test -d $srcdir/samples/$sample; then
51643 makefiles="samples/$sample/Makefile.in $makefiles"
51644 fi
51645 done
51646 elif test ${subdir} = "utils"; then
51647 makefiles=""
51648 for util in ifacecheck ; do
51649 if test -d $srcdir/utils/$util ; then
51650 makefiles="utils/$util/src/Makefile.in \
51651 $makefiles"
51652 fi
51653 done
51654 else
51655 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51656 fi
51657 fi
51658
51659 for mkin in $makefiles ; do
51660 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51661 ac_config_files="$ac_config_files $mk"
51662
51663 done
51664 fi
51665 done
51666 fi
51667 cat >confcache <<\_ACEOF
51668 # This file is a shell script that caches the results of configure
51669 # tests run on this system so they can be shared between configure
51670 # scripts and configure runs, see configure's option --config-cache.
51671 # It is not useful on other systems. If it contains results you don't
51672 # want to keep, you may remove or edit it.
51673 #
51674 # config.status only pays attention to the cache file if you give it
51675 # the --recheck option to rerun configure.
51676 #
51677 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51678 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51679 # following values.
51680
51681 _ACEOF
51682
51683 # The following way of writing the cache mishandles newlines in values,
51684 # but we know of no workaround that is simple, portable, and efficient.
51685 # So, we kill variables containing newlines.
51686 # Ultrix sh set writes to stderr and can't be redirected directly,
51687 # and sets the high bit in the cache file unless we assign to the vars.
51688 (
51689 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51690 eval ac_val=\$$ac_var
51691 case $ac_val in #(
51692 *${as_nl}*)
51693 case $ac_var in #(
51694 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51695 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51696 esac
51697 case $ac_var in #(
51698 _ | IFS | as_nl) ;; #(
51699 *) $as_unset $ac_var ;;
51700 esac ;;
51701 esac
51702 done
51703
51704 (set) 2>&1 |
51705 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51706 *${as_nl}ac_space=\ *)
51707 # `set' does not quote correctly, so add quotes (double-quote
51708 # substitution turns \\\\ into \\, and sed turns \\ into \).
51709 sed -n \
51710 "s/'/'\\\\''/g;
51711 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51712 ;; #(
51713 *)
51714 # `set' quotes correctly as required by POSIX, so do not add quotes.
51715 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51716 ;;
51717 esac |
51718 sort
51719 ) |
51720 sed '
51721 /^ac_cv_env_/b end
51722 t clear
51723 :clear
51724 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51725 t end
51726 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51727 :end' >>confcache
51728 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51729 if test -w "$cache_file"; then
51730 test "x$cache_file" != "x/dev/null" &&
51731 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51732 echo "$as_me: updating cache $cache_file" >&6;}
51733 cat confcache >$cache_file
51734 else
51735 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51736 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51737 fi
51738 fi
51739 rm -f confcache
51740
51741 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51742 # Let make expand exec_prefix.
51743 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51744
51745 DEFS=-DHAVE_CONFIG_H
51746
51747 ac_libobjs=
51748 ac_ltlibobjs=
51749 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51750 # 1. Remove the extension, and $U if already installed.
51751 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51752 ac_i=`echo "$ac_i" | sed "$ac_script"`
51753 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51754 # will be set to the directory where LIBOBJS objects are built.
51755 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51756 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51757 done
51758 LIBOBJS=$ac_libobjs
51759
51760 LTLIBOBJS=$ac_ltlibobjs
51761
51762
51763
51764 : ${CONFIG_STATUS=./config.status}
51765 ac_clean_files_save=$ac_clean_files
51766 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51767 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51768 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51769 cat >$CONFIG_STATUS <<_ACEOF
51770 #! $SHELL
51771 # Generated by $as_me.
51772 # Run this file to recreate the current configuration.
51773 # Compiler output produced by configure, useful for debugging
51774 # configure, is in config.log if it exists.
51775
51776 debug=false
51777 ac_cs_recheck=false
51778 ac_cs_silent=false
51779 SHELL=\${CONFIG_SHELL-$SHELL}
51780 _ACEOF
51781
51782 cat >>$CONFIG_STATUS <<\_ACEOF
51783 ## --------------------- ##
51784 ## M4sh Initialization. ##
51785 ## --------------------- ##
51786
51787 # Be more Bourne compatible
51788 DUALCASE=1; export DUALCASE # for MKS sh
51789 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51790 emulate sh
51791 NULLCMD=:
51792 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51793 # is contrary to our usage. Disable this feature.
51794 alias -g '${1+"$@"}'='"$@"'
51795 setopt NO_GLOB_SUBST
51796 else
51797 case `(set -o) 2>/dev/null` in
51798 *posix*) set -o posix ;;
51799 esac
51800
51801 fi
51802
51803
51804
51805
51806 # PATH needs CR
51807 # Avoid depending upon Character Ranges.
51808 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51809 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51810 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51811 as_cr_digits='0123456789'
51812 as_cr_alnum=$as_cr_Letters$as_cr_digits
51813
51814 # The user is always right.
51815 if test "${PATH_SEPARATOR+set}" != set; then
51816 echo "#! /bin/sh" >conf$$.sh
51817 echo "exit 0" >>conf$$.sh
51818 chmod +x conf$$.sh
51819 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51820 PATH_SEPARATOR=';'
51821 else
51822 PATH_SEPARATOR=:
51823 fi
51824 rm -f conf$$.sh
51825 fi
51826
51827 # Support unset when possible.
51828 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51829 as_unset=unset
51830 else
51831 as_unset=false
51832 fi
51833
51834
51835 # IFS
51836 # We need space, tab and new line, in precisely that order. Quoting is
51837 # there to prevent editors from complaining about space-tab.
51838 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51839 # splitting by setting IFS to empty value.)
51840 as_nl='
51841 '
51842 IFS=" "" $as_nl"
51843
51844 # Find who we are. Look in the path if we contain no directory separator.
51845 case $0 in
51846 *[\\/]* ) as_myself=$0 ;;
51847 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51848 for as_dir in $PATH
51849 do
51850 IFS=$as_save_IFS
51851 test -z "$as_dir" && as_dir=.
51852 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51853 done
51854 IFS=$as_save_IFS
51855
51856 ;;
51857 esac
51858 # We did not find ourselves, most probably we were run as `sh COMMAND'
51859 # in which case we are not to be found in the path.
51860 if test "x$as_myself" = x; then
51861 as_myself=$0
51862 fi
51863 if test ! -f "$as_myself"; then
51864 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51865 { (exit 1); exit 1; }
51866 fi
51867
51868 # Work around bugs in pre-3.0 UWIN ksh.
51869 for as_var in ENV MAIL MAILPATH
51870 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51871 done
51872 PS1='$ '
51873 PS2='> '
51874 PS4='+ '
51875
51876 # NLS nuisances.
51877 for as_var in \
51878 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51879 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51880 LC_TELEPHONE LC_TIME
51881 do
51882 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51883 eval $as_var=C; export $as_var
51884 else
51885 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51886 fi
51887 done
51888
51889 # Required to use basename.
51890 if expr a : '\(a\)' >/dev/null 2>&1 &&
51891 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51892 as_expr=expr
51893 else
51894 as_expr=false
51895 fi
51896
51897 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51898 as_basename=basename
51899 else
51900 as_basename=false
51901 fi
51902
51903
51904 # Name of the executable.
51905 as_me=`$as_basename -- "$0" ||
51906 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51907 X"$0" : 'X\(//\)$' \| \
51908 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51909 echo X/"$0" |
51910 sed '/^.*\/\([^/][^/]*\)\/*$/{
51911 s//\1/
51912 q
51913 }
51914 /^X\/\(\/\/\)$/{
51915 s//\1/
51916 q
51917 }
51918 /^X\/\(\/\).*/{
51919 s//\1/
51920 q
51921 }
51922 s/.*/./; q'`
51923
51924 # CDPATH.
51925 $as_unset CDPATH
51926
51927
51928
51929 as_lineno_1=$LINENO
51930 as_lineno_2=$LINENO
51931 test "x$as_lineno_1" != "x$as_lineno_2" &&
51932 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51933
51934 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51935 # uniformly replaced by the line number. The first 'sed' inserts a
51936 # line-number line after each line using $LINENO; the second 'sed'
51937 # does the real work. The second script uses 'N' to pair each
51938 # line-number line with the line containing $LINENO, and appends
51939 # trailing '-' during substitution so that $LINENO is not a special
51940 # case at line end.
51941 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51942 # scripts with optimization help from Paolo Bonzini. Blame Lee
51943 # E. McMahon (1931-1989) for sed's syntax. :-)
51944 sed -n '
51945 p
51946 /[$]LINENO/=
51947 ' <$as_myself |
51948 sed '
51949 s/[$]LINENO.*/&-/
51950 t lineno
51951 b
51952 :lineno
51953 N
51954 :loop
51955 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51956 t loop
51957 s/-\n.*//
51958 ' >$as_me.lineno &&
51959 chmod +x "$as_me.lineno" ||
51960 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51961 { (exit 1); exit 1; }; }
51962
51963 # Don't try to exec as it changes $[0], causing all sort of problems
51964 # (the dirname of $[0] is not the place where we might find the
51965 # original and so on. Autoconf is especially sensitive to this).
51966 . "./$as_me.lineno"
51967 # Exit status is that of the last command.
51968 exit
51969 }
51970
51971
51972 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51973 as_dirname=dirname
51974 else
51975 as_dirname=false
51976 fi
51977
51978 ECHO_C= ECHO_N= ECHO_T=
51979 case `echo -n x` in
51980 -n*)
51981 case `echo 'x\c'` in
51982 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51983 *) ECHO_C='\c';;
51984 esac;;
51985 *)
51986 ECHO_N='-n';;
51987 esac
51988
51989 if expr a : '\(a\)' >/dev/null 2>&1 &&
51990 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51991 as_expr=expr
51992 else
51993 as_expr=false
51994 fi
51995
51996 rm -f conf$$ conf$$.exe conf$$.file
51997 if test -d conf$$.dir; then
51998 rm -f conf$$.dir/conf$$.file
51999 else
52000 rm -f conf$$.dir
52001 mkdir conf$$.dir
52002 fi
52003 echo >conf$$.file
52004 if ln -s conf$$.file conf$$ 2>/dev/null; then
52005 as_ln_s='ln -s'
52006 # ... but there are two gotchas:
52007 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52008 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52009 # In both cases, we have to default to `cp -p'.
52010 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52011 as_ln_s='cp -p'
52012 elif ln conf$$.file conf$$ 2>/dev/null; then
52013 as_ln_s=ln
52014 else
52015 as_ln_s='cp -p'
52016 fi
52017 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52018 rmdir conf$$.dir 2>/dev/null
52019
52020 if mkdir -p . 2>/dev/null; then
52021 as_mkdir_p=:
52022 else
52023 test -d ./-p && rmdir ./-p
52024 as_mkdir_p=false
52025 fi
52026
52027 if test -x / >/dev/null 2>&1; then
52028 as_test_x='test -x'
52029 else
52030 if ls -dL / >/dev/null 2>&1; then
52031 as_ls_L_option=L
52032 else
52033 as_ls_L_option=
52034 fi
52035 as_test_x='
52036 eval sh -c '\''
52037 if test -d "$1"; then
52038 test -d "$1/.";
52039 else
52040 case $1 in
52041 -*)set "./$1";;
52042 esac;
52043 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52044 ???[sx]*):;;*)false;;esac;fi
52045 '\'' sh
52046 '
52047 fi
52048 as_executable_p=$as_test_x
52049
52050 # Sed expression to map a string onto a valid CPP name.
52051 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52052
52053 # Sed expression to map a string onto a valid variable name.
52054 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52055
52056
52057 exec 6>&1
52058
52059 # Save the log message, to keep $[0] and so on meaningful, and to
52060 # report actual input values of CONFIG_FILES etc. instead of their
52061 # values after options handling.
52062 ac_log="
52063 This file was extended by wxWidgets $as_me 2.9.1, which was
52064 generated by GNU Autoconf 2.61. Invocation command line was
52065
52066 CONFIG_FILES = $CONFIG_FILES
52067 CONFIG_HEADERS = $CONFIG_HEADERS
52068 CONFIG_LINKS = $CONFIG_LINKS
52069 CONFIG_COMMANDS = $CONFIG_COMMANDS
52070 $ $0 $@
52071
52072 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52073 "
52074
52075 _ACEOF
52076
52077 cat >>$CONFIG_STATUS <<_ACEOF
52078 # Files that config.status was made for.
52079 config_files="$ac_config_files"
52080 config_headers="$ac_config_headers"
52081 config_commands="$ac_config_commands"
52082
52083 _ACEOF
52084
52085 cat >>$CONFIG_STATUS <<\_ACEOF
52086 ac_cs_usage="\
52087 \`$as_me' instantiates files from templates according to the
52088 current configuration.
52089
52090 Usage: $0 [OPTIONS] [FILE]...
52091
52092 -h, --help print this help, then exit
52093 -V, --version print version number and configuration settings, then exit
52094 -q, --quiet do not print progress messages
52095 -d, --debug don't remove temporary files
52096 --recheck update $as_me by reconfiguring in the same conditions
52097 --file=FILE[:TEMPLATE]
52098 instantiate the configuration file FILE
52099 --header=FILE[:TEMPLATE]
52100 instantiate the configuration header FILE
52101
52102 Configuration files:
52103 $config_files
52104
52105 Configuration headers:
52106 $config_headers
52107
52108 Configuration commands:
52109 $config_commands
52110
52111 Report bugs to <bug-autoconf@gnu.org>."
52112
52113 _ACEOF
52114 cat >>$CONFIG_STATUS <<_ACEOF
52115 ac_cs_version="\\
52116 wxWidgets config.status 2.9.1
52117 configured by $0, generated by GNU Autoconf 2.61,
52118 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52119
52120 Copyright (C) 2006 Free Software Foundation, Inc.
52121 This config.status script is free software; the Free Software Foundation
52122 gives unlimited permission to copy, distribute and modify it."
52123
52124 ac_pwd='$ac_pwd'
52125 srcdir='$srcdir'
52126 INSTALL='$INSTALL'
52127 _ACEOF
52128
52129 cat >>$CONFIG_STATUS <<\_ACEOF
52130 # If no file are specified by the user, then we need to provide default
52131 # value. By we need to know if files were specified by the user.
52132 ac_need_defaults=:
52133 while test $# != 0
52134 do
52135 case $1 in
52136 --*=*)
52137 ac_option=`expr "X$1" : 'X\([^=]*\)='`
52138 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
52139 ac_shift=:
52140 ;;
52141 *)
52142 ac_option=$1
52143 ac_optarg=$2
52144 ac_shift=shift
52145 ;;
52146 esac
52147
52148 case $ac_option in
52149 # Handling of the options.
52150 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52151 ac_cs_recheck=: ;;
52152 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52153 echo "$ac_cs_version"; exit ;;
52154 --debug | --debu | --deb | --de | --d | -d )
52155 debug=: ;;
52156 --file | --fil | --fi | --f )
52157 $ac_shift
52158 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
52159 ac_need_defaults=false;;
52160 --header | --heade | --head | --hea )
52161 $ac_shift
52162 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
52163 ac_need_defaults=false;;
52164 --he | --h)
52165 # Conflict between --help and --header
52166 { echo "$as_me: error: ambiguous option: $1
52167 Try \`$0 --help' for more information." >&2
52168 { (exit 1); exit 1; }; };;
52169 --help | --hel | -h )
52170 echo "$ac_cs_usage"; exit ;;
52171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52172 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52173 ac_cs_silent=: ;;
52174
52175 # This is an error.
52176 -*) { echo "$as_me: error: unrecognized option: $1
52177 Try \`$0 --help' for more information." >&2
52178 { (exit 1); exit 1; }; } ;;
52179
52180 *) ac_config_targets="$ac_config_targets $1"
52181 ac_need_defaults=false ;;
52182
52183 esac
52184 shift
52185 done
52186
52187 ac_configure_extra_args=
52188
52189 if $ac_cs_silent; then
52190 exec 6>/dev/null
52191 ac_configure_extra_args="$ac_configure_extra_args --silent"
52192 fi
52193
52194 _ACEOF
52195 cat >>$CONFIG_STATUS <<_ACEOF
52196 if \$ac_cs_recheck; then
52197 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52198 CONFIG_SHELL=$SHELL
52199 export CONFIG_SHELL
52200 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52201 fi
52202
52203 _ACEOF
52204 cat >>$CONFIG_STATUS <<\_ACEOF
52205 exec 5>>config.log
52206 {
52207 echo
52208 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52209 ## Running $as_me. ##
52210 _ASBOX
52211 echo "$ac_log"
52212 } >&5
52213
52214 _ACEOF
52215 cat >>$CONFIG_STATUS <<_ACEOF
52216 #
52217 # INIT-COMMANDS
52218 #
52219
52220 CPP="$CPP"
52221 infile="$srcdir/include/wx/msw/genrcdefs.h"
52222 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52223
52224
52225 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52226 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52227 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52228 LN_S="${LN_S}"
52229
52230
52231 _ACEOF
52232
52233 cat >>$CONFIG_STATUS <<\_ACEOF
52234
52235 # Handling of arguments.
52236 for ac_config_target in $ac_config_targets
52237 do
52238 case $ac_config_target in
52239 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52240 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
52241 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52242 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52243 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
52244 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
52245 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
52246 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
52247 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
52248
52249 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52250 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52251 { (exit 1); exit 1; }; };;
52252 esac
52253 done
52254
52255
52256 # If the user did not use the arguments to specify the items to instantiate,
52257 # then the envvar interface is used. Set only those that are not.
52258 # We use the long form for the default assignment because of an extremely
52259 # bizarre bug on SunOS 4.1.3.
52260 if $ac_need_defaults; then
52261 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
52262 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
52263 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
52264 fi
52265
52266 # Have a temporary directory for convenience. Make it in the build tree
52267 # simply because there is no reason against having it here, and in addition,
52268 # creating and moving files from /tmp can sometimes cause problems.
52269 # Hook for its removal unless debugging.
52270 # Note that there is a small window in which the directory will not be cleaned:
52271 # after its creation but before its name has been assigned to `$tmp'.
52272 $debug ||
52273 {
52274 tmp=
52275 trap 'exit_status=$?
52276 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52277 ' 0
52278 trap '{ (exit 1); exit 1; }' 1 2 13 15
52279 }
52280 # Create a (secure) tmp directory for tmp files.
52281
52282 {
52283 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52284 test -n "$tmp" && test -d "$tmp"
52285 } ||
52286 {
52287 tmp=./conf$$-$RANDOM
52288 (umask 077 && mkdir "$tmp")
52289 } ||
52290 {
52291 echo "$me: cannot create a temporary directory in ." >&2
52292 { (exit 1); exit 1; }
52293 }
52294
52295 #
52296 # Set up the sed scripts for CONFIG_FILES section.
52297 #
52298
52299 # No need to generate the scripts if there are no CONFIG_FILES.
52300 # This happens for instance when ./config.status config.h
52301 if test -n "$CONFIG_FILES"; then
52302
52303 _ACEOF
52304
52305
52306
52307 ac_delim='%!_!# '
52308 for ac_last_try in false false false false false :; do
52309 cat >conf$$subs.sed <<_ACEOF
52310 SHELL!$SHELL$ac_delim
52311 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52312 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52313 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52314 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52315 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52316 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52317 exec_prefix!$exec_prefix$ac_delim
52318 prefix!$prefix$ac_delim
52319 program_transform_name!$program_transform_name$ac_delim
52320 bindir!$bindir$ac_delim
52321 sbindir!$sbindir$ac_delim
52322 libexecdir!$libexecdir$ac_delim
52323 datarootdir!$datarootdir$ac_delim
52324 datadir!$datadir$ac_delim
52325 sysconfdir!$sysconfdir$ac_delim
52326 sharedstatedir!$sharedstatedir$ac_delim
52327 localstatedir!$localstatedir$ac_delim
52328 includedir!$includedir$ac_delim
52329 oldincludedir!$oldincludedir$ac_delim
52330 docdir!$docdir$ac_delim
52331 infodir!$infodir$ac_delim
52332 htmldir!$htmldir$ac_delim
52333 dvidir!$dvidir$ac_delim
52334 pdfdir!$pdfdir$ac_delim
52335 psdir!$psdir$ac_delim
52336 libdir!$libdir$ac_delim
52337 localedir!$localedir$ac_delim
52338 mandir!$mandir$ac_delim
52339 DEFS!$DEFS$ac_delim
52340 ECHO_C!$ECHO_C$ac_delim
52341 ECHO_N!$ECHO_N$ac_delim
52342 ECHO_T!$ECHO_T$ac_delim
52343 LIBS!$LIBS$ac_delim
52344 build_alias!$build_alias$ac_delim
52345 host_alias!$host_alias$ac_delim
52346 target_alias!$target_alias$ac_delim
52347 build!$build$ac_delim
52348 build_cpu!$build_cpu$ac_delim
52349 build_vendor!$build_vendor$ac_delim
52350 build_os!$build_os$ac_delim
52351 host!$host$ac_delim
52352 host_cpu!$host_cpu$ac_delim
52353 host_vendor!$host_vendor$ac_delim
52354 host_os!$host_os$ac_delim
52355 wx_top_builddir!$wx_top_builddir$ac_delim
52356 CC!$CC$ac_delim
52357 CFLAGS!$CFLAGS$ac_delim
52358 LDFLAGS!$LDFLAGS$ac_delim
52359 CPPFLAGS!$CPPFLAGS$ac_delim
52360 ac_ct_CC!$ac_ct_CC$ac_delim
52361 EXEEXT!$EXEEXT$ac_delim
52362 OBJEXT!$OBJEXT$ac_delim
52363 CPP!$CPP$ac_delim
52364 GREP!$GREP$ac_delim
52365 EGREP!$EGREP$ac_delim
52366 CXX!$CXX$ac_delim
52367 CXXFLAGS!$CXXFLAGS$ac_delim
52368 ac_ct_CXX!$ac_ct_CXX$ac_delim
52369 AR!$AR$ac_delim
52370 subdirs!$subdirs$ac_delim
52371 PKG_CONFIG!$PKG_CONFIG$ac_delim
52372 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52373 GTK_LIBS!$GTK_LIBS$ac_delim
52374 GTK_CONFIG!$GTK_CONFIG$ac_delim
52375 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52376 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52377 XMKMF!$XMKMF$ac_delim
52378 X_CFLAGS!$X_CFLAGS$ac_delim
52379 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52380 X_LIBS!$X_LIBS$ac_delim
52381 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52382 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52383 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52384 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52385 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52386 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52387 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52388 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52389 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52390 LIBICONV!$LIBICONV$ac_delim
52391 GXX_VERSION!$GXX_VERSION$ac_delim
52392 SDL_CONFIG!$SDL_CONFIG$ac_delim
52393 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52394 SDL_LIBS!$SDL_LIBS$ac_delim
52395 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52396 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52397 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52398 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52399 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52400 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52401 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52402 HILDON_LIBS!$HILDON_LIBS$ac_delim
52403 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52404 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52405 PYTHON!$PYTHON$ac_delim
52406 COND_PYTHON!$COND_PYTHON$ac_delim
52407 _ACEOF
52408
52409 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52410 break
52411 elif $ac_last_try; then
52412 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52413 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52414 { (exit 1); exit 1; }; }
52415 else
52416 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52417 fi
52418 done
52419
52420 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52421 if test -n "$ac_eof"; then
52422 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52423 ac_eof=`expr $ac_eof + 1`
52424 fi
52425
52426 cat >>$CONFIG_STATUS <<_ACEOF
52427 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52428 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52429 _ACEOF
52430 sed '
52431 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52432 s/^/s,@/; s/!/@,|#_!!_#|/
52433 :n
52434 t n
52435 s/'"$ac_delim"'$/,g/; t
52436 s/$/\\/; p
52437 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52438 ' >>$CONFIG_STATUS <conf$$subs.sed
52439 rm -f conf$$subs.sed
52440 cat >>$CONFIG_STATUS <<_ACEOF
52441 CEOF$ac_eof
52442 _ACEOF
52443
52444
52445 ac_delim='%!_!# '
52446 for ac_last_try in false false false false false :; do
52447 cat >conf$$subs.sed <<_ACEOF
52448 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52449 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52450 GST_CFLAGS!$GST_CFLAGS$ac_delim
52451 GST_LIBS!$GST_LIBS$ac_delim
52452 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52453 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52454 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52455 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52456 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52457 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52458 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52459 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52460 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52461 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52462 VENDOR!$VENDOR$ac_delim
52463 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52464 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52465 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52466 WXUNIV!$WXUNIV$ac_delim
52467 MONOLITHIC!$MONOLITHIC$ac_delim
52468 USE_PLUGINS!$USE_PLUGINS$ac_delim
52469 CXXWARNINGS!$CXXWARNINGS$ac_delim
52470 EXTRALIBS!$EXTRALIBS$ac_delim
52471 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52472 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52473 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52474 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52475 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52476 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52477 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52478 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52479 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52480 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52481 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52482 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52483 UNICODE!$UNICODE$ac_delim
52484 DEBUG_INFO!$DEBUG_INFO$ac_delim
52485 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52486 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52487 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52488 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52489 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52490 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52491 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52492 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52493 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52494 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52495 RANLIB!$RANLIB$ac_delim
52496 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52497 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52498 INSTALL_DATA!$INSTALL_DATA$ac_delim
52499 LN_S!$LN_S$ac_delim
52500 SET_MAKE!$SET_MAKE$ac_delim
52501 MAKE_SET!$MAKE_SET$ac_delim
52502 AROPTIONS!$AROPTIONS$ac_delim
52503 STRIP!$STRIP$ac_delim
52504 NM!$NM$ac_delim
52505 INSTALL_DIR!$INSTALL_DIR$ac_delim
52506 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52507 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52508 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52509 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52510 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52511 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52512 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52513 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52514 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52515 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52516 SO_SUFFIX!$SO_SUFFIX$ac_delim
52517 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52518 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52519 LIBPREFIX!$LIBPREFIX$ac_delim
52520 LIBEXT!$LIBEXT$ac_delim
52521 DLLPREFIX!$DLLPREFIX$ac_delim
52522 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52523 dlldir!$dlldir$ac_delim
52524 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52525 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52526 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52527 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52528 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52529 PIC_FLAG!$PIC_FLAG$ac_delim
52530 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52531 USE_SOVERSION!$USE_SOVERSION$ac_delim
52532 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52533 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52534 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52535 USE_MACVERSION!$USE_MACVERSION$ac_delim
52536 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
52537 SONAME_FLAG!$SONAME_FLAG$ac_delim
52538 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52539 BK_DEPS!$BK_DEPS$ac_delim
52540 WINDRES!$WINDRES$ac_delim
52541 REZ!$REZ$ac_delim
52542 SETFILE!$SETFILE$ac_delim
52543 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52544 GCC_PCH!$GCC_PCH$ac_delim
52545 _ACEOF
52546
52547 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52548 break
52549 elif $ac_last_try; then
52550 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52551 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52552 { (exit 1); exit 1; }; }
52553 else
52554 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52555 fi
52556 done
52557
52558 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52559 if test -n "$ac_eof"; then
52560 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52561 ac_eof=`expr $ac_eof + 1`
52562 fi
52563
52564 cat >>$CONFIG_STATUS <<_ACEOF
52565 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52566 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52567 _ACEOF
52568 sed '
52569 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52570 s/^/s,@/; s/!/@,|#_!!_#|/
52571 :n
52572 t n
52573 s/'"$ac_delim"'$/,g/; t
52574 s/$/\\/; p
52575 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52576 ' >>$CONFIG_STATUS <conf$$subs.sed
52577 rm -f conf$$subs.sed
52578 cat >>$CONFIG_STATUS <<_ACEOF
52579 CEOF$ac_eof
52580 _ACEOF
52581
52582
52583 ac_delim='%!_!# '
52584 for ac_last_try in false false false false false :; do
52585 cat >conf$$subs.sed <<_ACEOF
52586 ICC_PCH!$ICC_PCH$ac_delim
52587 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52588 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52589 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52590 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52591 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52592 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52593 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52594 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52595 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52596 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52597 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52598 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52599 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52600 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52601 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52602 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52603 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52604 COND_BUILD_release!$COND_BUILD_release$ac_delim
52605 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52606 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52607 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52608 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52609 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52610 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52611 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52612 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52613 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52614 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52615 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52616 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52617 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52618 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52619 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52620 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52621 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52622 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52623 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52624 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52625 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52626 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52627 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52628 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52629 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52630 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52631 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52632 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52633 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52634 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52635 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52636 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52637 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52638 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52639 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52640 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52641 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52642 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52643 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52644 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52645 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52646 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52647 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52648 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52649 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52650 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52651 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52652 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52653 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52654 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52655 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52656 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52657 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52658 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52659 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52660 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
52661 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52662 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
52663 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52664 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52665 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52666 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52667 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52668 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52669 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52670 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52671 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52672 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52673 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52674 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52675 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52676 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52677 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52678 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52679 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52680 COND_SHARED_0!$COND_SHARED_0$ac_delim
52681 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52682 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52683 _ACEOF
52684
52685 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52686 break
52687 elif $ac_last_try; then
52688 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52689 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52690 { (exit 1); exit 1; }; }
52691 else
52692 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52693 fi
52694 done
52695
52696 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52697 if test -n "$ac_eof"; then
52698 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52699 ac_eof=`expr $ac_eof + 1`
52700 fi
52701
52702 cat >>$CONFIG_STATUS <<_ACEOF
52703 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52704 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52705 _ACEOF
52706 sed '
52707 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52708 s/^/s,@/; s/!/@,|#_!!_#|/
52709 :n
52710 t n
52711 s/'"$ac_delim"'$/,g/; t
52712 s/$/\\/; p
52713 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52714 ' >>$CONFIG_STATUS <conf$$subs.sed
52715 rm -f conf$$subs.sed
52716 cat >>$CONFIG_STATUS <<_ACEOF
52717 CEOF$ac_eof
52718 _ACEOF
52719
52720
52721 ac_delim='%!_!# '
52722 for ac_last_try in false false false false false :; do
52723 cat >conf$$subs.sed <<_ACEOF
52724 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52725 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52726 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52727 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52728 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52729 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52730 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52731 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52732 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52733 COND_SHARED_1!$COND_SHARED_1$ac_delim
52734 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52735 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52736 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52737 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52738 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52739 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52740 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52741 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52742 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52743 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52744 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52745 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52746 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52747 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52748 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52749 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52750 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52751 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52752 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52753 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52754 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52755 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52756 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52757 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52758 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52759 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52760 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52761 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52762 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52763 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52764 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52765 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52766 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52767 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52768 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52769 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52770 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52771 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52772 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52773 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52774 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
52775 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52776 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52777 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52778 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52779 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52780 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52781 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52782 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52783 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52784 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52785 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52786 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52787 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52788 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52789 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52790 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52791 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52792 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52793 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
52794 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52795 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52796 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52797 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
52798 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52799 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52800 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52801 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52802 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52803 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52804 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52805 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52806 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52807 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52808 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52809 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52810 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52811 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52812 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52813 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52814 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52815 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52816 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52817 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52818 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52819 DEREZ!$DEREZ$ac_delim
52820 SHARED!$SHARED$ac_delim
52821 _ACEOF
52822
52823 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52824 break
52825 elif $ac_last_try; then
52826 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52827 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52828 { (exit 1); exit 1; }; }
52829 else
52830 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52831 fi
52832 done
52833
52834 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52835 if test -n "$ac_eof"; then
52836 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52837 ac_eof=`expr $ac_eof + 1`
52838 fi
52839
52840 cat >>$CONFIG_STATUS <<_ACEOF
52841 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52842 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52843 _ACEOF
52844 sed '
52845 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52846 s/^/s,@/; s/!/@,|#_!!_#|/
52847 :n
52848 t n
52849 s/'"$ac_delim"'$/,g/; t
52850 s/$/\\/; p
52851 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52852 ' >>$CONFIG_STATUS <conf$$subs.sed
52853 rm -f conf$$subs.sed
52854 cat >>$CONFIG_STATUS <<_ACEOF
52855 CEOF$ac_eof
52856 _ACEOF
52857
52858
52859 ac_delim='%!_!# '
52860 for ac_last_try in false false false false false :; do
52861 cat >conf$$subs.sed <<_ACEOF
52862 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52863 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52864 USE_GUI!$USE_GUI$ac_delim
52865 AFMINSTALL!$AFMINSTALL$ac_delim
52866 WIN32INSTALL!$WIN32INSTALL$ac_delim
52867 TOOLKIT!$TOOLKIT$ac_delim
52868 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52869 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52870 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52871 cross_compiling!$cross_compiling$ac_delim
52872 WIDGET_SET!$WIDGET_SET$ac_delim
52873 WX_RELEASE!$WX_RELEASE$ac_delim
52874 WX_VERSION!$WX_VERSION$ac_delim
52875 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52876 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52877 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52878 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52879 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52880 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52881 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52882 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
52883 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52884 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52885 GUIDIST!$GUIDIST$ac_delim
52886 DISTDIR!$DISTDIR$ac_delim
52887 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52888 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52889 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52890 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52891 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52892 RESCOMP!$RESCOMP$ac_delim
52893 RESFLAGS!$RESFLAGS$ac_delim
52894 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52895 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52896 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52897 LIBWXMACRES!$LIBWXMACRES$ac_delim
52898 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52899 MACSETFILE!$MACSETFILE$ac_delim
52900 GCC!$GCC$ac_delim
52901 DLLTOOL!$DLLTOOL$ac_delim
52902 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52903 LIBOBJS!$LIBOBJS$ac_delim
52904 LTLIBOBJS!$LTLIBOBJS$ac_delim
52905 _ACEOF
52906
52907 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 43; then
52908 break
52909 elif $ac_last_try; then
52910 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52911 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52912 { (exit 1); exit 1; }; }
52913 else
52914 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52915 fi
52916 done
52917
52918 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52919 if test -n "$ac_eof"; then
52920 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52921 ac_eof=`expr $ac_eof + 1`
52922 fi
52923
52924 cat >>$CONFIG_STATUS <<_ACEOF
52925 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52926 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52927 _ACEOF
52928 sed '
52929 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52930 s/^/s,@/; s/!/@,|#_!!_#|/
52931 :n
52932 t n
52933 s/'"$ac_delim"'$/,g/; t
52934 s/$/\\/; p
52935 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52936 ' >>$CONFIG_STATUS <conf$$subs.sed
52937 rm -f conf$$subs.sed
52938 cat >>$CONFIG_STATUS <<_ACEOF
52939 :end
52940 s/|#_!!_#|//g
52941 CEOF$ac_eof
52942 _ACEOF
52943
52944
52945 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52946 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52947 # trailing colons and then remove the whole line if VPATH becomes empty
52948 # (actually we leave an empty line to preserve line numbers).
52949 if test "x$srcdir" = x.; then
52950 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52951 s/:*\$(srcdir):*/:/
52952 s/:*\${srcdir}:*/:/
52953 s/:*@srcdir@:*/:/
52954 s/^\([^=]*=[ ]*\):*/\1/
52955 s/:*$//
52956 s/^[^=]*=[ ]*$//
52957 }'
52958 fi
52959
52960 cat >>$CONFIG_STATUS <<\_ACEOF
52961 fi # test -n "$CONFIG_FILES"
52962
52963
52964 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52965 do
52966 case $ac_tag in
52967 :[FHLC]) ac_mode=$ac_tag; continue;;
52968 esac
52969 case $ac_mode$ac_tag in
52970 :[FHL]*:*);;
52971 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52972 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52973 { (exit 1); exit 1; }; };;
52974 :[FH]-) ac_tag=-:-;;
52975 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52976 esac
52977 ac_save_IFS=$IFS
52978 IFS=:
52979 set x $ac_tag
52980 IFS=$ac_save_IFS
52981 shift
52982 ac_file=$1
52983 shift
52984
52985 case $ac_mode in
52986 :L) ac_source=$1;;
52987 :[FH])
52988 ac_file_inputs=
52989 for ac_f
52990 do
52991 case $ac_f in
52992 -) ac_f="$tmp/stdin";;
52993 *) # Look for the file first in the build tree, then in the source tree
52994 # (if the path is not absolute). The absolute path cannot be DOS-style,
52995 # because $ac_f cannot contain `:'.
52996 test -f "$ac_f" ||
52997 case $ac_f in
52998 [\\/$]*) false;;
52999 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
53000 esac ||
53001 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53002 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53003 { (exit 1); exit 1; }; };;
53004 esac
53005 ac_file_inputs="$ac_file_inputs $ac_f"
53006 done
53007
53008 # Let's still pretend it is `configure' which instantiates (i.e., don't
53009 # use $as_me), people would be surprised to read:
53010 # /* config.h. Generated by config.status. */
53011 configure_input="Generated from "`IFS=:
53012 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53013 if test x"$ac_file" != x-; then
53014 configure_input="$ac_file. $configure_input"
53015 { echo "$as_me:$LINENO: creating $ac_file" >&5
53016 echo "$as_me: creating $ac_file" >&6;}
53017 fi
53018
53019 case $ac_tag in
53020 *:-:* | *:-) cat >"$tmp/stdin";;
53021 esac
53022 ;;
53023 esac
53024
53025 ac_dir=`$as_dirname -- "$ac_file" ||
53026 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53027 X"$ac_file" : 'X\(//\)[^/]' \| \
53028 X"$ac_file" : 'X\(//\)$' \| \
53029 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53030 echo X"$ac_file" |
53031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53032 s//\1/
53033 q
53034 }
53035 /^X\(\/\/\)[^/].*/{
53036 s//\1/
53037 q
53038 }
53039 /^X\(\/\/\)$/{
53040 s//\1/
53041 q
53042 }
53043 /^X\(\/\).*/{
53044 s//\1/
53045 q
53046 }
53047 s/.*/./; q'`
53048 { as_dir="$ac_dir"
53049 case $as_dir in #(
53050 -*) as_dir=./$as_dir;;
53051 esac
53052 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53053 as_dirs=
53054 while :; do
53055 case $as_dir in #(
53056 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53057 *) as_qdir=$as_dir;;
53058 esac
53059 as_dirs="'$as_qdir' $as_dirs"
53060 as_dir=`$as_dirname -- "$as_dir" ||
53061 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53062 X"$as_dir" : 'X\(//\)[^/]' \| \
53063 X"$as_dir" : 'X\(//\)$' \| \
53064 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53065 echo X"$as_dir" |
53066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53067 s//\1/
53068 q
53069 }
53070 /^X\(\/\/\)[^/].*/{
53071 s//\1/
53072 q
53073 }
53074 /^X\(\/\/\)$/{
53075 s//\1/
53076 q
53077 }
53078 /^X\(\/\).*/{
53079 s//\1/
53080 q
53081 }
53082 s/.*/./; q'`
53083 test -d "$as_dir" && break
53084 done
53085 test -z "$as_dirs" || eval "mkdir $as_dirs"
53086 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53087 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53088 { (exit 1); exit 1; }; }; }
53089 ac_builddir=.
53090
53091 case "$ac_dir" in
53092 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53093 *)
53094 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53095 # A ".." for each directory in $ac_dir_suffix.
53096 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53097 case $ac_top_builddir_sub in
53098 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53099 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53100 esac ;;
53101 esac
53102 ac_abs_top_builddir=$ac_pwd
53103 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53104 # for backward compatibility:
53105 ac_top_builddir=$ac_top_build_prefix
53106
53107 case $srcdir in
53108 .) # We are building in place.
53109 ac_srcdir=.
53110 ac_top_srcdir=$ac_top_builddir_sub
53111 ac_abs_top_srcdir=$ac_pwd ;;
53112 [\\/]* | ?:[\\/]* ) # Absolute name.
53113 ac_srcdir=$srcdir$ac_dir_suffix;
53114 ac_top_srcdir=$srcdir
53115 ac_abs_top_srcdir=$srcdir ;;
53116 *) # Relative name.
53117 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53118 ac_top_srcdir=$ac_top_build_prefix$srcdir
53119 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53120 esac
53121 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53122
53123
53124 case $ac_mode in
53125 :F)
53126 #
53127 # CONFIG_FILE
53128 #
53129
53130 case $INSTALL in
53131 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
53132 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
53133 esac
53134 _ACEOF
53135
53136 cat >>$CONFIG_STATUS <<\_ACEOF
53137 # If the template does not know about datarootdir, expand it.
53138 # FIXME: This hack should be removed a few years after 2.60.
53139 ac_datarootdir_hack=; ac_datarootdir_seen=
53140
53141 case `sed -n '/datarootdir/ {
53142 p
53143 q
53144 }
53145 /@datadir@/p
53146 /@docdir@/p
53147 /@infodir@/p
53148 /@localedir@/p
53149 /@mandir@/p
53150 ' $ac_file_inputs` in
53151 *datarootdir*) ac_datarootdir_seen=yes;;
53152 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
53153 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53154 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53155 _ACEOF
53156 cat >>$CONFIG_STATUS <<_ACEOF
53157 ac_datarootdir_hack='
53158 s&@datadir@&$datadir&g
53159 s&@docdir@&$docdir&g
53160 s&@infodir@&$infodir&g
53161 s&@localedir@&$localedir&g
53162 s&@mandir@&$mandir&g
53163 s&\\\${datarootdir}&$datarootdir&g' ;;
53164 esac
53165 _ACEOF
53166
53167 # Neutralize VPATH when `$srcdir' = `.'.
53168 # Shell code in configure.ac might set extrasub.
53169 # FIXME: do we really want to maintain this feature?
53170 cat >>$CONFIG_STATUS <<_ACEOF
53171 sed "$ac_vpsub
53172 $extrasub
53173 _ACEOF
53174 cat >>$CONFIG_STATUS <<\_ACEOF
53175 :t
53176 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53177 s&@configure_input@&$configure_input&;t t
53178 s&@top_builddir@&$ac_top_builddir_sub&;t t
53179 s&@srcdir@&$ac_srcdir&;t t
53180 s&@abs_srcdir@&$ac_abs_srcdir&;t t
53181 s&@top_srcdir@&$ac_top_srcdir&;t t
53182 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
53183 s&@builddir@&$ac_builddir&;t t
53184 s&@abs_builddir@&$ac_abs_builddir&;t t
53185 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
53186 s&@INSTALL@&$ac_INSTALL&;t t
53187 $ac_datarootdir_hack
53188 " $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
53189
53190 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53191 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
53192 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
53193 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53194 which seems to be undefined. Please make sure it is defined." >&5
53195 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53196 which seems to be undefined. Please make sure it is defined." >&2;}
53197
53198 rm -f "$tmp/stdin"
53199 case $ac_file in
53200 -) cat "$tmp/out"; rm -f "$tmp/out";;
53201 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53202 esac
53203 ;;
53204 :H)
53205 #
53206 # CONFIG_HEADER
53207 #
53208 _ACEOF
53209
53210 # Transform confdefs.h into a sed script `conftest.defines', that
53211 # substitutes the proper values into config.h.in to produce config.h.
53212 rm -f conftest.defines conftest.tail
53213 # First, append a space to every undef/define line, to ease matching.
53214 echo 's/$/ /' >conftest.defines
53215 # Then, protect against being on the right side of a sed subst, or in
53216 # an unquoted here document, in config.status. If some macros were
53217 # called several times there might be several #defines for the same
53218 # symbol, which is useless. But do not sort them, since the last
53219 # AC_DEFINE must be honored.
53220 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
53221 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53222 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53223 # PARAMS is the parameter list in the macro definition--in most cases, it's
53224 # just an empty string.
53225 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53226 ac_dB='\\)[ (].*,\\1define\\2'
53227 ac_dC=' '
53228 ac_dD=' ,'
53229
53230 uniq confdefs.h |
53231 sed -n '
53232 t rset
53233 :rset
53234 s/^[ ]*#[ ]*define[ ][ ]*//
53235 t ok
53236 d
53237 :ok
53238 s/[\\&,]/\\&/g
53239 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53240 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53241 ' >>conftest.defines
53242
53243 # Remove the space that was appended to ease matching.
53244 # Then replace #undef with comments. This is necessary, for
53245 # example, in the case of _POSIX_SOURCE, which is predefined and required
53246 # on some systems where configure will not decide to define it.
53247 # (The regexp can be short, since the line contains either #define or #undef.)
53248 echo 's/ $//
53249 s,^[ #]*u.*,/* & */,' >>conftest.defines
53250
53251 # Break up conftest.defines:
53252 ac_max_sed_lines=50
53253
53254 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53255 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53256 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53257 # et cetera.
53258 ac_in='$ac_file_inputs'
53259 ac_out='"$tmp/out1"'
53260 ac_nxt='"$tmp/out2"'
53261
53262 while :
53263 do
53264 # Write a here document:
53265 cat >>$CONFIG_STATUS <<_ACEOF
53266 # First, check the format of the line:
53267 cat >"\$tmp/defines.sed" <<\\CEOF
53268 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53269 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53270 b
53271 :def
53272 _ACEOF
53273 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
53274 echo 'CEOF
53275 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53276 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
53277 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
53278 grep . conftest.tail >/dev/null || break
53279 rm -f conftest.defines
53280 mv conftest.tail conftest.defines
53281 done
53282 rm -f conftest.defines conftest.tail
53283
53284 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53285 cat >>$CONFIG_STATUS <<\_ACEOF
53286 if test x"$ac_file" != x-; then
53287 echo "/* $configure_input */" >"$tmp/config.h"
53288 cat "$ac_result" >>"$tmp/config.h"
53289 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
53290 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53291 echo "$as_me: $ac_file is unchanged" >&6;}
53292 else
53293 rm -f $ac_file
53294 mv "$tmp/config.h" $ac_file
53295 fi
53296 else
53297 echo "/* $configure_input */"
53298 cat "$ac_result"
53299 fi
53300 rm -f "$tmp/out12"
53301 ;;
53302
53303 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53304 echo "$as_me: executing $ac_file commands" >&6;}
53305 ;;
53306 esac
53307
53308
53309 case $ac_file$ac_mode in
53310 "rcdefs.h":C)
53311 mkdir -p $outdir &&
53312 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53313 ;;
53314 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
53315 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
53316 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
53317 "wx-config":C) rm -f wx-config
53318 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
53319 ;;
53320
53321 esac
53322 done # for ac_tag
53323
53324
53325 { (exit 0); exit 0; }
53326 _ACEOF
53327 chmod +x $CONFIG_STATUS
53328 ac_clean_files=$ac_clean_files_save
53329
53330
53331 # configure is writing to config.log, and then calls config.status.
53332 # config.status does its own redirection, appending to config.log.
53333 # Unfortunately, on DOS this fails, as config.log is still kept open
53334 # by configure, so config.status won't be able to write to it; its
53335 # output is simply discarded. So we exec the FD to /dev/null,
53336 # effectively closing config.log, so it can be properly (re)opened and
53337 # appended to by config.status. When coming back to configure, we
53338 # need to make the FD available again.
53339 if test "$no_create" != yes; then
53340 ac_cs_success=:
53341 ac_config_status_args=
53342 test "$silent" = yes &&
53343 ac_config_status_args="$ac_config_status_args --quiet"
53344 exec 5>/dev/null
53345 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
53346 exec 5>>config.log
53347 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53348 # would make configure fail if this is the last instruction.
53349 $ac_cs_success || { (exit 1); exit 1; }
53350 fi
53351
53352 #
53353 # CONFIG_SUBDIRS section.
53354 #
53355 if test "$no_recursion" != yes; then
53356
53357 # Remove --cache-file and --srcdir arguments so they do not pile up.
53358 ac_sub_configure_args=
53359 ac_prev=
53360 eval "set x $ac_configure_args"
53361 shift
53362 for ac_arg
53363 do
53364 if test -n "$ac_prev"; then
53365 ac_prev=
53366 continue
53367 fi
53368 case $ac_arg in
53369 -cache-file | --cache-file | --cache-fil | --cache-fi \
53370 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53371 ac_prev=cache_file ;;
53372 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53373 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53374 | --c=*)
53375 ;;
53376 --config-cache | -C)
53377 ;;
53378 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53379 ac_prev=srcdir ;;
53380 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53381 ;;
53382 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53383 ac_prev=prefix ;;
53384 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53385 ;;
53386 *)
53387 case $ac_arg in
53388 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53389 esac
53390 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
53391 esac
53392 done
53393
53394 # Always prepend --prefix to ensure using the same prefix
53395 # in subdir configurations.
53396 ac_arg="--prefix=$prefix"
53397 case $ac_arg in
53398 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53399 esac
53400 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
53401
53402 # Pass --silent
53403 if test "$silent" = yes; then
53404 ac_sub_configure_args="--silent $ac_sub_configure_args"
53405 fi
53406
53407 ac_popdir=`pwd`
53408 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
53409
53410 # Do not complain, so a configure script can configure whichever
53411 # parts of a large source tree are present.
53412 test -d "$srcdir/$ac_dir" || continue
53413
53414 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53415 echo "$as_me:$LINENO: $ac_msg" >&5
53416 echo "$ac_msg" >&6
53417 { as_dir="$ac_dir"
53418 case $as_dir in #(
53419 -*) as_dir=./$as_dir;;
53420 esac
53421 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53422 as_dirs=
53423 while :; do
53424 case $as_dir in #(
53425 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53426 *) as_qdir=$as_dir;;
53427 esac
53428 as_dirs="'$as_qdir' $as_dirs"
53429 as_dir=`$as_dirname -- "$as_dir" ||
53430 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53431 X"$as_dir" : 'X\(//\)[^/]' \| \
53432 X"$as_dir" : 'X\(//\)$' \| \
53433 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53434 echo X"$as_dir" |
53435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53436 s//\1/
53437 q
53438 }
53439 /^X\(\/\/\)[^/].*/{
53440 s//\1/
53441 q
53442 }
53443 /^X\(\/\/\)$/{
53444 s//\1/
53445 q
53446 }
53447 /^X\(\/\).*/{
53448 s//\1/
53449 q
53450 }
53451 s/.*/./; q'`
53452 test -d "$as_dir" && break
53453 done
53454 test -z "$as_dirs" || eval "mkdir $as_dirs"
53455 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53456 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53457 { (exit 1); exit 1; }; }; }
53458 ac_builddir=.
53459
53460 case "$ac_dir" in
53461 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53462 *)
53463 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53464 # A ".." for each directory in $ac_dir_suffix.
53465 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53466 case $ac_top_builddir_sub in
53467 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53468 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53469 esac ;;
53470 esac
53471 ac_abs_top_builddir=$ac_pwd
53472 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53473 # for backward compatibility:
53474 ac_top_builddir=$ac_top_build_prefix
53475
53476 case $srcdir in
53477 .) # We are building in place.
53478 ac_srcdir=.
53479 ac_top_srcdir=$ac_top_builddir_sub
53480 ac_abs_top_srcdir=$ac_pwd ;;
53481 [\\/]* | ?:[\\/]* ) # Absolute name.
53482 ac_srcdir=$srcdir$ac_dir_suffix;
53483 ac_top_srcdir=$srcdir
53484 ac_abs_top_srcdir=$srcdir ;;
53485 *) # Relative name.
53486 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53487 ac_top_srcdir=$ac_top_build_prefix$srcdir
53488 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53489 esac
53490 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53491
53492
53493 cd "$ac_dir"
53494
53495 # Check for guested configure; otherwise get Cygnus style configure.
53496 if test -f "$ac_srcdir/configure.gnu"; then
53497 ac_sub_configure=$ac_srcdir/configure.gnu
53498 elif test -f "$ac_srcdir/configure"; then
53499 ac_sub_configure=$ac_srcdir/configure
53500 elif test -f "$ac_srcdir/configure.in"; then
53501 # This should be Cygnus configure.
53502 ac_sub_configure=$ac_aux_dir/configure
53503 else
53504 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53505 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53506 ac_sub_configure=
53507 fi
53508
53509 # The recursion is here.
53510 if test -n "$ac_sub_configure"; then
53511 # Make the cache file name correct relative to the subdirectory.
53512 case $cache_file in
53513 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53514 *) # Relative name.
53515 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
53516 esac
53517
53518 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53519 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53520 # The eval makes quoting arguments work.
53521 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53522 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53523 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53524 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53525 { (exit 1); exit 1; }; }
53526 fi
53527
53528 cd "$ac_popdir"
53529 done
53530 fi
53531
53532
53533 echo
53534 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53535 echo ""
53536 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53537 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53538 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53539 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53540 if test "$wxUSE_UNICODE" = "yes"; then
53541 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53542 echo " (using UTF-8)"
53543 else
53544 echo " (using wchar_t)"
53545 fi
53546 else
53547 echo
53548 fi
53549
53550 echo " What level of wxWidgets compatibility should be enabled?"
53551 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53552 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53553
53554 echo " Which libraries should wxWidgets use?"
53555 echo " STL ${wxUSE_STL}"
53556 echo " jpeg ${wxUSE_LIBJPEG-none}"
53557 echo " png ${wxUSE_LIBPNG-none}"
53558 echo " regex ${wxUSE_REGEX}"
53559 echo " tiff ${wxUSE_LIBTIFF-none}"
53560 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53561 echo " xpm ${wxUSE_LIBXPM-none}"
53562 fi
53563 echo " zlib ${wxUSE_ZLIB}"
53564 echo " expat ${wxUSE_EXPAT}"
53565 echo " libmspack ${wxUSE_LIBMSPACK}"
53566 echo " sdl ${wxUSE_LIBSDL}"
53567
53568 echo ""
53569