]> git.saurik.com Git - wxWidgets.git/blob - configure
make sure it is compilable w/o menus (eg on iPhone)
[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_PLATFORM_WIN32_1_SHARED_0
887 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
891 COND_PLATFORM_MACOSX_1_USE_GUI_1
892 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
893 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
894 COND_PLATFORM_MACOS_1
895 COND_PLATFORM_MAC_0
896 COND_PLATFORM_MAC_1
897 COND_PLATFORM_MSDOS_0
898 COND_PLATFORM_MSDOS_1
899 COND_PLATFORM_OS2_1
900 COND_PLATFORM_UNIX_0
901 COND_PLATFORM_UNIX_1
902 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
903 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
904 COND_PLATFORM_UNIX_1_USE_GUI_1
905 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
906 COND_PLATFORM_WIN32_0
907 COND_PLATFORM_WIN32_1
908 COND_PLATFORM_WIN32_1_SHARED_0
909 COND_SHARED_0
910 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
911 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
912 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
913 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
914 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
915 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
916 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
917 COND_SHARED_0_USE_STC_1
918 COND_SHARED_0_wxUSE_EXPAT_builtin
919 COND_SHARED_0_wxUSE_REGEX_builtin
920 COND_SHARED_0_wxUSE_ZLIB_builtin
921 COND_SHARED_1
922 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
923 COND_TOOLKIT_
924 COND_TOOLKIT_COCOA
925 COND_TOOLKIT_COCOA_USE_GUI_1
926 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_DFB
928 COND_TOOLKIT_DFB_USE_GUI_1
929 COND_TOOLKIT_GTK
930 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
932 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
933 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_GTK_USE_GUI_1
937 COND_TOOLKIT_MAC
938 COND_TOOLKIT_MGL
939 COND_TOOLKIT_MGL_USE_GUI_1
940 COND_TOOLKIT_MOTIF
941 COND_TOOLKIT_MOTIF_USE_GUI_1
942 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
943 COND_TOOLKIT_MSW
944 COND_TOOLKIT_MSW_USE_GUI_1
945 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
946 COND_TOOLKIT_MSW_WXUNIV_0
947 COND_TOOLKIT_OSX_CARBON
948 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
949 COND_TOOLKIT_OSX_COCOA
950 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
951 COND_TOOLKIT_OSX_IPHONE
952 COND_TOOLKIT_PM
953 COND_TOOLKIT_PM_USE_GUI_1
954 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
955 COND_TOOLKIT_WINCE
956 COND_TOOLKIT_WINCE_USE_GUI_1
957 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
958 COND_TOOLKIT_WINCE_WXUNIV_0
959 COND_TOOLKIT_X11
960 COND_TOOLKIT_X11_USE_GUI_1
961 COND_UNICODE_1
962 COND_USE_CAIRO_1
963 COND_USE_EXCEPTIONS_0
964 COND_USE_EXCEPTIONS_1
965 COND_USE_GUI_0
966 COND_USE_GUI_1
967 COND_USE_GUI_1_USE_OPENGL_1
968 COND_USE_GUI_1_WXUNIV_0
969 COND_USE_GUI_1_WXUNIV_1
970 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
971 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
972 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
973 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
974 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
975 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
976 COND_USE_OPENGL_1
977 COND_USE_PCH_1
978 COND_USE_PLUGINS_0
979 COND_USE_RTTI_0
980 COND_USE_RTTI_1
981 COND_USE_SOTWOSYMLINKS_1
982 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
983 COND_USE_SOVERLINUX_1
984 COND_USE_SOVERSION_0
985 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
986 COND_USE_SOVERSOLARIS_1
987 COND_USE_STC_1
988 COND_USE_THREADS_0
989 COND_USE_THREADS_1
990 COND_USE_XRC_1
991 COND_WINDOWS_IMPLIB_1
992 COND_WITH_PLUGIN_SDL_1
993 COND_WXUNIV_0
994 COND_WXUNIV_1
995 COND_WXUSE_EXPAT_BUILTIN
996 COND_WXUSE_LIBJPEG_BUILTIN
997 COND_WXUSE_LIBPNG_BUILTIN
998 COND_WXUSE_LIBTIFF_BUILTIN
999 COND_WXUSE_REGEX_BUILTIN
1000 COND_WXUSE_ZLIB_BUILTIN
1001 COND_wxUSE_EXPAT_builtin
1002 COND_wxUSE_LIBJPEG_builtin
1003 COND_wxUSE_LIBPNG_builtin
1004 COND_wxUSE_LIBTIFF_builtin
1005 COND_wxUSE_REGEX_builtin
1006 COND_wxUSE_ZLIB_builtin
1007 DEREZ
1008 SHARED
1009 WX_LIBRARY_BASENAME_NOGUI
1010 WX_LIBRARY_BASENAME_GUI
1011 USE_GUI
1012 AFMINSTALL
1013 WIN32INSTALL
1014 TOOLKIT
1015 TOOLKIT_DIR
1016 TOOLCHAIN_NAME
1017 TOOLCHAIN_FULLNAME
1018 cross_compiling
1019 WIDGET_SET
1020 WX_RELEASE
1021 WX_VERSION
1022 WX_SUBVERSION
1023 WX_CHARTYPE
1024 WXCONFIG_CPPFLAGS
1025 WXCONFIG_CFLAGS
1026 WXCONFIG_CXXFLAGS
1027 WXCONFIG_LIBS
1028 WXCONFIG_RPATH
1029 WXCONFIG_LDFLAGS
1030 WXCONFIG_LDFLAGS_GUI
1031 WXCONFIG_RESFLAGS
1032 GUIDIST
1033 DISTDIR
1034 SAMPLES_SUBDIRS
1035 LDFLAGS_GL
1036 OPENGL_LIBS
1037 DMALLOC_LIBS
1038 WX_VERSION_TAG
1039 RESCOMP
1040 RESFLAGS
1041 RESPROGRAMOBJ
1042 WX_RESOURCES_MACOSX_ASCII
1043 WX_RESOURCES_MACOSX_DATA
1044 LIBWXMACRES
1045 POSTLINK_COMMAND
1046 MACSETFILE
1047 GCC
1048 DLLTOOL
1049 CPPUNIT_CONFIG
1050 LIBOBJS
1051 LTLIBOBJS'
1052 ac_subst_files=''
1053 ac_precious_vars='build_alias
1054 host_alias
1055 target_alias
1056 CC
1057 CFLAGS
1058 LDFLAGS
1059 LIBS
1060 CPPFLAGS
1061 CPP
1062 CXX
1063 CXXFLAGS
1064 CCC
1065 PKG_CONFIG
1066 DIRECTFB_CFLAGS
1067 DIRECTFB_LIBS
1068 XMKMF
1069 PANGOX_CFLAGS
1070 PANGOX_LIBS
1071 PANGOFT2_CFLAGS
1072 PANGOFT2_LIBS
1073 PANGOXFT_CFLAGS
1074 PANGOXFT_LIBS
1075 GTKPRINT_CFLAGS
1076 GTKPRINT_LIBS
1077 LIBGNOMEPRINTUI_CFLAGS
1078 LIBGNOMEPRINTUI_LIBS
1079 GNOMEVFS_CFLAGS
1080 GNOMEVFS_LIBS
1081 HILDON_CFLAGS
1082 HILDON_LIBS
1083 HILDON2_CFLAGS
1084 HILDON2_LIBS
1085 CAIRO_CFLAGS
1086 CAIRO_LIBS
1087 GST_CFLAGS
1088 GST_LIBS'
1089 ac_subdirs_all='src/tiff
1090 src/expat'
1091
1092 # Initialize some variables set by options.
1093 ac_init_help=
1094 ac_init_version=false
1095 # The variables have the same names as the options, with
1096 # dashes changed to underlines.
1097 cache_file=/dev/null
1098 exec_prefix=NONE
1099 no_create=
1100 no_recursion=
1101 prefix=NONE
1102 program_prefix=NONE
1103 program_suffix=NONE
1104 program_transform_name=s,x,x,
1105 silent=
1106 site=
1107 srcdir=
1108 verbose=
1109 x_includes=NONE
1110 x_libraries=NONE
1111
1112 # Installation directory options.
1113 # These are left unexpanded so users can "make install exec_prefix=/foo"
1114 # and all the variables that are supposed to be based on exec_prefix
1115 # by default will actually change.
1116 # Use braces instead of parens because sh, perl, etc. also accept them.
1117 # (The list follows the same order as the GNU Coding Standards.)
1118 bindir='${exec_prefix}/bin'
1119 sbindir='${exec_prefix}/sbin'
1120 libexecdir='${exec_prefix}/libexec'
1121 datarootdir='${prefix}/share'
1122 datadir='${datarootdir}'
1123 sysconfdir='${prefix}/etc'
1124 sharedstatedir='${prefix}/com'
1125 localstatedir='${prefix}/var'
1126 includedir='${prefix}/include'
1127 oldincludedir='/usr/include'
1128 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1129 infodir='${datarootdir}/info'
1130 htmldir='${docdir}'
1131 dvidir='${docdir}'
1132 pdfdir='${docdir}'
1133 psdir='${docdir}'
1134 libdir='${exec_prefix}/lib'
1135 localedir='${datarootdir}/locale'
1136 mandir='${datarootdir}/man'
1137
1138 ac_prev=
1139 ac_dashdash=
1140 for ac_option
1141 do
1142 # If the previous option needs an argument, assign it.
1143 if test -n "$ac_prev"; then
1144 eval $ac_prev=\$ac_option
1145 ac_prev=
1146 continue
1147 fi
1148
1149 case $ac_option in
1150 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1151 *) ac_optarg=yes ;;
1152 esac
1153
1154 # Accept the important Cygnus configure options, so we can diagnose typos.
1155
1156 case $ac_dashdash$ac_option in
1157 --)
1158 ac_dashdash=yes ;;
1159
1160 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1161 ac_prev=bindir ;;
1162 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1163 bindir=$ac_optarg ;;
1164
1165 -build | --build | --buil | --bui | --bu)
1166 ac_prev=build_alias ;;
1167 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1168 build_alias=$ac_optarg ;;
1169
1170 -cache-file | --cache-file | --cache-fil | --cache-fi \
1171 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1172 ac_prev=cache_file ;;
1173 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1174 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1175 cache_file=$ac_optarg ;;
1176
1177 --config-cache | -C)
1178 cache_file=config.cache ;;
1179
1180 -datadir | --datadir | --datadi | --datad)
1181 ac_prev=datadir ;;
1182 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1183 datadir=$ac_optarg ;;
1184
1185 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1186 | --dataroo | --dataro | --datar)
1187 ac_prev=datarootdir ;;
1188 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1189 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1190 datarootdir=$ac_optarg ;;
1191
1192 -disable-* | --disable-*)
1193 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1196 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1197 { (exit 1); exit 1; }; }
1198 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1199 eval enable_$ac_feature=no ;;
1200
1201 -docdir | --docdir | --docdi | --doc | --do)
1202 ac_prev=docdir ;;
1203 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1204 docdir=$ac_optarg ;;
1205
1206 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1207 ac_prev=dvidir ;;
1208 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1209 dvidir=$ac_optarg ;;
1210
1211 -enable-* | --enable-*)
1212 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1213 # Reject names that are not valid shell variable names.
1214 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1215 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1216 { (exit 1); exit 1; }; }
1217 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1218 eval enable_$ac_feature=\$ac_optarg ;;
1219
1220 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1221 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1222 | --exec | --exe | --ex)
1223 ac_prev=exec_prefix ;;
1224 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1225 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1226 | --exec=* | --exe=* | --ex=*)
1227 exec_prefix=$ac_optarg ;;
1228
1229 -gas | --gas | --ga | --g)
1230 # Obsolete; use --with-gas.
1231 with_gas=yes ;;
1232
1233 -help | --help | --hel | --he | -h)
1234 ac_init_help=long ;;
1235 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1236 ac_init_help=recursive ;;
1237 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1238 ac_init_help=short ;;
1239
1240 -host | --host | --hos | --ho)
1241 ac_prev=host_alias ;;
1242 -host=* | --host=* | --hos=* | --ho=*)
1243 host_alias=$ac_optarg ;;
1244
1245 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1246 ac_prev=htmldir ;;
1247 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1248 | --ht=*)
1249 htmldir=$ac_optarg ;;
1250
1251 -includedir | --includedir | --includedi | --included | --include \
1252 | --includ | --inclu | --incl | --inc)
1253 ac_prev=includedir ;;
1254 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1255 | --includ=* | --inclu=* | --incl=* | --inc=*)
1256 includedir=$ac_optarg ;;
1257
1258 -infodir | --infodir | --infodi | --infod | --info | --inf)
1259 ac_prev=infodir ;;
1260 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1261 infodir=$ac_optarg ;;
1262
1263 -libdir | --libdir | --libdi | --libd)
1264 ac_prev=libdir ;;
1265 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1266 libdir=$ac_optarg ;;
1267
1268 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1269 | --libexe | --libex | --libe)
1270 ac_prev=libexecdir ;;
1271 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1272 | --libexe=* | --libex=* | --libe=*)
1273 libexecdir=$ac_optarg ;;
1274
1275 -localedir | --localedir | --localedi | --localed | --locale)
1276 ac_prev=localedir ;;
1277 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1278 localedir=$ac_optarg ;;
1279
1280 -localstatedir | --localstatedir | --localstatedi | --localstated \
1281 | --localstate | --localstat | --localsta | --localst | --locals)
1282 ac_prev=localstatedir ;;
1283 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1284 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1285 localstatedir=$ac_optarg ;;
1286
1287 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1288 ac_prev=mandir ;;
1289 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1290 mandir=$ac_optarg ;;
1291
1292 -nfp | --nfp | --nf)
1293 # Obsolete; use --without-fp.
1294 with_fp=no ;;
1295
1296 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1297 | --no-cr | --no-c | -n)
1298 no_create=yes ;;
1299
1300 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1301 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1302 no_recursion=yes ;;
1303
1304 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1305 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1306 | --oldin | --oldi | --old | --ol | --o)
1307 ac_prev=oldincludedir ;;
1308 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1309 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1310 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1311 oldincludedir=$ac_optarg ;;
1312
1313 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1314 ac_prev=prefix ;;
1315 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1316 prefix=$ac_optarg ;;
1317
1318 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1319 | --program-pre | --program-pr | --program-p)
1320 ac_prev=program_prefix ;;
1321 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1322 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1323 program_prefix=$ac_optarg ;;
1324
1325 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1326 | --program-suf | --program-su | --program-s)
1327 ac_prev=program_suffix ;;
1328 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1329 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1330 program_suffix=$ac_optarg ;;
1331
1332 -program-transform-name | --program-transform-name \
1333 | --program-transform-nam | --program-transform-na \
1334 | --program-transform-n | --program-transform- \
1335 | --program-transform | --program-transfor \
1336 | --program-transfo | --program-transf \
1337 | --program-trans | --program-tran \
1338 | --progr-tra | --program-tr | --program-t)
1339 ac_prev=program_transform_name ;;
1340 -program-transform-name=* | --program-transform-name=* \
1341 | --program-transform-nam=* | --program-transform-na=* \
1342 | --program-transform-n=* | --program-transform-=* \
1343 | --program-transform=* | --program-transfor=* \
1344 | --program-transfo=* | --program-transf=* \
1345 | --program-trans=* | --program-tran=* \
1346 | --progr-tra=* | --program-tr=* | --program-t=*)
1347 program_transform_name=$ac_optarg ;;
1348
1349 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1350 ac_prev=pdfdir ;;
1351 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1352 pdfdir=$ac_optarg ;;
1353
1354 -psdir | --psdir | --psdi | --psd | --ps)
1355 ac_prev=psdir ;;
1356 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1357 psdir=$ac_optarg ;;
1358
1359 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1360 | -silent | --silent | --silen | --sile | --sil)
1361 silent=yes ;;
1362
1363 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1364 ac_prev=sbindir ;;
1365 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1366 | --sbi=* | --sb=*)
1367 sbindir=$ac_optarg ;;
1368
1369 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1370 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1371 | --sharedst | --shareds | --shared | --share | --shar \
1372 | --sha | --sh)
1373 ac_prev=sharedstatedir ;;
1374 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1375 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1376 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1377 | --sha=* | --sh=*)
1378 sharedstatedir=$ac_optarg ;;
1379
1380 -site | --site | --sit)
1381 ac_prev=site ;;
1382 -site=* | --site=* | --sit=*)
1383 site=$ac_optarg ;;
1384
1385 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1386 ac_prev=srcdir ;;
1387 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1388 srcdir=$ac_optarg ;;
1389
1390 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1391 | --syscon | --sysco | --sysc | --sys | --sy)
1392 ac_prev=sysconfdir ;;
1393 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1394 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1395 sysconfdir=$ac_optarg ;;
1396
1397 -target | --target | --targe | --targ | --tar | --ta | --t)
1398 ac_prev=target_alias ;;
1399 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1400 target_alias=$ac_optarg ;;
1401
1402 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1403 verbose=yes ;;
1404
1405 -version | --version | --versio | --versi | --vers | -V)
1406 ac_init_version=: ;;
1407
1408 -with-* | --with-*)
1409 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1412 { echo "$as_me: error: invalid package name: $ac_package" >&2
1413 { (exit 1); exit 1; }; }
1414 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1415 eval with_$ac_package=\$ac_optarg ;;
1416
1417 -without-* | --without-*)
1418 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1419 # Reject names that are not valid shell variable names.
1420 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1421 { echo "$as_me: error: invalid package name: $ac_package" >&2
1422 { (exit 1); exit 1; }; }
1423 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1424 eval with_$ac_package=no ;;
1425
1426 --x)
1427 # Obsolete; use --with-x.
1428 with_x=yes ;;
1429
1430 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1431 | --x-incl | --x-inc | --x-in | --x-i)
1432 ac_prev=x_includes ;;
1433 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1434 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1435 x_includes=$ac_optarg ;;
1436
1437 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1438 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1439 ac_prev=x_libraries ;;
1440 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1441 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1442 x_libraries=$ac_optarg ;;
1443
1444 -*) { echo "$as_me: error: unrecognized option: $ac_option
1445 Try \`$0 --help' for more information." >&2
1446 { (exit 1); exit 1; }; }
1447 ;;
1448
1449 *=*)
1450 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1451 # Reject names that are not valid shell variable names.
1452 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1453 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1454 { (exit 1); exit 1; }; }
1455 eval $ac_envvar=\$ac_optarg
1456 export $ac_envvar ;;
1457
1458 *)
1459 # FIXME: should be removed in autoconf 3.0.
1460 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1461 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1462 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1463 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1464 ;;
1465
1466 esac
1467 done
1468
1469 if test -n "$ac_prev"; then
1470 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1471 { echo "$as_me: error: missing argument to $ac_option" >&2
1472 { (exit 1); exit 1; }; }
1473 fi
1474
1475 # Be sure to have absolute directory names.
1476 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1477 datadir sysconfdir sharedstatedir localstatedir includedir \
1478 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1479 libdir localedir mandir
1480 do
1481 eval ac_val=\$$ac_var
1482 case $ac_val in
1483 [\\/$]* | ?:[\\/]* ) continue;;
1484 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1485 esac
1486 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1487 { (exit 1); exit 1; }; }
1488 done
1489
1490 # There might be people who depend on the old broken behavior: `$host'
1491 # used to hold the argument of --host etc.
1492 # FIXME: To remove some day.
1493 build=$build_alias
1494 host=$host_alias
1495 target=$target_alias
1496
1497 # FIXME: To remove some day.
1498 if test "x$host_alias" != x; then
1499 if test "x$build_alias" = x; then
1500 cross_compiling=maybe
1501 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1502 If a cross compiler is detected then cross compile mode will be used." >&2
1503 elif test "x$build_alias" != "x$host_alias"; then
1504 cross_compiling=yes
1505 fi
1506 fi
1507
1508 ac_tool_prefix=
1509 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1510
1511 test "$silent" = yes && exec 6>/dev/null
1512
1513
1514 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1515 ac_ls_di=`ls -di .` &&
1516 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1517 { echo "$as_me: error: Working directory cannot be determined" >&2
1518 { (exit 1); exit 1; }; }
1519 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1520 { echo "$as_me: error: pwd does not report name of working directory" >&2
1521 { (exit 1); exit 1; }; }
1522
1523
1524 # Find the source files, if location was not specified.
1525 if test -z "$srcdir"; then
1526 ac_srcdir_defaulted=yes
1527 # Try the directory containing this script, then the parent directory.
1528 ac_confdir=`$as_dirname -- "$0" ||
1529 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1530 X"$0" : 'X\(//\)[^/]' \| \
1531 X"$0" : 'X\(//\)$' \| \
1532 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1533 echo X"$0" |
1534 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1535 s//\1/
1536 q
1537 }
1538 /^X\(\/\/\)[^/].*/{
1539 s//\1/
1540 q
1541 }
1542 /^X\(\/\/\)$/{
1543 s//\1/
1544 q
1545 }
1546 /^X\(\/\).*/{
1547 s//\1/
1548 q
1549 }
1550 s/.*/./; q'`
1551 srcdir=$ac_confdir
1552 if test ! -r "$srcdir/$ac_unique_file"; then
1553 srcdir=..
1554 fi
1555 else
1556 ac_srcdir_defaulted=no
1557 fi
1558 if test ! -r "$srcdir/$ac_unique_file"; then
1559 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1560 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1561 { (exit 1); exit 1; }; }
1562 fi
1563 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1564 ac_abs_confdir=`(
1565 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1566 { (exit 1); exit 1; }; }
1567 pwd)`
1568 # When building in place, set srcdir=.
1569 if test "$ac_abs_confdir" = "$ac_pwd"; then
1570 srcdir=.
1571 fi
1572 # Remove unnecessary trailing slashes from srcdir.
1573 # Double slashes in file names in object file debugging info
1574 # mess up M-x gdb in Emacs.
1575 case $srcdir in
1576 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1577 esac
1578 for ac_var in $ac_precious_vars; do
1579 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1580 eval ac_env_${ac_var}_value=\$${ac_var}
1581 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1582 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1583 done
1584
1585 #
1586 # Report the --help message.
1587 #
1588 if test "$ac_init_help" = "long"; then
1589 # Omit some internal or obsolete options to make the list less imposing.
1590 # This message is too long to be a string in the A/UX 3.1 sh.
1591 cat <<_ACEOF
1592 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1593
1594 Usage: $0 [OPTION]... [VAR=VALUE]...
1595
1596 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1597 VAR=VALUE. See below for descriptions of some of the useful variables.
1598
1599 Defaults for the options are specified in brackets.
1600
1601 Configuration:
1602 -h, --help display this help and exit
1603 --help=short display options specific to this package
1604 --help=recursive display the short help of all the included packages
1605 -V, --version display version information and exit
1606 -q, --quiet, --silent do not print \`checking...' messages
1607 --cache-file=FILE cache test results in FILE [disabled]
1608 -C, --config-cache alias for \`--cache-file=config.cache'
1609 -n, --no-create do not create output files
1610 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1611
1612 Installation directories:
1613 --prefix=PREFIX install architecture-independent files in PREFIX
1614 [$ac_default_prefix]
1615 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1616 [PREFIX]
1617
1618 By default, \`make install' will install all the files in
1619 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1620 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1621 for instance \`--prefix=\$HOME'.
1622
1623 For better control, use the options below.
1624
1625 Fine tuning of the installation directories:
1626 --bindir=DIR user executables [EPREFIX/bin]
1627 --sbindir=DIR system admin executables [EPREFIX/sbin]
1628 --libexecdir=DIR program executables [EPREFIX/libexec]
1629 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1630 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1631 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1632 --libdir=DIR object code libraries [EPREFIX/lib]
1633 --includedir=DIR C header files [PREFIX/include]
1634 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1635 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1636 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1637 --infodir=DIR info documentation [DATAROOTDIR/info]
1638 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1639 --mandir=DIR man documentation [DATAROOTDIR/man]
1640 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1641 --htmldir=DIR html documentation [DOCDIR]
1642 --dvidir=DIR dvi documentation [DOCDIR]
1643 --pdfdir=DIR pdf documentation [DOCDIR]
1644 --psdir=DIR ps documentation [DOCDIR]
1645 _ACEOF
1646
1647 cat <<\_ACEOF
1648
1649 X features:
1650 --x-includes=DIR X include files are in DIR
1651 --x-libraries=DIR X library files are in DIR
1652
1653 System types:
1654 --build=BUILD configure for building on BUILD [guessed]
1655 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1656 _ACEOF
1657 fi
1658
1659 if test -n "$ac_init_help"; then
1660 case $ac_init_help in
1661 short | recursive ) echo "Configuration of wxWidgets 2.9.1:";;
1662 esac
1663 cat <<\_ACEOF
1664
1665 Optional Features:
1666 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1667 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1668 --disable-gui don't build GUI parts of the library
1669 --enable-monolithic build wxWidgets as single library
1670 --enable-plugins build parts of wxWidgets as loadable components
1671 --enable-official_build official build of wxWidgets (win32 DLL only)
1672 --enable-vendor=VENDOR vendor name (win32 DLL only)
1673 --disable-all-features disable all optional features to build minimal library
1674 --enable-universal use wxWidgets GUI controls instead of native ones
1675 --enable-nanox use NanoX
1676 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1677 --enable-gpe use GNOME PDA Environment features if possible
1678 --enable-debug build library for debugging
1679 --disable-debug_flag disable all debugging support
1680 --enable-debug_info generate debug information
1681 --enable-debug_gdb create code with extra GDB debugging information
1682 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1683 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1684 --disable-shared create static library instead of shared
1685 --enable-stl use STL for containers
1686 --enable-std_iostreams use standard C++ stream classes
1687 --enable-std_string use standard C++ string classes
1688 --disable-unicode compile without Unicode support
1689 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1690 --enable-utf8 use UTF-8 representation for strings (Unix only)
1691 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1692 --enable-extended_rtti use extended RTTI (XTI)
1693 --enable-omf use OMF object format
1694 --disable-optimise compile without optimisations
1695 --enable-profile create code with profiling information
1696 --enable-no_rtti create code without RTTI information
1697 --enable-no_exceptions create code without C++ exceptions handling
1698 --enable-permissive compile code disregarding strict ANSI
1699 --enable-no_deps create code without dependency information
1700 --disable-vararg_macros don't use vararg macros, even if they are supported
1701 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1702 --enable-compat26 enable wxWidgets 2.6 compatibility
1703 --disable-compat28 disable wxWidgets 2.8 compatibility
1704 --disable-rpath disable use of rpath for uninstalled builds
1705 --enable-objc_uniquifying enable Objective-C class name uniquifying
1706 --disable-visibility disable use of ELF symbols visibility even if supported
1707 --disable-tls disable use of compiler TLS support
1708 --enable-intl use internationalization system
1709 --enable-xlocale use x-locale support (requires wxLocale)
1710 --enable-config use wxConfig (and derived) classes
1711 --enable-protocols use wxProtocol and derived classes
1712 --enable-ftp use wxFTP (requires wxProtocol
1713 --enable-http use wxHTTP (requires wxProtocol
1714 --enable-fileproto use wxFileProto class (requires wxProtocol
1715 --enable-sockets use socket/network classes
1716 --enable-ipv6 enable IPv6 support in wxSocket
1717 --enable-ole use OLE classes (Win32 only)
1718 --enable-dataobj use data object classes
1719 --enable-ipc use interprocess communication (wxSocket etc.)
1720 --enable-baseevtloop use event loop in console programs too
1721 --enable-epollloop use wxEpollDispatcher class (Linux only)
1722 --enable-selectloop use wxSelectDispatcher class
1723 --enable-any use wxAny class
1724 --enable-apple_ieee use the Apple IEEE codec
1725 --enable-arcstream use wxArchive streams
1726 --enable-base64 use base64 encoding/decoding functions
1727 --enable-backtrace use wxStackWalker class for getting backtraces
1728 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1729 --enable-cmdline use wxCmdLineParser class
1730 --enable-datetime use wxDateTime class
1731 --enable-debugreport use wxDebugReport class
1732 --enable-dialupman use dialup network classes
1733 --enable-dynlib use wxLibrary class for DLL loading
1734 --enable-dynamicloader use (new) wxDynamicLibrary class
1735 --enable-exceptions build exception-safe library
1736 --enable-ffile use wxFFile class
1737 --enable-file use wxFile class
1738 --enable-filesystem use virtual file systems classes
1739 --enable-fontenum use wxFontEnumerator class
1740 --enable-fontmap use font encodings conversion classes
1741 --enable-fs_archive use virtual archive filesystems
1742 --enable-fs_inet use virtual HTTP/FTP filesystems
1743 --enable-fs_zip now replaced by fs_archive
1744 --enable-fswatcher use wxFileSystemWatcher class
1745 --enable-geometry use geometry class
1746 --enable-log use logging system
1747 --enable-longlong use wxLongLong class
1748 --enable-mimetype use wxMimeTypesManager
1749 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1750 --enable-snglinst use wxSingleInstanceChecker class
1751 --enable-sound use wxSound class
1752 --enable-stdpaths use wxStandardPaths class
1753 --enable-stopwatch use wxStopWatch class
1754 --enable-streams use wxStream etc classes
1755 --enable-sysoptions use wxSystemOptions
1756 --enable-tarstream use wxTar streams
1757 --enable-textbuf use wxTextBuffer class
1758 --enable-textfile use wxTextFile class
1759 --enable-timer use wxTimer class
1760 --enable-variant use wxVariant class
1761 --enable-zipstream use wxZip streams
1762 --enable-url use wxURL class
1763 --enable-protocol use wxProtocol class
1764 --enable-protocol-http HTTP support in wxProtocol
1765 --enable-protocol-ftp FTP support in wxProtocol
1766 --enable-protocol-file FILE support in wxProtocol
1767 --enable-threads use threads
1768 --enable-iniconf use wxIniConfig (Win32 only)
1769 --enable-regkey use wxRegKey class (Win32 only)
1770 --enable-docview use document view architecture
1771 --enable-help use help subsystem
1772 --enable-mshtmlhelp use MS HTML Help (win32)
1773 --enable-html use wxHTML sub-library
1774 --enable-htmlhelp use wxHTML-based help
1775 --enable-xrc use XRC resources sub-library
1776 --enable-aui use AUI docking library
1777 --enable-propgrid use wxPropertyGrid library
1778 --enable-ribbon use wxRibbon library
1779 --enable-stc use wxStyledTextCtrl library
1780 --enable-constraints use layout-constraints system
1781 --enable-loggui use standard GUI logger
1782 --enable-logwin use wxLogWindow
1783 --enable-logdialog use wxLogDialog
1784 --enable-mdi use multiple document interface architecture
1785 --enable-mdidoc use docview architecture with MDI
1786 --enable-mediactrl use wxMediaCtrl class
1787 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1788 --enable-webkit use wxWebKitCtrl (Mac)
1789 --enable-richtext use wxRichTextCtrl
1790 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1791 --enable-printarch use printing architecture
1792 --enable-svg use wxSVGFileDC device context
1793 --enable-graphics_ctx use graphics context 2D drawing API
1794 --enable-clipboard use wxClipboard class
1795 --enable-dnd use Drag'n'Drop classes
1796 --enable-metafile use win32 metafiles
1797 --disable-controls disable compilation of all standard controls
1798 --enable-accel use accelerators
1799 --enable-animatectrl use wxAnimationCtrl class
1800 --enable-bmpbutton use wxBitmapButton class
1801 --enable-bmpcombobox use wxBitmapComboBox class
1802 --enable-button use wxButton class
1803 --enable-calendar use wxCalendarCtrl class
1804 --enable-caret use wxCaret class
1805 --enable-checkbox use wxCheckBox class
1806 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1807 --enable-choice use wxChoice class
1808 --enable-choicebook use wxChoicebook class
1809 --enable-collpane use wxCollapsiblePane class
1810 --enable-colourpicker use wxColourPickerCtrl class
1811 --enable-combobox use wxComboBox class
1812 --enable-comboctrl use wxComboCtrl class
1813 --enable-dataviewctrl use wxDataViewCtrl class
1814 --enable-datepick use wxDatePickerCtrl class
1815 --enable-detect_sm use code to detect X11 session manager
1816 --enable-dirpicker use wxDirPickerCtrl class
1817 --enable-display use wxDisplay class
1818 --enable-editablebox use wxEditableListBox class
1819 --enable-filectrl use wxFileCtrl class
1820 --enable-filepicker use wxFilePickerCtrl class
1821 --enable-fontpicker use wxFontPickerCtrl class
1822 --enable-gauge use wxGauge class
1823 --enable-grid use wxGrid class
1824 --enable-headerctrl use wxHeaderCtrl class
1825 --enable-hyperlink use wxHyperlinkCtrl class
1826 --enable-imaglist use wxImageList class
1827 --enable-infobar use wxInfoBar class
1828 --enable-listbook use wxListbook class
1829 --enable-listbox use wxListBox class
1830 --enable-listctrl use wxListCtrl class
1831 --enable-notebook use wxNotebook class
1832 --enable-notifmsg use wxNotificationMessage class
1833 --enable-odcombobox use wxOwnerDrawnComboBox class
1834 --enable-popupwin use wxPopUpWindow class
1835 --enable-radiobox use wxRadioBox class
1836 --enable-radiobtn use wxRadioButton class
1837 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1838 --enable-sash use wxSashWindow class
1839 --enable-scrollbar use wxScrollBar class and scrollable windows
1840 --enable-searchctrl use wxSearchCtrl class
1841 --enable-slider use wxSlider class
1842 --enable-spinbtn use wxSpinButton class
1843 --enable-spinctrl use wxSpinCtrl class
1844 --enable-splitter use wxSplitterWindow class
1845 --enable-statbmp use wxStaticBitmap class
1846 --enable-statbox use wxStaticBox class
1847 --enable-statline use wxStaticLine class
1848 --enable-stattext use wxStaticText class
1849 --enable-statusbar use wxStatusBar class
1850 --enable-taskbaricon use wxTaskBarIcon class
1851 --enable-tbarnative use native wxToolBar class
1852 --enable-textctrl use wxTextCtrl class
1853 --enable-tipwindow use wxTipWindow class
1854 --enable-togglebtn use wxToggleButton class
1855 --enable-toolbar use wxToolBar class
1856 --enable-toolbook use wxToolbook class
1857 --enable-treebook use wxTreebook class
1858 --enable-treectrl use wxTreeCtrl class
1859 --enable-commondlg use all common dialogs
1860 --enable-aboutdlg use wxAboutBox
1861 --enable-choicedlg use wxChoiceDialog
1862 --enable-coldlg use wxColourDialog
1863 --enable-filedlg use wxFileDialog
1864 --enable-finddlg use wxFindReplaceDialog
1865 --enable-fontdlg use wxFontDialog
1866 --enable-dirdlg use wxDirDialog
1867 --enable-msgdlg use wxMessageDialog
1868 --enable-numberdlg use wxNumberEntryDialog
1869 --enable-splash use wxSplashScreen
1870 --enable-textdlg use wxTextDialog
1871 --enable-tipdlg use startup tips
1872 --enable-progressdlg use wxProgressDialog
1873 --enable-wizarddlg use wxWizard
1874 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1875 --enable-miniframe use wxMiniFrame class
1876 --enable-tooltips use wxToolTip class
1877 --enable-splines use spline drawing code
1878 --enable-mousewheel use mousewheel
1879 --enable-validators use wxValidator and derived classes
1880 --enable-busyinfo use wxBusyInfo
1881 --enable-joystick use wxJoystick
1882 --enable-metafiles use wxMetaFile (Win32 only)
1883 --enable-dragimage use wxDragImage
1884 --enable-accessibility enable accessibility support
1885 --enable-palette use wxPalette class
1886 --enable-image use wxImage class
1887 --enable-gif use gif images (GIF file format)
1888 --enable-pcx use pcx images (PCX file format)
1889 --enable-tga use tga images (TGA file format)
1890 --enable-iff use iff images (IFF file format)
1891 --enable-pnm use pnm images (PNM file format)
1892 --enable-xpm use xpm images (XPM file format)
1893 --enable-ico_cur use Windows ICO and CUR formats
1894 --enable-dccache cache temporary wxDC objects (Win32 only)
1895 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1896 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1897 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1898 --enable-wxdib use wxDIB class (Win32 only)
1899 --enable-autoidman use automatic ids management
1900 --disable-largefile omit support for large files
1901 --disable-gtktest do not try to compile and run a test GTK+ program
1902 --disable-gtktest Do not try to compile and run a test GTK program
1903 --disable-sdltest Do not try to compile and run a test SDL program
1904 --enable-omf use OMF object format (OS/2)
1905 --disable-dependency-tracking
1906 don't use dependency tracking even if the compiler
1907 can
1908 --disable-precomp-headers
1909 don't use precompiled headers even if compiler can
1910
1911 Optional Packages:
1912 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1913 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1914 --without-subdirs don't generate makefiles for samples/demos/...
1915 --with-flavour=NAME specify a name to identify this build
1916 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1917 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1918 --with-motif use Motif/Lesstif
1919 --with-osx_carbon use Mac OS X (Carbon)
1920 --with-osx_cocoa use Mac OS X (Cocoa)
1921 --with-mac use Mac OS X (Default)
1922 --with-cocoa use Cocoa
1923 --with-wine use Wine
1924 --with-msw use MS-Windows
1925 --with-pm use OS/2 Presentation Manager
1926 --with-mgl use SciTech MGL
1927 --with-directfb use DirectFB
1928 --with-microwin use MicroWindows
1929 --with-x11 use X11
1930 --with-libpng use libpng (PNG image format)
1931 --with-libjpeg use libjpeg (JPEG file format)
1932 --with-libtiff use libtiff (TIFF file format)
1933 --with-libxpm use libxpm (XPM file format)
1934 --with-libiconv use libiconv (character conversion)
1935 --with-libmspack use libmspack (CHM help files loading)
1936 --without-gtkprint don't use GTK printing support
1937 --without-gnomeprint don't use GNOME printing libraries
1938 --with-gnomevfs use GNOME VFS for associating MIME types
1939 --with-hildon use Hildon framework for Nokia 770/800/810
1940 --with-opengl use OpenGL (or Mesa)
1941 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1942 --with-sdl use SDL for audio on Unix
1943 --with-regex enable support for wxRegEx class
1944 --with-zlib use zlib for LZW compression
1945 --with-expat enable XML support using expat parser
1946 --with-macosx-sdk=PATH use an OS X SDK at PATH
1947 --with-macosx-version-min=VER build binaries which require at least this OS X version
1948 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1949 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1950 --with-x use the X Window System
1951 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1952 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1953 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1954 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1955 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1956
1957 Some influential environment variables:
1958 CC C compiler command
1959 CFLAGS C compiler flags
1960 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1961 nonstandard directory <lib dir>
1962 LIBS libraries to pass to the linker, e.g. -l<library>
1963 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1964 you have headers in a nonstandard directory <include dir>
1965 CPP C preprocessor
1966 CXX C++ compiler command
1967 CXXFLAGS C++ compiler flags
1968 PKG_CONFIG path to pkg-config utility
1969 DIRECTFB_CFLAGS
1970 C compiler flags for DIRECTFB, overriding pkg-config
1971 DIRECTFB_LIBS
1972 linker flags for DIRECTFB, overriding pkg-config
1973 XMKMF Path to xmkmf, Makefile generator for X Window System
1974 PANGOX_CFLAGS
1975 C compiler flags for PANGOX, overriding pkg-config
1976 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1977 PANGOFT2_CFLAGS
1978 C compiler flags for PANGOFT2, overriding pkg-config
1979 PANGOFT2_LIBS
1980 linker flags for PANGOFT2, overriding pkg-config
1981 PANGOXFT_CFLAGS
1982 C compiler flags for PANGOXFT, overriding pkg-config
1983 PANGOXFT_LIBS
1984 linker flags for PANGOXFT, overriding pkg-config
1985 GTKPRINT_CFLAGS
1986 C compiler flags for GTKPRINT, overriding pkg-config
1987 GTKPRINT_LIBS
1988 linker flags for GTKPRINT, overriding pkg-config
1989 LIBGNOMEPRINTUI_CFLAGS
1990 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1991 LIBGNOMEPRINTUI_LIBS
1992 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1993 GNOMEVFS_CFLAGS
1994 C compiler flags for GNOMEVFS, overriding pkg-config
1995 GNOMEVFS_LIBS
1996 linker flags for GNOMEVFS, overriding pkg-config
1997 HILDON_CFLAGS
1998 C compiler flags for HILDON, overriding pkg-config
1999 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2000 HILDON2_CFLAGS
2001 C compiler flags for HILDON2, overriding pkg-config
2002 HILDON2_LIBS
2003 linker flags for HILDON2, overriding pkg-config
2004 CAIRO_CFLAGS
2005 C compiler flags for CAIRO, overriding pkg-config
2006 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2007 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2008 GST_LIBS linker flags for GST, overriding pkg-config
2009
2010 Use these variables to override the choices made by `configure' or to help
2011 it to find libraries and programs with nonstandard names/locations.
2012
2013 Report bugs to <wx-dev@lists.wxwidgets.org>.
2014 _ACEOF
2015 ac_status=$?
2016 fi
2017
2018 if test "$ac_init_help" = "recursive"; then
2019 # If there are subdirs, report their specific --help.
2020 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2021 test -d "$ac_dir" || continue
2022 ac_builddir=.
2023
2024 case "$ac_dir" in
2025 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2026 *)
2027 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2028 # A ".." for each directory in $ac_dir_suffix.
2029 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2030 case $ac_top_builddir_sub in
2031 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2032 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2033 esac ;;
2034 esac
2035 ac_abs_top_builddir=$ac_pwd
2036 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2037 # for backward compatibility:
2038 ac_top_builddir=$ac_top_build_prefix
2039
2040 case $srcdir in
2041 .) # We are building in place.
2042 ac_srcdir=.
2043 ac_top_srcdir=$ac_top_builddir_sub
2044 ac_abs_top_srcdir=$ac_pwd ;;
2045 [\\/]* | ?:[\\/]* ) # Absolute name.
2046 ac_srcdir=$srcdir$ac_dir_suffix;
2047 ac_top_srcdir=$srcdir
2048 ac_abs_top_srcdir=$srcdir ;;
2049 *) # Relative name.
2050 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2051 ac_top_srcdir=$ac_top_build_prefix$srcdir
2052 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2053 esac
2054 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2055
2056 cd "$ac_dir" || { ac_status=$?; continue; }
2057 # Check for guested configure.
2058 if test -f "$ac_srcdir/configure.gnu"; then
2059 echo &&
2060 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2061 elif test -f "$ac_srcdir/configure"; then
2062 echo &&
2063 $SHELL "$ac_srcdir/configure" --help=recursive
2064 else
2065 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2066 fi || ac_status=$?
2067 cd "$ac_pwd" || { ac_status=$?; break; }
2068 done
2069 fi
2070
2071 test -n "$ac_init_help" && exit $ac_status
2072 if $ac_init_version; then
2073 cat <<\_ACEOF
2074 wxWidgets configure 2.9.1
2075 generated by GNU Autoconf 2.61
2076
2077 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2078 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2079 This configure script is free software; the Free Software Foundation
2080 gives unlimited permission to copy, distribute and modify it.
2081 _ACEOF
2082 exit
2083 fi
2084 cat >config.log <<_ACEOF
2085 This file contains any messages produced by compilers while
2086 running configure, to aid debugging if configure makes a mistake.
2087
2088 It was created by wxWidgets $as_me 2.9.1, which was
2089 generated by GNU Autoconf 2.61. Invocation command line was
2090
2091 $ $0 $@
2092
2093 _ACEOF
2094 exec 5>>config.log
2095 {
2096 cat <<_ASUNAME
2097 ## --------- ##
2098 ## Platform. ##
2099 ## --------- ##
2100
2101 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2102 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2103 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2104 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2105 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2106
2107 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2108 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2109
2110 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2111 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2112 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2113 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2114 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2115 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2116 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2117
2118 _ASUNAME
2119
2120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2121 for as_dir in $PATH
2122 do
2123 IFS=$as_save_IFS
2124 test -z "$as_dir" && as_dir=.
2125 echo "PATH: $as_dir"
2126 done
2127 IFS=$as_save_IFS
2128
2129 } >&5
2130
2131 cat >&5 <<_ACEOF
2132
2133
2134 ## ----------- ##
2135 ## Core tests. ##
2136 ## ----------- ##
2137
2138 _ACEOF
2139
2140
2141 # Keep a trace of the command line.
2142 # Strip out --no-create and --no-recursion so they do not pile up.
2143 # Strip out --silent because we don't want to record it for future runs.
2144 # Also quote any args containing shell meta-characters.
2145 # Make two passes to allow for proper duplicate-argument suppression.
2146 ac_configure_args=
2147 ac_configure_args0=
2148 ac_configure_args1=
2149 ac_must_keep_next=false
2150 for ac_pass in 1 2
2151 do
2152 for ac_arg
2153 do
2154 case $ac_arg in
2155 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2156 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2157 | -silent | --silent | --silen | --sile | --sil)
2158 continue ;;
2159 *\'*)
2160 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2161 esac
2162 case $ac_pass in
2163 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2164 2)
2165 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2166 if test $ac_must_keep_next = true; then
2167 ac_must_keep_next=false # Got value, back to normal.
2168 else
2169 case $ac_arg in
2170 *=* | --config-cache | -C | -disable-* | --disable-* \
2171 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2172 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2173 | -with-* | --with-* | -without-* | --without-* | --x)
2174 case "$ac_configure_args0 " in
2175 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2176 esac
2177 ;;
2178 -* ) ac_must_keep_next=true ;;
2179 esac
2180 fi
2181 ac_configure_args="$ac_configure_args '$ac_arg'"
2182 ;;
2183 esac
2184 done
2185 done
2186 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2187 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2188
2189 # When interrupted or exit'd, cleanup temporary files, and complete
2190 # config.log. We remove comments because anyway the quotes in there
2191 # would cause problems or look ugly.
2192 # WARNING: Use '\'' to represent an apostrophe within the trap.
2193 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2194 trap 'exit_status=$?
2195 # Save into config.log some information that might help in debugging.
2196 {
2197 echo
2198
2199 cat <<\_ASBOX
2200 ## ---------------- ##
2201 ## Cache variables. ##
2202 ## ---------------- ##
2203 _ASBOX
2204 echo
2205 # The following way of writing the cache mishandles newlines in values,
2206 (
2207 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2208 eval ac_val=\$$ac_var
2209 case $ac_val in #(
2210 *${as_nl}*)
2211 case $ac_var in #(
2212 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2213 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2214 esac
2215 case $ac_var in #(
2216 _ | IFS | as_nl) ;; #(
2217 *) $as_unset $ac_var ;;
2218 esac ;;
2219 esac
2220 done
2221 (set) 2>&1 |
2222 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2223 *${as_nl}ac_space=\ *)
2224 sed -n \
2225 "s/'\''/'\''\\\\'\'''\''/g;
2226 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2227 ;; #(
2228 *)
2229 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2230 ;;
2231 esac |
2232 sort
2233 )
2234 echo
2235
2236 cat <<\_ASBOX
2237 ## ----------------- ##
2238 ## Output variables. ##
2239 ## ----------------- ##
2240 _ASBOX
2241 echo
2242 for ac_var in $ac_subst_vars
2243 do
2244 eval ac_val=\$$ac_var
2245 case $ac_val in
2246 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2247 esac
2248 echo "$ac_var='\''$ac_val'\''"
2249 done | sort
2250 echo
2251
2252 if test -n "$ac_subst_files"; then
2253 cat <<\_ASBOX
2254 ## ------------------- ##
2255 ## File substitutions. ##
2256 ## ------------------- ##
2257 _ASBOX
2258 echo
2259 for ac_var in $ac_subst_files
2260 do
2261 eval ac_val=\$$ac_var
2262 case $ac_val in
2263 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2264 esac
2265 echo "$ac_var='\''$ac_val'\''"
2266 done | sort
2267 echo
2268 fi
2269
2270 if test -s confdefs.h; then
2271 cat <<\_ASBOX
2272 ## ----------- ##
2273 ## confdefs.h. ##
2274 ## ----------- ##
2275 _ASBOX
2276 echo
2277 cat confdefs.h
2278 echo
2279 fi
2280 test "$ac_signal" != 0 &&
2281 echo "$as_me: caught signal $ac_signal"
2282 echo "$as_me: exit $exit_status"
2283 } >&5
2284 rm -f core *.core core.conftest.* &&
2285 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2286 exit $exit_status
2287 ' 0
2288 for ac_signal in 1 2 13 15; do
2289 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2290 done
2291 ac_signal=0
2292
2293 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2294 rm -f -r conftest* confdefs.h
2295
2296 # Predefined preprocessor variables.
2297
2298 cat >>confdefs.h <<_ACEOF
2299 #define PACKAGE_NAME "$PACKAGE_NAME"
2300 _ACEOF
2301
2302
2303 cat >>confdefs.h <<_ACEOF
2304 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2305 _ACEOF
2306
2307
2308 cat >>confdefs.h <<_ACEOF
2309 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2310 _ACEOF
2311
2312
2313 cat >>confdefs.h <<_ACEOF
2314 #define PACKAGE_STRING "$PACKAGE_STRING"
2315 _ACEOF
2316
2317
2318 cat >>confdefs.h <<_ACEOF
2319 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2320 _ACEOF
2321
2322
2323 # Let the site file select an alternate cache file if it wants to.
2324 # Prefer explicitly selected file to automatically selected ones.
2325 if test -n "$CONFIG_SITE"; then
2326 set x "$CONFIG_SITE"
2327 elif test "x$prefix" != xNONE; then
2328 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2329 else
2330 set x "$ac_default_prefix/share/config.site" \
2331 "$ac_default_prefix/etc/config.site"
2332 fi
2333 shift
2334 for ac_site_file
2335 do
2336 if test -r "$ac_site_file"; then
2337 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2338 echo "$as_me: loading site script $ac_site_file" >&6;}
2339 sed 's/^/| /' "$ac_site_file" >&5
2340 . "$ac_site_file"
2341 fi
2342 done
2343
2344 if test -r "$cache_file"; then
2345 # Some versions of bash will fail to source /dev/null (special
2346 # files actually), so we avoid doing that.
2347 if test -f "$cache_file"; then
2348 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2349 echo "$as_me: loading cache $cache_file" >&6;}
2350 case $cache_file in
2351 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2352 *) . "./$cache_file";;
2353 esac
2354 fi
2355 else
2356 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2357 echo "$as_me: creating cache $cache_file" >&6;}
2358 >$cache_file
2359 fi
2360
2361 # Check that the precious variables saved in the cache have kept the same
2362 # value.
2363 ac_cache_corrupted=false
2364 for ac_var in $ac_precious_vars; do
2365 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2366 eval ac_new_set=\$ac_env_${ac_var}_set
2367 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2368 eval ac_new_val=\$ac_env_${ac_var}_value
2369 case $ac_old_set,$ac_new_set in
2370 set,)
2371 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2372 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2373 ac_cache_corrupted=: ;;
2374 ,set)
2375 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2376 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2377 ac_cache_corrupted=: ;;
2378 ,);;
2379 *)
2380 if test "x$ac_old_val" != "x$ac_new_val"; then
2381 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2382 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2383 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2384 echo "$as_me: former value: $ac_old_val" >&2;}
2385 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2386 echo "$as_me: current value: $ac_new_val" >&2;}
2387 ac_cache_corrupted=:
2388 fi;;
2389 esac
2390 # Pass precious variables to config.status.
2391 if test "$ac_new_set" = set; then
2392 case $ac_new_val in
2393 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2394 *) ac_arg=$ac_var=$ac_new_val ;;
2395 esac
2396 case " $ac_configure_args " in
2397 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2398 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2399 esac
2400 fi
2401 done
2402 if $ac_cache_corrupted; then
2403 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2404 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2405 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2406 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2407 { (exit 1); exit 1; }; }
2408 fi
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434 ac_ext=c
2435 ac_cpp='$CPP $CPPFLAGS'
2436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2439
2440
2441
2442
2443
2444 ac_aux_dir=
2445 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2446 if test -f "$ac_dir/install-sh"; then
2447 ac_aux_dir=$ac_dir
2448 ac_install_sh="$ac_aux_dir/install-sh -c"
2449 break
2450 elif test -f "$ac_dir/install.sh"; then
2451 ac_aux_dir=$ac_dir
2452 ac_install_sh="$ac_aux_dir/install.sh -c"
2453 break
2454 elif test -f "$ac_dir/shtool"; then
2455 ac_aux_dir=$ac_dir
2456 ac_install_sh="$ac_aux_dir/shtool install -c"
2457 break
2458 fi
2459 done
2460 if test -z "$ac_aux_dir"; then
2461 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2462 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2463 { (exit 1); exit 1; }; }
2464 fi
2465
2466 # These three variables are undocumented and unsupported,
2467 # and are intended to be withdrawn in a future Autoconf release.
2468 # They can cause serious problems if a builder's source tree is in a directory
2469 # whose full name contains unusual characters.
2470 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2471 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2472 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2473
2474
2475 # Make sure we can run config.sub.
2476 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2477 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2478 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2479 { (exit 1); exit 1; }; }
2480
2481 { echo "$as_me:$LINENO: checking build system type" >&5
2482 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2483 if test "${ac_cv_build+set}" = set; then
2484 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 else
2486 ac_build_alias=$build_alias
2487 test "x$ac_build_alias" = x &&
2488 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2489 test "x$ac_build_alias" = x &&
2490 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2491 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2492 { (exit 1); exit 1; }; }
2493 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2494 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2495 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2496 { (exit 1); exit 1; }; }
2497
2498 fi
2499 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2500 echo "${ECHO_T}$ac_cv_build" >&6; }
2501 case $ac_cv_build in
2502 *-*-*) ;;
2503 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2504 echo "$as_me: error: invalid value of canonical build" >&2;}
2505 { (exit 1); exit 1; }; };;
2506 esac
2507 build=$ac_cv_build
2508 ac_save_IFS=$IFS; IFS='-'
2509 set x $ac_cv_build
2510 shift
2511 build_cpu=$1
2512 build_vendor=$2
2513 shift; shift
2514 # Remember, the first character of IFS is used to create $*,
2515 # except with old shells:
2516 build_os=$*
2517 IFS=$ac_save_IFS
2518 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2519
2520
2521 { echo "$as_me:$LINENO: checking host system type" >&5
2522 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2523 if test "${ac_cv_host+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2525 else
2526 if test "x$host_alias" = x; then
2527 ac_cv_host=$ac_cv_build
2528 else
2529 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2530 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2531 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2532 { (exit 1); exit 1; }; }
2533 fi
2534
2535 fi
2536 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2537 echo "${ECHO_T}$ac_cv_host" >&6; }
2538 case $ac_cv_host in
2539 *-*-*) ;;
2540 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2541 echo "$as_me: error: invalid value of canonical host" >&2;}
2542 { (exit 1); exit 1; }; };;
2543 esac
2544 host=$ac_cv_host
2545 ac_save_IFS=$IFS; IFS='-'
2546 set x $ac_cv_host
2547 shift
2548 host_cpu=$1
2549 host_vendor=$2
2550 shift; shift
2551 # Remember, the first character of IFS is used to create $*,
2552 # except with old shells:
2553 host_os=$*
2554 IFS=$ac_save_IFS
2555 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2556
2557
2558
2559 if test "$cross_compiling" != "no"; then
2560 HOST_PREFIX="${host_alias}-"
2561 HOST_SUFFIX="-$host_alias"
2562 else
2563 HOST_PREFIX=
2564 HOST_SUFFIX=
2565 fi
2566
2567
2568 wx_major_version_number=2
2569 wx_minor_version_number=9
2570 wx_release_number=1
2571 wx_subrelease_number=0
2572
2573 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2574 WX_VERSION=$WX_RELEASE.$wx_release_number
2575 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2576
2577 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2578
2579
2580 wx_top_builddir="`pwd`"
2581
2582
2583
2584
2585 USE_UNIX=1
2586 USE_OS2=0
2587 USE_WIN32=0
2588 USE_DOS=0
2589 USE_BEOS=0
2590 USE_MAC=0
2591
2592 USE_AIX=
2593 USE_BSD= USE_DARWIN= USE_FREEBSD=
2594 USE_GNU= USE_HPUX=
2595 USE_LINUX=
2596 USE_NETBSD=
2597 USE_OPENBSD=
2598 USE_OSF= USE_SGI=
2599 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2600 USE_ULTRIX=
2601 USE_UNIXWARE=
2602
2603 USE_ALPHA=
2604
2605 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2606
2607 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2608
2609 DEFAULT_wxUSE_COCOA=0
2610 DEFAULT_wxUSE_GTK=0
2611 DEFAULT_wxUSE_OSX_CARBON=0
2612 DEFAULT_wxUSE_OSX_COCOA=0
2613 DEFAULT_wxUSE_MGL=0
2614 DEFAULT_wxUSE_MICROWIN=0
2615 DEFAULT_wxUSE_MOTIF=0
2616 DEFAULT_wxUSE_MSW=0
2617 DEFAULT_wxUSE_PM=0
2618 DEFAULT_wxUSE_X11=0
2619 DEFAULT_wxUSE_DFB=0
2620
2621 DEFAULT_DEFAULT_wxUSE_COCOA=0
2622 DEFAULT_DEFAULT_wxUSE_GTK=0
2623 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2624 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2625 DEFAULT_DEFAULT_wxUSE_MGL=0
2626 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2627 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2628 DEFAULT_DEFAULT_wxUSE_MSW=0
2629 DEFAULT_DEFAULT_wxUSE_PM=0
2630 DEFAULT_DEFAULT_wxUSE_X11=0
2631 DEFAULT_DEFAULT_wxUSE_DFB=0
2632
2633 PROGRAM_EXT=
2634 SAMPLES_RPATH_FLAG=
2635 DYLIB_RPATH_INSTALL=
2636 DYLIB_RPATH_POSTLINK=
2637
2638 DEFAULT_STD_FLAG=yes
2639
2640 case "${host}" in
2641 *-hp-hpux* )
2642 USE_HPUX=1
2643 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2644 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2645 cat >>confdefs.h <<\_ACEOF
2646 #define __HPUX__ 1
2647 _ACEOF
2648
2649
2650 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2651 ;;
2652 *-*-linux* )
2653 USE_LINUX=1
2654 cat >>confdefs.h <<\_ACEOF
2655 #define __LINUX__ 1
2656 _ACEOF
2657
2658 TMP=`uname -m`
2659 if test "x$TMP" = "xalpha"; then
2660 USE_ALPHA=1
2661 cat >>confdefs.h <<\_ACEOF
2662 #define __ALPHA__ 1
2663 _ACEOF
2664
2665 fi
2666 DEFAULT_DEFAULT_wxUSE_GTK=1
2667 ;;
2668 *-*-gnu* | *-*-k*bsd*-gnu )
2669 USE_GNU=1
2670 TMP=`uname -m`
2671 if test "x$TMP" = "xalpha"; then
2672 USE_ALPHA=1
2673 cat >>confdefs.h <<\_ACEOF
2674 #define __ALPHA__ 1
2675 _ACEOF
2676
2677 fi
2678 DEFAULT_DEFAULT_wxUSE_GTK=1
2679 ;;
2680 *-*-irix5* | *-*-irix6* )
2681 USE_SGI=1
2682 USE_SVR4=1
2683 cat >>confdefs.h <<\_ACEOF
2684 #define __SGI__ 1
2685 _ACEOF
2686
2687 cat >>confdefs.h <<\_ACEOF
2688 #define __SVR4__ 1
2689 _ACEOF
2690
2691 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2692 ;;
2693 *-*-solaris2* )
2694 USE_SUN=1
2695 USE_SOLARIS=1
2696 USE_SVR4=1
2697 cat >>confdefs.h <<\_ACEOF
2698 #define __SUN__ 1
2699 _ACEOF
2700
2701 cat >>confdefs.h <<\_ACEOF
2702 #define __SOLARIS__ 1
2703 _ACEOF
2704
2705 cat >>confdefs.h <<\_ACEOF
2706 #define __SVR4__ 1
2707 _ACEOF
2708
2709 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2710 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2711 ;;
2712 *-*-sunos4* )
2713 USE_SUN=1
2714 USE_SUNOS=1
2715 USE_BSD=1
2716 cat >>confdefs.h <<\_ACEOF
2717 #define __SUN__ 1
2718 _ACEOF
2719
2720 cat >>confdefs.h <<\_ACEOF
2721 #define __SUNOS__ 1
2722 _ACEOF
2723
2724 cat >>confdefs.h <<\_ACEOF
2725 #define __BSD__ 1
2726 _ACEOF
2727
2728 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2729 ;;
2730 *-*-freebsd*)
2731 USE_BSD=1
2732 USE_FREEBSD=1
2733 cat >>confdefs.h <<\_ACEOF
2734 #define __FREEBSD__ 1
2735 _ACEOF
2736
2737 cat >>confdefs.h <<\_ACEOF
2738 #define __BSD__ 1
2739 _ACEOF
2740
2741 DEFAULT_DEFAULT_wxUSE_GTK=1
2742 ;;
2743 *-*-openbsd*|*-*-mirbsd*)
2744 USE_BSD=1
2745 USE_OPENBSD=1
2746 cat >>confdefs.h <<\_ACEOF
2747 #define __OPENBSD__ 1
2748 _ACEOF
2749
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __BSD__ 1
2752 _ACEOF
2753
2754 DEFAULT_DEFAULT_wxUSE_GTK=1
2755 ;;
2756 *-*-netbsd*)
2757 USE_BSD=1
2758 USE_NETBSD=1
2759 cat >>confdefs.h <<\_ACEOF
2760 #define __NETBSD__ 1
2761 _ACEOF
2762
2763 cat >>confdefs.h <<\_ACEOF
2764 #define __BSD__ 1
2765 _ACEOF
2766
2767 DEFAULT_DEFAULT_wxUSE_GTK=1
2768 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2769
2770 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2771 ;;
2772 *-*-osf* )
2773 USE_ALPHA=1
2774 USE_OSF=1
2775 cat >>confdefs.h <<\_ACEOF
2776 #define __ALPHA__ 1
2777 _ACEOF
2778
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __OSF__ 1
2781 _ACEOF
2782
2783 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2784 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2785 ;;
2786 *-*-dgux5* )
2787 USE_ALPHA=1
2788 USE_SVR4=1
2789 cat >>confdefs.h <<\_ACEOF
2790 #define __ALPHA__ 1
2791 _ACEOF
2792
2793 cat >>confdefs.h <<\_ACEOF
2794 #define __SVR4__ 1
2795 _ACEOF
2796
2797 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2798 ;;
2799 *-*-sysv5* )
2800 USE_SYSV=1
2801 USE_SVR4=1
2802 cat >>confdefs.h <<\_ACEOF
2803 #define __SYSV__ 1
2804 _ACEOF
2805
2806 cat >>confdefs.h <<\_ACEOF
2807 #define __SVR4__ 1
2808 _ACEOF
2809
2810 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2811 ;;
2812 *-*-aix* )
2813 USE_AIX=1
2814 USE_SYSV=1
2815 USE_SVR4=1
2816 cat >>confdefs.h <<\_ACEOF
2817 #define __AIX__ 1
2818 _ACEOF
2819
2820 cat >>confdefs.h <<\_ACEOF
2821 #define __SYSV__ 1
2822 _ACEOF
2823
2824 cat >>confdefs.h <<\_ACEOF
2825 #define __SVR4__ 1
2826 _ACEOF
2827
2828 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2829 ;;
2830
2831 *-*-*UnixWare*)
2832 USE_SYSV=1
2833 USE_SVR4=1
2834 USE_UNIXWARE=1
2835 cat >>confdefs.h <<\_ACEOF
2836 #define __UNIXWARE__ 1
2837 _ACEOF
2838
2839 ;;
2840
2841 *-*-cygwin* | *-*-mingw32* )
2842 PROGRAM_EXT=".exe"
2843 DEFAULT_DEFAULT_wxUSE_MSW=1
2844 ;;
2845
2846 *-pc-msdosdjgpp )
2847 USE_UNIX=0
2848 USE_DOS=1
2849 cat >>confdefs.h <<\_ACEOF
2850 #define __DOS__ 1
2851 _ACEOF
2852
2853 PROGRAM_EXT=".exe"
2854 DEFAULT_DEFAULT_wxUSE_MGL=1
2855 ;;
2856
2857 *-pc-os2_emx | *-pc-os2-emx )
2858 cat >>confdefs.h <<\_ACEOF
2859 #define __EMX__ 1
2860 _ACEOF
2861
2862 USE_OS2=1
2863 cat >>confdefs.h <<\_ACEOF
2864 #define __OS2__ 1
2865 _ACEOF
2866
2867 PROGRAM_EXT=".exe"
2868 DEFAULT_DEFAULT_wxUSE_PM=1
2869 CXX=gcc
2870 LDFLAGS="$LDFLAGS -Zcrtdll"
2871 ac_executable_extensions=".exe"
2872 export ac_executable_extensions
2873 ac_save_IFS="$IFS"
2874 IFS='\\'
2875 ac_TEMP_PATH=
2876 for ac_dir in $PATH; do
2877 IFS=$ac_save_IFS
2878 if test -z "$ac_TEMP_PATH"; then
2879 ac_TEMP_PATH="$ac_dir"
2880 else
2881 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2882 fi
2883 done
2884 export PATH="$ac_TEMP_PATH"
2885 unset ac_TEMP_PATH
2886 DEFAULT_STD_FLAG=no
2887 ;;
2888
2889 *-*-darwin* )
2890 USE_BSD=1
2891 USE_DARWIN=1
2892 cat >>confdefs.h <<\_ACEOF
2893 #define __BSD__ 1
2894 _ACEOF
2895
2896 cat >>confdefs.h <<\_ACEOF
2897 #define __DARWIN__ 1
2898 _ACEOF
2899
2900 cat >>confdefs.h <<\_ACEOF
2901 #define TARGET_CARBON 1
2902 _ACEOF
2903
2904 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2905 ;;
2906
2907 *-*-beos* )
2908 USE_BEOS=1
2909 cat >>confdefs.h <<\_ACEOF
2910 #define __BEOS__ 1
2911 _ACEOF
2912
2913 ;;
2914
2915 *)
2916 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2917 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2918 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2919 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2920
2921 DEFAULT_DEFAULT_wxUSE_X11=1
2922 DEFAULT_wxUSE_SHARED=no
2923 esac
2924
2925
2926
2927 DEFAULT_wxUSE_ALL_FEATURES=yes
2928
2929 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2930 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2931
2932 DEFAULT_wxUSE_DMALLOC=no
2933 DEFAULT_wxUSE_LIBGNOMEVFS=no
2934 DEFAULT_wxUSE_LIBHILDON=no
2935 DEFAULT_wxUSE_LIBHILDON2=no
2936 DEFAULT_wxUSE_LIBMSPACK=no
2937 DEFAULT_wxUSE_LIBSDL=no
2938
2939 DEFAULT_wxUSE_ACCESSIBILITY=no
2940 DEFAULT_wxUSE_IPV6=no
2941 DEFAULT_wxUSE_GSTREAMER8=no
2942
2943 DEFAULT_wxUSE_UNICODE_UTF8=auto
2944 DEFAULT_wxUSE_OPENGL=auto
2945 DEFAULT_wxUSE_MEDIACTRL=auto
2946 DEFAULT_wxUSE_COMPILER_TLS=auto
2947
2948 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2949
2950 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2951
2952 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2953
2954 DEFAULT_wxUSE_GTK2=yes
2955
2956 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2957
2958
2959
2960
2961
2962 enablestring=disable
2963 defaultval=
2964 if test -z "$defaultval"; then
2965 if test x"$enablestring" = xdisable; then
2966 defaultval=yes
2967 else
2968 defaultval=no
2969 fi
2970 fi
2971
2972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2973 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2974 # Check whether --enable-gui was given.
2975 if test "${enable_gui+set}" = set; then
2976 enableval=$enable_gui;
2977 if test "$enableval" = yes; then
2978 wx_cv_use_gui='wxUSE_GUI=yes'
2979 else
2980 wx_cv_use_gui='wxUSE_GUI=no'
2981 fi
2982
2983 else
2984
2985 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2986
2987 fi
2988
2989
2990 eval "$wx_cv_use_gui"
2991
2992 if test x"$enablestring" = xdisable; then
2993 if test $wxUSE_GUI = no; then
2994 result=yes
2995 else
2996 result=no
2997 fi
2998 else
2999 result=$wxUSE_GUI
3000 fi
3001
3002 { echo "$as_me:$LINENO: result: $result" >&5
3003 echo "${ECHO_T}$result" >&6; }
3004
3005
3006 enablestring=
3007 defaultval=
3008 if test -z "$defaultval"; then
3009 if test x"$enablestring" = xdisable; then
3010 defaultval=yes
3011 else
3012 defaultval=no
3013 fi
3014 fi
3015
3016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3017 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3018 # Check whether --enable-monolithic was given.
3019 if test "${enable_monolithic+set}" = set; then
3020 enableval=$enable_monolithic;
3021 if test "$enableval" = yes; then
3022 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3023 else
3024 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3025 fi
3026
3027 else
3028
3029 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3030
3031 fi
3032
3033
3034 eval "$wx_cv_use_monolithic"
3035
3036 if test x"$enablestring" = xdisable; then
3037 if test $wxUSE_MONOLITHIC = no; then
3038 result=yes
3039 else
3040 result=no
3041 fi
3042 else
3043 result=$wxUSE_MONOLITHIC
3044 fi
3045
3046 { echo "$as_me:$LINENO: result: $result" >&5
3047 echo "${ECHO_T}$result" >&6; }
3048
3049
3050 enablestring=
3051 defaultval=
3052 if test -z "$defaultval"; then
3053 if test x"$enablestring" = xdisable; then
3054 defaultval=yes
3055 else
3056 defaultval=no
3057 fi
3058 fi
3059
3060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3061 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3062 # Check whether --enable-plugins was given.
3063 if test "${enable_plugins+set}" = set; then
3064 enableval=$enable_plugins;
3065 if test "$enableval" = yes; then
3066 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3067 else
3068 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3069 fi
3070
3071 else
3072
3073 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3074
3075 fi
3076
3077
3078 eval "$wx_cv_use_plugins"
3079
3080 if test x"$enablestring" = xdisable; then
3081 if test $wxUSE_PLUGINS = no; then
3082 result=yes
3083 else
3084 result=no
3085 fi
3086 else
3087 result=$wxUSE_PLUGINS
3088 fi
3089
3090 { echo "$as_me:$LINENO: result: $result" >&5
3091 echo "${ECHO_T}$result" >&6; }
3092
3093
3094 withstring=without
3095 defaultval=$wxUSE_ALL_FEATURES
3096 if test -z "$defaultval"; then
3097 if test x"$withstring" = xwithout; then
3098 defaultval=yes
3099 else
3100 defaultval=no
3101 fi
3102 fi
3103 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3104 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3105
3106 # Check whether --with-subdirs was given.
3107 if test "${with_subdirs+set}" = set; then
3108 withval=$with_subdirs;
3109 if test "$withval" = yes; then
3110 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3111 else
3112 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3113 fi
3114
3115 else
3116
3117 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3118
3119 fi
3120
3121
3122 eval "$wx_cv_use_subdirs"
3123
3124 if test x"$withstring" = xwithout; then
3125 if test $wxWITH_SUBDIRS = yes; then
3126 result=no
3127 else
3128 result=yes
3129 fi
3130 else
3131 result=$wxWITH_SUBDIRS
3132 fi
3133
3134 { echo "$as_me:$LINENO: result: $result" >&5
3135 echo "${ECHO_T}$result" >&6; }
3136
3137
3138 # Check whether --with-flavour was given.
3139 if test "${with_flavour+set}" = set; then
3140 withval=$with_flavour; WX_FLAVOUR="$withval"
3141 fi
3142
3143
3144 enablestring=
3145 defaultval=
3146 if test -z "$defaultval"; then
3147 if test x"$enablestring" = xdisable; then
3148 defaultval=yes
3149 else
3150 defaultval=no
3151 fi
3152 fi
3153
3154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3155 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3156 # Check whether --enable-official_build was given.
3157 if test "${enable_official_build+set}" = set; then
3158 enableval=$enable_official_build;
3159 if test "$enableval" = yes; then
3160 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3161 else
3162 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3163 fi
3164
3165 else
3166
3167 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3168
3169 fi
3170
3171
3172 eval "$wx_cv_use_official_build"
3173
3174 if test x"$enablestring" = xdisable; then
3175 if test $wxUSE_OFFICIAL_BUILD = no; then
3176 result=yes
3177 else
3178 result=no
3179 fi
3180 else
3181 result=$wxUSE_OFFICIAL_BUILD
3182 fi
3183
3184 { echo "$as_me:$LINENO: result: $result" >&5
3185 echo "${ECHO_T}$result" >&6; }
3186
3187 # Check whether --enable-vendor was given.
3188 if test "${enable_vendor+set}" = set; then
3189 enableval=$enable_vendor; VENDOR="$enableval"
3190 fi
3191
3192 if test "x$VENDOR" = "x"; then
3193 VENDOR="custom"
3194 fi
3195
3196
3197 enablestring=disable
3198 defaultval=
3199 if test -z "$defaultval"; then
3200 if test x"$enablestring" = xdisable; then
3201 defaultval=yes
3202 else
3203 defaultval=no
3204 fi
3205 fi
3206
3207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3208 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3209 # Check whether --enable-all-features was given.
3210 if test "${enable_all_features+set}" = set; then
3211 enableval=$enable_all_features;
3212 if test "$enableval" = yes; then
3213 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3214 else
3215 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3216 fi
3217
3218 else
3219
3220 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3221
3222 fi
3223
3224
3225 eval "$wx_cv_use_all_features"
3226
3227 if test x"$enablestring" = xdisable; then
3228 if test $wxUSE_ALL_FEATURES = no; then
3229 result=yes
3230 else
3231 result=no
3232 fi
3233 else
3234 result=$wxUSE_ALL_FEATURES
3235 fi
3236
3237 { echo "$as_me:$LINENO: result: $result" >&5
3238 echo "${ECHO_T}$result" >&6; }
3239
3240
3241 if test "$wxUSE_ALL_FEATURES" = "no"; then
3242 DEFAULT_wxUSE_MEDIACTRL=no
3243 fi
3244
3245
3246 if test "$wxUSE_GUI" = "yes"; then
3247
3248
3249 enablestring=
3250 defaultval=
3251 if test -z "$defaultval"; then
3252 if test x"$enablestring" = xdisable; then
3253 defaultval=yes
3254 else
3255 defaultval=no
3256 fi
3257 fi
3258
3259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3260 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3261 # Check whether --enable-universal was given.
3262 if test "${enable_universal+set}" = set; then
3263 enableval=$enable_universal;
3264 if test "$enableval" = yes; then
3265 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3266 else
3267 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3268 fi
3269
3270 else
3271
3272 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3273
3274 fi
3275
3276
3277 eval "$wx_cv_use_universal"
3278
3279 if test x"$enablestring" = xdisable; then
3280 if test $wxUSE_UNIVERSAL = no; then
3281 result=yes
3282 else
3283 result=no
3284 fi
3285 else
3286 result=$wxUSE_UNIVERSAL
3287 fi
3288
3289 { echo "$as_me:$LINENO: result: $result" >&5
3290 echo "${ECHO_T}$result" >&6; }
3291
3292 if test "$wxUSE_UNIVERSAL" = "yes"; then
3293
3294 # Check whether --with-themes was given.
3295 if test "${with_themes+set}" = set; then
3296 withval=$with_themes; wxUNIV_THEMES="$withval"
3297 fi
3298
3299 fi
3300
3301
3302 # Check whether --with-gtk was given.
3303 if test "${with_gtk+set}" = set; then
3304 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3305 fi
3306
3307
3308 # Check whether --with-motif was given.
3309 if test "${with_motif+set}" = set; then
3310 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3311 fi
3312
3313
3314 # Check whether --with-osx_carbon was given.
3315 if test "${with_osx_carbon+set}" = set; then
3316 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3317 fi
3318
3319
3320 # Check whether --with-osx_cocoa was given.
3321 if test "${with_osx_cocoa+set}" = set; then
3322 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3323 fi
3324
3325
3326 # Check whether --with-mac was given.
3327 if test "${with_mac+set}" = set; then
3328 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3329 fi
3330
3331
3332 # Check whether --with-cocoa was given.
3333 if test "${with_cocoa+set}" = set; then
3334 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3335 fi
3336
3337
3338 # Check whether --with-wine was given.
3339 if test "${with_wine+set}" = set; then
3340 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3341 fi
3342
3343
3344 # Check whether --with-msw was given.
3345 if test "${with_msw+set}" = set; then
3346 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3347 fi
3348
3349
3350 # Check whether --with-pm was given.
3351 if test "${with_pm+set}" = set; then
3352 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3353 fi
3354
3355
3356 # Check whether --with-mgl was given.
3357 if test "${with_mgl+set}" = set; then
3358 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3359 fi
3360
3361
3362 # Check whether --with-directfb was given.
3363 if test "${with_directfb+set}" = set; then
3364 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3365 fi
3366
3367
3368 # Check whether --with-microwin was given.
3369 if test "${with_microwin+set}" = set; then
3370 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3371 fi
3372
3373
3374 # Check whether --with-x11 was given.
3375 if test "${with_x11+set}" = set; then
3376 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3377 fi
3378
3379
3380 enablestring=
3381 defaultval=
3382 if test -z "$defaultval"; then
3383 if test x"$enablestring" = xdisable; then
3384 defaultval=yes
3385 else
3386 defaultval=no
3387 fi
3388 fi
3389
3390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3391 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3392 # Check whether --enable-nanox was given.
3393 if test "${enable_nanox+set}" = set; then
3394 enableval=$enable_nanox;
3395 if test "$enableval" = yes; then
3396 wx_cv_use_nanox='wxUSE_NANOX=yes'
3397 else
3398 wx_cv_use_nanox='wxUSE_NANOX=no'
3399 fi
3400
3401 else
3402
3403 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3404
3405 fi
3406
3407
3408 eval "$wx_cv_use_nanox"
3409
3410 if test x"$enablestring" = xdisable; then
3411 if test $wxUSE_NANOX = no; then
3412 result=yes
3413 else
3414 result=no
3415 fi
3416 else
3417 result=$wxUSE_NANOX
3418 fi
3419
3420 { echo "$as_me:$LINENO: result: $result" >&5
3421 echo "${ECHO_T}$result" >&6; }
3422
3423
3424 # Check whether --enable-gtk2 was given.
3425 if test "${enable_gtk2+set}" = set; then
3426 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3427 fi
3428
3429
3430 enablestring=
3431 defaultval=
3432 if test -z "$defaultval"; then
3433 if test x"$enablestring" = xdisable; then
3434 defaultval=yes
3435 else
3436 defaultval=no
3437 fi
3438 fi
3439
3440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3441 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3442 # Check whether --enable-gpe was given.
3443 if test "${enable_gpe+set}" = set; then
3444 enableval=$enable_gpe;
3445 if test "$enableval" = yes; then
3446 wx_cv_use_gpe='wxUSE_GPE=yes'
3447 else
3448 wx_cv_use_gpe='wxUSE_GPE=no'
3449 fi
3450
3451 else
3452
3453 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3454
3455 fi
3456
3457
3458 eval "$wx_cv_use_gpe"
3459
3460 if test x"$enablestring" = xdisable; then
3461 if test $wxUSE_GPE = no; then
3462 result=yes
3463 else
3464 result=no
3465 fi
3466 else
3467 result=$wxUSE_GPE
3468 fi
3469
3470 { echo "$as_me:$LINENO: result: $result" >&5
3471 echo "${ECHO_T}$result" >&6; }
3472
3473
3474
3475 { echo "$as_me:$LINENO: checking for toolkit" >&5
3476 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3477
3478
3479
3480 # In Wine, we need to default to MSW, not GTK or MOTIF
3481 if test "$wxUSE_WINE" = "yes"; then
3482 DEFAULT_DEFAULT_wxUSE_GTK=0
3483 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3484 DEFAULT_DEFAULT_wxUSE_MSW=1
3485 wxUSE_SHARED=no
3486 CC=${CC:-winegcc}
3487 CXX=${CXX:-wineg++}
3488 fi
3489
3490
3491 if test "$wxUSE_GUI" = "yes"; then
3492
3493 if test "$USE_BEOS" = 1; then
3494 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3495 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3496 { (exit 1); exit 1; }; }
3497 fi
3498
3499 if test "$TOOLKIT_GIVEN" = 1; then
3500 for toolkit in $ALL_TOOLKITS; do
3501 var=wxUSE_$toolkit
3502 eval "value=\$${var}"
3503 if test "x$value" = "xno"; then
3504 eval "$var=0"
3505 elif test "x$value" != "x"; then
3506 eval "$var=1"
3507 fi
3508
3509 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3510 eval "wx${toolkit}_VERSION=$value"
3511 fi
3512 done
3513 else
3514 for toolkit in $ALL_TOOLKITS; do
3515 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3516 eval "wxUSE_$toolkit=\$${var}"
3517 done
3518 fi
3519
3520 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3521 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3522 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3523
3524 case "${host}" in
3525 *-pc-os2_emx | *-pc-os2-emx )
3526 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3527 esac
3528
3529 case "$NUM_TOOLKITS" in
3530 1)
3531 ;;
3532 0)
3533 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3534 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3535 { (exit 1); exit 1; }; }
3536 ;;
3537 *)
3538 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3539 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3540 { (exit 1); exit 1; }; }
3541 esac
3542
3543 # to be removed when --disable-gtk2 isn't needed
3544 if test "x$wxUSE_GTK2" = "xyes"; then
3545 wxGTK_VERSION=2
3546 elif test "x$wxUSE_GTK2" = "xno"; then
3547 wxGTK_VERSION=1
3548 fi
3549
3550 for toolkit in $ALL_TOOLKITS; do
3551 var=wxUSE_$toolkit
3552 eval "value=\$${var}"
3553 if test "$value" = 1; then
3554 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3555 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3556 echo "${ECHO_T}$toolkit_echo" >&6; }
3557 fi
3558 done
3559 else
3560 if test "x$host_alias" != "x"; then
3561 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3562 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3563 else
3564 { echo "$as_me:$LINENO: result: base only" >&5
3565 echo "${ECHO_T}base only" >&6; }
3566 fi
3567 fi
3568
3569 wxUSE_MAC=0
3570 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3571 wxUSE_MAC=1
3572 fi
3573
3574
3575
3576 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3577 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3578
3579 # Check whether --with-libpng was given.
3580 if test "${with_libpng+set}" = set; then
3581 withval=$with_libpng;
3582 if test "$withval" = yes; then
3583 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3584 elif test "$withval" = no; then
3585 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3586 elif test "$withval" = sys; then
3587 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3588 elif test "$withval" = builtin; then
3589 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3590 else
3591 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3592 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3593 { (exit 1); exit 1; }; }
3594 fi
3595
3596 else
3597
3598 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3599
3600 fi
3601
3602
3603 eval "$wx_cv_use_libpng"
3604
3605 if test "$wxUSE_LIBPNG" = yes; then
3606 { echo "$as_me:$LINENO: result: yes" >&5
3607 echo "${ECHO_T}yes" >&6; }
3608 elif test "$wxUSE_LIBPNG" = no; then
3609 { echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6; }
3611 elif test "$wxUSE_LIBPNG" = sys; then
3612 { echo "$as_me:$LINENO: result: system version" >&5
3613 echo "${ECHO_T}system version" >&6; }
3614 elif test "$wxUSE_LIBPNG" = builtin; then
3615 { echo "$as_me:$LINENO: result: builtin version" >&5
3616 echo "${ECHO_T}builtin version" >&6; }
3617 else
3618 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3619 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3620 { (exit 1); exit 1; }; }
3621 fi
3622
3623
3624 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3625 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3626
3627 # Check whether --with-libjpeg was given.
3628 if test "${with_libjpeg+set}" = set; then
3629 withval=$with_libjpeg;
3630 if test "$withval" = yes; then
3631 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3632 elif test "$withval" = no; then
3633 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3634 elif test "$withval" = sys; then
3635 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3636 elif test "$withval" = builtin; then
3637 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3638 else
3639 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3640 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3641 { (exit 1); exit 1; }; }
3642 fi
3643
3644 else
3645
3646 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3647
3648 fi
3649
3650
3651 eval "$wx_cv_use_libjpeg"
3652
3653 if test "$wxUSE_LIBJPEG" = yes; then
3654 { echo "$as_me:$LINENO: result: yes" >&5
3655 echo "${ECHO_T}yes" >&6; }
3656 elif test "$wxUSE_LIBJPEG" = no; then
3657 { echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6; }
3659 elif test "$wxUSE_LIBJPEG" = sys; then
3660 { echo "$as_me:$LINENO: result: system version" >&5
3661 echo "${ECHO_T}system version" >&6; }
3662 elif test "$wxUSE_LIBJPEG" = builtin; then
3663 { echo "$as_me:$LINENO: result: builtin version" >&5
3664 echo "${ECHO_T}builtin version" >&6; }
3665 else
3666 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3667 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3668 { (exit 1); exit 1; }; }
3669 fi
3670
3671
3672 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3673 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3674
3675 # Check whether --with-libtiff was given.
3676 if test "${with_libtiff+set}" = set; then
3677 withval=$with_libtiff;
3678 if test "$withval" = yes; then
3679 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3680 elif test "$withval" = no; then
3681 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3682 elif test "$withval" = sys; then
3683 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3684 elif test "$withval" = builtin; then
3685 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3686 else
3687 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3688 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3689 { (exit 1); exit 1; }; }
3690 fi
3691
3692 else
3693
3694 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3695
3696 fi
3697
3698
3699 eval "$wx_cv_use_libtiff"
3700
3701 if test "$wxUSE_LIBTIFF" = yes; then
3702 { echo "$as_me:$LINENO: result: yes" >&5
3703 echo "${ECHO_T}yes" >&6; }
3704 elif test "$wxUSE_LIBTIFF" = no; then
3705 { echo "$as_me:$LINENO: result: no" >&5
3706 echo "${ECHO_T}no" >&6; }
3707 elif test "$wxUSE_LIBTIFF" = sys; then
3708 { echo "$as_me:$LINENO: result: system version" >&5
3709 echo "${ECHO_T}system version" >&6; }
3710 elif test "$wxUSE_LIBTIFF" = builtin; then
3711 { echo "$as_me:$LINENO: result: builtin version" >&5
3712 echo "${ECHO_T}builtin version" >&6; }
3713 else
3714 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3715 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3716 { (exit 1); exit 1; }; }
3717 fi
3718
3719
3720 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3721 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3722
3723 # Check whether --with-libxpm was given.
3724 if test "${with_libxpm+set}" = set; then
3725 withval=$with_libxpm;
3726 if test "$withval" = yes; then
3727 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3728 elif test "$withval" = no; then
3729 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3730 elif test "$withval" = sys; then
3731 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3732 elif test "$withval" = builtin; then
3733 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3734 else
3735 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3736 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3737 { (exit 1); exit 1; }; }
3738 fi
3739
3740 else
3741
3742 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3743
3744 fi
3745
3746
3747 eval "$wx_cv_use_libxpm"
3748
3749 if test "$wxUSE_LIBXPM" = yes; then
3750 { echo "$as_me:$LINENO: result: yes" >&5
3751 echo "${ECHO_T}yes" >&6; }
3752 elif test "$wxUSE_LIBXPM" = no; then
3753 { echo "$as_me:$LINENO: result: no" >&5
3754 echo "${ECHO_T}no" >&6; }
3755 elif test "$wxUSE_LIBXPM" = sys; then
3756 { echo "$as_me:$LINENO: result: system version" >&5
3757 echo "${ECHO_T}system version" >&6; }
3758 elif test "$wxUSE_LIBXPM" = builtin; then
3759 { echo "$as_me:$LINENO: result: builtin version" >&5
3760 echo "${ECHO_T}builtin version" >&6; }
3761 else
3762 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3763 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3764 { (exit 1); exit 1; }; }
3765 fi
3766
3767
3768 withstring=
3769 defaultval=$wxUSE_ALL_FEATURES
3770 if test -z "$defaultval"; then
3771 if test x"$withstring" = xwithout; then
3772 defaultval=yes
3773 else
3774 defaultval=no
3775 fi
3776 fi
3777 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3778 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3779
3780 # Check whether --with-libiconv was given.
3781 if test "${with_libiconv+set}" = set; then
3782 withval=$with_libiconv;
3783 if test "$withval" = yes; then
3784 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3785 else
3786 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3787 fi
3788
3789 else
3790
3791 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3792
3793 fi
3794
3795
3796 eval "$wx_cv_use_libiconv"
3797
3798 if test x"$withstring" = xwithout; then
3799 if test $wxUSE_LIBICONV = yes; then
3800 result=no
3801 else
3802 result=yes
3803 fi
3804 else
3805 result=$wxUSE_LIBICONV
3806 fi
3807
3808 { echo "$as_me:$LINENO: result: $result" >&5
3809 echo "${ECHO_T}$result" >&6; }
3810
3811
3812 withstring=
3813 defaultval=$wxUSE_ALL_FEATURES
3814 if test -z "$defaultval"; then
3815 if test x"$withstring" = xwithout; then
3816 defaultval=yes
3817 else
3818 defaultval=no
3819 fi
3820 fi
3821 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3822 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3823
3824 # Check whether --with-libmspack was given.
3825 if test "${with_libmspack+set}" = set; then
3826 withval=$with_libmspack;
3827 if test "$withval" = yes; then
3828 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3829 else
3830 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3831 fi
3832
3833 else
3834
3835 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3836
3837 fi
3838
3839
3840 eval "$wx_cv_use_libmspack"
3841
3842 if test x"$withstring" = xwithout; then
3843 if test $wxUSE_LIBMSPACK = yes; then
3844 result=no
3845 else
3846 result=yes
3847 fi
3848 else
3849 result=$wxUSE_LIBMSPACK
3850 fi
3851
3852 { echo "$as_me:$LINENO: result: $result" >&5
3853 echo "${ECHO_T}$result" >&6; }
3854
3855
3856 withstring=without
3857 defaultval=$wxUSE_ALL_FEATURES
3858 if test -z "$defaultval"; then
3859 if test x"$withstring" = xwithout; then
3860 defaultval=yes
3861 else
3862 defaultval=no
3863 fi
3864 fi
3865 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3866 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3867
3868 # Check whether --with-gtkprint was given.
3869 if test "${with_gtkprint+set}" = set; then
3870 withval=$with_gtkprint;
3871 if test "$withval" = yes; then
3872 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3873 else
3874 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3875 fi
3876
3877 else
3878
3879 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3880
3881 fi
3882
3883
3884 eval "$wx_cv_use_gtkprint"
3885
3886 if test x"$withstring" = xwithout; then
3887 if test $wxUSE_GTKPRINT = yes; then
3888 result=no
3889 else
3890 result=yes
3891 fi
3892 else
3893 result=$wxUSE_GTKPRINT
3894 fi
3895
3896 { echo "$as_me:$LINENO: result: $result" >&5
3897 echo "${ECHO_T}$result" >&6; }
3898
3899
3900 withstring=without
3901 defaultval=$wxUSE_ALL_FEATURES
3902 if test -z "$defaultval"; then
3903 if test x"$withstring" = xwithout; then
3904 defaultval=yes
3905 else
3906 defaultval=no
3907 fi
3908 fi
3909 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3910 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3911
3912 # Check whether --with-gnomeprint was given.
3913 if test "${with_gnomeprint+set}" = set; then
3914 withval=$with_gnomeprint;
3915 if test "$withval" = yes; then
3916 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3917 else
3918 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3919 fi
3920
3921 else
3922
3923 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3924
3925 fi
3926
3927
3928 eval "$wx_cv_use_gnomeprint"
3929
3930 if test x"$withstring" = xwithout; then
3931 if test $wxUSE_LIBGNOMEPRINT = yes; then
3932 result=no
3933 else
3934 result=yes
3935 fi
3936 else
3937 result=$wxUSE_LIBGNOMEPRINT
3938 fi
3939
3940 { echo "$as_me:$LINENO: result: $result" >&5
3941 echo "${ECHO_T}$result" >&6; }
3942
3943
3944 withstring=
3945 defaultval=$wxUSE_ALL_FEATURES
3946 if test -z "$defaultval"; then
3947 if test x"$withstring" = xwithout; then
3948 defaultval=yes
3949 else
3950 defaultval=no
3951 fi
3952 fi
3953 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3954 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3955
3956 # Check whether --with-gnomevfs was given.
3957 if test "${with_gnomevfs+set}" = set; then
3958 withval=$with_gnomevfs;
3959 if test "$withval" = yes; then
3960 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3961 else
3962 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3963 fi
3964
3965 else
3966
3967 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3968
3969 fi
3970
3971
3972 eval "$wx_cv_use_gnomevfs"
3973
3974 if test x"$withstring" = xwithout; then
3975 if test $wxUSE_LIBGNOMEVFS = yes; then
3976 result=no
3977 else
3978 result=yes
3979 fi
3980 else
3981 result=$wxUSE_LIBGNOMEVFS
3982 fi
3983
3984 { echo "$as_me:$LINENO: result: $result" >&5
3985 echo "${ECHO_T}$result" >&6; }
3986
3987
3988 withstring=
3989 defaultval=$wxUSE_ALL_FEATURES
3990 if test -z "$defaultval"; then
3991 if test x"$withstring" = xwithout; then
3992 defaultval=yes
3993 else
3994 defaultval=no
3995 fi
3996 fi
3997 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3998 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3999
4000 # Check whether --with-hildon was given.
4001 if test "${with_hildon+set}" = set; then
4002 withval=$with_hildon;
4003 if test "$withval" = yes; then
4004 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4005 else
4006 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4007 fi
4008
4009 else
4010
4011 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4012
4013 fi
4014
4015
4016 eval "$wx_cv_use_hildon"
4017
4018 if test x"$withstring" = xwithout; then
4019 if test $wxUSE_LIBHILDON = yes; then
4020 result=no
4021 else
4022 result=yes
4023 fi
4024 else
4025 result=$wxUSE_LIBHILDON
4026 fi
4027
4028 { echo "$as_me:$LINENO: result: $result" >&5
4029 echo "${ECHO_T}$result" >&6; }
4030
4031
4032 withstring=
4033 defaultval=$wxUSE_ALL_FEATURES
4034 if test -z "$defaultval"; then
4035 if test x"$withstring" = xwithout; then
4036 defaultval=yes
4037 else
4038 defaultval=no
4039 fi
4040 fi
4041 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4042 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4043
4044 # Check whether --with-opengl was given.
4045 if test "${with_opengl+set}" = set; then
4046 withval=$with_opengl;
4047 if test "$withval" = yes; then
4048 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4049 else
4050 wx_cv_use_opengl='wxUSE_OPENGL=no'
4051 fi
4052
4053 else
4054
4055 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4056
4057 fi
4058
4059
4060 eval "$wx_cv_use_opengl"
4061
4062 if test x"$withstring" = xwithout; then
4063 if test $wxUSE_OPENGL = yes; then
4064 result=no
4065 else
4066 result=yes
4067 fi
4068 else
4069 result=$wxUSE_OPENGL
4070 fi
4071
4072 { echo "$as_me:$LINENO: result: $result" >&5
4073 echo "${ECHO_T}$result" >&6; }
4074
4075
4076 fi
4077
4078
4079 withstring=
4080 defaultval=$wxUSE_ALL_FEATURES
4081 if test -z "$defaultval"; then
4082 if test x"$withstring" = xwithout; then
4083 defaultval=yes
4084 else
4085 defaultval=no
4086 fi
4087 fi
4088 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4089 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4090
4091 # Check whether --with-dmalloc was given.
4092 if test "${with_dmalloc+set}" = set; then
4093 withval=$with_dmalloc;
4094 if test "$withval" = yes; then
4095 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4096 else
4097 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4098 fi
4099
4100 else
4101
4102 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4103
4104 fi
4105
4106
4107 eval "$wx_cv_use_dmalloc"
4108
4109 if test x"$withstring" = xwithout; then
4110 if test $wxUSE_DMALLOC = yes; then
4111 result=no
4112 else
4113 result=yes
4114 fi
4115 else
4116 result=$wxUSE_DMALLOC
4117 fi
4118
4119 { echo "$as_me:$LINENO: result: $result" >&5
4120 echo "${ECHO_T}$result" >&6; }
4121
4122
4123 withstring=
4124 defaultval=$wxUSE_ALL_FEATURES
4125 if test -z "$defaultval"; then
4126 if test x"$withstring" = xwithout; then
4127 defaultval=yes
4128 else
4129 defaultval=no
4130 fi
4131 fi
4132 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4133 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4134
4135 # Check whether --with-sdl was given.
4136 if test "${with_sdl+set}" = set; then
4137 withval=$with_sdl;
4138 if test "$withval" = yes; then
4139 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4140 else
4141 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4142 fi
4143
4144 else
4145
4146 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4147
4148 fi
4149
4150
4151 eval "$wx_cv_use_sdl"
4152
4153 if test x"$withstring" = xwithout; then
4154 if test $wxUSE_LIBSDL = yes; then
4155 result=no
4156 else
4157 result=yes
4158 fi
4159 else
4160 result=$wxUSE_LIBSDL
4161 fi
4162
4163 { echo "$as_me:$LINENO: result: $result" >&5
4164 echo "${ECHO_T}$result" >&6; }
4165
4166
4167 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4168 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4169
4170 # Check whether --with-regex was given.
4171 if test "${with_regex+set}" = set; then
4172 withval=$with_regex;
4173 if test "$withval" = yes; then
4174 wx_cv_use_regex='wxUSE_REGEX=yes'
4175 elif test "$withval" = no; then
4176 wx_cv_use_regex='wxUSE_REGEX=no'
4177 elif test "$withval" = sys; then
4178 wx_cv_use_regex='wxUSE_REGEX=sys'
4179 elif test "$withval" = builtin; then
4180 wx_cv_use_regex='wxUSE_REGEX=builtin'
4181 else
4182 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4183 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4184 { (exit 1); exit 1; }; }
4185 fi
4186
4187 else
4188
4189 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4190
4191 fi
4192
4193
4194 eval "$wx_cv_use_regex"
4195
4196 if test "$wxUSE_REGEX" = yes; then
4197 { echo "$as_me:$LINENO: result: yes" >&5
4198 echo "${ECHO_T}yes" >&6; }
4199 elif test "$wxUSE_REGEX" = no; then
4200 { echo "$as_me:$LINENO: result: no" >&5
4201 echo "${ECHO_T}no" >&6; }
4202 elif test "$wxUSE_REGEX" = sys; then
4203 { echo "$as_me:$LINENO: result: system version" >&5
4204 echo "${ECHO_T}system version" >&6; }
4205 elif test "$wxUSE_REGEX" = builtin; then
4206 { echo "$as_me:$LINENO: result: builtin version" >&5
4207 echo "${ECHO_T}builtin version" >&6; }
4208 else
4209 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4210 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4211 { (exit 1); exit 1; }; }
4212 fi
4213
4214
4215 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4216 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4217
4218 # Check whether --with-zlib was given.
4219 if test "${with_zlib+set}" = set; then
4220 withval=$with_zlib;
4221 if test "$withval" = yes; then
4222 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4223 elif test "$withval" = no; then
4224 wx_cv_use_zlib='wxUSE_ZLIB=no'
4225 elif test "$withval" = sys; then
4226 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4227 elif test "$withval" = builtin; then
4228 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4229 else
4230 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4231 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4232 { (exit 1); exit 1; }; }
4233 fi
4234
4235 else
4236
4237 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4238
4239 fi
4240
4241
4242 eval "$wx_cv_use_zlib"
4243
4244 if test "$wxUSE_ZLIB" = yes; then
4245 { echo "$as_me:$LINENO: result: yes" >&5
4246 echo "${ECHO_T}yes" >&6; }
4247 elif test "$wxUSE_ZLIB" = no; then
4248 { echo "$as_me:$LINENO: result: no" >&5
4249 echo "${ECHO_T}no" >&6; }
4250 elif test "$wxUSE_ZLIB" = sys; then
4251 { echo "$as_me:$LINENO: result: system version" >&5
4252 echo "${ECHO_T}system version" >&6; }
4253 elif test "$wxUSE_ZLIB" = builtin; then
4254 { echo "$as_me:$LINENO: result: builtin version" >&5
4255 echo "${ECHO_T}builtin version" >&6; }
4256 else
4257 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4258 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4259 { (exit 1); exit 1; }; }
4260 fi
4261
4262
4263 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4264 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4265
4266 # Check whether --with-expat was given.
4267 if test "${with_expat+set}" = set; then
4268 withval=$with_expat;
4269 if test "$withval" = yes; then
4270 wx_cv_use_expat='wxUSE_EXPAT=yes'
4271 elif test "$withval" = no; then
4272 wx_cv_use_expat='wxUSE_EXPAT=no'
4273 elif test "$withval" = sys; then
4274 wx_cv_use_expat='wxUSE_EXPAT=sys'
4275 elif test "$withval" = builtin; then
4276 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4277 else
4278 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4279 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4280 { (exit 1); exit 1; }; }
4281 fi
4282
4283 else
4284
4285 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4286
4287 fi
4288
4289
4290 eval "$wx_cv_use_expat"
4291
4292 if test "$wxUSE_EXPAT" = yes; then
4293 { echo "$as_me:$LINENO: result: yes" >&5
4294 echo "${ECHO_T}yes" >&6; }
4295 elif test "$wxUSE_EXPAT" = no; then
4296 { echo "$as_me:$LINENO: result: no" >&5
4297 echo "${ECHO_T}no" >&6; }
4298 elif test "$wxUSE_EXPAT" = sys; then
4299 { echo "$as_me:$LINENO: result: system version" >&5
4300 echo "${ECHO_T}system version" >&6; }
4301 elif test "$wxUSE_EXPAT" = builtin; then
4302 { echo "$as_me:$LINENO: result: builtin version" >&5
4303 echo "${ECHO_T}builtin version" >&6; }
4304 else
4305 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4306 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4307 { (exit 1); exit 1; }; }
4308 fi
4309
4310
4311 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4312 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4313
4314 # Check whether --with-macosx-sdk was given.
4315 if test "${with_macosx_sdk+set}" = set; then
4316 withval=$with_macosx_sdk;
4317 wxUSE_MACOSX_SDK=$withval
4318 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4319
4320 fi
4321
4322 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4323 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4324
4325 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4326 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4327
4328 # Check whether --with-macosx-version-min was given.
4329 if test "${with_macosx_version_min+set}" = set; then
4330 withval=$with_macosx_version_min;
4331 wxUSE_MACOSX_VERSION_MIN=$withval
4332 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4333
4334 fi
4335
4336 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4337 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4338
4339
4340 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4341 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4342 # Check whether --enable-debug was given.
4343 if test "${enable_debug+set}" = set; then
4344 enableval=$enable_debug;
4345 if test "$enableval" = yes; then
4346 wxUSE_DEBUG=yes
4347 elif test "$enableval" = no; then
4348 wxUSE_DEBUG=no
4349 elif test "$enableval" = max; then
4350 wxUSE_DEBUG=yes
4351 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4352 else
4353 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4354 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4355 { (exit 1); exit 1; }; }
4356 fi
4357
4358 else
4359 wxUSE_DEBUG=default
4360
4361 fi
4362
4363
4364 case "$wxUSE_DEBUG" in
4365 yes)
4366 DEFAULT_wxUSE_DEBUG_FLAG=yes
4367 DEFAULT_wxUSE_DEBUG_INFO=yes
4368
4369 DEFAULT_wxUSE_OPTIMISE=no
4370 ;;
4371
4372 no)
4373 DEFAULT_wxUSE_DEBUG_FLAG=no
4374 DEFAULT_wxUSE_DEBUG_INFO=no
4375 ;;
4376
4377 default)
4378 DEFAULT_wxUSE_DEBUG_FLAG=yes
4379 DEFAULT_wxUSE_DEBUG_INFO=no
4380 ;;
4381 esac
4382
4383
4384 enablestring=disable
4385 defaultval=
4386 if test -z "$defaultval"; then
4387 if test x"$enablestring" = xdisable; then
4388 defaultval=yes
4389 else
4390 defaultval=no
4391 fi
4392 fi
4393
4394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4395 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4396 # Check whether --enable-debug_flag was given.
4397 if test "${enable_debug_flag+set}" = set; then
4398 enableval=$enable_debug_flag;
4399 if test "$enableval" = yes; then
4400 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4401 else
4402 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4403 fi
4404
4405 else
4406
4407 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4408
4409 fi
4410
4411
4412 eval "$wx_cv_use_debug_flag"
4413
4414 if test x"$enablestring" = xdisable; then
4415 if test $wxUSE_DEBUG_FLAG = no; then
4416 result=yes
4417 else
4418 result=no
4419 fi
4420 else
4421 result=$wxUSE_DEBUG_FLAG
4422 fi
4423
4424 { echo "$as_me:$LINENO: result: $result" >&5
4425 echo "${ECHO_T}$result" >&6; }
4426
4427
4428 enablestring=
4429 defaultval=
4430 if test -z "$defaultval"; then
4431 if test x"$enablestring" = xdisable; then
4432 defaultval=yes
4433 else
4434 defaultval=no
4435 fi
4436 fi
4437
4438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4439 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4440 # Check whether --enable-debug_info was given.
4441 if test "${enable_debug_info+set}" = set; then
4442 enableval=$enable_debug_info;
4443 if test "$enableval" = yes; then
4444 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4445 else
4446 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4447 fi
4448
4449 else
4450
4451 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4452
4453 fi
4454
4455
4456 eval "$wx_cv_use_debug_info"
4457
4458 if test x"$enablestring" = xdisable; then
4459 if test $wxUSE_DEBUG_INFO = no; then
4460 result=yes
4461 else
4462 result=no
4463 fi
4464 else
4465 result=$wxUSE_DEBUG_INFO
4466 fi
4467
4468 { echo "$as_me:$LINENO: result: $result" >&5
4469 echo "${ECHO_T}$result" >&6; }
4470
4471
4472
4473
4474 enablestring=
4475 defaultval=
4476 if test -z "$defaultval"; then
4477 if test x"$enablestring" = xdisable; then
4478 defaultval=yes
4479 else
4480 defaultval=no
4481 fi
4482 fi
4483
4484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4485 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4486 # Check whether --enable-debug_gdb was given.
4487 if test "${enable_debug_gdb+set}" = set; then
4488 enableval=$enable_debug_gdb;
4489 if test "$enableval" = yes; then
4490 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4491 else
4492 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4493 fi
4494
4495 else
4496
4497 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4498
4499 fi
4500
4501
4502 eval "$wx_cv_use_debug_gdb"
4503
4504 if test x"$enablestring" = xdisable; then
4505 if test $wxUSE_DEBUG_GDB = no; then
4506 result=yes
4507 else
4508 result=no
4509 fi
4510 else
4511 result=$wxUSE_DEBUG_GDB
4512 fi
4513
4514 { echo "$as_me:$LINENO: result: $result" >&5
4515 echo "${ECHO_T}$result" >&6; }
4516
4517
4518 enablestring=
4519 defaultval=
4520 if test -z "$defaultval"; then
4521 if test x"$enablestring" = xdisable; then
4522 defaultval=yes
4523 else
4524 defaultval=no
4525 fi
4526 fi
4527
4528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4529 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4530 # Check whether --enable-debug_cntxt was given.
4531 if test "${enable_debug_cntxt+set}" = set; then
4532 enableval=$enable_debug_cntxt;
4533 if test "$enableval" = yes; then
4534 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4535 else
4536 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4537 fi
4538
4539 else
4540
4541 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4542
4543 fi
4544
4545
4546 eval "$wx_cv_use_debug_cntxt"
4547
4548 if test x"$enablestring" = xdisable; then
4549 if test $wxUSE_DEBUG_CONTEXT = no; then
4550 result=yes
4551 else
4552 result=no
4553 fi
4554 else
4555 result=$wxUSE_DEBUG_CONTEXT
4556 fi
4557
4558 { echo "$as_me:$LINENO: result: $result" >&5
4559 echo "${ECHO_T}$result" >&6; }
4560
4561
4562 enablestring=
4563 defaultval=
4564 if test -z "$defaultval"; then
4565 if test x"$enablestring" = xdisable; then
4566 defaultval=yes
4567 else
4568 defaultval=no
4569 fi
4570 fi
4571
4572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4573 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4574 # Check whether --enable-mem_tracing was given.
4575 if test "${enable_mem_tracing+set}" = set; then
4576 enableval=$enable_mem_tracing;
4577 if test "$enableval" = yes; then
4578 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4579 else
4580 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4581 fi
4582
4583 else
4584
4585 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4586
4587 fi
4588
4589
4590 eval "$wx_cv_use_mem_tracing"
4591
4592 if test x"$enablestring" = xdisable; then
4593 if test $wxUSE_MEM_TRACING = no; then
4594 result=yes
4595 else
4596 result=no
4597 fi
4598 else
4599 result=$wxUSE_MEM_TRACING
4600 fi
4601
4602 { echo "$as_me:$LINENO: result: $result" >&5
4603 echo "${ECHO_T}$result" >&6; }
4604
4605
4606
4607
4608 enablestring=disable
4609 defaultval=
4610 if test -z "$defaultval"; then
4611 if test x"$enablestring" = xdisable; then
4612 defaultval=yes
4613 else
4614 defaultval=no
4615 fi
4616 fi
4617
4618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4619 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4620 # Check whether --enable-shared was given.
4621 if test "${enable_shared+set}" = set; then
4622 enableval=$enable_shared;
4623 if test "$enableval" = yes; then
4624 wx_cv_use_shared='wxUSE_SHARED=yes'
4625 else
4626 wx_cv_use_shared='wxUSE_SHARED=no'
4627 fi
4628
4629 else
4630
4631 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4632
4633 fi
4634
4635
4636 eval "$wx_cv_use_shared"
4637
4638 if test x"$enablestring" = xdisable; then
4639 if test $wxUSE_SHARED = no; then
4640 result=yes
4641 else
4642 result=no
4643 fi
4644 else
4645 result=$wxUSE_SHARED
4646 fi
4647
4648 { echo "$as_me:$LINENO: result: $result" >&5
4649 echo "${ECHO_T}$result" >&6; }
4650
4651
4652 enablestring=
4653 defaultval=
4654 if test -z "$defaultval"; then
4655 if test x"$enablestring" = xdisable; then
4656 defaultval=yes
4657 else
4658 defaultval=no
4659 fi
4660 fi
4661
4662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4664 # Check whether --enable-stl was given.
4665 if test "${enable_stl+set}" = set; then
4666 enableval=$enable_stl;
4667 if test "$enableval" = yes; then
4668 wx_cv_use_stl='wxUSE_STL=yes'
4669 else
4670 wx_cv_use_stl='wxUSE_STL=no'
4671 fi
4672
4673 else
4674
4675 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4676
4677 fi
4678
4679
4680 eval "$wx_cv_use_stl"
4681
4682 if test x"$enablestring" = xdisable; then
4683 if test $wxUSE_STL = no; then
4684 result=yes
4685 else
4686 result=no
4687 fi
4688 else
4689 result=$wxUSE_STL
4690 fi
4691
4692 { echo "$as_me:$LINENO: result: $result" >&5
4693 echo "${ECHO_T}$result" >&6; }
4694
4695
4696 enablestring=
4697 defaultval=
4698 if test -z "$defaultval"; then
4699 if test x"$enablestring" = xdisable; then
4700 defaultval=yes
4701 else
4702 defaultval=no
4703 fi
4704 fi
4705
4706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4707 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4708 # Check whether --enable-std_iostreams was given.
4709 if test "${enable_std_iostreams+set}" = set; then
4710 enableval=$enable_std_iostreams;
4711 if test "$enableval" = yes; then
4712 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4713 else
4714 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4715 fi
4716
4717 else
4718
4719 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4720
4721 fi
4722
4723
4724 eval "$wx_cv_use_std_iostreams"
4725
4726 if test x"$enablestring" = xdisable; then
4727 if test $wxUSE_STD_IOSTREAM = no; then
4728 result=yes
4729 else
4730 result=no
4731 fi
4732 else
4733 result=$wxUSE_STD_IOSTREAM
4734 fi
4735
4736 { echo "$as_me:$LINENO: result: $result" >&5
4737 echo "${ECHO_T}$result" >&6; }
4738
4739
4740 enablestring=
4741 defaultval=
4742 if test -z "$defaultval"; then
4743 if test x"$enablestring" = xdisable; then
4744 defaultval=yes
4745 else
4746 defaultval=no
4747 fi
4748 fi
4749
4750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4751 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4752 # Check whether --enable-std_string was given.
4753 if test "${enable_std_string+set}" = set; then
4754 enableval=$enable_std_string;
4755 if test "$enableval" = yes; then
4756 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4757 else
4758 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4759 fi
4760
4761 else
4762
4763 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4764
4765 fi
4766
4767
4768 eval "$wx_cv_use_std_string"
4769
4770 if test x"$enablestring" = xdisable; then
4771 if test $wxUSE_STD_STRING = no; then
4772 result=yes
4773 else
4774 result=no
4775 fi
4776 else
4777 result=$wxUSE_STD_STRING
4778 fi
4779
4780 { echo "$as_me:$LINENO: result: $result" >&5
4781 echo "${ECHO_T}$result" >&6; }
4782
4783
4784 enablestring=disable
4785 defaultval=
4786 if test -z "$defaultval"; then
4787 if test x"$enablestring" = xdisable; then
4788 defaultval=yes
4789 else
4790 defaultval=no
4791 fi
4792 fi
4793
4794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4795 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4796 # Check whether --enable-unicode was given.
4797 if test "${enable_unicode+set}" = set; then
4798 enableval=$enable_unicode;
4799 if test "$enableval" = yes; then
4800 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4801 else
4802 wx_cv_use_unicode='wxUSE_UNICODE=no'
4803 fi
4804
4805 else
4806
4807 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4808
4809 fi
4810
4811
4812 eval "$wx_cv_use_unicode"
4813
4814 if test x"$enablestring" = xdisable; then
4815 if test $wxUSE_UNICODE = no; then
4816 result=yes
4817 else
4818 result=no
4819 fi
4820 else
4821 result=$wxUSE_UNICODE
4822 fi
4823
4824 { echo "$as_me:$LINENO: result: $result" >&5
4825 echo "${ECHO_T}$result" >&6; }
4826
4827
4828 enablestring=
4829 defaultval=
4830 if test -z "$defaultval"; then
4831 if test x"$enablestring" = xdisable; then
4832 defaultval=yes
4833 else
4834 defaultval=no
4835 fi
4836 fi
4837
4838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4839 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4840 # Check whether --enable-mslu was given.
4841 if test "${enable_mslu+set}" = set; then
4842 enableval=$enable_mslu;
4843 if test "$enableval" = yes; then
4844 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4845 else
4846 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4847 fi
4848
4849 else
4850
4851 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4852
4853 fi
4854
4855
4856 eval "$wx_cv_use_mslu"
4857
4858 if test x"$enablestring" = xdisable; then
4859 if test $wxUSE_UNICODE_MSLU = no; then
4860 result=yes
4861 else
4862 result=no
4863 fi
4864 else
4865 result=$wxUSE_UNICODE_MSLU
4866 fi
4867
4868 { echo "$as_me:$LINENO: result: $result" >&5
4869 echo "${ECHO_T}$result" >&6; }
4870
4871
4872 enablestring=
4873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4874 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4875 # Check whether --enable-utf8 was given.
4876 if test "${enable_utf8+set}" = set; then
4877 enableval=$enable_utf8;
4878 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4879
4880 else
4881
4882 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4883
4884 fi
4885
4886
4887 eval "$wx_cv_use_utf8"
4888
4889 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4890 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4891
4892
4893 enablestring=
4894 defaultval=
4895 if test -z "$defaultval"; then
4896 if test x"$enablestring" = xdisable; then
4897 defaultval=yes
4898 else
4899 defaultval=no
4900 fi
4901 fi
4902
4903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4904 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4905 # Check whether --enable-utf8only was given.
4906 if test "${enable_utf8only+set}" = set; then
4907 enableval=$enable_utf8only;
4908 if test "$enableval" = yes; then
4909 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4910 else
4911 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4912 fi
4913
4914 else
4915
4916 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4917
4918 fi
4919
4920
4921 eval "$wx_cv_use_utf8only"
4922
4923 if test x"$enablestring" = xdisable; then
4924 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4925 result=yes
4926 else
4927 result=no
4928 fi
4929 else
4930 result=$wxUSE_UNICODE_UTF8_LOCALE
4931 fi
4932
4933 { echo "$as_me:$LINENO: result: $result" >&5
4934 echo "${ECHO_T}$result" >&6; }
4935
4936
4937 enablestring=
4938 defaultval=
4939 if test -z "$defaultval"; then
4940 if test x"$enablestring" = xdisable; then
4941 defaultval=yes
4942 else
4943 defaultval=no
4944 fi
4945 fi
4946
4947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4948 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4949 # Check whether --enable-extended_rtti was given.
4950 if test "${enable_extended_rtti+set}" = set; then
4951 enableval=$enable_extended_rtti;
4952 if test "$enableval" = yes; then
4953 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4954 else
4955 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4956 fi
4957
4958 else
4959
4960 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4961
4962 fi
4963
4964
4965 eval "$wx_cv_use_extended_rtti"
4966
4967 if test x"$enablestring" = xdisable; then
4968 if test $wxUSE_EXTENDED_RTTI = no; then
4969 result=yes
4970 else
4971 result=no
4972 fi
4973 else
4974 result=$wxUSE_EXTENDED_RTTI
4975 fi
4976
4977 { echo "$as_me:$LINENO: result: $result" >&5
4978 echo "${ECHO_T}$result" >&6; }
4979
4980 if test "$USE_OS2" = 1; then
4981 DEFAULT_wxUSE_OMF=no
4982
4983 enablestring=
4984 defaultval=
4985 if test -z "$defaultval"; then
4986 if test x"$enablestring" = xdisable; then
4987 defaultval=yes
4988 else
4989 defaultval=no
4990 fi
4991 fi
4992
4993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4994 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4995 # Check whether --enable-omf was given.
4996 if test "${enable_omf+set}" = set; then
4997 enableval=$enable_omf;
4998 if test "$enableval" = yes; then
4999 wx_cv_use_omf='wxUSE_OMF=yes'
5000 else
5001 wx_cv_use_omf='wxUSE_OMF=no'
5002 fi
5003
5004 else
5005
5006 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5007
5008 fi
5009
5010
5011 eval "$wx_cv_use_omf"
5012
5013 if test x"$enablestring" = xdisable; then
5014 if test $wxUSE_OMF = no; then
5015 result=yes
5016 else
5017 result=no
5018 fi
5019 else
5020 result=$wxUSE_OMF
5021 fi
5022
5023 { echo "$as_me:$LINENO: result: $result" >&5
5024 echo "${ECHO_T}$result" >&6; }
5025
5026 fi
5027
5028
5029 enablestring=disable
5030 defaultval=
5031 if test -z "$defaultval"; then
5032 if test x"$enablestring" = xdisable; then
5033 defaultval=yes
5034 else
5035 defaultval=no
5036 fi
5037 fi
5038
5039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5040 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5041 # Check whether --enable-optimise was given.
5042 if test "${enable_optimise+set}" = set; then
5043 enableval=$enable_optimise;
5044 if test "$enableval" = yes; then
5045 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5046 else
5047 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5048 fi
5049
5050 else
5051
5052 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5053
5054 fi
5055
5056
5057 eval "$wx_cv_use_optimise"
5058
5059 if test x"$enablestring" = xdisable; then
5060 if test $wxUSE_OPTIMISE = no; then
5061 result=yes
5062 else
5063 result=no
5064 fi
5065 else
5066 result=$wxUSE_OPTIMISE
5067 fi
5068
5069 { echo "$as_me:$LINENO: result: $result" >&5
5070 echo "${ECHO_T}$result" >&6; }
5071
5072
5073
5074 enablestring=
5075 defaultval=
5076 if test -z "$defaultval"; then
5077 if test x"$enablestring" = xdisable; then
5078 defaultval=yes
5079 else
5080 defaultval=no
5081 fi
5082 fi
5083
5084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5085 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5086 # Check whether --enable-profile was given.
5087 if test "${enable_profile+set}" = set; then
5088 enableval=$enable_profile;
5089 if test "$enableval" = yes; then
5090 wx_cv_use_profile='wxUSE_PROFILE=yes'
5091 else
5092 wx_cv_use_profile='wxUSE_PROFILE=no'
5093 fi
5094
5095 else
5096
5097 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5098
5099 fi
5100
5101
5102 eval "$wx_cv_use_profile"
5103
5104 if test x"$enablestring" = xdisable; then
5105 if test $wxUSE_PROFILE = no; then
5106 result=yes
5107 else
5108 result=no
5109 fi
5110 else
5111 result=$wxUSE_PROFILE
5112 fi
5113
5114 { echo "$as_me:$LINENO: result: $result" >&5
5115 echo "${ECHO_T}$result" >&6; }
5116
5117
5118 enablestring=
5119 defaultval=
5120 if test -z "$defaultval"; then
5121 if test x"$enablestring" = xdisable; then
5122 defaultval=yes
5123 else
5124 defaultval=no
5125 fi
5126 fi
5127
5128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5129 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5130 # Check whether --enable-no_rtti was given.
5131 if test "${enable_no_rtti+set}" = set; then
5132 enableval=$enable_no_rtti;
5133 if test "$enableval" = yes; then
5134 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5135 else
5136 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5137 fi
5138
5139 else
5140
5141 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5142
5143 fi
5144
5145
5146 eval "$wx_cv_use_no_rtti"
5147
5148 if test x"$enablestring" = xdisable; then
5149 if test $wxUSE_NO_RTTI = no; then
5150 result=yes
5151 else
5152 result=no
5153 fi
5154 else
5155 result=$wxUSE_NO_RTTI
5156 fi
5157
5158 { echo "$as_me:$LINENO: result: $result" >&5
5159 echo "${ECHO_T}$result" >&6; }
5160
5161
5162 enablestring=
5163 defaultval=
5164 if test -z "$defaultval"; then
5165 if test x"$enablestring" = xdisable; then
5166 defaultval=yes
5167 else
5168 defaultval=no
5169 fi
5170 fi
5171
5172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5173 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5174 # Check whether --enable-no_exceptions was given.
5175 if test "${enable_no_exceptions+set}" = set; then
5176 enableval=$enable_no_exceptions;
5177 if test "$enableval" = yes; then
5178 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5179 else
5180 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5181 fi
5182
5183 else
5184
5185 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5186
5187 fi
5188
5189
5190 eval "$wx_cv_use_no_exceptions"
5191
5192 if test x"$enablestring" = xdisable; then
5193 if test $wxUSE_NO_EXCEPTIONS = no; then
5194 result=yes
5195 else
5196 result=no
5197 fi
5198 else
5199 result=$wxUSE_NO_EXCEPTIONS
5200 fi
5201
5202 { echo "$as_me:$LINENO: result: $result" >&5
5203 echo "${ECHO_T}$result" >&6; }
5204
5205
5206 enablestring=
5207 defaultval=
5208 if test -z "$defaultval"; then
5209 if test x"$enablestring" = xdisable; then
5210 defaultval=yes
5211 else
5212 defaultval=no
5213 fi
5214 fi
5215
5216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5217 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5218 # Check whether --enable-permissive was given.
5219 if test "${enable_permissive+set}" = set; then
5220 enableval=$enable_permissive;
5221 if test "$enableval" = yes; then
5222 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5223 else
5224 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5225 fi
5226
5227 else
5228
5229 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5230
5231 fi
5232
5233
5234 eval "$wx_cv_use_permissive"
5235
5236 if test x"$enablestring" = xdisable; then
5237 if test $wxUSE_PERMISSIVE = no; then
5238 result=yes
5239 else
5240 result=no
5241 fi
5242 else
5243 result=$wxUSE_PERMISSIVE
5244 fi
5245
5246 { echo "$as_me:$LINENO: result: $result" >&5
5247 echo "${ECHO_T}$result" >&6; }
5248
5249
5250 enablestring=
5251 defaultval=
5252 if test -z "$defaultval"; then
5253 if test x"$enablestring" = xdisable; then
5254 defaultval=yes
5255 else
5256 defaultval=no
5257 fi
5258 fi
5259
5260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5261 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5262 # Check whether --enable-no_deps was given.
5263 if test "${enable_no_deps+set}" = set; then
5264 enableval=$enable_no_deps;
5265 if test "$enableval" = yes; then
5266 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5267 else
5268 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5269 fi
5270
5271 else
5272
5273 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5274
5275 fi
5276
5277
5278 eval "$wx_cv_use_no_deps"
5279
5280 if test x"$enablestring" = xdisable; then
5281 if test $wxUSE_NO_DEPS = no; then
5282 result=yes
5283 else
5284 result=no
5285 fi
5286 else
5287 result=$wxUSE_NO_DEPS
5288 fi
5289
5290 { echo "$as_me:$LINENO: result: $result" >&5
5291 echo "${ECHO_T}$result" >&6; }
5292
5293
5294 enablestring=disable
5295 defaultval=
5296 if test -z "$defaultval"; then
5297 if test x"$enablestring" = xdisable; then
5298 defaultval=yes
5299 else
5300 defaultval=no
5301 fi
5302 fi
5303
5304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5305 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5306 # Check whether --enable-vararg_macros was given.
5307 if test "${enable_vararg_macros+set}" = set; then
5308 enableval=$enable_vararg_macros;
5309 if test "$enableval" = yes; then
5310 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5311 else
5312 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5313 fi
5314
5315 else
5316
5317 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5318
5319 fi
5320
5321
5322 eval "$wx_cv_use_vararg_macros"
5323
5324 if test x"$enablestring" = xdisable; then
5325 if test $wxUSE_VARARG_MACROS = no; then
5326 result=yes
5327 else
5328 result=no
5329 fi
5330 else
5331 result=$wxUSE_VARARG_MACROS
5332 fi
5333
5334 { echo "$as_me:$LINENO: result: $result" >&5
5335 echo "${ECHO_T}$result" >&6; }
5336
5337
5338 enablestring=
5339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5340 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5341 # Check whether --enable-universal_binary was given.
5342 if test "${enable_universal_binary+set}" = set; then
5343 enableval=$enable_universal_binary;
5344 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5345
5346 else
5347
5348 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5349
5350 fi
5351
5352
5353 eval "$wx_cv_use_universal_binary"
5354
5355 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5356 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5357
5358
5359
5360 enablestring=
5361 defaultval=
5362 if test -z "$defaultval"; then
5363 if test x"$enablestring" = xdisable; then
5364 defaultval=yes
5365 else
5366 defaultval=no
5367 fi
5368 fi
5369
5370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5371 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5372 # Check whether --enable-compat26 was given.
5373 if test "${enable_compat26+set}" = set; then
5374 enableval=$enable_compat26;
5375 if test "$enableval" = yes; then
5376 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5377 else
5378 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5379 fi
5380
5381 else
5382
5383 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5384
5385 fi
5386
5387
5388 eval "$wx_cv_use_compat26"
5389
5390 if test x"$enablestring" = xdisable; then
5391 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5392 result=yes
5393 else
5394 result=no
5395 fi
5396 else
5397 result=$WXWIN_COMPATIBILITY_2_6
5398 fi
5399
5400 { echo "$as_me:$LINENO: result: $result" >&5
5401 echo "${ECHO_T}$result" >&6; }
5402
5403
5404 enablestring=disable
5405 defaultval=
5406 if test -z "$defaultval"; then
5407 if test x"$enablestring" = xdisable; then
5408 defaultval=yes
5409 else
5410 defaultval=no
5411 fi
5412 fi
5413
5414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5415 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5416 # Check whether --enable-compat28 was given.
5417 if test "${enable_compat28+set}" = set; then
5418 enableval=$enable_compat28;
5419 if test "$enableval" = yes; then
5420 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5421 else
5422 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5423 fi
5424
5425 else
5426
5427 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5428
5429 fi
5430
5431
5432 eval "$wx_cv_use_compat28"
5433
5434 if test x"$enablestring" = xdisable; then
5435 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5436 result=yes
5437 else
5438 result=no
5439 fi
5440 else
5441 result=$WXWIN_COMPATIBILITY_2_8
5442 fi
5443
5444 { echo "$as_me:$LINENO: result: $result" >&5
5445 echo "${ECHO_T}$result" >&6; }
5446
5447
5448
5449 enablestring=disable
5450 defaultval=
5451 if test -z "$defaultval"; then
5452 if test x"$enablestring" = xdisable; then
5453 defaultval=yes
5454 else
5455 defaultval=no
5456 fi
5457 fi
5458
5459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5460 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5461 # Check whether --enable-rpath was given.
5462 if test "${enable_rpath+set}" = set; then
5463 enableval=$enable_rpath;
5464 if test "$enableval" = yes; then
5465 wx_cv_use_rpath='wxUSE_RPATH=yes'
5466 else
5467 wx_cv_use_rpath='wxUSE_RPATH=no'
5468 fi
5469
5470 else
5471
5472 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5473
5474 fi
5475
5476
5477 eval "$wx_cv_use_rpath"
5478
5479 if test x"$enablestring" = xdisable; then
5480 if test $wxUSE_RPATH = no; then
5481 result=yes
5482 else
5483 result=no
5484 fi
5485 else
5486 result=$wxUSE_RPATH
5487 fi
5488
5489 { echo "$as_me:$LINENO: result: $result" >&5
5490 echo "${ECHO_T}$result" >&6; }
5491
5492
5493
5494 enablestring=
5495 defaultval=
5496 if test -z "$defaultval"; then
5497 if test x"$enablestring" = xdisable; then
5498 defaultval=yes
5499 else
5500 defaultval=no
5501 fi
5502 fi
5503
5504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5505 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5506 # Check whether --enable-objc_uniquifying was given.
5507 if test "${enable_objc_uniquifying+set}" = set; then
5508 enableval=$enable_objc_uniquifying;
5509 if test "$enableval" = yes; then
5510 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5511 else
5512 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5513 fi
5514
5515 else
5516
5517 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5518
5519 fi
5520
5521
5522 eval "$wx_cv_use_objc_uniquifying"
5523
5524 if test x"$enablestring" = xdisable; then
5525 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5526 result=yes
5527 else
5528 result=no
5529 fi
5530 else
5531 result=$wxUSE_OBJC_UNIQUIFYING
5532 fi
5533
5534 { echo "$as_me:$LINENO: result: $result" >&5
5535 echo "${ECHO_T}$result" >&6; }
5536
5537
5538
5539 enablestring=disable
5540 defaultval=
5541 if test -z "$defaultval"; then
5542 if test x"$enablestring" = xdisable; then
5543 defaultval=yes
5544 else
5545 defaultval=no
5546 fi
5547 fi
5548
5549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5550 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5551 # Check whether --enable-visibility was given.
5552 if test "${enable_visibility+set}" = set; then
5553 enableval=$enable_visibility;
5554 if test "$enableval" = yes; then
5555 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5556 else
5557 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5558 fi
5559
5560 else
5561
5562 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5563
5564 fi
5565
5566
5567 eval "$wx_cv_use_visibility"
5568
5569 if test x"$enablestring" = xdisable; then
5570 if test $wxUSE_VISIBILITY = no; then
5571 result=yes
5572 else
5573 result=no
5574 fi
5575 else
5576 result=$wxUSE_VISIBILITY
5577 fi
5578
5579 { echo "$as_me:$LINENO: result: $result" >&5
5580 echo "${ECHO_T}$result" >&6; }
5581
5582
5583 enablestring=disable
5584 defaultval=
5585 if test -z "$defaultval"; then
5586 if test x"$enablestring" = xdisable; then
5587 defaultval=yes
5588 else
5589 defaultval=no
5590 fi
5591 fi
5592
5593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5594 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5595 # Check whether --enable-tls was given.
5596 if test "${enable_tls+set}" = set; then
5597 enableval=$enable_tls;
5598 if test "$enableval" = yes; then
5599 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5600 else
5601 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5602 fi
5603
5604 else
5605
5606 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5607
5608 fi
5609
5610
5611 eval "$wx_cv_use_tls"
5612
5613 if test x"$enablestring" = xdisable; then
5614 if test $wxUSE_COMPILER_TLS = no; then
5615 result=yes
5616 else
5617 result=no
5618 fi
5619 else
5620 result=$wxUSE_COMPILER_TLS
5621 fi
5622
5623 { echo "$as_me:$LINENO: result: $result" >&5
5624 echo "${ECHO_T}$result" >&6; }
5625
5626
5627
5628
5629 enablestring=
5630 defaultval=$wxUSE_ALL_FEATURES
5631 if test -z "$defaultval"; then
5632 if test x"$enablestring" = xdisable; then
5633 defaultval=yes
5634 else
5635 defaultval=no
5636 fi
5637 fi
5638
5639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5640 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5641 # Check whether --enable-intl was given.
5642 if test "${enable_intl+set}" = set; then
5643 enableval=$enable_intl;
5644 if test "$enableval" = yes; then
5645 wx_cv_use_intl='wxUSE_INTL=yes'
5646 else
5647 wx_cv_use_intl='wxUSE_INTL=no'
5648 fi
5649
5650 else
5651
5652 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5653
5654 fi
5655
5656
5657 eval "$wx_cv_use_intl"
5658
5659 if test x"$enablestring" = xdisable; then
5660 if test $wxUSE_INTL = no; then
5661 result=yes
5662 else
5663 result=no
5664 fi
5665 else
5666 result=$wxUSE_INTL
5667 fi
5668
5669 { echo "$as_me:$LINENO: result: $result" >&5
5670 echo "${ECHO_T}$result" >&6; }
5671
5672
5673 enablestring=
5674 defaultval=$wxUSE_ALL_FEATURES
5675 if test -z "$defaultval"; then
5676 if test x"$enablestring" = xdisable; then
5677 defaultval=yes
5678 else
5679 defaultval=no
5680 fi
5681 fi
5682
5683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5684 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5685 # Check whether --enable-xlocale was given.
5686 if test "${enable_xlocale+set}" = set; then
5687 enableval=$enable_xlocale;
5688 if test "$enableval" = yes; then
5689 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5690 else
5691 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5692 fi
5693
5694 else
5695
5696 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5697
5698 fi
5699
5700
5701 eval "$wx_cv_use_xlocale"
5702
5703 if test x"$enablestring" = xdisable; then
5704 if test $wxUSE_XLOCALE = no; then
5705 result=yes
5706 else
5707 result=no
5708 fi
5709 else
5710 result=$wxUSE_XLOCALE
5711 fi
5712
5713 { echo "$as_me:$LINENO: result: $result" >&5
5714 echo "${ECHO_T}$result" >&6; }
5715
5716
5717 enablestring=
5718 defaultval=$wxUSE_ALL_FEATURES
5719 if test -z "$defaultval"; then
5720 if test x"$enablestring" = xdisable; then
5721 defaultval=yes
5722 else
5723 defaultval=no
5724 fi
5725 fi
5726
5727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5728 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5729 # Check whether --enable-config was given.
5730 if test "${enable_config+set}" = set; then
5731 enableval=$enable_config;
5732 if test "$enableval" = yes; then
5733 wx_cv_use_config='wxUSE_CONFIG=yes'
5734 else
5735 wx_cv_use_config='wxUSE_CONFIG=no'
5736 fi
5737
5738 else
5739
5740 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5741
5742 fi
5743
5744
5745 eval "$wx_cv_use_config"
5746
5747 if test x"$enablestring" = xdisable; then
5748 if test $wxUSE_CONFIG = no; then
5749 result=yes
5750 else
5751 result=no
5752 fi
5753 else
5754 result=$wxUSE_CONFIG
5755 fi
5756
5757 { echo "$as_me:$LINENO: result: $result" >&5
5758 echo "${ECHO_T}$result" >&6; }
5759
5760
5761
5762 enablestring=
5763 defaultval=$wxUSE_ALL_FEATURES
5764 if test -z "$defaultval"; then
5765 if test x"$enablestring" = xdisable; then
5766 defaultval=yes
5767 else
5768 defaultval=no
5769 fi
5770 fi
5771
5772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5773 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5774 # Check whether --enable-protocols was given.
5775 if test "${enable_protocols+set}" = set; then
5776 enableval=$enable_protocols;
5777 if test "$enableval" = yes; then
5778 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5779 else
5780 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5781 fi
5782
5783 else
5784
5785 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5786
5787 fi
5788
5789
5790 eval "$wx_cv_use_protocols"
5791
5792 if test x"$enablestring" = xdisable; then
5793 if test $wxUSE_PROTOCOL = no; then
5794 result=yes
5795 else
5796 result=no
5797 fi
5798 else
5799 result=$wxUSE_PROTOCOL
5800 fi
5801
5802 { echo "$as_me:$LINENO: result: $result" >&5
5803 echo "${ECHO_T}$result" >&6; }
5804
5805
5806 enablestring=
5807 defaultval=$wxUSE_ALL_FEATURES
5808 if test -z "$defaultval"; then
5809 if test x"$enablestring" = xdisable; then
5810 defaultval=yes
5811 else
5812 defaultval=no
5813 fi
5814 fi
5815
5816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5817 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5818 # Check whether --enable-ftp was given.
5819 if test "${enable_ftp+set}" = set; then
5820 enableval=$enable_ftp;
5821 if test "$enableval" = yes; then
5822 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5823 else
5824 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5825 fi
5826
5827 else
5828
5829 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5830
5831 fi
5832
5833
5834 eval "$wx_cv_use_ftp"
5835
5836 if test x"$enablestring" = xdisable; then
5837 if test $wxUSE_PROTOCOL_FTP = no; then
5838 result=yes
5839 else
5840 result=no
5841 fi
5842 else
5843 result=$wxUSE_PROTOCOL_FTP
5844 fi
5845
5846 { echo "$as_me:$LINENO: result: $result" >&5
5847 echo "${ECHO_T}$result" >&6; }
5848
5849
5850 enablestring=
5851 defaultval=$wxUSE_ALL_FEATURES
5852 if test -z "$defaultval"; then
5853 if test x"$enablestring" = xdisable; then
5854 defaultval=yes
5855 else
5856 defaultval=no
5857 fi
5858 fi
5859
5860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5861 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5862 # Check whether --enable-http was given.
5863 if test "${enable_http+set}" = set; then
5864 enableval=$enable_http;
5865 if test "$enableval" = yes; then
5866 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5867 else
5868 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5869 fi
5870
5871 else
5872
5873 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5874
5875 fi
5876
5877
5878 eval "$wx_cv_use_http"
5879
5880 if test x"$enablestring" = xdisable; then
5881 if test $wxUSE_PROTOCOL_HTTP = no; then
5882 result=yes
5883 else
5884 result=no
5885 fi
5886 else
5887 result=$wxUSE_PROTOCOL_HTTP
5888 fi
5889
5890 { echo "$as_me:$LINENO: result: $result" >&5
5891 echo "${ECHO_T}$result" >&6; }
5892
5893
5894 enablestring=
5895 defaultval=$wxUSE_ALL_FEATURES
5896 if test -z "$defaultval"; then
5897 if test x"$enablestring" = xdisable; then
5898 defaultval=yes
5899 else
5900 defaultval=no
5901 fi
5902 fi
5903
5904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5905 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5906 # Check whether --enable-fileproto was given.
5907 if test "${enable_fileproto+set}" = set; then
5908 enableval=$enable_fileproto;
5909 if test "$enableval" = yes; then
5910 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5911 else
5912 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5913 fi
5914
5915 else
5916
5917 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5918
5919 fi
5920
5921
5922 eval "$wx_cv_use_fileproto"
5923
5924 if test x"$enablestring" = xdisable; then
5925 if test $wxUSE_PROTOCOL_FILE = no; then
5926 result=yes
5927 else
5928 result=no
5929 fi
5930 else
5931 result=$wxUSE_PROTOCOL_FILE
5932 fi
5933
5934 { echo "$as_me:$LINENO: result: $result" >&5
5935 echo "${ECHO_T}$result" >&6; }
5936
5937
5938 enablestring=
5939 defaultval=$wxUSE_ALL_FEATURES
5940 if test -z "$defaultval"; then
5941 if test x"$enablestring" = xdisable; then
5942 defaultval=yes
5943 else
5944 defaultval=no
5945 fi
5946 fi
5947
5948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5949 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5950 # Check whether --enable-sockets was given.
5951 if test "${enable_sockets+set}" = set; then
5952 enableval=$enable_sockets;
5953 if test "$enableval" = yes; then
5954 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5955 else
5956 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5957 fi
5958
5959 else
5960
5961 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5962
5963 fi
5964
5965
5966 eval "$wx_cv_use_sockets"
5967
5968 if test x"$enablestring" = xdisable; then
5969 if test $wxUSE_SOCKETS = no; then
5970 result=yes
5971 else
5972 result=no
5973 fi
5974 else
5975 result=$wxUSE_SOCKETS
5976 fi
5977
5978 { echo "$as_me:$LINENO: result: $result" >&5
5979 echo "${ECHO_T}$result" >&6; }
5980
5981
5982 enablestring=
5983 defaultval=$wxUSE_ALL_FEATURES
5984 if test -z "$defaultval"; then
5985 if test x"$enablestring" = xdisable; then
5986 defaultval=yes
5987 else
5988 defaultval=no
5989 fi
5990 fi
5991
5992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5993 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5994 # Check whether --enable-ipv6 was given.
5995 if test "${enable_ipv6+set}" = set; then
5996 enableval=$enable_ipv6;
5997 if test "$enableval" = yes; then
5998 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5999 else
6000 wx_cv_use_ipv6='wxUSE_IPV6=no'
6001 fi
6002
6003 else
6004
6005 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6006
6007 fi
6008
6009
6010 eval "$wx_cv_use_ipv6"
6011
6012 if test x"$enablestring" = xdisable; then
6013 if test $wxUSE_IPV6 = no; then
6014 result=yes
6015 else
6016 result=no
6017 fi
6018 else
6019 result=$wxUSE_IPV6
6020 fi
6021
6022 { echo "$as_me:$LINENO: result: $result" >&5
6023 echo "${ECHO_T}$result" >&6; }
6024
6025
6026 enablestring=
6027 defaultval=$wxUSE_ALL_FEATURES
6028 if test -z "$defaultval"; then
6029 if test x"$enablestring" = xdisable; then
6030 defaultval=yes
6031 else
6032 defaultval=no
6033 fi
6034 fi
6035
6036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6037 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6038 # Check whether --enable-ole was given.
6039 if test "${enable_ole+set}" = set; then
6040 enableval=$enable_ole;
6041 if test "$enableval" = yes; then
6042 wx_cv_use_ole='wxUSE_OLE=yes'
6043 else
6044 wx_cv_use_ole='wxUSE_OLE=no'
6045 fi
6046
6047 else
6048
6049 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6050
6051 fi
6052
6053
6054 eval "$wx_cv_use_ole"
6055
6056 if test x"$enablestring" = xdisable; then
6057 if test $wxUSE_OLE = no; then
6058 result=yes
6059 else
6060 result=no
6061 fi
6062 else
6063 result=$wxUSE_OLE
6064 fi
6065
6066 { echo "$as_me:$LINENO: result: $result" >&5
6067 echo "${ECHO_T}$result" >&6; }
6068
6069
6070 enablestring=
6071 defaultval=$wxUSE_ALL_FEATURES
6072 if test -z "$defaultval"; then
6073 if test x"$enablestring" = xdisable; then
6074 defaultval=yes
6075 else
6076 defaultval=no
6077 fi
6078 fi
6079
6080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6081 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6082 # Check whether --enable-dataobj was given.
6083 if test "${enable_dataobj+set}" = set; then
6084 enableval=$enable_dataobj;
6085 if test "$enableval" = yes; then
6086 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6087 else
6088 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6089 fi
6090
6091 else
6092
6093 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6094
6095 fi
6096
6097
6098 eval "$wx_cv_use_dataobj"
6099
6100 if test x"$enablestring" = xdisable; then
6101 if test $wxUSE_DATAOBJ = no; then
6102 result=yes
6103 else
6104 result=no
6105 fi
6106 else
6107 result=$wxUSE_DATAOBJ
6108 fi
6109
6110 { echo "$as_me:$LINENO: result: $result" >&5
6111 echo "${ECHO_T}$result" >&6; }
6112
6113
6114
6115 enablestring=
6116 defaultval=$wxUSE_ALL_FEATURES
6117 if test -z "$defaultval"; then
6118 if test x"$enablestring" = xdisable; then
6119 defaultval=yes
6120 else
6121 defaultval=no
6122 fi
6123 fi
6124
6125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6126 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6127 # Check whether --enable-ipc was given.
6128 if test "${enable_ipc+set}" = set; then
6129 enableval=$enable_ipc;
6130 if test "$enableval" = yes; then
6131 wx_cv_use_ipc='wxUSE_IPC=yes'
6132 else
6133 wx_cv_use_ipc='wxUSE_IPC=no'
6134 fi
6135
6136 else
6137
6138 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6139
6140 fi
6141
6142
6143 eval "$wx_cv_use_ipc"
6144
6145 if test x"$enablestring" = xdisable; then
6146 if test $wxUSE_IPC = no; then
6147 result=yes
6148 else
6149 result=no
6150 fi
6151 else
6152 result=$wxUSE_IPC
6153 fi
6154
6155 { echo "$as_me:$LINENO: result: $result" >&5
6156 echo "${ECHO_T}$result" >&6; }
6157
6158
6159
6160 enablestring=
6161 defaultval=$wxUSE_ALL_FEATURES
6162 if test -z "$defaultval"; then
6163 if test x"$enablestring" = xdisable; then
6164 defaultval=yes
6165 else
6166 defaultval=no
6167 fi
6168 fi
6169
6170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6171 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6172 # Check whether --enable-baseevtloop was given.
6173 if test "${enable_baseevtloop+set}" = set; then
6174 enableval=$enable_baseevtloop;
6175 if test "$enableval" = yes; then
6176 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6177 else
6178 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6179 fi
6180
6181 else
6182
6183 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6184
6185 fi
6186
6187
6188 eval "$wx_cv_use_baseevtloop"
6189
6190 if test x"$enablestring" = xdisable; then
6191 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6192 result=yes
6193 else
6194 result=no
6195 fi
6196 else
6197 result=$wxUSE_CONSOLE_EVENTLOOP
6198 fi
6199
6200 { echo "$as_me:$LINENO: result: $result" >&5
6201 echo "${ECHO_T}$result" >&6; }
6202
6203
6204 enablestring=
6205 defaultval=$wxUSE_ALL_FEATURES
6206 if test -z "$defaultval"; then
6207 if test x"$enablestring" = xdisable; then
6208 defaultval=yes
6209 else
6210 defaultval=no
6211 fi
6212 fi
6213
6214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6215 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6216 # Check whether --enable-epollloop was given.
6217 if test "${enable_epollloop+set}" = set; then
6218 enableval=$enable_epollloop;
6219 if test "$enableval" = yes; then
6220 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6221 else
6222 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6223 fi
6224
6225 else
6226
6227 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6228
6229 fi
6230
6231
6232 eval "$wx_cv_use_epollloop"
6233
6234 if test x"$enablestring" = xdisable; then
6235 if test $wxUSE_EPOLL_DISPATCHER = no; then
6236 result=yes
6237 else
6238 result=no
6239 fi
6240 else
6241 result=$wxUSE_EPOLL_DISPATCHER
6242 fi
6243
6244 { echo "$as_me:$LINENO: result: $result" >&5
6245 echo "${ECHO_T}$result" >&6; }
6246
6247
6248 enablestring=
6249 defaultval=$wxUSE_ALL_FEATURES
6250 if test -z "$defaultval"; then
6251 if test x"$enablestring" = xdisable; then
6252 defaultval=yes
6253 else
6254 defaultval=no
6255 fi
6256 fi
6257
6258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6259 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6260 # Check whether --enable-selectloop was given.
6261 if test "${enable_selectloop+set}" = set; then
6262 enableval=$enable_selectloop;
6263 if test "$enableval" = yes; then
6264 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6265 else
6266 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6267 fi
6268
6269 else
6270
6271 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6272
6273 fi
6274
6275
6276 eval "$wx_cv_use_selectloop"
6277
6278 if test x"$enablestring" = xdisable; then
6279 if test $wxUSE_SELECT_DISPATCHER = no; then
6280 result=yes
6281 else
6282 result=no
6283 fi
6284 else
6285 result=$wxUSE_SELECT_DISPATCHER
6286 fi
6287
6288 { echo "$as_me:$LINENO: result: $result" >&5
6289 echo "${ECHO_T}$result" >&6; }
6290
6291
6292
6293 enablestring=
6294 defaultval=$wxUSE_ALL_FEATURES
6295 if test -z "$defaultval"; then
6296 if test x"$enablestring" = xdisable; then
6297 defaultval=yes
6298 else
6299 defaultval=no
6300 fi
6301 fi
6302
6303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6304 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6305 # Check whether --enable-any was given.
6306 if test "${enable_any+set}" = set; then
6307 enableval=$enable_any;
6308 if test "$enableval" = yes; then
6309 wx_cv_use_any='wxUSE_ANY=yes'
6310 else
6311 wx_cv_use_any='wxUSE_ANY=no'
6312 fi
6313
6314 else
6315
6316 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6317
6318 fi
6319
6320
6321 eval "$wx_cv_use_any"
6322
6323 if test x"$enablestring" = xdisable; then
6324 if test $wxUSE_ANY = no; then
6325 result=yes
6326 else
6327 result=no
6328 fi
6329 else
6330 result=$wxUSE_ANY
6331 fi
6332
6333 { echo "$as_me:$LINENO: result: $result" >&5
6334 echo "${ECHO_T}$result" >&6; }
6335
6336
6337 enablestring=
6338 defaultval=$wxUSE_ALL_FEATURES
6339 if test -z "$defaultval"; then
6340 if test x"$enablestring" = xdisable; then
6341 defaultval=yes
6342 else
6343 defaultval=no
6344 fi
6345 fi
6346
6347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6348 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6349 # Check whether --enable-apple_ieee was given.
6350 if test "${enable_apple_ieee+set}" = set; then
6351 enableval=$enable_apple_ieee;
6352 if test "$enableval" = yes; then
6353 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6354 else
6355 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6356 fi
6357
6358 else
6359
6360 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6361
6362 fi
6363
6364
6365 eval "$wx_cv_use_apple_ieee"
6366
6367 if test x"$enablestring" = xdisable; then
6368 if test $wxUSE_APPLE_IEEE = no; then
6369 result=yes
6370 else
6371 result=no
6372 fi
6373 else
6374 result=$wxUSE_APPLE_IEEE
6375 fi
6376
6377 { echo "$as_me:$LINENO: result: $result" >&5
6378 echo "${ECHO_T}$result" >&6; }
6379
6380
6381 enablestring=
6382 defaultval=$wxUSE_ALL_FEATURES
6383 if test -z "$defaultval"; then
6384 if test x"$enablestring" = xdisable; then
6385 defaultval=yes
6386 else
6387 defaultval=no
6388 fi
6389 fi
6390
6391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6392 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6393 # Check whether --enable-arcstream was given.
6394 if test "${enable_arcstream+set}" = set; then
6395 enableval=$enable_arcstream;
6396 if test "$enableval" = yes; then
6397 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6398 else
6399 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6400 fi
6401
6402 else
6403
6404 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6405
6406 fi
6407
6408
6409 eval "$wx_cv_use_arcstream"
6410
6411 if test x"$enablestring" = xdisable; then
6412 if test $wxUSE_ARCHIVE_STREAMS = no; then
6413 result=yes
6414 else
6415 result=no
6416 fi
6417 else
6418 result=$wxUSE_ARCHIVE_STREAMS
6419 fi
6420
6421 { echo "$as_me:$LINENO: result: $result" >&5
6422 echo "${ECHO_T}$result" >&6; }
6423
6424
6425 enablestring=
6426 defaultval=$wxUSE_ALL_FEATURES
6427 if test -z "$defaultval"; then
6428 if test x"$enablestring" = xdisable; then
6429 defaultval=yes
6430 else
6431 defaultval=no
6432 fi
6433 fi
6434
6435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6436 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6437 # Check whether --enable-base64 was given.
6438 if test "${enable_base64+set}" = set; then
6439 enableval=$enable_base64;
6440 if test "$enableval" = yes; then
6441 wx_cv_use_base64='wxUSE_BASE64=yes'
6442 else
6443 wx_cv_use_base64='wxUSE_BASE64=no'
6444 fi
6445
6446 else
6447
6448 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6449
6450 fi
6451
6452
6453 eval "$wx_cv_use_base64"
6454
6455 if test x"$enablestring" = xdisable; then
6456 if test $wxUSE_BASE64 = no; then
6457 result=yes
6458 else
6459 result=no
6460 fi
6461 else
6462 result=$wxUSE_BASE64
6463 fi
6464
6465 { echo "$as_me:$LINENO: result: $result" >&5
6466 echo "${ECHO_T}$result" >&6; }
6467
6468
6469 enablestring=
6470 defaultval=$wxUSE_ALL_FEATURES
6471 if test -z "$defaultval"; then
6472 if test x"$enablestring" = xdisable; then
6473 defaultval=yes
6474 else
6475 defaultval=no
6476 fi
6477 fi
6478
6479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6480 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6481 # Check whether --enable-backtrace was given.
6482 if test "${enable_backtrace+set}" = set; then
6483 enableval=$enable_backtrace;
6484 if test "$enableval" = yes; then
6485 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6486 else
6487 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6488 fi
6489
6490 else
6491
6492 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6493
6494 fi
6495
6496
6497 eval "$wx_cv_use_backtrace"
6498
6499 if test x"$enablestring" = xdisable; then
6500 if test $wxUSE_STACKWALKER = no; then
6501 result=yes
6502 else
6503 result=no
6504 fi
6505 else
6506 result=$wxUSE_STACKWALKER
6507 fi
6508
6509 { echo "$as_me:$LINENO: result: $result" >&5
6510 echo "${ECHO_T}$result" >&6; }
6511
6512
6513 enablestring=
6514 defaultval=$wxUSE_ALL_FEATURES
6515 if test -z "$defaultval"; then
6516 if test x"$enablestring" = xdisable; then
6517 defaultval=yes
6518 else
6519 defaultval=no
6520 fi
6521 fi
6522
6523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6524 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6525 # Check whether --enable-catch_segvs was given.
6526 if test "${enable_catch_segvs+set}" = set; then
6527 enableval=$enable_catch_segvs;
6528 if test "$enableval" = yes; then
6529 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6530 else
6531 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6532 fi
6533
6534 else
6535
6536 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6537
6538 fi
6539
6540
6541 eval "$wx_cv_use_catch_segvs"
6542
6543 if test x"$enablestring" = xdisable; then
6544 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6545 result=yes
6546 else
6547 result=no
6548 fi
6549 else
6550 result=$wxUSE_ON_FATAL_EXCEPTION
6551 fi
6552
6553 { echo "$as_me:$LINENO: result: $result" >&5
6554 echo "${ECHO_T}$result" >&6; }
6555
6556
6557 enablestring=
6558 defaultval=$wxUSE_ALL_FEATURES
6559 if test -z "$defaultval"; then
6560 if test x"$enablestring" = xdisable; then
6561 defaultval=yes
6562 else
6563 defaultval=no
6564 fi
6565 fi
6566
6567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6568 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6569 # Check whether --enable-cmdline was given.
6570 if test "${enable_cmdline+set}" = set; then
6571 enableval=$enable_cmdline;
6572 if test "$enableval" = yes; then
6573 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6574 else
6575 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6576 fi
6577
6578 else
6579
6580 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6581
6582 fi
6583
6584
6585 eval "$wx_cv_use_cmdline"
6586
6587 if test x"$enablestring" = xdisable; then
6588 if test $wxUSE_CMDLINE_PARSER = no; then
6589 result=yes
6590 else
6591 result=no
6592 fi
6593 else
6594 result=$wxUSE_CMDLINE_PARSER
6595 fi
6596
6597 { echo "$as_me:$LINENO: result: $result" >&5
6598 echo "${ECHO_T}$result" >&6; }
6599
6600
6601 enablestring=
6602 defaultval=$wxUSE_ALL_FEATURES
6603 if test -z "$defaultval"; then
6604 if test x"$enablestring" = xdisable; then
6605 defaultval=yes
6606 else
6607 defaultval=no
6608 fi
6609 fi
6610
6611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6612 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6613 # Check whether --enable-datetime was given.
6614 if test "${enable_datetime+set}" = set; then
6615 enableval=$enable_datetime;
6616 if test "$enableval" = yes; then
6617 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6618 else
6619 wx_cv_use_datetime='wxUSE_DATETIME=no'
6620 fi
6621
6622 else
6623
6624 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6625
6626 fi
6627
6628
6629 eval "$wx_cv_use_datetime"
6630
6631 if test x"$enablestring" = xdisable; then
6632 if test $wxUSE_DATETIME = no; then
6633 result=yes
6634 else
6635 result=no
6636 fi
6637 else
6638 result=$wxUSE_DATETIME
6639 fi
6640
6641 { echo "$as_me:$LINENO: result: $result" >&5
6642 echo "${ECHO_T}$result" >&6; }
6643
6644
6645 enablestring=
6646 defaultval=$wxUSE_ALL_FEATURES
6647 if test -z "$defaultval"; then
6648 if test x"$enablestring" = xdisable; then
6649 defaultval=yes
6650 else
6651 defaultval=no
6652 fi
6653 fi
6654
6655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6656 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6657 # Check whether --enable-debugreport was given.
6658 if test "${enable_debugreport+set}" = set; then
6659 enableval=$enable_debugreport;
6660 if test "$enableval" = yes; then
6661 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6662 else
6663 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6664 fi
6665
6666 else
6667
6668 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6669
6670 fi
6671
6672
6673 eval "$wx_cv_use_debugreport"
6674
6675 if test x"$enablestring" = xdisable; then
6676 if test $wxUSE_DEBUGREPORT = no; then
6677 result=yes
6678 else
6679 result=no
6680 fi
6681 else
6682 result=$wxUSE_DEBUGREPORT
6683 fi
6684
6685 { echo "$as_me:$LINENO: result: $result" >&5
6686 echo "${ECHO_T}$result" >&6; }
6687
6688
6689 enablestring=
6690 defaultval=$wxUSE_ALL_FEATURES
6691 if test -z "$defaultval"; then
6692 if test x"$enablestring" = xdisable; then
6693 defaultval=yes
6694 else
6695 defaultval=no
6696 fi
6697 fi
6698
6699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6700 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6701 # Check whether --enable-dialupman was given.
6702 if test "${enable_dialupman+set}" = set; then
6703 enableval=$enable_dialupman;
6704 if test "$enableval" = yes; then
6705 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6706 else
6707 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6708 fi
6709
6710 else
6711
6712 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6713
6714 fi
6715
6716
6717 eval "$wx_cv_use_dialupman"
6718
6719 if test x"$enablestring" = xdisable; then
6720 if test $wxUSE_DIALUP_MANAGER = no; then
6721 result=yes
6722 else
6723 result=no
6724 fi
6725 else
6726 result=$wxUSE_DIALUP_MANAGER
6727 fi
6728
6729 { echo "$as_me:$LINENO: result: $result" >&5
6730 echo "${ECHO_T}$result" >&6; }
6731
6732
6733 enablestring=
6734 defaultval=$wxUSE_ALL_FEATURES
6735 if test -z "$defaultval"; then
6736 if test x"$enablestring" = xdisable; then
6737 defaultval=yes
6738 else
6739 defaultval=no
6740 fi
6741 fi
6742
6743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6744 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6745 # Check whether --enable-dynlib was given.
6746 if test "${enable_dynlib+set}" = set; then
6747 enableval=$enable_dynlib;
6748 if test "$enableval" = yes; then
6749 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6750 else
6751 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6752 fi
6753
6754 else
6755
6756 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6757
6758 fi
6759
6760
6761 eval "$wx_cv_use_dynlib"
6762
6763 if test x"$enablestring" = xdisable; then
6764 if test $wxUSE_DYNLIB_CLASS = no; then
6765 result=yes
6766 else
6767 result=no
6768 fi
6769 else
6770 result=$wxUSE_DYNLIB_CLASS
6771 fi
6772
6773 { echo "$as_me:$LINENO: result: $result" >&5
6774 echo "${ECHO_T}$result" >&6; }
6775
6776
6777 enablestring=
6778 defaultval=$wxUSE_ALL_FEATURES
6779 if test -z "$defaultval"; then
6780 if test x"$enablestring" = xdisable; then
6781 defaultval=yes
6782 else
6783 defaultval=no
6784 fi
6785 fi
6786
6787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6788 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6789 # Check whether --enable-dynamicloader was given.
6790 if test "${enable_dynamicloader+set}" = set; then
6791 enableval=$enable_dynamicloader;
6792 if test "$enableval" = yes; then
6793 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6794 else
6795 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6796 fi
6797
6798 else
6799
6800 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6801
6802 fi
6803
6804
6805 eval "$wx_cv_use_dynamicloader"
6806
6807 if test x"$enablestring" = xdisable; then
6808 if test $wxUSE_DYNAMIC_LOADER = no; then
6809 result=yes
6810 else
6811 result=no
6812 fi
6813 else
6814 result=$wxUSE_DYNAMIC_LOADER
6815 fi
6816
6817 { echo "$as_me:$LINENO: result: $result" >&5
6818 echo "${ECHO_T}$result" >&6; }
6819
6820
6821 enablestring=
6822 defaultval=$wxUSE_ALL_FEATURES
6823 if test -z "$defaultval"; then
6824 if test x"$enablestring" = xdisable; then
6825 defaultval=yes
6826 else
6827 defaultval=no
6828 fi
6829 fi
6830
6831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6832 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6833 # Check whether --enable-exceptions was given.
6834 if test "${enable_exceptions+set}" = set; then
6835 enableval=$enable_exceptions;
6836 if test "$enableval" = yes; then
6837 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6838 else
6839 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6840 fi
6841
6842 else
6843
6844 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6845
6846 fi
6847
6848
6849 eval "$wx_cv_use_exceptions"
6850
6851 if test x"$enablestring" = xdisable; then
6852 if test $wxUSE_EXCEPTIONS = no; then
6853 result=yes
6854 else
6855 result=no
6856 fi
6857 else
6858 result=$wxUSE_EXCEPTIONS
6859 fi
6860
6861 { echo "$as_me:$LINENO: result: $result" >&5
6862 echo "${ECHO_T}$result" >&6; }
6863
6864
6865 enablestring=
6866 defaultval=$wxUSE_ALL_FEATURES
6867 if test -z "$defaultval"; then
6868 if test x"$enablestring" = xdisable; then
6869 defaultval=yes
6870 else
6871 defaultval=no
6872 fi
6873 fi
6874
6875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6876 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6877 # Check whether --enable-ffile was given.
6878 if test "${enable_ffile+set}" = set; then
6879 enableval=$enable_ffile;
6880 if test "$enableval" = yes; then
6881 wx_cv_use_ffile='wxUSE_FFILE=yes'
6882 else
6883 wx_cv_use_ffile='wxUSE_FFILE=no'
6884 fi
6885
6886 else
6887
6888 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6889
6890 fi
6891
6892
6893 eval "$wx_cv_use_ffile"
6894
6895 if test x"$enablestring" = xdisable; then
6896 if test $wxUSE_FFILE = no; then
6897 result=yes
6898 else
6899 result=no
6900 fi
6901 else
6902 result=$wxUSE_FFILE
6903 fi
6904
6905 { echo "$as_me:$LINENO: result: $result" >&5
6906 echo "${ECHO_T}$result" >&6; }
6907
6908
6909 enablestring=
6910 defaultval=$wxUSE_ALL_FEATURES
6911 if test -z "$defaultval"; then
6912 if test x"$enablestring" = xdisable; then
6913 defaultval=yes
6914 else
6915 defaultval=no
6916 fi
6917 fi
6918
6919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6920 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6921 # Check whether --enable-file was given.
6922 if test "${enable_file+set}" = set; then
6923 enableval=$enable_file;
6924 if test "$enableval" = yes; then
6925 wx_cv_use_file='wxUSE_FILE=yes'
6926 else
6927 wx_cv_use_file='wxUSE_FILE=no'
6928 fi
6929
6930 else
6931
6932 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6933
6934 fi
6935
6936
6937 eval "$wx_cv_use_file"
6938
6939 if test x"$enablestring" = xdisable; then
6940 if test $wxUSE_FILE = no; then
6941 result=yes
6942 else
6943 result=no
6944 fi
6945 else
6946 result=$wxUSE_FILE
6947 fi
6948
6949 { echo "$as_me:$LINENO: result: $result" >&5
6950 echo "${ECHO_T}$result" >&6; }
6951
6952
6953 enablestring=
6954 defaultval=$wxUSE_ALL_FEATURES
6955 if test -z "$defaultval"; then
6956 if test x"$enablestring" = xdisable; then
6957 defaultval=yes
6958 else
6959 defaultval=no
6960 fi
6961 fi
6962
6963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6965 # Check whether --enable-filesystem was given.
6966 if test "${enable_filesystem+set}" = set; then
6967 enableval=$enable_filesystem;
6968 if test "$enableval" = yes; then
6969 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6970 else
6971 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6972 fi
6973
6974 else
6975
6976 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6977
6978 fi
6979
6980
6981 eval "$wx_cv_use_filesystem"
6982
6983 if test x"$enablestring" = xdisable; then
6984 if test $wxUSE_FILESYSTEM = no; then
6985 result=yes
6986 else
6987 result=no
6988 fi
6989 else
6990 result=$wxUSE_FILESYSTEM
6991 fi
6992
6993 { echo "$as_me:$LINENO: result: $result" >&5
6994 echo "${ECHO_T}$result" >&6; }
6995
6996
6997 enablestring=
6998 defaultval=$wxUSE_ALL_FEATURES
6999 if test -z "$defaultval"; then
7000 if test x"$enablestring" = xdisable; then
7001 defaultval=yes
7002 else
7003 defaultval=no
7004 fi
7005 fi
7006
7007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7008 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7009 # Check whether --enable-fontenum was given.
7010 if test "${enable_fontenum+set}" = set; then
7011 enableval=$enable_fontenum;
7012 if test "$enableval" = yes; then
7013 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7014 else
7015 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7016 fi
7017
7018 else
7019
7020 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7021
7022 fi
7023
7024
7025 eval "$wx_cv_use_fontenum"
7026
7027 if test x"$enablestring" = xdisable; then
7028 if test $wxUSE_FONTENUM = no; then
7029 result=yes
7030 else
7031 result=no
7032 fi
7033 else
7034 result=$wxUSE_FONTENUM
7035 fi
7036
7037 { echo "$as_me:$LINENO: result: $result" >&5
7038 echo "${ECHO_T}$result" >&6; }
7039
7040
7041 enablestring=
7042 defaultval=$wxUSE_ALL_FEATURES
7043 if test -z "$defaultval"; then
7044 if test x"$enablestring" = xdisable; then
7045 defaultval=yes
7046 else
7047 defaultval=no
7048 fi
7049 fi
7050
7051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7052 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7053 # Check whether --enable-fontmap was given.
7054 if test "${enable_fontmap+set}" = set; then
7055 enableval=$enable_fontmap;
7056 if test "$enableval" = yes; then
7057 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7058 else
7059 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7060 fi
7061
7062 else
7063
7064 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7065
7066 fi
7067
7068
7069 eval "$wx_cv_use_fontmap"
7070
7071 if test x"$enablestring" = xdisable; then
7072 if test $wxUSE_FONTMAP = no; then
7073 result=yes
7074 else
7075 result=no
7076 fi
7077 else
7078 result=$wxUSE_FONTMAP
7079 fi
7080
7081 { echo "$as_me:$LINENO: result: $result" >&5
7082 echo "${ECHO_T}$result" >&6; }
7083
7084
7085 enablestring=
7086 defaultval=$wxUSE_ALL_FEATURES
7087 if test -z "$defaultval"; then
7088 if test x"$enablestring" = xdisable; then
7089 defaultval=yes
7090 else
7091 defaultval=no
7092 fi
7093 fi
7094
7095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7096 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7097 # Check whether --enable-fs_archive was given.
7098 if test "${enable_fs_archive+set}" = set; then
7099 enableval=$enable_fs_archive;
7100 if test "$enableval" = yes; then
7101 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7102 else
7103 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7104 fi
7105
7106 else
7107
7108 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7109
7110 fi
7111
7112
7113 eval "$wx_cv_use_fs_archive"
7114
7115 if test x"$enablestring" = xdisable; then
7116 if test $wxUSE_FS_ARCHIVE = no; then
7117 result=yes
7118 else
7119 result=no
7120 fi
7121 else
7122 result=$wxUSE_FS_ARCHIVE
7123 fi
7124
7125 { echo "$as_me:$LINENO: result: $result" >&5
7126 echo "${ECHO_T}$result" >&6; }
7127
7128
7129 enablestring=
7130 defaultval=$wxUSE_ALL_FEATURES
7131 if test -z "$defaultval"; then
7132 if test x"$enablestring" = xdisable; then
7133 defaultval=yes
7134 else
7135 defaultval=no
7136 fi
7137 fi
7138
7139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7140 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7141 # Check whether --enable-fs_inet was given.
7142 if test "${enable_fs_inet+set}" = set; then
7143 enableval=$enable_fs_inet;
7144 if test "$enableval" = yes; then
7145 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7146 else
7147 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7148 fi
7149
7150 else
7151
7152 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7153
7154 fi
7155
7156
7157 eval "$wx_cv_use_fs_inet"
7158
7159 if test x"$enablestring" = xdisable; then
7160 if test $wxUSE_FS_INET = no; then
7161 result=yes
7162 else
7163 result=no
7164 fi
7165 else
7166 result=$wxUSE_FS_INET
7167 fi
7168
7169 { echo "$as_me:$LINENO: result: $result" >&5
7170 echo "${ECHO_T}$result" >&6; }
7171
7172
7173 enablestring=
7174 defaultval=$wxUSE_ALL_FEATURES
7175 if test -z "$defaultval"; then
7176 if test x"$enablestring" = xdisable; then
7177 defaultval=yes
7178 else
7179 defaultval=no
7180 fi
7181 fi
7182
7183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7184 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7185 # Check whether --enable-fs_zip was given.
7186 if test "${enable_fs_zip+set}" = set; then
7187 enableval=$enable_fs_zip;
7188 if test "$enableval" = yes; then
7189 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7190 else
7191 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7192 fi
7193
7194 else
7195
7196 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7197
7198 fi
7199
7200
7201 eval "$wx_cv_use_fs_zip"
7202
7203 if test x"$enablestring" = xdisable; then
7204 if test $wxUSE_FS_ZIP = no; then
7205 result=yes
7206 else
7207 result=no
7208 fi
7209 else
7210 result=$wxUSE_FS_ZIP
7211 fi
7212
7213 { echo "$as_me:$LINENO: result: $result" >&5
7214 echo "${ECHO_T}$result" >&6; }
7215
7216
7217 enablestring=
7218 defaultval=$wxUSE_ALL_FEATURES
7219 if test -z "$defaultval"; then
7220 if test x"$enablestring" = xdisable; then
7221 defaultval=yes
7222 else
7223 defaultval=no
7224 fi
7225 fi
7226
7227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7228 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7229 # Check whether --enable-fswatcher was given.
7230 if test "${enable_fswatcher+set}" = set; then
7231 enableval=$enable_fswatcher;
7232 if test "$enableval" = yes; then
7233 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7234 else
7235 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7236 fi
7237
7238 else
7239
7240 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7241
7242 fi
7243
7244
7245 eval "$wx_cv_use_fswatcher"
7246
7247 if test x"$enablestring" = xdisable; then
7248 if test $wxUSE_FSWATCHER = no; then
7249 result=yes
7250 else
7251 result=no
7252 fi
7253 else
7254 result=$wxUSE_FSWATCHER
7255 fi
7256
7257 { echo "$as_me:$LINENO: result: $result" >&5
7258 echo "${ECHO_T}$result" >&6; }
7259
7260
7261 enablestring=
7262 defaultval=$wxUSE_ALL_FEATURES
7263 if test -z "$defaultval"; then
7264 if test x"$enablestring" = xdisable; then
7265 defaultval=yes
7266 else
7267 defaultval=no
7268 fi
7269 fi
7270
7271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7272 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7273 # Check whether --enable-geometry was given.
7274 if test "${enable_geometry+set}" = set; then
7275 enableval=$enable_geometry;
7276 if test "$enableval" = yes; then
7277 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7278 else
7279 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7280 fi
7281
7282 else
7283
7284 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7285
7286 fi
7287
7288
7289 eval "$wx_cv_use_geometry"
7290
7291 if test x"$enablestring" = xdisable; then
7292 if test $wxUSE_GEOMETRY = no; then
7293 result=yes
7294 else
7295 result=no
7296 fi
7297 else
7298 result=$wxUSE_GEOMETRY
7299 fi
7300
7301 { echo "$as_me:$LINENO: result: $result" >&5
7302 echo "${ECHO_T}$result" >&6; }
7303
7304
7305 enablestring=
7306 defaultval=$wxUSE_ALL_FEATURES
7307 if test -z "$defaultval"; then
7308 if test x"$enablestring" = xdisable; then
7309 defaultval=yes
7310 else
7311 defaultval=no
7312 fi
7313 fi
7314
7315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7316 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7317 # Check whether --enable-log was given.
7318 if test "${enable_log+set}" = set; then
7319 enableval=$enable_log;
7320 if test "$enableval" = yes; then
7321 wx_cv_use_log='wxUSE_LOG=yes'
7322 else
7323 wx_cv_use_log='wxUSE_LOG=no'
7324 fi
7325
7326 else
7327
7328 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7329
7330 fi
7331
7332
7333 eval "$wx_cv_use_log"
7334
7335 if test x"$enablestring" = xdisable; then
7336 if test $wxUSE_LOG = no; then
7337 result=yes
7338 else
7339 result=no
7340 fi
7341 else
7342 result=$wxUSE_LOG
7343 fi
7344
7345 { echo "$as_me:$LINENO: result: $result" >&5
7346 echo "${ECHO_T}$result" >&6; }
7347
7348
7349 enablestring=
7350 defaultval=$wxUSE_ALL_FEATURES
7351 if test -z "$defaultval"; then
7352 if test x"$enablestring" = xdisable; then
7353 defaultval=yes
7354 else
7355 defaultval=no
7356 fi
7357 fi
7358
7359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7360 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7361 # Check whether --enable-longlong was given.
7362 if test "${enable_longlong+set}" = set; then
7363 enableval=$enable_longlong;
7364 if test "$enableval" = yes; then
7365 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7366 else
7367 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7368 fi
7369
7370 else
7371
7372 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7373
7374 fi
7375
7376
7377 eval "$wx_cv_use_longlong"
7378
7379 if test x"$enablestring" = xdisable; then
7380 if test $wxUSE_LONGLONG = no; then
7381 result=yes
7382 else
7383 result=no
7384 fi
7385 else
7386 result=$wxUSE_LONGLONG
7387 fi
7388
7389 { echo "$as_me:$LINENO: result: $result" >&5
7390 echo "${ECHO_T}$result" >&6; }
7391
7392
7393 enablestring=
7394 defaultval=$wxUSE_ALL_FEATURES
7395 if test -z "$defaultval"; then
7396 if test x"$enablestring" = xdisable; then
7397 defaultval=yes
7398 else
7399 defaultval=no
7400 fi
7401 fi
7402
7403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7404 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7405 # Check whether --enable-mimetype was given.
7406 if test "${enable_mimetype+set}" = set; then
7407 enableval=$enable_mimetype;
7408 if test "$enableval" = yes; then
7409 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7410 else
7411 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7412 fi
7413
7414 else
7415
7416 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7417
7418 fi
7419
7420
7421 eval "$wx_cv_use_mimetype"
7422
7423 if test x"$enablestring" = xdisable; then
7424 if test $wxUSE_MIMETYPE = no; then
7425 result=yes
7426 else
7427 result=no
7428 fi
7429 else
7430 result=$wxUSE_MIMETYPE
7431 fi
7432
7433 { echo "$as_me:$LINENO: result: $result" >&5
7434 echo "${ECHO_T}$result" >&6; }
7435
7436
7437 enablestring=
7438 defaultval=$wxUSE_ALL_FEATURES
7439 if test -z "$defaultval"; then
7440 if test x"$enablestring" = xdisable; then
7441 defaultval=yes
7442 else
7443 defaultval=no
7444 fi
7445 fi
7446
7447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7448 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7449 # Check whether --enable-printfposparam was given.
7450 if test "${enable_printfposparam+set}" = set; then
7451 enableval=$enable_printfposparam;
7452 if test "$enableval" = yes; then
7453 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7454 else
7455 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7456 fi
7457
7458 else
7459
7460 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7461
7462 fi
7463
7464
7465 eval "$wx_cv_use_printfposparam"
7466
7467 if test x"$enablestring" = xdisable; then
7468 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7469 result=yes
7470 else
7471 result=no
7472 fi
7473 else
7474 result=$wxUSE_PRINTF_POS_PARAMS
7475 fi
7476
7477 { echo "$as_me:$LINENO: result: $result" >&5
7478 echo "${ECHO_T}$result" >&6; }
7479
7480
7481 enablestring=
7482 defaultval=$wxUSE_ALL_FEATURES
7483 if test -z "$defaultval"; then
7484 if test x"$enablestring" = xdisable; then
7485 defaultval=yes
7486 else
7487 defaultval=no
7488 fi
7489 fi
7490
7491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7492 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7493 # Check whether --enable-snglinst was given.
7494 if test "${enable_snglinst+set}" = set; then
7495 enableval=$enable_snglinst;
7496 if test "$enableval" = yes; then
7497 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7498 else
7499 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7500 fi
7501
7502 else
7503
7504 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7505
7506 fi
7507
7508
7509 eval "$wx_cv_use_snglinst"
7510
7511 if test x"$enablestring" = xdisable; then
7512 if test $wxUSE_SNGLINST_CHECKER = no; then
7513 result=yes
7514 else
7515 result=no
7516 fi
7517 else
7518 result=$wxUSE_SNGLINST_CHECKER
7519 fi
7520
7521 { echo "$as_me:$LINENO: result: $result" >&5
7522 echo "${ECHO_T}$result" >&6; }
7523
7524
7525 enablestring=
7526 defaultval=$wxUSE_ALL_FEATURES
7527 if test -z "$defaultval"; then
7528 if test x"$enablestring" = xdisable; then
7529 defaultval=yes
7530 else
7531 defaultval=no
7532 fi
7533 fi
7534
7535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7536 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7537 # Check whether --enable-sound was given.
7538 if test "${enable_sound+set}" = set; then
7539 enableval=$enable_sound;
7540 if test "$enableval" = yes; then
7541 wx_cv_use_sound='wxUSE_SOUND=yes'
7542 else
7543 wx_cv_use_sound='wxUSE_SOUND=no'
7544 fi
7545
7546 else
7547
7548 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7549
7550 fi
7551
7552
7553 eval "$wx_cv_use_sound"
7554
7555 if test x"$enablestring" = xdisable; then
7556 if test $wxUSE_SOUND = no; then
7557 result=yes
7558 else
7559 result=no
7560 fi
7561 else
7562 result=$wxUSE_SOUND
7563 fi
7564
7565 { echo "$as_me:$LINENO: result: $result" >&5
7566 echo "${ECHO_T}$result" >&6; }
7567
7568
7569 enablestring=
7570 defaultval=$wxUSE_ALL_FEATURES
7571 if test -z "$defaultval"; then
7572 if test x"$enablestring" = xdisable; then
7573 defaultval=yes
7574 else
7575 defaultval=no
7576 fi
7577 fi
7578
7579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7580 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7581 # Check whether --enable-stdpaths was given.
7582 if test "${enable_stdpaths+set}" = set; then
7583 enableval=$enable_stdpaths;
7584 if test "$enableval" = yes; then
7585 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7586 else
7587 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7588 fi
7589
7590 else
7591
7592 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7593
7594 fi
7595
7596
7597 eval "$wx_cv_use_stdpaths"
7598
7599 if test x"$enablestring" = xdisable; then
7600 if test $wxUSE_STDPATHS = no; then
7601 result=yes
7602 else
7603 result=no
7604 fi
7605 else
7606 result=$wxUSE_STDPATHS
7607 fi
7608
7609 { echo "$as_me:$LINENO: result: $result" >&5
7610 echo "${ECHO_T}$result" >&6; }
7611
7612
7613 enablestring=
7614 defaultval=$wxUSE_ALL_FEATURES
7615 if test -z "$defaultval"; then
7616 if test x"$enablestring" = xdisable; then
7617 defaultval=yes
7618 else
7619 defaultval=no
7620 fi
7621 fi
7622
7623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7624 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7625 # Check whether --enable-stopwatch was given.
7626 if test "${enable_stopwatch+set}" = set; then
7627 enableval=$enable_stopwatch;
7628 if test "$enableval" = yes; then
7629 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7630 else
7631 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7632 fi
7633
7634 else
7635
7636 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7637
7638 fi
7639
7640
7641 eval "$wx_cv_use_stopwatch"
7642
7643 if test x"$enablestring" = xdisable; then
7644 if test $wxUSE_STOPWATCH = no; then
7645 result=yes
7646 else
7647 result=no
7648 fi
7649 else
7650 result=$wxUSE_STOPWATCH
7651 fi
7652
7653 { echo "$as_me:$LINENO: result: $result" >&5
7654 echo "${ECHO_T}$result" >&6; }
7655
7656
7657 enablestring=
7658 defaultval=$wxUSE_ALL_FEATURES
7659 if test -z "$defaultval"; then
7660 if test x"$enablestring" = xdisable; then
7661 defaultval=yes
7662 else
7663 defaultval=no
7664 fi
7665 fi
7666
7667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7668 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7669 # Check whether --enable-streams was given.
7670 if test "${enable_streams+set}" = set; then
7671 enableval=$enable_streams;
7672 if test "$enableval" = yes; then
7673 wx_cv_use_streams='wxUSE_STREAMS=yes'
7674 else
7675 wx_cv_use_streams='wxUSE_STREAMS=no'
7676 fi
7677
7678 else
7679
7680 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7681
7682 fi
7683
7684
7685 eval "$wx_cv_use_streams"
7686
7687 if test x"$enablestring" = xdisable; then
7688 if test $wxUSE_STREAMS = no; then
7689 result=yes
7690 else
7691 result=no
7692 fi
7693 else
7694 result=$wxUSE_STREAMS
7695 fi
7696
7697 { echo "$as_me:$LINENO: result: $result" >&5
7698 echo "${ECHO_T}$result" >&6; }
7699
7700
7701 enablestring=
7702 defaultval=$wxUSE_ALL_FEATURES
7703 if test -z "$defaultval"; then
7704 if test x"$enablestring" = xdisable; then
7705 defaultval=yes
7706 else
7707 defaultval=no
7708 fi
7709 fi
7710
7711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7712 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7713 # Check whether --enable-sysoptions was given.
7714 if test "${enable_sysoptions+set}" = set; then
7715 enableval=$enable_sysoptions;
7716 if test "$enableval" = yes; then
7717 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7718 else
7719 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7720 fi
7721
7722 else
7723
7724 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7725
7726 fi
7727
7728
7729 eval "$wx_cv_use_sysoptions"
7730
7731 if test x"$enablestring" = xdisable; then
7732 if test $wxUSE_SYSTEM_OPTIONS = no; then
7733 result=yes
7734 else
7735 result=no
7736 fi
7737 else
7738 result=$wxUSE_SYSTEM_OPTIONS
7739 fi
7740
7741 { echo "$as_me:$LINENO: result: $result" >&5
7742 echo "${ECHO_T}$result" >&6; }
7743
7744
7745 enablestring=
7746 defaultval=$wxUSE_ALL_FEATURES
7747 if test -z "$defaultval"; then
7748 if test x"$enablestring" = xdisable; then
7749 defaultval=yes
7750 else
7751 defaultval=no
7752 fi
7753 fi
7754
7755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7756 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7757 # Check whether --enable-tarstream was given.
7758 if test "${enable_tarstream+set}" = set; then
7759 enableval=$enable_tarstream;
7760 if test "$enableval" = yes; then
7761 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7762 else
7763 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7764 fi
7765
7766 else
7767
7768 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7769
7770 fi
7771
7772
7773 eval "$wx_cv_use_tarstream"
7774
7775 if test x"$enablestring" = xdisable; then
7776 if test $wxUSE_TARSTREAM = no; then
7777 result=yes
7778 else
7779 result=no
7780 fi
7781 else
7782 result=$wxUSE_TARSTREAM
7783 fi
7784
7785 { echo "$as_me:$LINENO: result: $result" >&5
7786 echo "${ECHO_T}$result" >&6; }
7787
7788
7789 enablestring=
7790 defaultval=$wxUSE_ALL_FEATURES
7791 if test -z "$defaultval"; then
7792 if test x"$enablestring" = xdisable; then
7793 defaultval=yes
7794 else
7795 defaultval=no
7796 fi
7797 fi
7798
7799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7800 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7801 # Check whether --enable-textbuf was given.
7802 if test "${enable_textbuf+set}" = set; then
7803 enableval=$enable_textbuf;
7804 if test "$enableval" = yes; then
7805 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7806 else
7807 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7808 fi
7809
7810 else
7811
7812 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7813
7814 fi
7815
7816
7817 eval "$wx_cv_use_textbuf"
7818
7819 if test x"$enablestring" = xdisable; then
7820 if test $wxUSE_TEXTBUFFER = no; then
7821 result=yes
7822 else
7823 result=no
7824 fi
7825 else
7826 result=$wxUSE_TEXTBUFFER
7827 fi
7828
7829 { echo "$as_me:$LINENO: result: $result" >&5
7830 echo "${ECHO_T}$result" >&6; }
7831
7832
7833 enablestring=
7834 defaultval=$wxUSE_ALL_FEATURES
7835 if test -z "$defaultval"; then
7836 if test x"$enablestring" = xdisable; then
7837 defaultval=yes
7838 else
7839 defaultval=no
7840 fi
7841 fi
7842
7843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7844 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7845 # Check whether --enable-textfile was given.
7846 if test "${enable_textfile+set}" = set; then
7847 enableval=$enable_textfile;
7848 if test "$enableval" = yes; then
7849 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7850 else
7851 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7852 fi
7853
7854 else
7855
7856 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7857
7858 fi
7859
7860
7861 eval "$wx_cv_use_textfile"
7862
7863 if test x"$enablestring" = xdisable; then
7864 if test $wxUSE_TEXTFILE = no; then
7865 result=yes
7866 else
7867 result=no
7868 fi
7869 else
7870 result=$wxUSE_TEXTFILE
7871 fi
7872
7873 { echo "$as_me:$LINENO: result: $result" >&5
7874 echo "${ECHO_T}$result" >&6; }
7875
7876
7877 enablestring=
7878 defaultval=$wxUSE_ALL_FEATURES
7879 if test -z "$defaultval"; then
7880 if test x"$enablestring" = xdisable; then
7881 defaultval=yes
7882 else
7883 defaultval=no
7884 fi
7885 fi
7886
7887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7888 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7889 # Check whether --enable-timer was given.
7890 if test "${enable_timer+set}" = set; then
7891 enableval=$enable_timer;
7892 if test "$enableval" = yes; then
7893 wx_cv_use_timer='wxUSE_TIMER=yes'
7894 else
7895 wx_cv_use_timer='wxUSE_TIMER=no'
7896 fi
7897
7898 else
7899
7900 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7901
7902 fi
7903
7904
7905 eval "$wx_cv_use_timer"
7906
7907 if test x"$enablestring" = xdisable; then
7908 if test $wxUSE_TIMER = no; then
7909 result=yes
7910 else
7911 result=no
7912 fi
7913 else
7914 result=$wxUSE_TIMER
7915 fi
7916
7917 { echo "$as_me:$LINENO: result: $result" >&5
7918 echo "${ECHO_T}$result" >&6; }
7919
7920
7921 enablestring=
7922 defaultval=$wxUSE_ALL_FEATURES
7923 if test -z "$defaultval"; then
7924 if test x"$enablestring" = xdisable; then
7925 defaultval=yes
7926 else
7927 defaultval=no
7928 fi
7929 fi
7930
7931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7932 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7933 # Check whether --enable-variant was given.
7934 if test "${enable_variant+set}" = set; then
7935 enableval=$enable_variant;
7936 if test "$enableval" = yes; then
7937 wx_cv_use_variant='wxUSE_VARIANT=yes'
7938 else
7939 wx_cv_use_variant='wxUSE_VARIANT=no'
7940 fi
7941
7942 else
7943
7944 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7945
7946 fi
7947
7948
7949 eval "$wx_cv_use_variant"
7950
7951 if test x"$enablestring" = xdisable; then
7952 if test $wxUSE_VARIANT = no; then
7953 result=yes
7954 else
7955 result=no
7956 fi
7957 else
7958 result=$wxUSE_VARIANT
7959 fi
7960
7961 { echo "$as_me:$LINENO: result: $result" >&5
7962 echo "${ECHO_T}$result" >&6; }
7963
7964
7965 enablestring=
7966 defaultval=$wxUSE_ALL_FEATURES
7967 if test -z "$defaultval"; then
7968 if test x"$enablestring" = xdisable; then
7969 defaultval=yes
7970 else
7971 defaultval=no
7972 fi
7973 fi
7974
7975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7976 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7977 # Check whether --enable-zipstream was given.
7978 if test "${enable_zipstream+set}" = set; then
7979 enableval=$enable_zipstream;
7980 if test "$enableval" = yes; then
7981 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7982 else
7983 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7984 fi
7985
7986 else
7987
7988 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7989
7990 fi
7991
7992
7993 eval "$wx_cv_use_zipstream"
7994
7995 if test x"$enablestring" = xdisable; then
7996 if test $wxUSE_ZIPSTREAM = no; then
7997 result=yes
7998 else
7999 result=no
8000 fi
8001 else
8002 result=$wxUSE_ZIPSTREAM
8003 fi
8004
8005 { echo "$as_me:$LINENO: result: $result" >&5
8006 echo "${ECHO_T}$result" >&6; }
8007
8008
8009
8010 enablestring=
8011 defaultval=$wxUSE_ALL_FEATURES
8012 if test -z "$defaultval"; then
8013 if test x"$enablestring" = xdisable; then
8014 defaultval=yes
8015 else
8016 defaultval=no
8017 fi
8018 fi
8019
8020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8021 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8022 # Check whether --enable-url was given.
8023 if test "${enable_url+set}" = set; then
8024 enableval=$enable_url;
8025 if test "$enableval" = yes; then
8026 wx_cv_use_url='wxUSE_URL=yes'
8027 else
8028 wx_cv_use_url='wxUSE_URL=no'
8029 fi
8030
8031 else
8032
8033 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8034
8035 fi
8036
8037
8038 eval "$wx_cv_use_url"
8039
8040 if test x"$enablestring" = xdisable; then
8041 if test $wxUSE_URL = no; then
8042 result=yes
8043 else
8044 result=no
8045 fi
8046 else
8047 result=$wxUSE_URL
8048 fi
8049
8050 { echo "$as_me:$LINENO: result: $result" >&5
8051 echo "${ECHO_T}$result" >&6; }
8052
8053
8054 enablestring=
8055 defaultval=$wxUSE_ALL_FEATURES
8056 if test -z "$defaultval"; then
8057 if test x"$enablestring" = xdisable; then
8058 defaultval=yes
8059 else
8060 defaultval=no
8061 fi
8062 fi
8063
8064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8065 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8066 # Check whether --enable-protocol was given.
8067 if test "${enable_protocol+set}" = set; then
8068 enableval=$enable_protocol;
8069 if test "$enableval" = yes; then
8070 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8071 else
8072 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8073 fi
8074
8075 else
8076
8077 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8078
8079 fi
8080
8081
8082 eval "$wx_cv_use_protocol"
8083
8084 if test x"$enablestring" = xdisable; then
8085 if test $wxUSE_PROTOCOL = no; then
8086 result=yes
8087 else
8088 result=no
8089 fi
8090 else
8091 result=$wxUSE_PROTOCOL
8092 fi
8093
8094 { echo "$as_me:$LINENO: result: $result" >&5
8095 echo "${ECHO_T}$result" >&6; }
8096
8097
8098 enablestring=
8099 defaultval=$wxUSE_ALL_FEATURES
8100 if test -z "$defaultval"; then
8101 if test x"$enablestring" = xdisable; then
8102 defaultval=yes
8103 else
8104 defaultval=no
8105 fi
8106 fi
8107
8108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8109 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8110 # Check whether --enable-protocol_http was given.
8111 if test "${enable_protocol_http+set}" = set; then
8112 enableval=$enable_protocol_http;
8113 if test "$enableval" = yes; then
8114 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8115 else
8116 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8117 fi
8118
8119 else
8120
8121 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8122
8123 fi
8124
8125
8126 eval "$wx_cv_use_protocol_http"
8127
8128 if test x"$enablestring" = xdisable; then
8129 if test $wxUSE_PROTOCOL_HTTP = no; then
8130 result=yes
8131 else
8132 result=no
8133 fi
8134 else
8135 result=$wxUSE_PROTOCOL_HTTP
8136 fi
8137
8138 { echo "$as_me:$LINENO: result: $result" >&5
8139 echo "${ECHO_T}$result" >&6; }
8140
8141
8142 enablestring=
8143 defaultval=$wxUSE_ALL_FEATURES
8144 if test -z "$defaultval"; then
8145 if test x"$enablestring" = xdisable; then
8146 defaultval=yes
8147 else
8148 defaultval=no
8149 fi
8150 fi
8151
8152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8153 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8154 # Check whether --enable-protocol_ftp was given.
8155 if test "${enable_protocol_ftp+set}" = set; then
8156 enableval=$enable_protocol_ftp;
8157 if test "$enableval" = yes; then
8158 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8159 else
8160 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8161 fi
8162
8163 else
8164
8165 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8166
8167 fi
8168
8169
8170 eval "$wx_cv_use_protocol_ftp"
8171
8172 if test x"$enablestring" = xdisable; then
8173 if test $wxUSE_PROTOCOL_FTP = no; then
8174 result=yes
8175 else
8176 result=no
8177 fi
8178 else
8179 result=$wxUSE_PROTOCOL_FTP
8180 fi
8181
8182 { echo "$as_me:$LINENO: result: $result" >&5
8183 echo "${ECHO_T}$result" >&6; }
8184
8185
8186 enablestring=
8187 defaultval=$wxUSE_ALL_FEATURES
8188 if test -z "$defaultval"; then
8189 if test x"$enablestring" = xdisable; then
8190 defaultval=yes
8191 else
8192 defaultval=no
8193 fi
8194 fi
8195
8196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8197 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8198 # Check whether --enable-protocol_file was given.
8199 if test "${enable_protocol_file+set}" = set; then
8200 enableval=$enable_protocol_file;
8201 if test "$enableval" = yes; then
8202 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8203 else
8204 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8205 fi
8206
8207 else
8208
8209 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8210
8211 fi
8212
8213
8214 eval "$wx_cv_use_protocol_file"
8215
8216 if test x"$enablestring" = xdisable; then
8217 if test $wxUSE_PROTOCOL_FILE = no; then
8218 result=yes
8219 else
8220 result=no
8221 fi
8222 else
8223 result=$wxUSE_PROTOCOL_FILE
8224 fi
8225
8226 { echo "$as_me:$LINENO: result: $result" >&5
8227 echo "${ECHO_T}$result" >&6; }
8228
8229
8230
8231 enablestring=
8232 defaultval=$wxUSE_ALL_FEATURES
8233 if test -z "$defaultval"; then
8234 if test x"$enablestring" = xdisable; then
8235 defaultval=yes
8236 else
8237 defaultval=no
8238 fi
8239 fi
8240
8241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8242 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8243 # Check whether --enable-threads was given.
8244 if test "${enable_threads+set}" = set; then
8245 enableval=$enable_threads;
8246 if test "$enableval" = yes; then
8247 wx_cv_use_threads='wxUSE_THREADS=yes'
8248 else
8249 wx_cv_use_threads='wxUSE_THREADS=no'
8250 fi
8251
8252 else
8253
8254 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8255
8256 fi
8257
8258
8259 eval "$wx_cv_use_threads"
8260
8261 if test x"$enablestring" = xdisable; then
8262 if test $wxUSE_THREADS = no; then
8263 result=yes
8264 else
8265 result=no
8266 fi
8267 else
8268 result=$wxUSE_THREADS
8269 fi
8270
8271 { echo "$as_me:$LINENO: result: $result" >&5
8272 echo "${ECHO_T}$result" >&6; }
8273
8274
8275
8276 enablestring=
8277 defaultval=
8278 if test -z "$defaultval"; then
8279 if test x"$enablestring" = xdisable; then
8280 defaultval=yes
8281 else
8282 defaultval=no
8283 fi
8284 fi
8285
8286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8287 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8288 # Check whether --enable-iniconf was given.
8289 if test "${enable_iniconf+set}" = set; then
8290 enableval=$enable_iniconf;
8291 if test "$enableval" = yes; then
8292 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8293 else
8294 wx_cv_use_iniconf='wxUSE_INICONF=no'
8295 fi
8296
8297 else
8298
8299 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8300
8301 fi
8302
8303
8304 eval "$wx_cv_use_iniconf"
8305
8306 if test x"$enablestring" = xdisable; then
8307 if test $wxUSE_INICONF = no; then
8308 result=yes
8309 else
8310 result=no
8311 fi
8312 else
8313 result=$wxUSE_INICONF
8314 fi
8315
8316 { echo "$as_me:$LINENO: result: $result" >&5
8317 echo "${ECHO_T}$result" >&6; }
8318
8319
8320 enablestring=
8321 defaultval=$wxUSE_ALL_FEATURES
8322 if test -z "$defaultval"; then
8323 if test x"$enablestring" = xdisable; then
8324 defaultval=yes
8325 else
8326 defaultval=no
8327 fi
8328 fi
8329
8330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8331 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8332 # Check whether --enable-regkey was given.
8333 if test "${enable_regkey+set}" = set; then
8334 enableval=$enable_regkey;
8335 if test "$enableval" = yes; then
8336 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8337 else
8338 wx_cv_use_regkey='wxUSE_REGKEY=no'
8339 fi
8340
8341 else
8342
8343 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8344
8345 fi
8346
8347
8348 eval "$wx_cv_use_regkey"
8349
8350 if test x"$enablestring" = xdisable; then
8351 if test $wxUSE_REGKEY = no; then
8352 result=yes
8353 else
8354 result=no
8355 fi
8356 else
8357 result=$wxUSE_REGKEY
8358 fi
8359
8360 { echo "$as_me:$LINENO: result: $result" >&5
8361 echo "${ECHO_T}$result" >&6; }
8362
8363
8364 if test "$wxUSE_GUI" = "yes"; then
8365
8366
8367
8368 enablestring=
8369 defaultval=$wxUSE_ALL_FEATURES
8370 if test -z "$defaultval"; then
8371 if test x"$enablestring" = xdisable; then
8372 defaultval=yes
8373 else
8374 defaultval=no
8375 fi
8376 fi
8377
8378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8379 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8380 # Check whether --enable-docview was given.
8381 if test "${enable_docview+set}" = set; then
8382 enableval=$enable_docview;
8383 if test "$enableval" = yes; then
8384 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8385 else
8386 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8387 fi
8388
8389 else
8390
8391 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8392
8393 fi
8394
8395
8396 eval "$wx_cv_use_docview"
8397
8398 if test x"$enablestring" = xdisable; then
8399 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8400 result=yes
8401 else
8402 result=no
8403 fi
8404 else
8405 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8406 fi
8407
8408 { echo "$as_me:$LINENO: result: $result" >&5
8409 echo "${ECHO_T}$result" >&6; }
8410
8411
8412 enablestring=
8413 defaultval=$wxUSE_ALL_FEATURES
8414 if test -z "$defaultval"; then
8415 if test x"$enablestring" = xdisable; then
8416 defaultval=yes
8417 else
8418 defaultval=no
8419 fi
8420 fi
8421
8422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8423 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8424 # Check whether --enable-help was given.
8425 if test "${enable_help+set}" = set; then
8426 enableval=$enable_help;
8427 if test "$enableval" = yes; then
8428 wx_cv_use_help='wxUSE_HELP=yes'
8429 else
8430 wx_cv_use_help='wxUSE_HELP=no'
8431 fi
8432
8433 else
8434
8435 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8436
8437 fi
8438
8439
8440 eval "$wx_cv_use_help"
8441
8442 if test x"$enablestring" = xdisable; then
8443 if test $wxUSE_HELP = no; then
8444 result=yes
8445 else
8446 result=no
8447 fi
8448 else
8449 result=$wxUSE_HELP
8450 fi
8451
8452 { echo "$as_me:$LINENO: result: $result" >&5
8453 echo "${ECHO_T}$result" >&6; }
8454
8455
8456 enablestring=
8457 defaultval=$wxUSE_ALL_FEATURES
8458 if test -z "$defaultval"; then
8459 if test x"$enablestring" = xdisable; then
8460 defaultval=yes
8461 else
8462 defaultval=no
8463 fi
8464 fi
8465
8466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8467 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8468 # Check whether --enable-mshtmlhelp was given.
8469 if test "${enable_mshtmlhelp+set}" = set; then
8470 enableval=$enable_mshtmlhelp;
8471 if test "$enableval" = yes; then
8472 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8473 else
8474 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8475 fi
8476
8477 else
8478
8479 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8480
8481 fi
8482
8483
8484 eval "$wx_cv_use_mshtmlhelp"
8485
8486 if test x"$enablestring" = xdisable; then
8487 if test $wxUSE_MS_HTML_HELP = no; then
8488 result=yes
8489 else
8490 result=no
8491 fi
8492 else
8493 result=$wxUSE_MS_HTML_HELP
8494 fi
8495
8496 { echo "$as_me:$LINENO: result: $result" >&5
8497 echo "${ECHO_T}$result" >&6; }
8498
8499
8500 enablestring=
8501 defaultval=$wxUSE_ALL_FEATURES
8502 if test -z "$defaultval"; then
8503 if test x"$enablestring" = xdisable; then
8504 defaultval=yes
8505 else
8506 defaultval=no
8507 fi
8508 fi
8509
8510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8511 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8512 # Check whether --enable-html was given.
8513 if test "${enable_html+set}" = set; then
8514 enableval=$enable_html;
8515 if test "$enableval" = yes; then
8516 wx_cv_use_html='wxUSE_HTML=yes'
8517 else
8518 wx_cv_use_html='wxUSE_HTML=no'
8519 fi
8520
8521 else
8522
8523 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8524
8525 fi
8526
8527
8528 eval "$wx_cv_use_html"
8529
8530 if test x"$enablestring" = xdisable; then
8531 if test $wxUSE_HTML = no; then
8532 result=yes
8533 else
8534 result=no
8535 fi
8536 else
8537 result=$wxUSE_HTML
8538 fi
8539
8540 { echo "$as_me:$LINENO: result: $result" >&5
8541 echo "${ECHO_T}$result" >&6; }
8542
8543
8544 enablestring=
8545 defaultval=$wxUSE_ALL_FEATURES
8546 if test -z "$defaultval"; then
8547 if test x"$enablestring" = xdisable; then
8548 defaultval=yes
8549 else
8550 defaultval=no
8551 fi
8552 fi
8553
8554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8555 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8556 # Check whether --enable-htmlhelp was given.
8557 if test "${enable_htmlhelp+set}" = set; then
8558 enableval=$enable_htmlhelp;
8559 if test "$enableval" = yes; then
8560 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8561 else
8562 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8563 fi
8564
8565 else
8566
8567 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8568
8569 fi
8570
8571
8572 eval "$wx_cv_use_htmlhelp"
8573
8574 if test x"$enablestring" = xdisable; then
8575 if test $wxUSE_WXHTML_HELP = no; then
8576 result=yes
8577 else
8578 result=no
8579 fi
8580 else
8581 result=$wxUSE_WXHTML_HELP
8582 fi
8583
8584 { echo "$as_me:$LINENO: result: $result" >&5
8585 echo "${ECHO_T}$result" >&6; }
8586
8587
8588 enablestring=
8589 defaultval=$wxUSE_ALL_FEATURES
8590 if test -z "$defaultval"; then
8591 if test x"$enablestring" = xdisable; then
8592 defaultval=yes
8593 else
8594 defaultval=no
8595 fi
8596 fi
8597
8598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8599 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8600 # Check whether --enable-xrc was given.
8601 if test "${enable_xrc+set}" = set; then
8602 enableval=$enable_xrc;
8603 if test "$enableval" = yes; then
8604 wx_cv_use_xrc='wxUSE_XRC=yes'
8605 else
8606 wx_cv_use_xrc='wxUSE_XRC=no'
8607 fi
8608
8609 else
8610
8611 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8612
8613 fi
8614
8615
8616 eval "$wx_cv_use_xrc"
8617
8618 if test x"$enablestring" = xdisable; then
8619 if test $wxUSE_XRC = no; then
8620 result=yes
8621 else
8622 result=no
8623 fi
8624 else
8625 result=$wxUSE_XRC
8626 fi
8627
8628 { echo "$as_me:$LINENO: result: $result" >&5
8629 echo "${ECHO_T}$result" >&6; }
8630
8631
8632 enablestring=
8633 defaultval=$wxUSE_ALL_FEATURES
8634 if test -z "$defaultval"; then
8635 if test x"$enablestring" = xdisable; then
8636 defaultval=yes
8637 else
8638 defaultval=no
8639 fi
8640 fi
8641
8642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8643 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8644 # Check whether --enable-aui was given.
8645 if test "${enable_aui+set}" = set; then
8646 enableval=$enable_aui;
8647 if test "$enableval" = yes; then
8648 wx_cv_use_aui='wxUSE_AUI=yes'
8649 else
8650 wx_cv_use_aui='wxUSE_AUI=no'
8651 fi
8652
8653 else
8654
8655 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8656
8657 fi
8658
8659
8660 eval "$wx_cv_use_aui"
8661
8662 if test x"$enablestring" = xdisable; then
8663 if test $wxUSE_AUI = no; then
8664 result=yes
8665 else
8666 result=no
8667 fi
8668 else
8669 result=$wxUSE_AUI
8670 fi
8671
8672 { echo "$as_me:$LINENO: result: $result" >&5
8673 echo "${ECHO_T}$result" >&6; }
8674
8675
8676 enablestring=
8677 defaultval=$wxUSE_ALL_FEATURES
8678 if test -z "$defaultval"; then
8679 if test x"$enablestring" = xdisable; then
8680 defaultval=yes
8681 else
8682 defaultval=no
8683 fi
8684 fi
8685
8686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8688 # Check whether --enable-propgrid was given.
8689 if test "${enable_propgrid+set}" = set; then
8690 enableval=$enable_propgrid;
8691 if test "$enableval" = yes; then
8692 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8693 else
8694 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8695 fi
8696
8697 else
8698
8699 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8700
8701 fi
8702
8703
8704 eval "$wx_cv_use_propgrid"
8705
8706 if test x"$enablestring" = xdisable; then
8707 if test $wxUSE_PROPGRID = no; then
8708 result=yes
8709 else
8710 result=no
8711 fi
8712 else
8713 result=$wxUSE_PROPGRID
8714 fi
8715
8716 { echo "$as_me:$LINENO: result: $result" >&5
8717 echo "${ECHO_T}$result" >&6; }
8718
8719
8720 enablestring=
8721 defaultval=$wxUSE_ALL_FEATURES
8722 if test -z "$defaultval"; then
8723 if test x"$enablestring" = xdisable; then
8724 defaultval=yes
8725 else
8726 defaultval=no
8727 fi
8728 fi
8729
8730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8732 # Check whether --enable-ribbon was given.
8733 if test "${enable_ribbon+set}" = set; then
8734 enableval=$enable_ribbon;
8735 if test "$enableval" = yes; then
8736 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8737 else
8738 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8739 fi
8740
8741 else
8742
8743 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8744
8745 fi
8746
8747
8748 eval "$wx_cv_use_ribbon"
8749
8750 if test x"$enablestring" = xdisable; then
8751 if test $wxUSE_RIBBON = no; then
8752 result=yes
8753 else
8754 result=no
8755 fi
8756 else
8757 result=$wxUSE_RIBBON
8758 fi
8759
8760 { echo "$as_me:$LINENO: result: $result" >&5
8761 echo "${ECHO_T}$result" >&6; }
8762
8763
8764 enablestring=
8765 defaultval=$wxUSE_ALL_FEATURES
8766 if test -z "$defaultval"; then
8767 if test x"$enablestring" = xdisable; then
8768 defaultval=yes
8769 else
8770 defaultval=no
8771 fi
8772 fi
8773
8774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8775 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8776 # Check whether --enable-stc was given.
8777 if test "${enable_stc+set}" = set; then
8778 enableval=$enable_stc;
8779 if test "$enableval" = yes; then
8780 wx_cv_use_stc='wxUSE_STC=yes'
8781 else
8782 wx_cv_use_stc='wxUSE_STC=no'
8783 fi
8784
8785 else
8786
8787 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8788
8789 fi
8790
8791
8792 eval "$wx_cv_use_stc"
8793
8794 if test x"$enablestring" = xdisable; then
8795 if test $wxUSE_STC = no; then
8796 result=yes
8797 else
8798 result=no
8799 fi
8800 else
8801 result=$wxUSE_STC
8802 fi
8803
8804 { echo "$as_me:$LINENO: result: $result" >&5
8805 echo "${ECHO_T}$result" >&6; }
8806
8807
8808 enablestring=
8809 defaultval=$wxUSE_ALL_FEATURES
8810 if test -z "$defaultval"; then
8811 if test x"$enablestring" = xdisable; then
8812 defaultval=yes
8813 else
8814 defaultval=no
8815 fi
8816 fi
8817
8818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8819 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8820 # Check whether --enable-constraints was given.
8821 if test "${enable_constraints+set}" = set; then
8822 enableval=$enable_constraints;
8823 if test "$enableval" = yes; then
8824 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8825 else
8826 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8827 fi
8828
8829 else
8830
8831 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8832
8833 fi
8834
8835
8836 eval "$wx_cv_use_constraints"
8837
8838 if test x"$enablestring" = xdisable; then
8839 if test $wxUSE_CONSTRAINTS = no; then
8840 result=yes
8841 else
8842 result=no
8843 fi
8844 else
8845 result=$wxUSE_CONSTRAINTS
8846 fi
8847
8848 { echo "$as_me:$LINENO: result: $result" >&5
8849 echo "${ECHO_T}$result" >&6; }
8850
8851
8852 enablestring=
8853 defaultval=$wxUSE_ALL_FEATURES
8854 if test -z "$defaultval"; then
8855 if test x"$enablestring" = xdisable; then
8856 defaultval=yes
8857 else
8858 defaultval=no
8859 fi
8860 fi
8861
8862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8863 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8864 # Check whether --enable-loggui was given.
8865 if test "${enable_loggui+set}" = set; then
8866 enableval=$enable_loggui;
8867 if test "$enableval" = yes; then
8868 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8869 else
8870 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8871 fi
8872
8873 else
8874
8875 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8876
8877 fi
8878
8879
8880 eval "$wx_cv_use_loggui"
8881
8882 if test x"$enablestring" = xdisable; then
8883 if test $wxUSE_LOGGUI = no; then
8884 result=yes
8885 else
8886 result=no
8887 fi
8888 else
8889 result=$wxUSE_LOGGUI
8890 fi
8891
8892 { echo "$as_me:$LINENO: result: $result" >&5
8893 echo "${ECHO_T}$result" >&6; }
8894
8895
8896 enablestring=
8897 defaultval=$wxUSE_ALL_FEATURES
8898 if test -z "$defaultval"; then
8899 if test x"$enablestring" = xdisable; then
8900 defaultval=yes
8901 else
8902 defaultval=no
8903 fi
8904 fi
8905
8906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8907 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8908 # Check whether --enable-logwin was given.
8909 if test "${enable_logwin+set}" = set; then
8910 enableval=$enable_logwin;
8911 if test "$enableval" = yes; then
8912 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8913 else
8914 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8915 fi
8916
8917 else
8918
8919 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8920
8921 fi
8922
8923
8924 eval "$wx_cv_use_logwin"
8925
8926 if test x"$enablestring" = xdisable; then
8927 if test $wxUSE_LOGWINDOW = no; then
8928 result=yes
8929 else
8930 result=no
8931 fi
8932 else
8933 result=$wxUSE_LOGWINDOW
8934 fi
8935
8936 { echo "$as_me:$LINENO: result: $result" >&5
8937 echo "${ECHO_T}$result" >&6; }
8938
8939
8940 enablestring=
8941 defaultval=$wxUSE_ALL_FEATURES
8942 if test -z "$defaultval"; then
8943 if test x"$enablestring" = xdisable; then
8944 defaultval=yes
8945 else
8946 defaultval=no
8947 fi
8948 fi
8949
8950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8951 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8952 # Check whether --enable-logdialog was given.
8953 if test "${enable_logdialog+set}" = set; then
8954 enableval=$enable_logdialog;
8955 if test "$enableval" = yes; then
8956 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8957 else
8958 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8959 fi
8960
8961 else
8962
8963 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8964
8965 fi
8966
8967
8968 eval "$wx_cv_use_logdialog"
8969
8970 if test x"$enablestring" = xdisable; then
8971 if test $wxUSE_LOGDIALOG = no; then
8972 result=yes
8973 else
8974 result=no
8975 fi
8976 else
8977 result=$wxUSE_LOGDIALOG
8978 fi
8979
8980 { echo "$as_me:$LINENO: result: $result" >&5
8981 echo "${ECHO_T}$result" >&6; }
8982
8983
8984 enablestring=
8985 defaultval=$wxUSE_ALL_FEATURES
8986 if test -z "$defaultval"; then
8987 if test x"$enablestring" = xdisable; then
8988 defaultval=yes
8989 else
8990 defaultval=no
8991 fi
8992 fi
8993
8994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8995 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8996 # Check whether --enable-mdi was given.
8997 if test "${enable_mdi+set}" = set; then
8998 enableval=$enable_mdi;
8999 if test "$enableval" = yes; then
9000 wx_cv_use_mdi='wxUSE_MDI=yes'
9001 else
9002 wx_cv_use_mdi='wxUSE_MDI=no'
9003 fi
9004
9005 else
9006
9007 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9008
9009 fi
9010
9011
9012 eval "$wx_cv_use_mdi"
9013
9014 if test x"$enablestring" = xdisable; then
9015 if test $wxUSE_MDI = no; then
9016 result=yes
9017 else
9018 result=no
9019 fi
9020 else
9021 result=$wxUSE_MDI
9022 fi
9023
9024 { echo "$as_me:$LINENO: result: $result" >&5
9025 echo "${ECHO_T}$result" >&6; }
9026
9027
9028 enablestring=
9029 defaultval=$wxUSE_ALL_FEATURES
9030 if test -z "$defaultval"; then
9031 if test x"$enablestring" = xdisable; then
9032 defaultval=yes
9033 else
9034 defaultval=no
9035 fi
9036 fi
9037
9038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9039 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9040 # Check whether --enable-mdidoc was given.
9041 if test "${enable_mdidoc+set}" = set; then
9042 enableval=$enable_mdidoc;
9043 if test "$enableval" = yes; then
9044 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9045 else
9046 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9047 fi
9048
9049 else
9050
9051 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9052
9053 fi
9054
9055
9056 eval "$wx_cv_use_mdidoc"
9057
9058 if test x"$enablestring" = xdisable; then
9059 if test $wxUSE_MDI_ARCHITECTURE = no; then
9060 result=yes
9061 else
9062 result=no
9063 fi
9064 else
9065 result=$wxUSE_MDI_ARCHITECTURE
9066 fi
9067
9068 { echo "$as_me:$LINENO: result: $result" >&5
9069 echo "${ECHO_T}$result" >&6; }
9070
9071
9072 enablestring=
9073 defaultval=$wxUSE_ALL_FEATURES
9074 if test -z "$defaultval"; then
9075 if test x"$enablestring" = xdisable; then
9076 defaultval=yes
9077 else
9078 defaultval=no
9079 fi
9080 fi
9081
9082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9083 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9084 # Check whether --enable-mediactrl was given.
9085 if test "${enable_mediactrl+set}" = set; then
9086 enableval=$enable_mediactrl;
9087 if test "$enableval" = yes; then
9088 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9089 else
9090 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9091 fi
9092
9093 else
9094
9095 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9096
9097 fi
9098
9099
9100 eval "$wx_cv_use_mediactrl"
9101
9102 if test x"$enablestring" = xdisable; then
9103 if test $wxUSE_MEDIACTRL = no; then
9104 result=yes
9105 else
9106 result=no
9107 fi
9108 else
9109 result=$wxUSE_MEDIACTRL
9110 fi
9111
9112 { echo "$as_me:$LINENO: result: $result" >&5
9113 echo "${ECHO_T}$result" >&6; }
9114
9115
9116 enablestring=
9117 defaultval=$wxUSE_ALL_FEATURES
9118 if test -z "$defaultval"; then
9119 if test x"$enablestring" = xdisable; then
9120 defaultval=yes
9121 else
9122 defaultval=no
9123 fi
9124 fi
9125
9126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9127 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9128 # Check whether --enable-gstreamer8 was given.
9129 if test "${enable_gstreamer8+set}" = set; then
9130 enableval=$enable_gstreamer8;
9131 if test "$enableval" = yes; then
9132 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9133 else
9134 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9135 fi
9136
9137 else
9138
9139 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9140
9141 fi
9142
9143
9144 eval "$wx_cv_use_gstreamer8"
9145
9146 if test x"$enablestring" = xdisable; then
9147 if test $wxUSE_GSTREAMER8 = no; then
9148 result=yes
9149 else
9150 result=no
9151 fi
9152 else
9153 result=$wxUSE_GSTREAMER8
9154 fi
9155
9156 { echo "$as_me:$LINENO: result: $result" >&5
9157 echo "${ECHO_T}$result" >&6; }
9158
9159
9160 enablestring=
9161 defaultval=$wxUSE_ALL_FEATURES
9162 if test -z "$defaultval"; then
9163 if test x"$enablestring" = xdisable; then
9164 defaultval=yes
9165 else
9166 defaultval=no
9167 fi
9168 fi
9169
9170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9171 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9172 # Check whether --enable-webkit was given.
9173 if test "${enable_webkit+set}" = set; then
9174 enableval=$enable_webkit;
9175 if test "$enableval" = yes; then
9176 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9177 else
9178 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9179 fi
9180
9181 else
9182
9183 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9184
9185 fi
9186
9187
9188 eval "$wx_cv_use_webkit"
9189
9190 if test x"$enablestring" = xdisable; then
9191 if test $wxUSE_WEBKIT = no; then
9192 result=yes
9193 else
9194 result=no
9195 fi
9196 else
9197 result=$wxUSE_WEBKIT
9198 fi
9199
9200 { echo "$as_me:$LINENO: result: $result" >&5
9201 echo "${ECHO_T}$result" >&6; }
9202
9203
9204 enablestring=
9205 defaultval=$wxUSE_ALL_FEATURES
9206 if test -z "$defaultval"; then
9207 if test x"$enablestring" = xdisable; then
9208 defaultval=yes
9209 else
9210 defaultval=no
9211 fi
9212 fi
9213
9214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9215 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9216 # Check whether --enable-richtext was given.
9217 if test "${enable_richtext+set}" = set; then
9218 enableval=$enable_richtext;
9219 if test "$enableval" = yes; then
9220 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9221 else
9222 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9223 fi
9224
9225 else
9226
9227 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9228
9229 fi
9230
9231
9232 eval "$wx_cv_use_richtext"
9233
9234 if test x"$enablestring" = xdisable; then
9235 if test $wxUSE_RICHTEXT = no; then
9236 result=yes
9237 else
9238 result=no
9239 fi
9240 else
9241 result=$wxUSE_RICHTEXT
9242 fi
9243
9244 { echo "$as_me:$LINENO: result: $result" >&5
9245 echo "${ECHO_T}$result" >&6; }
9246
9247
9248 enablestring=
9249 defaultval=$wxUSE_ALL_FEATURES
9250 if test -z "$defaultval"; then
9251 if test x"$enablestring" = xdisable; then
9252 defaultval=yes
9253 else
9254 defaultval=no
9255 fi
9256 fi
9257
9258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9259 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9260 # Check whether --enable-postscript was given.
9261 if test "${enable_postscript+set}" = set; then
9262 enableval=$enable_postscript;
9263 if test "$enableval" = yes; then
9264 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9265 else
9266 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9267 fi
9268
9269 else
9270
9271 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9272
9273 fi
9274
9275
9276 eval "$wx_cv_use_postscript"
9277
9278 if test x"$enablestring" = xdisable; then
9279 if test $wxUSE_POSTSCRIPT = no; then
9280 result=yes
9281 else
9282 result=no
9283 fi
9284 else
9285 result=$wxUSE_POSTSCRIPT
9286 fi
9287
9288 { echo "$as_me:$LINENO: result: $result" >&5
9289 echo "${ECHO_T}$result" >&6; }
9290
9291
9292 enablestring=
9293 defaultval=$wxUSE_ALL_FEATURES
9294 if test -z "$defaultval"; then
9295 if test x"$enablestring" = xdisable; then
9296 defaultval=yes
9297 else
9298 defaultval=no
9299 fi
9300 fi
9301
9302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9303 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9304 # Check whether --enable-printarch was given.
9305 if test "${enable_printarch+set}" = set; then
9306 enableval=$enable_printarch;
9307 if test "$enableval" = yes; then
9308 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9309 else
9310 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9311 fi
9312
9313 else
9314
9315 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9316
9317 fi
9318
9319
9320 eval "$wx_cv_use_printarch"
9321
9322 if test x"$enablestring" = xdisable; then
9323 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9324 result=yes
9325 else
9326 result=no
9327 fi
9328 else
9329 result=$wxUSE_PRINTING_ARCHITECTURE
9330 fi
9331
9332 { echo "$as_me:$LINENO: result: $result" >&5
9333 echo "${ECHO_T}$result" >&6; }
9334
9335
9336 enablestring=
9337 defaultval=$wxUSE_ALL_FEATURES
9338 if test -z "$defaultval"; then
9339 if test x"$enablestring" = xdisable; then
9340 defaultval=yes
9341 else
9342 defaultval=no
9343 fi
9344 fi
9345
9346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9347 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9348 # Check whether --enable-svg was given.
9349 if test "${enable_svg+set}" = set; then
9350 enableval=$enable_svg;
9351 if test "$enableval" = yes; then
9352 wx_cv_use_svg='wxUSE_SVG=yes'
9353 else
9354 wx_cv_use_svg='wxUSE_SVG=no'
9355 fi
9356
9357 else
9358
9359 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9360
9361 fi
9362
9363
9364 eval "$wx_cv_use_svg"
9365
9366 if test x"$enablestring" = xdisable; then
9367 if test $wxUSE_SVG = no; then
9368 result=yes
9369 else
9370 result=no
9371 fi
9372 else
9373 result=$wxUSE_SVG
9374 fi
9375
9376 { echo "$as_me:$LINENO: result: $result" >&5
9377 echo "${ECHO_T}$result" >&6; }
9378
9379
9380 if test "$wxUSE_MAC" != 1; then
9381
9382 enablestring=
9383 defaultval=$wxUSE_ALL_FEATURES
9384 if test -z "$defaultval"; then
9385 if test x"$enablestring" = xdisable; then
9386 defaultval=yes
9387 else
9388 defaultval=no
9389 fi
9390 fi
9391
9392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9393 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9394 # Check whether --enable-graphics_ctx was given.
9395 if test "${enable_graphics_ctx+set}" = set; then
9396 enableval=$enable_graphics_ctx;
9397 if test "$enableval" = yes; then
9398 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9399 else
9400 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9401 fi
9402
9403 else
9404
9405 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9406
9407 fi
9408
9409
9410 eval "$wx_cv_use_graphics_ctx"
9411
9412 if test x"$enablestring" = xdisable; then
9413 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9414 result=yes
9415 else
9416 result=no
9417 fi
9418 else
9419 result=$wxUSE_GRAPHICS_CONTEXT
9420 fi
9421
9422 { echo "$as_me:$LINENO: result: $result" >&5
9423 echo "${ECHO_T}$result" >&6; }
9424
9425 fi
9426
9427
9428
9429 enablestring=
9430 defaultval=$wxUSE_ALL_FEATURES
9431 if test -z "$defaultval"; then
9432 if test x"$enablestring" = xdisable; then
9433 defaultval=yes
9434 else
9435 defaultval=no
9436 fi
9437 fi
9438
9439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9440 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9441 # Check whether --enable-clipboard was given.
9442 if test "${enable_clipboard+set}" = set; then
9443 enableval=$enable_clipboard;
9444 if test "$enableval" = yes; then
9445 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9446 else
9447 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9448 fi
9449
9450 else
9451
9452 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9453
9454 fi
9455
9456
9457 eval "$wx_cv_use_clipboard"
9458
9459 if test x"$enablestring" = xdisable; then
9460 if test $wxUSE_CLIPBOARD = no; then
9461 result=yes
9462 else
9463 result=no
9464 fi
9465 else
9466 result=$wxUSE_CLIPBOARD
9467 fi
9468
9469 { echo "$as_me:$LINENO: result: $result" >&5
9470 echo "${ECHO_T}$result" >&6; }
9471
9472
9473 enablestring=
9474 defaultval=$wxUSE_ALL_FEATURES
9475 if test -z "$defaultval"; then
9476 if test x"$enablestring" = xdisable; then
9477 defaultval=yes
9478 else
9479 defaultval=no
9480 fi
9481 fi
9482
9483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9484 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9485 # Check whether --enable-dnd was given.
9486 if test "${enable_dnd+set}" = set; then
9487 enableval=$enable_dnd;
9488 if test "$enableval" = yes; then
9489 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9490 else
9491 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9492 fi
9493
9494 else
9495
9496 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9497
9498 fi
9499
9500
9501 eval "$wx_cv_use_dnd"
9502
9503 if test x"$enablestring" = xdisable; then
9504 if test $wxUSE_DRAG_AND_DROP = no; then
9505 result=yes
9506 else
9507 result=no
9508 fi
9509 else
9510 result=$wxUSE_DRAG_AND_DROP
9511 fi
9512
9513 { echo "$as_me:$LINENO: result: $result" >&5
9514 echo "${ECHO_T}$result" >&6; }
9515
9516
9517 enablestring=
9518 defaultval=$wxUSE_ALL_FEATURES
9519 if test -z "$defaultval"; then
9520 if test x"$enablestring" = xdisable; then
9521 defaultval=yes
9522 else
9523 defaultval=no
9524 fi
9525 fi
9526
9527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9528 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9529 # Check whether --enable-metafile was given.
9530 if test "${enable_metafile+set}" = set; then
9531 enableval=$enable_metafile;
9532 if test "$enableval" = yes; then
9533 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9534 else
9535 wx_cv_use_metafile='wxUSE_METAFILE=no'
9536 fi
9537
9538 else
9539
9540 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9541
9542 fi
9543
9544
9545 eval "$wx_cv_use_metafile"
9546
9547 if test x"$enablestring" = xdisable; then
9548 if test $wxUSE_METAFILE = no; then
9549 result=yes
9550 else
9551 result=no
9552 fi
9553 else
9554 result=$wxUSE_METAFILE
9555 fi
9556
9557 { echo "$as_me:$LINENO: result: $result" >&5
9558 echo "${ECHO_T}$result" >&6; }
9559
9560
9561
9562 DEFAULT_wxUSE_CONTROLS=none
9563
9564 enablestring=disable
9565 defaultval=
9566 if test -z "$defaultval"; then
9567 if test x"$enablestring" = xdisable; then
9568 defaultval=yes
9569 else
9570 defaultval=no
9571 fi
9572 fi
9573
9574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9575 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9576 # Check whether --enable-controls was given.
9577 if test "${enable_controls+set}" = set; then
9578 enableval=$enable_controls;
9579 if test "$enableval" = yes; then
9580 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9581 else
9582 wx_cv_use_controls='wxUSE_CONTROLS=no'
9583 fi
9584
9585 else
9586
9587 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9588
9589 fi
9590
9591
9592 eval "$wx_cv_use_controls"
9593
9594 if test x"$enablestring" = xdisable; then
9595 if test $wxUSE_CONTROLS = no; then
9596 result=yes
9597 else
9598 result=no
9599 fi
9600 else
9601 result=$wxUSE_CONTROLS
9602 fi
9603
9604 { echo "$as_me:$LINENO: result: $result" >&5
9605 echo "${ECHO_T}$result" >&6; }
9606
9607
9608 if test "$wxUSE_CONTROLS" = "no"; then
9609 DEFAULT_wxUSE_ACCEL=no
9610 DEFAULT_wxUSE_ANIMATIONCTRL=no
9611 DEFAULT_wxUSE_BMPBUTTON=no
9612 DEFAULT_wxUSE_BUTTON=no
9613 DEFAULT_wxUSE_CALCTRL=no
9614 DEFAULT_wxUSE_CARET=no
9615 DEFAULT_wxUSE_CHECKBOX=no
9616 DEFAULT_wxUSE_CHECKLISTBOX=no
9617 DEFAULT_wxUSE_CHOICE=no
9618 DEFAULT_wxUSE_CHOICEBOOK=no
9619 DEFAULT_wxUSE_COLLPANE=no
9620 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9621 DEFAULT_wxUSE_COMBOBOX=no
9622 DEFAULT_wxUSE_COMBOBOX=no
9623 DEFAULT_wxUSE_DATAVIEWCTRL=no
9624 DEFAULT_wxUSE_DATEPICKCTRL=no
9625 DEFAULT_wxUSE_DETECT_SM=no
9626 DEFAULT_wxUSE_DIRPICKERCTRL=no
9627 DEFAULT_wxUSE_DISPLAY=no
9628 DEFAULT_wxUSE_FILECTRL=no
9629 DEFAULT_wxUSE_FILEPICKERCTRL=no
9630 DEFAULT_wxUSE_FONTPICKERCTRL=no
9631 DEFAULT_wxUSE_GAUGE=no
9632 DEFAULT_wxUSE_GRID=no
9633 DEFAULT_wxUSE_HEADERCTRL=no
9634 DEFAULT_wxUSE_HYPERLINKCTRL=no
9635 DEFAULT_wxUSE_IMAGLIST=no
9636 DEFAULT_wxUSE_LISTBOOK=no
9637 DEFAULT_wxUSE_LISTBOX=no
9638 DEFAULT_wxUSE_LISTCTRL=no
9639 DEFAULT_wxUSE_NOTEBOOK=no
9640 DEFAULT_wxUSE_POPUPWIN=no
9641 DEFAULT_wxUSE_RADIOBOX=no
9642 DEFAULT_wxUSE_RADIOBTN=no
9643 DEFAULT_wxUSE_REARRANGECTRL=no
9644 DEFAULT_wxUSE_SASH=no
9645 DEFAULT_wxUSE_SCROLLBAR=no
9646 DEFAULT_wxUSE_SEARCHCTRL=no
9647 DEFAULT_wxUSE_SLIDER=no
9648 DEFAULT_wxUSE_SPINBTN=no
9649 DEFAULT_wxUSE_SPINCTRL=no
9650 DEFAULT_wxUSE_SPLITTER=no
9651 DEFAULT_wxUSE_STATBMP=no
9652 DEFAULT_wxUSE_STATBOX=no
9653 DEFAULT_wxUSE_STATLINE=no
9654 DEFAULT_wxUSE_STATUSBAR=no
9655 DEFAULT_wxUSE_TIPWINDOW=no
9656 DEFAULT_wxUSE_TOGGLEBTN=no
9657 DEFAULT_wxUSE_TOOLBAR=no
9658 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9659 DEFAULT_wxUSE_TOOLBOOK=no
9660 DEFAULT_wxUSE_TOOLTIPS=no
9661 DEFAULT_wxUSE_TREEBOOK=no
9662 DEFAULT_wxUSE_TREECTRL=no
9663 fi
9664
9665
9666 enablestring=
9667 defaultval=$wxUSE_ALL_FEATURES
9668 if test -z "$defaultval"; then
9669 if test x"$enablestring" = xdisable; then
9670 defaultval=yes
9671 else
9672 defaultval=no
9673 fi
9674 fi
9675
9676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9677 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9678 # Check whether --enable-accel was given.
9679 if test "${enable_accel+set}" = set; then
9680 enableval=$enable_accel;
9681 if test "$enableval" = yes; then
9682 wx_cv_use_accel='wxUSE_ACCEL=yes'
9683 else
9684 wx_cv_use_accel='wxUSE_ACCEL=no'
9685 fi
9686
9687 else
9688
9689 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9690
9691 fi
9692
9693
9694 eval "$wx_cv_use_accel"
9695
9696 if test x"$enablestring" = xdisable; then
9697 if test $wxUSE_ACCEL = no; then
9698 result=yes
9699 else
9700 result=no
9701 fi
9702 else
9703 result=$wxUSE_ACCEL
9704 fi
9705
9706 { echo "$as_me:$LINENO: result: $result" >&5
9707 echo "${ECHO_T}$result" >&6; }
9708
9709
9710 enablestring=
9711 defaultval=$wxUSE_ALL_FEATURES
9712 if test -z "$defaultval"; then
9713 if test x"$enablestring" = xdisable; then
9714 defaultval=yes
9715 else
9716 defaultval=no
9717 fi
9718 fi
9719
9720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9721 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9722 # Check whether --enable-animatectrl was given.
9723 if test "${enable_animatectrl+set}" = set; then
9724 enableval=$enable_animatectrl;
9725 if test "$enableval" = yes; then
9726 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9727 else
9728 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9729 fi
9730
9731 else
9732
9733 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9734
9735 fi
9736
9737
9738 eval "$wx_cv_use_animatectrl"
9739
9740 if test x"$enablestring" = xdisable; then
9741 if test $wxUSE_ANIMATIONCTRL = no; then
9742 result=yes
9743 else
9744 result=no
9745 fi
9746 else
9747 result=$wxUSE_ANIMATIONCTRL
9748 fi
9749
9750 { echo "$as_me:$LINENO: result: $result" >&5
9751 echo "${ECHO_T}$result" >&6; }
9752
9753
9754 enablestring=
9755 defaultval=$wxUSE_ALL_FEATURES
9756 if test -z "$defaultval"; then
9757 if test x"$enablestring" = xdisable; then
9758 defaultval=yes
9759 else
9760 defaultval=no
9761 fi
9762 fi
9763
9764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9765 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9766 # Check whether --enable-bmpbutton was given.
9767 if test "${enable_bmpbutton+set}" = set; then
9768 enableval=$enable_bmpbutton;
9769 if test "$enableval" = yes; then
9770 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9771 else
9772 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9773 fi
9774
9775 else
9776
9777 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9778
9779 fi
9780
9781
9782 eval "$wx_cv_use_bmpbutton"
9783
9784 if test x"$enablestring" = xdisable; then
9785 if test $wxUSE_BMPBUTTON = no; then
9786 result=yes
9787 else
9788 result=no
9789 fi
9790 else
9791 result=$wxUSE_BMPBUTTON
9792 fi
9793
9794 { echo "$as_me:$LINENO: result: $result" >&5
9795 echo "${ECHO_T}$result" >&6; }
9796
9797
9798 enablestring=
9799 defaultval=$wxUSE_ALL_FEATURES
9800 if test -z "$defaultval"; then
9801 if test x"$enablestring" = xdisable; then
9802 defaultval=yes
9803 else
9804 defaultval=no
9805 fi
9806 fi
9807
9808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9809 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9810 # Check whether --enable-bmpcombobox was given.
9811 if test "${enable_bmpcombobox+set}" = set; then
9812 enableval=$enable_bmpcombobox;
9813 if test "$enableval" = yes; then
9814 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9815 else
9816 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9817 fi
9818
9819 else
9820
9821 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9822
9823 fi
9824
9825
9826 eval "$wx_cv_use_bmpcombobox"
9827
9828 if test x"$enablestring" = xdisable; then
9829 if test $wxUSE_BITMAPCOMBOBOX = no; then
9830 result=yes
9831 else
9832 result=no
9833 fi
9834 else
9835 result=$wxUSE_BITMAPCOMBOBOX
9836 fi
9837
9838 { echo "$as_me:$LINENO: result: $result" >&5
9839 echo "${ECHO_T}$result" >&6; }
9840
9841
9842 enablestring=
9843 defaultval=$wxUSE_ALL_FEATURES
9844 if test -z "$defaultval"; then
9845 if test x"$enablestring" = xdisable; then
9846 defaultval=yes
9847 else
9848 defaultval=no
9849 fi
9850 fi
9851
9852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9853 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9854 # Check whether --enable-button was given.
9855 if test "${enable_button+set}" = set; then
9856 enableval=$enable_button;
9857 if test "$enableval" = yes; then
9858 wx_cv_use_button='wxUSE_BUTTON=yes'
9859 else
9860 wx_cv_use_button='wxUSE_BUTTON=no'
9861 fi
9862
9863 else
9864
9865 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9866
9867 fi
9868
9869
9870 eval "$wx_cv_use_button"
9871
9872 if test x"$enablestring" = xdisable; then
9873 if test $wxUSE_BUTTON = no; then
9874 result=yes
9875 else
9876 result=no
9877 fi
9878 else
9879 result=$wxUSE_BUTTON
9880 fi
9881
9882 { echo "$as_me:$LINENO: result: $result" >&5
9883 echo "${ECHO_T}$result" >&6; }
9884
9885
9886 enablestring=
9887 defaultval=$wxUSE_ALL_FEATURES
9888 if test -z "$defaultval"; then
9889 if test x"$enablestring" = xdisable; then
9890 defaultval=yes
9891 else
9892 defaultval=no
9893 fi
9894 fi
9895
9896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9897 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9898 # Check whether --enable-calendar was given.
9899 if test "${enable_calendar+set}" = set; then
9900 enableval=$enable_calendar;
9901 if test "$enableval" = yes; then
9902 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9903 else
9904 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9905 fi
9906
9907 else
9908
9909 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9910
9911 fi
9912
9913
9914 eval "$wx_cv_use_calendar"
9915
9916 if test x"$enablestring" = xdisable; then
9917 if test $wxUSE_CALCTRL = no; then
9918 result=yes
9919 else
9920 result=no
9921 fi
9922 else
9923 result=$wxUSE_CALCTRL
9924 fi
9925
9926 { echo "$as_me:$LINENO: result: $result" >&5
9927 echo "${ECHO_T}$result" >&6; }
9928
9929
9930 enablestring=
9931 defaultval=$wxUSE_ALL_FEATURES
9932 if test -z "$defaultval"; then
9933 if test x"$enablestring" = xdisable; then
9934 defaultval=yes
9935 else
9936 defaultval=no
9937 fi
9938 fi
9939
9940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9941 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9942 # Check whether --enable-caret was given.
9943 if test "${enable_caret+set}" = set; then
9944 enableval=$enable_caret;
9945 if test "$enableval" = yes; then
9946 wx_cv_use_caret='wxUSE_CARET=yes'
9947 else
9948 wx_cv_use_caret='wxUSE_CARET=no'
9949 fi
9950
9951 else
9952
9953 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9954
9955 fi
9956
9957
9958 eval "$wx_cv_use_caret"
9959
9960 if test x"$enablestring" = xdisable; then
9961 if test $wxUSE_CARET = no; then
9962 result=yes
9963 else
9964 result=no
9965 fi
9966 else
9967 result=$wxUSE_CARET
9968 fi
9969
9970 { echo "$as_me:$LINENO: result: $result" >&5
9971 echo "${ECHO_T}$result" >&6; }
9972
9973
9974 enablestring=
9975 defaultval=$wxUSE_ALL_FEATURES
9976 if test -z "$defaultval"; then
9977 if test x"$enablestring" = xdisable; then
9978 defaultval=yes
9979 else
9980 defaultval=no
9981 fi
9982 fi
9983
9984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9985 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9986 # Check whether --enable-checkbox was given.
9987 if test "${enable_checkbox+set}" = set; then
9988 enableval=$enable_checkbox;
9989 if test "$enableval" = yes; then
9990 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9991 else
9992 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9993 fi
9994
9995 else
9996
9997 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9998
9999 fi
10000
10001
10002 eval "$wx_cv_use_checkbox"
10003
10004 if test x"$enablestring" = xdisable; then
10005 if test $wxUSE_CHECKBOX = no; then
10006 result=yes
10007 else
10008 result=no
10009 fi
10010 else
10011 result=$wxUSE_CHECKBOX
10012 fi
10013
10014 { echo "$as_me:$LINENO: result: $result" >&5
10015 echo "${ECHO_T}$result" >&6; }
10016
10017
10018 enablestring=
10019 defaultval=$wxUSE_ALL_FEATURES
10020 if test -z "$defaultval"; then
10021 if test x"$enablestring" = xdisable; then
10022 defaultval=yes
10023 else
10024 defaultval=no
10025 fi
10026 fi
10027
10028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10029 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10030 # Check whether --enable-checklst was given.
10031 if test "${enable_checklst+set}" = set; then
10032 enableval=$enable_checklst;
10033 if test "$enableval" = yes; then
10034 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10035 else
10036 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10037 fi
10038
10039 else
10040
10041 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10042
10043 fi
10044
10045
10046 eval "$wx_cv_use_checklst"
10047
10048 if test x"$enablestring" = xdisable; then
10049 if test $wxUSE_CHECKLST = no; then
10050 result=yes
10051 else
10052 result=no
10053 fi
10054 else
10055 result=$wxUSE_CHECKLST
10056 fi
10057
10058 { echo "$as_me:$LINENO: result: $result" >&5
10059 echo "${ECHO_T}$result" >&6; }
10060
10061
10062 enablestring=
10063 defaultval=$wxUSE_ALL_FEATURES
10064 if test -z "$defaultval"; then
10065 if test x"$enablestring" = xdisable; then
10066 defaultval=yes
10067 else
10068 defaultval=no
10069 fi
10070 fi
10071
10072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10073 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10074 # Check whether --enable-choice was given.
10075 if test "${enable_choice+set}" = set; then
10076 enableval=$enable_choice;
10077 if test "$enableval" = yes; then
10078 wx_cv_use_choice='wxUSE_CHOICE=yes'
10079 else
10080 wx_cv_use_choice='wxUSE_CHOICE=no'
10081 fi
10082
10083 else
10084
10085 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10086
10087 fi
10088
10089
10090 eval "$wx_cv_use_choice"
10091
10092 if test x"$enablestring" = xdisable; then
10093 if test $wxUSE_CHOICE = no; then
10094 result=yes
10095 else
10096 result=no
10097 fi
10098 else
10099 result=$wxUSE_CHOICE
10100 fi
10101
10102 { echo "$as_me:$LINENO: result: $result" >&5
10103 echo "${ECHO_T}$result" >&6; }
10104
10105
10106 enablestring=
10107 defaultval=$wxUSE_ALL_FEATURES
10108 if test -z "$defaultval"; then
10109 if test x"$enablestring" = xdisable; then
10110 defaultval=yes
10111 else
10112 defaultval=no
10113 fi
10114 fi
10115
10116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10117 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10118 # Check whether --enable-choicebook was given.
10119 if test "${enable_choicebook+set}" = set; then
10120 enableval=$enable_choicebook;
10121 if test "$enableval" = yes; then
10122 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10123 else
10124 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10125 fi
10126
10127 else
10128
10129 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10130
10131 fi
10132
10133
10134 eval "$wx_cv_use_choicebook"
10135
10136 if test x"$enablestring" = xdisable; then
10137 if test $wxUSE_CHOICEBOOK = no; then
10138 result=yes
10139 else
10140 result=no
10141 fi
10142 else
10143 result=$wxUSE_CHOICEBOOK
10144 fi
10145
10146 { echo "$as_me:$LINENO: result: $result" >&5
10147 echo "${ECHO_T}$result" >&6; }
10148
10149
10150 enablestring=
10151 defaultval=$wxUSE_ALL_FEATURES
10152 if test -z "$defaultval"; then
10153 if test x"$enablestring" = xdisable; then
10154 defaultval=yes
10155 else
10156 defaultval=no
10157 fi
10158 fi
10159
10160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10161 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10162 # Check whether --enable-collpane was given.
10163 if test "${enable_collpane+set}" = set; then
10164 enableval=$enable_collpane;
10165 if test "$enableval" = yes; then
10166 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10167 else
10168 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10169 fi
10170
10171 else
10172
10173 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10174
10175 fi
10176
10177
10178 eval "$wx_cv_use_collpane"
10179
10180 if test x"$enablestring" = xdisable; then
10181 if test $wxUSE_COLLPANE = no; then
10182 result=yes
10183 else
10184 result=no
10185 fi
10186 else
10187 result=$wxUSE_COLLPANE
10188 fi
10189
10190 { echo "$as_me:$LINENO: result: $result" >&5
10191 echo "${ECHO_T}$result" >&6; }
10192
10193
10194 enablestring=
10195 defaultval=$wxUSE_ALL_FEATURES
10196 if test -z "$defaultval"; then
10197 if test x"$enablestring" = xdisable; then
10198 defaultval=yes
10199 else
10200 defaultval=no
10201 fi
10202 fi
10203
10204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10205 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10206 # Check whether --enable-colourpicker was given.
10207 if test "${enable_colourpicker+set}" = set; then
10208 enableval=$enable_colourpicker;
10209 if test "$enableval" = yes; then
10210 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10211 else
10212 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10213 fi
10214
10215 else
10216
10217 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10218
10219 fi
10220
10221
10222 eval "$wx_cv_use_colourpicker"
10223
10224 if test x"$enablestring" = xdisable; then
10225 if test $wxUSE_COLOURPICKERCTRL = no; then
10226 result=yes
10227 else
10228 result=no
10229 fi
10230 else
10231 result=$wxUSE_COLOURPICKERCTRL
10232 fi
10233
10234 { echo "$as_me:$LINENO: result: $result" >&5
10235 echo "${ECHO_T}$result" >&6; }
10236
10237
10238 enablestring=
10239 defaultval=$wxUSE_ALL_FEATURES
10240 if test -z "$defaultval"; then
10241 if test x"$enablestring" = xdisable; then
10242 defaultval=yes
10243 else
10244 defaultval=no
10245 fi
10246 fi
10247
10248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10249 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10250 # Check whether --enable-combobox was given.
10251 if test "${enable_combobox+set}" = set; then
10252 enableval=$enable_combobox;
10253 if test "$enableval" = yes; then
10254 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10255 else
10256 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10257 fi
10258
10259 else
10260
10261 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10262
10263 fi
10264
10265
10266 eval "$wx_cv_use_combobox"
10267
10268 if test x"$enablestring" = xdisable; then
10269 if test $wxUSE_COMBOBOX = no; then
10270 result=yes
10271 else
10272 result=no
10273 fi
10274 else
10275 result=$wxUSE_COMBOBOX
10276 fi
10277
10278 { echo "$as_me:$LINENO: result: $result" >&5
10279 echo "${ECHO_T}$result" >&6; }
10280
10281
10282 enablestring=
10283 defaultval=$wxUSE_ALL_FEATURES
10284 if test -z "$defaultval"; then
10285 if test x"$enablestring" = xdisable; then
10286 defaultval=yes
10287 else
10288 defaultval=no
10289 fi
10290 fi
10291
10292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10293 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10294 # Check whether --enable-comboctrl was given.
10295 if test "${enable_comboctrl+set}" = set; then
10296 enableval=$enable_comboctrl;
10297 if test "$enableval" = yes; then
10298 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10299 else
10300 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10301 fi
10302
10303 else
10304
10305 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10306
10307 fi
10308
10309
10310 eval "$wx_cv_use_comboctrl"
10311
10312 if test x"$enablestring" = xdisable; then
10313 if test $wxUSE_COMBOCTRL = no; then
10314 result=yes
10315 else
10316 result=no
10317 fi
10318 else
10319 result=$wxUSE_COMBOCTRL
10320 fi
10321
10322 { echo "$as_me:$LINENO: result: $result" >&5
10323 echo "${ECHO_T}$result" >&6; }
10324
10325
10326 enablestring=
10327 defaultval=$wxUSE_ALL_FEATURES
10328 if test -z "$defaultval"; then
10329 if test x"$enablestring" = xdisable; then
10330 defaultval=yes
10331 else
10332 defaultval=no
10333 fi
10334 fi
10335
10336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10337 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10338 # Check whether --enable-dataviewctrl was given.
10339 if test "${enable_dataviewctrl+set}" = set; then
10340 enableval=$enable_dataviewctrl;
10341 if test "$enableval" = yes; then
10342 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10343 else
10344 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10345 fi
10346
10347 else
10348
10349 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10350
10351 fi
10352
10353
10354 eval "$wx_cv_use_dataviewctrl"
10355
10356 if test x"$enablestring" = xdisable; then
10357 if test $wxUSE_DATAVIEWCTRL = no; then
10358 result=yes
10359 else
10360 result=no
10361 fi
10362 else
10363 result=$wxUSE_DATAVIEWCTRL
10364 fi
10365
10366 { echo "$as_me:$LINENO: result: $result" >&5
10367 echo "${ECHO_T}$result" >&6; }
10368
10369
10370 enablestring=
10371 defaultval=$wxUSE_ALL_FEATURES
10372 if test -z "$defaultval"; then
10373 if test x"$enablestring" = xdisable; then
10374 defaultval=yes
10375 else
10376 defaultval=no
10377 fi
10378 fi
10379
10380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10381 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10382 # Check whether --enable-datepick was given.
10383 if test "${enable_datepick+set}" = set; then
10384 enableval=$enable_datepick;
10385 if test "$enableval" = yes; then
10386 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10387 else
10388 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10389 fi
10390
10391 else
10392
10393 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10394
10395 fi
10396
10397
10398 eval "$wx_cv_use_datepick"
10399
10400 if test x"$enablestring" = xdisable; then
10401 if test $wxUSE_DATEPICKCTRL = no; then
10402 result=yes
10403 else
10404 result=no
10405 fi
10406 else
10407 result=$wxUSE_DATEPICKCTRL
10408 fi
10409
10410 { echo "$as_me:$LINENO: result: $result" >&5
10411 echo "${ECHO_T}$result" >&6; }
10412
10413
10414 enablestring=
10415 defaultval=$wxUSE_ALL_FEATURES
10416 if test -z "$defaultval"; then
10417 if test x"$enablestring" = xdisable; then
10418 defaultval=yes
10419 else
10420 defaultval=no
10421 fi
10422 fi
10423
10424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10425 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10426 # Check whether --enable-detect_sm was given.
10427 if test "${enable_detect_sm+set}" = set; then
10428 enableval=$enable_detect_sm;
10429 if test "$enableval" = yes; then
10430 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10431 else
10432 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10433 fi
10434
10435 else
10436
10437 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10438
10439 fi
10440
10441
10442 eval "$wx_cv_use_detect_sm"
10443
10444 if test x"$enablestring" = xdisable; then
10445 if test $wxUSE_DETECT_SM = no; then
10446 result=yes
10447 else
10448 result=no
10449 fi
10450 else
10451 result=$wxUSE_DETECT_SM
10452 fi
10453
10454 { echo "$as_me:$LINENO: result: $result" >&5
10455 echo "${ECHO_T}$result" >&6; }
10456
10457
10458 enablestring=
10459 defaultval=$wxUSE_ALL_FEATURES
10460 if test -z "$defaultval"; then
10461 if test x"$enablestring" = xdisable; then
10462 defaultval=yes
10463 else
10464 defaultval=no
10465 fi
10466 fi
10467
10468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10469 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10470 # Check whether --enable-dirpicker was given.
10471 if test "${enable_dirpicker+set}" = set; then
10472 enableval=$enable_dirpicker;
10473 if test "$enableval" = yes; then
10474 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10475 else
10476 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10477 fi
10478
10479 else
10480
10481 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10482
10483 fi
10484
10485
10486 eval "$wx_cv_use_dirpicker"
10487
10488 if test x"$enablestring" = xdisable; then
10489 if test $wxUSE_DIRPICKERCTRL = no; then
10490 result=yes
10491 else
10492 result=no
10493 fi
10494 else
10495 result=$wxUSE_DIRPICKERCTRL
10496 fi
10497
10498 { echo "$as_me:$LINENO: result: $result" >&5
10499 echo "${ECHO_T}$result" >&6; }
10500
10501
10502 enablestring=
10503 defaultval=$wxUSE_ALL_FEATURES
10504 if test -z "$defaultval"; then
10505 if test x"$enablestring" = xdisable; then
10506 defaultval=yes
10507 else
10508 defaultval=no
10509 fi
10510 fi
10511
10512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10513 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10514 # Check whether --enable-display was given.
10515 if test "${enable_display+set}" = set; then
10516 enableval=$enable_display;
10517 if test "$enableval" = yes; then
10518 wx_cv_use_display='wxUSE_DISPLAY=yes'
10519 else
10520 wx_cv_use_display='wxUSE_DISPLAY=no'
10521 fi
10522
10523 else
10524
10525 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10526
10527 fi
10528
10529
10530 eval "$wx_cv_use_display"
10531
10532 if test x"$enablestring" = xdisable; then
10533 if test $wxUSE_DISPLAY = no; then
10534 result=yes
10535 else
10536 result=no
10537 fi
10538 else
10539 result=$wxUSE_DISPLAY
10540 fi
10541
10542 { echo "$as_me:$LINENO: result: $result" >&5
10543 echo "${ECHO_T}$result" >&6; }
10544
10545
10546 enablestring=
10547 defaultval=$wxUSE_ALL_FEATURES
10548 if test -z "$defaultval"; then
10549 if test x"$enablestring" = xdisable; then
10550 defaultval=yes
10551 else
10552 defaultval=no
10553 fi
10554 fi
10555
10556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10557 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10558 # Check whether --enable-editablebox was given.
10559 if test "${enable_editablebox+set}" = set; then
10560 enableval=$enable_editablebox;
10561 if test "$enableval" = yes; then
10562 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10563 else
10564 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10565 fi
10566
10567 else
10568
10569 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10570
10571 fi
10572
10573
10574 eval "$wx_cv_use_editablebox"
10575
10576 if test x"$enablestring" = xdisable; then
10577 if test $wxUSE_EDITABLELISTBOX = no; then
10578 result=yes
10579 else
10580 result=no
10581 fi
10582 else
10583 result=$wxUSE_EDITABLELISTBOX
10584 fi
10585
10586 { echo "$as_me:$LINENO: result: $result" >&5
10587 echo "${ECHO_T}$result" >&6; }
10588
10589
10590 enablestring=
10591 defaultval=$wxUSE_ALL_FEATURES
10592 if test -z "$defaultval"; then
10593 if test x"$enablestring" = xdisable; then
10594 defaultval=yes
10595 else
10596 defaultval=no
10597 fi
10598 fi
10599
10600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10601 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10602 # Check whether --enable-filectrl was given.
10603 if test "${enable_filectrl+set}" = set; then
10604 enableval=$enable_filectrl;
10605 if test "$enableval" = yes; then
10606 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10607 else
10608 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10609 fi
10610
10611 else
10612
10613 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10614
10615 fi
10616
10617
10618 eval "$wx_cv_use_filectrl"
10619
10620 if test x"$enablestring" = xdisable; then
10621 if test $wxUSE_FILECTRL = no; then
10622 result=yes
10623 else
10624 result=no
10625 fi
10626 else
10627 result=$wxUSE_FILECTRL
10628 fi
10629
10630 { echo "$as_me:$LINENO: result: $result" >&5
10631 echo "${ECHO_T}$result" >&6; }
10632
10633
10634 enablestring=
10635 defaultval=$wxUSE_ALL_FEATURES
10636 if test -z "$defaultval"; then
10637 if test x"$enablestring" = xdisable; then
10638 defaultval=yes
10639 else
10640 defaultval=no
10641 fi
10642 fi
10643
10644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10645 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10646 # Check whether --enable-filepicker was given.
10647 if test "${enable_filepicker+set}" = set; then
10648 enableval=$enable_filepicker;
10649 if test "$enableval" = yes; then
10650 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10651 else
10652 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10653 fi
10654
10655 else
10656
10657 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10658
10659 fi
10660
10661
10662 eval "$wx_cv_use_filepicker"
10663
10664 if test x"$enablestring" = xdisable; then
10665 if test $wxUSE_FILEPICKERCTRL = no; then
10666 result=yes
10667 else
10668 result=no
10669 fi
10670 else
10671 result=$wxUSE_FILEPICKERCTRL
10672 fi
10673
10674 { echo "$as_me:$LINENO: result: $result" >&5
10675 echo "${ECHO_T}$result" >&6; }
10676
10677
10678 enablestring=
10679 defaultval=$wxUSE_ALL_FEATURES
10680 if test -z "$defaultval"; then
10681 if test x"$enablestring" = xdisable; then
10682 defaultval=yes
10683 else
10684 defaultval=no
10685 fi
10686 fi
10687
10688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10689 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10690 # Check whether --enable-fontpicker was given.
10691 if test "${enable_fontpicker+set}" = set; then
10692 enableval=$enable_fontpicker;
10693 if test "$enableval" = yes; then
10694 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10695 else
10696 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10697 fi
10698
10699 else
10700
10701 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10702
10703 fi
10704
10705
10706 eval "$wx_cv_use_fontpicker"
10707
10708 if test x"$enablestring" = xdisable; then
10709 if test $wxUSE_FONTPICKERCTRL = no; then
10710 result=yes
10711 else
10712 result=no
10713 fi
10714 else
10715 result=$wxUSE_FONTPICKERCTRL
10716 fi
10717
10718 { echo "$as_me:$LINENO: result: $result" >&5
10719 echo "${ECHO_T}$result" >&6; }
10720
10721
10722 enablestring=
10723 defaultval=$wxUSE_ALL_FEATURES
10724 if test -z "$defaultval"; then
10725 if test x"$enablestring" = xdisable; then
10726 defaultval=yes
10727 else
10728 defaultval=no
10729 fi
10730 fi
10731
10732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10733 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10734 # Check whether --enable-gauge was given.
10735 if test "${enable_gauge+set}" = set; then
10736 enableval=$enable_gauge;
10737 if test "$enableval" = yes; then
10738 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10739 else
10740 wx_cv_use_gauge='wxUSE_GAUGE=no'
10741 fi
10742
10743 else
10744
10745 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10746
10747 fi
10748
10749
10750 eval "$wx_cv_use_gauge"
10751
10752 if test x"$enablestring" = xdisable; then
10753 if test $wxUSE_GAUGE = no; then
10754 result=yes
10755 else
10756 result=no
10757 fi
10758 else
10759 result=$wxUSE_GAUGE
10760 fi
10761
10762 { echo "$as_me:$LINENO: result: $result" >&5
10763 echo "${ECHO_T}$result" >&6; }
10764
10765
10766 enablestring=
10767 defaultval=$wxUSE_ALL_FEATURES
10768 if test -z "$defaultval"; then
10769 if test x"$enablestring" = xdisable; then
10770 defaultval=yes
10771 else
10772 defaultval=no
10773 fi
10774 fi
10775
10776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10777 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10778 # Check whether --enable-grid was given.
10779 if test "${enable_grid+set}" = set; then
10780 enableval=$enable_grid;
10781 if test "$enableval" = yes; then
10782 wx_cv_use_grid='wxUSE_GRID=yes'
10783 else
10784 wx_cv_use_grid='wxUSE_GRID=no'
10785 fi
10786
10787 else
10788
10789 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10790
10791 fi
10792
10793
10794 eval "$wx_cv_use_grid"
10795
10796 if test x"$enablestring" = xdisable; then
10797 if test $wxUSE_GRID = no; then
10798 result=yes
10799 else
10800 result=no
10801 fi
10802 else
10803 result=$wxUSE_GRID
10804 fi
10805
10806 { echo "$as_me:$LINENO: result: $result" >&5
10807 echo "${ECHO_T}$result" >&6; }
10808
10809
10810 enablestring=
10811 defaultval=$wxUSE_ALL_FEATURES
10812 if test -z "$defaultval"; then
10813 if test x"$enablestring" = xdisable; then
10814 defaultval=yes
10815 else
10816 defaultval=no
10817 fi
10818 fi
10819
10820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10821 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10822 # Check whether --enable-headerctrl was given.
10823 if test "${enable_headerctrl+set}" = set; then
10824 enableval=$enable_headerctrl;
10825 if test "$enableval" = yes; then
10826 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10827 else
10828 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10829 fi
10830
10831 else
10832
10833 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10834
10835 fi
10836
10837
10838 eval "$wx_cv_use_headerctrl"
10839
10840 if test x"$enablestring" = xdisable; then
10841 if test $wxUSE_HEADERCTRL = no; then
10842 result=yes
10843 else
10844 result=no
10845 fi
10846 else
10847 result=$wxUSE_HEADERCTRL
10848 fi
10849
10850 { echo "$as_me:$LINENO: result: $result" >&5
10851 echo "${ECHO_T}$result" >&6; }
10852
10853
10854 enablestring=
10855 defaultval=$wxUSE_ALL_FEATURES
10856 if test -z "$defaultval"; then
10857 if test x"$enablestring" = xdisable; then
10858 defaultval=yes
10859 else
10860 defaultval=no
10861 fi
10862 fi
10863
10864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10865 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10866 # Check whether --enable-hyperlink was given.
10867 if test "${enable_hyperlink+set}" = set; then
10868 enableval=$enable_hyperlink;
10869 if test "$enableval" = yes; then
10870 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10871 else
10872 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10873 fi
10874
10875 else
10876
10877 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10878
10879 fi
10880
10881
10882 eval "$wx_cv_use_hyperlink"
10883
10884 if test x"$enablestring" = xdisable; then
10885 if test $wxUSE_HYPERLINKCTRL = no; then
10886 result=yes
10887 else
10888 result=no
10889 fi
10890 else
10891 result=$wxUSE_HYPERLINKCTRL
10892 fi
10893
10894 { echo "$as_me:$LINENO: result: $result" >&5
10895 echo "${ECHO_T}$result" >&6; }
10896
10897
10898 enablestring=
10899 defaultval=$wxUSE_ALL_FEATURES
10900 if test -z "$defaultval"; then
10901 if test x"$enablestring" = xdisable; then
10902 defaultval=yes
10903 else
10904 defaultval=no
10905 fi
10906 fi
10907
10908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10909 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10910 # Check whether --enable-imaglist was given.
10911 if test "${enable_imaglist+set}" = set; then
10912 enableval=$enable_imaglist;
10913 if test "$enableval" = yes; then
10914 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10915 else
10916 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10917 fi
10918
10919 else
10920
10921 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10922
10923 fi
10924
10925
10926 eval "$wx_cv_use_imaglist"
10927
10928 if test x"$enablestring" = xdisable; then
10929 if test $wxUSE_IMAGLIST = no; then
10930 result=yes
10931 else
10932 result=no
10933 fi
10934 else
10935 result=$wxUSE_IMAGLIST
10936 fi
10937
10938 { echo "$as_me:$LINENO: result: $result" >&5
10939 echo "${ECHO_T}$result" >&6; }
10940
10941
10942 enablestring=
10943 defaultval=$wxUSE_ALL_FEATURES
10944 if test -z "$defaultval"; then
10945 if test x"$enablestring" = xdisable; then
10946 defaultval=yes
10947 else
10948 defaultval=no
10949 fi
10950 fi
10951
10952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
10953 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
10954 # Check whether --enable-infobar was given.
10955 if test "${enable_infobar+set}" = set; then
10956 enableval=$enable_infobar;
10957 if test "$enableval" = yes; then
10958 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
10959 else
10960 wx_cv_use_infobar='wxUSE_INFOBAR=no'
10961 fi
10962
10963 else
10964
10965 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
10966
10967 fi
10968
10969
10970 eval "$wx_cv_use_infobar"
10971
10972 if test x"$enablestring" = xdisable; then
10973 if test $wxUSE_INFOBAR = no; then
10974 result=yes
10975 else
10976 result=no
10977 fi
10978 else
10979 result=$wxUSE_INFOBAR
10980 fi
10981
10982 { echo "$as_me:$LINENO: result: $result" >&5
10983 echo "${ECHO_T}$result" >&6; }
10984
10985
10986 enablestring=
10987 defaultval=$wxUSE_ALL_FEATURES
10988 if test -z "$defaultval"; then
10989 if test x"$enablestring" = xdisable; then
10990 defaultval=yes
10991 else
10992 defaultval=no
10993 fi
10994 fi
10995
10996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10997 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10998 # Check whether --enable-listbook was given.
10999 if test "${enable_listbook+set}" = set; then
11000 enableval=$enable_listbook;
11001 if test "$enableval" = yes; then
11002 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11003 else
11004 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11005 fi
11006
11007 else
11008
11009 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11010
11011 fi
11012
11013
11014 eval "$wx_cv_use_listbook"
11015
11016 if test x"$enablestring" = xdisable; then
11017 if test $wxUSE_LISTBOOK = no; then
11018 result=yes
11019 else
11020 result=no
11021 fi
11022 else
11023 result=$wxUSE_LISTBOOK
11024 fi
11025
11026 { echo "$as_me:$LINENO: result: $result" >&5
11027 echo "${ECHO_T}$result" >&6; }
11028
11029
11030 enablestring=
11031 defaultval=$wxUSE_ALL_FEATURES
11032 if test -z "$defaultval"; then
11033 if test x"$enablestring" = xdisable; then
11034 defaultval=yes
11035 else
11036 defaultval=no
11037 fi
11038 fi
11039
11040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11041 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11042 # Check whether --enable-listbox was given.
11043 if test "${enable_listbox+set}" = set; then
11044 enableval=$enable_listbox;
11045 if test "$enableval" = yes; then
11046 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11047 else
11048 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11049 fi
11050
11051 else
11052
11053 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11054
11055 fi
11056
11057
11058 eval "$wx_cv_use_listbox"
11059
11060 if test x"$enablestring" = xdisable; then
11061 if test $wxUSE_LISTBOX = no; then
11062 result=yes
11063 else
11064 result=no
11065 fi
11066 else
11067 result=$wxUSE_LISTBOX
11068 fi
11069
11070 { echo "$as_me:$LINENO: result: $result" >&5
11071 echo "${ECHO_T}$result" >&6; }
11072
11073
11074 enablestring=
11075 defaultval=$wxUSE_ALL_FEATURES
11076 if test -z "$defaultval"; then
11077 if test x"$enablestring" = xdisable; then
11078 defaultval=yes
11079 else
11080 defaultval=no
11081 fi
11082 fi
11083
11084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11085 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11086 # Check whether --enable-listctrl was given.
11087 if test "${enable_listctrl+set}" = set; then
11088 enableval=$enable_listctrl;
11089 if test "$enableval" = yes; then
11090 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11091 else
11092 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11093 fi
11094
11095 else
11096
11097 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11098
11099 fi
11100
11101
11102 eval "$wx_cv_use_listctrl"
11103
11104 if test x"$enablestring" = xdisable; then
11105 if test $wxUSE_LISTCTRL = no; then
11106 result=yes
11107 else
11108 result=no
11109 fi
11110 else
11111 result=$wxUSE_LISTCTRL
11112 fi
11113
11114 { echo "$as_me:$LINENO: result: $result" >&5
11115 echo "${ECHO_T}$result" >&6; }
11116
11117
11118 enablestring=
11119 defaultval=$wxUSE_ALL_FEATURES
11120 if test -z "$defaultval"; then
11121 if test x"$enablestring" = xdisable; then
11122 defaultval=yes
11123 else
11124 defaultval=no
11125 fi
11126 fi
11127
11128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11129 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11130 # Check whether --enable-notebook was given.
11131 if test "${enable_notebook+set}" = set; then
11132 enableval=$enable_notebook;
11133 if test "$enableval" = yes; then
11134 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11135 else
11136 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11137 fi
11138
11139 else
11140
11141 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11142
11143 fi
11144
11145
11146 eval "$wx_cv_use_notebook"
11147
11148 if test x"$enablestring" = xdisable; then
11149 if test $wxUSE_NOTEBOOK = no; then
11150 result=yes
11151 else
11152 result=no
11153 fi
11154 else
11155 result=$wxUSE_NOTEBOOK
11156 fi
11157
11158 { echo "$as_me:$LINENO: result: $result" >&5
11159 echo "${ECHO_T}$result" >&6; }
11160
11161
11162 enablestring=
11163 defaultval=$wxUSE_ALL_FEATURES
11164 if test -z "$defaultval"; then
11165 if test x"$enablestring" = xdisable; then
11166 defaultval=yes
11167 else
11168 defaultval=no
11169 fi
11170 fi
11171
11172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11173 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11174 # Check whether --enable-notifmsg was given.
11175 if test "${enable_notifmsg+set}" = set; then
11176 enableval=$enable_notifmsg;
11177 if test "$enableval" = yes; then
11178 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11179 else
11180 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11181 fi
11182
11183 else
11184
11185 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11186
11187 fi
11188
11189
11190 eval "$wx_cv_use_notifmsg"
11191
11192 if test x"$enablestring" = xdisable; then
11193 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11194 result=yes
11195 else
11196 result=no
11197 fi
11198 else
11199 result=$wxUSE_NOTIFICATION_MESSAGE
11200 fi
11201
11202 { echo "$as_me:$LINENO: result: $result" >&5
11203 echo "${ECHO_T}$result" >&6; }
11204
11205
11206 enablestring=
11207 defaultval=$wxUSE_ALL_FEATURES
11208 if test -z "$defaultval"; then
11209 if test x"$enablestring" = xdisable; then
11210 defaultval=yes
11211 else
11212 defaultval=no
11213 fi
11214 fi
11215
11216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11217 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11218 # Check whether --enable-odcombobox was given.
11219 if test "${enable_odcombobox+set}" = set; then
11220 enableval=$enable_odcombobox;
11221 if test "$enableval" = yes; then
11222 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11223 else
11224 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11225 fi
11226
11227 else
11228
11229 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11230
11231 fi
11232
11233
11234 eval "$wx_cv_use_odcombobox"
11235
11236 if test x"$enablestring" = xdisable; then
11237 if test $wxUSE_ODCOMBOBOX = no; then
11238 result=yes
11239 else
11240 result=no
11241 fi
11242 else
11243 result=$wxUSE_ODCOMBOBOX
11244 fi
11245
11246 { echo "$as_me:$LINENO: result: $result" >&5
11247 echo "${ECHO_T}$result" >&6; }
11248
11249
11250 enablestring=
11251 defaultval=$wxUSE_ALL_FEATURES
11252 if test -z "$defaultval"; then
11253 if test x"$enablestring" = xdisable; then
11254 defaultval=yes
11255 else
11256 defaultval=no
11257 fi
11258 fi
11259
11260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11261 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11262 # Check whether --enable-popupwin was given.
11263 if test "${enable_popupwin+set}" = set; then
11264 enableval=$enable_popupwin;
11265 if test "$enableval" = yes; then
11266 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11267 else
11268 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11269 fi
11270
11271 else
11272
11273 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11274
11275 fi
11276
11277
11278 eval "$wx_cv_use_popupwin"
11279
11280 if test x"$enablestring" = xdisable; then
11281 if test $wxUSE_POPUPWIN = no; then
11282 result=yes
11283 else
11284 result=no
11285 fi
11286 else
11287 result=$wxUSE_POPUPWIN
11288 fi
11289
11290 { echo "$as_me:$LINENO: result: $result" >&5
11291 echo "${ECHO_T}$result" >&6; }
11292
11293
11294 enablestring=
11295 defaultval=$wxUSE_ALL_FEATURES
11296 if test -z "$defaultval"; then
11297 if test x"$enablestring" = xdisable; then
11298 defaultval=yes
11299 else
11300 defaultval=no
11301 fi
11302 fi
11303
11304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11305 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11306 # Check whether --enable-radiobox was given.
11307 if test "${enable_radiobox+set}" = set; then
11308 enableval=$enable_radiobox;
11309 if test "$enableval" = yes; then
11310 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11311 else
11312 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11313 fi
11314
11315 else
11316
11317 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11318
11319 fi
11320
11321
11322 eval "$wx_cv_use_radiobox"
11323
11324 if test x"$enablestring" = xdisable; then
11325 if test $wxUSE_RADIOBOX = no; then
11326 result=yes
11327 else
11328 result=no
11329 fi
11330 else
11331 result=$wxUSE_RADIOBOX
11332 fi
11333
11334 { echo "$as_me:$LINENO: result: $result" >&5
11335 echo "${ECHO_T}$result" >&6; }
11336
11337
11338 enablestring=
11339 defaultval=$wxUSE_ALL_FEATURES
11340 if test -z "$defaultval"; then
11341 if test x"$enablestring" = xdisable; then
11342 defaultval=yes
11343 else
11344 defaultval=no
11345 fi
11346 fi
11347
11348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11349 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11350 # Check whether --enable-radiobtn was given.
11351 if test "${enable_radiobtn+set}" = set; then
11352 enableval=$enable_radiobtn;
11353 if test "$enableval" = yes; then
11354 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11355 else
11356 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11357 fi
11358
11359 else
11360
11361 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11362
11363 fi
11364
11365
11366 eval "$wx_cv_use_radiobtn"
11367
11368 if test x"$enablestring" = xdisable; then
11369 if test $wxUSE_RADIOBTN = no; then
11370 result=yes
11371 else
11372 result=no
11373 fi
11374 else
11375 result=$wxUSE_RADIOBTN
11376 fi
11377
11378 { echo "$as_me:$LINENO: result: $result" >&5
11379 echo "${ECHO_T}$result" >&6; }
11380
11381
11382 enablestring=
11383 defaultval=$wxUSE_ALL_FEATURES
11384 if test -z "$defaultval"; then
11385 if test x"$enablestring" = xdisable; then
11386 defaultval=yes
11387 else
11388 defaultval=no
11389 fi
11390 fi
11391
11392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11393 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11394 # Check whether --enable-rearrangectrl was given.
11395 if test "${enable_rearrangectrl+set}" = set; then
11396 enableval=$enable_rearrangectrl;
11397 if test "$enableval" = yes; then
11398 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11399 else
11400 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11401 fi
11402
11403 else
11404
11405 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11406
11407 fi
11408
11409
11410 eval "$wx_cv_use_rearrangectrl"
11411
11412 if test x"$enablestring" = xdisable; then
11413 if test $wxUSE_REARRANGECTRL = no; then
11414 result=yes
11415 else
11416 result=no
11417 fi
11418 else
11419 result=$wxUSE_REARRANGECTRL
11420 fi
11421
11422 { echo "$as_me:$LINENO: result: $result" >&5
11423 echo "${ECHO_T}$result" >&6; }
11424
11425
11426 enablestring=
11427 defaultval=$wxUSE_ALL_FEATURES
11428 if test -z "$defaultval"; then
11429 if test x"$enablestring" = xdisable; then
11430 defaultval=yes
11431 else
11432 defaultval=no
11433 fi
11434 fi
11435
11436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11437 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11438 # Check whether --enable-sash was given.
11439 if test "${enable_sash+set}" = set; then
11440 enableval=$enable_sash;
11441 if test "$enableval" = yes; then
11442 wx_cv_use_sash='wxUSE_SASH=yes'
11443 else
11444 wx_cv_use_sash='wxUSE_SASH=no'
11445 fi
11446
11447 else
11448
11449 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11450
11451 fi
11452
11453
11454 eval "$wx_cv_use_sash"
11455
11456 if test x"$enablestring" = xdisable; then
11457 if test $wxUSE_SASH = no; then
11458 result=yes
11459 else
11460 result=no
11461 fi
11462 else
11463 result=$wxUSE_SASH
11464 fi
11465
11466 { echo "$as_me:$LINENO: result: $result" >&5
11467 echo "${ECHO_T}$result" >&6; }
11468
11469
11470 enablestring=
11471 defaultval=$wxUSE_ALL_FEATURES
11472 if test -z "$defaultval"; then
11473 if test x"$enablestring" = xdisable; then
11474 defaultval=yes
11475 else
11476 defaultval=no
11477 fi
11478 fi
11479
11480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11481 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11482 # Check whether --enable-scrollbar was given.
11483 if test "${enable_scrollbar+set}" = set; then
11484 enableval=$enable_scrollbar;
11485 if test "$enableval" = yes; then
11486 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11487 else
11488 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11489 fi
11490
11491 else
11492
11493 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11494
11495 fi
11496
11497
11498 eval "$wx_cv_use_scrollbar"
11499
11500 if test x"$enablestring" = xdisable; then
11501 if test $wxUSE_SCROLLBAR = no; then
11502 result=yes
11503 else
11504 result=no
11505 fi
11506 else
11507 result=$wxUSE_SCROLLBAR
11508 fi
11509
11510 { echo "$as_me:$LINENO: result: $result" >&5
11511 echo "${ECHO_T}$result" >&6; }
11512
11513
11514 enablestring=
11515 defaultval=$wxUSE_ALL_FEATURES
11516 if test -z "$defaultval"; then
11517 if test x"$enablestring" = xdisable; then
11518 defaultval=yes
11519 else
11520 defaultval=no
11521 fi
11522 fi
11523
11524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11525 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11526 # Check whether --enable-searchctrl was given.
11527 if test "${enable_searchctrl+set}" = set; then
11528 enableval=$enable_searchctrl;
11529 if test "$enableval" = yes; then
11530 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11531 else
11532 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11533 fi
11534
11535 else
11536
11537 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11538
11539 fi
11540
11541
11542 eval "$wx_cv_use_searchctrl"
11543
11544 if test x"$enablestring" = xdisable; then
11545 if test $wxUSE_SEARCHCTRL = no; then
11546 result=yes
11547 else
11548 result=no
11549 fi
11550 else
11551 result=$wxUSE_SEARCHCTRL
11552 fi
11553
11554 { echo "$as_me:$LINENO: result: $result" >&5
11555 echo "${ECHO_T}$result" >&6; }
11556
11557
11558 enablestring=
11559 defaultval=$wxUSE_ALL_FEATURES
11560 if test -z "$defaultval"; then
11561 if test x"$enablestring" = xdisable; then
11562 defaultval=yes
11563 else
11564 defaultval=no
11565 fi
11566 fi
11567
11568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11569 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11570 # Check whether --enable-slider was given.
11571 if test "${enable_slider+set}" = set; then
11572 enableval=$enable_slider;
11573 if test "$enableval" = yes; then
11574 wx_cv_use_slider='wxUSE_SLIDER=yes'
11575 else
11576 wx_cv_use_slider='wxUSE_SLIDER=no'
11577 fi
11578
11579 else
11580
11581 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11582
11583 fi
11584
11585
11586 eval "$wx_cv_use_slider"
11587
11588 if test x"$enablestring" = xdisable; then
11589 if test $wxUSE_SLIDER = no; then
11590 result=yes
11591 else
11592 result=no
11593 fi
11594 else
11595 result=$wxUSE_SLIDER
11596 fi
11597
11598 { echo "$as_me:$LINENO: result: $result" >&5
11599 echo "${ECHO_T}$result" >&6; }
11600
11601
11602 enablestring=
11603 defaultval=$wxUSE_ALL_FEATURES
11604 if test -z "$defaultval"; then
11605 if test x"$enablestring" = xdisable; then
11606 defaultval=yes
11607 else
11608 defaultval=no
11609 fi
11610 fi
11611
11612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11613 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11614 # Check whether --enable-spinbtn was given.
11615 if test "${enable_spinbtn+set}" = set; then
11616 enableval=$enable_spinbtn;
11617 if test "$enableval" = yes; then
11618 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11619 else
11620 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11621 fi
11622
11623 else
11624
11625 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11626
11627 fi
11628
11629
11630 eval "$wx_cv_use_spinbtn"
11631
11632 if test x"$enablestring" = xdisable; then
11633 if test $wxUSE_SPINBTN = no; then
11634 result=yes
11635 else
11636 result=no
11637 fi
11638 else
11639 result=$wxUSE_SPINBTN
11640 fi
11641
11642 { echo "$as_me:$LINENO: result: $result" >&5
11643 echo "${ECHO_T}$result" >&6; }
11644
11645
11646 enablestring=
11647 defaultval=$wxUSE_ALL_FEATURES
11648 if test -z "$defaultval"; then
11649 if test x"$enablestring" = xdisable; then
11650 defaultval=yes
11651 else
11652 defaultval=no
11653 fi
11654 fi
11655
11656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11657 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11658 # Check whether --enable-spinctrl was given.
11659 if test "${enable_spinctrl+set}" = set; then
11660 enableval=$enable_spinctrl;
11661 if test "$enableval" = yes; then
11662 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11663 else
11664 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11665 fi
11666
11667 else
11668
11669 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11670
11671 fi
11672
11673
11674 eval "$wx_cv_use_spinctrl"
11675
11676 if test x"$enablestring" = xdisable; then
11677 if test $wxUSE_SPINCTRL = no; then
11678 result=yes
11679 else
11680 result=no
11681 fi
11682 else
11683 result=$wxUSE_SPINCTRL
11684 fi
11685
11686 { echo "$as_me:$LINENO: result: $result" >&5
11687 echo "${ECHO_T}$result" >&6; }
11688
11689
11690 enablestring=
11691 defaultval=$wxUSE_ALL_FEATURES
11692 if test -z "$defaultval"; then
11693 if test x"$enablestring" = xdisable; then
11694 defaultval=yes
11695 else
11696 defaultval=no
11697 fi
11698 fi
11699
11700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11701 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11702 # Check whether --enable-splitter was given.
11703 if test "${enable_splitter+set}" = set; then
11704 enableval=$enable_splitter;
11705 if test "$enableval" = yes; then
11706 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11707 else
11708 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11709 fi
11710
11711 else
11712
11713 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11714
11715 fi
11716
11717
11718 eval "$wx_cv_use_splitter"
11719
11720 if test x"$enablestring" = xdisable; then
11721 if test $wxUSE_SPLITTER = no; then
11722 result=yes
11723 else
11724 result=no
11725 fi
11726 else
11727 result=$wxUSE_SPLITTER
11728 fi
11729
11730 { echo "$as_me:$LINENO: result: $result" >&5
11731 echo "${ECHO_T}$result" >&6; }
11732
11733
11734 enablestring=
11735 defaultval=$wxUSE_ALL_FEATURES
11736 if test -z "$defaultval"; then
11737 if test x"$enablestring" = xdisable; then
11738 defaultval=yes
11739 else
11740 defaultval=no
11741 fi
11742 fi
11743
11744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11745 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11746 # Check whether --enable-statbmp was given.
11747 if test "${enable_statbmp+set}" = set; then
11748 enableval=$enable_statbmp;
11749 if test "$enableval" = yes; then
11750 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11751 else
11752 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11753 fi
11754
11755 else
11756
11757 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11758
11759 fi
11760
11761
11762 eval "$wx_cv_use_statbmp"
11763
11764 if test x"$enablestring" = xdisable; then
11765 if test $wxUSE_STATBMP = no; then
11766 result=yes
11767 else
11768 result=no
11769 fi
11770 else
11771 result=$wxUSE_STATBMP
11772 fi
11773
11774 { echo "$as_me:$LINENO: result: $result" >&5
11775 echo "${ECHO_T}$result" >&6; }
11776
11777
11778 enablestring=
11779 defaultval=$wxUSE_ALL_FEATURES
11780 if test -z "$defaultval"; then
11781 if test x"$enablestring" = xdisable; then
11782 defaultval=yes
11783 else
11784 defaultval=no
11785 fi
11786 fi
11787
11788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11789 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11790 # Check whether --enable-statbox was given.
11791 if test "${enable_statbox+set}" = set; then
11792 enableval=$enable_statbox;
11793 if test "$enableval" = yes; then
11794 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11795 else
11796 wx_cv_use_statbox='wxUSE_STATBOX=no'
11797 fi
11798
11799 else
11800
11801 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11802
11803 fi
11804
11805
11806 eval "$wx_cv_use_statbox"
11807
11808 if test x"$enablestring" = xdisable; then
11809 if test $wxUSE_STATBOX = no; then
11810 result=yes
11811 else
11812 result=no
11813 fi
11814 else
11815 result=$wxUSE_STATBOX
11816 fi
11817
11818 { echo "$as_me:$LINENO: result: $result" >&5
11819 echo "${ECHO_T}$result" >&6; }
11820
11821
11822 enablestring=
11823 defaultval=$wxUSE_ALL_FEATURES
11824 if test -z "$defaultval"; then
11825 if test x"$enablestring" = xdisable; then
11826 defaultval=yes
11827 else
11828 defaultval=no
11829 fi
11830 fi
11831
11832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11833 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11834 # Check whether --enable-statline was given.
11835 if test "${enable_statline+set}" = set; then
11836 enableval=$enable_statline;
11837 if test "$enableval" = yes; then
11838 wx_cv_use_statline='wxUSE_STATLINE=yes'
11839 else
11840 wx_cv_use_statline='wxUSE_STATLINE=no'
11841 fi
11842
11843 else
11844
11845 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11846
11847 fi
11848
11849
11850 eval "$wx_cv_use_statline"
11851
11852 if test x"$enablestring" = xdisable; then
11853 if test $wxUSE_STATLINE = no; then
11854 result=yes
11855 else
11856 result=no
11857 fi
11858 else
11859 result=$wxUSE_STATLINE
11860 fi
11861
11862 { echo "$as_me:$LINENO: result: $result" >&5
11863 echo "${ECHO_T}$result" >&6; }
11864
11865
11866 enablestring=
11867 defaultval=$wxUSE_ALL_FEATURES
11868 if test -z "$defaultval"; then
11869 if test x"$enablestring" = xdisable; then
11870 defaultval=yes
11871 else
11872 defaultval=no
11873 fi
11874 fi
11875
11876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11877 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11878 # Check whether --enable-stattext was given.
11879 if test "${enable_stattext+set}" = set; then
11880 enableval=$enable_stattext;
11881 if test "$enableval" = yes; then
11882 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11883 else
11884 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11885 fi
11886
11887 else
11888
11889 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11890
11891 fi
11892
11893
11894 eval "$wx_cv_use_stattext"
11895
11896 if test x"$enablestring" = xdisable; then
11897 if test $wxUSE_STATTEXT = no; then
11898 result=yes
11899 else
11900 result=no
11901 fi
11902 else
11903 result=$wxUSE_STATTEXT
11904 fi
11905
11906 { echo "$as_me:$LINENO: result: $result" >&5
11907 echo "${ECHO_T}$result" >&6; }
11908
11909
11910 enablestring=
11911 defaultval=$wxUSE_ALL_FEATURES
11912 if test -z "$defaultval"; then
11913 if test x"$enablestring" = xdisable; then
11914 defaultval=yes
11915 else
11916 defaultval=no
11917 fi
11918 fi
11919
11920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11921 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11922 # Check whether --enable-statusbar was given.
11923 if test "${enable_statusbar+set}" = set; then
11924 enableval=$enable_statusbar;
11925 if test "$enableval" = yes; then
11926 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11927 else
11928 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11929 fi
11930
11931 else
11932
11933 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11934
11935 fi
11936
11937
11938 eval "$wx_cv_use_statusbar"
11939
11940 if test x"$enablestring" = xdisable; then
11941 if test $wxUSE_STATUSBAR = no; then
11942 result=yes
11943 else
11944 result=no
11945 fi
11946 else
11947 result=$wxUSE_STATUSBAR
11948 fi
11949
11950 { echo "$as_me:$LINENO: result: $result" >&5
11951 echo "${ECHO_T}$result" >&6; }
11952
11953
11954 enablestring=
11955 defaultval=$wxUSE_ALL_FEATURES
11956 if test -z "$defaultval"; then
11957 if test x"$enablestring" = xdisable; then
11958 defaultval=yes
11959 else
11960 defaultval=no
11961 fi
11962 fi
11963
11964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11965 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11966 # Check whether --enable-taskbaricon was given.
11967 if test "${enable_taskbaricon+set}" = set; then
11968 enableval=$enable_taskbaricon;
11969 if test "$enableval" = yes; then
11970 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11971 else
11972 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11973 fi
11974
11975 else
11976
11977 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11978
11979 fi
11980
11981
11982 eval "$wx_cv_use_taskbaricon"
11983
11984 if test x"$enablestring" = xdisable; then
11985 if test $wxUSE_TASKBARICON = no; then
11986 result=yes
11987 else
11988 result=no
11989 fi
11990 else
11991 result=$wxUSE_TASKBARICON
11992 fi
11993
11994 { echo "$as_me:$LINENO: result: $result" >&5
11995 echo "${ECHO_T}$result" >&6; }
11996
11997
11998 enablestring=
11999 defaultval=$wxUSE_ALL_FEATURES
12000 if test -z "$defaultval"; then
12001 if test x"$enablestring" = xdisable; then
12002 defaultval=yes
12003 else
12004 defaultval=no
12005 fi
12006 fi
12007
12008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12009 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12010 # Check whether --enable-tbarnative was given.
12011 if test "${enable_tbarnative+set}" = set; then
12012 enableval=$enable_tbarnative;
12013 if test "$enableval" = yes; then
12014 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12015 else
12016 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12017 fi
12018
12019 else
12020
12021 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12022
12023 fi
12024
12025
12026 eval "$wx_cv_use_tbarnative"
12027
12028 if test x"$enablestring" = xdisable; then
12029 if test $wxUSE_TOOLBAR_NATIVE = no; then
12030 result=yes
12031 else
12032 result=no
12033 fi
12034 else
12035 result=$wxUSE_TOOLBAR_NATIVE
12036 fi
12037
12038 { echo "$as_me:$LINENO: result: $result" >&5
12039 echo "${ECHO_T}$result" >&6; }
12040
12041
12042 enablestring=
12043 defaultval=$wxUSE_ALL_FEATURES
12044 if test -z "$defaultval"; then
12045 if test x"$enablestring" = xdisable; then
12046 defaultval=yes
12047 else
12048 defaultval=no
12049 fi
12050 fi
12051
12052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12053 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12054 # Check whether --enable-textctrl was given.
12055 if test "${enable_textctrl+set}" = set; then
12056 enableval=$enable_textctrl;
12057 if test "$enableval" = yes; then
12058 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12059 else
12060 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12061 fi
12062
12063 else
12064
12065 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12066
12067 fi
12068
12069
12070 eval "$wx_cv_use_textctrl"
12071
12072 if test x"$enablestring" = xdisable; then
12073 if test $wxUSE_TEXTCTRL = no; then
12074 result=yes
12075 else
12076 result=no
12077 fi
12078 else
12079 result=$wxUSE_TEXTCTRL
12080 fi
12081
12082 { echo "$as_me:$LINENO: result: $result" >&5
12083 echo "${ECHO_T}$result" >&6; }
12084
12085
12086 enablestring=
12087 defaultval=$wxUSE_ALL_FEATURES
12088 if test -z "$defaultval"; then
12089 if test x"$enablestring" = xdisable; then
12090 defaultval=yes
12091 else
12092 defaultval=no
12093 fi
12094 fi
12095
12096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12097 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12098 # Check whether --enable-tipwindow was given.
12099 if test "${enable_tipwindow+set}" = set; then
12100 enableval=$enable_tipwindow;
12101 if test "$enableval" = yes; then
12102 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12103 else
12104 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12105 fi
12106
12107 else
12108
12109 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12110
12111 fi
12112
12113
12114 eval "$wx_cv_use_tipwindow"
12115
12116 if test x"$enablestring" = xdisable; then
12117 if test $wxUSE_TIPWINDOW = no; then
12118 result=yes
12119 else
12120 result=no
12121 fi
12122 else
12123 result=$wxUSE_TIPWINDOW
12124 fi
12125
12126 { echo "$as_me:$LINENO: result: $result" >&5
12127 echo "${ECHO_T}$result" >&6; }
12128
12129
12130 enablestring=
12131 defaultval=$wxUSE_ALL_FEATURES
12132 if test -z "$defaultval"; then
12133 if test x"$enablestring" = xdisable; then
12134 defaultval=yes
12135 else
12136 defaultval=no
12137 fi
12138 fi
12139
12140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12141 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12142 # Check whether --enable-togglebtn was given.
12143 if test "${enable_togglebtn+set}" = set; then
12144 enableval=$enable_togglebtn;
12145 if test "$enableval" = yes; then
12146 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12147 else
12148 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12149 fi
12150
12151 else
12152
12153 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12154
12155 fi
12156
12157
12158 eval "$wx_cv_use_togglebtn"
12159
12160 if test x"$enablestring" = xdisable; then
12161 if test $wxUSE_TOGGLEBTN = no; then
12162 result=yes
12163 else
12164 result=no
12165 fi
12166 else
12167 result=$wxUSE_TOGGLEBTN
12168 fi
12169
12170 { echo "$as_me:$LINENO: result: $result" >&5
12171 echo "${ECHO_T}$result" >&6; }
12172
12173
12174 enablestring=
12175 defaultval=$wxUSE_ALL_FEATURES
12176 if test -z "$defaultval"; then
12177 if test x"$enablestring" = xdisable; then
12178 defaultval=yes
12179 else
12180 defaultval=no
12181 fi
12182 fi
12183
12184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12185 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12186 # Check whether --enable-toolbar was given.
12187 if test "${enable_toolbar+set}" = set; then
12188 enableval=$enable_toolbar;
12189 if test "$enableval" = yes; then
12190 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12191 else
12192 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12193 fi
12194
12195 else
12196
12197 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12198
12199 fi
12200
12201
12202 eval "$wx_cv_use_toolbar"
12203
12204 if test x"$enablestring" = xdisable; then
12205 if test $wxUSE_TOOLBAR = no; then
12206 result=yes
12207 else
12208 result=no
12209 fi
12210 else
12211 result=$wxUSE_TOOLBAR
12212 fi
12213
12214 { echo "$as_me:$LINENO: result: $result" >&5
12215 echo "${ECHO_T}$result" >&6; }
12216
12217
12218 enablestring=
12219 defaultval=$wxUSE_ALL_FEATURES
12220 if test -z "$defaultval"; then
12221 if test x"$enablestring" = xdisable; then
12222 defaultval=yes
12223 else
12224 defaultval=no
12225 fi
12226 fi
12227
12228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12229 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12230 # Check whether --enable-toolbook was given.
12231 if test "${enable_toolbook+set}" = set; then
12232 enableval=$enable_toolbook;
12233 if test "$enableval" = yes; then
12234 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12235 else
12236 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12237 fi
12238
12239 else
12240
12241 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12242
12243 fi
12244
12245
12246 eval "$wx_cv_use_toolbook"
12247
12248 if test x"$enablestring" = xdisable; then
12249 if test $wxUSE_TOOLBOOK = no; then
12250 result=yes
12251 else
12252 result=no
12253 fi
12254 else
12255 result=$wxUSE_TOOLBOOK
12256 fi
12257
12258 { echo "$as_me:$LINENO: result: $result" >&5
12259 echo "${ECHO_T}$result" >&6; }
12260
12261
12262 enablestring=
12263 defaultval=$wxUSE_ALL_FEATURES
12264 if test -z "$defaultval"; then
12265 if test x"$enablestring" = xdisable; then
12266 defaultval=yes
12267 else
12268 defaultval=no
12269 fi
12270 fi
12271
12272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12273 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12274 # Check whether --enable-treebook was given.
12275 if test "${enable_treebook+set}" = set; then
12276 enableval=$enable_treebook;
12277 if test "$enableval" = yes; then
12278 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12279 else
12280 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12281 fi
12282
12283 else
12284
12285 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12286
12287 fi
12288
12289
12290 eval "$wx_cv_use_treebook"
12291
12292 if test x"$enablestring" = xdisable; then
12293 if test $wxUSE_TREEBOOK = no; then
12294 result=yes
12295 else
12296 result=no
12297 fi
12298 else
12299 result=$wxUSE_TREEBOOK
12300 fi
12301
12302 { echo "$as_me:$LINENO: result: $result" >&5
12303 echo "${ECHO_T}$result" >&6; }
12304
12305
12306 enablestring=
12307 defaultval=$wxUSE_ALL_FEATURES
12308 if test -z "$defaultval"; then
12309 if test x"$enablestring" = xdisable; then
12310 defaultval=yes
12311 else
12312 defaultval=no
12313 fi
12314 fi
12315
12316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12317 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12318 # Check whether --enable-treectrl was given.
12319 if test "${enable_treectrl+set}" = set; then
12320 enableval=$enable_treectrl;
12321 if test "$enableval" = yes; then
12322 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12323 else
12324 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12325 fi
12326
12327 else
12328
12329 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12330
12331 fi
12332
12333
12334 eval "$wx_cv_use_treectrl"
12335
12336 if test x"$enablestring" = xdisable; then
12337 if test $wxUSE_TREECTRL = no; then
12338 result=yes
12339 else
12340 result=no
12341 fi
12342 else
12343 result=$wxUSE_TREECTRL
12344 fi
12345
12346 { echo "$as_me:$LINENO: result: $result" >&5
12347 echo "${ECHO_T}$result" >&6; }
12348
12349
12350
12351
12352 enablestring=
12353 defaultval=$wxUSE_ALL_FEATURES
12354 if test -z "$defaultval"; then
12355 if test x"$enablestring" = xdisable; then
12356 defaultval=yes
12357 else
12358 defaultval=no
12359 fi
12360 fi
12361
12362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12363 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12364 # Check whether --enable-commondlg was given.
12365 if test "${enable_commondlg+set}" = set; then
12366 enableval=$enable_commondlg;
12367 if test "$enableval" = yes; then
12368 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12369 else
12370 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12371 fi
12372
12373 else
12374
12375 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12376
12377 fi
12378
12379
12380 eval "$wx_cv_use_commondlg"
12381
12382 if test x"$enablestring" = xdisable; then
12383 if test $wxUSE_COMMONDLGS = no; then
12384 result=yes
12385 else
12386 result=no
12387 fi
12388 else
12389 result=$wxUSE_COMMONDLGS
12390 fi
12391
12392 { echo "$as_me:$LINENO: result: $result" >&5
12393 echo "${ECHO_T}$result" >&6; }
12394
12395
12396 enablestring=
12397 defaultval=$wxUSE_ALL_FEATURES
12398 if test -z "$defaultval"; then
12399 if test x"$enablestring" = xdisable; then
12400 defaultval=yes
12401 else
12402 defaultval=no
12403 fi
12404 fi
12405
12406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12407 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12408 # Check whether --enable-aboutdlg was given.
12409 if test "${enable_aboutdlg+set}" = set; then
12410 enableval=$enable_aboutdlg;
12411 if test "$enableval" = yes; then
12412 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12413 else
12414 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12415 fi
12416
12417 else
12418
12419 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12420
12421 fi
12422
12423
12424 eval "$wx_cv_use_aboutdlg"
12425
12426 if test x"$enablestring" = xdisable; then
12427 if test $wxUSE_ABOUTDLG = no; then
12428 result=yes
12429 else
12430 result=no
12431 fi
12432 else
12433 result=$wxUSE_ABOUTDLG
12434 fi
12435
12436 { echo "$as_me:$LINENO: result: $result" >&5
12437 echo "${ECHO_T}$result" >&6; }
12438
12439
12440 enablestring=
12441 defaultval=$wxUSE_ALL_FEATURES
12442 if test -z "$defaultval"; then
12443 if test x"$enablestring" = xdisable; then
12444 defaultval=yes
12445 else
12446 defaultval=no
12447 fi
12448 fi
12449
12450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12451 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12452 # Check whether --enable-choicedlg was given.
12453 if test "${enable_choicedlg+set}" = set; then
12454 enableval=$enable_choicedlg;
12455 if test "$enableval" = yes; then
12456 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12457 else
12458 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12459 fi
12460
12461 else
12462
12463 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12464
12465 fi
12466
12467
12468 eval "$wx_cv_use_choicedlg"
12469
12470 if test x"$enablestring" = xdisable; then
12471 if test $wxUSE_CHOICEDLG = no; then
12472 result=yes
12473 else
12474 result=no
12475 fi
12476 else
12477 result=$wxUSE_CHOICEDLG
12478 fi
12479
12480 { echo "$as_me:$LINENO: result: $result" >&5
12481 echo "${ECHO_T}$result" >&6; }
12482
12483
12484 enablestring=
12485 defaultval=$wxUSE_ALL_FEATURES
12486 if test -z "$defaultval"; then
12487 if test x"$enablestring" = xdisable; then
12488 defaultval=yes
12489 else
12490 defaultval=no
12491 fi
12492 fi
12493
12494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12495 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12496 # Check whether --enable-coldlg was given.
12497 if test "${enable_coldlg+set}" = set; then
12498 enableval=$enable_coldlg;
12499 if test "$enableval" = yes; then
12500 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12501 else
12502 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12503 fi
12504
12505 else
12506
12507 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12508
12509 fi
12510
12511
12512 eval "$wx_cv_use_coldlg"
12513
12514 if test x"$enablestring" = xdisable; then
12515 if test $wxUSE_COLOURDLG = no; then
12516 result=yes
12517 else
12518 result=no
12519 fi
12520 else
12521 result=$wxUSE_COLOURDLG
12522 fi
12523
12524 { echo "$as_me:$LINENO: result: $result" >&5
12525 echo "${ECHO_T}$result" >&6; }
12526
12527
12528 enablestring=
12529 defaultval=$wxUSE_ALL_FEATURES
12530 if test -z "$defaultval"; then
12531 if test x"$enablestring" = xdisable; then
12532 defaultval=yes
12533 else
12534 defaultval=no
12535 fi
12536 fi
12537
12538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12539 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12540 # Check whether --enable-filedlg was given.
12541 if test "${enable_filedlg+set}" = set; then
12542 enableval=$enable_filedlg;
12543 if test "$enableval" = yes; then
12544 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12545 else
12546 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12547 fi
12548
12549 else
12550
12551 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12552
12553 fi
12554
12555
12556 eval "$wx_cv_use_filedlg"
12557
12558 if test x"$enablestring" = xdisable; then
12559 if test $wxUSE_FILEDLG = no; then
12560 result=yes
12561 else
12562 result=no
12563 fi
12564 else
12565 result=$wxUSE_FILEDLG
12566 fi
12567
12568 { echo "$as_me:$LINENO: result: $result" >&5
12569 echo "${ECHO_T}$result" >&6; }
12570
12571
12572 enablestring=
12573 defaultval=$wxUSE_ALL_FEATURES
12574 if test -z "$defaultval"; then
12575 if test x"$enablestring" = xdisable; then
12576 defaultval=yes
12577 else
12578 defaultval=no
12579 fi
12580 fi
12581
12582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12583 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12584 # Check whether --enable-finddlg was given.
12585 if test "${enable_finddlg+set}" = set; then
12586 enableval=$enable_finddlg;
12587 if test "$enableval" = yes; then
12588 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12589 else
12590 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12591 fi
12592
12593 else
12594
12595 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12596
12597 fi
12598
12599
12600 eval "$wx_cv_use_finddlg"
12601
12602 if test x"$enablestring" = xdisable; then
12603 if test $wxUSE_FINDREPLDLG = no; then
12604 result=yes
12605 else
12606 result=no
12607 fi
12608 else
12609 result=$wxUSE_FINDREPLDLG
12610 fi
12611
12612 { echo "$as_me:$LINENO: result: $result" >&5
12613 echo "${ECHO_T}$result" >&6; }
12614
12615
12616 enablestring=
12617 defaultval=$wxUSE_ALL_FEATURES
12618 if test -z "$defaultval"; then
12619 if test x"$enablestring" = xdisable; then
12620 defaultval=yes
12621 else
12622 defaultval=no
12623 fi
12624 fi
12625
12626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12627 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12628 # Check whether --enable-fontdlg was given.
12629 if test "${enable_fontdlg+set}" = set; then
12630 enableval=$enable_fontdlg;
12631 if test "$enableval" = yes; then
12632 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12633 else
12634 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12635 fi
12636
12637 else
12638
12639 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12640
12641 fi
12642
12643
12644 eval "$wx_cv_use_fontdlg"
12645
12646 if test x"$enablestring" = xdisable; then
12647 if test $wxUSE_FONTDLG = no; then
12648 result=yes
12649 else
12650 result=no
12651 fi
12652 else
12653 result=$wxUSE_FONTDLG
12654 fi
12655
12656 { echo "$as_me:$LINENO: result: $result" >&5
12657 echo "${ECHO_T}$result" >&6; }
12658
12659
12660 enablestring=
12661 defaultval=$wxUSE_ALL_FEATURES
12662 if test -z "$defaultval"; then
12663 if test x"$enablestring" = xdisable; then
12664 defaultval=yes
12665 else
12666 defaultval=no
12667 fi
12668 fi
12669
12670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12671 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12672 # Check whether --enable-dirdlg was given.
12673 if test "${enable_dirdlg+set}" = set; then
12674 enableval=$enable_dirdlg;
12675 if test "$enableval" = yes; then
12676 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12677 else
12678 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12679 fi
12680
12681 else
12682
12683 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12684
12685 fi
12686
12687
12688 eval "$wx_cv_use_dirdlg"
12689
12690 if test x"$enablestring" = xdisable; then
12691 if test $wxUSE_DIRDLG = no; then
12692 result=yes
12693 else
12694 result=no
12695 fi
12696 else
12697 result=$wxUSE_DIRDLG
12698 fi
12699
12700 { echo "$as_me:$LINENO: result: $result" >&5
12701 echo "${ECHO_T}$result" >&6; }
12702
12703
12704 enablestring=
12705 defaultval=$wxUSE_ALL_FEATURES
12706 if test -z "$defaultval"; then
12707 if test x"$enablestring" = xdisable; then
12708 defaultval=yes
12709 else
12710 defaultval=no
12711 fi
12712 fi
12713
12714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12715 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12716 # Check whether --enable-msgdlg was given.
12717 if test "${enable_msgdlg+set}" = set; then
12718 enableval=$enable_msgdlg;
12719 if test "$enableval" = yes; then
12720 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12721 else
12722 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12723 fi
12724
12725 else
12726
12727 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12728
12729 fi
12730
12731
12732 eval "$wx_cv_use_msgdlg"
12733
12734 if test x"$enablestring" = xdisable; then
12735 if test $wxUSE_MSGDLG = no; then
12736 result=yes
12737 else
12738 result=no
12739 fi
12740 else
12741 result=$wxUSE_MSGDLG
12742 fi
12743
12744 { echo "$as_me:$LINENO: result: $result" >&5
12745 echo "${ECHO_T}$result" >&6; }
12746
12747
12748 enablestring=
12749 defaultval=$wxUSE_ALL_FEATURES
12750 if test -z "$defaultval"; then
12751 if test x"$enablestring" = xdisable; then
12752 defaultval=yes
12753 else
12754 defaultval=no
12755 fi
12756 fi
12757
12758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12759 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12760 # Check whether --enable-numberdlg was given.
12761 if test "${enable_numberdlg+set}" = set; then
12762 enableval=$enable_numberdlg;
12763 if test "$enableval" = yes; then
12764 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12765 else
12766 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12767 fi
12768
12769 else
12770
12771 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12772
12773 fi
12774
12775
12776 eval "$wx_cv_use_numberdlg"
12777
12778 if test x"$enablestring" = xdisable; then
12779 if test $wxUSE_NUMBERDLG = no; then
12780 result=yes
12781 else
12782 result=no
12783 fi
12784 else
12785 result=$wxUSE_NUMBERDLG
12786 fi
12787
12788 { echo "$as_me:$LINENO: result: $result" >&5
12789 echo "${ECHO_T}$result" >&6; }
12790
12791
12792 enablestring=
12793 defaultval=$wxUSE_ALL_FEATURES
12794 if test -z "$defaultval"; then
12795 if test x"$enablestring" = xdisable; then
12796 defaultval=yes
12797 else
12798 defaultval=no
12799 fi
12800 fi
12801
12802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12803 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12804 # Check whether --enable-splash was given.
12805 if test "${enable_splash+set}" = set; then
12806 enableval=$enable_splash;
12807 if test "$enableval" = yes; then
12808 wx_cv_use_splash='wxUSE_SPLASH=yes'
12809 else
12810 wx_cv_use_splash='wxUSE_SPLASH=no'
12811 fi
12812
12813 else
12814
12815 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12816
12817 fi
12818
12819
12820 eval "$wx_cv_use_splash"
12821
12822 if test x"$enablestring" = xdisable; then
12823 if test $wxUSE_SPLASH = no; then
12824 result=yes
12825 else
12826 result=no
12827 fi
12828 else
12829 result=$wxUSE_SPLASH
12830 fi
12831
12832 { echo "$as_me:$LINENO: result: $result" >&5
12833 echo "${ECHO_T}$result" >&6; }
12834
12835
12836 enablestring=
12837 defaultval=$wxUSE_ALL_FEATURES
12838 if test -z "$defaultval"; then
12839 if test x"$enablestring" = xdisable; then
12840 defaultval=yes
12841 else
12842 defaultval=no
12843 fi
12844 fi
12845
12846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12847 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12848 # Check whether --enable-textdlg was given.
12849 if test "${enable_textdlg+set}" = set; then
12850 enableval=$enable_textdlg;
12851 if test "$enableval" = yes; then
12852 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12853 else
12854 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12855 fi
12856
12857 else
12858
12859 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12860
12861 fi
12862
12863
12864 eval "$wx_cv_use_textdlg"
12865
12866 if test x"$enablestring" = xdisable; then
12867 if test $wxUSE_TEXTDLG = no; then
12868 result=yes
12869 else
12870 result=no
12871 fi
12872 else
12873 result=$wxUSE_TEXTDLG
12874 fi
12875
12876 { echo "$as_me:$LINENO: result: $result" >&5
12877 echo "${ECHO_T}$result" >&6; }
12878
12879
12880 enablestring=
12881 defaultval=$wxUSE_ALL_FEATURES
12882 if test -z "$defaultval"; then
12883 if test x"$enablestring" = xdisable; then
12884 defaultval=yes
12885 else
12886 defaultval=no
12887 fi
12888 fi
12889
12890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12891 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12892 # Check whether --enable-tipdlg was given.
12893 if test "${enable_tipdlg+set}" = set; then
12894 enableval=$enable_tipdlg;
12895 if test "$enableval" = yes; then
12896 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12897 else
12898 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12899 fi
12900
12901 else
12902
12903 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12904
12905 fi
12906
12907
12908 eval "$wx_cv_use_tipdlg"
12909
12910 if test x"$enablestring" = xdisable; then
12911 if test $wxUSE_STARTUP_TIPS = no; then
12912 result=yes
12913 else
12914 result=no
12915 fi
12916 else
12917 result=$wxUSE_STARTUP_TIPS
12918 fi
12919
12920 { echo "$as_me:$LINENO: result: $result" >&5
12921 echo "${ECHO_T}$result" >&6; }
12922
12923
12924 enablestring=
12925 defaultval=$wxUSE_ALL_FEATURES
12926 if test -z "$defaultval"; then
12927 if test x"$enablestring" = xdisable; then
12928 defaultval=yes
12929 else
12930 defaultval=no
12931 fi
12932 fi
12933
12934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12935 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12936 # Check whether --enable-progressdlg was given.
12937 if test "${enable_progressdlg+set}" = set; then
12938 enableval=$enable_progressdlg;
12939 if test "$enableval" = yes; then
12940 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12941 else
12942 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12943 fi
12944
12945 else
12946
12947 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12948
12949 fi
12950
12951
12952 eval "$wx_cv_use_progressdlg"
12953
12954 if test x"$enablestring" = xdisable; then
12955 if test $wxUSE_PROGRESSDLG = no; then
12956 result=yes
12957 else
12958 result=no
12959 fi
12960 else
12961 result=$wxUSE_PROGRESSDLG
12962 fi
12963
12964 { echo "$as_me:$LINENO: result: $result" >&5
12965 echo "${ECHO_T}$result" >&6; }
12966
12967
12968 enablestring=
12969 defaultval=$wxUSE_ALL_FEATURES
12970 if test -z "$defaultval"; then
12971 if test x"$enablestring" = xdisable; then
12972 defaultval=yes
12973 else
12974 defaultval=no
12975 fi
12976 fi
12977
12978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12979 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12980 # Check whether --enable-wizarddlg was given.
12981 if test "${enable_wizarddlg+set}" = set; then
12982 enableval=$enable_wizarddlg;
12983 if test "$enableval" = yes; then
12984 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12985 else
12986 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12987 fi
12988
12989 else
12990
12991 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12992
12993 fi
12994
12995
12996 eval "$wx_cv_use_wizarddlg"
12997
12998 if test x"$enablestring" = xdisable; then
12999 if test $wxUSE_WIZARDDLG = no; then
13000 result=yes
13001 else
13002 result=no
13003 fi
13004 else
13005 result=$wxUSE_WIZARDDLG
13006 fi
13007
13008 { echo "$as_me:$LINENO: result: $result" >&5
13009 echo "${ECHO_T}$result" >&6; }
13010
13011
13012
13013
13014 enablestring=
13015 defaultval=$wxUSE_ALL_FEATURES
13016 if test -z "$defaultval"; then
13017 if test x"$enablestring" = xdisable; then
13018 defaultval=yes
13019 else
13020 defaultval=no
13021 fi
13022 fi
13023
13024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13025 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13026 # Check whether --enable-menus was given.
13027 if test "${enable_menus+set}" = set; then
13028 enableval=$enable_menus;
13029 if test "$enableval" = yes; then
13030 wx_cv_use_menus='wxUSE_MENUS=yes'
13031 else
13032 wx_cv_use_menus='wxUSE_MENUS=no'
13033 fi
13034
13035 else
13036
13037 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13038
13039 fi
13040
13041
13042 eval "$wx_cv_use_menus"
13043
13044 if test x"$enablestring" = xdisable; then
13045 if test $wxUSE_MENUS = no; then
13046 result=yes
13047 else
13048 result=no
13049 fi
13050 else
13051 result=$wxUSE_MENUS
13052 fi
13053
13054 { echo "$as_me:$LINENO: result: $result" >&5
13055 echo "${ECHO_T}$result" >&6; }
13056
13057
13058 enablestring=
13059 defaultval=$wxUSE_ALL_FEATURES
13060 if test -z "$defaultval"; then
13061 if test x"$enablestring" = xdisable; then
13062 defaultval=yes
13063 else
13064 defaultval=no
13065 fi
13066 fi
13067
13068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13069 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13070 # Check whether --enable-miniframe was given.
13071 if test "${enable_miniframe+set}" = set; then
13072 enableval=$enable_miniframe;
13073 if test "$enableval" = yes; then
13074 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13075 else
13076 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13077 fi
13078
13079 else
13080
13081 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13082
13083 fi
13084
13085
13086 eval "$wx_cv_use_miniframe"
13087
13088 if test x"$enablestring" = xdisable; then
13089 if test $wxUSE_MINIFRAME = no; then
13090 result=yes
13091 else
13092 result=no
13093 fi
13094 else
13095 result=$wxUSE_MINIFRAME
13096 fi
13097
13098 { echo "$as_me:$LINENO: result: $result" >&5
13099 echo "${ECHO_T}$result" >&6; }
13100
13101
13102 enablestring=
13103 defaultval=$wxUSE_ALL_FEATURES
13104 if test -z "$defaultval"; then
13105 if test x"$enablestring" = xdisable; then
13106 defaultval=yes
13107 else
13108 defaultval=no
13109 fi
13110 fi
13111
13112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13113 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13114 # Check whether --enable-tooltips was given.
13115 if test "${enable_tooltips+set}" = set; then
13116 enableval=$enable_tooltips;
13117 if test "$enableval" = yes; then
13118 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13119 else
13120 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13121 fi
13122
13123 else
13124
13125 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13126
13127 fi
13128
13129
13130 eval "$wx_cv_use_tooltips"
13131
13132 if test x"$enablestring" = xdisable; then
13133 if test $wxUSE_TOOLTIPS = no; then
13134 result=yes
13135 else
13136 result=no
13137 fi
13138 else
13139 result=$wxUSE_TOOLTIPS
13140 fi
13141
13142 { echo "$as_me:$LINENO: result: $result" >&5
13143 echo "${ECHO_T}$result" >&6; }
13144
13145
13146 enablestring=
13147 defaultval=$wxUSE_ALL_FEATURES
13148 if test -z "$defaultval"; then
13149 if test x"$enablestring" = xdisable; then
13150 defaultval=yes
13151 else
13152 defaultval=no
13153 fi
13154 fi
13155
13156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13157 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13158 # Check whether --enable-splines was given.
13159 if test "${enable_splines+set}" = set; then
13160 enableval=$enable_splines;
13161 if test "$enableval" = yes; then
13162 wx_cv_use_splines='wxUSE_SPLINES=yes'
13163 else
13164 wx_cv_use_splines='wxUSE_SPLINES=no'
13165 fi
13166
13167 else
13168
13169 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13170
13171 fi
13172
13173
13174 eval "$wx_cv_use_splines"
13175
13176 if test x"$enablestring" = xdisable; then
13177 if test $wxUSE_SPLINES = no; then
13178 result=yes
13179 else
13180 result=no
13181 fi
13182 else
13183 result=$wxUSE_SPLINES
13184 fi
13185
13186 { echo "$as_me:$LINENO: result: $result" >&5
13187 echo "${ECHO_T}$result" >&6; }
13188
13189
13190 enablestring=
13191 defaultval=$wxUSE_ALL_FEATURES
13192 if test -z "$defaultval"; then
13193 if test x"$enablestring" = xdisable; then
13194 defaultval=yes
13195 else
13196 defaultval=no
13197 fi
13198 fi
13199
13200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13201 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13202 # Check whether --enable-mousewheel was given.
13203 if test "${enable_mousewheel+set}" = set; then
13204 enableval=$enable_mousewheel;
13205 if test "$enableval" = yes; then
13206 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13207 else
13208 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13209 fi
13210
13211 else
13212
13213 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13214
13215 fi
13216
13217
13218 eval "$wx_cv_use_mousewheel"
13219
13220 if test x"$enablestring" = xdisable; then
13221 if test $wxUSE_MOUSEWHEEL = no; then
13222 result=yes
13223 else
13224 result=no
13225 fi
13226 else
13227 result=$wxUSE_MOUSEWHEEL
13228 fi
13229
13230 { echo "$as_me:$LINENO: result: $result" >&5
13231 echo "${ECHO_T}$result" >&6; }
13232
13233
13234 enablestring=
13235 defaultval=$wxUSE_ALL_FEATURES
13236 if test -z "$defaultval"; then
13237 if test x"$enablestring" = xdisable; then
13238 defaultval=yes
13239 else
13240 defaultval=no
13241 fi
13242 fi
13243
13244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13245 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13246 # Check whether --enable-validators was given.
13247 if test "${enable_validators+set}" = set; then
13248 enableval=$enable_validators;
13249 if test "$enableval" = yes; then
13250 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13251 else
13252 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13253 fi
13254
13255 else
13256
13257 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13258
13259 fi
13260
13261
13262 eval "$wx_cv_use_validators"
13263
13264 if test x"$enablestring" = xdisable; then
13265 if test $wxUSE_VALIDATORS = no; then
13266 result=yes
13267 else
13268 result=no
13269 fi
13270 else
13271 result=$wxUSE_VALIDATORS
13272 fi
13273
13274 { echo "$as_me:$LINENO: result: $result" >&5
13275 echo "${ECHO_T}$result" >&6; }
13276
13277
13278 enablestring=
13279 defaultval=$wxUSE_ALL_FEATURES
13280 if test -z "$defaultval"; then
13281 if test x"$enablestring" = xdisable; then
13282 defaultval=yes
13283 else
13284 defaultval=no
13285 fi
13286 fi
13287
13288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13289 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13290 # Check whether --enable-busyinfo was given.
13291 if test "${enable_busyinfo+set}" = set; then
13292 enableval=$enable_busyinfo;
13293 if test "$enableval" = yes; then
13294 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13295 else
13296 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13297 fi
13298
13299 else
13300
13301 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13302
13303 fi
13304
13305
13306 eval "$wx_cv_use_busyinfo"
13307
13308 if test x"$enablestring" = xdisable; then
13309 if test $wxUSE_BUSYINFO = no; then
13310 result=yes
13311 else
13312 result=no
13313 fi
13314 else
13315 result=$wxUSE_BUSYINFO
13316 fi
13317
13318 { echo "$as_me:$LINENO: result: $result" >&5
13319 echo "${ECHO_T}$result" >&6; }
13320
13321
13322 enablestring=
13323 defaultval=$wxUSE_ALL_FEATURES
13324 if test -z "$defaultval"; then
13325 if test x"$enablestring" = xdisable; then
13326 defaultval=yes
13327 else
13328 defaultval=no
13329 fi
13330 fi
13331
13332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13333 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13334 # Check whether --enable-joystick was given.
13335 if test "${enable_joystick+set}" = set; then
13336 enableval=$enable_joystick;
13337 if test "$enableval" = yes; then
13338 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13339 else
13340 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13341 fi
13342
13343 else
13344
13345 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13346
13347 fi
13348
13349
13350 eval "$wx_cv_use_joystick"
13351
13352 if test x"$enablestring" = xdisable; then
13353 if test $wxUSE_JOYSTICK = no; then
13354 result=yes
13355 else
13356 result=no
13357 fi
13358 else
13359 result=$wxUSE_JOYSTICK
13360 fi
13361
13362 { echo "$as_me:$LINENO: result: $result" >&5
13363 echo "${ECHO_T}$result" >&6; }
13364
13365
13366 enablestring=
13367 defaultval=$wxUSE_ALL_FEATURES
13368 if test -z "$defaultval"; then
13369 if test x"$enablestring" = xdisable; then
13370 defaultval=yes
13371 else
13372 defaultval=no
13373 fi
13374 fi
13375
13376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13377 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13378 # Check whether --enable-metafile was given.
13379 if test "${enable_metafile+set}" = set; then
13380 enableval=$enable_metafile;
13381 if test "$enableval" = yes; then
13382 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13383 else
13384 wx_cv_use_metafile='wxUSE_METAFILE=no'
13385 fi
13386
13387 else
13388
13389 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13390
13391 fi
13392
13393
13394 eval "$wx_cv_use_metafile"
13395
13396 if test x"$enablestring" = xdisable; then
13397 if test $wxUSE_METAFILE = no; then
13398 result=yes
13399 else
13400 result=no
13401 fi
13402 else
13403 result=$wxUSE_METAFILE
13404 fi
13405
13406 { echo "$as_me:$LINENO: result: $result" >&5
13407 echo "${ECHO_T}$result" >&6; }
13408
13409
13410 enablestring=
13411 defaultval=$wxUSE_ALL_FEATURES
13412 if test -z "$defaultval"; then
13413 if test x"$enablestring" = xdisable; then
13414 defaultval=yes
13415 else
13416 defaultval=no
13417 fi
13418 fi
13419
13420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13421 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13422 # Check whether --enable-dragimage was given.
13423 if test "${enable_dragimage+set}" = set; then
13424 enableval=$enable_dragimage;
13425 if test "$enableval" = yes; then
13426 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13427 else
13428 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13429 fi
13430
13431 else
13432
13433 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13434
13435 fi
13436
13437
13438 eval "$wx_cv_use_dragimage"
13439
13440 if test x"$enablestring" = xdisable; then
13441 if test $wxUSE_DRAGIMAGE = no; then
13442 result=yes
13443 else
13444 result=no
13445 fi
13446 else
13447 result=$wxUSE_DRAGIMAGE
13448 fi
13449
13450 { echo "$as_me:$LINENO: result: $result" >&5
13451 echo "${ECHO_T}$result" >&6; }
13452
13453
13454 enablestring=
13455 defaultval=$wxUSE_ALL_FEATURES
13456 if test -z "$defaultval"; then
13457 if test x"$enablestring" = xdisable; then
13458 defaultval=yes
13459 else
13460 defaultval=no
13461 fi
13462 fi
13463
13464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13465 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13466 # Check whether --enable-accessibility was given.
13467 if test "${enable_accessibility+set}" = set; then
13468 enableval=$enable_accessibility;
13469 if test "$enableval" = yes; then
13470 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13471 else
13472 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13473 fi
13474
13475 else
13476
13477 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13478
13479 fi
13480
13481
13482 eval "$wx_cv_use_accessibility"
13483
13484 if test x"$enablestring" = xdisable; then
13485 if test $wxUSE_ACCESSIBILITY = no; then
13486 result=yes
13487 else
13488 result=no
13489 fi
13490 else
13491 result=$wxUSE_ACCESSIBILITY
13492 fi
13493
13494 { echo "$as_me:$LINENO: result: $result" >&5
13495 echo "${ECHO_T}$result" >&6; }
13496
13497
13498
13499
13500 enablestring=
13501 defaultval=$wxUSE_ALL_FEATURES
13502 if test -z "$defaultval"; then
13503 if test x"$enablestring" = xdisable; then
13504 defaultval=yes
13505 else
13506 defaultval=no
13507 fi
13508 fi
13509
13510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13511 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13512 # Check whether --enable-palette was given.
13513 if test "${enable_palette+set}" = set; then
13514 enableval=$enable_palette;
13515 if test "$enableval" = yes; then
13516 wx_cv_use_palette='wxUSE_PALETTE=yes'
13517 else
13518 wx_cv_use_palette='wxUSE_PALETTE=no'
13519 fi
13520
13521 else
13522
13523 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13524
13525 fi
13526
13527
13528 eval "$wx_cv_use_palette"
13529
13530 if test x"$enablestring" = xdisable; then
13531 if test $wxUSE_PALETTE = no; then
13532 result=yes
13533 else
13534 result=no
13535 fi
13536 else
13537 result=$wxUSE_PALETTE
13538 fi
13539
13540 { echo "$as_me:$LINENO: result: $result" >&5
13541 echo "${ECHO_T}$result" >&6; }
13542
13543
13544 enablestring=
13545 defaultval=$wxUSE_ALL_FEATURES
13546 if test -z "$defaultval"; then
13547 if test x"$enablestring" = xdisable; then
13548 defaultval=yes
13549 else
13550 defaultval=no
13551 fi
13552 fi
13553
13554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13555 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13556 # Check whether --enable-image was given.
13557 if test "${enable_image+set}" = set; then
13558 enableval=$enable_image;
13559 if test "$enableval" = yes; then
13560 wx_cv_use_image='wxUSE_IMAGE=yes'
13561 else
13562 wx_cv_use_image='wxUSE_IMAGE=no'
13563 fi
13564
13565 else
13566
13567 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13568
13569 fi
13570
13571
13572 eval "$wx_cv_use_image"
13573
13574 if test x"$enablestring" = xdisable; then
13575 if test $wxUSE_IMAGE = no; then
13576 result=yes
13577 else
13578 result=no
13579 fi
13580 else
13581 result=$wxUSE_IMAGE
13582 fi
13583
13584 { echo "$as_me:$LINENO: result: $result" >&5
13585 echo "${ECHO_T}$result" >&6; }
13586
13587
13588 enablestring=
13589 defaultval=$wxUSE_ALL_FEATURES
13590 if test -z "$defaultval"; then
13591 if test x"$enablestring" = xdisable; then
13592 defaultval=yes
13593 else
13594 defaultval=no
13595 fi
13596 fi
13597
13598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13599 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13600 # Check whether --enable-gif was given.
13601 if test "${enable_gif+set}" = set; then
13602 enableval=$enable_gif;
13603 if test "$enableval" = yes; then
13604 wx_cv_use_gif='wxUSE_GIF=yes'
13605 else
13606 wx_cv_use_gif='wxUSE_GIF=no'
13607 fi
13608
13609 else
13610
13611 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13612
13613 fi
13614
13615
13616 eval "$wx_cv_use_gif"
13617
13618 if test x"$enablestring" = xdisable; then
13619 if test $wxUSE_GIF = no; then
13620 result=yes
13621 else
13622 result=no
13623 fi
13624 else
13625 result=$wxUSE_GIF
13626 fi
13627
13628 { echo "$as_me:$LINENO: result: $result" >&5
13629 echo "${ECHO_T}$result" >&6; }
13630
13631
13632 enablestring=
13633 defaultval=$wxUSE_ALL_FEATURES
13634 if test -z "$defaultval"; then
13635 if test x"$enablestring" = xdisable; then
13636 defaultval=yes
13637 else
13638 defaultval=no
13639 fi
13640 fi
13641
13642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13643 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13644 # Check whether --enable-pcx was given.
13645 if test "${enable_pcx+set}" = set; then
13646 enableval=$enable_pcx;
13647 if test "$enableval" = yes; then
13648 wx_cv_use_pcx='wxUSE_PCX=yes'
13649 else
13650 wx_cv_use_pcx='wxUSE_PCX=no'
13651 fi
13652
13653 else
13654
13655 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13656
13657 fi
13658
13659
13660 eval "$wx_cv_use_pcx"
13661
13662 if test x"$enablestring" = xdisable; then
13663 if test $wxUSE_PCX = no; then
13664 result=yes
13665 else
13666 result=no
13667 fi
13668 else
13669 result=$wxUSE_PCX
13670 fi
13671
13672 { echo "$as_me:$LINENO: result: $result" >&5
13673 echo "${ECHO_T}$result" >&6; }
13674
13675
13676 enablestring=
13677 defaultval=$wxUSE_ALL_FEATURES
13678 if test -z "$defaultval"; then
13679 if test x"$enablestring" = xdisable; then
13680 defaultval=yes
13681 else
13682 defaultval=no
13683 fi
13684 fi
13685
13686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13687 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13688 # Check whether --enable-tga was given.
13689 if test "${enable_tga+set}" = set; then
13690 enableval=$enable_tga;
13691 if test "$enableval" = yes; then
13692 wx_cv_use_tga='wxUSE_TGA=yes'
13693 else
13694 wx_cv_use_tga='wxUSE_TGA=no'
13695 fi
13696
13697 else
13698
13699 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13700
13701 fi
13702
13703
13704 eval "$wx_cv_use_tga"
13705
13706 if test x"$enablestring" = xdisable; then
13707 if test $wxUSE_TGA = no; then
13708 result=yes
13709 else
13710 result=no
13711 fi
13712 else
13713 result=$wxUSE_TGA
13714 fi
13715
13716 { echo "$as_me:$LINENO: result: $result" >&5
13717 echo "${ECHO_T}$result" >&6; }
13718
13719
13720 enablestring=
13721 defaultval=$wxUSE_ALL_FEATURES
13722 if test -z "$defaultval"; then
13723 if test x"$enablestring" = xdisable; then
13724 defaultval=yes
13725 else
13726 defaultval=no
13727 fi
13728 fi
13729
13730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13731 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13732 # Check whether --enable-iff was given.
13733 if test "${enable_iff+set}" = set; then
13734 enableval=$enable_iff;
13735 if test "$enableval" = yes; then
13736 wx_cv_use_iff='wxUSE_IFF=yes'
13737 else
13738 wx_cv_use_iff='wxUSE_IFF=no'
13739 fi
13740
13741 else
13742
13743 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13744
13745 fi
13746
13747
13748 eval "$wx_cv_use_iff"
13749
13750 if test x"$enablestring" = xdisable; then
13751 if test $wxUSE_IFF = no; then
13752 result=yes
13753 else
13754 result=no
13755 fi
13756 else
13757 result=$wxUSE_IFF
13758 fi
13759
13760 { echo "$as_me:$LINENO: result: $result" >&5
13761 echo "${ECHO_T}$result" >&6; }
13762
13763
13764 enablestring=
13765 defaultval=$wxUSE_ALL_FEATURES
13766 if test -z "$defaultval"; then
13767 if test x"$enablestring" = xdisable; then
13768 defaultval=yes
13769 else
13770 defaultval=no
13771 fi
13772 fi
13773
13774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13775 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13776 # Check whether --enable-pnm was given.
13777 if test "${enable_pnm+set}" = set; then
13778 enableval=$enable_pnm;
13779 if test "$enableval" = yes; then
13780 wx_cv_use_pnm='wxUSE_PNM=yes'
13781 else
13782 wx_cv_use_pnm='wxUSE_PNM=no'
13783 fi
13784
13785 else
13786
13787 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13788
13789 fi
13790
13791
13792 eval "$wx_cv_use_pnm"
13793
13794 if test x"$enablestring" = xdisable; then
13795 if test $wxUSE_PNM = no; then
13796 result=yes
13797 else
13798 result=no
13799 fi
13800 else
13801 result=$wxUSE_PNM
13802 fi
13803
13804 { echo "$as_me:$LINENO: result: $result" >&5
13805 echo "${ECHO_T}$result" >&6; }
13806
13807
13808 enablestring=
13809 defaultval=$wxUSE_ALL_FEATURES
13810 if test -z "$defaultval"; then
13811 if test x"$enablestring" = xdisable; then
13812 defaultval=yes
13813 else
13814 defaultval=no
13815 fi
13816 fi
13817
13818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13819 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13820 # Check whether --enable-xpm was given.
13821 if test "${enable_xpm+set}" = set; then
13822 enableval=$enable_xpm;
13823 if test "$enableval" = yes; then
13824 wx_cv_use_xpm='wxUSE_XPM=yes'
13825 else
13826 wx_cv_use_xpm='wxUSE_XPM=no'
13827 fi
13828
13829 else
13830
13831 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13832
13833 fi
13834
13835
13836 eval "$wx_cv_use_xpm"
13837
13838 if test x"$enablestring" = xdisable; then
13839 if test $wxUSE_XPM = no; then
13840 result=yes
13841 else
13842 result=no
13843 fi
13844 else
13845 result=$wxUSE_XPM
13846 fi
13847
13848 { echo "$as_me:$LINENO: result: $result" >&5
13849 echo "${ECHO_T}$result" >&6; }
13850
13851
13852 enablestring=
13853 defaultval=$wxUSE_ALL_FEATURES
13854 if test -z "$defaultval"; then
13855 if test x"$enablestring" = xdisable; then
13856 defaultval=yes
13857 else
13858 defaultval=no
13859 fi
13860 fi
13861
13862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13863 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13864 # Check whether --enable-ico_cur was given.
13865 if test "${enable_ico_cur+set}" = set; then
13866 enableval=$enable_ico_cur;
13867 if test "$enableval" = yes; then
13868 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13869 else
13870 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13871 fi
13872
13873 else
13874
13875 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13876
13877 fi
13878
13879
13880 eval "$wx_cv_use_ico_cur"
13881
13882 if test x"$enablestring" = xdisable; then
13883 if test $wxUSE_ICO_CUR = no; then
13884 result=yes
13885 else
13886 result=no
13887 fi
13888 else
13889 result=$wxUSE_ICO_CUR
13890 fi
13891
13892 { echo "$as_me:$LINENO: result: $result" >&5
13893 echo "${ECHO_T}$result" >&6; }
13894
13895
13896
13897
13898 enablestring=
13899 defaultval=$wxUSE_ALL_FEATURES
13900 if test -z "$defaultval"; then
13901 if test x"$enablestring" = xdisable; then
13902 defaultval=yes
13903 else
13904 defaultval=no
13905 fi
13906 fi
13907
13908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13909 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13910 # Check whether --enable-dccache was given.
13911 if test "${enable_dccache+set}" = set; then
13912 enableval=$enable_dccache;
13913 if test "$enableval" = yes; then
13914 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13915 else
13916 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13917 fi
13918
13919 else
13920
13921 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13922
13923 fi
13924
13925
13926 eval "$wx_cv_use_dccache"
13927
13928 if test x"$enablestring" = xdisable; then
13929 if test $wxUSE_DC_CACHEING = no; then
13930 result=yes
13931 else
13932 result=no
13933 fi
13934 else
13935 result=$wxUSE_DC_CACHEING
13936 fi
13937
13938 { echo "$as_me:$LINENO: result: $result" >&5
13939 echo "${ECHO_T}$result" >&6; }
13940
13941
13942 enablestring=
13943 defaultval=$wxUSE_ALL_FEATURES
13944 if test -z "$defaultval"; then
13945 if test x"$enablestring" = xdisable; then
13946 defaultval=yes
13947 else
13948 defaultval=no
13949 fi
13950 fi
13951
13952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13953 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13954 # Check whether --enable-ps-in-msw was given.
13955 if test "${enable_ps_in_msw+set}" = set; then
13956 enableval=$enable_ps_in_msw;
13957 if test "$enableval" = yes; then
13958 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13959 else
13960 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13961 fi
13962
13963 else
13964
13965 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13966
13967 fi
13968
13969
13970 eval "$wx_cv_use_ps_in_msw"
13971
13972 if test x"$enablestring" = xdisable; then
13973 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
13974 result=yes
13975 else
13976 result=no
13977 fi
13978 else
13979 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13980 fi
13981
13982 { echo "$as_me:$LINENO: result: $result" >&5
13983 echo "${ECHO_T}$result" >&6; }
13984
13985
13986 enablestring=
13987 defaultval=$wxUSE_ALL_FEATURES
13988 if test -z "$defaultval"; then
13989 if test x"$enablestring" = xdisable; then
13990 defaultval=yes
13991 else
13992 defaultval=no
13993 fi
13994 fi
13995
13996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13997 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13998 # Check whether --enable-ownerdrawn was given.
13999 if test "${enable_ownerdrawn+set}" = set; then
14000 enableval=$enable_ownerdrawn;
14001 if test "$enableval" = yes; then
14002 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14003 else
14004 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14005 fi
14006
14007 else
14008
14009 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14010
14011 fi
14012
14013
14014 eval "$wx_cv_use_ownerdrawn"
14015
14016 if test x"$enablestring" = xdisable; then
14017 if test $wxUSE_OWNER_DRAWN = no; then
14018 result=yes
14019 else
14020 result=no
14021 fi
14022 else
14023 result=$wxUSE_OWNER_DRAWN
14024 fi
14025
14026 { echo "$as_me:$LINENO: result: $result" >&5
14027 echo "${ECHO_T}$result" >&6; }
14028
14029
14030 enablestring=
14031 defaultval=$wxUSE_ALL_FEATURES
14032 if test -z "$defaultval"; then
14033 if test x"$enablestring" = xdisable; then
14034 defaultval=yes
14035 else
14036 defaultval=no
14037 fi
14038 fi
14039
14040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14041 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14042 # Check whether --enable-uxtheme was given.
14043 if test "${enable_uxtheme+set}" = set; then
14044 enableval=$enable_uxtheme;
14045 if test "$enableval" = yes; then
14046 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14047 else
14048 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14049 fi
14050
14051 else
14052
14053 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14054
14055 fi
14056
14057
14058 eval "$wx_cv_use_uxtheme"
14059
14060 if test x"$enablestring" = xdisable; then
14061 if test $wxUSE_UXTHEME = no; then
14062 result=yes
14063 else
14064 result=no
14065 fi
14066 else
14067 result=$wxUSE_UXTHEME
14068 fi
14069
14070 { echo "$as_me:$LINENO: result: $result" >&5
14071 echo "${ECHO_T}$result" >&6; }
14072
14073
14074 enablestring=
14075 defaultval=$wxUSE_ALL_FEATURES
14076 if test -z "$defaultval"; then
14077 if test x"$enablestring" = xdisable; then
14078 defaultval=yes
14079 else
14080 defaultval=no
14081 fi
14082 fi
14083
14084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14085 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14086 # Check whether --enable-wxdib was given.
14087 if test "${enable_wxdib+set}" = set; then
14088 enableval=$enable_wxdib;
14089 if test "$enableval" = yes; then
14090 wx_cv_use_wxdib='wxUSE_DIB=yes'
14091 else
14092 wx_cv_use_wxdib='wxUSE_DIB=no'
14093 fi
14094
14095 else
14096
14097 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14098
14099 fi
14100
14101
14102 eval "$wx_cv_use_wxdib"
14103
14104 if test x"$enablestring" = xdisable; then
14105 if test $wxUSE_DIB = no; then
14106 result=yes
14107 else
14108 result=no
14109 fi
14110 else
14111 result=$wxUSE_DIB
14112 fi
14113
14114 { echo "$as_me:$LINENO: result: $result" >&5
14115 echo "${ECHO_T}$result" >&6; }
14116
14117
14118 if test "$wxUSE_MSW" != 1; then
14119 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14120 fi
14121
14122
14123 enablestring=
14124 defaultval=$wxUSE_ALL_FEATURES
14125 if test -z "$defaultval"; then
14126 if test x"$enablestring" = xdisable; then
14127 defaultval=yes
14128 else
14129 defaultval=no
14130 fi
14131 fi
14132
14133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14134 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14135 # Check whether --enable-autoidman was given.
14136 if test "${enable_autoidman+set}" = set; then
14137 enableval=$enable_autoidman;
14138 if test "$enableval" = yes; then
14139 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14140 else
14141 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14142 fi
14143
14144 else
14145
14146 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14147
14148 fi
14149
14150
14151 eval "$wx_cv_use_autoidman"
14152
14153 if test x"$enablestring" = xdisable; then
14154 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14155 result=yes
14156 else
14157 result=no
14158 fi
14159 else
14160 result=$wxUSE_AUTOID_MANAGEMENT
14161 fi
14162
14163 { echo "$as_me:$LINENO: result: $result" >&5
14164 echo "${ECHO_T}$result" >&6; }
14165
14166
14167 fi
14168
14169
14170 cat >confcache <<\_ACEOF
14171 # This file is a shell script that caches the results of configure
14172 # tests run on this system so they can be shared between configure
14173 # scripts and configure runs, see configure's option --config-cache.
14174 # It is not useful on other systems. If it contains results you don't
14175 # want to keep, you may remove or edit it.
14176 #
14177 # config.status only pays attention to the cache file if you give it
14178 # the --recheck option to rerun configure.
14179 #
14180 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14181 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14182 # following values.
14183
14184 _ACEOF
14185
14186 # The following way of writing the cache mishandles newlines in values,
14187 # but we know of no workaround that is simple, portable, and efficient.
14188 # So, we kill variables containing newlines.
14189 # Ultrix sh set writes to stderr and can't be redirected directly,
14190 # and sets the high bit in the cache file unless we assign to the vars.
14191 (
14192 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14193 eval ac_val=\$$ac_var
14194 case $ac_val in #(
14195 *${as_nl}*)
14196 case $ac_var in #(
14197 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14198 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14199 esac
14200 case $ac_var in #(
14201 _ | IFS | as_nl) ;; #(
14202 *) $as_unset $ac_var ;;
14203 esac ;;
14204 esac
14205 done
14206
14207 (set) 2>&1 |
14208 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14209 *${as_nl}ac_space=\ *)
14210 # `set' does not quote correctly, so add quotes (double-quote
14211 # substitution turns \\\\ into \\, and sed turns \\ into \).
14212 sed -n \
14213 "s/'/'\\\\''/g;
14214 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14215 ;; #(
14216 *)
14217 # `set' quotes correctly as required by POSIX, so do not add quotes.
14218 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14219 ;;
14220 esac |
14221 sort
14222 ) |
14223 sed '
14224 /^ac_cv_env_/b end
14225 t clear
14226 :clear
14227 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14228 t end
14229 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14230 :end' >>confcache
14231 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14232 if test -w "$cache_file"; then
14233 test "x$cache_file" != "x/dev/null" &&
14234 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14235 echo "$as_me: updating cache $cache_file" >&6;}
14236 cat confcache >$cache_file
14237 else
14238 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14239 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14240 fi
14241 fi
14242 rm -f confcache
14243
14244 CFLAGS=${CFLAGS:=}
14245
14246
14247
14248 ac_ext=c
14249 ac_cpp='$CPP $CPPFLAGS'
14250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14253 if test -n "$ac_tool_prefix"; then
14254 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14255 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14258 if test "${ac_cv_prog_CC+set}" = set; then
14259 echo $ECHO_N "(cached) $ECHO_C" >&6
14260 else
14261 if test -n "$CC"; then
14262 ac_cv_prog_CC="$CC" # Let the user override the test.
14263 else
14264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14265 for as_dir in $PATH
14266 do
14267 IFS=$as_save_IFS
14268 test -z "$as_dir" && as_dir=.
14269 for ac_exec_ext in '' $ac_executable_extensions; do
14270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14271 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14273 break 2
14274 fi
14275 done
14276 done
14277 IFS=$as_save_IFS
14278
14279 fi
14280 fi
14281 CC=$ac_cv_prog_CC
14282 if test -n "$CC"; then
14283 { echo "$as_me:$LINENO: result: $CC" >&5
14284 echo "${ECHO_T}$CC" >&6; }
14285 else
14286 { echo "$as_me:$LINENO: result: no" >&5
14287 echo "${ECHO_T}no" >&6; }
14288 fi
14289
14290
14291 fi
14292 if test -z "$ac_cv_prog_CC"; then
14293 ac_ct_CC=$CC
14294 # Extract the first word of "gcc", so it can be a program name with args.
14295 set dummy gcc; ac_word=$2
14296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14298 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14299 echo $ECHO_N "(cached) $ECHO_C" >&6
14300 else
14301 if test -n "$ac_ct_CC"; then
14302 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14303 else
14304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14305 for as_dir in $PATH
14306 do
14307 IFS=$as_save_IFS
14308 test -z "$as_dir" && as_dir=.
14309 for ac_exec_ext in '' $ac_executable_extensions; do
14310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14311 ac_cv_prog_ac_ct_CC="gcc"
14312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14313 break 2
14314 fi
14315 done
14316 done
14317 IFS=$as_save_IFS
14318
14319 fi
14320 fi
14321 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14322 if test -n "$ac_ct_CC"; then
14323 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14324 echo "${ECHO_T}$ac_ct_CC" >&6; }
14325 else
14326 { echo "$as_me:$LINENO: result: no" >&5
14327 echo "${ECHO_T}no" >&6; }
14328 fi
14329
14330 if test "x$ac_ct_CC" = x; then
14331 CC=""
14332 else
14333 case $cross_compiling:$ac_tool_warned in
14334 yes:)
14335 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14336 whose name does not start with the host triplet. If you think this
14337 configuration is useful to you, please write to autoconf@gnu.org." >&5
14338 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14339 whose name does not start with the host triplet. If you think this
14340 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14341 ac_tool_warned=yes ;;
14342 esac
14343 CC=$ac_ct_CC
14344 fi
14345 else
14346 CC="$ac_cv_prog_CC"
14347 fi
14348
14349 if test -z "$CC"; then
14350 if test -n "$ac_tool_prefix"; then
14351 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14352 set dummy ${ac_tool_prefix}cc; ac_word=$2
14353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14355 if test "${ac_cv_prog_CC+set}" = set; then
14356 echo $ECHO_N "(cached) $ECHO_C" >&6
14357 else
14358 if test -n "$CC"; then
14359 ac_cv_prog_CC="$CC" # Let the user override the test.
14360 else
14361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14362 for as_dir in $PATH
14363 do
14364 IFS=$as_save_IFS
14365 test -z "$as_dir" && as_dir=.
14366 for ac_exec_ext in '' $ac_executable_extensions; do
14367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14368 ac_cv_prog_CC="${ac_tool_prefix}cc"
14369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14370 break 2
14371 fi
14372 done
14373 done
14374 IFS=$as_save_IFS
14375
14376 fi
14377 fi
14378 CC=$ac_cv_prog_CC
14379 if test -n "$CC"; then
14380 { echo "$as_me:$LINENO: result: $CC" >&5
14381 echo "${ECHO_T}$CC" >&6; }
14382 else
14383 { echo "$as_me:$LINENO: result: no" >&5
14384 echo "${ECHO_T}no" >&6; }
14385 fi
14386
14387
14388 fi
14389 fi
14390 if test -z "$CC"; then
14391 # Extract the first word of "cc", so it can be a program name with args.
14392 set dummy cc; ac_word=$2
14393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14395 if test "${ac_cv_prog_CC+set}" = set; then
14396 echo $ECHO_N "(cached) $ECHO_C" >&6
14397 else
14398 if test -n "$CC"; then
14399 ac_cv_prog_CC="$CC" # Let the user override the test.
14400 else
14401 ac_prog_rejected=no
14402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14403 for as_dir in $PATH
14404 do
14405 IFS=$as_save_IFS
14406 test -z "$as_dir" && as_dir=.
14407 for ac_exec_ext in '' $ac_executable_extensions; do
14408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14409 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14410 ac_prog_rejected=yes
14411 continue
14412 fi
14413 ac_cv_prog_CC="cc"
14414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14415 break 2
14416 fi
14417 done
14418 done
14419 IFS=$as_save_IFS
14420
14421 if test $ac_prog_rejected = yes; then
14422 # We found a bogon in the path, so make sure we never use it.
14423 set dummy $ac_cv_prog_CC
14424 shift
14425 if test $# != 0; then
14426 # We chose a different compiler from the bogus one.
14427 # However, it has the same basename, so the bogon will be chosen
14428 # first if we set CC to just the basename; use the full file name.
14429 shift
14430 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14431 fi
14432 fi
14433 fi
14434 fi
14435 CC=$ac_cv_prog_CC
14436 if test -n "$CC"; then
14437 { echo "$as_me:$LINENO: result: $CC" >&5
14438 echo "${ECHO_T}$CC" >&6; }
14439 else
14440 { echo "$as_me:$LINENO: result: no" >&5
14441 echo "${ECHO_T}no" >&6; }
14442 fi
14443
14444
14445 fi
14446 if test -z "$CC"; then
14447 if test -n "$ac_tool_prefix"; then
14448 for ac_prog in cl.exe
14449 do
14450 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14451 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14452 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14454 if test "${ac_cv_prog_CC+set}" = set; then
14455 echo $ECHO_N "(cached) $ECHO_C" >&6
14456 else
14457 if test -n "$CC"; then
14458 ac_cv_prog_CC="$CC" # Let the user override the test.
14459 else
14460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14461 for as_dir in $PATH
14462 do
14463 IFS=$as_save_IFS
14464 test -z "$as_dir" && as_dir=.
14465 for ac_exec_ext in '' $ac_executable_extensions; do
14466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14467 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14469 break 2
14470 fi
14471 done
14472 done
14473 IFS=$as_save_IFS
14474
14475 fi
14476 fi
14477 CC=$ac_cv_prog_CC
14478 if test -n "$CC"; then
14479 { echo "$as_me:$LINENO: result: $CC" >&5
14480 echo "${ECHO_T}$CC" >&6; }
14481 else
14482 { echo "$as_me:$LINENO: result: no" >&5
14483 echo "${ECHO_T}no" >&6; }
14484 fi
14485
14486
14487 test -n "$CC" && break
14488 done
14489 fi
14490 if test -z "$CC"; then
14491 ac_ct_CC=$CC
14492 for ac_prog in cl.exe
14493 do
14494 # Extract the first word of "$ac_prog", so it can be a program name with args.
14495 set dummy $ac_prog; ac_word=$2
14496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14498 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14499 echo $ECHO_N "(cached) $ECHO_C" >&6
14500 else
14501 if test -n "$ac_ct_CC"; then
14502 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14503 else
14504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14505 for as_dir in $PATH
14506 do
14507 IFS=$as_save_IFS
14508 test -z "$as_dir" && as_dir=.
14509 for ac_exec_ext in '' $ac_executable_extensions; do
14510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14511 ac_cv_prog_ac_ct_CC="$ac_prog"
14512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14513 break 2
14514 fi
14515 done
14516 done
14517 IFS=$as_save_IFS
14518
14519 fi
14520 fi
14521 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14522 if test -n "$ac_ct_CC"; then
14523 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14524 echo "${ECHO_T}$ac_ct_CC" >&6; }
14525 else
14526 { echo "$as_me:$LINENO: result: no" >&5
14527 echo "${ECHO_T}no" >&6; }
14528 fi
14529
14530
14531 test -n "$ac_ct_CC" && break
14532 done
14533
14534 if test "x$ac_ct_CC" = x; then
14535 CC=""
14536 else
14537 case $cross_compiling:$ac_tool_warned in
14538 yes:)
14539 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14540 whose name does not start with the host triplet. If you think this
14541 configuration is useful to you, please write to autoconf@gnu.org." >&5
14542 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14543 whose name does not start with the host triplet. If you think this
14544 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14545 ac_tool_warned=yes ;;
14546 esac
14547 CC=$ac_ct_CC
14548 fi
14549 fi
14550
14551 fi
14552
14553
14554 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14555 See \`config.log' for more details." >&5
14556 echo "$as_me: error: no acceptable C compiler found in \$PATH
14557 See \`config.log' for more details." >&2;}
14558 { (exit 1); exit 1; }; }
14559
14560 # Provide some information about the compiler.
14561 echo "$as_me:$LINENO: checking for C compiler version" >&5
14562 ac_compiler=`set X $ac_compile; echo $2`
14563 { (ac_try="$ac_compiler --version >&5"
14564 case "(($ac_try" in
14565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14566 *) ac_try_echo=$ac_try;;
14567 esac
14568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14569 (eval "$ac_compiler --version >&5") 2>&5
14570 ac_status=$?
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); }
14573 { (ac_try="$ac_compiler -v >&5"
14574 case "(($ac_try" in
14575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14576 *) ac_try_echo=$ac_try;;
14577 esac
14578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14579 (eval "$ac_compiler -v >&5") 2>&5
14580 ac_status=$?
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 (exit $ac_status); }
14583 { (ac_try="$ac_compiler -V >&5"
14584 case "(($ac_try" in
14585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14586 *) ac_try_echo=$ac_try;;
14587 esac
14588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14589 (eval "$ac_compiler -V >&5") 2>&5
14590 ac_status=$?
14591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14592 (exit $ac_status); }
14593
14594 cat >conftest.$ac_ext <<_ACEOF
14595 /* confdefs.h. */
14596 _ACEOF
14597 cat confdefs.h >>conftest.$ac_ext
14598 cat >>conftest.$ac_ext <<_ACEOF
14599 /* end confdefs.h. */
14600
14601 int
14602 main ()
14603 {
14604
14605 ;
14606 return 0;
14607 }
14608 _ACEOF
14609 ac_clean_files_save=$ac_clean_files
14610 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14611 # Try to create an executable without -o first, disregard a.out.
14612 # It will help us diagnose broken compilers, and finding out an intuition
14613 # of exeext.
14614 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14615 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14616 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14617 #
14618 # List of possible output files, starting from the most likely.
14619 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14620 # only as a last resort. b.out is created by i960 compilers.
14621 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14622 #
14623 # The IRIX 6 linker writes into existing files which may not be
14624 # executable, retaining their permissions. Remove them first so a
14625 # subsequent execution test works.
14626 ac_rmfiles=
14627 for ac_file in $ac_files
14628 do
14629 case $ac_file in
14630 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14631 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14632 esac
14633 done
14634 rm -f $ac_rmfiles
14635
14636 if { (ac_try="$ac_link_default"
14637 case "(($ac_try" in
14638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14639 *) ac_try_echo=$ac_try;;
14640 esac
14641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14642 (eval "$ac_link_default") 2>&5
14643 ac_status=$?
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); }; then
14646 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14647 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14648 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14649 # so that the user can short-circuit this test for compilers unknown to
14650 # Autoconf.
14651 for ac_file in $ac_files ''
14652 do
14653 test -f "$ac_file" || continue
14654 case $ac_file in
14655 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14656 ;;
14657 [ab].out )
14658 # We found the default executable, but exeext='' is most
14659 # certainly right.
14660 break;;
14661 *.* )
14662 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14663 then :; else
14664 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14665 fi
14666 # We set ac_cv_exeext here because the later test for it is not
14667 # safe: cross compilers may not add the suffix if given an `-o'
14668 # argument, so we may need to know it at that point already.
14669 # Even if this section looks crufty: it has the advantage of
14670 # actually working.
14671 break;;
14672 * )
14673 break;;
14674 esac
14675 done
14676 test "$ac_cv_exeext" = no && ac_cv_exeext=
14677
14678 else
14679 ac_file=''
14680 fi
14681
14682 { echo "$as_me:$LINENO: result: $ac_file" >&5
14683 echo "${ECHO_T}$ac_file" >&6; }
14684 if test -z "$ac_file"; then
14685 echo "$as_me: failed program was:" >&5
14686 sed 's/^/| /' conftest.$ac_ext >&5
14687
14688 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14689 See \`config.log' for more details." >&5
14690 echo "$as_me: error: C compiler cannot create executables
14691 See \`config.log' for more details." >&2;}
14692 { (exit 77); exit 77; }; }
14693 fi
14694
14695 ac_exeext=$ac_cv_exeext
14696
14697 # Check that the compiler produces executables we can run. If not, either
14698 # the compiler is broken, or we cross compile.
14699 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14700 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14701 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14702 # If not cross compiling, check that we can run a simple program.
14703 if test "$cross_compiling" != yes; then
14704 if { ac_try='./$ac_file'
14705 { (case "(($ac_try" in
14706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14707 *) ac_try_echo=$ac_try;;
14708 esac
14709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14710 (eval "$ac_try") 2>&5
14711 ac_status=$?
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); }; }; then
14714 cross_compiling=no
14715 else
14716 if test "$cross_compiling" = maybe; then
14717 cross_compiling=yes
14718 else
14719 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14720 If you meant to cross compile, use \`--host'.
14721 See \`config.log' for more details." >&5
14722 echo "$as_me: error: cannot run C compiled programs.
14723 If you meant to cross compile, use \`--host'.
14724 See \`config.log' for more details." >&2;}
14725 { (exit 1); exit 1; }; }
14726 fi
14727 fi
14728 fi
14729 { echo "$as_me:$LINENO: result: yes" >&5
14730 echo "${ECHO_T}yes" >&6; }
14731
14732 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14733 ac_clean_files=$ac_clean_files_save
14734 # Check that the compiler produces executables we can run. If not, either
14735 # the compiler is broken, or we cross compile.
14736 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14737 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14738 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14739 echo "${ECHO_T}$cross_compiling" >&6; }
14740
14741 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14742 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14743 if { (ac_try="$ac_link"
14744 case "(($ac_try" in
14745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14746 *) ac_try_echo=$ac_try;;
14747 esac
14748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14749 (eval "$ac_link") 2>&5
14750 ac_status=$?
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); }; then
14753 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14754 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14755 # work properly (i.e., refer to `conftest.exe'), while it won't with
14756 # `rm'.
14757 for ac_file in conftest.exe conftest conftest.*; do
14758 test -f "$ac_file" || continue
14759 case $ac_file in
14760 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14761 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14762 break;;
14763 * ) break;;
14764 esac
14765 done
14766 else
14767 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14768 See \`config.log' for more details." >&5
14769 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14770 See \`config.log' for more details." >&2;}
14771 { (exit 1); exit 1; }; }
14772 fi
14773
14774 rm -f conftest$ac_cv_exeext
14775 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14776 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14777
14778 rm -f conftest.$ac_ext
14779 EXEEXT=$ac_cv_exeext
14780 ac_exeext=$EXEEXT
14781 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14782 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14783 if test "${ac_cv_objext+set}" = set; then
14784 echo $ECHO_N "(cached) $ECHO_C" >&6
14785 else
14786 cat >conftest.$ac_ext <<_ACEOF
14787 /* confdefs.h. */
14788 _ACEOF
14789 cat confdefs.h >>conftest.$ac_ext
14790 cat >>conftest.$ac_ext <<_ACEOF
14791 /* end confdefs.h. */
14792
14793 int
14794 main ()
14795 {
14796
14797 ;
14798 return 0;
14799 }
14800 _ACEOF
14801 rm -f conftest.o conftest.obj
14802 if { (ac_try="$ac_compile"
14803 case "(($ac_try" in
14804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14805 *) ac_try_echo=$ac_try;;
14806 esac
14807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14808 (eval "$ac_compile") 2>&5
14809 ac_status=$?
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); }; then
14812 for ac_file in conftest.o conftest.obj conftest.*; do
14813 test -f "$ac_file" || continue;
14814 case $ac_file in
14815 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14816 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14817 break;;
14818 esac
14819 done
14820 else
14821 echo "$as_me: failed program was:" >&5
14822 sed 's/^/| /' conftest.$ac_ext >&5
14823
14824 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14825 See \`config.log' for more details." >&5
14826 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14827 See \`config.log' for more details." >&2;}
14828 { (exit 1); exit 1; }; }
14829 fi
14830
14831 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14832 fi
14833 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14834 echo "${ECHO_T}$ac_cv_objext" >&6; }
14835 OBJEXT=$ac_cv_objext
14836 ac_objext=$OBJEXT
14837 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14838 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14839 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14840 echo $ECHO_N "(cached) $ECHO_C" >&6
14841 else
14842 cat >conftest.$ac_ext <<_ACEOF
14843 /* confdefs.h. */
14844 _ACEOF
14845 cat confdefs.h >>conftest.$ac_ext
14846 cat >>conftest.$ac_ext <<_ACEOF
14847 /* end confdefs.h. */
14848
14849 int
14850 main ()
14851 {
14852 #ifndef __GNUC__
14853 choke me
14854 #endif
14855
14856 ;
14857 return 0;
14858 }
14859 _ACEOF
14860 rm -f conftest.$ac_objext
14861 if { (ac_try="$ac_compile"
14862 case "(($ac_try" in
14863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14864 *) ac_try_echo=$ac_try;;
14865 esac
14866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14867 (eval "$ac_compile") 2>conftest.er1
14868 ac_status=$?
14869 grep -v '^ *+' conftest.er1 >conftest.err
14870 rm -f conftest.er1
14871 cat conftest.err >&5
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); } && {
14874 test -z "$ac_c_werror_flag" ||
14875 test ! -s conftest.err
14876 } && test -s conftest.$ac_objext; then
14877 ac_compiler_gnu=yes
14878 else
14879 echo "$as_me: failed program was:" >&5
14880 sed 's/^/| /' conftest.$ac_ext >&5
14881
14882 ac_compiler_gnu=no
14883 fi
14884
14885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14886 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14887
14888 fi
14889 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14890 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14891 GCC=`test $ac_compiler_gnu = yes && echo yes`
14892 ac_test_CFLAGS=${CFLAGS+set}
14893 ac_save_CFLAGS=$CFLAGS
14894 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14895 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14896 if test "${ac_cv_prog_cc_g+set}" = set; then
14897 echo $ECHO_N "(cached) $ECHO_C" >&6
14898 else
14899 ac_save_c_werror_flag=$ac_c_werror_flag
14900 ac_c_werror_flag=yes
14901 ac_cv_prog_cc_g=no
14902 CFLAGS="-g"
14903 cat >conftest.$ac_ext <<_ACEOF
14904 /* confdefs.h. */
14905 _ACEOF
14906 cat confdefs.h >>conftest.$ac_ext
14907 cat >>conftest.$ac_ext <<_ACEOF
14908 /* end confdefs.h. */
14909
14910 int
14911 main ()
14912 {
14913
14914 ;
14915 return 0;
14916 }
14917 _ACEOF
14918 rm -f conftest.$ac_objext
14919 if { (ac_try="$ac_compile"
14920 case "(($ac_try" in
14921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14922 *) ac_try_echo=$ac_try;;
14923 esac
14924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14925 (eval "$ac_compile") 2>conftest.er1
14926 ac_status=$?
14927 grep -v '^ *+' conftest.er1 >conftest.err
14928 rm -f conftest.er1
14929 cat conftest.err >&5
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); } && {
14932 test -z "$ac_c_werror_flag" ||
14933 test ! -s conftest.err
14934 } && test -s conftest.$ac_objext; then
14935 ac_cv_prog_cc_g=yes
14936 else
14937 echo "$as_me: failed program was:" >&5
14938 sed 's/^/| /' conftest.$ac_ext >&5
14939
14940 CFLAGS=""
14941 cat >conftest.$ac_ext <<_ACEOF
14942 /* confdefs.h. */
14943 _ACEOF
14944 cat confdefs.h >>conftest.$ac_ext
14945 cat >>conftest.$ac_ext <<_ACEOF
14946 /* end confdefs.h. */
14947
14948 int
14949 main ()
14950 {
14951
14952 ;
14953 return 0;
14954 }
14955 _ACEOF
14956 rm -f conftest.$ac_objext
14957 if { (ac_try="$ac_compile"
14958 case "(($ac_try" in
14959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14960 *) ac_try_echo=$ac_try;;
14961 esac
14962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14963 (eval "$ac_compile") 2>conftest.er1
14964 ac_status=$?
14965 grep -v '^ *+' conftest.er1 >conftest.err
14966 rm -f conftest.er1
14967 cat conftest.err >&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); } && {
14970 test -z "$ac_c_werror_flag" ||
14971 test ! -s conftest.err
14972 } && test -s conftest.$ac_objext; then
14973 :
14974 else
14975 echo "$as_me: failed program was:" >&5
14976 sed 's/^/| /' conftest.$ac_ext >&5
14977
14978 ac_c_werror_flag=$ac_save_c_werror_flag
14979 CFLAGS="-g"
14980 cat >conftest.$ac_ext <<_ACEOF
14981 /* confdefs.h. */
14982 _ACEOF
14983 cat confdefs.h >>conftest.$ac_ext
14984 cat >>conftest.$ac_ext <<_ACEOF
14985 /* end confdefs.h. */
14986
14987 int
14988 main ()
14989 {
14990
14991 ;
14992 return 0;
14993 }
14994 _ACEOF
14995 rm -f conftest.$ac_objext
14996 if { (ac_try="$ac_compile"
14997 case "(($ac_try" in
14998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14999 *) ac_try_echo=$ac_try;;
15000 esac
15001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15002 (eval "$ac_compile") 2>conftest.er1
15003 ac_status=$?
15004 grep -v '^ *+' conftest.er1 >conftest.err
15005 rm -f conftest.er1
15006 cat conftest.err >&5
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); } && {
15009 test -z "$ac_c_werror_flag" ||
15010 test ! -s conftest.err
15011 } && test -s conftest.$ac_objext; then
15012 ac_cv_prog_cc_g=yes
15013 else
15014 echo "$as_me: failed program was:" >&5
15015 sed 's/^/| /' conftest.$ac_ext >&5
15016
15017
15018 fi
15019
15020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15021 fi
15022
15023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15024 fi
15025
15026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15027 ac_c_werror_flag=$ac_save_c_werror_flag
15028 fi
15029 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15030 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15031 if test "$ac_test_CFLAGS" = set; then
15032 CFLAGS=$ac_save_CFLAGS
15033 elif test $ac_cv_prog_cc_g = yes; then
15034 if test "$GCC" = yes; then
15035 CFLAGS="-g -O2"
15036 else
15037 CFLAGS="-g"
15038 fi
15039 else
15040 if test "$GCC" = yes; then
15041 CFLAGS="-O2"
15042 else
15043 CFLAGS=
15044 fi
15045 fi
15046 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15047 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15048 if test "${ac_cv_prog_cc_c89+set}" = set; then
15049 echo $ECHO_N "(cached) $ECHO_C" >&6
15050 else
15051 ac_cv_prog_cc_c89=no
15052 ac_save_CC=$CC
15053 cat >conftest.$ac_ext <<_ACEOF
15054 /* confdefs.h. */
15055 _ACEOF
15056 cat confdefs.h >>conftest.$ac_ext
15057 cat >>conftest.$ac_ext <<_ACEOF
15058 /* end confdefs.h. */
15059 #include <stdarg.h>
15060 #include <stdio.h>
15061 #include <sys/types.h>
15062 #include <sys/stat.h>
15063 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15064 struct buf { int x; };
15065 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15066 static char *e (p, i)
15067 char **p;
15068 int i;
15069 {
15070 return p[i];
15071 }
15072 static char *f (char * (*g) (char **, int), char **p, ...)
15073 {
15074 char *s;
15075 va_list v;
15076 va_start (v,p);
15077 s = g (p, va_arg (v,int));
15078 va_end (v);
15079 return s;
15080 }
15081
15082 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15083 function prototypes and stuff, but not '\xHH' hex character constants.
15084 These don't provoke an error unfortunately, instead are silently treated
15085 as 'x'. The following induces an error, until -std is added to get
15086 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15087 array size at least. It's necessary to write '\x00'==0 to get something
15088 that's true only with -std. */
15089 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15090
15091 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15092 inside strings and character constants. */
15093 #define FOO(x) 'x'
15094 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15095
15096 int test (int i, double x);
15097 struct s1 {int (*f) (int a);};
15098 struct s2 {int (*f) (double a);};
15099 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15100 int argc;
15101 char **argv;
15102 int
15103 main ()
15104 {
15105 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15106 ;
15107 return 0;
15108 }
15109 _ACEOF
15110 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15111 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15112 do
15113 CC="$ac_save_CC $ac_arg"
15114 rm -f conftest.$ac_objext
15115 if { (ac_try="$ac_compile"
15116 case "(($ac_try" in
15117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15118 *) ac_try_echo=$ac_try;;
15119 esac
15120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15121 (eval "$ac_compile") 2>conftest.er1
15122 ac_status=$?
15123 grep -v '^ *+' conftest.er1 >conftest.err
15124 rm -f conftest.er1
15125 cat conftest.err >&5
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); } && {
15128 test -z "$ac_c_werror_flag" ||
15129 test ! -s conftest.err
15130 } && test -s conftest.$ac_objext; then
15131 ac_cv_prog_cc_c89=$ac_arg
15132 else
15133 echo "$as_me: failed program was:" >&5
15134 sed 's/^/| /' conftest.$ac_ext >&5
15135
15136
15137 fi
15138
15139 rm -f core conftest.err conftest.$ac_objext
15140 test "x$ac_cv_prog_cc_c89" != "xno" && break
15141 done
15142 rm -f conftest.$ac_ext
15143 CC=$ac_save_CC
15144
15145 fi
15146 # AC_CACHE_VAL
15147 case "x$ac_cv_prog_cc_c89" in
15148 x)
15149 { echo "$as_me:$LINENO: result: none needed" >&5
15150 echo "${ECHO_T}none needed" >&6; } ;;
15151 xno)
15152 { echo "$as_me:$LINENO: result: unsupported" >&5
15153 echo "${ECHO_T}unsupported" >&6; } ;;
15154 *)
15155 CC="$CC $ac_cv_prog_cc_c89"
15156 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15157 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15158 esac
15159
15160
15161 ac_ext=c
15162 ac_cpp='$CPP $CPPFLAGS'
15163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15166
15167
15168
15169
15170 ac_ext=c
15171 ac_cpp='$CPP $CPPFLAGS'
15172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15175
15176 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15177 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15178 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15179 echo $ECHO_N "(cached) $ECHO_C" >&6
15180 else
15181 cat >conftest.$ac_ext <<_ACEOF
15182 /* confdefs.h. */
15183 _ACEOF
15184 cat confdefs.h >>conftest.$ac_ext
15185 cat >>conftest.$ac_ext <<_ACEOF
15186 /* end confdefs.h. */
15187
15188 int
15189 main ()
15190 {
15191
15192 #ifndef __INTEL_COMPILER
15193 choke me
15194 #endif
15195
15196 ;
15197 return 0;
15198 }
15199 _ACEOF
15200 rm -f conftest.$ac_objext
15201 if { (ac_try="$ac_compile"
15202 case "(($ac_try" in
15203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15204 *) ac_try_echo=$ac_try;;
15205 esac
15206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15207 (eval "$ac_compile") 2>conftest.er1
15208 ac_status=$?
15209 grep -v '^ *+' conftest.er1 >conftest.err
15210 rm -f conftest.er1
15211 cat conftest.err >&5
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 (exit $ac_status); } && {
15214 test -z "$ac_c_werror_flag" ||
15215 test ! -s conftest.err
15216 } && test -s conftest.$ac_objext; then
15217 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15218 else
15219 echo "$as_me: failed program was:" >&5
15220 sed 's/^/| /' conftest.$ac_ext >&5
15221
15222 bakefile_cv_c_compiler___INTEL_COMPILER=no
15223
15224 fi
15225
15226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15227
15228
15229 fi
15230 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15231 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15232 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15233 :; INTELCC=yes
15234 else
15235 :;
15236 fi
15237 ac_ext=c
15238 ac_cpp='$CPP $CPPFLAGS'
15239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15242
15243
15244
15245
15246 if test "$INTELCC" = "yes"; then
15247
15248
15249 ac_ext=c
15250 ac_cpp='$CPP $CPPFLAGS'
15251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15254
15255 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15256 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15257 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15258 echo $ECHO_N "(cached) $ECHO_C" >&6
15259 else
15260 cat >conftest.$ac_ext <<_ACEOF
15261 /* confdefs.h. */
15262 _ACEOF
15263 cat confdefs.h >>conftest.$ac_ext
15264 cat >>conftest.$ac_ext <<_ACEOF
15265 /* end confdefs.h. */
15266
15267 int
15268 main ()
15269 {
15270
15271 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15272 choke me
15273 #endif
15274
15275 ;
15276 return 0;
15277 }
15278 _ACEOF
15279 rm -f conftest.$ac_objext
15280 if { (ac_try="$ac_compile"
15281 case "(($ac_try" in
15282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15283 *) ac_try_echo=$ac_try;;
15284 esac
15285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15286 (eval "$ac_compile") 2>conftest.er1
15287 ac_status=$?
15288 grep -v '^ *+' conftest.er1 >conftest.err
15289 rm -f conftest.er1
15290 cat conftest.err >&5
15291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); } && {
15293 test -z "$ac_c_werror_flag" ||
15294 test ! -s conftest.err
15295 } && test -s conftest.$ac_objext; then
15296 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15297 else
15298 echo "$as_me: failed program was:" >&5
15299 sed 's/^/| /' conftest.$ac_ext >&5
15300
15301 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15302
15303 fi
15304
15305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15306
15307
15308 fi
15309 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15310 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15311 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15312 :; INTELCC8=yes
15313 else
15314 :;
15315 fi
15316 ac_ext=c
15317 ac_cpp='$CPP $CPPFLAGS'
15318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15321
15322
15323
15324
15325
15326 ac_ext=c
15327 ac_cpp='$CPP $CPPFLAGS'
15328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15331
15332 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15333 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15334 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15335 echo $ECHO_N "(cached) $ECHO_C" >&6
15336 else
15337 cat >conftest.$ac_ext <<_ACEOF
15338 /* confdefs.h. */
15339 _ACEOF
15340 cat confdefs.h >>conftest.$ac_ext
15341 cat >>conftest.$ac_ext <<_ACEOF
15342 /* end confdefs.h. */
15343
15344 int
15345 main ()
15346 {
15347
15348 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15349 choke me
15350 #endif
15351
15352 ;
15353 return 0;
15354 }
15355 _ACEOF
15356 rm -f conftest.$ac_objext
15357 if { (ac_try="$ac_compile"
15358 case "(($ac_try" in
15359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15360 *) ac_try_echo=$ac_try;;
15361 esac
15362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15363 (eval "$ac_compile") 2>conftest.er1
15364 ac_status=$?
15365 grep -v '^ *+' conftest.er1 >conftest.err
15366 rm -f conftest.er1
15367 cat conftest.err >&5
15368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15369 (exit $ac_status); } && {
15370 test -z "$ac_c_werror_flag" ||
15371 test ! -s conftest.err
15372 } && test -s conftest.$ac_objext; then
15373 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15374 else
15375 echo "$as_me: failed program was:" >&5
15376 sed 's/^/| /' conftest.$ac_ext >&5
15377
15378 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15379
15380 fi
15381
15382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15383
15384
15385 fi
15386 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15387 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15388 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15389 :; INTELCC10=yes
15390 else
15391 :;
15392 fi
15393 ac_ext=c
15394 ac_cpp='$CPP $CPPFLAGS'
15395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15398
15399
15400
15401 fi
15402
15403 if test "x$GCC" != "xyes"; then
15404 if test "xCC" = "xC"; then
15405 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15406 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15407 if test "${bakefile_cv_c_exto+set}" = set; then
15408 echo $ECHO_N "(cached) $ECHO_C" >&6
15409 else
15410 cat >conftest.$ac_ext <<_ACEOF
15411 /* confdefs.h. */
15412 _ACEOF
15413 cat confdefs.h >>conftest.$ac_ext
15414 cat >>conftest.$ac_ext <<_ACEOF
15415 /* end confdefs.h. */
15416
15417 int
15418 main ()
15419 {
15420
15421 ;
15422 return 0;
15423 }
15424 _ACEOF
15425 rm -f conftest.$ac_objext conftest.$ac_ext.o
15426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15427 (eval $ac_compile) 2>&5
15428 ac_status=$?
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); }; then
15431 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15432 case $ac_file in
15433 conftest.$ac_ext.o)
15434 bakefile_cv_c_exto="-ext o"
15435 ;;
15436 *)
15437 ;;
15438 esac
15439 done
15440 else
15441 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15442 See \`config.log' for more details." >&5
15443 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15444 See \`config.log' for more details." >&2;}
15445 { (exit 1); exit 1; }; }
15446
15447 fi
15448
15449 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15450
15451 fi
15452 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15453 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15454 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15455 if test "c" = "c"; then
15456 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15457 fi
15458 if test "c" = "cxx"; then
15459 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15460 fi
15461 fi
15462
15463 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15464 unset ac_cv_prog_cc_g
15465 ac_test_CFLAGS=${CFLAGS+set}
15466 ac_save_CFLAGS=$CFLAGS
15467 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15468 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15469 if test "${ac_cv_prog_cc_g+set}" = set; then
15470 echo $ECHO_N "(cached) $ECHO_C" >&6
15471 else
15472 ac_save_c_werror_flag=$ac_c_werror_flag
15473 ac_c_werror_flag=yes
15474 ac_cv_prog_cc_g=no
15475 CFLAGS="-g"
15476 cat >conftest.$ac_ext <<_ACEOF
15477 /* confdefs.h. */
15478 _ACEOF
15479 cat confdefs.h >>conftest.$ac_ext
15480 cat >>conftest.$ac_ext <<_ACEOF
15481 /* end confdefs.h. */
15482
15483 int
15484 main ()
15485 {
15486
15487 ;
15488 return 0;
15489 }
15490 _ACEOF
15491 rm -f conftest.$ac_objext
15492 if { (ac_try="$ac_compile"
15493 case "(($ac_try" in
15494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15495 *) ac_try_echo=$ac_try;;
15496 esac
15497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15498 (eval "$ac_compile") 2>conftest.er1
15499 ac_status=$?
15500 grep -v '^ *+' conftest.er1 >conftest.err
15501 rm -f conftest.er1
15502 cat conftest.err >&5
15503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); } && {
15505 test -z "$ac_c_werror_flag" ||
15506 test ! -s conftest.err
15507 } && test -s conftest.$ac_objext; then
15508 ac_cv_prog_cc_g=yes
15509 else
15510 echo "$as_me: failed program was:" >&5
15511 sed 's/^/| /' conftest.$ac_ext >&5
15512
15513 CFLAGS=""
15514 cat >conftest.$ac_ext <<_ACEOF
15515 /* confdefs.h. */
15516 _ACEOF
15517 cat confdefs.h >>conftest.$ac_ext
15518 cat >>conftest.$ac_ext <<_ACEOF
15519 /* end confdefs.h. */
15520
15521 int
15522 main ()
15523 {
15524
15525 ;
15526 return 0;
15527 }
15528 _ACEOF
15529 rm -f conftest.$ac_objext
15530 if { (ac_try="$ac_compile"
15531 case "(($ac_try" in
15532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15533 *) ac_try_echo=$ac_try;;
15534 esac
15535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15536 (eval "$ac_compile") 2>conftest.er1
15537 ac_status=$?
15538 grep -v '^ *+' conftest.er1 >conftest.err
15539 rm -f conftest.er1
15540 cat conftest.err >&5
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); } && {
15543 test -z "$ac_c_werror_flag" ||
15544 test ! -s conftest.err
15545 } && test -s conftest.$ac_objext; then
15546 :
15547 else
15548 echo "$as_me: failed program was:" >&5
15549 sed 's/^/| /' conftest.$ac_ext >&5
15550
15551 ac_c_werror_flag=$ac_save_c_werror_flag
15552 CFLAGS="-g"
15553 cat >conftest.$ac_ext <<_ACEOF
15554 /* confdefs.h. */
15555 _ACEOF
15556 cat confdefs.h >>conftest.$ac_ext
15557 cat >>conftest.$ac_ext <<_ACEOF
15558 /* end confdefs.h. */
15559
15560 int
15561 main ()
15562 {
15563
15564 ;
15565 return 0;
15566 }
15567 _ACEOF
15568 rm -f conftest.$ac_objext
15569 if { (ac_try="$ac_compile"
15570 case "(($ac_try" in
15571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15572 *) ac_try_echo=$ac_try;;
15573 esac
15574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15575 (eval "$ac_compile") 2>conftest.er1
15576 ac_status=$?
15577 grep -v '^ *+' conftest.er1 >conftest.err
15578 rm -f conftest.er1
15579 cat conftest.err >&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); } && {
15582 test -z "$ac_c_werror_flag" ||
15583 test ! -s conftest.err
15584 } && test -s conftest.$ac_objext; then
15585 ac_cv_prog_cc_g=yes
15586 else
15587 echo "$as_me: failed program was:" >&5
15588 sed 's/^/| /' conftest.$ac_ext >&5
15589
15590
15591 fi
15592
15593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15594 fi
15595
15596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15597 fi
15598
15599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15600 ac_c_werror_flag=$ac_save_c_werror_flag
15601 fi
15602 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15603 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15604 if test "$ac_test_CFLAGS" = set; then
15605 CFLAGS=$ac_save_CFLAGS
15606 elif test $ac_cv_prog_cc_g = yes; then
15607 if test "$GCC" = yes; then
15608 CFLAGS="-g -O2"
15609 else
15610 CFLAGS="-g"
15611 fi
15612 else
15613 if test "$GCC" = yes; then
15614 CFLAGS="-O2"
15615 else
15616 CFLAGS=
15617 fi
15618 fi
15619 fi
15620 fi
15621
15622 case `uname -s` in
15623 AIX*)
15624
15625
15626 ac_ext=c
15627 ac_cpp='$CPP $CPPFLAGS'
15628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15631
15632 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15633 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15634 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15635 echo $ECHO_N "(cached) $ECHO_C" >&6
15636 else
15637 cat >conftest.$ac_ext <<_ACEOF
15638 /* confdefs.h. */
15639 _ACEOF
15640 cat confdefs.h >>conftest.$ac_ext
15641 cat >>conftest.$ac_ext <<_ACEOF
15642 /* end confdefs.h. */
15643
15644 int
15645 main ()
15646 {
15647
15648 #ifndef __xlC__
15649 choke me
15650 #endif
15651
15652 ;
15653 return 0;
15654 }
15655 _ACEOF
15656 rm -f conftest.$ac_objext
15657 if { (ac_try="$ac_compile"
15658 case "(($ac_try" in
15659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15660 *) ac_try_echo=$ac_try;;
15661 esac
15662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15663 (eval "$ac_compile") 2>conftest.er1
15664 ac_status=$?
15665 grep -v '^ *+' conftest.er1 >conftest.err
15666 rm -f conftest.er1
15667 cat conftest.err >&5
15668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15669 (exit $ac_status); } && {
15670 test -z "$ac_c_werror_flag" ||
15671 test ! -s conftest.err
15672 } && test -s conftest.$ac_objext; then
15673 bakefile_cv_c_compiler___xlC__=yes
15674 else
15675 echo "$as_me: failed program was:" >&5
15676 sed 's/^/| /' conftest.$ac_ext >&5
15677
15678 bakefile_cv_c_compiler___xlC__=no
15679
15680 fi
15681
15682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15683
15684
15685 fi
15686 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15687 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15688 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15689 :; XLCC=yes
15690 else
15691 :;
15692 fi
15693 ac_ext=c
15694 ac_cpp='$CPP $CPPFLAGS'
15695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15698
15699
15700
15701 ;;
15702
15703 Darwin)
15704
15705
15706 ac_ext=c
15707 ac_cpp='$CPP $CPPFLAGS'
15708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15711
15712 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15713 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15714 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15715 echo $ECHO_N "(cached) $ECHO_C" >&6
15716 else
15717 cat >conftest.$ac_ext <<_ACEOF
15718 /* confdefs.h. */
15719 _ACEOF
15720 cat confdefs.h >>conftest.$ac_ext
15721 cat >>conftest.$ac_ext <<_ACEOF
15722 /* end confdefs.h. */
15723
15724 int
15725 main ()
15726 {
15727
15728 #ifndef __MWERKS__
15729 choke me
15730 #endif
15731
15732 ;
15733 return 0;
15734 }
15735 _ACEOF
15736 rm -f conftest.$ac_objext
15737 if { (ac_try="$ac_compile"
15738 case "(($ac_try" in
15739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15740 *) ac_try_echo=$ac_try;;
15741 esac
15742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15743 (eval "$ac_compile") 2>conftest.er1
15744 ac_status=$?
15745 grep -v '^ *+' conftest.er1 >conftest.err
15746 rm -f conftest.er1
15747 cat conftest.err >&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); } && {
15750 test -z "$ac_c_werror_flag" ||
15751 test ! -s conftest.err
15752 } && test -s conftest.$ac_objext; then
15753 bakefile_cv_c_compiler___MWERKS__=yes
15754 else
15755 echo "$as_me: failed program was:" >&5
15756 sed 's/^/| /' conftest.$ac_ext >&5
15757
15758 bakefile_cv_c_compiler___MWERKS__=no
15759
15760 fi
15761
15762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15763
15764
15765 fi
15766 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15767 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15768 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15769 :; MWCC=yes
15770 else
15771 :;
15772 fi
15773 ac_ext=c
15774 ac_cpp='$CPP $CPPFLAGS'
15775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15778
15779
15780
15781 if test "$MWCC" != "yes"; then
15782
15783
15784 ac_ext=c
15785 ac_cpp='$CPP $CPPFLAGS'
15786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15789
15790 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15791 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15792 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15793 echo $ECHO_N "(cached) $ECHO_C" >&6
15794 else
15795 cat >conftest.$ac_ext <<_ACEOF
15796 /* confdefs.h. */
15797 _ACEOF
15798 cat confdefs.h >>conftest.$ac_ext
15799 cat >>conftest.$ac_ext <<_ACEOF
15800 /* end confdefs.h. */
15801
15802 int
15803 main ()
15804 {
15805
15806 #ifndef __xlC__
15807 choke me
15808 #endif
15809
15810 ;
15811 return 0;
15812 }
15813 _ACEOF
15814 rm -f conftest.$ac_objext
15815 if { (ac_try="$ac_compile"
15816 case "(($ac_try" in
15817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15818 *) ac_try_echo=$ac_try;;
15819 esac
15820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15821 (eval "$ac_compile") 2>conftest.er1
15822 ac_status=$?
15823 grep -v '^ *+' conftest.er1 >conftest.err
15824 rm -f conftest.er1
15825 cat conftest.err >&5
15826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15827 (exit $ac_status); } && {
15828 test -z "$ac_c_werror_flag" ||
15829 test ! -s conftest.err
15830 } && test -s conftest.$ac_objext; then
15831 bakefile_cv_c_compiler___xlC__=yes
15832 else
15833 echo "$as_me: failed program was:" >&5
15834 sed 's/^/| /' conftest.$ac_ext >&5
15835
15836 bakefile_cv_c_compiler___xlC__=no
15837
15838 fi
15839
15840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15841
15842
15843 fi
15844 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15845 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15846 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15847 :; XLCC=yes
15848 else
15849 :;
15850 fi
15851 ac_ext=c
15852 ac_cpp='$CPP $CPPFLAGS'
15853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15856
15857
15858
15859 fi
15860 ;;
15861
15862 IRIX*)
15863
15864
15865 ac_ext=c
15866 ac_cpp='$CPP $CPPFLAGS'
15867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15870
15871 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15872 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15873 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15874 echo $ECHO_N "(cached) $ECHO_C" >&6
15875 else
15876 cat >conftest.$ac_ext <<_ACEOF
15877 /* confdefs.h. */
15878 _ACEOF
15879 cat confdefs.h >>conftest.$ac_ext
15880 cat >>conftest.$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15882
15883 int
15884 main ()
15885 {
15886
15887 #ifndef _SGI_COMPILER_VERSION
15888 choke me
15889 #endif
15890
15891 ;
15892 return 0;
15893 }
15894 _ACEOF
15895 rm -f conftest.$ac_objext
15896 if { (ac_try="$ac_compile"
15897 case "(($ac_try" in
15898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15899 *) ac_try_echo=$ac_try;;
15900 esac
15901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15902 (eval "$ac_compile") 2>conftest.er1
15903 ac_status=$?
15904 grep -v '^ *+' conftest.er1 >conftest.err
15905 rm -f conftest.er1
15906 cat conftest.err >&5
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); } && {
15909 test -z "$ac_c_werror_flag" ||
15910 test ! -s conftest.err
15911 } && test -s conftest.$ac_objext; then
15912 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15913 else
15914 echo "$as_me: failed program was:" >&5
15915 sed 's/^/| /' conftest.$ac_ext >&5
15916
15917 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15918
15919 fi
15920
15921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15922
15923
15924 fi
15925 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15926 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15927 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15928 :; SGICC=yes
15929 else
15930 :;
15931 fi
15932 ac_ext=c
15933 ac_cpp='$CPP $CPPFLAGS'
15934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15937
15938
15939
15940 ;;
15941
15942 Linux*)
15943 if test "$INTELCC" != "yes"; then
15944
15945
15946 ac_ext=c
15947 ac_cpp='$CPP $CPPFLAGS'
15948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15951
15952 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15953 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15954 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15955 echo $ECHO_N "(cached) $ECHO_C" >&6
15956 else
15957 cat >conftest.$ac_ext <<_ACEOF
15958 /* confdefs.h. */
15959 _ACEOF
15960 cat confdefs.h >>conftest.$ac_ext
15961 cat >>conftest.$ac_ext <<_ACEOF
15962 /* end confdefs.h. */
15963
15964 int
15965 main ()
15966 {
15967
15968 #ifndef __SUNPRO_C
15969 choke me
15970 #endif
15971
15972 ;
15973 return 0;
15974 }
15975 _ACEOF
15976 rm -f conftest.$ac_objext
15977 if { (ac_try="$ac_compile"
15978 case "(($ac_try" in
15979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15980 *) ac_try_echo=$ac_try;;
15981 esac
15982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15983 (eval "$ac_compile") 2>conftest.er1
15984 ac_status=$?
15985 grep -v '^ *+' conftest.er1 >conftest.err
15986 rm -f conftest.er1
15987 cat conftest.err >&5
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); } && {
15990 test -z "$ac_c_werror_flag" ||
15991 test ! -s conftest.err
15992 } && test -s conftest.$ac_objext; then
15993 bakefile_cv_c_compiler___SUNPRO_C=yes
15994 else
15995 echo "$as_me: failed program was:" >&5
15996 sed 's/^/| /' conftest.$ac_ext >&5
15997
15998 bakefile_cv_c_compiler___SUNPRO_C=no
15999
16000 fi
16001
16002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16003
16004
16005 fi
16006 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16007 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16008 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16009 :; SUNCC=yes
16010 else
16011 :;
16012 fi
16013 ac_ext=c
16014 ac_cpp='$CPP $CPPFLAGS'
16015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16018
16019
16020
16021 fi
16022 ;;
16023
16024 HP-UX*)
16025
16026
16027 ac_ext=c
16028 ac_cpp='$CPP $CPPFLAGS'
16029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16032
16033 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16034 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16035 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16036 echo $ECHO_N "(cached) $ECHO_C" >&6
16037 else
16038 cat >conftest.$ac_ext <<_ACEOF
16039 /* confdefs.h. */
16040 _ACEOF
16041 cat confdefs.h >>conftest.$ac_ext
16042 cat >>conftest.$ac_ext <<_ACEOF
16043 /* end confdefs.h. */
16044
16045 int
16046 main ()
16047 {
16048
16049 #ifndef __HP_cc
16050 choke me
16051 #endif
16052
16053 ;
16054 return 0;
16055 }
16056 _ACEOF
16057 rm -f conftest.$ac_objext
16058 if { (ac_try="$ac_compile"
16059 case "(($ac_try" in
16060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16061 *) ac_try_echo=$ac_try;;
16062 esac
16063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16064 (eval "$ac_compile") 2>conftest.er1
16065 ac_status=$?
16066 grep -v '^ *+' conftest.er1 >conftest.err
16067 rm -f conftest.er1
16068 cat conftest.err >&5
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); } && {
16071 test -z "$ac_c_werror_flag" ||
16072 test ! -s conftest.err
16073 } && test -s conftest.$ac_objext; then
16074 bakefile_cv_c_compiler___HP_cc=yes
16075 else
16076 echo "$as_me: failed program was:" >&5
16077 sed 's/^/| /' conftest.$ac_ext >&5
16078
16079 bakefile_cv_c_compiler___HP_cc=no
16080
16081 fi
16082
16083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16084
16085
16086 fi
16087 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16088 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16089 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16090 :; HPCC=yes
16091 else
16092 :;
16093 fi
16094 ac_ext=c
16095 ac_cpp='$CPP $CPPFLAGS'
16096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16099
16100
16101
16102 ;;
16103
16104 OSF1)
16105
16106
16107 ac_ext=c
16108 ac_cpp='$CPP $CPPFLAGS'
16109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16112
16113 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16114 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16115 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16116 echo $ECHO_N "(cached) $ECHO_C" >&6
16117 else
16118 cat >conftest.$ac_ext <<_ACEOF
16119 /* confdefs.h. */
16120 _ACEOF
16121 cat confdefs.h >>conftest.$ac_ext
16122 cat >>conftest.$ac_ext <<_ACEOF
16123 /* end confdefs.h. */
16124
16125 int
16126 main ()
16127 {
16128
16129 #ifndef __DECC
16130 choke me
16131 #endif
16132
16133 ;
16134 return 0;
16135 }
16136 _ACEOF
16137 rm -f conftest.$ac_objext
16138 if { (ac_try="$ac_compile"
16139 case "(($ac_try" in
16140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16141 *) ac_try_echo=$ac_try;;
16142 esac
16143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16144 (eval "$ac_compile") 2>conftest.er1
16145 ac_status=$?
16146 grep -v '^ *+' conftest.er1 >conftest.err
16147 rm -f conftest.er1
16148 cat conftest.err >&5
16149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150 (exit $ac_status); } && {
16151 test -z "$ac_c_werror_flag" ||
16152 test ! -s conftest.err
16153 } && test -s conftest.$ac_objext; then
16154 bakefile_cv_c_compiler___DECC=yes
16155 else
16156 echo "$as_me: failed program was:" >&5
16157 sed 's/^/| /' conftest.$ac_ext >&5
16158
16159 bakefile_cv_c_compiler___DECC=no
16160
16161 fi
16162
16163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16164
16165
16166 fi
16167 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16168 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16169 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16170 :; COMPAQCC=yes
16171 else
16172 :;
16173 fi
16174 ac_ext=c
16175 ac_cpp='$CPP $CPPFLAGS'
16176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16179
16180
16181
16182 ;;
16183
16184 SunOS)
16185
16186
16187 ac_ext=c
16188 ac_cpp='$CPP $CPPFLAGS'
16189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16192
16193 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16194 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16195 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16196 echo $ECHO_N "(cached) $ECHO_C" >&6
16197 else
16198 cat >conftest.$ac_ext <<_ACEOF
16199 /* confdefs.h. */
16200 _ACEOF
16201 cat confdefs.h >>conftest.$ac_ext
16202 cat >>conftest.$ac_ext <<_ACEOF
16203 /* end confdefs.h. */
16204
16205 int
16206 main ()
16207 {
16208
16209 #ifndef __SUNPRO_C
16210 choke me
16211 #endif
16212
16213 ;
16214 return 0;
16215 }
16216 _ACEOF
16217 rm -f conftest.$ac_objext
16218 if { (ac_try="$ac_compile"
16219 case "(($ac_try" in
16220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16221 *) ac_try_echo=$ac_try;;
16222 esac
16223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16224 (eval "$ac_compile") 2>conftest.er1
16225 ac_status=$?
16226 grep -v '^ *+' conftest.er1 >conftest.err
16227 rm -f conftest.er1
16228 cat conftest.err >&5
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); } && {
16231 test -z "$ac_c_werror_flag" ||
16232 test ! -s conftest.err
16233 } && test -s conftest.$ac_objext; then
16234 bakefile_cv_c_compiler___SUNPRO_C=yes
16235 else
16236 echo "$as_me: failed program was:" >&5
16237 sed 's/^/| /' conftest.$ac_ext >&5
16238
16239 bakefile_cv_c_compiler___SUNPRO_C=no
16240
16241 fi
16242
16243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16244
16245
16246 fi
16247 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16248 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16249 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16250 :; SUNCC=yes
16251 else
16252 :;
16253 fi
16254 ac_ext=c
16255 ac_cpp='$CPP $CPPFLAGS'
16256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16259
16260
16261
16262 ;;
16263 esac
16264 fi
16265
16266
16267
16268 ac_ext=c
16269 ac_cpp='$CPP $CPPFLAGS'
16270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16273 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16274 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16275 # On Suns, sometimes $CPP names a directory.
16276 if test -n "$CPP" && test -d "$CPP"; then
16277 CPP=
16278 fi
16279 if test -z "$CPP"; then
16280 if test "${ac_cv_prog_CPP+set}" = set; then
16281 echo $ECHO_N "(cached) $ECHO_C" >&6
16282 else
16283 # Double quotes because CPP needs to be expanded
16284 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16285 do
16286 ac_preproc_ok=false
16287 for ac_c_preproc_warn_flag in '' yes
16288 do
16289 # Use a header file that comes with gcc, so configuring glibc
16290 # with a fresh cross-compiler works.
16291 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16292 # <limits.h> exists even on freestanding compilers.
16293 # On the NeXT, cc -E runs the code through the compiler's parser,
16294 # not just through cpp. "Syntax error" is here to catch this case.
16295 cat >conftest.$ac_ext <<_ACEOF
16296 /* confdefs.h. */
16297 _ACEOF
16298 cat confdefs.h >>conftest.$ac_ext
16299 cat >>conftest.$ac_ext <<_ACEOF
16300 /* end confdefs.h. */
16301 #ifdef __STDC__
16302 # include <limits.h>
16303 #else
16304 # include <assert.h>
16305 #endif
16306 Syntax error
16307 _ACEOF
16308 if { (ac_try="$ac_cpp conftest.$ac_ext"
16309 case "(($ac_try" in
16310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16311 *) ac_try_echo=$ac_try;;
16312 esac
16313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16314 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16315 ac_status=$?
16316 grep -v '^ *+' conftest.er1 >conftest.err
16317 rm -f conftest.er1
16318 cat conftest.err >&5
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); } >/dev/null && {
16321 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16322 test ! -s conftest.err
16323 }; then
16324 :
16325 else
16326 echo "$as_me: failed program was:" >&5
16327 sed 's/^/| /' conftest.$ac_ext >&5
16328
16329 # Broken: fails on valid input.
16330 continue
16331 fi
16332
16333 rm -f conftest.err conftest.$ac_ext
16334
16335 # OK, works on sane cases. Now check whether nonexistent headers
16336 # can be detected and how.
16337 cat >conftest.$ac_ext <<_ACEOF
16338 /* confdefs.h. */
16339 _ACEOF
16340 cat confdefs.h >>conftest.$ac_ext
16341 cat >>conftest.$ac_ext <<_ACEOF
16342 /* end confdefs.h. */
16343 #include <ac_nonexistent.h>
16344 _ACEOF
16345 if { (ac_try="$ac_cpp conftest.$ac_ext"
16346 case "(($ac_try" in
16347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16348 *) ac_try_echo=$ac_try;;
16349 esac
16350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16351 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16352 ac_status=$?
16353 grep -v '^ *+' conftest.er1 >conftest.err
16354 rm -f conftest.er1
16355 cat conftest.err >&5
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); } >/dev/null && {
16358 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16359 test ! -s conftest.err
16360 }; then
16361 # Broken: success on invalid input.
16362 continue
16363 else
16364 echo "$as_me: failed program was:" >&5
16365 sed 's/^/| /' conftest.$ac_ext >&5
16366
16367 # Passes both tests.
16368 ac_preproc_ok=:
16369 break
16370 fi
16371
16372 rm -f conftest.err conftest.$ac_ext
16373
16374 done
16375 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16376 rm -f conftest.err conftest.$ac_ext
16377 if $ac_preproc_ok; then
16378 break
16379 fi
16380
16381 done
16382 ac_cv_prog_CPP=$CPP
16383
16384 fi
16385 CPP=$ac_cv_prog_CPP
16386 else
16387 ac_cv_prog_CPP=$CPP
16388 fi
16389 { echo "$as_me:$LINENO: result: $CPP" >&5
16390 echo "${ECHO_T}$CPP" >&6; }
16391 ac_preproc_ok=false
16392 for ac_c_preproc_warn_flag in '' yes
16393 do
16394 # Use a header file that comes with gcc, so configuring glibc
16395 # with a fresh cross-compiler works.
16396 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16397 # <limits.h> exists even on freestanding compilers.
16398 # On the NeXT, cc -E runs the code through the compiler's parser,
16399 # not just through cpp. "Syntax error" is here to catch this case.
16400 cat >conftest.$ac_ext <<_ACEOF
16401 /* confdefs.h. */
16402 _ACEOF
16403 cat confdefs.h >>conftest.$ac_ext
16404 cat >>conftest.$ac_ext <<_ACEOF
16405 /* end confdefs.h. */
16406 #ifdef __STDC__
16407 # include <limits.h>
16408 #else
16409 # include <assert.h>
16410 #endif
16411 Syntax error
16412 _ACEOF
16413 if { (ac_try="$ac_cpp conftest.$ac_ext"
16414 case "(($ac_try" in
16415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16416 *) ac_try_echo=$ac_try;;
16417 esac
16418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16419 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16420 ac_status=$?
16421 grep -v '^ *+' conftest.er1 >conftest.err
16422 rm -f conftest.er1
16423 cat conftest.err >&5
16424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425 (exit $ac_status); } >/dev/null && {
16426 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16427 test ! -s conftest.err
16428 }; then
16429 :
16430 else
16431 echo "$as_me: failed program was:" >&5
16432 sed 's/^/| /' conftest.$ac_ext >&5
16433
16434 # Broken: fails on valid input.
16435 continue
16436 fi
16437
16438 rm -f conftest.err conftest.$ac_ext
16439
16440 # OK, works on sane cases. Now check whether nonexistent headers
16441 # can be detected and how.
16442 cat >conftest.$ac_ext <<_ACEOF
16443 /* confdefs.h. */
16444 _ACEOF
16445 cat confdefs.h >>conftest.$ac_ext
16446 cat >>conftest.$ac_ext <<_ACEOF
16447 /* end confdefs.h. */
16448 #include <ac_nonexistent.h>
16449 _ACEOF
16450 if { (ac_try="$ac_cpp conftest.$ac_ext"
16451 case "(($ac_try" in
16452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16453 *) ac_try_echo=$ac_try;;
16454 esac
16455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16456 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16457 ac_status=$?
16458 grep -v '^ *+' conftest.er1 >conftest.err
16459 rm -f conftest.er1
16460 cat conftest.err >&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); } >/dev/null && {
16463 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16464 test ! -s conftest.err
16465 }; then
16466 # Broken: success on invalid input.
16467 continue
16468 else
16469 echo "$as_me: failed program was:" >&5
16470 sed 's/^/| /' conftest.$ac_ext >&5
16471
16472 # Passes both tests.
16473 ac_preproc_ok=:
16474 break
16475 fi
16476
16477 rm -f conftest.err conftest.$ac_ext
16478
16479 done
16480 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16481 rm -f conftest.err conftest.$ac_ext
16482 if $ac_preproc_ok; then
16483 :
16484 else
16485 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16486 See \`config.log' for more details." >&5
16487 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16488 See \`config.log' for more details." >&2;}
16489 { (exit 1); exit 1; }; }
16490 fi
16491
16492 ac_ext=c
16493 ac_cpp='$CPP $CPPFLAGS'
16494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16497
16498
16499 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16500 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16501 if test "${ac_cv_path_GREP+set}" = set; then
16502 echo $ECHO_N "(cached) $ECHO_C" >&6
16503 else
16504 # Extract the first word of "grep ggrep" to use in msg output
16505 if test -z "$GREP"; then
16506 set dummy grep ggrep; ac_prog_name=$2
16507 if test "${ac_cv_path_GREP+set}" = set; then
16508 echo $ECHO_N "(cached) $ECHO_C" >&6
16509 else
16510 ac_path_GREP_found=false
16511 # Loop through the user's path and test for each of PROGNAME-LIST
16512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16513 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16514 do
16515 IFS=$as_save_IFS
16516 test -z "$as_dir" && as_dir=.
16517 for ac_prog in grep ggrep; do
16518 for ac_exec_ext in '' $ac_executable_extensions; do
16519 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16520 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16521 # Check for GNU ac_path_GREP and select it if it is found.
16522 # Check for GNU $ac_path_GREP
16523 case `"$ac_path_GREP" --version 2>&1` in
16524 *GNU*)
16525 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16526 *)
16527 ac_count=0
16528 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16529 while :
16530 do
16531 cat "conftest.in" "conftest.in" >"conftest.tmp"
16532 mv "conftest.tmp" "conftest.in"
16533 cp "conftest.in" "conftest.nl"
16534 echo 'GREP' >> "conftest.nl"
16535 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16536 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16537 ac_count=`expr $ac_count + 1`
16538 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16539 # Best one so far, save it but keep looking for a better one
16540 ac_cv_path_GREP="$ac_path_GREP"
16541 ac_path_GREP_max=$ac_count
16542 fi
16543 # 10*(2^10) chars as input seems more than enough
16544 test $ac_count -gt 10 && break
16545 done
16546 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16547 esac
16548
16549
16550 $ac_path_GREP_found && break 3
16551 done
16552 done
16553
16554 done
16555 IFS=$as_save_IFS
16556
16557
16558 fi
16559
16560 GREP="$ac_cv_path_GREP"
16561 if test -z "$GREP"; then
16562 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16563 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16564 { (exit 1); exit 1; }; }
16565 fi
16566
16567 else
16568 ac_cv_path_GREP=$GREP
16569 fi
16570
16571
16572 fi
16573 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16574 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16575 GREP="$ac_cv_path_GREP"
16576
16577
16578 { echo "$as_me:$LINENO: checking for egrep" >&5
16579 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16580 if test "${ac_cv_path_EGREP+set}" = set; then
16581 echo $ECHO_N "(cached) $ECHO_C" >&6
16582 else
16583 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16584 then ac_cv_path_EGREP="$GREP -E"
16585 else
16586 # Extract the first word of "egrep" to use in msg output
16587 if test -z "$EGREP"; then
16588 set dummy egrep; ac_prog_name=$2
16589 if test "${ac_cv_path_EGREP+set}" = set; then
16590 echo $ECHO_N "(cached) $ECHO_C" >&6
16591 else
16592 ac_path_EGREP_found=false
16593 # Loop through the user's path and test for each of PROGNAME-LIST
16594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16595 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16596 do
16597 IFS=$as_save_IFS
16598 test -z "$as_dir" && as_dir=.
16599 for ac_prog in egrep; do
16600 for ac_exec_ext in '' $ac_executable_extensions; do
16601 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16602 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16603 # Check for GNU ac_path_EGREP and select it if it is found.
16604 # Check for GNU $ac_path_EGREP
16605 case `"$ac_path_EGREP" --version 2>&1` in
16606 *GNU*)
16607 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16608 *)
16609 ac_count=0
16610 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16611 while :
16612 do
16613 cat "conftest.in" "conftest.in" >"conftest.tmp"
16614 mv "conftest.tmp" "conftest.in"
16615 cp "conftest.in" "conftest.nl"
16616 echo 'EGREP' >> "conftest.nl"
16617 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16618 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16619 ac_count=`expr $ac_count + 1`
16620 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16621 # Best one so far, save it but keep looking for a better one
16622 ac_cv_path_EGREP="$ac_path_EGREP"
16623 ac_path_EGREP_max=$ac_count
16624 fi
16625 # 10*(2^10) chars as input seems more than enough
16626 test $ac_count -gt 10 && break
16627 done
16628 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16629 esac
16630
16631
16632 $ac_path_EGREP_found && break 3
16633 done
16634 done
16635
16636 done
16637 IFS=$as_save_IFS
16638
16639
16640 fi
16641
16642 EGREP="$ac_cv_path_EGREP"
16643 if test -z "$EGREP"; then
16644 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16645 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16646 { (exit 1); exit 1; }; }
16647 fi
16648
16649 else
16650 ac_cv_path_EGREP=$EGREP
16651 fi
16652
16653
16654 fi
16655 fi
16656 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16657 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16658 EGREP="$ac_cv_path_EGREP"
16659
16660
16661 if test $ac_cv_c_compiler_gnu = yes; then
16662 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16663 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16664 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16665 echo $ECHO_N "(cached) $ECHO_C" >&6
16666 else
16667 ac_pattern="Autoconf.*'x'"
16668 cat >conftest.$ac_ext <<_ACEOF
16669 /* confdefs.h. */
16670 _ACEOF
16671 cat confdefs.h >>conftest.$ac_ext
16672 cat >>conftest.$ac_ext <<_ACEOF
16673 /* end confdefs.h. */
16674 #include <sgtty.h>
16675 Autoconf TIOCGETP
16676 _ACEOF
16677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16678 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16679 ac_cv_prog_gcc_traditional=yes
16680 else
16681 ac_cv_prog_gcc_traditional=no
16682 fi
16683 rm -f conftest*
16684
16685
16686 if test $ac_cv_prog_gcc_traditional = no; then
16687 cat >conftest.$ac_ext <<_ACEOF
16688 /* confdefs.h. */
16689 _ACEOF
16690 cat confdefs.h >>conftest.$ac_ext
16691 cat >>conftest.$ac_ext <<_ACEOF
16692 /* end confdefs.h. */
16693 #include <termio.h>
16694 Autoconf TCGETA
16695 _ACEOF
16696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16697 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16698 ac_cv_prog_gcc_traditional=yes
16699 fi
16700 rm -f conftest*
16701
16702 fi
16703 fi
16704 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16705 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16706 if test $ac_cv_prog_gcc_traditional = yes; then
16707 CC="$CC -traditional"
16708 fi
16709 fi
16710
16711
16712 CXXFLAGS=${CXXFLAGS:=}
16713
16714
16715
16716 ac_ext=cpp
16717 ac_cpp='$CXXCPP $CPPFLAGS'
16718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16721 if test -z "$CXX"; then
16722 if test -n "$CCC"; then
16723 CXX=$CCC
16724 else
16725 if test -n "$ac_tool_prefix"; then
16726 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16727 do
16728 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16729 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16732 if test "${ac_cv_prog_CXX+set}" = set; then
16733 echo $ECHO_N "(cached) $ECHO_C" >&6
16734 else
16735 if test -n "$CXX"; then
16736 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16737 else
16738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16739 for as_dir in $PATH
16740 do
16741 IFS=$as_save_IFS
16742 test -z "$as_dir" && as_dir=.
16743 for ac_exec_ext in '' $ac_executable_extensions; do
16744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16745 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16747 break 2
16748 fi
16749 done
16750 done
16751 IFS=$as_save_IFS
16752
16753 fi
16754 fi
16755 CXX=$ac_cv_prog_CXX
16756 if test -n "$CXX"; then
16757 { echo "$as_me:$LINENO: result: $CXX" >&5
16758 echo "${ECHO_T}$CXX" >&6; }
16759 else
16760 { echo "$as_me:$LINENO: result: no" >&5
16761 echo "${ECHO_T}no" >&6; }
16762 fi
16763
16764
16765 test -n "$CXX" && break
16766 done
16767 fi
16768 if test -z "$CXX"; then
16769 ac_ct_CXX=$CXX
16770 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16771 do
16772 # Extract the first word of "$ac_prog", so it can be a program name with args.
16773 set dummy $ac_prog; ac_word=$2
16774 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16776 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16777 echo $ECHO_N "(cached) $ECHO_C" >&6
16778 else
16779 if test -n "$ac_ct_CXX"; then
16780 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16781 else
16782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16783 for as_dir in $PATH
16784 do
16785 IFS=$as_save_IFS
16786 test -z "$as_dir" && as_dir=.
16787 for ac_exec_ext in '' $ac_executable_extensions; do
16788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16789 ac_cv_prog_ac_ct_CXX="$ac_prog"
16790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16791 break 2
16792 fi
16793 done
16794 done
16795 IFS=$as_save_IFS
16796
16797 fi
16798 fi
16799 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16800 if test -n "$ac_ct_CXX"; then
16801 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16802 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16803 else
16804 { echo "$as_me:$LINENO: result: no" >&5
16805 echo "${ECHO_T}no" >&6; }
16806 fi
16807
16808
16809 test -n "$ac_ct_CXX" && break
16810 done
16811
16812 if test "x$ac_ct_CXX" = x; then
16813 CXX="g++"
16814 else
16815 case $cross_compiling:$ac_tool_warned in
16816 yes:)
16817 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16818 whose name does not start with the host triplet. If you think this
16819 configuration is useful to you, please write to autoconf@gnu.org." >&5
16820 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16821 whose name does not start with the host triplet. If you think this
16822 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16823 ac_tool_warned=yes ;;
16824 esac
16825 CXX=$ac_ct_CXX
16826 fi
16827 fi
16828
16829 fi
16830 fi
16831 # Provide some information about the compiler.
16832 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16833 ac_compiler=`set X $ac_compile; echo $2`
16834 { (ac_try="$ac_compiler --version >&5"
16835 case "(($ac_try" in
16836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16837 *) ac_try_echo=$ac_try;;
16838 esac
16839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16840 (eval "$ac_compiler --version >&5") 2>&5
16841 ac_status=$?
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); }
16844 { (ac_try="$ac_compiler -v >&5"
16845 case "(($ac_try" in
16846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16847 *) ac_try_echo=$ac_try;;
16848 esac
16849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16850 (eval "$ac_compiler -v >&5") 2>&5
16851 ac_status=$?
16852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 (exit $ac_status); }
16854 { (ac_try="$ac_compiler -V >&5"
16855 case "(($ac_try" in
16856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16857 *) ac_try_echo=$ac_try;;
16858 esac
16859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16860 (eval "$ac_compiler -V >&5") 2>&5
16861 ac_status=$?
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }
16864
16865 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16866 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16867 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16868 echo $ECHO_N "(cached) $ECHO_C" >&6
16869 else
16870 cat >conftest.$ac_ext <<_ACEOF
16871 /* confdefs.h. */
16872 _ACEOF
16873 cat confdefs.h >>conftest.$ac_ext
16874 cat >>conftest.$ac_ext <<_ACEOF
16875 /* end confdefs.h. */
16876
16877 int
16878 main ()
16879 {
16880 #ifndef __GNUC__
16881 choke me
16882 #endif
16883
16884 ;
16885 return 0;
16886 }
16887 _ACEOF
16888 rm -f conftest.$ac_objext
16889 if { (ac_try="$ac_compile"
16890 case "(($ac_try" in
16891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16892 *) ac_try_echo=$ac_try;;
16893 esac
16894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16895 (eval "$ac_compile") 2>conftest.er1
16896 ac_status=$?
16897 grep -v '^ *+' conftest.er1 >conftest.err
16898 rm -f conftest.er1
16899 cat conftest.err >&5
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); } && {
16902 test -z "$ac_cxx_werror_flag" ||
16903 test ! -s conftest.err
16904 } && test -s conftest.$ac_objext; then
16905 ac_compiler_gnu=yes
16906 else
16907 echo "$as_me: failed program was:" >&5
16908 sed 's/^/| /' conftest.$ac_ext >&5
16909
16910 ac_compiler_gnu=no
16911 fi
16912
16913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16914 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16915
16916 fi
16917 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16918 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16919 GXX=`test $ac_compiler_gnu = yes && echo yes`
16920 ac_test_CXXFLAGS=${CXXFLAGS+set}
16921 ac_save_CXXFLAGS=$CXXFLAGS
16922 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16923 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16924 if test "${ac_cv_prog_cxx_g+set}" = set; then
16925 echo $ECHO_N "(cached) $ECHO_C" >&6
16926 else
16927 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16928 ac_cxx_werror_flag=yes
16929 ac_cv_prog_cxx_g=no
16930 CXXFLAGS="-g"
16931 cat >conftest.$ac_ext <<_ACEOF
16932 /* confdefs.h. */
16933 _ACEOF
16934 cat confdefs.h >>conftest.$ac_ext
16935 cat >>conftest.$ac_ext <<_ACEOF
16936 /* end confdefs.h. */
16937
16938 int
16939 main ()
16940 {
16941
16942 ;
16943 return 0;
16944 }
16945 _ACEOF
16946 rm -f conftest.$ac_objext
16947 if { (ac_try="$ac_compile"
16948 case "(($ac_try" in
16949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16950 *) ac_try_echo=$ac_try;;
16951 esac
16952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16953 (eval "$ac_compile") 2>conftest.er1
16954 ac_status=$?
16955 grep -v '^ *+' conftest.er1 >conftest.err
16956 rm -f conftest.er1
16957 cat conftest.err >&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); } && {
16960 test -z "$ac_cxx_werror_flag" ||
16961 test ! -s conftest.err
16962 } && test -s conftest.$ac_objext; then
16963 ac_cv_prog_cxx_g=yes
16964 else
16965 echo "$as_me: failed program was:" >&5
16966 sed 's/^/| /' conftest.$ac_ext >&5
16967
16968 CXXFLAGS=""
16969 cat >conftest.$ac_ext <<_ACEOF
16970 /* confdefs.h. */
16971 _ACEOF
16972 cat confdefs.h >>conftest.$ac_ext
16973 cat >>conftest.$ac_ext <<_ACEOF
16974 /* end confdefs.h. */
16975
16976 int
16977 main ()
16978 {
16979
16980 ;
16981 return 0;
16982 }
16983 _ACEOF
16984 rm -f conftest.$ac_objext
16985 if { (ac_try="$ac_compile"
16986 case "(($ac_try" in
16987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16988 *) ac_try_echo=$ac_try;;
16989 esac
16990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16991 (eval "$ac_compile") 2>conftest.er1
16992 ac_status=$?
16993 grep -v '^ *+' conftest.er1 >conftest.err
16994 rm -f conftest.er1
16995 cat conftest.err >&5
16996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); } && {
16998 test -z "$ac_cxx_werror_flag" ||
16999 test ! -s conftest.err
17000 } && test -s conftest.$ac_objext; then
17001 :
17002 else
17003 echo "$as_me: failed program was:" >&5
17004 sed 's/^/| /' conftest.$ac_ext >&5
17005
17006 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17007 CXXFLAGS="-g"
17008 cat >conftest.$ac_ext <<_ACEOF
17009 /* confdefs.h. */
17010 _ACEOF
17011 cat confdefs.h >>conftest.$ac_ext
17012 cat >>conftest.$ac_ext <<_ACEOF
17013 /* end confdefs.h. */
17014
17015 int
17016 main ()
17017 {
17018
17019 ;
17020 return 0;
17021 }
17022 _ACEOF
17023 rm -f conftest.$ac_objext
17024 if { (ac_try="$ac_compile"
17025 case "(($ac_try" in
17026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17027 *) ac_try_echo=$ac_try;;
17028 esac
17029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17030 (eval "$ac_compile") 2>conftest.er1
17031 ac_status=$?
17032 grep -v '^ *+' conftest.er1 >conftest.err
17033 rm -f conftest.er1
17034 cat conftest.err >&5
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); } && {
17037 test -z "$ac_cxx_werror_flag" ||
17038 test ! -s conftest.err
17039 } && test -s conftest.$ac_objext; then
17040 ac_cv_prog_cxx_g=yes
17041 else
17042 echo "$as_me: failed program was:" >&5
17043 sed 's/^/| /' conftest.$ac_ext >&5
17044
17045
17046 fi
17047
17048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17049 fi
17050
17051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17052 fi
17053
17054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17055 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17056 fi
17057 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17058 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17059 if test "$ac_test_CXXFLAGS" = set; then
17060 CXXFLAGS=$ac_save_CXXFLAGS
17061 elif test $ac_cv_prog_cxx_g = yes; then
17062 if test "$GXX" = yes; then
17063 CXXFLAGS="-g -O2"
17064 else
17065 CXXFLAGS="-g"
17066 fi
17067 else
17068 if test "$GXX" = yes; then
17069 CXXFLAGS="-O2"
17070 else
17071 CXXFLAGS=
17072 fi
17073 fi
17074 ac_ext=c
17075 ac_cpp='$CPP $CPPFLAGS'
17076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17079
17080
17081
17082
17083 ac_ext=cpp
17084 ac_cpp='$CXXCPP $CPPFLAGS'
17085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17088
17089 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17090 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17091 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17092 echo $ECHO_N "(cached) $ECHO_C" >&6
17093 else
17094 cat >conftest.$ac_ext <<_ACEOF
17095 /* confdefs.h. */
17096 _ACEOF
17097 cat confdefs.h >>conftest.$ac_ext
17098 cat >>conftest.$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17100
17101 int
17102 main ()
17103 {
17104
17105 #ifndef __INTEL_COMPILER
17106 choke me
17107 #endif
17108
17109 ;
17110 return 0;
17111 }
17112 _ACEOF
17113 rm -f conftest.$ac_objext
17114 if { (ac_try="$ac_compile"
17115 case "(($ac_try" in
17116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17117 *) ac_try_echo=$ac_try;;
17118 esac
17119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17120 (eval "$ac_compile") 2>conftest.er1
17121 ac_status=$?
17122 grep -v '^ *+' conftest.er1 >conftest.err
17123 rm -f conftest.er1
17124 cat conftest.err >&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); } && {
17127 test -z "$ac_cxx_werror_flag" ||
17128 test ! -s conftest.err
17129 } && test -s conftest.$ac_objext; then
17130 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17131 else
17132 echo "$as_me: failed program was:" >&5
17133 sed 's/^/| /' conftest.$ac_ext >&5
17134
17135 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17136
17137 fi
17138
17139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17140
17141
17142 fi
17143 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17144 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17145 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17146 :; INTELCXX=yes
17147 else
17148 :;
17149 fi
17150 ac_ext=c
17151 ac_cpp='$CPP $CPPFLAGS'
17152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17155
17156
17157
17158
17159 if test "$INTELCXX" = "yes"; then
17160
17161
17162 ac_ext=cpp
17163 ac_cpp='$CXXCPP $CPPFLAGS'
17164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17167
17168 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17169 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17170 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17171 echo $ECHO_N "(cached) $ECHO_C" >&6
17172 else
17173 cat >conftest.$ac_ext <<_ACEOF
17174 /* confdefs.h. */
17175 _ACEOF
17176 cat confdefs.h >>conftest.$ac_ext
17177 cat >>conftest.$ac_ext <<_ACEOF
17178 /* end confdefs.h. */
17179
17180 int
17181 main ()
17182 {
17183
17184 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17185 choke me
17186 #endif
17187
17188 ;
17189 return 0;
17190 }
17191 _ACEOF
17192 rm -f conftest.$ac_objext
17193 if { (ac_try="$ac_compile"
17194 case "(($ac_try" in
17195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17196 *) ac_try_echo=$ac_try;;
17197 esac
17198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17199 (eval "$ac_compile") 2>conftest.er1
17200 ac_status=$?
17201 grep -v '^ *+' conftest.er1 >conftest.err
17202 rm -f conftest.er1
17203 cat conftest.err >&5
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); } && {
17206 test -z "$ac_cxx_werror_flag" ||
17207 test ! -s conftest.err
17208 } && test -s conftest.$ac_objext; then
17209 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17210 else
17211 echo "$as_me: failed program was:" >&5
17212 sed 's/^/| /' conftest.$ac_ext >&5
17213
17214 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17215
17216 fi
17217
17218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17219
17220
17221 fi
17222 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17223 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17224 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17225 :; INTELCXX8=yes
17226 else
17227 :;
17228 fi
17229 ac_ext=c
17230 ac_cpp='$CPP $CPPFLAGS'
17231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17234
17235
17236
17237
17238
17239 ac_ext=cpp
17240 ac_cpp='$CXXCPP $CPPFLAGS'
17241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17244
17245 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17246 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17247 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17248 echo $ECHO_N "(cached) $ECHO_C" >&6
17249 else
17250 cat >conftest.$ac_ext <<_ACEOF
17251 /* confdefs.h. */
17252 _ACEOF
17253 cat confdefs.h >>conftest.$ac_ext
17254 cat >>conftest.$ac_ext <<_ACEOF
17255 /* end confdefs.h. */
17256
17257 int
17258 main ()
17259 {
17260
17261 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17262 choke me
17263 #endif
17264
17265 ;
17266 return 0;
17267 }
17268 _ACEOF
17269 rm -f conftest.$ac_objext
17270 if { (ac_try="$ac_compile"
17271 case "(($ac_try" in
17272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17273 *) ac_try_echo=$ac_try;;
17274 esac
17275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17276 (eval "$ac_compile") 2>conftest.er1
17277 ac_status=$?
17278 grep -v '^ *+' conftest.er1 >conftest.err
17279 rm -f conftest.er1
17280 cat conftest.err >&5
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); } && {
17283 test -z "$ac_cxx_werror_flag" ||
17284 test ! -s conftest.err
17285 } && test -s conftest.$ac_objext; then
17286 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17287 else
17288 echo "$as_me: failed program was:" >&5
17289 sed 's/^/| /' conftest.$ac_ext >&5
17290
17291 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17292
17293 fi
17294
17295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17296
17297
17298 fi
17299 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17300 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17301 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17302 :; INTELCXX10=yes
17303 else
17304 :;
17305 fi
17306 ac_ext=c
17307 ac_cpp='$CPP $CPPFLAGS'
17308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17311
17312
17313
17314 fi
17315
17316 if test "x$GCXX" != "xyes"; then
17317 if test "xCXX" = "xC"; then
17318 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17319 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17320 if test "${bakefile_cv_c_exto+set}" = set; then
17321 echo $ECHO_N "(cached) $ECHO_C" >&6
17322 else
17323 cat >conftest.$ac_ext <<_ACEOF
17324 /* confdefs.h. */
17325 _ACEOF
17326 cat confdefs.h >>conftest.$ac_ext
17327 cat >>conftest.$ac_ext <<_ACEOF
17328 /* end confdefs.h. */
17329
17330 int
17331 main ()
17332 {
17333
17334 ;
17335 return 0;
17336 }
17337 _ACEOF
17338 rm -f conftest.$ac_objext conftest.$ac_ext.o
17339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17340 (eval $ac_compile) 2>&5
17341 ac_status=$?
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); }; then
17344 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17345 case $ac_file in
17346 conftest.$ac_ext.o)
17347 bakefile_cv_c_exto="-ext o"
17348 ;;
17349 *)
17350 ;;
17351 esac
17352 done
17353 else
17354 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17355 See \`config.log' for more details." >&5
17356 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17357 See \`config.log' for more details." >&2;}
17358 { (exit 1); exit 1; }; }
17359
17360 fi
17361
17362 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17363
17364 fi
17365 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17366 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17367 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17368 if test "c" = "c"; then
17369 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17370 fi
17371 if test "c" = "cxx"; then
17372 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17373 fi
17374 fi
17375
17376 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17377 unset ac_cv_prog_cc_g
17378 ac_test_CFLAGS=${CFLAGS+set}
17379 ac_save_CFLAGS=$CFLAGS
17380 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17381 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17382 if test "${ac_cv_prog_cc_g+set}" = set; then
17383 echo $ECHO_N "(cached) $ECHO_C" >&6
17384 else
17385 ac_save_c_werror_flag=$ac_c_werror_flag
17386 ac_c_werror_flag=yes
17387 ac_cv_prog_cc_g=no
17388 CFLAGS="-g"
17389 cat >conftest.$ac_ext <<_ACEOF
17390 /* confdefs.h. */
17391 _ACEOF
17392 cat confdefs.h >>conftest.$ac_ext
17393 cat >>conftest.$ac_ext <<_ACEOF
17394 /* end confdefs.h. */
17395
17396 int
17397 main ()
17398 {
17399
17400 ;
17401 return 0;
17402 }
17403 _ACEOF
17404 rm -f conftest.$ac_objext
17405 if { (ac_try="$ac_compile"
17406 case "(($ac_try" in
17407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17408 *) ac_try_echo=$ac_try;;
17409 esac
17410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17411 (eval "$ac_compile") 2>conftest.er1
17412 ac_status=$?
17413 grep -v '^ *+' conftest.er1 >conftest.err
17414 rm -f conftest.er1
17415 cat conftest.err >&5
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); } && {
17418 test -z "$ac_c_werror_flag" ||
17419 test ! -s conftest.err
17420 } && test -s conftest.$ac_objext; then
17421 ac_cv_prog_cc_g=yes
17422 else
17423 echo "$as_me: failed program was:" >&5
17424 sed 's/^/| /' conftest.$ac_ext >&5
17425
17426 CFLAGS=""
17427 cat >conftest.$ac_ext <<_ACEOF
17428 /* confdefs.h. */
17429 _ACEOF
17430 cat confdefs.h >>conftest.$ac_ext
17431 cat >>conftest.$ac_ext <<_ACEOF
17432 /* end confdefs.h. */
17433
17434 int
17435 main ()
17436 {
17437
17438 ;
17439 return 0;
17440 }
17441 _ACEOF
17442 rm -f conftest.$ac_objext
17443 if { (ac_try="$ac_compile"
17444 case "(($ac_try" in
17445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17446 *) ac_try_echo=$ac_try;;
17447 esac
17448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17449 (eval "$ac_compile") 2>conftest.er1
17450 ac_status=$?
17451 grep -v '^ *+' conftest.er1 >conftest.err
17452 rm -f conftest.er1
17453 cat conftest.err >&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); } && {
17456 test -z "$ac_c_werror_flag" ||
17457 test ! -s conftest.err
17458 } && test -s conftest.$ac_objext; then
17459 :
17460 else
17461 echo "$as_me: failed program was:" >&5
17462 sed 's/^/| /' conftest.$ac_ext >&5
17463
17464 ac_c_werror_flag=$ac_save_c_werror_flag
17465 CFLAGS="-g"
17466 cat >conftest.$ac_ext <<_ACEOF
17467 /* confdefs.h. */
17468 _ACEOF
17469 cat confdefs.h >>conftest.$ac_ext
17470 cat >>conftest.$ac_ext <<_ACEOF
17471 /* end confdefs.h. */
17472
17473 int
17474 main ()
17475 {
17476
17477 ;
17478 return 0;
17479 }
17480 _ACEOF
17481 rm -f conftest.$ac_objext
17482 if { (ac_try="$ac_compile"
17483 case "(($ac_try" in
17484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17485 *) ac_try_echo=$ac_try;;
17486 esac
17487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17488 (eval "$ac_compile") 2>conftest.er1
17489 ac_status=$?
17490 grep -v '^ *+' conftest.er1 >conftest.err
17491 rm -f conftest.er1
17492 cat conftest.err >&5
17493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); } && {
17495 test -z "$ac_c_werror_flag" ||
17496 test ! -s conftest.err
17497 } && test -s conftest.$ac_objext; then
17498 ac_cv_prog_cc_g=yes
17499 else
17500 echo "$as_me: failed program was:" >&5
17501 sed 's/^/| /' conftest.$ac_ext >&5
17502
17503
17504 fi
17505
17506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17507 fi
17508
17509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17510 fi
17511
17512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17513 ac_c_werror_flag=$ac_save_c_werror_flag
17514 fi
17515 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17516 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17517 if test "$ac_test_CFLAGS" = set; then
17518 CFLAGS=$ac_save_CFLAGS
17519 elif test $ac_cv_prog_cc_g = yes; then
17520 if test "$GCC" = yes; then
17521 CFLAGS="-g -O2"
17522 else
17523 CFLAGS="-g"
17524 fi
17525 else
17526 if test "$GCC" = yes; then
17527 CFLAGS="-O2"
17528 else
17529 CFLAGS=
17530 fi
17531 fi
17532 fi
17533 fi
17534
17535 case `uname -s` in
17536 AIX*)
17537
17538
17539 ac_ext=cpp
17540 ac_cpp='$CXXCPP $CPPFLAGS'
17541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17544
17545 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17546 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17547 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17548 echo $ECHO_N "(cached) $ECHO_C" >&6
17549 else
17550 cat >conftest.$ac_ext <<_ACEOF
17551 /* confdefs.h. */
17552 _ACEOF
17553 cat confdefs.h >>conftest.$ac_ext
17554 cat >>conftest.$ac_ext <<_ACEOF
17555 /* end confdefs.h. */
17556
17557 int
17558 main ()
17559 {
17560
17561 #ifndef __xlC__
17562 choke me
17563 #endif
17564
17565 ;
17566 return 0;
17567 }
17568 _ACEOF
17569 rm -f conftest.$ac_objext
17570 if { (ac_try="$ac_compile"
17571 case "(($ac_try" in
17572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17573 *) ac_try_echo=$ac_try;;
17574 esac
17575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17576 (eval "$ac_compile") 2>conftest.er1
17577 ac_status=$?
17578 grep -v '^ *+' conftest.er1 >conftest.err
17579 rm -f conftest.er1
17580 cat conftest.err >&5
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); } && {
17583 test -z "$ac_cxx_werror_flag" ||
17584 test ! -s conftest.err
17585 } && test -s conftest.$ac_objext; then
17586 bakefile_cv_cxx_compiler___xlC__=yes
17587 else
17588 echo "$as_me: failed program was:" >&5
17589 sed 's/^/| /' conftest.$ac_ext >&5
17590
17591 bakefile_cv_cxx_compiler___xlC__=no
17592
17593 fi
17594
17595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17596
17597
17598 fi
17599 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17600 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17601 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17602 :; XLCXX=yes
17603 else
17604 :;
17605 fi
17606 ac_ext=c
17607 ac_cpp='$CPP $CPPFLAGS'
17608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17611
17612
17613
17614 ;;
17615
17616 Darwin)
17617
17618
17619 ac_ext=cpp
17620 ac_cpp='$CXXCPP $CPPFLAGS'
17621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17624
17625 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17626 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17627 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17628 echo $ECHO_N "(cached) $ECHO_C" >&6
17629 else
17630 cat >conftest.$ac_ext <<_ACEOF
17631 /* confdefs.h. */
17632 _ACEOF
17633 cat confdefs.h >>conftest.$ac_ext
17634 cat >>conftest.$ac_ext <<_ACEOF
17635 /* end confdefs.h. */
17636
17637 int
17638 main ()
17639 {
17640
17641 #ifndef __MWERKS__
17642 choke me
17643 #endif
17644
17645 ;
17646 return 0;
17647 }
17648 _ACEOF
17649 rm -f conftest.$ac_objext
17650 if { (ac_try="$ac_compile"
17651 case "(($ac_try" in
17652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17653 *) ac_try_echo=$ac_try;;
17654 esac
17655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17656 (eval "$ac_compile") 2>conftest.er1
17657 ac_status=$?
17658 grep -v '^ *+' conftest.er1 >conftest.err
17659 rm -f conftest.er1
17660 cat conftest.err >&5
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); } && {
17663 test -z "$ac_cxx_werror_flag" ||
17664 test ! -s conftest.err
17665 } && test -s conftest.$ac_objext; then
17666 bakefile_cv_cxx_compiler___MWERKS__=yes
17667 else
17668 echo "$as_me: failed program was:" >&5
17669 sed 's/^/| /' conftest.$ac_ext >&5
17670
17671 bakefile_cv_cxx_compiler___MWERKS__=no
17672
17673 fi
17674
17675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17676
17677
17678 fi
17679 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17680 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17681 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17682 :; MWCXX=yes
17683 else
17684 :;
17685 fi
17686 ac_ext=c
17687 ac_cpp='$CPP $CPPFLAGS'
17688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17691
17692
17693
17694 if test "$MWCXX" != "yes"; then
17695
17696
17697 ac_ext=cpp
17698 ac_cpp='$CXXCPP $CPPFLAGS'
17699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17702
17703 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17704 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17705 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17706 echo $ECHO_N "(cached) $ECHO_C" >&6
17707 else
17708 cat >conftest.$ac_ext <<_ACEOF
17709 /* confdefs.h. */
17710 _ACEOF
17711 cat confdefs.h >>conftest.$ac_ext
17712 cat >>conftest.$ac_ext <<_ACEOF
17713 /* end confdefs.h. */
17714
17715 int
17716 main ()
17717 {
17718
17719 #ifndef __xlC__
17720 choke me
17721 #endif
17722
17723 ;
17724 return 0;
17725 }
17726 _ACEOF
17727 rm -f conftest.$ac_objext
17728 if { (ac_try="$ac_compile"
17729 case "(($ac_try" in
17730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17731 *) ac_try_echo=$ac_try;;
17732 esac
17733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17734 (eval "$ac_compile") 2>conftest.er1
17735 ac_status=$?
17736 grep -v '^ *+' conftest.er1 >conftest.err
17737 rm -f conftest.er1
17738 cat conftest.err >&5
17739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17740 (exit $ac_status); } && {
17741 test -z "$ac_cxx_werror_flag" ||
17742 test ! -s conftest.err
17743 } && test -s conftest.$ac_objext; then
17744 bakefile_cv_cxx_compiler___xlC__=yes
17745 else
17746 echo "$as_me: failed program was:" >&5
17747 sed 's/^/| /' conftest.$ac_ext >&5
17748
17749 bakefile_cv_cxx_compiler___xlC__=no
17750
17751 fi
17752
17753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17754
17755
17756 fi
17757 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17758 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17759 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17760 :; XLCXX=yes
17761 else
17762 :;
17763 fi
17764 ac_ext=c
17765 ac_cpp='$CPP $CPPFLAGS'
17766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17769
17770
17771
17772 fi
17773 ;;
17774
17775 IRIX*)
17776
17777
17778 ac_ext=cpp
17779 ac_cpp='$CXXCPP $CPPFLAGS'
17780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17783
17784 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17785 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17786 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17787 echo $ECHO_N "(cached) $ECHO_C" >&6
17788 else
17789 cat >conftest.$ac_ext <<_ACEOF
17790 /* confdefs.h. */
17791 _ACEOF
17792 cat confdefs.h >>conftest.$ac_ext
17793 cat >>conftest.$ac_ext <<_ACEOF
17794 /* end confdefs.h. */
17795
17796 int
17797 main ()
17798 {
17799
17800 #ifndef _SGI_COMPILER_VERSION
17801 choke me
17802 #endif
17803
17804 ;
17805 return 0;
17806 }
17807 _ACEOF
17808 rm -f conftest.$ac_objext
17809 if { (ac_try="$ac_compile"
17810 case "(($ac_try" in
17811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17812 *) ac_try_echo=$ac_try;;
17813 esac
17814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17815 (eval "$ac_compile") 2>conftest.er1
17816 ac_status=$?
17817 grep -v '^ *+' conftest.er1 >conftest.err
17818 rm -f conftest.er1
17819 cat conftest.err >&5
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); } && {
17822 test -z "$ac_cxx_werror_flag" ||
17823 test ! -s conftest.err
17824 } && test -s conftest.$ac_objext; then
17825 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17826 else
17827 echo "$as_me: failed program was:" >&5
17828 sed 's/^/| /' conftest.$ac_ext >&5
17829
17830 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17831
17832 fi
17833
17834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17835
17836
17837 fi
17838 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17839 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17840 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17841 :; SGICXX=yes
17842 else
17843 :;
17844 fi
17845 ac_ext=c
17846 ac_cpp='$CPP $CPPFLAGS'
17847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17850
17851
17852
17853 ;;
17854
17855 Linux*)
17856 if test "$INTELCXX" != "yes"; then
17857
17858
17859 ac_ext=cpp
17860 ac_cpp='$CXXCPP $CPPFLAGS'
17861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17864
17865 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17866 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17867 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17868 echo $ECHO_N "(cached) $ECHO_C" >&6
17869 else
17870 cat >conftest.$ac_ext <<_ACEOF
17871 /* confdefs.h. */
17872 _ACEOF
17873 cat confdefs.h >>conftest.$ac_ext
17874 cat >>conftest.$ac_ext <<_ACEOF
17875 /* end confdefs.h. */
17876
17877 int
17878 main ()
17879 {
17880
17881 #ifndef __SUNPRO_CC
17882 choke me
17883 #endif
17884
17885 ;
17886 return 0;
17887 }
17888 _ACEOF
17889 rm -f conftest.$ac_objext
17890 if { (ac_try="$ac_compile"
17891 case "(($ac_try" in
17892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17893 *) ac_try_echo=$ac_try;;
17894 esac
17895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17896 (eval "$ac_compile") 2>conftest.er1
17897 ac_status=$?
17898 grep -v '^ *+' conftest.er1 >conftest.err
17899 rm -f conftest.er1
17900 cat conftest.err >&5
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); } && {
17903 test -z "$ac_cxx_werror_flag" ||
17904 test ! -s conftest.err
17905 } && test -s conftest.$ac_objext; then
17906 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17907 else
17908 echo "$as_me: failed program was:" >&5
17909 sed 's/^/| /' conftest.$ac_ext >&5
17910
17911 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17912
17913 fi
17914
17915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17916
17917
17918 fi
17919 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17920 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17921 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17922 :; SUNCXX=yes
17923 else
17924 :;
17925 fi
17926 ac_ext=c
17927 ac_cpp='$CPP $CPPFLAGS'
17928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17931
17932
17933
17934 fi
17935 ;;
17936
17937 HP-UX*)
17938
17939
17940 ac_ext=cpp
17941 ac_cpp='$CXXCPP $CPPFLAGS'
17942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17945
17946 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17947 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17948 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17949 echo $ECHO_N "(cached) $ECHO_C" >&6
17950 else
17951 cat >conftest.$ac_ext <<_ACEOF
17952 /* confdefs.h. */
17953 _ACEOF
17954 cat confdefs.h >>conftest.$ac_ext
17955 cat >>conftest.$ac_ext <<_ACEOF
17956 /* end confdefs.h. */
17957
17958 int
17959 main ()
17960 {
17961
17962 #ifndef __HP_aCC
17963 choke me
17964 #endif
17965
17966 ;
17967 return 0;
17968 }
17969 _ACEOF
17970 rm -f conftest.$ac_objext
17971 if { (ac_try="$ac_compile"
17972 case "(($ac_try" in
17973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17974 *) ac_try_echo=$ac_try;;
17975 esac
17976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17977 (eval "$ac_compile") 2>conftest.er1
17978 ac_status=$?
17979 grep -v '^ *+' conftest.er1 >conftest.err
17980 rm -f conftest.er1
17981 cat conftest.err >&5
17982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); } && {
17984 test -z "$ac_cxx_werror_flag" ||
17985 test ! -s conftest.err
17986 } && test -s conftest.$ac_objext; then
17987 bakefile_cv_cxx_compiler___HP_aCC=yes
17988 else
17989 echo "$as_me: failed program was:" >&5
17990 sed 's/^/| /' conftest.$ac_ext >&5
17991
17992 bakefile_cv_cxx_compiler___HP_aCC=no
17993
17994 fi
17995
17996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17997
17998
17999 fi
18000 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18001 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18002 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18003 :; HPCXX=yes
18004 else
18005 :;
18006 fi
18007 ac_ext=c
18008 ac_cpp='$CPP $CPPFLAGS'
18009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18012
18013
18014
18015 ;;
18016
18017 OSF1)
18018
18019
18020 ac_ext=cpp
18021 ac_cpp='$CXXCPP $CPPFLAGS'
18022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18025
18026 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18027 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18028 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18029 echo $ECHO_N "(cached) $ECHO_C" >&6
18030 else
18031 cat >conftest.$ac_ext <<_ACEOF
18032 /* confdefs.h. */
18033 _ACEOF
18034 cat confdefs.h >>conftest.$ac_ext
18035 cat >>conftest.$ac_ext <<_ACEOF
18036 /* end confdefs.h. */
18037
18038 int
18039 main ()
18040 {
18041
18042 #ifndef __DECCXX
18043 choke me
18044 #endif
18045
18046 ;
18047 return 0;
18048 }
18049 _ACEOF
18050 rm -f conftest.$ac_objext
18051 if { (ac_try="$ac_compile"
18052 case "(($ac_try" in
18053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18054 *) ac_try_echo=$ac_try;;
18055 esac
18056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18057 (eval "$ac_compile") 2>conftest.er1
18058 ac_status=$?
18059 grep -v '^ *+' conftest.er1 >conftest.err
18060 rm -f conftest.er1
18061 cat conftest.err >&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); } && {
18064 test -z "$ac_cxx_werror_flag" ||
18065 test ! -s conftest.err
18066 } && test -s conftest.$ac_objext; then
18067 bakefile_cv_cxx_compiler___DECCXX=yes
18068 else
18069 echo "$as_me: failed program was:" >&5
18070 sed 's/^/| /' conftest.$ac_ext >&5
18071
18072 bakefile_cv_cxx_compiler___DECCXX=no
18073
18074 fi
18075
18076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18077
18078
18079 fi
18080 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18081 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18082 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18083 :; COMPAQCXX=yes
18084 else
18085 :;
18086 fi
18087 ac_ext=c
18088 ac_cpp='$CPP $CPPFLAGS'
18089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18092
18093
18094
18095 ;;
18096
18097 SunOS)
18098
18099
18100 ac_ext=cpp
18101 ac_cpp='$CXXCPP $CPPFLAGS'
18102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18105
18106 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18107 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18108 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18109 echo $ECHO_N "(cached) $ECHO_C" >&6
18110 else
18111 cat >conftest.$ac_ext <<_ACEOF
18112 /* confdefs.h. */
18113 _ACEOF
18114 cat confdefs.h >>conftest.$ac_ext
18115 cat >>conftest.$ac_ext <<_ACEOF
18116 /* end confdefs.h. */
18117
18118 int
18119 main ()
18120 {
18121
18122 #ifndef __SUNPRO_CC
18123 choke me
18124 #endif
18125
18126 ;
18127 return 0;
18128 }
18129 _ACEOF
18130 rm -f conftest.$ac_objext
18131 if { (ac_try="$ac_compile"
18132 case "(($ac_try" in
18133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18134 *) ac_try_echo=$ac_try;;
18135 esac
18136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18137 (eval "$ac_compile") 2>conftest.er1
18138 ac_status=$?
18139 grep -v '^ *+' conftest.er1 >conftest.err
18140 rm -f conftest.er1
18141 cat conftest.err >&5
18142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18143 (exit $ac_status); } && {
18144 test -z "$ac_cxx_werror_flag" ||
18145 test ! -s conftest.err
18146 } && test -s conftest.$ac_objext; then
18147 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18148 else
18149 echo "$as_me: failed program was:" >&5
18150 sed 's/^/| /' conftest.$ac_ext >&5
18151
18152 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18153
18154 fi
18155
18156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18157
18158
18159 fi
18160 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18161 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18162 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18163 :; SUNCXX=yes
18164 else
18165 :;
18166 fi
18167 ac_ext=c
18168 ac_cpp='$CPP $CPPFLAGS'
18169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18172
18173
18174
18175 ;;
18176 esac
18177 fi
18178
18179
18180
18181 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18182 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18183 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18184 { (exit 1); exit 1; }; }
18185 fi
18186
18187 if test "x$SUNCXX" != xyes; then
18188 if test -n "$ac_tool_prefix"; then
18189 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18190 set dummy ${ac_tool_prefix}ar; ac_word=$2
18191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18193 if test "${ac_cv_prog_AR+set}" = set; then
18194 echo $ECHO_N "(cached) $ECHO_C" >&6
18195 else
18196 if test -n "$AR"; then
18197 ac_cv_prog_AR="$AR" # Let the user override the test.
18198 else
18199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18200 for as_dir in $PATH
18201 do
18202 IFS=$as_save_IFS
18203 test -z "$as_dir" && as_dir=.
18204 for ac_exec_ext in '' $ac_executable_extensions; do
18205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18206 ac_cv_prog_AR="${ac_tool_prefix}ar"
18207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18208 break 2
18209 fi
18210 done
18211 done
18212 IFS=$as_save_IFS
18213
18214 fi
18215 fi
18216 AR=$ac_cv_prog_AR
18217 if test -n "$AR"; then
18218 { echo "$as_me:$LINENO: result: $AR" >&5
18219 echo "${ECHO_T}$AR" >&6; }
18220 else
18221 { echo "$as_me:$LINENO: result: no" >&5
18222 echo "${ECHO_T}no" >&6; }
18223 fi
18224
18225
18226 fi
18227 if test -z "$ac_cv_prog_AR"; then
18228 ac_ct_AR=$AR
18229 # Extract the first word of "ar", so it can be a program name with args.
18230 set dummy ar; ac_word=$2
18231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18233 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18234 echo $ECHO_N "(cached) $ECHO_C" >&6
18235 else
18236 if test -n "$ac_ct_AR"; then
18237 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18238 else
18239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18240 for as_dir in $PATH
18241 do
18242 IFS=$as_save_IFS
18243 test -z "$as_dir" && as_dir=.
18244 for ac_exec_ext in '' $ac_executable_extensions; do
18245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18246 ac_cv_prog_ac_ct_AR="ar"
18247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18248 break 2
18249 fi
18250 done
18251 done
18252 IFS=$as_save_IFS
18253
18254 fi
18255 fi
18256 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18257 if test -n "$ac_ct_AR"; then
18258 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18259 echo "${ECHO_T}$ac_ct_AR" >&6; }
18260 else
18261 { echo "$as_me:$LINENO: result: no" >&5
18262 echo "${ECHO_T}no" >&6; }
18263 fi
18264
18265 if test "x$ac_ct_AR" = x; then
18266 AR=""
18267 else
18268 case $cross_compiling:$ac_tool_warned in
18269 yes:)
18270 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18271 whose name does not start with the host triplet. If you think this
18272 configuration is useful to you, please write to autoconf@gnu.org." >&5
18273 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18274 whose name does not start with the host triplet. If you think this
18275 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18276 ac_tool_warned=yes ;;
18277 esac
18278 AR=$ac_ct_AR
18279 fi
18280 else
18281 AR="$ac_cv_prog_AR"
18282 fi
18283
18284 if test "x$AR" = "x" ; then
18285 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18286 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18287 { (exit 1); exit 1; }; }
18288 fi
18289 fi
18290
18291
18292 if test "$wxUSE_MAC" = 1; then
18293
18294 retest_macosx_linking=no
18295
18296 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18297 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18298 # Implicitly turn on the new --with-macosx-sdk using the default
18299 # SDK which provides the behavior this option has always had.
18300 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18301 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18302 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18303 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18304 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18305 wxUSE_MACOSX_SDK=yes
18306 fi
18307 else
18308 # Complain to user if he specified an argument to --enable-universal_binary
18309 # and also 1) specified --with-macosx-sdk using the default (yes) or
18310 # 2) specified --with-macosx-sdk using a path or 3) specified
18311 # --without-macosx-sdk (no).
18312 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18313 { { echo "$as_me:$LINENO: 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." >&5
18315 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18316 See \`config.log' for more details." >&2;}
18317 { (exit 1); exit 1; }; }
18318 else
18319 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18320 # special-case the empty string because the below test simply
18321 # converts "no" to the empty string anyway.
18322 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18323 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18324 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18325 fi
18326 fi
18327 OSX_UNIV_OPTS="-arch ppc -arch i386"
18328 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18329 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18330 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18331 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18332 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18333 retest_macosx_linking=yes
18334
18335 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18336 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18337 bk_use_pch=no
18338 fi
18339
18340 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18341 wxUSE_MACOSX_SDK=
18342 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18343 # TODO: Search for most recent SDK and use it.
18344 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18345 fi
18346
18347
18348 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18349 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18350 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18351 if ! test -d "$wxUSE_MACOSX_SDK"; then
18352 { { echo "$as_me:$LINENO: error: not found
18353 See \`config.log' for more details." >&5
18354 echo "$as_me: error: not found
18355 See \`config.log' for more details." >&2;}
18356 { (exit 1); exit 1; }; }
18357 else
18358 { echo "$as_me:$LINENO: result: exists" >&5
18359 echo "${ECHO_T}exists" >&6; }
18360 fi
18361 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18362 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18363 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18364 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18365 retest_macosx_linking=yes
18366 fi
18367
18368 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18369 wxUSE_MACOSX_VERSION_MIN=
18370 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18371 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18372 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18373 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18374
18375 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/'`
18376
18377 # If that failed, try again with the new key
18378 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18379
18380 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/'`
18381
18382 fi
18383
18384 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18385 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18386 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18387 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18388 else
18389 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18390 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18391 wxUSE_MACOSX_VERSION_MIN=
18392 fi
18393 else
18394 wxUSE_MACOSX_VERSION_MIN=
18395 fi
18396 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18397 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18398 if test "$wxUSE_OSX_CARBON" = 1 -o "x$OSX_VERSION" = "x10.4"; then
18399 # otherwise configure stops on leopard for universal_binary
18400 wxUSE_MACOSX_VERSION_MIN=10.4
18401 else
18402 # for OS X Cocoa, use 10.5 so we can get 64-bit compile on Snow Leopard
18403 wxUSE_MACOSX_VERSION_MIN=10.5
18404 fi
18405 fi
18406
18407 NEEDS_GCC40="no"
18408 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18409 NEEDS_GCC40="yes"
18410 fi
18411
18412 if test "$wxUSE_OSX_CARBON" = 1; then
18413 NEEDS_GCC40="yes"
18414 fi
18415
18416 if test "x$NEEDS_GCC40" == "xyes"; then
18417 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18418 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18419 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18420 if test "x$CC" = "xgcc"; then
18421 CCVERSION=`$CC --version | grep 4.[2-9].`
18422 if test "x$CCVERSION" != "x"; then
18423 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18424 CC="/usr/bin/gcc-4.0"
18425 fi
18426 fi
18427
18428 if test "x$CXX" = "xg++"; then
18429 CCVERSION=`$CXX --version | grep 4.[2-9].`
18430 if test "x$CCVERSION" != "x"; then
18431 CXX="/usr/bin/g++-4.0"
18432 fi
18433 fi
18434 fi
18435
18436 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18437 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18438 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18439 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18440 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18441 retest_macosx_linking=yes
18442 fi
18443
18444 if test "x$retest_macosx_linking" = "xyes"; then
18445 ac_ext=c
18446 ac_cpp='$CPP $CPPFLAGS'
18447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18450
18451 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18452 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18453 cat >conftest.$ac_ext <<_ACEOF
18454 /* confdefs.h. */
18455 _ACEOF
18456 cat confdefs.h >>conftest.$ac_ext
18457 cat >>conftest.$ac_ext <<_ACEOF
18458 /* end confdefs.h. */
18459
18460 int
18461 main ()
18462 {
18463
18464 ;
18465 return 0;
18466 }
18467 _ACEOF
18468 rm -f conftest.$ac_objext conftest$ac_exeext
18469 if { (ac_try="$ac_link"
18470 case "(($ac_try" in
18471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18472 *) ac_try_echo=$ac_try;;
18473 esac
18474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18475 (eval "$ac_link") 2>conftest.er1
18476 ac_status=$?
18477 grep -v '^ *+' conftest.er1 >conftest.err
18478 rm -f conftest.er1
18479 cat conftest.err >&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); } && {
18482 test -z "$ac_c_werror_flag" ||
18483 test ! -s conftest.err
18484 } && test -s conftest$ac_exeext &&
18485 $as_test_x conftest$ac_exeext; then
18486 { echo "$as_me:$LINENO: result: yes" >&5
18487 echo "${ECHO_T}yes" >&6; }
18488 else
18489 echo "$as_me: failed program was:" >&5
18490 sed 's/^/| /' conftest.$ac_ext >&5
18491
18492 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18493 See \`config.log' for more details." >&5
18494 echo "$as_me: error: no. Try a different SDK
18495 See \`config.log' for more details." >&2;}
18496 { (exit 1); exit 1; }; }; exit 1
18497 fi
18498
18499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18500 conftest$ac_exeext conftest.$ac_ext
18501 ac_ext=c
18502 ac_cpp='$CPP $CPPFLAGS'
18503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18506
18507
18508 ac_ext=cpp
18509 ac_cpp='$CXXCPP $CPPFLAGS'
18510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18513
18514 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18515 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18516 cat >conftest.$ac_ext <<_ACEOF
18517 /* confdefs.h. */
18518 _ACEOF
18519 cat confdefs.h >>conftest.$ac_ext
18520 cat >>conftest.$ac_ext <<_ACEOF
18521 /* end confdefs.h. */
18522
18523 int
18524 main ()
18525 {
18526
18527 ;
18528 return 0;
18529 }
18530 _ACEOF
18531 rm -f conftest.$ac_objext conftest$ac_exeext
18532 if { (ac_try="$ac_link"
18533 case "(($ac_try" in
18534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18535 *) ac_try_echo=$ac_try;;
18536 esac
18537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18538 (eval "$ac_link") 2>conftest.er1
18539 ac_status=$?
18540 grep -v '^ *+' conftest.er1 >conftest.err
18541 rm -f conftest.er1
18542 cat conftest.err >&5
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); } && {
18545 test -z "$ac_cxx_werror_flag" ||
18546 test ! -s conftest.err
18547 } && test -s conftest$ac_exeext &&
18548 $as_test_x conftest$ac_exeext; then
18549 { echo "$as_me:$LINENO: result: yes" >&5
18550 echo "${ECHO_T}yes" >&6; }
18551 else
18552 echo "$as_me: failed program was:" >&5
18553 sed 's/^/| /' conftest.$ac_ext >&5
18554
18555 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18556 See \`config.log' for more details." >&5
18557 echo "$as_me: error: no. Try a different SDK
18558 See \`config.log' for more details." >&2;}
18559 { (exit 1); exit 1; }; }; exit 1
18560 fi
18561
18562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18563 conftest$ac_exeext conftest.$ac_ext
18564 ac_ext=c
18565 ac_cpp='$CPP $CPPFLAGS'
18566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18569
18570 fi
18571
18572 fi
18573 case "${host}" in
18574
18575 *-*-darwin* )
18576 INSTALL_PROGRAM="cp -fp"
18577 INSTALL_DATA="cp -fp"
18578 ;;
18579 *)
18580 ;;
18581 esac
18582
18583
18584 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18585 CXXFLAGS="-qunique $CXXFLAGS"
18586 fi
18587
18588 case "${host}" in
18589 powerpc-*-darwin* )
18590 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18591 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18592 cat >conftest.$ac_ext <<_ACEOF
18593 /* confdefs.h. */
18594 _ACEOF
18595 cat confdefs.h >>conftest.$ac_ext
18596 cat >>conftest.$ac_ext <<_ACEOF
18597 /* end confdefs.h. */
18598
18599 int
18600 main ()
18601 {
18602 #ifndef __POWERPC__
18603 choke me for lack of PowerPC
18604 #endif
18605
18606 ;
18607 return 0;
18608 }
18609 _ACEOF
18610 rm -f conftest.$ac_objext
18611 if { (ac_try="$ac_compile"
18612 case "(($ac_try" in
18613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18614 *) ac_try_echo=$ac_try;;
18615 esac
18616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18617 (eval "$ac_compile") 2>conftest.er1
18618 ac_status=$?
18619 grep -v '^ *+' conftest.er1 >conftest.err
18620 rm -f conftest.er1
18621 cat conftest.err >&5
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); } && {
18624 test -z "$ac_c_werror_flag" ||
18625 test ! -s conftest.err
18626 } && test -s conftest.$ac_objext; then
18627 { echo "$as_me:$LINENO: result: yes" >&5
18628 echo "${ECHO_T}yes" >&6; }
18629 else
18630 echo "$as_me: failed program was:" >&5
18631 sed 's/^/| /' conftest.$ac_ext >&5
18632
18633 { echo "$as_me:$LINENO: result: no" >&5
18634 echo "${ECHO_T}no" >&6; }
18635 cat >>confdefs.h <<\_ACEOF
18636 #define __POWERPC__ 1
18637 _ACEOF
18638
18639
18640 fi
18641
18642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18643 ;;
18644 esac
18645
18646 case "${host}" in
18647 *-*-darwin* )
18648 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18649 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18650 cat >conftest.$ac_ext <<_ACEOF
18651 /* confdefs.h. */
18652 _ACEOF
18653 cat confdefs.h >>conftest.$ac_ext
18654 cat >>conftest.$ac_ext <<_ACEOF
18655 /* end confdefs.h. */
18656 #include <CoreFoundation/CFBase.h>
18657
18658 int
18659 main ()
18660 {
18661
18662 ;
18663 return 0;
18664 }
18665 _ACEOF
18666 rm -f conftest.$ac_objext
18667 if { (ac_try="$ac_compile"
18668 case "(($ac_try" in
18669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18670 *) ac_try_echo=$ac_try;;
18671 esac
18672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18673 (eval "$ac_compile") 2>conftest.er1
18674 ac_status=$?
18675 grep -v '^ *+' conftest.er1 >conftest.err
18676 rm -f conftest.er1
18677 cat conftest.err >&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); } && {
18680 test -z "$ac_c_werror_flag" ||
18681 test ! -s conftest.err
18682 } && test -s conftest.$ac_objext; then
18683 { echo "$as_me:$LINENO: result: yes" >&5
18684 echo "${ECHO_T}yes" >&6; }
18685 else
18686 echo "$as_me: failed program was:" >&5
18687 sed 's/^/| /' conftest.$ac_ext >&5
18688
18689 { echo "$as_me:$LINENO: result: no" >&5
18690 echo "${ECHO_T}no" >&6; }
18691 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18692 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18693 cat >conftest.$ac_ext <<_ACEOF
18694 /* confdefs.h. */
18695 _ACEOF
18696 cat confdefs.h >>conftest.$ac_ext
18697 cat >>conftest.$ac_ext <<_ACEOF
18698 /* end confdefs.h. */
18699 #define __CF_USE_FRAMEWORK_INCLUDES__
18700 #include <CoreFoundation/CFBase.h>
18701
18702 int
18703 main ()
18704 {
18705
18706 ;
18707 return 0;
18708 }
18709 _ACEOF
18710 rm -f conftest.$ac_objext
18711 if { (ac_try="$ac_compile"
18712 case "(($ac_try" in
18713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18714 *) ac_try_echo=$ac_try;;
18715 esac
18716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18717 (eval "$ac_compile") 2>conftest.er1
18718 ac_status=$?
18719 grep -v '^ *+' conftest.er1 >conftest.err
18720 rm -f conftest.er1
18721 cat conftest.err >&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } && {
18724 test -z "$ac_c_werror_flag" ||
18725 test ! -s conftest.err
18726 } && test -s conftest.$ac_objext; then
18727 { echo "$as_me:$LINENO: result: yes" >&5
18728 echo "${ECHO_T}yes" >&6; }
18729 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18730 else
18731 echo "$as_me: failed program was:" >&5
18732 sed 's/^/| /' conftest.$ac_ext >&5
18733
18734 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18735 See \`config.log' for more details." >&5
18736 echo "$as_me: error: no. CoreFoundation not available.
18737 See \`config.log' for more details." >&2;}
18738 { (exit 1); exit 1; }; }
18739
18740 fi
18741
18742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18743
18744
18745 fi
18746
18747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18748 ;;
18749 esac
18750
18751 wants_win32=0
18752 doesnt_want_win32=0
18753 case "${host}" in
18754 *-*-cygwin*)
18755 if test "$wxUSE_MSW" = 1 ; then
18756 wants_win32=1
18757 else
18758 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18759 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18760 if test "${wx_cv_nocygwin+set}" = set; then
18761 echo $ECHO_N "(cached) $ECHO_C" >&6
18762 else
18763
18764 cat >conftest.$ac_ext <<_ACEOF
18765 /* confdefs.h. */
18766 _ACEOF
18767 cat confdefs.h >>conftest.$ac_ext
18768 cat >>conftest.$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18770
18771 int
18772 main ()
18773 {
18774
18775 #ifdef __MINGW32__
18776 choke me
18777 #endif
18778
18779 ;
18780 return 0;
18781 }
18782 _ACEOF
18783 rm -f conftest.$ac_objext
18784 if { (ac_try="$ac_compile"
18785 case "(($ac_try" in
18786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18787 *) ac_try_echo=$ac_try;;
18788 esac
18789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18790 (eval "$ac_compile") 2>conftest.er1
18791 ac_status=$?
18792 grep -v '^ *+' conftest.er1 >conftest.err
18793 rm -f conftest.er1
18794 cat conftest.err >&5
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); } && {
18797 test -z "$ac_c_werror_flag" ||
18798 test ! -s conftest.err
18799 } && test -s conftest.$ac_objext; then
18800 wx_cv_nocygwin=no
18801 else
18802 echo "$as_me: failed program was:" >&5
18803 sed 's/^/| /' conftest.$ac_ext >&5
18804
18805 wx_cv_nocygwin=yes
18806
18807 fi
18808
18809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18810
18811
18812 fi
18813 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18814 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18815
18816 if test "$wx_cv_nocygwin" = "yes"; then
18817 wants_win32=1
18818 else
18819 doesnt_want_win32=1
18820 fi
18821 fi
18822 if test "$wants_win32" = 1 ; then
18823 BAKEFILE_FORCE_PLATFORM=win32
18824 fi
18825 ;;
18826 *-*-mingw*)
18827 wants_win32=1
18828 ;;
18829 esac
18830
18831 if test "$wxUSE_WINE" = "yes"; then
18832 wants_win32=1
18833 LDFLAGS_GUI="-mwindows"
18834 fi
18835
18836 if test "$wants_win32" = 1 ; then
18837 USE_UNIX=0
18838 USE_WIN32=1
18839 cat >>confdefs.h <<\_ACEOF
18840 #define __WIN32__ 1
18841 _ACEOF
18842
18843 cat >>confdefs.h <<\_ACEOF
18844 #define __WIN95__ 1
18845 _ACEOF
18846
18847 cat >>confdefs.h <<\_ACEOF
18848 #define __WINDOWS__ 1
18849 _ACEOF
18850
18851 cat >>confdefs.h <<\_ACEOF
18852 #define __GNUWIN32__ 1
18853 _ACEOF
18854
18855 cat >>confdefs.h <<\_ACEOF
18856 #define STRICT 1
18857 _ACEOF
18858
18859 fi
18860 if test "$doesnt_want_win32" = 1 ; then
18861 USE_UNIX=1
18862 USE_WIN32=0
18863 fi
18864
18865 if test "$USE_UNIX" = 1 ; then
18866 wxUSE_UNIX=yes
18867 cat >>confdefs.h <<\_ACEOF
18868 #define __UNIX__ 1
18869 _ACEOF
18870
18871 fi
18872
18873 case "${host}" in
18874 *-pc-os2_emx | *-pc-os2-emx )
18875 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18876 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18877 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18878 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18879 echo $ECHO_N "(cached) $ECHO_C" >&6
18880 else
18881 ac_check_lib_save_LIBS=$LIBS
18882 LIBS="-lcExt $LIBS"
18883 cat >conftest.$ac_ext <<_ACEOF
18884 /* confdefs.h. */
18885 _ACEOF
18886 cat confdefs.h >>conftest.$ac_ext
18887 cat >>conftest.$ac_ext <<_ACEOF
18888 /* end confdefs.h. */
18889
18890 /* Override any GCC internal prototype to avoid an error.
18891 Use char because int might match the return type of a GCC
18892 builtin and then its argument prototype would still apply. */
18893 #ifdef __cplusplus
18894 extern "C"
18895 #endif
18896 char drand48 ();
18897 int
18898 main ()
18899 {
18900 return drand48 ();
18901 ;
18902 return 0;
18903 }
18904 _ACEOF
18905 rm -f conftest.$ac_objext conftest$ac_exeext
18906 if { (ac_try="$ac_link"
18907 case "(($ac_try" in
18908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18909 *) ac_try_echo=$ac_try;;
18910 esac
18911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18912 (eval "$ac_link") 2>conftest.er1
18913 ac_status=$?
18914 grep -v '^ *+' conftest.er1 >conftest.err
18915 rm -f conftest.er1
18916 cat conftest.err >&5
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); } && {
18919 test -z "$ac_c_werror_flag" ||
18920 test ! -s conftest.err
18921 } && test -s conftest$ac_exeext &&
18922 $as_test_x conftest$ac_exeext; then
18923 ac_cv_lib_cExt_drand48=yes
18924 else
18925 echo "$as_me: failed program was:" >&5
18926 sed 's/^/| /' conftest.$ac_ext >&5
18927
18928 ac_cv_lib_cExt_drand48=no
18929 fi
18930
18931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18932 conftest$ac_exeext conftest.$ac_ext
18933 LIBS=$ac_check_lib_save_LIBS
18934 fi
18935 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18936 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18937 if test $ac_cv_lib_cExt_drand48 = yes; then
18938 LIBS="$LIBS -lcExt"
18939 fi
18940
18941 else
18942 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18943 fi
18944 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18945 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18946 if test "${wx_cv_gccversion+set}" = set; then
18947 echo $ECHO_N "(cached) $ECHO_C" >&6
18948 else
18949
18950 if test "$cross_compiling" = yes; then
18951 wx_cv_gccversion="EMX2"
18952
18953 else
18954 cat >conftest.$ac_ext <<_ACEOF
18955 /* confdefs.h. */
18956 _ACEOF
18957 cat confdefs.h >>conftest.$ac_ext
18958 cat >>conftest.$ac_ext <<_ACEOF
18959 /* end confdefs.h. */
18960
18961 #include <stdio.h>
18962
18963 int main()
18964 {
18965 FILE *f=fopen("conftestval", "w");
18966 if (!f) exit(1);
18967 fprintf(f,
18968 #if (__GNUC__ < 3)
18969 "EMX2"
18970 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18971 "EMX3"
18972 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18973 "Innotek5"
18974 #else
18975 "Innotek6"
18976 #endif
18977 );
18978 exit(0);
18979 }
18980
18981 _ACEOF
18982 rm -f conftest$ac_exeext
18983 if { (ac_try="$ac_link"
18984 case "(($ac_try" in
18985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18986 *) ac_try_echo=$ac_try;;
18987 esac
18988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18989 (eval "$ac_link") 2>&5
18990 ac_status=$?
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18993 { (case "(($ac_try" in
18994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18995 *) ac_try_echo=$ac_try;;
18996 esac
18997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18998 (eval "$ac_try") 2>&5
18999 ac_status=$?
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); }; }; then
19002 wx_cv_gccversion=`cat conftestval`
19003 else
19004 echo "$as_me: program exited with status $ac_status" >&5
19005 echo "$as_me: failed program was:" >&5
19006 sed 's/^/| /' conftest.$ac_ext >&5
19007
19008 ( exit $ac_status )
19009 wx_cv_gccversion="EMX2"
19010 fi
19011 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19012 fi
19013
19014
19015
19016 fi
19017 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19018 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19019 if test "$wx_cv_gccversion" = "EMX2"; then
19020 LIBS="$LIBS -lstdcpp"
19021 LDFLAGS="$LDFLAGS -Zsysv-signals"
19022 else
19023 if test "$wx_cv_gccversion" = "EMX3"; then
19024 LIBS="$LIBS -lstdcxx -lgcc"
19025 LDFLAGS="$LDFLAGS -Zsysv-signals"
19026 else
19027 LIBS="$LIBS -lstdc++"
19028 fi
19029 fi
19030 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19031 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19032 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19033 wxUSE_OMF=yes
19034 enable_omf=yes
19035 fi
19036 ;;
19037 *)
19038
19039 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19040 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19041 if test "${ac_cv_string_strcasecmp+set}" = set; then
19042 echo $ECHO_N "(cached) $ECHO_C" >&6
19043 else
19044
19045 cat >conftest.$ac_ext <<_ACEOF
19046 /* confdefs.h. */
19047 _ACEOF
19048 cat confdefs.h >>conftest.$ac_ext
19049 cat >>conftest.$ac_ext <<_ACEOF
19050 /* end confdefs.h. */
19051
19052 #include <string.h>
19053
19054 int
19055 main ()
19056 {
19057
19058 strcasecmp("foo", "bar");
19059
19060 ;
19061 return 0;
19062 }
19063 _ACEOF
19064 rm -f conftest.$ac_objext conftest$ac_exeext
19065 if { (ac_try="$ac_link"
19066 case "(($ac_try" in
19067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19068 *) ac_try_echo=$ac_try;;
19069 esac
19070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19071 (eval "$ac_link") 2>conftest.er1
19072 ac_status=$?
19073 grep -v '^ *+' conftest.er1 >conftest.err
19074 rm -f conftest.er1
19075 cat conftest.err >&5
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); } && {
19078 test -z "$ac_c_werror_flag" ||
19079 test ! -s conftest.err
19080 } && test -s conftest$ac_exeext &&
19081 $as_test_x conftest$ac_exeext; then
19082 ac_cv_string_strcasecmp=yes
19083 else
19084 echo "$as_me: failed program was:" >&5
19085 sed 's/^/| /' conftest.$ac_ext >&5
19086
19087 ac_cv_string_strcasecmp=no
19088
19089 fi
19090
19091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19092 conftest$ac_exeext conftest.$ac_ext
19093
19094 fi
19095 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19096 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19097
19098 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19099 cat >>confdefs.h <<\_ACEOF
19100 #define HAVE_STRCASECMP_IN_STRING_H 1
19101 _ACEOF
19102
19103 else
19104 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19105 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19106 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19107 echo $ECHO_N "(cached) $ECHO_C" >&6
19108 else
19109
19110 cat >conftest.$ac_ext <<_ACEOF
19111 /* confdefs.h. */
19112 _ACEOF
19113 cat confdefs.h >>conftest.$ac_ext
19114 cat >>conftest.$ac_ext <<_ACEOF
19115 /* end confdefs.h. */
19116
19117 #include <strings.h>
19118
19119 int
19120 main ()
19121 {
19122
19123 strcasecmp("foo", "bar");
19124
19125 ;
19126 return 0;
19127 }
19128 _ACEOF
19129 rm -f conftest.$ac_objext conftest$ac_exeext
19130 if { (ac_try="$ac_link"
19131 case "(($ac_try" in
19132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19133 *) ac_try_echo=$ac_try;;
19134 esac
19135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19136 (eval "$ac_link") 2>conftest.er1
19137 ac_status=$?
19138 grep -v '^ *+' conftest.er1 >conftest.err
19139 rm -f conftest.er1
19140 cat conftest.err >&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); } && {
19143 test -z "$ac_c_werror_flag" ||
19144 test ! -s conftest.err
19145 } && test -s conftest$ac_exeext &&
19146 $as_test_x conftest$ac_exeext; then
19147 ac_cv_strings_strcasecmp=yes
19148 else
19149 echo "$as_me: failed program was:" >&5
19150 sed 's/^/| /' conftest.$ac_ext >&5
19151
19152 ac_cv_strings_strcasecmp=no
19153
19154 fi
19155
19156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19157 conftest$ac_exeext conftest.$ac_ext
19158
19159 fi
19160 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19161 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19162
19163 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19164 cat >>confdefs.h <<\_ACEOF
19165 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19166 _ACEOF
19167
19168 else
19169 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19170 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19171 { (exit 1); exit 1; }; }
19172 fi
19173 fi
19174
19175 ;;
19176 esac
19177
19178
19179 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19180 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19181 if test "${ac_cv_header_stdc+set}" = set; then
19182 echo $ECHO_N "(cached) $ECHO_C" >&6
19183 else
19184 cat >conftest.$ac_ext <<_ACEOF
19185 /* confdefs.h. */
19186 _ACEOF
19187 cat confdefs.h >>conftest.$ac_ext
19188 cat >>conftest.$ac_ext <<_ACEOF
19189 /* end confdefs.h. */
19190 #include <stdlib.h>
19191 #include <stdarg.h>
19192 #include <string.h>
19193 #include <float.h>
19194
19195 int
19196 main ()
19197 {
19198
19199 ;
19200 return 0;
19201 }
19202 _ACEOF
19203 rm -f conftest.$ac_objext
19204 if { (ac_try="$ac_compile"
19205 case "(($ac_try" in
19206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19207 *) ac_try_echo=$ac_try;;
19208 esac
19209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19210 (eval "$ac_compile") 2>conftest.er1
19211 ac_status=$?
19212 grep -v '^ *+' conftest.er1 >conftest.err
19213 rm -f conftest.er1
19214 cat conftest.err >&5
19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216 (exit $ac_status); } && {
19217 test -z "$ac_c_werror_flag" ||
19218 test ! -s conftest.err
19219 } && test -s conftest.$ac_objext; then
19220 ac_cv_header_stdc=yes
19221 else
19222 echo "$as_me: failed program was:" >&5
19223 sed 's/^/| /' conftest.$ac_ext >&5
19224
19225 ac_cv_header_stdc=no
19226 fi
19227
19228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19229
19230 if test $ac_cv_header_stdc = yes; then
19231 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19232 cat >conftest.$ac_ext <<_ACEOF
19233 /* confdefs.h. */
19234 _ACEOF
19235 cat confdefs.h >>conftest.$ac_ext
19236 cat >>conftest.$ac_ext <<_ACEOF
19237 /* end confdefs.h. */
19238 #include <string.h>
19239
19240 _ACEOF
19241 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19242 $EGREP "memchr" >/dev/null 2>&1; then
19243 :
19244 else
19245 ac_cv_header_stdc=no
19246 fi
19247 rm -f conftest*
19248
19249 fi
19250
19251 if test $ac_cv_header_stdc = yes; then
19252 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19253 cat >conftest.$ac_ext <<_ACEOF
19254 /* confdefs.h. */
19255 _ACEOF
19256 cat confdefs.h >>conftest.$ac_ext
19257 cat >>conftest.$ac_ext <<_ACEOF
19258 /* end confdefs.h. */
19259 #include <stdlib.h>
19260
19261 _ACEOF
19262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19263 $EGREP "free" >/dev/null 2>&1; then
19264 :
19265 else
19266 ac_cv_header_stdc=no
19267 fi
19268 rm -f conftest*
19269
19270 fi
19271
19272 if test $ac_cv_header_stdc = yes; then
19273 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19274 if test "$cross_compiling" = yes; then
19275 :
19276 else
19277 cat >conftest.$ac_ext <<_ACEOF
19278 /* confdefs.h. */
19279 _ACEOF
19280 cat confdefs.h >>conftest.$ac_ext
19281 cat >>conftest.$ac_ext <<_ACEOF
19282 /* end confdefs.h. */
19283 #include <ctype.h>
19284 #include <stdlib.h>
19285 #if ((' ' & 0x0FF) == 0x020)
19286 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19287 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19288 #else
19289 # define ISLOWER(c) \
19290 (('a' <= (c) && (c) <= 'i') \
19291 || ('j' <= (c) && (c) <= 'r') \
19292 || ('s' <= (c) && (c) <= 'z'))
19293 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19294 #endif
19295
19296 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19297 int
19298 main ()
19299 {
19300 int i;
19301 for (i = 0; i < 256; i++)
19302 if (XOR (islower (i), ISLOWER (i))
19303 || toupper (i) != TOUPPER (i))
19304 return 2;
19305 return 0;
19306 }
19307 _ACEOF
19308 rm -f conftest$ac_exeext
19309 if { (ac_try="$ac_link"
19310 case "(($ac_try" in
19311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19312 *) ac_try_echo=$ac_try;;
19313 esac
19314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19315 (eval "$ac_link") 2>&5
19316 ac_status=$?
19317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19319 { (case "(($ac_try" in
19320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19321 *) ac_try_echo=$ac_try;;
19322 esac
19323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19324 (eval "$ac_try") 2>&5
19325 ac_status=$?
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); }; }; then
19328 :
19329 else
19330 echo "$as_me: program exited with status $ac_status" >&5
19331 echo "$as_me: failed program was:" >&5
19332 sed 's/^/| /' conftest.$ac_ext >&5
19333
19334 ( exit $ac_status )
19335 ac_cv_header_stdc=no
19336 fi
19337 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19338 fi
19339
19340
19341 fi
19342 fi
19343 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19344 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19345 if test $ac_cv_header_stdc = yes; then
19346
19347 cat >>confdefs.h <<\_ACEOF
19348 #define STDC_HEADERS 1
19349 _ACEOF
19350
19351 fi
19352
19353 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19364 inttypes.h stdint.h unistd.h
19365 do
19366 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19367 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19369 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19370 echo $ECHO_N "(cached) $ECHO_C" >&6
19371 else
19372 cat >conftest.$ac_ext <<_ACEOF
19373 /* confdefs.h. */
19374 _ACEOF
19375 cat confdefs.h >>conftest.$ac_ext
19376 cat >>conftest.$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19378 $ac_includes_default
19379
19380 #include <$ac_header>
19381 _ACEOF
19382 rm -f conftest.$ac_objext
19383 if { (ac_try="$ac_compile"
19384 case "(($ac_try" in
19385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19386 *) ac_try_echo=$ac_try;;
19387 esac
19388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19389 (eval "$ac_compile") 2>conftest.er1
19390 ac_status=$?
19391 grep -v '^ *+' conftest.er1 >conftest.err
19392 rm -f conftest.er1
19393 cat conftest.err >&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); } && {
19396 test -z "$ac_c_werror_flag" ||
19397 test ! -s conftest.err
19398 } && test -s conftest.$ac_objext; then
19399 eval "$as_ac_Header=yes"
19400 else
19401 echo "$as_me: failed program was:" >&5
19402 sed 's/^/| /' conftest.$ac_ext >&5
19403
19404 eval "$as_ac_Header=no"
19405 fi
19406
19407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19408 fi
19409 ac_res=`eval echo '${'$as_ac_Header'}'`
19410 { echo "$as_me:$LINENO: result: $ac_res" >&5
19411 echo "${ECHO_T}$ac_res" >&6; }
19412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19413 cat >>confdefs.h <<_ACEOF
19414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19415 _ACEOF
19416
19417 fi
19418
19419 done
19420
19421
19422
19423
19424 for ac_header in langinfo.h wchar.h
19425 do
19426 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19427 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19429 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19430 echo $ECHO_N "(cached) $ECHO_C" >&6
19431 else
19432 cat >conftest.$ac_ext <<_ACEOF
19433 /* confdefs.h. */
19434 _ACEOF
19435 cat confdefs.h >>conftest.$ac_ext
19436 cat >>conftest.$ac_ext <<_ACEOF
19437 /* end confdefs.h. */
19438 $ac_includes_default
19439
19440 #include <$ac_header>
19441 _ACEOF
19442 rm -f conftest.$ac_objext
19443 if { (ac_try="$ac_compile"
19444 case "(($ac_try" in
19445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19446 *) ac_try_echo=$ac_try;;
19447 esac
19448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19449 (eval "$ac_compile") 2>conftest.er1
19450 ac_status=$?
19451 grep -v '^ *+' conftest.er1 >conftest.err
19452 rm -f conftest.er1
19453 cat conftest.err >&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); } && {
19456 test -z "$ac_c_werror_flag" ||
19457 test ! -s conftest.err
19458 } && test -s conftest.$ac_objext; then
19459 eval "$as_ac_Header=yes"
19460 else
19461 echo "$as_me: failed program was:" >&5
19462 sed 's/^/| /' conftest.$ac_ext >&5
19463
19464 eval "$as_ac_Header=no"
19465 fi
19466
19467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19468 fi
19469 ac_res=`eval echo '${'$as_ac_Header'}'`
19470 { echo "$as_me:$LINENO: result: $ac_res" >&5
19471 echo "${ECHO_T}$ac_res" >&6; }
19472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19473 cat >>confdefs.h <<_ACEOF
19474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19475 _ACEOF
19476
19477 fi
19478
19479 done
19480
19481
19482 if test "$ac_cv_header_wchar_h" != "yes"; then
19483
19484 for ac_header in wcstr.h
19485 do
19486 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19487 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19490 echo $ECHO_N "(cached) $ECHO_C" >&6
19491 else
19492 cat >conftest.$ac_ext <<_ACEOF
19493 /* confdefs.h. */
19494 _ACEOF
19495 cat confdefs.h >>conftest.$ac_ext
19496 cat >>conftest.$ac_ext <<_ACEOF
19497 /* end confdefs.h. */
19498 $ac_includes_default
19499
19500 #include <$ac_header>
19501 _ACEOF
19502 rm -f conftest.$ac_objext
19503 if { (ac_try="$ac_compile"
19504 case "(($ac_try" in
19505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19506 *) ac_try_echo=$ac_try;;
19507 esac
19508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19509 (eval "$ac_compile") 2>conftest.er1
19510 ac_status=$?
19511 grep -v '^ *+' conftest.er1 >conftest.err
19512 rm -f conftest.er1
19513 cat conftest.err >&5
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); } && {
19516 test -z "$ac_c_werror_flag" ||
19517 test ! -s conftest.err
19518 } && test -s conftest.$ac_objext; then
19519 eval "$as_ac_Header=yes"
19520 else
19521 echo "$as_me: failed program was:" >&5
19522 sed 's/^/| /' conftest.$ac_ext >&5
19523
19524 eval "$as_ac_Header=no"
19525 fi
19526
19527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19528 fi
19529 ac_res=`eval echo '${'$as_ac_Header'}'`
19530 { echo "$as_me:$LINENO: result: $ac_res" >&5
19531 echo "${ECHO_T}$ac_res" >&6; }
19532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19533 cat >>confdefs.h <<_ACEOF
19534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19535 _ACEOF
19536
19537 fi
19538
19539 done
19540
19541 fi
19542
19543 case "${host}" in
19544 *-pc-os2_emx | *-pc-os2-emx )
19545 if test $ac_cv_header_langinfo_h = "yes" \
19546 -a \( "$wx_cv_gccversion" = "EMX2" \
19547 -o "$wx_cv_gccversion" = "EMX3" \
19548 -o "$wx_cv_gccversion" = "Innotek5" \); then
19549 LIBS="$LIBS -lintl"
19550 fi
19551 ;;
19552 esac
19553
19554 if test "$USE_UNIX" = 1 ; then
19555
19556 for ac_header in sys/select.h
19557 do
19558 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19559 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19561 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19562 echo $ECHO_N "(cached) $ECHO_C" >&6
19563 else
19564 cat >conftest.$ac_ext <<_ACEOF
19565 /* confdefs.h. */
19566 _ACEOF
19567 cat confdefs.h >>conftest.$ac_ext
19568 cat >>conftest.$ac_ext <<_ACEOF
19569 /* end confdefs.h. */
19570 $ac_includes_default
19571
19572 #include <$ac_header>
19573 _ACEOF
19574 rm -f conftest.$ac_objext
19575 if { (ac_try="$ac_compile"
19576 case "(($ac_try" in
19577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19578 *) ac_try_echo=$ac_try;;
19579 esac
19580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19581 (eval "$ac_compile") 2>conftest.er1
19582 ac_status=$?
19583 grep -v '^ *+' conftest.er1 >conftest.err
19584 rm -f conftest.er1
19585 cat conftest.err >&5
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); } && {
19588 test -z "$ac_c_werror_flag" ||
19589 test ! -s conftest.err
19590 } && test -s conftest.$ac_objext; then
19591 eval "$as_ac_Header=yes"
19592 else
19593 echo "$as_me: failed program was:" >&5
19594 sed 's/^/| /' conftest.$ac_ext >&5
19595
19596 eval "$as_ac_Header=no"
19597 fi
19598
19599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19600 fi
19601 ac_res=`eval echo '${'$as_ac_Header'}'`
19602 { echo "$as_me:$LINENO: result: $ac_res" >&5
19603 echo "${ECHO_T}$ac_res" >&6; }
19604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19605 cat >>confdefs.h <<_ACEOF
19606 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19607 _ACEOF
19608
19609 fi
19610
19611 done
19612
19613 fi
19614
19615
19616 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19617 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19618 if test "${ac_cv_c_const+set}" = set; then
19619 echo $ECHO_N "(cached) $ECHO_C" >&6
19620 else
19621 cat >conftest.$ac_ext <<_ACEOF
19622 /* confdefs.h. */
19623 _ACEOF
19624 cat confdefs.h >>conftest.$ac_ext
19625 cat >>conftest.$ac_ext <<_ACEOF
19626 /* end confdefs.h. */
19627
19628 int
19629 main ()
19630 {
19631 /* FIXME: Include the comments suggested by Paul. */
19632 #ifndef __cplusplus
19633 /* Ultrix mips cc rejects this. */
19634 typedef int charset[2];
19635 const charset cs;
19636 /* SunOS 4.1.1 cc rejects this. */
19637 char const *const *pcpcc;
19638 char **ppc;
19639 /* NEC SVR4.0.2 mips cc rejects this. */
19640 struct point {int x, y;};
19641 static struct point const zero = {0,0};
19642 /* AIX XL C 1.02.0.0 rejects this.
19643 It does not let you subtract one const X* pointer from another in
19644 an arm of an if-expression whose if-part is not a constant
19645 expression */
19646 const char *g = "string";
19647 pcpcc = &g + (g ? g-g : 0);
19648 /* HPUX 7.0 cc rejects these. */
19649 ++pcpcc;
19650 ppc = (char**) pcpcc;
19651 pcpcc = (char const *const *) ppc;
19652 { /* SCO 3.2v4 cc rejects this. */
19653 char *t;
19654 char const *s = 0 ? (char *) 0 : (char const *) 0;
19655
19656 *t++ = 0;
19657 if (s) return 0;
19658 }
19659 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19660 int x[] = {25, 17};
19661 const int *foo = &x[0];
19662 ++foo;
19663 }
19664 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19665 typedef const int *iptr;
19666 iptr p = 0;
19667 ++p;
19668 }
19669 { /* AIX XL C 1.02.0.0 rejects this saying
19670 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19671 struct s { int j; const int *ap[3]; };
19672 struct s *b; b->j = 5;
19673 }
19674 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19675 const int foo = 10;
19676 if (!foo) return 0;
19677 }
19678 return !cs[0] && !zero.x;
19679 #endif
19680
19681 ;
19682 return 0;
19683 }
19684 _ACEOF
19685 rm -f conftest.$ac_objext
19686 if { (ac_try="$ac_compile"
19687 case "(($ac_try" in
19688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19689 *) ac_try_echo=$ac_try;;
19690 esac
19691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19692 (eval "$ac_compile") 2>conftest.er1
19693 ac_status=$?
19694 grep -v '^ *+' conftest.er1 >conftest.err
19695 rm -f conftest.er1
19696 cat conftest.err >&5
19697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19698 (exit $ac_status); } && {
19699 test -z "$ac_c_werror_flag" ||
19700 test ! -s conftest.err
19701 } && test -s conftest.$ac_objext; then
19702 ac_cv_c_const=yes
19703 else
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19706
19707 ac_cv_c_const=no
19708 fi
19709
19710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19711 fi
19712 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19713 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19714 if test $ac_cv_c_const = no; then
19715
19716 cat >>confdefs.h <<\_ACEOF
19717 #define const
19718 _ACEOF
19719
19720 fi
19721
19722 { echo "$as_me:$LINENO: checking for inline" >&5
19723 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19724 if test "${ac_cv_c_inline+set}" = set; then
19725 echo $ECHO_N "(cached) $ECHO_C" >&6
19726 else
19727 ac_cv_c_inline=no
19728 for ac_kw in inline __inline__ __inline; do
19729 cat >conftest.$ac_ext <<_ACEOF
19730 /* confdefs.h. */
19731 _ACEOF
19732 cat confdefs.h >>conftest.$ac_ext
19733 cat >>conftest.$ac_ext <<_ACEOF
19734 /* end confdefs.h. */
19735 #ifndef __cplusplus
19736 typedef int foo_t;
19737 static $ac_kw foo_t static_foo () {return 0; }
19738 $ac_kw foo_t foo () {return 0; }
19739 #endif
19740
19741 _ACEOF
19742 rm -f conftest.$ac_objext
19743 if { (ac_try="$ac_compile"
19744 case "(($ac_try" in
19745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19746 *) ac_try_echo=$ac_try;;
19747 esac
19748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19749 (eval "$ac_compile") 2>conftest.er1
19750 ac_status=$?
19751 grep -v '^ *+' conftest.er1 >conftest.err
19752 rm -f conftest.er1
19753 cat conftest.err >&5
19754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755 (exit $ac_status); } && {
19756 test -z "$ac_c_werror_flag" ||
19757 test ! -s conftest.err
19758 } && test -s conftest.$ac_objext; then
19759 ac_cv_c_inline=$ac_kw
19760 else
19761 echo "$as_me: failed program was:" >&5
19762 sed 's/^/| /' conftest.$ac_ext >&5
19763
19764
19765 fi
19766
19767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19768 test "$ac_cv_c_inline" != no && break
19769 done
19770
19771 fi
19772 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19773 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19774
19775
19776 case $ac_cv_c_inline in
19777 inline | yes) ;;
19778 *)
19779 case $ac_cv_c_inline in
19780 no) ac_val=;;
19781 *) ac_val=$ac_cv_c_inline;;
19782 esac
19783 cat >>confdefs.h <<_ACEOF
19784 #ifndef __cplusplus
19785 #define inline $ac_val
19786 #endif
19787 _ACEOF
19788 ;;
19789 esac
19790
19791
19792 { echo "$as_me:$LINENO: checking for short" >&5
19793 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19794 if test "${ac_cv_type_short+set}" = set; then
19795 echo $ECHO_N "(cached) $ECHO_C" >&6
19796 else
19797 cat >conftest.$ac_ext <<_ACEOF
19798 /* confdefs.h. */
19799 _ACEOF
19800 cat confdefs.h >>conftest.$ac_ext
19801 cat >>conftest.$ac_ext <<_ACEOF
19802 /* end confdefs.h. */
19803 $ac_includes_default
19804 typedef short ac__type_new_;
19805 int
19806 main ()
19807 {
19808 if ((ac__type_new_ *) 0)
19809 return 0;
19810 if (sizeof (ac__type_new_))
19811 return 0;
19812 ;
19813 return 0;
19814 }
19815 _ACEOF
19816 rm -f conftest.$ac_objext
19817 if { (ac_try="$ac_compile"
19818 case "(($ac_try" in
19819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19820 *) ac_try_echo=$ac_try;;
19821 esac
19822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19823 (eval "$ac_compile") 2>conftest.er1
19824 ac_status=$?
19825 grep -v '^ *+' conftest.er1 >conftest.err
19826 rm -f conftest.er1
19827 cat conftest.err >&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); } && {
19830 test -z "$ac_c_werror_flag" ||
19831 test ! -s conftest.err
19832 } && test -s conftest.$ac_objext; then
19833 ac_cv_type_short=yes
19834 else
19835 echo "$as_me: failed program was:" >&5
19836 sed 's/^/| /' conftest.$ac_ext >&5
19837
19838 ac_cv_type_short=no
19839 fi
19840
19841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19842 fi
19843 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19844 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19845
19846 # The cast to long int works around a bug in the HP C Compiler
19847 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19848 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19849 # This bug is HP SR number 8606223364.
19850 { echo "$as_me:$LINENO: checking size of short" >&5
19851 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19852 if test "${ac_cv_sizeof_short+set}" = set; then
19853 echo $ECHO_N "(cached) $ECHO_C" >&6
19854 else
19855 if test "$cross_compiling" = yes; then
19856 # Depending upon the size, compute the lo and hi bounds.
19857 cat >conftest.$ac_ext <<_ACEOF
19858 /* confdefs.h. */
19859 _ACEOF
19860 cat confdefs.h >>conftest.$ac_ext
19861 cat >>conftest.$ac_ext <<_ACEOF
19862 /* end confdefs.h. */
19863 $ac_includes_default
19864 typedef short ac__type_sizeof_;
19865 int
19866 main ()
19867 {
19868 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19869 test_array [0] = 0
19870
19871 ;
19872 return 0;
19873 }
19874 _ACEOF
19875 rm -f conftest.$ac_objext
19876 if { (ac_try="$ac_compile"
19877 case "(($ac_try" in
19878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19879 *) ac_try_echo=$ac_try;;
19880 esac
19881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19882 (eval "$ac_compile") 2>conftest.er1
19883 ac_status=$?
19884 grep -v '^ *+' conftest.er1 >conftest.err
19885 rm -f conftest.er1
19886 cat conftest.err >&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); } && {
19889 test -z "$ac_c_werror_flag" ||
19890 test ! -s conftest.err
19891 } && test -s conftest.$ac_objext; then
19892 ac_lo=0 ac_mid=0
19893 while :; do
19894 cat >conftest.$ac_ext <<_ACEOF
19895 /* confdefs.h. */
19896 _ACEOF
19897 cat confdefs.h >>conftest.$ac_ext
19898 cat >>conftest.$ac_ext <<_ACEOF
19899 /* end confdefs.h. */
19900 $ac_includes_default
19901 typedef short ac__type_sizeof_;
19902 int
19903 main ()
19904 {
19905 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19906 test_array [0] = 0
19907
19908 ;
19909 return 0;
19910 }
19911 _ACEOF
19912 rm -f conftest.$ac_objext
19913 if { (ac_try="$ac_compile"
19914 case "(($ac_try" in
19915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19916 *) ac_try_echo=$ac_try;;
19917 esac
19918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19919 (eval "$ac_compile") 2>conftest.er1
19920 ac_status=$?
19921 grep -v '^ *+' conftest.er1 >conftest.err
19922 rm -f conftest.er1
19923 cat conftest.err >&5
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); } && {
19926 test -z "$ac_c_werror_flag" ||
19927 test ! -s conftest.err
19928 } && test -s conftest.$ac_objext; then
19929 ac_hi=$ac_mid; break
19930 else
19931 echo "$as_me: failed program was:" >&5
19932 sed 's/^/| /' conftest.$ac_ext >&5
19933
19934 ac_lo=`expr $ac_mid + 1`
19935 if test $ac_lo -le $ac_mid; then
19936 ac_lo= ac_hi=
19937 break
19938 fi
19939 ac_mid=`expr 2 '*' $ac_mid + 1`
19940 fi
19941
19942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19943 done
19944 else
19945 echo "$as_me: failed program was:" >&5
19946 sed 's/^/| /' conftest.$ac_ext >&5
19947
19948 cat >conftest.$ac_ext <<_ACEOF
19949 /* confdefs.h. */
19950 _ACEOF
19951 cat confdefs.h >>conftest.$ac_ext
19952 cat >>conftest.$ac_ext <<_ACEOF
19953 /* end confdefs.h. */
19954 $ac_includes_default
19955 typedef short ac__type_sizeof_;
19956 int
19957 main ()
19958 {
19959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19960 test_array [0] = 0
19961
19962 ;
19963 return 0;
19964 }
19965 _ACEOF
19966 rm -f conftest.$ac_objext
19967 if { (ac_try="$ac_compile"
19968 case "(($ac_try" in
19969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19970 *) ac_try_echo=$ac_try;;
19971 esac
19972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19973 (eval "$ac_compile") 2>conftest.er1
19974 ac_status=$?
19975 grep -v '^ *+' conftest.er1 >conftest.err
19976 rm -f conftest.er1
19977 cat conftest.err >&5
19978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979 (exit $ac_status); } && {
19980 test -z "$ac_c_werror_flag" ||
19981 test ! -s conftest.err
19982 } && test -s conftest.$ac_objext; then
19983 ac_hi=-1 ac_mid=-1
19984 while :; do
19985 cat >conftest.$ac_ext <<_ACEOF
19986 /* confdefs.h. */
19987 _ACEOF
19988 cat confdefs.h >>conftest.$ac_ext
19989 cat >>conftest.$ac_ext <<_ACEOF
19990 /* end confdefs.h. */
19991 $ac_includes_default
19992 typedef short ac__type_sizeof_;
19993 int
19994 main ()
19995 {
19996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19997 test_array [0] = 0
19998
19999 ;
20000 return 0;
20001 }
20002 _ACEOF
20003 rm -f conftest.$ac_objext
20004 if { (ac_try="$ac_compile"
20005 case "(($ac_try" in
20006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20007 *) ac_try_echo=$ac_try;;
20008 esac
20009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20010 (eval "$ac_compile") 2>conftest.er1
20011 ac_status=$?
20012 grep -v '^ *+' conftest.er1 >conftest.err
20013 rm -f conftest.er1
20014 cat conftest.err >&5
20015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016 (exit $ac_status); } && {
20017 test -z "$ac_c_werror_flag" ||
20018 test ! -s conftest.err
20019 } && test -s conftest.$ac_objext; then
20020 ac_lo=$ac_mid; break
20021 else
20022 echo "$as_me: failed program was:" >&5
20023 sed 's/^/| /' conftest.$ac_ext >&5
20024
20025 ac_hi=`expr '(' $ac_mid ')' - 1`
20026 if test $ac_mid -le $ac_hi; then
20027 ac_lo= ac_hi=
20028 break
20029 fi
20030 ac_mid=`expr 2 '*' $ac_mid`
20031 fi
20032
20033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20034 done
20035 else
20036 echo "$as_me: failed program was:" >&5
20037 sed 's/^/| /' conftest.$ac_ext >&5
20038
20039 ac_lo= ac_hi=
20040 fi
20041
20042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20043 fi
20044
20045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20046 # Binary search between lo and hi bounds.
20047 while test "x$ac_lo" != "x$ac_hi"; do
20048 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20049 cat >conftest.$ac_ext <<_ACEOF
20050 /* confdefs.h. */
20051 _ACEOF
20052 cat confdefs.h >>conftest.$ac_ext
20053 cat >>conftest.$ac_ext <<_ACEOF
20054 /* end confdefs.h. */
20055 $ac_includes_default
20056 typedef short ac__type_sizeof_;
20057 int
20058 main ()
20059 {
20060 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20061 test_array [0] = 0
20062
20063 ;
20064 return 0;
20065 }
20066 _ACEOF
20067 rm -f conftest.$ac_objext
20068 if { (ac_try="$ac_compile"
20069 case "(($ac_try" in
20070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20071 *) ac_try_echo=$ac_try;;
20072 esac
20073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20074 (eval "$ac_compile") 2>conftest.er1
20075 ac_status=$?
20076 grep -v '^ *+' conftest.er1 >conftest.err
20077 rm -f conftest.er1
20078 cat conftest.err >&5
20079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20080 (exit $ac_status); } && {
20081 test -z "$ac_c_werror_flag" ||
20082 test ! -s conftest.err
20083 } && test -s conftest.$ac_objext; then
20084 ac_hi=$ac_mid
20085 else
20086 echo "$as_me: failed program was:" >&5
20087 sed 's/^/| /' conftest.$ac_ext >&5
20088
20089 ac_lo=`expr '(' $ac_mid ')' + 1`
20090 fi
20091
20092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20093 done
20094 case $ac_lo in
20095 ?*) ac_cv_sizeof_short=$ac_lo;;
20096 '') if test "$ac_cv_type_short" = yes; then
20097 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20098 See \`config.log' for more details." >&5
20099 echo "$as_me: error: cannot compute sizeof (short)
20100 See \`config.log' for more details." >&2;}
20101 { (exit 77); exit 77; }; }
20102 else
20103 ac_cv_sizeof_short=0
20104 fi ;;
20105 esac
20106 else
20107 cat >conftest.$ac_ext <<_ACEOF
20108 /* confdefs.h. */
20109 _ACEOF
20110 cat confdefs.h >>conftest.$ac_ext
20111 cat >>conftest.$ac_ext <<_ACEOF
20112 /* end confdefs.h. */
20113 $ac_includes_default
20114 typedef short ac__type_sizeof_;
20115 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20116 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20117 #include <stdio.h>
20118 #include <stdlib.h>
20119 int
20120 main ()
20121 {
20122
20123 FILE *f = fopen ("conftest.val", "w");
20124 if (! f)
20125 return 1;
20126 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20127 {
20128 long int i = longval ();
20129 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20130 return 1;
20131 fprintf (f, "%ld\n", i);
20132 }
20133 else
20134 {
20135 unsigned long int i = ulongval ();
20136 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20137 return 1;
20138 fprintf (f, "%lu\n", i);
20139 }
20140 return ferror (f) || fclose (f) != 0;
20141
20142 ;
20143 return 0;
20144 }
20145 _ACEOF
20146 rm -f conftest$ac_exeext
20147 if { (ac_try="$ac_link"
20148 case "(($ac_try" in
20149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20150 *) ac_try_echo=$ac_try;;
20151 esac
20152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20153 (eval "$ac_link") 2>&5
20154 ac_status=$?
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20157 { (case "(($ac_try" in
20158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20159 *) ac_try_echo=$ac_try;;
20160 esac
20161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20162 (eval "$ac_try") 2>&5
20163 ac_status=$?
20164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20165 (exit $ac_status); }; }; then
20166 ac_cv_sizeof_short=`cat conftest.val`
20167 else
20168 echo "$as_me: program exited with status $ac_status" >&5
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.$ac_ext >&5
20171
20172 ( exit $ac_status )
20173 if test "$ac_cv_type_short" = yes; then
20174 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20175 See \`config.log' for more details." >&5
20176 echo "$as_me: error: cannot compute sizeof (short)
20177 See \`config.log' for more details." >&2;}
20178 { (exit 77); exit 77; }; }
20179 else
20180 ac_cv_sizeof_short=0
20181 fi
20182 fi
20183 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20184 fi
20185 rm -f conftest.val
20186 fi
20187 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20188 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20189
20190
20191
20192 cat >>confdefs.h <<_ACEOF
20193 #define SIZEOF_SHORT $ac_cv_sizeof_short
20194 _ACEOF
20195
20196
20197 { echo "$as_me:$LINENO: checking for void *" >&5
20198 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20199 if test "${ac_cv_type_void_p+set}" = set; then
20200 echo $ECHO_N "(cached) $ECHO_C" >&6
20201 else
20202 cat >conftest.$ac_ext <<_ACEOF
20203 /* confdefs.h. */
20204 _ACEOF
20205 cat confdefs.h >>conftest.$ac_ext
20206 cat >>conftest.$ac_ext <<_ACEOF
20207 /* end confdefs.h. */
20208 $ac_includes_default
20209 typedef void * ac__type_new_;
20210 int
20211 main ()
20212 {
20213 if ((ac__type_new_ *) 0)
20214 return 0;
20215 if (sizeof (ac__type_new_))
20216 return 0;
20217 ;
20218 return 0;
20219 }
20220 _ACEOF
20221 rm -f conftest.$ac_objext
20222 if { (ac_try="$ac_compile"
20223 case "(($ac_try" in
20224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20225 *) ac_try_echo=$ac_try;;
20226 esac
20227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20228 (eval "$ac_compile") 2>conftest.er1
20229 ac_status=$?
20230 grep -v '^ *+' conftest.er1 >conftest.err
20231 rm -f conftest.er1
20232 cat conftest.err >&5
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); } && {
20235 test -z "$ac_c_werror_flag" ||
20236 test ! -s conftest.err
20237 } && test -s conftest.$ac_objext; then
20238 ac_cv_type_void_p=yes
20239 else
20240 echo "$as_me: failed program was:" >&5
20241 sed 's/^/| /' conftest.$ac_ext >&5
20242
20243 ac_cv_type_void_p=no
20244 fi
20245
20246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20247 fi
20248 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20249 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20250
20251 # The cast to long int works around a bug in the HP C Compiler
20252 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20253 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20254 # This bug is HP SR number 8606223364.
20255 { echo "$as_me:$LINENO: checking size of void *" >&5
20256 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20257 if test "${ac_cv_sizeof_void_p+set}" = set; then
20258 echo $ECHO_N "(cached) $ECHO_C" >&6
20259 else
20260 if test "$cross_compiling" = yes; then
20261 # Depending upon the size, compute the lo and hi bounds.
20262 cat >conftest.$ac_ext <<_ACEOF
20263 /* confdefs.h. */
20264 _ACEOF
20265 cat confdefs.h >>conftest.$ac_ext
20266 cat >>conftest.$ac_ext <<_ACEOF
20267 /* end confdefs.h. */
20268 $ac_includes_default
20269 typedef void * ac__type_sizeof_;
20270 int
20271 main ()
20272 {
20273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20274 test_array [0] = 0
20275
20276 ;
20277 return 0;
20278 }
20279 _ACEOF
20280 rm -f conftest.$ac_objext
20281 if { (ac_try="$ac_compile"
20282 case "(($ac_try" in
20283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20284 *) ac_try_echo=$ac_try;;
20285 esac
20286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20287 (eval "$ac_compile") 2>conftest.er1
20288 ac_status=$?
20289 grep -v '^ *+' conftest.er1 >conftest.err
20290 rm -f conftest.er1
20291 cat conftest.err >&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); } && {
20294 test -z "$ac_c_werror_flag" ||
20295 test ! -s conftest.err
20296 } && test -s conftest.$ac_objext; then
20297 ac_lo=0 ac_mid=0
20298 while :; do
20299 cat >conftest.$ac_ext <<_ACEOF
20300 /* confdefs.h. */
20301 _ACEOF
20302 cat confdefs.h >>conftest.$ac_ext
20303 cat >>conftest.$ac_ext <<_ACEOF
20304 /* end confdefs.h. */
20305 $ac_includes_default
20306 typedef void * ac__type_sizeof_;
20307 int
20308 main ()
20309 {
20310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20311 test_array [0] = 0
20312
20313 ;
20314 return 0;
20315 }
20316 _ACEOF
20317 rm -f conftest.$ac_objext
20318 if { (ac_try="$ac_compile"
20319 case "(($ac_try" in
20320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20321 *) ac_try_echo=$ac_try;;
20322 esac
20323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20324 (eval "$ac_compile") 2>conftest.er1
20325 ac_status=$?
20326 grep -v '^ *+' conftest.er1 >conftest.err
20327 rm -f conftest.er1
20328 cat conftest.err >&5
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); } && {
20331 test -z "$ac_c_werror_flag" ||
20332 test ! -s conftest.err
20333 } && test -s conftest.$ac_objext; then
20334 ac_hi=$ac_mid; break
20335 else
20336 echo "$as_me: failed program was:" >&5
20337 sed 's/^/| /' conftest.$ac_ext >&5
20338
20339 ac_lo=`expr $ac_mid + 1`
20340 if test $ac_lo -le $ac_mid; then
20341 ac_lo= ac_hi=
20342 break
20343 fi
20344 ac_mid=`expr 2 '*' $ac_mid + 1`
20345 fi
20346
20347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20348 done
20349 else
20350 echo "$as_me: failed program was:" >&5
20351 sed 's/^/| /' conftest.$ac_ext >&5
20352
20353 cat >conftest.$ac_ext <<_ACEOF
20354 /* confdefs.h. */
20355 _ACEOF
20356 cat confdefs.h >>conftest.$ac_ext
20357 cat >>conftest.$ac_ext <<_ACEOF
20358 /* end confdefs.h. */
20359 $ac_includes_default
20360 typedef void * ac__type_sizeof_;
20361 int
20362 main ()
20363 {
20364 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20365 test_array [0] = 0
20366
20367 ;
20368 return 0;
20369 }
20370 _ACEOF
20371 rm -f conftest.$ac_objext
20372 if { (ac_try="$ac_compile"
20373 case "(($ac_try" in
20374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20375 *) ac_try_echo=$ac_try;;
20376 esac
20377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20378 (eval "$ac_compile") 2>conftest.er1
20379 ac_status=$?
20380 grep -v '^ *+' conftest.er1 >conftest.err
20381 rm -f conftest.er1
20382 cat conftest.err >&5
20383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20384 (exit $ac_status); } && {
20385 test -z "$ac_c_werror_flag" ||
20386 test ! -s conftest.err
20387 } && test -s conftest.$ac_objext; then
20388 ac_hi=-1 ac_mid=-1
20389 while :; do
20390 cat >conftest.$ac_ext <<_ACEOF
20391 /* confdefs.h. */
20392 _ACEOF
20393 cat confdefs.h >>conftest.$ac_ext
20394 cat >>conftest.$ac_ext <<_ACEOF
20395 /* end confdefs.h. */
20396 $ac_includes_default
20397 typedef void * ac__type_sizeof_;
20398 int
20399 main ()
20400 {
20401 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20402 test_array [0] = 0
20403
20404 ;
20405 return 0;
20406 }
20407 _ACEOF
20408 rm -f conftest.$ac_objext
20409 if { (ac_try="$ac_compile"
20410 case "(($ac_try" in
20411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20412 *) ac_try_echo=$ac_try;;
20413 esac
20414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20415 (eval "$ac_compile") 2>conftest.er1
20416 ac_status=$?
20417 grep -v '^ *+' conftest.er1 >conftest.err
20418 rm -f conftest.er1
20419 cat conftest.err >&5
20420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20421 (exit $ac_status); } && {
20422 test -z "$ac_c_werror_flag" ||
20423 test ! -s conftest.err
20424 } && test -s conftest.$ac_objext; then
20425 ac_lo=$ac_mid; break
20426 else
20427 echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.$ac_ext >&5
20429
20430 ac_hi=`expr '(' $ac_mid ')' - 1`
20431 if test $ac_mid -le $ac_hi; then
20432 ac_lo= ac_hi=
20433 break
20434 fi
20435 ac_mid=`expr 2 '*' $ac_mid`
20436 fi
20437
20438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20439 done
20440 else
20441 echo "$as_me: failed program was:" >&5
20442 sed 's/^/| /' conftest.$ac_ext >&5
20443
20444 ac_lo= ac_hi=
20445 fi
20446
20447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20448 fi
20449
20450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20451 # Binary search between lo and hi bounds.
20452 while test "x$ac_lo" != "x$ac_hi"; do
20453 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20454 cat >conftest.$ac_ext <<_ACEOF
20455 /* confdefs.h. */
20456 _ACEOF
20457 cat confdefs.h >>conftest.$ac_ext
20458 cat >>conftest.$ac_ext <<_ACEOF
20459 /* end confdefs.h. */
20460 $ac_includes_default
20461 typedef void * ac__type_sizeof_;
20462 int
20463 main ()
20464 {
20465 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20466 test_array [0] = 0
20467
20468 ;
20469 return 0;
20470 }
20471 _ACEOF
20472 rm -f conftest.$ac_objext
20473 if { (ac_try="$ac_compile"
20474 case "(($ac_try" in
20475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20476 *) ac_try_echo=$ac_try;;
20477 esac
20478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20479 (eval "$ac_compile") 2>conftest.er1
20480 ac_status=$?
20481 grep -v '^ *+' conftest.er1 >conftest.err
20482 rm -f conftest.er1
20483 cat conftest.err >&5
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); } && {
20486 test -z "$ac_c_werror_flag" ||
20487 test ! -s conftest.err
20488 } && test -s conftest.$ac_objext; then
20489 ac_hi=$ac_mid
20490 else
20491 echo "$as_me: failed program was:" >&5
20492 sed 's/^/| /' conftest.$ac_ext >&5
20493
20494 ac_lo=`expr '(' $ac_mid ')' + 1`
20495 fi
20496
20497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20498 done
20499 case $ac_lo in
20500 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20501 '') if test "$ac_cv_type_void_p" = yes; then
20502 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20503 See \`config.log' for more details." >&5
20504 echo "$as_me: error: cannot compute sizeof (void *)
20505 See \`config.log' for more details." >&2;}
20506 { (exit 77); exit 77; }; }
20507 else
20508 ac_cv_sizeof_void_p=0
20509 fi ;;
20510 esac
20511 else
20512 cat >conftest.$ac_ext <<_ACEOF
20513 /* confdefs.h. */
20514 _ACEOF
20515 cat confdefs.h >>conftest.$ac_ext
20516 cat >>conftest.$ac_ext <<_ACEOF
20517 /* end confdefs.h. */
20518 $ac_includes_default
20519 typedef void * ac__type_sizeof_;
20520 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20521 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20522 #include <stdio.h>
20523 #include <stdlib.h>
20524 int
20525 main ()
20526 {
20527
20528 FILE *f = fopen ("conftest.val", "w");
20529 if (! f)
20530 return 1;
20531 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20532 {
20533 long int i = longval ();
20534 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20535 return 1;
20536 fprintf (f, "%ld\n", i);
20537 }
20538 else
20539 {
20540 unsigned long int i = ulongval ();
20541 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20542 return 1;
20543 fprintf (f, "%lu\n", i);
20544 }
20545 return ferror (f) || fclose (f) != 0;
20546
20547 ;
20548 return 0;
20549 }
20550 _ACEOF
20551 rm -f conftest$ac_exeext
20552 if { (ac_try="$ac_link"
20553 case "(($ac_try" in
20554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20555 *) ac_try_echo=$ac_try;;
20556 esac
20557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20558 (eval "$ac_link") 2>&5
20559 ac_status=$?
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20562 { (case "(($ac_try" in
20563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20564 *) ac_try_echo=$ac_try;;
20565 esac
20566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20567 (eval "$ac_try") 2>&5
20568 ac_status=$?
20569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20570 (exit $ac_status); }; }; then
20571 ac_cv_sizeof_void_p=`cat conftest.val`
20572 else
20573 echo "$as_me: program exited with status $ac_status" >&5
20574 echo "$as_me: failed program was:" >&5
20575 sed 's/^/| /' conftest.$ac_ext >&5
20576
20577 ( exit $ac_status )
20578 if test "$ac_cv_type_void_p" = yes; then
20579 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20580 See \`config.log' for more details." >&5
20581 echo "$as_me: error: cannot compute sizeof (void *)
20582 See \`config.log' for more details." >&2;}
20583 { (exit 77); exit 77; }; }
20584 else
20585 ac_cv_sizeof_void_p=0
20586 fi
20587 fi
20588 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20589 fi
20590 rm -f conftest.val
20591 fi
20592 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20593 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20594
20595
20596
20597 cat >>confdefs.h <<_ACEOF
20598 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20599 _ACEOF
20600
20601
20602 { echo "$as_me:$LINENO: checking for int" >&5
20603 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20604 if test "${ac_cv_type_int+set}" = set; then
20605 echo $ECHO_N "(cached) $ECHO_C" >&6
20606 else
20607 cat >conftest.$ac_ext <<_ACEOF
20608 /* confdefs.h. */
20609 _ACEOF
20610 cat confdefs.h >>conftest.$ac_ext
20611 cat >>conftest.$ac_ext <<_ACEOF
20612 /* end confdefs.h. */
20613 $ac_includes_default
20614 typedef int ac__type_new_;
20615 int
20616 main ()
20617 {
20618 if ((ac__type_new_ *) 0)
20619 return 0;
20620 if (sizeof (ac__type_new_))
20621 return 0;
20622 ;
20623 return 0;
20624 }
20625 _ACEOF
20626 rm -f conftest.$ac_objext
20627 if { (ac_try="$ac_compile"
20628 case "(($ac_try" in
20629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20630 *) ac_try_echo=$ac_try;;
20631 esac
20632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20633 (eval "$ac_compile") 2>conftest.er1
20634 ac_status=$?
20635 grep -v '^ *+' conftest.er1 >conftest.err
20636 rm -f conftest.er1
20637 cat conftest.err >&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); } && {
20640 test -z "$ac_c_werror_flag" ||
20641 test ! -s conftest.err
20642 } && test -s conftest.$ac_objext; then
20643 ac_cv_type_int=yes
20644 else
20645 echo "$as_me: failed program was:" >&5
20646 sed 's/^/| /' conftest.$ac_ext >&5
20647
20648 ac_cv_type_int=no
20649 fi
20650
20651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20652 fi
20653 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20654 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20655
20656 # The cast to long int works around a bug in the HP C Compiler
20657 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20658 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20659 # This bug is HP SR number 8606223364.
20660 { echo "$as_me:$LINENO: checking size of int" >&5
20661 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20662 if test "${ac_cv_sizeof_int+set}" = set; then
20663 echo $ECHO_N "(cached) $ECHO_C" >&6
20664 else
20665 if test "$cross_compiling" = yes; then
20666 # Depending upon the size, compute the lo and hi bounds.
20667 cat >conftest.$ac_ext <<_ACEOF
20668 /* confdefs.h. */
20669 _ACEOF
20670 cat confdefs.h >>conftest.$ac_ext
20671 cat >>conftest.$ac_ext <<_ACEOF
20672 /* end confdefs.h. */
20673 $ac_includes_default
20674 typedef int ac__type_sizeof_;
20675 int
20676 main ()
20677 {
20678 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20679 test_array [0] = 0
20680
20681 ;
20682 return 0;
20683 }
20684 _ACEOF
20685 rm -f conftest.$ac_objext
20686 if { (ac_try="$ac_compile"
20687 case "(($ac_try" in
20688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20689 *) ac_try_echo=$ac_try;;
20690 esac
20691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20692 (eval "$ac_compile") 2>conftest.er1
20693 ac_status=$?
20694 grep -v '^ *+' conftest.er1 >conftest.err
20695 rm -f conftest.er1
20696 cat conftest.err >&5
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); } && {
20699 test -z "$ac_c_werror_flag" ||
20700 test ! -s conftest.err
20701 } && test -s conftest.$ac_objext; then
20702 ac_lo=0 ac_mid=0
20703 while :; do
20704 cat >conftest.$ac_ext <<_ACEOF
20705 /* confdefs.h. */
20706 _ACEOF
20707 cat confdefs.h >>conftest.$ac_ext
20708 cat >>conftest.$ac_ext <<_ACEOF
20709 /* end confdefs.h. */
20710 $ac_includes_default
20711 typedef int ac__type_sizeof_;
20712 int
20713 main ()
20714 {
20715 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20716 test_array [0] = 0
20717
20718 ;
20719 return 0;
20720 }
20721 _ACEOF
20722 rm -f conftest.$ac_objext
20723 if { (ac_try="$ac_compile"
20724 case "(($ac_try" in
20725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20726 *) ac_try_echo=$ac_try;;
20727 esac
20728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20729 (eval "$ac_compile") 2>conftest.er1
20730 ac_status=$?
20731 grep -v '^ *+' conftest.er1 >conftest.err
20732 rm -f conftest.er1
20733 cat conftest.err >&5
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); } && {
20736 test -z "$ac_c_werror_flag" ||
20737 test ! -s conftest.err
20738 } && test -s conftest.$ac_objext; then
20739 ac_hi=$ac_mid; break
20740 else
20741 echo "$as_me: failed program was:" >&5
20742 sed 's/^/| /' conftest.$ac_ext >&5
20743
20744 ac_lo=`expr $ac_mid + 1`
20745 if test $ac_lo -le $ac_mid; then
20746 ac_lo= ac_hi=
20747 break
20748 fi
20749 ac_mid=`expr 2 '*' $ac_mid + 1`
20750 fi
20751
20752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20753 done
20754 else
20755 echo "$as_me: failed program was:" >&5
20756 sed 's/^/| /' conftest.$ac_ext >&5
20757
20758 cat >conftest.$ac_ext <<_ACEOF
20759 /* confdefs.h. */
20760 _ACEOF
20761 cat confdefs.h >>conftest.$ac_ext
20762 cat >>conftest.$ac_ext <<_ACEOF
20763 /* end confdefs.h. */
20764 $ac_includes_default
20765 typedef int ac__type_sizeof_;
20766 int
20767 main ()
20768 {
20769 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20770 test_array [0] = 0
20771
20772 ;
20773 return 0;
20774 }
20775 _ACEOF
20776 rm -f conftest.$ac_objext
20777 if { (ac_try="$ac_compile"
20778 case "(($ac_try" in
20779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20780 *) ac_try_echo=$ac_try;;
20781 esac
20782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20783 (eval "$ac_compile") 2>conftest.er1
20784 ac_status=$?
20785 grep -v '^ *+' conftest.er1 >conftest.err
20786 rm -f conftest.er1
20787 cat conftest.err >&5
20788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20789 (exit $ac_status); } && {
20790 test -z "$ac_c_werror_flag" ||
20791 test ! -s conftest.err
20792 } && test -s conftest.$ac_objext; then
20793 ac_hi=-1 ac_mid=-1
20794 while :; do
20795 cat >conftest.$ac_ext <<_ACEOF
20796 /* confdefs.h. */
20797 _ACEOF
20798 cat confdefs.h >>conftest.$ac_ext
20799 cat >>conftest.$ac_ext <<_ACEOF
20800 /* end confdefs.h. */
20801 $ac_includes_default
20802 typedef int ac__type_sizeof_;
20803 int
20804 main ()
20805 {
20806 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20807 test_array [0] = 0
20808
20809 ;
20810 return 0;
20811 }
20812 _ACEOF
20813 rm -f conftest.$ac_objext
20814 if { (ac_try="$ac_compile"
20815 case "(($ac_try" in
20816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20817 *) ac_try_echo=$ac_try;;
20818 esac
20819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20820 (eval "$ac_compile") 2>conftest.er1
20821 ac_status=$?
20822 grep -v '^ *+' conftest.er1 >conftest.err
20823 rm -f conftest.er1
20824 cat conftest.err >&5
20825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20826 (exit $ac_status); } && {
20827 test -z "$ac_c_werror_flag" ||
20828 test ! -s conftest.err
20829 } && test -s conftest.$ac_objext; then
20830 ac_lo=$ac_mid; break
20831 else
20832 echo "$as_me: failed program was:" >&5
20833 sed 's/^/| /' conftest.$ac_ext >&5
20834
20835 ac_hi=`expr '(' $ac_mid ')' - 1`
20836 if test $ac_mid -le $ac_hi; then
20837 ac_lo= ac_hi=
20838 break
20839 fi
20840 ac_mid=`expr 2 '*' $ac_mid`
20841 fi
20842
20843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20844 done
20845 else
20846 echo "$as_me: failed program was:" >&5
20847 sed 's/^/| /' conftest.$ac_ext >&5
20848
20849 ac_lo= ac_hi=
20850 fi
20851
20852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20853 fi
20854
20855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20856 # Binary search between lo and hi bounds.
20857 while test "x$ac_lo" != "x$ac_hi"; do
20858 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20859 cat >conftest.$ac_ext <<_ACEOF
20860 /* confdefs.h. */
20861 _ACEOF
20862 cat confdefs.h >>conftest.$ac_ext
20863 cat >>conftest.$ac_ext <<_ACEOF
20864 /* end confdefs.h. */
20865 $ac_includes_default
20866 typedef int ac__type_sizeof_;
20867 int
20868 main ()
20869 {
20870 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20871 test_array [0] = 0
20872
20873 ;
20874 return 0;
20875 }
20876 _ACEOF
20877 rm -f conftest.$ac_objext
20878 if { (ac_try="$ac_compile"
20879 case "(($ac_try" in
20880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20881 *) ac_try_echo=$ac_try;;
20882 esac
20883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20884 (eval "$ac_compile") 2>conftest.er1
20885 ac_status=$?
20886 grep -v '^ *+' conftest.er1 >conftest.err
20887 rm -f conftest.er1
20888 cat conftest.err >&5
20889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890 (exit $ac_status); } && {
20891 test -z "$ac_c_werror_flag" ||
20892 test ! -s conftest.err
20893 } && test -s conftest.$ac_objext; then
20894 ac_hi=$ac_mid
20895 else
20896 echo "$as_me: failed program was:" >&5
20897 sed 's/^/| /' conftest.$ac_ext >&5
20898
20899 ac_lo=`expr '(' $ac_mid ')' + 1`
20900 fi
20901
20902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20903 done
20904 case $ac_lo in
20905 ?*) ac_cv_sizeof_int=$ac_lo;;
20906 '') if test "$ac_cv_type_int" = yes; then
20907 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20908 See \`config.log' for more details." >&5
20909 echo "$as_me: error: cannot compute sizeof (int)
20910 See \`config.log' for more details." >&2;}
20911 { (exit 77); exit 77; }; }
20912 else
20913 ac_cv_sizeof_int=0
20914 fi ;;
20915 esac
20916 else
20917 cat >conftest.$ac_ext <<_ACEOF
20918 /* confdefs.h. */
20919 _ACEOF
20920 cat confdefs.h >>conftest.$ac_ext
20921 cat >>conftest.$ac_ext <<_ACEOF
20922 /* end confdefs.h. */
20923 $ac_includes_default
20924 typedef int ac__type_sizeof_;
20925 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20926 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20927 #include <stdio.h>
20928 #include <stdlib.h>
20929 int
20930 main ()
20931 {
20932
20933 FILE *f = fopen ("conftest.val", "w");
20934 if (! f)
20935 return 1;
20936 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20937 {
20938 long int i = longval ();
20939 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20940 return 1;
20941 fprintf (f, "%ld\n", i);
20942 }
20943 else
20944 {
20945 unsigned long int i = ulongval ();
20946 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20947 return 1;
20948 fprintf (f, "%lu\n", i);
20949 }
20950 return ferror (f) || fclose (f) != 0;
20951
20952 ;
20953 return 0;
20954 }
20955 _ACEOF
20956 rm -f conftest$ac_exeext
20957 if { (ac_try="$ac_link"
20958 case "(($ac_try" in
20959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20960 *) ac_try_echo=$ac_try;;
20961 esac
20962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20963 (eval "$ac_link") 2>&5
20964 ac_status=$?
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20967 { (case "(($ac_try" in
20968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20969 *) ac_try_echo=$ac_try;;
20970 esac
20971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20972 (eval "$ac_try") 2>&5
20973 ac_status=$?
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); }; }; then
20976 ac_cv_sizeof_int=`cat conftest.val`
20977 else
20978 echo "$as_me: program exited with status $ac_status" >&5
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.$ac_ext >&5
20981
20982 ( exit $ac_status )
20983 if test "$ac_cv_type_int" = yes; then
20984 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20985 See \`config.log' for more details." >&5
20986 echo "$as_me: error: cannot compute sizeof (int)
20987 See \`config.log' for more details." >&2;}
20988 { (exit 77); exit 77; }; }
20989 else
20990 ac_cv_sizeof_int=0
20991 fi
20992 fi
20993 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20994 fi
20995 rm -f conftest.val
20996 fi
20997 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20998 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20999
21000
21001
21002 cat >>confdefs.h <<_ACEOF
21003 #define SIZEOF_INT $ac_cv_sizeof_int
21004 _ACEOF
21005
21006
21007 { echo "$as_me:$LINENO: checking for long" >&5
21008 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21009 if test "${ac_cv_type_long+set}" = set; then
21010 echo $ECHO_N "(cached) $ECHO_C" >&6
21011 else
21012 cat >conftest.$ac_ext <<_ACEOF
21013 /* confdefs.h. */
21014 _ACEOF
21015 cat confdefs.h >>conftest.$ac_ext
21016 cat >>conftest.$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21018 $ac_includes_default
21019 typedef long ac__type_new_;
21020 int
21021 main ()
21022 {
21023 if ((ac__type_new_ *) 0)
21024 return 0;
21025 if (sizeof (ac__type_new_))
21026 return 0;
21027 ;
21028 return 0;
21029 }
21030 _ACEOF
21031 rm -f conftest.$ac_objext
21032 if { (ac_try="$ac_compile"
21033 case "(($ac_try" in
21034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21035 *) ac_try_echo=$ac_try;;
21036 esac
21037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21038 (eval "$ac_compile") 2>conftest.er1
21039 ac_status=$?
21040 grep -v '^ *+' conftest.er1 >conftest.err
21041 rm -f conftest.er1
21042 cat conftest.err >&5
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); } && {
21045 test -z "$ac_c_werror_flag" ||
21046 test ! -s conftest.err
21047 } && test -s conftest.$ac_objext; then
21048 ac_cv_type_long=yes
21049 else
21050 echo "$as_me: failed program was:" >&5
21051 sed 's/^/| /' conftest.$ac_ext >&5
21052
21053 ac_cv_type_long=no
21054 fi
21055
21056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21057 fi
21058 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21059 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21060
21061 # The cast to long int works around a bug in the HP C Compiler
21062 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21063 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21064 # This bug is HP SR number 8606223364.
21065 { echo "$as_me:$LINENO: checking size of long" >&5
21066 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21067 if test "${ac_cv_sizeof_long+set}" = set; then
21068 echo $ECHO_N "(cached) $ECHO_C" >&6
21069 else
21070 if test "$cross_compiling" = yes; then
21071 # Depending upon the size, compute the lo and hi bounds.
21072 cat >conftest.$ac_ext <<_ACEOF
21073 /* confdefs.h. */
21074 _ACEOF
21075 cat confdefs.h >>conftest.$ac_ext
21076 cat >>conftest.$ac_ext <<_ACEOF
21077 /* end confdefs.h. */
21078 $ac_includes_default
21079 typedef long ac__type_sizeof_;
21080 int
21081 main ()
21082 {
21083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21084 test_array [0] = 0
21085
21086 ;
21087 return 0;
21088 }
21089 _ACEOF
21090 rm -f conftest.$ac_objext
21091 if { (ac_try="$ac_compile"
21092 case "(($ac_try" in
21093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21094 *) ac_try_echo=$ac_try;;
21095 esac
21096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21097 (eval "$ac_compile") 2>conftest.er1
21098 ac_status=$?
21099 grep -v '^ *+' conftest.er1 >conftest.err
21100 rm -f conftest.er1
21101 cat conftest.err >&5
21102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21103 (exit $ac_status); } && {
21104 test -z "$ac_c_werror_flag" ||
21105 test ! -s conftest.err
21106 } && test -s conftest.$ac_objext; then
21107 ac_lo=0 ac_mid=0
21108 while :; do
21109 cat >conftest.$ac_ext <<_ACEOF
21110 /* confdefs.h. */
21111 _ACEOF
21112 cat confdefs.h >>conftest.$ac_ext
21113 cat >>conftest.$ac_ext <<_ACEOF
21114 /* end confdefs.h. */
21115 $ac_includes_default
21116 typedef long ac__type_sizeof_;
21117 int
21118 main ()
21119 {
21120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21121 test_array [0] = 0
21122
21123 ;
21124 return 0;
21125 }
21126 _ACEOF
21127 rm -f conftest.$ac_objext
21128 if { (ac_try="$ac_compile"
21129 case "(($ac_try" in
21130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21131 *) ac_try_echo=$ac_try;;
21132 esac
21133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21134 (eval "$ac_compile") 2>conftest.er1
21135 ac_status=$?
21136 grep -v '^ *+' conftest.er1 >conftest.err
21137 rm -f conftest.er1
21138 cat conftest.err >&5
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); } && {
21141 test -z "$ac_c_werror_flag" ||
21142 test ! -s conftest.err
21143 } && test -s conftest.$ac_objext; then
21144 ac_hi=$ac_mid; break
21145 else
21146 echo "$as_me: failed program was:" >&5
21147 sed 's/^/| /' conftest.$ac_ext >&5
21148
21149 ac_lo=`expr $ac_mid + 1`
21150 if test $ac_lo -le $ac_mid; then
21151 ac_lo= ac_hi=
21152 break
21153 fi
21154 ac_mid=`expr 2 '*' $ac_mid + 1`
21155 fi
21156
21157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21158 done
21159 else
21160 echo "$as_me: failed program was:" >&5
21161 sed 's/^/| /' conftest.$ac_ext >&5
21162
21163 cat >conftest.$ac_ext <<_ACEOF
21164 /* confdefs.h. */
21165 _ACEOF
21166 cat confdefs.h >>conftest.$ac_ext
21167 cat >>conftest.$ac_ext <<_ACEOF
21168 /* end confdefs.h. */
21169 $ac_includes_default
21170 typedef long ac__type_sizeof_;
21171 int
21172 main ()
21173 {
21174 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21175 test_array [0] = 0
21176
21177 ;
21178 return 0;
21179 }
21180 _ACEOF
21181 rm -f conftest.$ac_objext
21182 if { (ac_try="$ac_compile"
21183 case "(($ac_try" in
21184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21185 *) ac_try_echo=$ac_try;;
21186 esac
21187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21188 (eval "$ac_compile") 2>conftest.er1
21189 ac_status=$?
21190 grep -v '^ *+' conftest.er1 >conftest.err
21191 rm -f conftest.er1
21192 cat conftest.err >&5
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); } && {
21195 test -z "$ac_c_werror_flag" ||
21196 test ! -s conftest.err
21197 } && test -s conftest.$ac_objext; then
21198 ac_hi=-1 ac_mid=-1
21199 while :; do
21200 cat >conftest.$ac_ext <<_ACEOF
21201 /* confdefs.h. */
21202 _ACEOF
21203 cat confdefs.h >>conftest.$ac_ext
21204 cat >>conftest.$ac_ext <<_ACEOF
21205 /* end confdefs.h. */
21206 $ac_includes_default
21207 typedef long ac__type_sizeof_;
21208 int
21209 main ()
21210 {
21211 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21212 test_array [0] = 0
21213
21214 ;
21215 return 0;
21216 }
21217 _ACEOF
21218 rm -f conftest.$ac_objext
21219 if { (ac_try="$ac_compile"
21220 case "(($ac_try" in
21221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21222 *) ac_try_echo=$ac_try;;
21223 esac
21224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21225 (eval "$ac_compile") 2>conftest.er1
21226 ac_status=$?
21227 grep -v '^ *+' conftest.er1 >conftest.err
21228 rm -f conftest.er1
21229 cat conftest.err >&5
21230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21231 (exit $ac_status); } && {
21232 test -z "$ac_c_werror_flag" ||
21233 test ! -s conftest.err
21234 } && test -s conftest.$ac_objext; then
21235 ac_lo=$ac_mid; break
21236 else
21237 echo "$as_me: failed program was:" >&5
21238 sed 's/^/| /' conftest.$ac_ext >&5
21239
21240 ac_hi=`expr '(' $ac_mid ')' - 1`
21241 if test $ac_mid -le $ac_hi; then
21242 ac_lo= ac_hi=
21243 break
21244 fi
21245 ac_mid=`expr 2 '*' $ac_mid`
21246 fi
21247
21248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21249 done
21250 else
21251 echo "$as_me: failed program was:" >&5
21252 sed 's/^/| /' conftest.$ac_ext >&5
21253
21254 ac_lo= ac_hi=
21255 fi
21256
21257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21258 fi
21259
21260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21261 # Binary search between lo and hi bounds.
21262 while test "x$ac_lo" != "x$ac_hi"; do
21263 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21264 cat >conftest.$ac_ext <<_ACEOF
21265 /* confdefs.h. */
21266 _ACEOF
21267 cat confdefs.h >>conftest.$ac_ext
21268 cat >>conftest.$ac_ext <<_ACEOF
21269 /* end confdefs.h. */
21270 $ac_includes_default
21271 typedef long ac__type_sizeof_;
21272 int
21273 main ()
21274 {
21275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21276 test_array [0] = 0
21277
21278 ;
21279 return 0;
21280 }
21281 _ACEOF
21282 rm -f conftest.$ac_objext
21283 if { (ac_try="$ac_compile"
21284 case "(($ac_try" in
21285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21286 *) ac_try_echo=$ac_try;;
21287 esac
21288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21289 (eval "$ac_compile") 2>conftest.er1
21290 ac_status=$?
21291 grep -v '^ *+' conftest.er1 >conftest.err
21292 rm -f conftest.er1
21293 cat conftest.err >&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); } && {
21296 test -z "$ac_c_werror_flag" ||
21297 test ! -s conftest.err
21298 } && test -s conftest.$ac_objext; then
21299 ac_hi=$ac_mid
21300 else
21301 echo "$as_me: failed program was:" >&5
21302 sed 's/^/| /' conftest.$ac_ext >&5
21303
21304 ac_lo=`expr '(' $ac_mid ')' + 1`
21305 fi
21306
21307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21308 done
21309 case $ac_lo in
21310 ?*) ac_cv_sizeof_long=$ac_lo;;
21311 '') if test "$ac_cv_type_long" = yes; then
21312 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21313 See \`config.log' for more details." >&5
21314 echo "$as_me: error: cannot compute sizeof (long)
21315 See \`config.log' for more details." >&2;}
21316 { (exit 77); exit 77; }; }
21317 else
21318 ac_cv_sizeof_long=0
21319 fi ;;
21320 esac
21321 else
21322 cat >conftest.$ac_ext <<_ACEOF
21323 /* confdefs.h. */
21324 _ACEOF
21325 cat confdefs.h >>conftest.$ac_ext
21326 cat >>conftest.$ac_ext <<_ACEOF
21327 /* end confdefs.h. */
21328 $ac_includes_default
21329 typedef long ac__type_sizeof_;
21330 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21331 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21332 #include <stdio.h>
21333 #include <stdlib.h>
21334 int
21335 main ()
21336 {
21337
21338 FILE *f = fopen ("conftest.val", "w");
21339 if (! f)
21340 return 1;
21341 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21342 {
21343 long int i = longval ();
21344 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21345 return 1;
21346 fprintf (f, "%ld\n", i);
21347 }
21348 else
21349 {
21350 unsigned long int i = ulongval ();
21351 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21352 return 1;
21353 fprintf (f, "%lu\n", i);
21354 }
21355 return ferror (f) || fclose (f) != 0;
21356
21357 ;
21358 return 0;
21359 }
21360 _ACEOF
21361 rm -f conftest$ac_exeext
21362 if { (ac_try="$ac_link"
21363 case "(($ac_try" in
21364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21365 *) ac_try_echo=$ac_try;;
21366 esac
21367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21368 (eval "$ac_link") 2>&5
21369 ac_status=$?
21370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21372 { (case "(($ac_try" in
21373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21374 *) ac_try_echo=$ac_try;;
21375 esac
21376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21377 (eval "$ac_try") 2>&5
21378 ac_status=$?
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); }; }; then
21381 ac_cv_sizeof_long=`cat conftest.val`
21382 else
21383 echo "$as_me: program exited with status $ac_status" >&5
21384 echo "$as_me: failed program was:" >&5
21385 sed 's/^/| /' conftest.$ac_ext >&5
21386
21387 ( exit $ac_status )
21388 if test "$ac_cv_type_long" = yes; then
21389 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21390 See \`config.log' for more details." >&5
21391 echo "$as_me: error: cannot compute sizeof (long)
21392 See \`config.log' for more details." >&2;}
21393 { (exit 77); exit 77; }; }
21394 else
21395 ac_cv_sizeof_long=0
21396 fi
21397 fi
21398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21399 fi
21400 rm -f conftest.val
21401 fi
21402 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21403 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21404
21405
21406
21407 cat >>confdefs.h <<_ACEOF
21408 #define SIZEOF_LONG $ac_cv_sizeof_long
21409 _ACEOF
21410
21411
21412 { echo "$as_me:$LINENO: checking for size_t" >&5
21413 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21414 if test "${ac_cv_type_size_t+set}" = set; then
21415 echo $ECHO_N "(cached) $ECHO_C" >&6
21416 else
21417 cat >conftest.$ac_ext <<_ACEOF
21418 /* confdefs.h. */
21419 _ACEOF
21420 cat confdefs.h >>conftest.$ac_ext
21421 cat >>conftest.$ac_ext <<_ACEOF
21422 /* end confdefs.h. */
21423 $ac_includes_default
21424 typedef size_t ac__type_new_;
21425 int
21426 main ()
21427 {
21428 if ((ac__type_new_ *) 0)
21429 return 0;
21430 if (sizeof (ac__type_new_))
21431 return 0;
21432 ;
21433 return 0;
21434 }
21435 _ACEOF
21436 rm -f conftest.$ac_objext
21437 if { (ac_try="$ac_compile"
21438 case "(($ac_try" in
21439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21440 *) ac_try_echo=$ac_try;;
21441 esac
21442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21443 (eval "$ac_compile") 2>conftest.er1
21444 ac_status=$?
21445 grep -v '^ *+' conftest.er1 >conftest.err
21446 rm -f conftest.er1
21447 cat conftest.err >&5
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); } && {
21450 test -z "$ac_c_werror_flag" ||
21451 test ! -s conftest.err
21452 } && test -s conftest.$ac_objext; then
21453 ac_cv_type_size_t=yes
21454 else
21455 echo "$as_me: failed program was:" >&5
21456 sed 's/^/| /' conftest.$ac_ext >&5
21457
21458 ac_cv_type_size_t=no
21459 fi
21460
21461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21462 fi
21463 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21464 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21465
21466 # The cast to long int works around a bug in the HP C Compiler
21467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21469 # This bug is HP SR number 8606223364.
21470 { echo "$as_me:$LINENO: checking size of size_t" >&5
21471 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21472 if test "${ac_cv_sizeof_size_t+set}" = set; then
21473 echo $ECHO_N "(cached) $ECHO_C" >&6
21474 else
21475 if test "$cross_compiling" = yes; then
21476 # Depending upon the size, compute the lo and hi bounds.
21477 cat >conftest.$ac_ext <<_ACEOF
21478 /* confdefs.h. */
21479 _ACEOF
21480 cat confdefs.h >>conftest.$ac_ext
21481 cat >>conftest.$ac_ext <<_ACEOF
21482 /* end confdefs.h. */
21483 $ac_includes_default
21484 typedef size_t ac__type_sizeof_;
21485 int
21486 main ()
21487 {
21488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21489 test_array [0] = 0
21490
21491 ;
21492 return 0;
21493 }
21494 _ACEOF
21495 rm -f conftest.$ac_objext
21496 if { (ac_try="$ac_compile"
21497 case "(($ac_try" in
21498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21499 *) ac_try_echo=$ac_try;;
21500 esac
21501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21502 (eval "$ac_compile") 2>conftest.er1
21503 ac_status=$?
21504 grep -v '^ *+' conftest.er1 >conftest.err
21505 rm -f conftest.er1
21506 cat conftest.err >&5
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); } && {
21509 test -z "$ac_c_werror_flag" ||
21510 test ! -s conftest.err
21511 } && test -s conftest.$ac_objext; then
21512 ac_lo=0 ac_mid=0
21513 while :; do
21514 cat >conftest.$ac_ext <<_ACEOF
21515 /* confdefs.h. */
21516 _ACEOF
21517 cat confdefs.h >>conftest.$ac_ext
21518 cat >>conftest.$ac_ext <<_ACEOF
21519 /* end confdefs.h. */
21520 $ac_includes_default
21521 typedef size_t ac__type_sizeof_;
21522 int
21523 main ()
21524 {
21525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21526 test_array [0] = 0
21527
21528 ;
21529 return 0;
21530 }
21531 _ACEOF
21532 rm -f conftest.$ac_objext
21533 if { (ac_try="$ac_compile"
21534 case "(($ac_try" in
21535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21536 *) ac_try_echo=$ac_try;;
21537 esac
21538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21539 (eval "$ac_compile") 2>conftest.er1
21540 ac_status=$?
21541 grep -v '^ *+' conftest.er1 >conftest.err
21542 rm -f conftest.er1
21543 cat conftest.err >&5
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); } && {
21546 test -z "$ac_c_werror_flag" ||
21547 test ! -s conftest.err
21548 } && test -s conftest.$ac_objext; then
21549 ac_hi=$ac_mid; break
21550 else
21551 echo "$as_me: failed program was:" >&5
21552 sed 's/^/| /' conftest.$ac_ext >&5
21553
21554 ac_lo=`expr $ac_mid + 1`
21555 if test $ac_lo -le $ac_mid; then
21556 ac_lo= ac_hi=
21557 break
21558 fi
21559 ac_mid=`expr 2 '*' $ac_mid + 1`
21560 fi
21561
21562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21563 done
21564 else
21565 echo "$as_me: failed program was:" >&5
21566 sed 's/^/| /' conftest.$ac_ext >&5
21567
21568 cat >conftest.$ac_ext <<_ACEOF
21569 /* confdefs.h. */
21570 _ACEOF
21571 cat confdefs.h >>conftest.$ac_ext
21572 cat >>conftest.$ac_ext <<_ACEOF
21573 /* end confdefs.h. */
21574 $ac_includes_default
21575 typedef size_t ac__type_sizeof_;
21576 int
21577 main ()
21578 {
21579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21580 test_array [0] = 0
21581
21582 ;
21583 return 0;
21584 }
21585 _ACEOF
21586 rm -f conftest.$ac_objext
21587 if { (ac_try="$ac_compile"
21588 case "(($ac_try" in
21589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21590 *) ac_try_echo=$ac_try;;
21591 esac
21592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21593 (eval "$ac_compile") 2>conftest.er1
21594 ac_status=$?
21595 grep -v '^ *+' conftest.er1 >conftest.err
21596 rm -f conftest.er1
21597 cat conftest.err >&5
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); } && {
21600 test -z "$ac_c_werror_flag" ||
21601 test ! -s conftest.err
21602 } && test -s conftest.$ac_objext; then
21603 ac_hi=-1 ac_mid=-1
21604 while :; do
21605 cat >conftest.$ac_ext <<_ACEOF
21606 /* confdefs.h. */
21607 _ACEOF
21608 cat confdefs.h >>conftest.$ac_ext
21609 cat >>conftest.$ac_ext <<_ACEOF
21610 /* end confdefs.h. */
21611 $ac_includes_default
21612 typedef size_t ac__type_sizeof_;
21613 int
21614 main ()
21615 {
21616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21617 test_array [0] = 0
21618
21619 ;
21620 return 0;
21621 }
21622 _ACEOF
21623 rm -f conftest.$ac_objext
21624 if { (ac_try="$ac_compile"
21625 case "(($ac_try" in
21626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21627 *) ac_try_echo=$ac_try;;
21628 esac
21629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21630 (eval "$ac_compile") 2>conftest.er1
21631 ac_status=$?
21632 grep -v '^ *+' conftest.er1 >conftest.err
21633 rm -f conftest.er1
21634 cat conftest.err >&5
21635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21636 (exit $ac_status); } && {
21637 test -z "$ac_c_werror_flag" ||
21638 test ! -s conftest.err
21639 } && test -s conftest.$ac_objext; then
21640 ac_lo=$ac_mid; break
21641 else
21642 echo "$as_me: failed program was:" >&5
21643 sed 's/^/| /' conftest.$ac_ext >&5
21644
21645 ac_hi=`expr '(' $ac_mid ')' - 1`
21646 if test $ac_mid -le $ac_hi; then
21647 ac_lo= ac_hi=
21648 break
21649 fi
21650 ac_mid=`expr 2 '*' $ac_mid`
21651 fi
21652
21653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21654 done
21655 else
21656 echo "$as_me: failed program was:" >&5
21657 sed 's/^/| /' conftest.$ac_ext >&5
21658
21659 ac_lo= ac_hi=
21660 fi
21661
21662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21663 fi
21664
21665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21666 # Binary search between lo and hi bounds.
21667 while test "x$ac_lo" != "x$ac_hi"; do
21668 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21669 cat >conftest.$ac_ext <<_ACEOF
21670 /* confdefs.h. */
21671 _ACEOF
21672 cat confdefs.h >>conftest.$ac_ext
21673 cat >>conftest.$ac_ext <<_ACEOF
21674 /* end confdefs.h. */
21675 $ac_includes_default
21676 typedef size_t ac__type_sizeof_;
21677 int
21678 main ()
21679 {
21680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21681 test_array [0] = 0
21682
21683 ;
21684 return 0;
21685 }
21686 _ACEOF
21687 rm -f conftest.$ac_objext
21688 if { (ac_try="$ac_compile"
21689 case "(($ac_try" in
21690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21691 *) ac_try_echo=$ac_try;;
21692 esac
21693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21694 (eval "$ac_compile") 2>conftest.er1
21695 ac_status=$?
21696 grep -v '^ *+' conftest.er1 >conftest.err
21697 rm -f conftest.er1
21698 cat conftest.err >&5
21699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700 (exit $ac_status); } && {
21701 test -z "$ac_c_werror_flag" ||
21702 test ! -s conftest.err
21703 } && test -s conftest.$ac_objext; then
21704 ac_hi=$ac_mid
21705 else
21706 echo "$as_me: failed program was:" >&5
21707 sed 's/^/| /' conftest.$ac_ext >&5
21708
21709 ac_lo=`expr '(' $ac_mid ')' + 1`
21710 fi
21711
21712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21713 done
21714 case $ac_lo in
21715 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21716 '') if test "$ac_cv_type_size_t" = yes; then
21717 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21718 See \`config.log' for more details." >&5
21719 echo "$as_me: error: cannot compute sizeof (size_t)
21720 See \`config.log' for more details." >&2;}
21721 { (exit 77); exit 77; }; }
21722 else
21723 ac_cv_sizeof_size_t=0
21724 fi ;;
21725 esac
21726 else
21727 cat >conftest.$ac_ext <<_ACEOF
21728 /* confdefs.h. */
21729 _ACEOF
21730 cat confdefs.h >>conftest.$ac_ext
21731 cat >>conftest.$ac_ext <<_ACEOF
21732 /* end confdefs.h. */
21733 $ac_includes_default
21734 typedef size_t ac__type_sizeof_;
21735 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21736 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21737 #include <stdio.h>
21738 #include <stdlib.h>
21739 int
21740 main ()
21741 {
21742
21743 FILE *f = fopen ("conftest.val", "w");
21744 if (! f)
21745 return 1;
21746 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21747 {
21748 long int i = longval ();
21749 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21750 return 1;
21751 fprintf (f, "%ld\n", i);
21752 }
21753 else
21754 {
21755 unsigned long int i = ulongval ();
21756 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21757 return 1;
21758 fprintf (f, "%lu\n", i);
21759 }
21760 return ferror (f) || fclose (f) != 0;
21761
21762 ;
21763 return 0;
21764 }
21765 _ACEOF
21766 rm -f conftest$ac_exeext
21767 if { (ac_try="$ac_link"
21768 case "(($ac_try" in
21769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21770 *) ac_try_echo=$ac_try;;
21771 esac
21772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21773 (eval "$ac_link") 2>&5
21774 ac_status=$?
21775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21776 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21777 { (case "(($ac_try" in
21778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21779 *) ac_try_echo=$ac_try;;
21780 esac
21781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21782 (eval "$ac_try") 2>&5
21783 ac_status=$?
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); }; }; then
21786 ac_cv_sizeof_size_t=`cat conftest.val`
21787 else
21788 echo "$as_me: program exited with status $ac_status" >&5
21789 echo "$as_me: failed program was:" >&5
21790 sed 's/^/| /' conftest.$ac_ext >&5
21791
21792 ( exit $ac_status )
21793 if test "$ac_cv_type_size_t" = yes; then
21794 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21795 See \`config.log' for more details." >&5
21796 echo "$as_me: error: cannot compute sizeof (size_t)
21797 See \`config.log' for more details." >&2;}
21798 { (exit 77); exit 77; }; }
21799 else
21800 ac_cv_sizeof_size_t=0
21801 fi
21802 fi
21803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21804 fi
21805 rm -f conftest.val
21806 fi
21807 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21808 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21809
21810
21811
21812 cat >>confdefs.h <<_ACEOF
21813 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21814 _ACEOF
21815
21816
21817
21818 case "${host}" in
21819 arm-*-linux* )
21820 { echo "$as_me:$LINENO: checking for long long" >&5
21821 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21822 if test "${ac_cv_type_long_long+set}" = set; then
21823 echo $ECHO_N "(cached) $ECHO_C" >&6
21824 else
21825 cat >conftest.$ac_ext <<_ACEOF
21826 /* confdefs.h. */
21827 _ACEOF
21828 cat confdefs.h >>conftest.$ac_ext
21829 cat >>conftest.$ac_ext <<_ACEOF
21830 /* end confdefs.h. */
21831 $ac_includes_default
21832 typedef long long ac__type_new_;
21833 int
21834 main ()
21835 {
21836 if ((ac__type_new_ *) 0)
21837 return 0;
21838 if (sizeof (ac__type_new_))
21839 return 0;
21840 ;
21841 return 0;
21842 }
21843 _ACEOF
21844 rm -f conftest.$ac_objext
21845 if { (ac_try="$ac_compile"
21846 case "(($ac_try" in
21847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21848 *) ac_try_echo=$ac_try;;
21849 esac
21850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21851 (eval "$ac_compile") 2>conftest.er1
21852 ac_status=$?
21853 grep -v '^ *+' conftest.er1 >conftest.err
21854 rm -f conftest.er1
21855 cat conftest.err >&5
21856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21857 (exit $ac_status); } && {
21858 test -z "$ac_c_werror_flag" ||
21859 test ! -s conftest.err
21860 } && test -s conftest.$ac_objext; then
21861 ac_cv_type_long_long=yes
21862 else
21863 echo "$as_me: failed program was:" >&5
21864 sed 's/^/| /' conftest.$ac_ext >&5
21865
21866 ac_cv_type_long_long=no
21867 fi
21868
21869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21870 fi
21871 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21872 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21873
21874 # The cast to long int works around a bug in the HP C Compiler
21875 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21876 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21877 # This bug is HP SR number 8606223364.
21878 { echo "$as_me:$LINENO: checking size of long long" >&5
21879 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21880 if test "${ac_cv_sizeof_long_long+set}" = set; then
21881 echo $ECHO_N "(cached) $ECHO_C" >&6
21882 else
21883 if test "$cross_compiling" = yes; then
21884 # Depending upon the size, compute the lo and hi bounds.
21885 cat >conftest.$ac_ext <<_ACEOF
21886 /* confdefs.h. */
21887 _ACEOF
21888 cat confdefs.h >>conftest.$ac_ext
21889 cat >>conftest.$ac_ext <<_ACEOF
21890 /* end confdefs.h. */
21891 $ac_includes_default
21892 typedef long long ac__type_sizeof_;
21893 int
21894 main ()
21895 {
21896 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21897 test_array [0] = 0
21898
21899 ;
21900 return 0;
21901 }
21902 _ACEOF
21903 rm -f conftest.$ac_objext
21904 if { (ac_try="$ac_compile"
21905 case "(($ac_try" in
21906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21907 *) ac_try_echo=$ac_try;;
21908 esac
21909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21910 (eval "$ac_compile") 2>conftest.er1
21911 ac_status=$?
21912 grep -v '^ *+' conftest.er1 >conftest.err
21913 rm -f conftest.er1
21914 cat conftest.err >&5
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); } && {
21917 test -z "$ac_c_werror_flag" ||
21918 test ! -s conftest.err
21919 } && test -s conftest.$ac_objext; then
21920 ac_lo=0 ac_mid=0
21921 while :; do
21922 cat >conftest.$ac_ext <<_ACEOF
21923 /* confdefs.h. */
21924 _ACEOF
21925 cat confdefs.h >>conftest.$ac_ext
21926 cat >>conftest.$ac_ext <<_ACEOF
21927 /* end confdefs.h. */
21928 $ac_includes_default
21929 typedef long long ac__type_sizeof_;
21930 int
21931 main ()
21932 {
21933 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21934 test_array [0] = 0
21935
21936 ;
21937 return 0;
21938 }
21939 _ACEOF
21940 rm -f conftest.$ac_objext
21941 if { (ac_try="$ac_compile"
21942 case "(($ac_try" in
21943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21944 *) ac_try_echo=$ac_try;;
21945 esac
21946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21947 (eval "$ac_compile") 2>conftest.er1
21948 ac_status=$?
21949 grep -v '^ *+' conftest.er1 >conftest.err
21950 rm -f conftest.er1
21951 cat conftest.err >&5
21952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21953 (exit $ac_status); } && {
21954 test -z "$ac_c_werror_flag" ||
21955 test ! -s conftest.err
21956 } && test -s conftest.$ac_objext; then
21957 ac_hi=$ac_mid; break
21958 else
21959 echo "$as_me: failed program was:" >&5
21960 sed 's/^/| /' conftest.$ac_ext >&5
21961
21962 ac_lo=`expr $ac_mid + 1`
21963 if test $ac_lo -le $ac_mid; then
21964 ac_lo= ac_hi=
21965 break
21966 fi
21967 ac_mid=`expr 2 '*' $ac_mid + 1`
21968 fi
21969
21970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21971 done
21972 else
21973 echo "$as_me: failed program was:" >&5
21974 sed 's/^/| /' conftest.$ac_ext >&5
21975
21976 cat >conftest.$ac_ext <<_ACEOF
21977 /* confdefs.h. */
21978 _ACEOF
21979 cat confdefs.h >>conftest.$ac_ext
21980 cat >>conftest.$ac_ext <<_ACEOF
21981 /* end confdefs.h. */
21982 $ac_includes_default
21983 typedef long long ac__type_sizeof_;
21984 int
21985 main ()
21986 {
21987 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21988 test_array [0] = 0
21989
21990 ;
21991 return 0;
21992 }
21993 _ACEOF
21994 rm -f conftest.$ac_objext
21995 if { (ac_try="$ac_compile"
21996 case "(($ac_try" in
21997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21998 *) ac_try_echo=$ac_try;;
21999 esac
22000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22001 (eval "$ac_compile") 2>conftest.er1
22002 ac_status=$?
22003 grep -v '^ *+' conftest.er1 >conftest.err
22004 rm -f conftest.er1
22005 cat conftest.err >&5
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); } && {
22008 test -z "$ac_c_werror_flag" ||
22009 test ! -s conftest.err
22010 } && test -s conftest.$ac_objext; then
22011 ac_hi=-1 ac_mid=-1
22012 while :; do
22013 cat >conftest.$ac_ext <<_ACEOF
22014 /* confdefs.h. */
22015 _ACEOF
22016 cat confdefs.h >>conftest.$ac_ext
22017 cat >>conftest.$ac_ext <<_ACEOF
22018 /* end confdefs.h. */
22019 $ac_includes_default
22020 typedef long long ac__type_sizeof_;
22021 int
22022 main ()
22023 {
22024 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22025 test_array [0] = 0
22026
22027 ;
22028 return 0;
22029 }
22030 _ACEOF
22031 rm -f conftest.$ac_objext
22032 if { (ac_try="$ac_compile"
22033 case "(($ac_try" in
22034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22035 *) ac_try_echo=$ac_try;;
22036 esac
22037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22038 (eval "$ac_compile") 2>conftest.er1
22039 ac_status=$?
22040 grep -v '^ *+' conftest.er1 >conftest.err
22041 rm -f conftest.er1
22042 cat conftest.err >&5
22043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22044 (exit $ac_status); } && {
22045 test -z "$ac_c_werror_flag" ||
22046 test ! -s conftest.err
22047 } && test -s conftest.$ac_objext; then
22048 ac_lo=$ac_mid; break
22049 else
22050 echo "$as_me: failed program was:" >&5
22051 sed 's/^/| /' conftest.$ac_ext >&5
22052
22053 ac_hi=`expr '(' $ac_mid ')' - 1`
22054 if test $ac_mid -le $ac_hi; then
22055 ac_lo= ac_hi=
22056 break
22057 fi
22058 ac_mid=`expr 2 '*' $ac_mid`
22059 fi
22060
22061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22062 done
22063 else
22064 echo "$as_me: failed program was:" >&5
22065 sed 's/^/| /' conftest.$ac_ext >&5
22066
22067 ac_lo= ac_hi=
22068 fi
22069
22070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22071 fi
22072
22073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22074 # Binary search between lo and hi bounds.
22075 while test "x$ac_lo" != "x$ac_hi"; do
22076 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22077 cat >conftest.$ac_ext <<_ACEOF
22078 /* confdefs.h. */
22079 _ACEOF
22080 cat confdefs.h >>conftest.$ac_ext
22081 cat >>conftest.$ac_ext <<_ACEOF
22082 /* end confdefs.h. */
22083 $ac_includes_default
22084 typedef long long ac__type_sizeof_;
22085 int
22086 main ()
22087 {
22088 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22089 test_array [0] = 0
22090
22091 ;
22092 return 0;
22093 }
22094 _ACEOF
22095 rm -f conftest.$ac_objext
22096 if { (ac_try="$ac_compile"
22097 case "(($ac_try" in
22098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22099 *) ac_try_echo=$ac_try;;
22100 esac
22101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22102 (eval "$ac_compile") 2>conftest.er1
22103 ac_status=$?
22104 grep -v '^ *+' conftest.er1 >conftest.err
22105 rm -f conftest.er1
22106 cat conftest.err >&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); } && {
22109 test -z "$ac_c_werror_flag" ||
22110 test ! -s conftest.err
22111 } && test -s conftest.$ac_objext; then
22112 ac_hi=$ac_mid
22113 else
22114 echo "$as_me: failed program was:" >&5
22115 sed 's/^/| /' conftest.$ac_ext >&5
22116
22117 ac_lo=`expr '(' $ac_mid ')' + 1`
22118 fi
22119
22120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22121 done
22122 case $ac_lo in
22123 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22124 '') if test "$ac_cv_type_long_long" = yes; then
22125 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22126 See \`config.log' for more details." >&5
22127 echo "$as_me: error: cannot compute sizeof (long long)
22128 See \`config.log' for more details." >&2;}
22129 { (exit 77); exit 77; }; }
22130 else
22131 ac_cv_sizeof_long_long=0
22132 fi ;;
22133 esac
22134 else
22135 cat >conftest.$ac_ext <<_ACEOF
22136 /* confdefs.h. */
22137 _ACEOF
22138 cat confdefs.h >>conftest.$ac_ext
22139 cat >>conftest.$ac_ext <<_ACEOF
22140 /* end confdefs.h. */
22141 $ac_includes_default
22142 typedef long long ac__type_sizeof_;
22143 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22144 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22145 #include <stdio.h>
22146 #include <stdlib.h>
22147 int
22148 main ()
22149 {
22150
22151 FILE *f = fopen ("conftest.val", "w");
22152 if (! f)
22153 return 1;
22154 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22155 {
22156 long int i = longval ();
22157 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22158 return 1;
22159 fprintf (f, "%ld\n", i);
22160 }
22161 else
22162 {
22163 unsigned long int i = ulongval ();
22164 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22165 return 1;
22166 fprintf (f, "%lu\n", i);
22167 }
22168 return ferror (f) || fclose (f) != 0;
22169
22170 ;
22171 return 0;
22172 }
22173 _ACEOF
22174 rm -f conftest$ac_exeext
22175 if { (ac_try="$ac_link"
22176 case "(($ac_try" in
22177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22178 *) ac_try_echo=$ac_try;;
22179 esac
22180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22181 (eval "$ac_link") 2>&5
22182 ac_status=$?
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22185 { (case "(($ac_try" in
22186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22187 *) ac_try_echo=$ac_try;;
22188 esac
22189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22190 (eval "$ac_try") 2>&5
22191 ac_status=$?
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); }; }; then
22194 ac_cv_sizeof_long_long=`cat conftest.val`
22195 else
22196 echo "$as_me: program exited with status $ac_status" >&5
22197 echo "$as_me: failed program was:" >&5
22198 sed 's/^/| /' conftest.$ac_ext >&5
22199
22200 ( exit $ac_status )
22201 if test "$ac_cv_type_long_long" = yes; then
22202 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22203 See \`config.log' for more details." >&5
22204 echo "$as_me: error: cannot compute sizeof (long long)
22205 See \`config.log' for more details." >&2;}
22206 { (exit 77); exit 77; }; }
22207 else
22208 ac_cv_sizeof_long_long=0
22209 fi
22210 fi
22211 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22212 fi
22213 rm -f conftest.val
22214 fi
22215 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22216 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22217
22218
22219
22220 cat >>confdefs.h <<_ACEOF
22221 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22222 _ACEOF
22223
22224
22225 ;;
22226 *-hp-hpux* )
22227 { echo "$as_me:$LINENO: checking for long long" >&5
22228 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22229 if test "${ac_cv_type_long_long+set}" = set; then
22230 echo $ECHO_N "(cached) $ECHO_C" >&6
22231 else
22232 cat >conftest.$ac_ext <<_ACEOF
22233 /* confdefs.h. */
22234 _ACEOF
22235 cat confdefs.h >>conftest.$ac_ext
22236 cat >>conftest.$ac_ext <<_ACEOF
22237 /* end confdefs.h. */
22238 $ac_includes_default
22239 typedef long long ac__type_new_;
22240 int
22241 main ()
22242 {
22243 if ((ac__type_new_ *) 0)
22244 return 0;
22245 if (sizeof (ac__type_new_))
22246 return 0;
22247 ;
22248 return 0;
22249 }
22250 _ACEOF
22251 rm -f conftest.$ac_objext
22252 if { (ac_try="$ac_compile"
22253 case "(($ac_try" in
22254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22255 *) ac_try_echo=$ac_try;;
22256 esac
22257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22258 (eval "$ac_compile") 2>conftest.er1
22259 ac_status=$?
22260 grep -v '^ *+' conftest.er1 >conftest.err
22261 rm -f conftest.er1
22262 cat conftest.err >&5
22263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264 (exit $ac_status); } && {
22265 test -z "$ac_c_werror_flag" ||
22266 test ! -s conftest.err
22267 } && test -s conftest.$ac_objext; then
22268 ac_cv_type_long_long=yes
22269 else
22270 echo "$as_me: failed program was:" >&5
22271 sed 's/^/| /' conftest.$ac_ext >&5
22272
22273 ac_cv_type_long_long=no
22274 fi
22275
22276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22277 fi
22278 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22279 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22280
22281 # The cast to long int works around a bug in the HP C Compiler
22282 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22283 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22284 # This bug is HP SR number 8606223364.
22285 { echo "$as_me:$LINENO: checking size of long long" >&5
22286 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22287 if test "${ac_cv_sizeof_long_long+set}" = set; then
22288 echo $ECHO_N "(cached) $ECHO_C" >&6
22289 else
22290 if test "$cross_compiling" = yes; then
22291 # Depending upon the size, compute the lo and hi bounds.
22292 cat >conftest.$ac_ext <<_ACEOF
22293 /* confdefs.h. */
22294 _ACEOF
22295 cat confdefs.h >>conftest.$ac_ext
22296 cat >>conftest.$ac_ext <<_ACEOF
22297 /* end confdefs.h. */
22298 $ac_includes_default
22299 typedef long long ac__type_sizeof_;
22300 int
22301 main ()
22302 {
22303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22304 test_array [0] = 0
22305
22306 ;
22307 return 0;
22308 }
22309 _ACEOF
22310 rm -f conftest.$ac_objext
22311 if { (ac_try="$ac_compile"
22312 case "(($ac_try" in
22313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22314 *) ac_try_echo=$ac_try;;
22315 esac
22316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22317 (eval "$ac_compile") 2>conftest.er1
22318 ac_status=$?
22319 grep -v '^ *+' conftest.er1 >conftest.err
22320 rm -f conftest.er1
22321 cat conftest.err >&5
22322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22323 (exit $ac_status); } && {
22324 test -z "$ac_c_werror_flag" ||
22325 test ! -s conftest.err
22326 } && test -s conftest.$ac_objext; then
22327 ac_lo=0 ac_mid=0
22328 while :; do
22329 cat >conftest.$ac_ext <<_ACEOF
22330 /* confdefs.h. */
22331 _ACEOF
22332 cat confdefs.h >>conftest.$ac_ext
22333 cat >>conftest.$ac_ext <<_ACEOF
22334 /* end confdefs.h. */
22335 $ac_includes_default
22336 typedef long long ac__type_sizeof_;
22337 int
22338 main ()
22339 {
22340 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22341 test_array [0] = 0
22342
22343 ;
22344 return 0;
22345 }
22346 _ACEOF
22347 rm -f conftest.$ac_objext
22348 if { (ac_try="$ac_compile"
22349 case "(($ac_try" in
22350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22351 *) ac_try_echo=$ac_try;;
22352 esac
22353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22354 (eval "$ac_compile") 2>conftest.er1
22355 ac_status=$?
22356 grep -v '^ *+' conftest.er1 >conftest.err
22357 rm -f conftest.er1
22358 cat conftest.err >&5
22359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360 (exit $ac_status); } && {
22361 test -z "$ac_c_werror_flag" ||
22362 test ! -s conftest.err
22363 } && test -s conftest.$ac_objext; then
22364 ac_hi=$ac_mid; break
22365 else
22366 echo "$as_me: failed program was:" >&5
22367 sed 's/^/| /' conftest.$ac_ext >&5
22368
22369 ac_lo=`expr $ac_mid + 1`
22370 if test $ac_lo -le $ac_mid; then
22371 ac_lo= ac_hi=
22372 break
22373 fi
22374 ac_mid=`expr 2 '*' $ac_mid + 1`
22375 fi
22376
22377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22378 done
22379 else
22380 echo "$as_me: failed program was:" >&5
22381 sed 's/^/| /' conftest.$ac_ext >&5
22382
22383 cat >conftest.$ac_ext <<_ACEOF
22384 /* confdefs.h. */
22385 _ACEOF
22386 cat confdefs.h >>conftest.$ac_ext
22387 cat >>conftest.$ac_ext <<_ACEOF
22388 /* end confdefs.h. */
22389 $ac_includes_default
22390 typedef long long ac__type_sizeof_;
22391 int
22392 main ()
22393 {
22394 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22395 test_array [0] = 0
22396
22397 ;
22398 return 0;
22399 }
22400 _ACEOF
22401 rm -f conftest.$ac_objext
22402 if { (ac_try="$ac_compile"
22403 case "(($ac_try" in
22404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22405 *) ac_try_echo=$ac_try;;
22406 esac
22407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22408 (eval "$ac_compile") 2>conftest.er1
22409 ac_status=$?
22410 grep -v '^ *+' conftest.er1 >conftest.err
22411 rm -f conftest.er1
22412 cat conftest.err >&5
22413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22414 (exit $ac_status); } && {
22415 test -z "$ac_c_werror_flag" ||
22416 test ! -s conftest.err
22417 } && test -s conftest.$ac_objext; then
22418 ac_hi=-1 ac_mid=-1
22419 while :; do
22420 cat >conftest.$ac_ext <<_ACEOF
22421 /* confdefs.h. */
22422 _ACEOF
22423 cat confdefs.h >>conftest.$ac_ext
22424 cat >>conftest.$ac_ext <<_ACEOF
22425 /* end confdefs.h. */
22426 $ac_includes_default
22427 typedef long long ac__type_sizeof_;
22428 int
22429 main ()
22430 {
22431 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22432 test_array [0] = 0
22433
22434 ;
22435 return 0;
22436 }
22437 _ACEOF
22438 rm -f conftest.$ac_objext
22439 if { (ac_try="$ac_compile"
22440 case "(($ac_try" in
22441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22442 *) ac_try_echo=$ac_try;;
22443 esac
22444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22445 (eval "$ac_compile") 2>conftest.er1
22446 ac_status=$?
22447 grep -v '^ *+' conftest.er1 >conftest.err
22448 rm -f conftest.er1
22449 cat conftest.err >&5
22450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22451 (exit $ac_status); } && {
22452 test -z "$ac_c_werror_flag" ||
22453 test ! -s conftest.err
22454 } && test -s conftest.$ac_objext; then
22455 ac_lo=$ac_mid; break
22456 else
22457 echo "$as_me: failed program was:" >&5
22458 sed 's/^/| /' conftest.$ac_ext >&5
22459
22460 ac_hi=`expr '(' $ac_mid ')' - 1`
22461 if test $ac_mid -le $ac_hi; then
22462 ac_lo= ac_hi=
22463 break
22464 fi
22465 ac_mid=`expr 2 '*' $ac_mid`
22466 fi
22467
22468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22469 done
22470 else
22471 echo "$as_me: failed program was:" >&5
22472 sed 's/^/| /' conftest.$ac_ext >&5
22473
22474 ac_lo= ac_hi=
22475 fi
22476
22477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22478 fi
22479
22480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22481 # Binary search between lo and hi bounds.
22482 while test "x$ac_lo" != "x$ac_hi"; do
22483 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22484 cat >conftest.$ac_ext <<_ACEOF
22485 /* confdefs.h. */
22486 _ACEOF
22487 cat confdefs.h >>conftest.$ac_ext
22488 cat >>conftest.$ac_ext <<_ACEOF
22489 /* end confdefs.h. */
22490 $ac_includes_default
22491 typedef long long ac__type_sizeof_;
22492 int
22493 main ()
22494 {
22495 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22496 test_array [0] = 0
22497
22498 ;
22499 return 0;
22500 }
22501 _ACEOF
22502 rm -f conftest.$ac_objext
22503 if { (ac_try="$ac_compile"
22504 case "(($ac_try" in
22505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22506 *) ac_try_echo=$ac_try;;
22507 esac
22508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22509 (eval "$ac_compile") 2>conftest.er1
22510 ac_status=$?
22511 grep -v '^ *+' conftest.er1 >conftest.err
22512 rm -f conftest.er1
22513 cat conftest.err >&5
22514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22515 (exit $ac_status); } && {
22516 test -z "$ac_c_werror_flag" ||
22517 test ! -s conftest.err
22518 } && test -s conftest.$ac_objext; then
22519 ac_hi=$ac_mid
22520 else
22521 echo "$as_me: failed program was:" >&5
22522 sed 's/^/| /' conftest.$ac_ext >&5
22523
22524 ac_lo=`expr '(' $ac_mid ')' + 1`
22525 fi
22526
22527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22528 done
22529 case $ac_lo in
22530 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22531 '') if test "$ac_cv_type_long_long" = yes; then
22532 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22533 See \`config.log' for more details." >&5
22534 echo "$as_me: error: cannot compute sizeof (long long)
22535 See \`config.log' for more details." >&2;}
22536 { (exit 77); exit 77; }; }
22537 else
22538 ac_cv_sizeof_long_long=0
22539 fi ;;
22540 esac
22541 else
22542 cat >conftest.$ac_ext <<_ACEOF
22543 /* confdefs.h. */
22544 _ACEOF
22545 cat confdefs.h >>conftest.$ac_ext
22546 cat >>conftest.$ac_ext <<_ACEOF
22547 /* end confdefs.h. */
22548 $ac_includes_default
22549 typedef long long ac__type_sizeof_;
22550 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22551 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22552 #include <stdio.h>
22553 #include <stdlib.h>
22554 int
22555 main ()
22556 {
22557
22558 FILE *f = fopen ("conftest.val", "w");
22559 if (! f)
22560 return 1;
22561 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22562 {
22563 long int i = longval ();
22564 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22565 return 1;
22566 fprintf (f, "%ld\n", i);
22567 }
22568 else
22569 {
22570 unsigned long int i = ulongval ();
22571 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22572 return 1;
22573 fprintf (f, "%lu\n", i);
22574 }
22575 return ferror (f) || fclose (f) != 0;
22576
22577 ;
22578 return 0;
22579 }
22580 _ACEOF
22581 rm -f conftest$ac_exeext
22582 if { (ac_try="$ac_link"
22583 case "(($ac_try" in
22584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22585 *) ac_try_echo=$ac_try;;
22586 esac
22587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22588 (eval "$ac_link") 2>&5
22589 ac_status=$?
22590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22591 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22592 { (case "(($ac_try" in
22593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22594 *) ac_try_echo=$ac_try;;
22595 esac
22596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22597 (eval "$ac_try") 2>&5
22598 ac_status=$?
22599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); }; }; then
22601 ac_cv_sizeof_long_long=`cat conftest.val`
22602 else
22603 echo "$as_me: program exited with status $ac_status" >&5
22604 echo "$as_me: failed program was:" >&5
22605 sed 's/^/| /' conftest.$ac_ext >&5
22606
22607 ( exit $ac_status )
22608 if test "$ac_cv_type_long_long" = yes; then
22609 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22610 See \`config.log' for more details." >&5
22611 echo "$as_me: error: cannot compute sizeof (long long)
22612 See \`config.log' for more details." >&2;}
22613 { (exit 77); exit 77; }; }
22614 else
22615 ac_cv_sizeof_long_long=0
22616 fi
22617 fi
22618 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22619 fi
22620 rm -f conftest.val
22621 fi
22622 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22623 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22624
22625
22626
22627 cat >>confdefs.h <<_ACEOF
22628 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22629 _ACEOF
22630
22631
22632 if test "$ac_cv_sizeof_long_long" != 0; then
22633 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22634 fi
22635 ;;
22636 * )
22637 { echo "$as_me:$LINENO: checking for long long" >&5
22638 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22639 if test "${ac_cv_type_long_long+set}" = set; then
22640 echo $ECHO_N "(cached) $ECHO_C" >&6
22641 else
22642 cat >conftest.$ac_ext <<_ACEOF
22643 /* confdefs.h. */
22644 _ACEOF
22645 cat confdefs.h >>conftest.$ac_ext
22646 cat >>conftest.$ac_ext <<_ACEOF
22647 /* end confdefs.h. */
22648 $ac_includes_default
22649 typedef long long ac__type_new_;
22650 int
22651 main ()
22652 {
22653 if ((ac__type_new_ *) 0)
22654 return 0;
22655 if (sizeof (ac__type_new_))
22656 return 0;
22657 ;
22658 return 0;
22659 }
22660 _ACEOF
22661 rm -f conftest.$ac_objext
22662 if { (ac_try="$ac_compile"
22663 case "(($ac_try" in
22664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22665 *) ac_try_echo=$ac_try;;
22666 esac
22667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22668 (eval "$ac_compile") 2>conftest.er1
22669 ac_status=$?
22670 grep -v '^ *+' conftest.er1 >conftest.err
22671 rm -f conftest.er1
22672 cat conftest.err >&5
22673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674 (exit $ac_status); } && {
22675 test -z "$ac_c_werror_flag" ||
22676 test ! -s conftest.err
22677 } && test -s conftest.$ac_objext; then
22678 ac_cv_type_long_long=yes
22679 else
22680 echo "$as_me: failed program was:" >&5
22681 sed 's/^/| /' conftest.$ac_ext >&5
22682
22683 ac_cv_type_long_long=no
22684 fi
22685
22686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22687 fi
22688 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22689 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22690
22691 # The cast to long int works around a bug in the HP C Compiler
22692 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22693 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22694 # This bug is HP SR number 8606223364.
22695 { echo "$as_me:$LINENO: checking size of long long" >&5
22696 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22697 if test "${ac_cv_sizeof_long_long+set}" = set; then
22698 echo $ECHO_N "(cached) $ECHO_C" >&6
22699 else
22700 if test "$cross_compiling" = yes; then
22701 # Depending upon the size, compute the lo and hi bounds.
22702 cat >conftest.$ac_ext <<_ACEOF
22703 /* confdefs.h. */
22704 _ACEOF
22705 cat confdefs.h >>conftest.$ac_ext
22706 cat >>conftest.$ac_ext <<_ACEOF
22707 /* end confdefs.h. */
22708 $ac_includes_default
22709 typedef long long ac__type_sizeof_;
22710 int
22711 main ()
22712 {
22713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22714 test_array [0] = 0
22715
22716 ;
22717 return 0;
22718 }
22719 _ACEOF
22720 rm -f conftest.$ac_objext
22721 if { (ac_try="$ac_compile"
22722 case "(($ac_try" in
22723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22724 *) ac_try_echo=$ac_try;;
22725 esac
22726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22727 (eval "$ac_compile") 2>conftest.er1
22728 ac_status=$?
22729 grep -v '^ *+' conftest.er1 >conftest.err
22730 rm -f conftest.er1
22731 cat conftest.err >&5
22732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22733 (exit $ac_status); } && {
22734 test -z "$ac_c_werror_flag" ||
22735 test ! -s conftest.err
22736 } && test -s conftest.$ac_objext; then
22737 ac_lo=0 ac_mid=0
22738 while :; do
22739 cat >conftest.$ac_ext <<_ACEOF
22740 /* confdefs.h. */
22741 _ACEOF
22742 cat confdefs.h >>conftest.$ac_ext
22743 cat >>conftest.$ac_ext <<_ACEOF
22744 /* end confdefs.h. */
22745 $ac_includes_default
22746 typedef long long ac__type_sizeof_;
22747 int
22748 main ()
22749 {
22750 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22751 test_array [0] = 0
22752
22753 ;
22754 return 0;
22755 }
22756 _ACEOF
22757 rm -f conftest.$ac_objext
22758 if { (ac_try="$ac_compile"
22759 case "(($ac_try" in
22760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22761 *) ac_try_echo=$ac_try;;
22762 esac
22763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22764 (eval "$ac_compile") 2>conftest.er1
22765 ac_status=$?
22766 grep -v '^ *+' conftest.er1 >conftest.err
22767 rm -f conftest.er1
22768 cat conftest.err >&5
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); } && {
22771 test -z "$ac_c_werror_flag" ||
22772 test ! -s conftest.err
22773 } && test -s conftest.$ac_objext; then
22774 ac_hi=$ac_mid; break
22775 else
22776 echo "$as_me: failed program was:" >&5
22777 sed 's/^/| /' conftest.$ac_ext >&5
22778
22779 ac_lo=`expr $ac_mid + 1`
22780 if test $ac_lo -le $ac_mid; then
22781 ac_lo= ac_hi=
22782 break
22783 fi
22784 ac_mid=`expr 2 '*' $ac_mid + 1`
22785 fi
22786
22787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22788 done
22789 else
22790 echo "$as_me: failed program was:" >&5
22791 sed 's/^/| /' conftest.$ac_ext >&5
22792
22793 cat >conftest.$ac_ext <<_ACEOF
22794 /* confdefs.h. */
22795 _ACEOF
22796 cat confdefs.h >>conftest.$ac_ext
22797 cat >>conftest.$ac_ext <<_ACEOF
22798 /* end confdefs.h. */
22799 $ac_includes_default
22800 typedef long long ac__type_sizeof_;
22801 int
22802 main ()
22803 {
22804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22805 test_array [0] = 0
22806
22807 ;
22808 return 0;
22809 }
22810 _ACEOF
22811 rm -f conftest.$ac_objext
22812 if { (ac_try="$ac_compile"
22813 case "(($ac_try" in
22814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22815 *) ac_try_echo=$ac_try;;
22816 esac
22817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22818 (eval "$ac_compile") 2>conftest.er1
22819 ac_status=$?
22820 grep -v '^ *+' conftest.er1 >conftest.err
22821 rm -f conftest.er1
22822 cat conftest.err >&5
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); } && {
22825 test -z "$ac_c_werror_flag" ||
22826 test ! -s conftest.err
22827 } && test -s conftest.$ac_objext; then
22828 ac_hi=-1 ac_mid=-1
22829 while :; do
22830 cat >conftest.$ac_ext <<_ACEOF
22831 /* confdefs.h. */
22832 _ACEOF
22833 cat confdefs.h >>conftest.$ac_ext
22834 cat >>conftest.$ac_ext <<_ACEOF
22835 /* end confdefs.h. */
22836 $ac_includes_default
22837 typedef long long ac__type_sizeof_;
22838 int
22839 main ()
22840 {
22841 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22842 test_array [0] = 0
22843
22844 ;
22845 return 0;
22846 }
22847 _ACEOF
22848 rm -f conftest.$ac_objext
22849 if { (ac_try="$ac_compile"
22850 case "(($ac_try" in
22851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22852 *) ac_try_echo=$ac_try;;
22853 esac
22854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22855 (eval "$ac_compile") 2>conftest.er1
22856 ac_status=$?
22857 grep -v '^ *+' conftest.er1 >conftest.err
22858 rm -f conftest.er1
22859 cat conftest.err >&5
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); } && {
22862 test -z "$ac_c_werror_flag" ||
22863 test ! -s conftest.err
22864 } && test -s conftest.$ac_objext; then
22865 ac_lo=$ac_mid; break
22866 else
22867 echo "$as_me: failed program was:" >&5
22868 sed 's/^/| /' conftest.$ac_ext >&5
22869
22870 ac_hi=`expr '(' $ac_mid ')' - 1`
22871 if test $ac_mid -le $ac_hi; then
22872 ac_lo= ac_hi=
22873 break
22874 fi
22875 ac_mid=`expr 2 '*' $ac_mid`
22876 fi
22877
22878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22879 done
22880 else
22881 echo "$as_me: failed program was:" >&5
22882 sed 's/^/| /' conftest.$ac_ext >&5
22883
22884 ac_lo= ac_hi=
22885 fi
22886
22887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22888 fi
22889
22890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22891 # Binary search between lo and hi bounds.
22892 while test "x$ac_lo" != "x$ac_hi"; do
22893 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22894 cat >conftest.$ac_ext <<_ACEOF
22895 /* confdefs.h. */
22896 _ACEOF
22897 cat confdefs.h >>conftest.$ac_ext
22898 cat >>conftest.$ac_ext <<_ACEOF
22899 /* end confdefs.h. */
22900 $ac_includes_default
22901 typedef long long ac__type_sizeof_;
22902 int
22903 main ()
22904 {
22905 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22906 test_array [0] = 0
22907
22908 ;
22909 return 0;
22910 }
22911 _ACEOF
22912 rm -f conftest.$ac_objext
22913 if { (ac_try="$ac_compile"
22914 case "(($ac_try" in
22915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22916 *) ac_try_echo=$ac_try;;
22917 esac
22918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22919 (eval "$ac_compile") 2>conftest.er1
22920 ac_status=$?
22921 grep -v '^ *+' conftest.er1 >conftest.err
22922 rm -f conftest.er1
22923 cat conftest.err >&5
22924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22925 (exit $ac_status); } && {
22926 test -z "$ac_c_werror_flag" ||
22927 test ! -s conftest.err
22928 } && test -s conftest.$ac_objext; then
22929 ac_hi=$ac_mid
22930 else
22931 echo "$as_me: failed program was:" >&5
22932 sed 's/^/| /' conftest.$ac_ext >&5
22933
22934 ac_lo=`expr '(' $ac_mid ')' + 1`
22935 fi
22936
22937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22938 done
22939 case $ac_lo in
22940 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22941 '') if test "$ac_cv_type_long_long" = yes; then
22942 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22943 See \`config.log' for more details." >&5
22944 echo "$as_me: error: cannot compute sizeof (long long)
22945 See \`config.log' for more details." >&2;}
22946 { (exit 77); exit 77; }; }
22947 else
22948 ac_cv_sizeof_long_long=0
22949 fi ;;
22950 esac
22951 else
22952 cat >conftest.$ac_ext <<_ACEOF
22953 /* confdefs.h. */
22954 _ACEOF
22955 cat confdefs.h >>conftest.$ac_ext
22956 cat >>conftest.$ac_ext <<_ACEOF
22957 /* end confdefs.h. */
22958 $ac_includes_default
22959 typedef long long ac__type_sizeof_;
22960 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22961 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22962 #include <stdio.h>
22963 #include <stdlib.h>
22964 int
22965 main ()
22966 {
22967
22968 FILE *f = fopen ("conftest.val", "w");
22969 if (! f)
22970 return 1;
22971 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22972 {
22973 long int i = longval ();
22974 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22975 return 1;
22976 fprintf (f, "%ld\n", i);
22977 }
22978 else
22979 {
22980 unsigned long int i = ulongval ();
22981 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22982 return 1;
22983 fprintf (f, "%lu\n", i);
22984 }
22985 return ferror (f) || fclose (f) != 0;
22986
22987 ;
22988 return 0;
22989 }
22990 _ACEOF
22991 rm -f conftest$ac_exeext
22992 if { (ac_try="$ac_link"
22993 case "(($ac_try" in
22994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22995 *) ac_try_echo=$ac_try;;
22996 esac
22997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22998 (eval "$ac_link") 2>&5
22999 ac_status=$?
23000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23002 { (case "(($ac_try" in
23003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23004 *) ac_try_echo=$ac_try;;
23005 esac
23006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23007 (eval "$ac_try") 2>&5
23008 ac_status=$?
23009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23010 (exit $ac_status); }; }; then
23011 ac_cv_sizeof_long_long=`cat conftest.val`
23012 else
23013 echo "$as_me: program exited with status $ac_status" >&5
23014 echo "$as_me: failed program was:" >&5
23015 sed 's/^/| /' conftest.$ac_ext >&5
23016
23017 ( exit $ac_status )
23018 if test "$ac_cv_type_long_long" = yes; then
23019 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23020 See \`config.log' for more details." >&5
23021 echo "$as_me: error: cannot compute sizeof (long long)
23022 See \`config.log' for more details." >&2;}
23023 { (exit 77); exit 77; }; }
23024 else
23025 ac_cv_sizeof_long_long=0
23026 fi
23027 fi
23028 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23029 fi
23030 rm -f conftest.val
23031 fi
23032 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23033 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23034
23035
23036
23037 cat >>confdefs.h <<_ACEOF
23038 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23039 _ACEOF
23040
23041
23042 esac
23043
23044 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23045 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23046 if test "${ac_cv_type_wchar_t+set}" = set; then
23047 echo $ECHO_N "(cached) $ECHO_C" >&6
23048 else
23049 cat >conftest.$ac_ext <<_ACEOF
23050 /* confdefs.h. */
23051 _ACEOF
23052 cat confdefs.h >>conftest.$ac_ext
23053 cat >>conftest.$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23055
23056 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23057 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23058 # error "fake wchar_t"
23059 #endif
23060 #ifdef HAVE_WCHAR_H
23061 # ifdef __CYGWIN__
23062 # include <stddef.h>
23063 # endif
23064 # include <wchar.h>
23065 #endif
23066 #ifdef HAVE_STDLIB_H
23067 # include <stdlib.h>
23068 #endif
23069 #include <stdio.h>
23070
23071
23072
23073 typedef wchar_t ac__type_new_;
23074 int
23075 main ()
23076 {
23077 if ((ac__type_new_ *) 0)
23078 return 0;
23079 if (sizeof (ac__type_new_))
23080 return 0;
23081 ;
23082 return 0;
23083 }
23084 _ACEOF
23085 rm -f conftest.$ac_objext
23086 if { (ac_try="$ac_compile"
23087 case "(($ac_try" in
23088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23089 *) ac_try_echo=$ac_try;;
23090 esac
23091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23092 (eval "$ac_compile") 2>conftest.er1
23093 ac_status=$?
23094 grep -v '^ *+' conftest.er1 >conftest.err
23095 rm -f conftest.er1
23096 cat conftest.err >&5
23097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098 (exit $ac_status); } && {
23099 test -z "$ac_c_werror_flag" ||
23100 test ! -s conftest.err
23101 } && test -s conftest.$ac_objext; then
23102 ac_cv_type_wchar_t=yes
23103 else
23104 echo "$as_me: failed program was:" >&5
23105 sed 's/^/| /' conftest.$ac_ext >&5
23106
23107 ac_cv_type_wchar_t=no
23108 fi
23109
23110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23111 fi
23112 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23113 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23114
23115 # The cast to long int works around a bug in the HP C Compiler
23116 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23117 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23118 # This bug is HP SR number 8606223364.
23119 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23120 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23121 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23122 echo $ECHO_N "(cached) $ECHO_C" >&6
23123 else
23124 if test "$cross_compiling" = yes; then
23125 # Depending upon the size, compute the lo and hi bounds.
23126 cat >conftest.$ac_ext <<_ACEOF
23127 /* confdefs.h. */
23128 _ACEOF
23129 cat confdefs.h >>conftest.$ac_ext
23130 cat >>conftest.$ac_ext <<_ACEOF
23131 /* end confdefs.h. */
23132
23133 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23134 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23135 # error "fake wchar_t"
23136 #endif
23137 #ifdef HAVE_WCHAR_H
23138 # ifdef __CYGWIN__
23139 # include <stddef.h>
23140 # endif
23141 # include <wchar.h>
23142 #endif
23143 #ifdef HAVE_STDLIB_H
23144 # include <stdlib.h>
23145 #endif
23146 #include <stdio.h>
23147
23148
23149
23150 typedef wchar_t ac__type_sizeof_;
23151 int
23152 main ()
23153 {
23154 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23155 test_array [0] = 0
23156
23157 ;
23158 return 0;
23159 }
23160 _ACEOF
23161 rm -f conftest.$ac_objext
23162 if { (ac_try="$ac_compile"
23163 case "(($ac_try" in
23164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23165 *) ac_try_echo=$ac_try;;
23166 esac
23167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23168 (eval "$ac_compile") 2>conftest.er1
23169 ac_status=$?
23170 grep -v '^ *+' conftest.er1 >conftest.err
23171 rm -f conftest.er1
23172 cat conftest.err >&5
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); } && {
23175 test -z "$ac_c_werror_flag" ||
23176 test ! -s conftest.err
23177 } && test -s conftest.$ac_objext; then
23178 ac_lo=0 ac_mid=0
23179 while :; do
23180 cat >conftest.$ac_ext <<_ACEOF
23181 /* confdefs.h. */
23182 _ACEOF
23183 cat confdefs.h >>conftest.$ac_ext
23184 cat >>conftest.$ac_ext <<_ACEOF
23185 /* end confdefs.h. */
23186
23187 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23188 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23189 # error "fake wchar_t"
23190 #endif
23191 #ifdef HAVE_WCHAR_H
23192 # ifdef __CYGWIN__
23193 # include <stddef.h>
23194 # endif
23195 # include <wchar.h>
23196 #endif
23197 #ifdef HAVE_STDLIB_H
23198 # include <stdlib.h>
23199 #endif
23200 #include <stdio.h>
23201
23202
23203
23204 typedef wchar_t ac__type_sizeof_;
23205 int
23206 main ()
23207 {
23208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23209 test_array [0] = 0
23210
23211 ;
23212 return 0;
23213 }
23214 _ACEOF
23215 rm -f conftest.$ac_objext
23216 if { (ac_try="$ac_compile"
23217 case "(($ac_try" in
23218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23219 *) ac_try_echo=$ac_try;;
23220 esac
23221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23222 (eval "$ac_compile") 2>conftest.er1
23223 ac_status=$?
23224 grep -v '^ *+' conftest.er1 >conftest.err
23225 rm -f conftest.er1
23226 cat conftest.err >&5
23227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23228 (exit $ac_status); } && {
23229 test -z "$ac_c_werror_flag" ||
23230 test ! -s conftest.err
23231 } && test -s conftest.$ac_objext; then
23232 ac_hi=$ac_mid; break
23233 else
23234 echo "$as_me: failed program was:" >&5
23235 sed 's/^/| /' conftest.$ac_ext >&5
23236
23237 ac_lo=`expr $ac_mid + 1`
23238 if test $ac_lo -le $ac_mid; then
23239 ac_lo= ac_hi=
23240 break
23241 fi
23242 ac_mid=`expr 2 '*' $ac_mid + 1`
23243 fi
23244
23245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23246 done
23247 else
23248 echo "$as_me: failed program was:" >&5
23249 sed 's/^/| /' conftest.$ac_ext >&5
23250
23251 cat >conftest.$ac_ext <<_ACEOF
23252 /* confdefs.h. */
23253 _ACEOF
23254 cat confdefs.h >>conftest.$ac_ext
23255 cat >>conftest.$ac_ext <<_ACEOF
23256 /* end confdefs.h. */
23257
23258 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23259 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23260 # error "fake wchar_t"
23261 #endif
23262 #ifdef HAVE_WCHAR_H
23263 # ifdef __CYGWIN__
23264 # include <stddef.h>
23265 # endif
23266 # include <wchar.h>
23267 #endif
23268 #ifdef HAVE_STDLIB_H
23269 # include <stdlib.h>
23270 #endif
23271 #include <stdio.h>
23272
23273
23274
23275 typedef wchar_t ac__type_sizeof_;
23276 int
23277 main ()
23278 {
23279 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23280 test_array [0] = 0
23281
23282 ;
23283 return 0;
23284 }
23285 _ACEOF
23286 rm -f conftest.$ac_objext
23287 if { (ac_try="$ac_compile"
23288 case "(($ac_try" in
23289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23290 *) ac_try_echo=$ac_try;;
23291 esac
23292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23293 (eval "$ac_compile") 2>conftest.er1
23294 ac_status=$?
23295 grep -v '^ *+' conftest.er1 >conftest.err
23296 rm -f conftest.er1
23297 cat conftest.err >&5
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); } && {
23300 test -z "$ac_c_werror_flag" ||
23301 test ! -s conftest.err
23302 } && test -s conftest.$ac_objext; then
23303 ac_hi=-1 ac_mid=-1
23304 while :; do
23305 cat >conftest.$ac_ext <<_ACEOF
23306 /* confdefs.h. */
23307 _ACEOF
23308 cat confdefs.h >>conftest.$ac_ext
23309 cat >>conftest.$ac_ext <<_ACEOF
23310 /* end confdefs.h. */
23311
23312 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23313 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23314 # error "fake wchar_t"
23315 #endif
23316 #ifdef HAVE_WCHAR_H
23317 # ifdef __CYGWIN__
23318 # include <stddef.h>
23319 # endif
23320 # include <wchar.h>
23321 #endif
23322 #ifdef HAVE_STDLIB_H
23323 # include <stdlib.h>
23324 #endif
23325 #include <stdio.h>
23326
23327
23328
23329 typedef wchar_t ac__type_sizeof_;
23330 int
23331 main ()
23332 {
23333 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23334 test_array [0] = 0
23335
23336 ;
23337 return 0;
23338 }
23339 _ACEOF
23340 rm -f conftest.$ac_objext
23341 if { (ac_try="$ac_compile"
23342 case "(($ac_try" in
23343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23344 *) ac_try_echo=$ac_try;;
23345 esac
23346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23347 (eval "$ac_compile") 2>conftest.er1
23348 ac_status=$?
23349 grep -v '^ *+' conftest.er1 >conftest.err
23350 rm -f conftest.er1
23351 cat conftest.err >&5
23352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23353 (exit $ac_status); } && {
23354 test -z "$ac_c_werror_flag" ||
23355 test ! -s conftest.err
23356 } && test -s conftest.$ac_objext; then
23357 ac_lo=$ac_mid; break
23358 else
23359 echo "$as_me: failed program was:" >&5
23360 sed 's/^/| /' conftest.$ac_ext >&5
23361
23362 ac_hi=`expr '(' $ac_mid ')' - 1`
23363 if test $ac_mid -le $ac_hi; then
23364 ac_lo= ac_hi=
23365 break
23366 fi
23367 ac_mid=`expr 2 '*' $ac_mid`
23368 fi
23369
23370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23371 done
23372 else
23373 echo "$as_me: failed program was:" >&5
23374 sed 's/^/| /' conftest.$ac_ext >&5
23375
23376 ac_lo= ac_hi=
23377 fi
23378
23379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23380 fi
23381
23382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23383 # Binary search between lo and hi bounds.
23384 while test "x$ac_lo" != "x$ac_hi"; do
23385 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23386 cat >conftest.$ac_ext <<_ACEOF
23387 /* confdefs.h. */
23388 _ACEOF
23389 cat confdefs.h >>conftest.$ac_ext
23390 cat >>conftest.$ac_ext <<_ACEOF
23391 /* end confdefs.h. */
23392
23393 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23394 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23395 # error "fake wchar_t"
23396 #endif
23397 #ifdef HAVE_WCHAR_H
23398 # ifdef __CYGWIN__
23399 # include <stddef.h>
23400 # endif
23401 # include <wchar.h>
23402 #endif
23403 #ifdef HAVE_STDLIB_H
23404 # include <stdlib.h>
23405 #endif
23406 #include <stdio.h>
23407
23408
23409
23410 typedef wchar_t ac__type_sizeof_;
23411 int
23412 main ()
23413 {
23414 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23415 test_array [0] = 0
23416
23417 ;
23418 return 0;
23419 }
23420 _ACEOF
23421 rm -f conftest.$ac_objext
23422 if { (ac_try="$ac_compile"
23423 case "(($ac_try" in
23424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23425 *) ac_try_echo=$ac_try;;
23426 esac
23427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23428 (eval "$ac_compile") 2>conftest.er1
23429 ac_status=$?
23430 grep -v '^ *+' conftest.er1 >conftest.err
23431 rm -f conftest.er1
23432 cat conftest.err >&5
23433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23434 (exit $ac_status); } && {
23435 test -z "$ac_c_werror_flag" ||
23436 test ! -s conftest.err
23437 } && test -s conftest.$ac_objext; then
23438 ac_hi=$ac_mid
23439 else
23440 echo "$as_me: failed program was:" >&5
23441 sed 's/^/| /' conftest.$ac_ext >&5
23442
23443 ac_lo=`expr '(' $ac_mid ')' + 1`
23444 fi
23445
23446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23447 done
23448 case $ac_lo in
23449 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23450 '') if test "$ac_cv_type_wchar_t" = yes; then
23451 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23452 See \`config.log' for more details." >&5
23453 echo "$as_me: error: cannot compute sizeof (wchar_t)
23454 See \`config.log' for more details." >&2;}
23455 { (exit 77); exit 77; }; }
23456 else
23457 ac_cv_sizeof_wchar_t=0
23458 fi ;;
23459 esac
23460 else
23461 cat >conftest.$ac_ext <<_ACEOF
23462 /* confdefs.h. */
23463 _ACEOF
23464 cat confdefs.h >>conftest.$ac_ext
23465 cat >>conftest.$ac_ext <<_ACEOF
23466 /* end confdefs.h. */
23467
23468 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23469 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23470 # error "fake wchar_t"
23471 #endif
23472 #ifdef HAVE_WCHAR_H
23473 # ifdef __CYGWIN__
23474 # include <stddef.h>
23475 # endif
23476 # include <wchar.h>
23477 #endif
23478 #ifdef HAVE_STDLIB_H
23479 # include <stdlib.h>
23480 #endif
23481 #include <stdio.h>
23482
23483
23484
23485 typedef wchar_t ac__type_sizeof_;
23486 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23487 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23488 #include <stdio.h>
23489 #include <stdlib.h>
23490 int
23491 main ()
23492 {
23493
23494 FILE *f = fopen ("conftest.val", "w");
23495 if (! f)
23496 return 1;
23497 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23498 {
23499 long int i = longval ();
23500 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23501 return 1;
23502 fprintf (f, "%ld\n", i);
23503 }
23504 else
23505 {
23506 unsigned long int i = ulongval ();
23507 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23508 return 1;
23509 fprintf (f, "%lu\n", i);
23510 }
23511 return ferror (f) || fclose (f) != 0;
23512
23513 ;
23514 return 0;
23515 }
23516 _ACEOF
23517 rm -f conftest$ac_exeext
23518 if { (ac_try="$ac_link"
23519 case "(($ac_try" in
23520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23521 *) ac_try_echo=$ac_try;;
23522 esac
23523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23524 (eval "$ac_link") 2>&5
23525 ac_status=$?
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23528 { (case "(($ac_try" in
23529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23530 *) ac_try_echo=$ac_try;;
23531 esac
23532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23533 (eval "$ac_try") 2>&5
23534 ac_status=$?
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); }; }; then
23537 ac_cv_sizeof_wchar_t=`cat conftest.val`
23538 else
23539 echo "$as_me: program exited with status $ac_status" >&5
23540 echo "$as_me: failed program was:" >&5
23541 sed 's/^/| /' conftest.$ac_ext >&5
23542
23543 ( exit $ac_status )
23544 if test "$ac_cv_type_wchar_t" = yes; then
23545 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23546 See \`config.log' for more details." >&5
23547 echo "$as_me: error: cannot compute sizeof (wchar_t)
23548 See \`config.log' for more details." >&2;}
23549 { (exit 77); exit 77; }; }
23550 else
23551 ac_cv_sizeof_wchar_t=0
23552 fi
23553 fi
23554 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23555 fi
23556 rm -f conftest.val
23557 fi
23558 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23559 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23560
23561
23562
23563 cat >>confdefs.h <<_ACEOF
23564 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23565 _ACEOF
23566
23567
23568 if test "$ac_cv_sizeof_wchar_t" != 0; then
23569 wxUSE_WCHAR_T=yes
23570 else
23571 wxUSE_WCHAR_T=no
23572 fi
23573
23574 { echo "$as_me:$LINENO: checking for va_copy" >&5
23575 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23576 if test "${wx_cv_func_va_copy+set}" = set; then
23577 echo $ECHO_N "(cached) $ECHO_C" >&6
23578 else
23579
23580 ac_ext=cpp
23581 ac_cpp='$CXXCPP $CPPFLAGS'
23582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23585
23586 cat >conftest.$ac_ext <<_ACEOF
23587
23588 #include <stdarg.h>
23589 void foo(char *f, ...)
23590 {
23591 va_list ap1, ap2;
23592 va_start(ap1, f);
23593 va_copy(ap2, ap1);
23594 va_end(ap2);
23595 va_end(ap1);
23596 }
23597 int main()
23598 {
23599 foo("hi", 17);
23600 return 0;
23601 }
23602 _ACEOF
23603 rm -f conftest.$ac_objext conftest$ac_exeext
23604 if { (ac_try="$ac_link"
23605 case "(($ac_try" in
23606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23607 *) ac_try_echo=$ac_try;;
23608 esac
23609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23610 (eval "$ac_link") 2>conftest.er1
23611 ac_status=$?
23612 grep -v '^ *+' conftest.er1 >conftest.err
23613 rm -f conftest.er1
23614 cat conftest.err >&5
23615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23616 (exit $ac_status); } && {
23617 test -z "$ac_cxx_werror_flag" ||
23618 test ! -s conftest.err
23619 } && test -s conftest$ac_exeext &&
23620 $as_test_x conftest$ac_exeext; then
23621 wx_cv_func_va_copy=yes
23622 else
23623 echo "$as_me: failed program was:" >&5
23624 sed 's/^/| /' conftest.$ac_ext >&5
23625
23626 wx_cv_func_va_copy=no
23627
23628 fi
23629
23630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23631 conftest$ac_exeext conftest.$ac_ext
23632 ac_ext=c
23633 ac_cpp='$CPP $CPPFLAGS'
23634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23637
23638
23639
23640 fi
23641 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23642 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23643
23644 if test $wx_cv_func_va_copy = "yes"; then
23645 cat >>confdefs.h <<\_ACEOF
23646 #define HAVE_VA_COPY 1
23647 _ACEOF
23648
23649 else
23650 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23651 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23652 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23653 echo $ECHO_N "(cached) $ECHO_C" >&6
23654 else
23655
23656 if test "$cross_compiling" = yes; then
23657 wx_cv_type_va_list_lvalue=yes
23658
23659 else
23660 cat >conftest.$ac_ext <<_ACEOF
23661
23662 #include <stdarg.h>
23663 int foo(char *f, ...)
23664 {
23665 va_list ap1, ap2;
23666 va_start(ap1, f);
23667 ap2 = ap1;
23668 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23669 return 1;
23670 va_end(ap2);
23671 va_end(ap1);
23672 return 0;
23673 }
23674 int main()
23675 {
23676 return foo("hi", 17);
23677 }
23678 _ACEOF
23679 rm -f conftest$ac_exeext
23680 if { (ac_try="$ac_link"
23681 case "(($ac_try" in
23682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23683 *) ac_try_echo=$ac_try;;
23684 esac
23685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23686 (eval "$ac_link") 2>&5
23687 ac_status=$?
23688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23690 { (case "(($ac_try" in
23691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23692 *) ac_try_echo=$ac_try;;
23693 esac
23694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23695 (eval "$ac_try") 2>&5
23696 ac_status=$?
23697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23698 (exit $ac_status); }; }; then
23699 wx_cv_type_va_list_lvalue=yes
23700 else
23701 echo "$as_me: program exited with status $ac_status" >&5
23702 echo "$as_me: failed program was:" >&5
23703 sed 's/^/| /' conftest.$ac_ext >&5
23704
23705 ( exit $ac_status )
23706 wx_cv_type_va_list_lvalue=no
23707 fi
23708 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23709 fi
23710
23711
23712
23713
23714 fi
23715 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23716 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23717
23718 if test $wx_cv_type_va_list_lvalue != "yes"; then
23719 cat >>confdefs.h <<\_ACEOF
23720 #define VA_LIST_IS_ARRAY 1
23721 _ACEOF
23722
23723 fi
23724 fi
23725
23726 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23727
23728 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23729 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23730 if test "${wx_cv_have_variadic_macros+set}" = set; then
23731 echo $ECHO_N "(cached) $ECHO_C" >&6
23732 else
23733
23734 ac_ext=cpp
23735 ac_cpp='$CXXCPP $CPPFLAGS'
23736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23739
23740 cat >conftest.$ac_ext <<_ACEOF
23741 /* confdefs.h. */
23742 _ACEOF
23743 cat confdefs.h >>conftest.$ac_ext
23744 cat >>conftest.$ac_ext <<_ACEOF
23745 /* end confdefs.h. */
23746
23747 #include <stdio.h>
23748 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23749
23750 int
23751 main ()
23752 {
23753
23754 test("%s %d %p", "test", 1, 0);
23755
23756
23757 ;
23758 return 0;
23759 }
23760 _ACEOF
23761 rm -f conftest.$ac_objext
23762 if { (ac_try="$ac_compile"
23763 case "(($ac_try" in
23764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23765 *) ac_try_echo=$ac_try;;
23766 esac
23767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23768 (eval "$ac_compile") 2>conftest.er1
23769 ac_status=$?
23770 grep -v '^ *+' conftest.er1 >conftest.err
23771 rm -f conftest.er1
23772 cat conftest.err >&5
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); } && {
23775 test -z "$ac_cxx_werror_flag" ||
23776 test ! -s conftest.err
23777 } && test -s conftest.$ac_objext; then
23778 wx_cv_have_variadic_macros=yes
23779 else
23780 echo "$as_me: failed program was:" >&5
23781 sed 's/^/| /' conftest.$ac_ext >&5
23782
23783 wx_cv_have_variadic_macros=no
23784
23785 fi
23786
23787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23788 ac_ext=c
23789 ac_cpp='$CPP $CPPFLAGS'
23790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23793
23794
23795
23796 fi
23797 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23798 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23799
23800 if test $wx_cv_have_variadic_macros = "yes"; then
23801 cat >>confdefs.h <<\_ACEOF
23802 #define HAVE_VARIADIC_MACROS 1
23803 _ACEOF
23804
23805 fi
23806
23807 fi
23808
23809 LARGEFILE_CPPFLAGS=
23810 # Check whether --enable-largefile was given.
23811 if test "${enable_largefile+set}" = set; then
23812 enableval=$enable_largefile;
23813 fi
23814
23815 if test "$enable_largefile" != no; then
23816 wx_largefile=no
23817
23818 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23819 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23820 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23821 echo $ECHO_N "(cached) $ECHO_C" >&6
23822 else
23823
23824 cat >conftest.$ac_ext <<_ACEOF
23825 /* confdefs.h. */
23826 _ACEOF
23827 cat confdefs.h >>conftest.$ac_ext
23828 cat >>conftest.$ac_ext <<_ACEOF
23829 /* end confdefs.h. */
23830 #define _FILE_OFFSET_BITS 64
23831 #include <sys/types.h>
23832 int
23833 main ()
23834 {
23835 typedef struct {
23836 unsigned int field: sizeof(off_t) == 8;
23837 } wxlf;
23838
23839 ;
23840 return 0;
23841 }
23842 _ACEOF
23843 rm -f conftest.$ac_objext
23844 if { (ac_try="$ac_compile"
23845 case "(($ac_try" in
23846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23847 *) ac_try_echo=$ac_try;;
23848 esac
23849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23850 (eval "$ac_compile") 2>conftest.er1
23851 ac_status=$?
23852 grep -v '^ *+' conftest.er1 >conftest.err
23853 rm -f conftest.er1
23854 cat conftest.err >&5
23855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23856 (exit $ac_status); } && {
23857 test -z "$ac_c_werror_flag" ||
23858 test ! -s conftest.err
23859 } && test -s conftest.$ac_objext; then
23860 ac_cv_sys_file_offset_bits=64
23861 else
23862 echo "$as_me: failed program was:" >&5
23863 sed 's/^/| /' conftest.$ac_ext >&5
23864
23865 ac_cv_sys_file_offset_bits=no
23866 fi
23867
23868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23869
23870
23871 fi
23872 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23873 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23874
23875 if test "$ac_cv_sys_file_offset_bits" != no; then
23876 wx_largefile=yes
23877 cat >>confdefs.h <<_ACEOF
23878 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23879 _ACEOF
23880
23881 fi
23882
23883 if test "x$wx_largefile" != "xyes"; then
23884
23885 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23886 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23887 if test "${ac_cv_sys_large_files+set}" = set; then
23888 echo $ECHO_N "(cached) $ECHO_C" >&6
23889 else
23890
23891 cat >conftest.$ac_ext <<_ACEOF
23892 /* confdefs.h. */
23893 _ACEOF
23894 cat confdefs.h >>conftest.$ac_ext
23895 cat >>conftest.$ac_ext <<_ACEOF
23896 /* end confdefs.h. */
23897 #define _LARGE_FILES 1
23898 #include <sys/types.h>
23899 int
23900 main ()
23901 {
23902 typedef struct {
23903 unsigned int field: sizeof(off_t) == 8;
23904 } wxlf;
23905
23906 ;
23907 return 0;
23908 }
23909 _ACEOF
23910 rm -f conftest.$ac_objext
23911 if { (ac_try="$ac_compile"
23912 case "(($ac_try" in
23913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23914 *) ac_try_echo=$ac_try;;
23915 esac
23916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23917 (eval "$ac_compile") 2>conftest.er1
23918 ac_status=$?
23919 grep -v '^ *+' conftest.er1 >conftest.err
23920 rm -f conftest.er1
23921 cat conftest.err >&5
23922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923 (exit $ac_status); } && {
23924 test -z "$ac_c_werror_flag" ||
23925 test ! -s conftest.err
23926 } && test -s conftest.$ac_objext; then
23927 ac_cv_sys_large_files=1
23928 else
23929 echo "$as_me: failed program was:" >&5
23930 sed 's/^/| /' conftest.$ac_ext >&5
23931
23932 ac_cv_sys_large_files=no
23933 fi
23934
23935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23936
23937
23938 fi
23939 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23940 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23941
23942 if test "$ac_cv_sys_large_files" != no; then
23943 wx_largefile=yes
23944 cat >>confdefs.h <<_ACEOF
23945 #define _LARGE_FILES $ac_cv_sys_large_files
23946 _ACEOF
23947
23948 fi
23949
23950 fi
23951
23952 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23953 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23954 if test "x$wx_largefile" = "xyes"; then
23955 cat >>confdefs.h <<\_ACEOF
23956 #define HAVE_LARGEFILE_SUPPORT 1
23957 _ACEOF
23958
23959 fi
23960 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23961 echo "${ECHO_T}$wx_largefile" >&6; }
23962 fi
23963
23964 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23965 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23966 elif test "$ac_cv_sys_large_files" = 1; then
23967 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23968 fi
23969
23970 if test -n "$LARGEFILE_CPPFLAGS"; then
23971 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23972
23973 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23974 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23975 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23976 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23977 echo $ECHO_N "(cached) $ECHO_C" >&6
23978 else
23979
23980 ac_ext=cpp
23981 ac_cpp='$CXXCPP $CPPFLAGS'
23982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23985
23986 cat >conftest.$ac_ext <<_ACEOF
23987 /* confdefs.h. */
23988 _ACEOF
23989 cat confdefs.h >>conftest.$ac_ext
23990 cat >>conftest.$ac_ext <<_ACEOF
23991 /* end confdefs.h. */
23992
23993 int
23994 main ()
23995 {
23996
23997 #ifndef __STDC_EXT__
23998 choke me
23999 #endif
24000
24001 ;
24002 return 0;
24003 }
24004 _ACEOF
24005 rm -f conftest.$ac_objext
24006 if { (ac_try="$ac_compile"
24007 case "(($ac_try" in
24008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24009 *) ac_try_echo=$ac_try;;
24010 esac
24011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24012 (eval "$ac_compile") 2>conftest.er1
24013 ac_status=$?
24014 grep -v '^ *+' conftest.er1 >conftest.err
24015 rm -f conftest.er1
24016 cat conftest.err >&5
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); } && {
24019 test -z "$ac_cxx_werror_flag" ||
24020 test ! -s conftest.err
24021 } && test -s conftest.$ac_objext; then
24022 wx_cv_STDC_EXT_required=no
24023 else
24024 echo "$as_me: failed program was:" >&5
24025 sed 's/^/| /' conftest.$ac_ext >&5
24026
24027 wx_cv_STDC_EXT_required=yes
24028
24029 fi
24030
24031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24032 ac_ext=c
24033 ac_cpp='$CPP $CPPFLAGS'
24034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24037
24038
24039
24040 fi
24041 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24042 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24043 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24044 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24045 fi
24046 fi
24047 fi
24048
24049 ac_ext=cpp
24050 ac_cpp='$CXXCPP $CPPFLAGS'
24051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24054
24055 old_CPPFLAGS="$CPPFLAGS"
24056 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24057 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24058 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24059 if test "${ac_cv_sys_largefile_source+set}" = set; then
24060 echo $ECHO_N "(cached) $ECHO_C" >&6
24061 else
24062 while :; do
24063 cat >conftest.$ac_ext <<_ACEOF
24064 /* confdefs.h. */
24065 _ACEOF
24066 cat confdefs.h >>conftest.$ac_ext
24067 cat >>conftest.$ac_ext <<_ACEOF
24068 /* end confdefs.h. */
24069 #include <sys/types.h> /* for off_t */
24070 #include <stdio.h>
24071 int
24072 main ()
24073 {
24074 int (*fp) (FILE *, off_t, int) = fseeko;
24075 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24076 ;
24077 return 0;
24078 }
24079 _ACEOF
24080 rm -f conftest.$ac_objext conftest$ac_exeext
24081 if { (ac_try="$ac_link"
24082 case "(($ac_try" in
24083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24084 *) ac_try_echo=$ac_try;;
24085 esac
24086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24087 (eval "$ac_link") 2>conftest.er1
24088 ac_status=$?
24089 grep -v '^ *+' conftest.er1 >conftest.err
24090 rm -f conftest.er1
24091 cat conftest.err >&5
24092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24093 (exit $ac_status); } && {
24094 test -z "$ac_cxx_werror_flag" ||
24095 test ! -s conftest.err
24096 } && test -s conftest$ac_exeext &&
24097 $as_test_x conftest$ac_exeext; then
24098 ac_cv_sys_largefile_source=no; break
24099 else
24100 echo "$as_me: failed program was:" >&5
24101 sed 's/^/| /' conftest.$ac_ext >&5
24102
24103
24104 fi
24105
24106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24107 conftest$ac_exeext conftest.$ac_ext
24108 cat >conftest.$ac_ext <<_ACEOF
24109 /* confdefs.h. */
24110 _ACEOF
24111 cat confdefs.h >>conftest.$ac_ext
24112 cat >>conftest.$ac_ext <<_ACEOF
24113 /* end confdefs.h. */
24114 #define _LARGEFILE_SOURCE 1
24115 #include <sys/types.h> /* for off_t */
24116 #include <stdio.h>
24117 int
24118 main ()
24119 {
24120 int (*fp) (FILE *, off_t, int) = fseeko;
24121 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24122 ;
24123 return 0;
24124 }
24125 _ACEOF
24126 rm -f conftest.$ac_objext conftest$ac_exeext
24127 if { (ac_try="$ac_link"
24128 case "(($ac_try" in
24129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24130 *) ac_try_echo=$ac_try;;
24131 esac
24132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24133 (eval "$ac_link") 2>conftest.er1
24134 ac_status=$?
24135 grep -v '^ *+' conftest.er1 >conftest.err
24136 rm -f conftest.er1
24137 cat conftest.err >&5
24138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139 (exit $ac_status); } && {
24140 test -z "$ac_cxx_werror_flag" ||
24141 test ! -s conftest.err
24142 } && test -s conftest$ac_exeext &&
24143 $as_test_x conftest$ac_exeext; then
24144 ac_cv_sys_largefile_source=1; break
24145 else
24146 echo "$as_me: failed program was:" >&5
24147 sed 's/^/| /' conftest.$ac_ext >&5
24148
24149
24150 fi
24151
24152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24153 conftest$ac_exeext conftest.$ac_ext
24154 ac_cv_sys_largefile_source=unknown
24155 break
24156 done
24157 fi
24158 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24159 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24160 case $ac_cv_sys_largefile_source in #(
24161 no | unknown) ;;
24162 *)
24163 cat >>confdefs.h <<_ACEOF
24164 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24165 _ACEOF
24166 ;;
24167 esac
24168 rm -f conftest*
24169
24170 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24171 # in glibc 2.1.3, but that breaks too many other things.
24172 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24173 if test $ac_cv_sys_largefile_source != unknown; then
24174
24175 cat >>confdefs.h <<\_ACEOF
24176 #define HAVE_FSEEKO 1
24177 _ACEOF
24178
24179 fi
24180
24181 CPPFLAGS="$old_CPPFLAGS"
24182 ac_ext=c
24183 ac_cpp='$CPP $CPPFLAGS'
24184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24187
24188 if test "$ac_cv_sys_largefile_source" != no; then
24189 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24190 fi
24191
24192 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24193 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24194 if test "${ac_cv_c_bigendian+set}" = set; then
24195 echo $ECHO_N "(cached) $ECHO_C" >&6
24196 else
24197 ac_cv_c_bigendian=unknown
24198 # See if sys/param.h defines the BYTE_ORDER macro.
24199 cat >conftest.$ac_ext <<_ACEOF
24200 /* confdefs.h. */
24201 _ACEOF
24202 cat confdefs.h >>conftest.$ac_ext
24203 cat >>conftest.$ac_ext <<_ACEOF
24204 /* end confdefs.h. */
24205 #include <sys/types.h>
24206 #include <sys/param.h>
24207 int
24208 main ()
24209 {
24210
24211 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24212 bogus endian macros
24213 #endif
24214 ;
24215 return 0;
24216 }
24217 _ACEOF
24218 rm -f conftest.$ac_objext
24219 if { (ac_try="$ac_compile"
24220 case "(($ac_try" in
24221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24222 *) ac_try_echo=$ac_try;;
24223 esac
24224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24225 (eval "$ac_compile") 2>conftest.er1
24226 ac_status=$?
24227 grep -v '^ *+' conftest.er1 >conftest.err
24228 rm -f conftest.er1
24229 cat conftest.err >&5
24230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24231 (exit $ac_status); } && {
24232 test -z "$ac_c_werror_flag" ||
24233 test ! -s conftest.err
24234 } && test -s conftest.$ac_objext; then
24235 # It does; now see whether it defined to BIG_ENDIAN or not.
24236 cat >conftest.$ac_ext <<_ACEOF
24237 /* confdefs.h. */
24238 _ACEOF
24239 cat confdefs.h >>conftest.$ac_ext
24240 cat >>conftest.$ac_ext <<_ACEOF
24241 /* end confdefs.h. */
24242 #include <sys/types.h>
24243 #include <sys/param.h>
24244 int
24245 main ()
24246 {
24247
24248 #if BYTE_ORDER != BIG_ENDIAN
24249 not big endian
24250 #endif
24251 ;
24252 return 0;
24253 }
24254 _ACEOF
24255 rm -f conftest.$ac_objext
24256 if { (ac_try="$ac_compile"
24257 case "(($ac_try" in
24258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24259 *) ac_try_echo=$ac_try;;
24260 esac
24261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24262 (eval "$ac_compile") 2>conftest.er1
24263 ac_status=$?
24264 grep -v '^ *+' conftest.er1 >conftest.err
24265 rm -f conftest.er1
24266 cat conftest.err >&5
24267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24268 (exit $ac_status); } && {
24269 test -z "$ac_c_werror_flag" ||
24270 test ! -s conftest.err
24271 } && test -s conftest.$ac_objext; then
24272 ac_cv_c_bigendian=yes
24273 else
24274 echo "$as_me: failed program was:" >&5
24275 sed 's/^/| /' conftest.$ac_ext >&5
24276
24277 ac_cv_c_bigendian=no
24278 fi
24279
24280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24281 else
24282 echo "$as_me: failed program was:" >&5
24283 sed 's/^/| /' conftest.$ac_ext >&5
24284
24285
24286 fi
24287
24288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24289 if test $ac_cv_c_bigendian = unknown; then
24290 if test "$cross_compiling" = yes; then
24291 ac_cv_c_bigendian=unknown
24292 else
24293 cat >conftest.$ac_ext <<_ACEOF
24294 /* confdefs.h. */
24295 _ACEOF
24296 cat confdefs.h >>conftest.$ac_ext
24297 cat >>conftest.$ac_ext <<_ACEOF
24298 /* end confdefs.h. */
24299 main () {
24300 /* Are we little or big endian? From Harbison&Steele. */
24301 union
24302 {
24303 long l;
24304 char c[sizeof (long)];
24305 } u;
24306 u.l = 1;
24307 exit (u.c[sizeof (long) - 1] == 1);
24308 }
24309 _ACEOF
24310 rm -f conftest$ac_exeext
24311 if { (ac_try="$ac_link"
24312 case "(($ac_try" in
24313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24314 *) ac_try_echo=$ac_try;;
24315 esac
24316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24317 (eval "$ac_link") 2>&5
24318 ac_status=$?
24319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24320 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24321 { (case "(($ac_try" in
24322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24323 *) ac_try_echo=$ac_try;;
24324 esac
24325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24326 (eval "$ac_try") 2>&5
24327 ac_status=$?
24328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24329 (exit $ac_status); }; }; then
24330 ac_cv_c_bigendian=no
24331 else
24332 echo "$as_me: program exited with status $ac_status" >&5
24333 echo "$as_me: failed program was:" >&5
24334 sed 's/^/| /' conftest.$ac_ext >&5
24335
24336 ( exit $ac_status )
24337 ac_cv_c_bigendian=yes
24338 fi
24339 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24340 fi
24341
24342
24343 fi
24344 fi
24345 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24346 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24347 if test $ac_cv_c_bigendian = unknown; then
24348 { 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
24349 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;}
24350 fi
24351 if test $ac_cv_c_bigendian = yes; then
24352 cat >>confdefs.h <<\_ACEOF
24353 #define WORDS_BIGENDIAN 1
24354 _ACEOF
24355
24356 fi
24357
24358
24359
24360
24361 ac_ext=cpp
24362 ac_cpp='$CXXCPP $CPPFLAGS'
24363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24366
24367
24368
24369 for ac_header in iostream
24370 do
24371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24372 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24374 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24375 echo $ECHO_N "(cached) $ECHO_C" >&6
24376 else
24377 cat >conftest.$ac_ext <<_ACEOF
24378 /* confdefs.h. */
24379 _ACEOF
24380 cat confdefs.h >>conftest.$ac_ext
24381 cat >>conftest.$ac_ext <<_ACEOF
24382 /* end confdefs.h. */
24383
24384
24385 #include <$ac_header>
24386 _ACEOF
24387 rm -f conftest.$ac_objext
24388 if { (ac_try="$ac_compile"
24389 case "(($ac_try" in
24390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24391 *) ac_try_echo=$ac_try;;
24392 esac
24393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24394 (eval "$ac_compile") 2>conftest.er1
24395 ac_status=$?
24396 grep -v '^ *+' conftest.er1 >conftest.err
24397 rm -f conftest.er1
24398 cat conftest.err >&5
24399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24400 (exit $ac_status); } && {
24401 test -z "$ac_cxx_werror_flag" ||
24402 test ! -s conftest.err
24403 } && test -s conftest.$ac_objext; then
24404 eval "$as_ac_Header=yes"
24405 else
24406 echo "$as_me: failed program was:" >&5
24407 sed 's/^/| /' conftest.$ac_ext >&5
24408
24409 eval "$as_ac_Header=no"
24410 fi
24411
24412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24413 fi
24414 ac_res=`eval echo '${'$as_ac_Header'}'`
24415 { echo "$as_me:$LINENO: result: $ac_res" >&5
24416 echo "${ECHO_T}$ac_res" >&6; }
24417 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24418 cat >>confdefs.h <<_ACEOF
24419 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24420 _ACEOF
24421
24422 fi
24423
24424 done
24425
24426
24427 if test "$ac_cv_header_iostream" = "yes" ; then
24428 :
24429 else
24430 cat >>confdefs.h <<\_ACEOF
24431 #define wxUSE_IOSTREAMH 1
24432 _ACEOF
24433
24434 fi
24435
24436 ac_ext=c
24437 ac_cpp='$CPP $CPPFLAGS'
24438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24441
24442
24443
24444
24445 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24446 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24447 if test "${wx_cv_explicit+set}" = set; then
24448 echo $ECHO_N "(cached) $ECHO_C" >&6
24449 else
24450
24451
24452 ac_ext=cpp
24453 ac_cpp='$CXXCPP $CPPFLAGS'
24454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24457
24458
24459 cat >conftest.$ac_ext <<_ACEOF
24460 /* confdefs.h. */
24461 _ACEOF
24462 cat confdefs.h >>conftest.$ac_ext
24463 cat >>conftest.$ac_ext <<_ACEOF
24464 /* end confdefs.h. */
24465
24466 class Foo { public: explicit Foo(int) {} };
24467
24468 int
24469 main ()
24470 {
24471
24472 return 0;
24473
24474 ;
24475 return 0;
24476 }
24477 _ACEOF
24478 rm -f conftest.$ac_objext
24479 if { (ac_try="$ac_compile"
24480 case "(($ac_try" in
24481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24482 *) ac_try_echo=$ac_try;;
24483 esac
24484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24485 (eval "$ac_compile") 2>conftest.er1
24486 ac_status=$?
24487 grep -v '^ *+' conftest.er1 >conftest.err
24488 rm -f conftest.er1
24489 cat conftest.err >&5
24490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24491 (exit $ac_status); } && {
24492 test -z "$ac_cxx_werror_flag" ||
24493 test ! -s conftest.err
24494 } && test -s conftest.$ac_objext; then
24495
24496 cat >conftest.$ac_ext <<_ACEOF
24497 /* confdefs.h. */
24498 _ACEOF
24499 cat confdefs.h >>conftest.$ac_ext
24500 cat >>conftest.$ac_ext <<_ACEOF
24501 /* end confdefs.h. */
24502
24503 class Foo { public: explicit Foo(int) {} };
24504 static void TakeFoo(const Foo& foo) { }
24505
24506 int
24507 main ()
24508 {
24509
24510 TakeFoo(17);
24511 return 0;
24512
24513 ;
24514 return 0;
24515 }
24516 _ACEOF
24517 rm -f conftest.$ac_objext
24518 if { (ac_try="$ac_compile"
24519 case "(($ac_try" in
24520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24521 *) ac_try_echo=$ac_try;;
24522 esac
24523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24524 (eval "$ac_compile") 2>conftest.er1
24525 ac_status=$?
24526 grep -v '^ *+' conftest.er1 >conftest.err
24527 rm -f conftest.er1
24528 cat conftest.err >&5
24529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24530 (exit $ac_status); } && {
24531 test -z "$ac_cxx_werror_flag" ||
24532 test ! -s conftest.err
24533 } && test -s conftest.$ac_objext; then
24534 wx_cv_explicit=no
24535 else
24536 echo "$as_me: failed program was:" >&5
24537 sed 's/^/| /' conftest.$ac_ext >&5
24538
24539 wx_cv_explicit=yes
24540
24541 fi
24542
24543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24544
24545 else
24546 echo "$as_me: failed program was:" >&5
24547 sed 's/^/| /' conftest.$ac_ext >&5
24548
24549 wx_cv_explicit=no
24550
24551 fi
24552
24553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24554
24555 ac_ext=c
24556 ac_cpp='$CPP $CPPFLAGS'
24557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24560
24561
24562 fi
24563 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24564 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24565
24566 if test "$wx_cv_explicit" = "yes"; then
24567 cat >>confdefs.h <<\_ACEOF
24568 #define HAVE_EXPLICIT 1
24569 _ACEOF
24570
24571 fi
24572
24573
24574 if test "x$SUNCXX" = xyes; then
24575 CXXFLAGS="-features=tmplife $CXXFLAGS"
24576 fi
24577
24578 if test "x$SUNCC" = xyes; then
24579 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24580 fi
24581
24582 if test "x$SGICC" = "xyes"; then
24583 CFLAGS="-woff 3970 $CFLAGS"
24584 fi
24585 if test "x$SGICXX" = "xyes"; then
24586 CXXFLAGS="-woff 3970 $CXXFLAGS"
24587 fi
24588
24589 if test "x$HPCC" = "xyes"; then
24590 CFLAGS="+W 2011,2450 $CFLAGS"
24591 fi
24592 if test "x$HPCXX" = "xyes"; then
24593 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24594 fi
24595
24596 if test "x$COMPAQCXX" = "xyes"; then
24597 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24598 fi
24599
24600 ac_ext=cpp
24601 ac_cpp='$CXXCPP $CPPFLAGS'
24602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24605
24606
24607 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24608 if test "$wxUSE_UNICODE" = "yes"; then
24609 std_string="std::wstring"
24610 char_type="wchar_t"
24611 else
24612 std_string="std::string"
24613 char_type="char"
24614 fi
24615
24616 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24617 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24618 if test "${wx_cv_class_stdstring+set}" = set; then
24619 echo $ECHO_N "(cached) $ECHO_C" >&6
24620 else
24621
24622 cat >conftest.$ac_ext <<_ACEOF
24623 /* confdefs.h. */
24624 _ACEOF
24625 cat confdefs.h >>conftest.$ac_ext
24626 cat >>conftest.$ac_ext <<_ACEOF
24627 /* end confdefs.h. */
24628 #include <string>
24629 int
24630 main ()
24631 {
24632 $std_string foo;
24633 ;
24634 return 0;
24635 }
24636 _ACEOF
24637 rm -f conftest.$ac_objext
24638 if { (ac_try="$ac_compile"
24639 case "(($ac_try" in
24640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24641 *) ac_try_echo=$ac_try;;
24642 esac
24643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24644 (eval "$ac_compile") 2>conftest.er1
24645 ac_status=$?
24646 grep -v '^ *+' conftest.er1 >conftest.err
24647 rm -f conftest.er1
24648 cat conftest.err >&5
24649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24650 (exit $ac_status); } && {
24651 test -z "$ac_cxx_werror_flag" ||
24652 test ! -s conftest.err
24653 } && test -s conftest.$ac_objext; then
24654 wx_cv_class_stdstring=yes
24655 else
24656 echo "$as_me: failed program was:" >&5
24657 sed 's/^/| /' conftest.$ac_ext >&5
24658
24659 wx_cv_class_stdstring=no
24660
24661 fi
24662
24663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24664
24665
24666 fi
24667 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24668 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24669
24670 if test "$wx_cv_class_stdstring" = yes; then
24671 if test "$wxUSE_UNICODE" = "yes"; then
24672 cat >>confdefs.h <<\_ACEOF
24673 #define HAVE_STD_WSTRING 1
24674 _ACEOF
24675
24676 fi
24677 else
24678 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24679 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24680 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24681 echo $ECHO_N "(cached) $ECHO_C" >&6
24682 else
24683
24684 cat >conftest.$ac_ext <<_ACEOF
24685 /* confdefs.h. */
24686 _ACEOF
24687 cat confdefs.h >>conftest.$ac_ext
24688 cat >>conftest.$ac_ext <<_ACEOF
24689 /* end confdefs.h. */
24690
24691 #ifdef HAVE_WCHAR_H
24692 # ifdef __CYGWIN__
24693 # include <stddef.h>
24694 # endif
24695 # include <wchar.h>
24696 #endif
24697 #ifdef HAVE_STDLIB_H
24698 # include <stdlib.h>
24699 #endif
24700 #include <stdio.h>
24701 #include <string>
24702
24703 int
24704 main ()
24705 {
24706 std::basic_string<$char_type> foo;
24707 const $char_type* dummy = foo.c_str();
24708 ;
24709 return 0;
24710 }
24711 _ACEOF
24712 rm -f conftest.$ac_objext
24713 if { (ac_try="$ac_compile"
24714 case "(($ac_try" in
24715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24716 *) ac_try_echo=$ac_try;;
24717 esac
24718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24719 (eval "$ac_compile") 2>conftest.er1
24720 ac_status=$?
24721 grep -v '^ *+' conftest.er1 >conftest.err
24722 rm -f conftest.er1
24723 cat conftest.err >&5
24724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24725 (exit $ac_status); } && {
24726 test -z "$ac_cxx_werror_flag" ||
24727 test ! -s conftest.err
24728 } && test -s conftest.$ac_objext; then
24729 wx_cv_class_stdbasicstring=yes
24730 else
24731 echo "$as_me: failed program was:" >&5
24732 sed 's/^/| /' conftest.$ac_ext >&5
24733
24734 wx_cv_class_stdbasicstring=no
24735
24736 fi
24737
24738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24739
24740
24741 fi
24742 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24743 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24744
24745 if test "$wx_cv_class_stdbasicstring" != yes; then
24746 if test "$wxUSE_STL" = "yes"; then
24747 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24748 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24749 { (exit 1); exit 1; }; }
24750 elif test "$wxUSE_STD_STRING" = "yes"; then
24751 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24752 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24753 { (exit 1); exit 1; }; }
24754 else
24755 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24756 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24757 wxUSE_STD_STRING=no
24758 fi
24759 fi
24760 fi
24761 fi
24762
24763 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24764 { echo "$as_me:$LINENO: checking for std::istream" >&5
24765 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24766 if test "${ac_cv_type_std__istream+set}" = set; then
24767 echo $ECHO_N "(cached) $ECHO_C" >&6
24768 else
24769 cat >conftest.$ac_ext <<_ACEOF
24770 /* confdefs.h. */
24771 _ACEOF
24772 cat confdefs.h >>conftest.$ac_ext
24773 cat >>conftest.$ac_ext <<_ACEOF
24774 /* end confdefs.h. */
24775 #include <iostream>
24776
24777 typedef std::istream ac__type_new_;
24778 int
24779 main ()
24780 {
24781 if ((ac__type_new_ *) 0)
24782 return 0;
24783 if (sizeof (ac__type_new_))
24784 return 0;
24785 ;
24786 return 0;
24787 }
24788 _ACEOF
24789 rm -f conftest.$ac_objext
24790 if { (ac_try="$ac_compile"
24791 case "(($ac_try" in
24792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24793 *) ac_try_echo=$ac_try;;
24794 esac
24795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24796 (eval "$ac_compile") 2>conftest.er1
24797 ac_status=$?
24798 grep -v '^ *+' conftest.er1 >conftest.err
24799 rm -f conftest.er1
24800 cat conftest.err >&5
24801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24802 (exit $ac_status); } && {
24803 test -z "$ac_cxx_werror_flag" ||
24804 test ! -s conftest.err
24805 } && test -s conftest.$ac_objext; then
24806 ac_cv_type_std__istream=yes
24807 else
24808 echo "$as_me: failed program was:" >&5
24809 sed 's/^/| /' conftest.$ac_ext >&5
24810
24811 ac_cv_type_std__istream=no
24812 fi
24813
24814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24815 fi
24816 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24817 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24818 if test $ac_cv_type_std__istream = yes; then
24819
24820 cat >>confdefs.h <<_ACEOF
24821 #define HAVE_STD__ISTREAM 1
24822 _ACEOF
24823
24824
24825 else
24826 wxUSE_STD_IOSTREAM=no
24827 fi
24828 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24829 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24830 if test "${ac_cv_type_std__ostream+set}" = set; then
24831 echo $ECHO_N "(cached) $ECHO_C" >&6
24832 else
24833 cat >conftest.$ac_ext <<_ACEOF
24834 /* confdefs.h. */
24835 _ACEOF
24836 cat confdefs.h >>conftest.$ac_ext
24837 cat >>conftest.$ac_ext <<_ACEOF
24838 /* end confdefs.h. */
24839 #include <iostream>
24840
24841 typedef std::ostream ac__type_new_;
24842 int
24843 main ()
24844 {
24845 if ((ac__type_new_ *) 0)
24846 return 0;
24847 if (sizeof (ac__type_new_))
24848 return 0;
24849 ;
24850 return 0;
24851 }
24852 _ACEOF
24853 rm -f conftest.$ac_objext
24854 if { (ac_try="$ac_compile"
24855 case "(($ac_try" in
24856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24857 *) ac_try_echo=$ac_try;;
24858 esac
24859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24860 (eval "$ac_compile") 2>conftest.er1
24861 ac_status=$?
24862 grep -v '^ *+' conftest.er1 >conftest.err
24863 rm -f conftest.er1
24864 cat conftest.err >&5
24865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24866 (exit $ac_status); } && {
24867 test -z "$ac_cxx_werror_flag" ||
24868 test ! -s conftest.err
24869 } && test -s conftest.$ac_objext; then
24870 ac_cv_type_std__ostream=yes
24871 else
24872 echo "$as_me: failed program was:" >&5
24873 sed 's/^/| /' conftest.$ac_ext >&5
24874
24875 ac_cv_type_std__ostream=no
24876 fi
24877
24878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24879 fi
24880 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24881 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24882 if test $ac_cv_type_std__ostream = yes; then
24883
24884 cat >>confdefs.h <<_ACEOF
24885 #define HAVE_STD__OSTREAM 1
24886 _ACEOF
24887
24888
24889 else
24890 wxUSE_STD_IOSTREAM=no
24891 fi
24892
24893
24894 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24895 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24896 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24897 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24898 { (exit 1); exit 1; }; }
24899 else
24900 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24901 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24902 fi
24903 fi
24904 fi
24905
24906 if test "$wxUSE_STL" = "yes"; then
24907 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24908 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24909 if test "${wx_cv_lib_stl+set}" = set; then
24910 echo $ECHO_N "(cached) $ECHO_C" >&6
24911 else
24912 cat >conftest.$ac_ext <<_ACEOF
24913 /* confdefs.h. */
24914 _ACEOF
24915 cat confdefs.h >>conftest.$ac_ext
24916 cat >>conftest.$ac_ext <<_ACEOF
24917 /* end confdefs.h. */
24918 #include <string>
24919 #include <functional>
24920 #include <algorithm>
24921 #include <vector>
24922 #include <list>
24923 int
24924 main ()
24925 {
24926 std::vector<int> moo;
24927 std::list<int> foo;
24928 std::vector<int>::iterator it =
24929 std::find_if(moo.begin(), moo.end(),
24930 std::bind2nd(std::less<int>(), 3));
24931 ;
24932 return 0;
24933 }
24934 _ACEOF
24935 rm -f conftest.$ac_objext
24936 if { (ac_try="$ac_compile"
24937 case "(($ac_try" in
24938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24939 *) ac_try_echo=$ac_try;;
24940 esac
24941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24942 (eval "$ac_compile") 2>conftest.er1
24943 ac_status=$?
24944 grep -v '^ *+' conftest.er1 >conftest.err
24945 rm -f conftest.er1
24946 cat conftest.err >&5
24947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24948 (exit $ac_status); } && {
24949 test -z "$ac_cxx_werror_flag" ||
24950 test ! -s conftest.err
24951 } && test -s conftest.$ac_objext; then
24952 wx_cv_lib_stl=yes
24953 else
24954 echo "$as_me: failed program was:" >&5
24955 sed 's/^/| /' conftest.$ac_ext >&5
24956
24957 wx_cv_lib_stl=no
24958
24959 fi
24960
24961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24962
24963 fi
24964 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24965 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24966
24967 if test "$wx_cv_lib_stl" != yes; then
24968 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24969 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24970 { (exit 1); exit 1; }; }
24971 fi
24972
24973 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24974 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24975 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24976 echo $ECHO_N "(cached) $ECHO_C" >&6
24977 else
24978 cat >conftest.$ac_ext <<_ACEOF
24979 /* confdefs.h. */
24980 _ACEOF
24981 cat confdefs.h >>conftest.$ac_ext
24982 cat >>conftest.$ac_ext <<_ACEOF
24983 /* end confdefs.h. */
24984 #include <string>
24985 int
24986 main ()
24987 {
24988 std::string foo, bar;
24989 foo.compare(bar);
24990 foo.compare(1, 1, bar);
24991 foo.compare(1, 1, bar, 1, 1);
24992 foo.compare("");
24993 foo.compare(1, 1, "");
24994 foo.compare(1, 1, "", 2);
24995 ;
24996 return 0;
24997 }
24998 _ACEOF
24999 rm -f conftest.$ac_objext
25000 if { (ac_try="$ac_compile"
25001 case "(($ac_try" in
25002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25003 *) ac_try_echo=$ac_try;;
25004 esac
25005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25006 (eval "$ac_compile") 2>conftest.er1
25007 ac_status=$?
25008 grep -v '^ *+' conftest.er1 >conftest.err
25009 rm -f conftest.er1
25010 cat conftest.err >&5
25011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25012 (exit $ac_status); } && {
25013 test -z "$ac_cxx_werror_flag" ||
25014 test ! -s conftest.err
25015 } && test -s conftest.$ac_objext; then
25016 wx_cv_func_stdstring_compare=yes
25017 else
25018 echo "$as_me: failed program was:" >&5
25019 sed 's/^/| /' conftest.$ac_ext >&5
25020
25021 wx_cv_func_stdstring_compare=no
25022
25023 fi
25024
25025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25026
25027 fi
25028 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25029 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25030
25031 if test "$wx_cv_func_stdstring_compare" = yes; then
25032 cat >>confdefs.h <<\_ACEOF
25033 #define HAVE_STD_STRING_COMPARE 1
25034 _ACEOF
25035
25036 fi
25037
25038 if test "$wx_cv_class_gnuhashmapset" = yes; then
25039 cat >>confdefs.h <<\_ACEOF
25040 #define HAVE_EXT_HASH_MAP 1
25041 _ACEOF
25042
25043 cat >>confdefs.h <<\_ACEOF
25044 #define HAVE_GNU_CXX_HASH_MAP 1
25045 _ACEOF
25046
25047 fi
25048
25049 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25050 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25051 if test "${ac_cv_header_unordered_map+set}" = set; then
25052 echo $ECHO_N "(cached) $ECHO_C" >&6
25053 else
25054 cat >conftest.$ac_ext <<_ACEOF
25055 /* confdefs.h. */
25056 _ACEOF
25057 cat confdefs.h >>conftest.$ac_ext
25058 cat >>conftest.$ac_ext <<_ACEOF
25059 /* end confdefs.h. */
25060
25061
25062
25063 #include <unordered_map>
25064 _ACEOF
25065 rm -f conftest.$ac_objext
25066 if { (ac_try="$ac_compile"
25067 case "(($ac_try" in
25068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25069 *) ac_try_echo=$ac_try;;
25070 esac
25071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25072 (eval "$ac_compile") 2>conftest.er1
25073 ac_status=$?
25074 grep -v '^ *+' conftest.er1 >conftest.err
25075 rm -f conftest.er1
25076 cat conftest.err >&5
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); } && {
25079 test -z "$ac_cxx_werror_flag" ||
25080 test ! -s conftest.err
25081 } && test -s conftest.$ac_objext; then
25082 ac_cv_header_unordered_map=yes
25083 else
25084 echo "$as_me: failed program was:" >&5
25085 sed 's/^/| /' conftest.$ac_ext >&5
25086
25087 ac_cv_header_unordered_map=no
25088 fi
25089
25090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25091 fi
25092 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25093 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25094 if test $ac_cv_header_unordered_map = yes; then
25095 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25096 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25097 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25098 echo $ECHO_N "(cached) $ECHO_C" >&6
25099 else
25100 cat >conftest.$ac_ext <<_ACEOF
25101 /* confdefs.h. */
25102 _ACEOF
25103 cat confdefs.h >>conftest.$ac_ext
25104 cat >>conftest.$ac_ext <<_ACEOF
25105 /* end confdefs.h. */
25106 #include <unordered_map>
25107 #include <unordered_set>
25108 int
25109 main ()
25110 {
25111 std::unordered_map<double*, char*> test1;
25112 std::unordered_set<char*> test2;
25113 ;
25114 return 0;
25115 }
25116 _ACEOF
25117 rm -f conftest.$ac_objext
25118 if { (ac_try="$ac_compile"
25119 case "(($ac_try" in
25120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25121 *) ac_try_echo=$ac_try;;
25122 esac
25123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25124 (eval "$ac_compile") 2>conftest.er1
25125 ac_status=$?
25126 grep -v '^ *+' conftest.er1 >conftest.err
25127 rm -f conftest.er1
25128 cat conftest.err >&5
25129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25130 (exit $ac_status); } && {
25131 test -z "$ac_cxx_werror_flag" ||
25132 test ! -s conftest.err
25133 } && test -s conftest.$ac_objext; then
25134 wx_cv_class_stdunorderedmapset=yes
25135 else
25136 echo "$as_me: failed program was:" >&5
25137 sed 's/^/| /' conftest.$ac_ext >&5
25138
25139 wx_cv_class_stdunorderedmapset=no
25140 fi
25141
25142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25143
25144
25145 fi
25146 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25147 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25148 fi
25149
25150
25151
25152 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25153 cat >>confdefs.h <<\_ACEOF
25154 #define HAVE_STD_UNORDERED_MAP 1
25155 _ACEOF
25156
25157 cat >>confdefs.h <<\_ACEOF
25158 #define HAVE_STD_UNORDERED_SET 1
25159 _ACEOF
25160
25161 else
25162 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25163 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25164 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25165 echo $ECHO_N "(cached) $ECHO_C" >&6
25166 else
25167 cat >conftest.$ac_ext <<_ACEOF
25168 /* confdefs.h. */
25169 _ACEOF
25170 cat confdefs.h >>conftest.$ac_ext
25171 cat >>conftest.$ac_ext <<_ACEOF
25172 /* end confdefs.h. */
25173
25174
25175
25176 #include <tr1/unordered_map>
25177 _ACEOF
25178 rm -f conftest.$ac_objext
25179 if { (ac_try="$ac_compile"
25180 case "(($ac_try" in
25181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25182 *) ac_try_echo=$ac_try;;
25183 esac
25184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25185 (eval "$ac_compile") 2>conftest.er1
25186 ac_status=$?
25187 grep -v '^ *+' conftest.er1 >conftest.err
25188 rm -f conftest.er1
25189 cat conftest.err >&5
25190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191 (exit $ac_status); } && {
25192 test -z "$ac_cxx_werror_flag" ||
25193 test ! -s conftest.err
25194 } && test -s conftest.$ac_objext; then
25195 ac_cv_header_tr1_unordered_map=yes
25196 else
25197 echo "$as_me: failed program was:" >&5
25198 sed 's/^/| /' conftest.$ac_ext >&5
25199
25200 ac_cv_header_tr1_unordered_map=no
25201 fi
25202
25203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25204 fi
25205 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25206 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25207 if test $ac_cv_header_tr1_unordered_map = yes; then
25208 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25209 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25210 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25211 echo $ECHO_N "(cached) $ECHO_C" >&6
25212 else
25213 cat >conftest.$ac_ext <<_ACEOF
25214 /* confdefs.h. */
25215 _ACEOF
25216 cat confdefs.h >>conftest.$ac_ext
25217 cat >>conftest.$ac_ext <<_ACEOF
25218 /* end confdefs.h. */
25219 #include <tr1/unordered_map>
25220 #include <tr1/unordered_set>
25221 int
25222 main ()
25223 {
25224 std::tr1::unordered_map<double*, char*> test1;
25225 std::tr1::unordered_set<char*> test2;
25226 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25227 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25228 #endif
25229 ;
25230 return 0;
25231 }
25232 _ACEOF
25233 rm -f conftest.$ac_objext
25234 if { (ac_try="$ac_compile"
25235 case "(($ac_try" in
25236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25237 *) ac_try_echo=$ac_try;;
25238 esac
25239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25240 (eval "$ac_compile") 2>conftest.er1
25241 ac_status=$?
25242 grep -v '^ *+' conftest.er1 >conftest.err
25243 rm -f conftest.er1
25244 cat conftest.err >&5
25245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25246 (exit $ac_status); } && {
25247 test -z "$ac_cxx_werror_flag" ||
25248 test ! -s conftest.err
25249 } && test -s conftest.$ac_objext; then
25250 wx_cv_class_tr1unorderedmapset=yes
25251 else
25252 echo "$as_me: failed program was:" >&5
25253 sed 's/^/| /' conftest.$ac_ext >&5
25254
25255 wx_cv_class_tr1unorderedmapset=no
25256 fi
25257
25258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25259
25260
25261 fi
25262 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25263 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25264 fi
25265
25266
25267
25268 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25269 cat >>confdefs.h <<\_ACEOF
25270 #define HAVE_TR1_UNORDERED_MAP 1
25271 _ACEOF
25272
25273 cat >>confdefs.h <<\_ACEOF
25274 #define HAVE_TR1_UNORDERED_SET 1
25275 _ACEOF
25276
25277 else
25278 { echo "$as_me:$LINENO: checking for hash_map" >&5
25279 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25280 if test "${ac_cv_header_hash_map+set}" = set; then
25281 echo $ECHO_N "(cached) $ECHO_C" >&6
25282 else
25283 cat >conftest.$ac_ext <<_ACEOF
25284 /* confdefs.h. */
25285 _ACEOF
25286 cat confdefs.h >>conftest.$ac_ext
25287 cat >>conftest.$ac_ext <<_ACEOF
25288 /* end confdefs.h. */
25289
25290
25291
25292 #include <hash_map>
25293 _ACEOF
25294 rm -f conftest.$ac_objext
25295 if { (ac_try="$ac_compile"
25296 case "(($ac_try" in
25297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25298 *) ac_try_echo=$ac_try;;
25299 esac
25300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25301 (eval "$ac_compile") 2>conftest.er1
25302 ac_status=$?
25303 grep -v '^ *+' conftest.er1 >conftest.err
25304 rm -f conftest.er1
25305 cat conftest.err >&5
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); } && {
25308 test -z "$ac_cxx_werror_flag" ||
25309 test ! -s conftest.err
25310 } && test -s conftest.$ac_objext; then
25311 ac_cv_header_hash_map=yes
25312 else
25313 echo "$as_me: failed program was:" >&5
25314 sed 's/^/| /' conftest.$ac_ext >&5
25315
25316 ac_cv_header_hash_map=no
25317 fi
25318
25319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25320 fi
25321 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25322 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25323 if test $ac_cv_header_hash_map = yes; then
25324 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25325 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25326 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25327 echo $ECHO_N "(cached) $ECHO_C" >&6
25328 else
25329 cat >conftest.$ac_ext <<_ACEOF
25330 /* confdefs.h. */
25331 _ACEOF
25332 cat confdefs.h >>conftest.$ac_ext
25333 cat >>conftest.$ac_ext <<_ACEOF
25334 /* end confdefs.h. */
25335 #include <hash_map>
25336 #include <hash_set>
25337 int
25338 main ()
25339 {
25340 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25341 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25342 ;
25343 return 0;
25344 }
25345 _ACEOF
25346 rm -f conftest.$ac_objext
25347 if { (ac_try="$ac_compile"
25348 case "(($ac_try" in
25349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25350 *) ac_try_echo=$ac_try;;
25351 esac
25352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25353 (eval "$ac_compile") 2>conftest.er1
25354 ac_status=$?
25355 grep -v '^ *+' conftest.er1 >conftest.err
25356 rm -f conftest.er1
25357 cat conftest.err >&5
25358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25359 (exit $ac_status); } && {
25360 test -z "$ac_cxx_werror_flag" ||
25361 test ! -s conftest.err
25362 } && test -s conftest.$ac_objext; then
25363 wx_cv_class_stdhashmapset=yes
25364 else
25365 echo "$as_me: failed program was:" >&5
25366 sed 's/^/| /' conftest.$ac_ext >&5
25367
25368 wx_cv_class_stdhashmapset=no
25369 fi
25370
25371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25372
25373
25374 fi
25375 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25376 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25377 fi
25378
25379
25380
25381 if test "$wx_cv_class_stdhashmapset" = yes; then
25382 cat >>confdefs.h <<\_ACEOF
25383 #define HAVE_HASH_MAP 1
25384 _ACEOF
25385
25386 cat >>confdefs.h <<\_ACEOF
25387 #define HAVE_STD_HASH_MAP 1
25388 _ACEOF
25389
25390 fi
25391
25392 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25393 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25394 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25395 echo $ECHO_N "(cached) $ECHO_C" >&6
25396 else
25397 cat >conftest.$ac_ext <<_ACEOF
25398 /* confdefs.h. */
25399 _ACEOF
25400 cat confdefs.h >>conftest.$ac_ext
25401 cat >>conftest.$ac_ext <<_ACEOF
25402 /* end confdefs.h. */
25403
25404
25405
25406 #include <ext/hash_map>
25407 _ACEOF
25408 rm -f conftest.$ac_objext
25409 if { (ac_try="$ac_compile"
25410 case "(($ac_try" in
25411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25412 *) ac_try_echo=$ac_try;;
25413 esac
25414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25415 (eval "$ac_compile") 2>conftest.er1
25416 ac_status=$?
25417 grep -v '^ *+' conftest.er1 >conftest.err
25418 rm -f conftest.er1
25419 cat conftest.err >&5
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); } && {
25422 test -z "$ac_cxx_werror_flag" ||
25423 test ! -s conftest.err
25424 } && test -s conftest.$ac_objext; then
25425 ac_cv_header_ext_hash_map=yes
25426 else
25427 echo "$as_me: failed program was:" >&5
25428 sed 's/^/| /' conftest.$ac_ext >&5
25429
25430 ac_cv_header_ext_hash_map=no
25431 fi
25432
25433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25434 fi
25435 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25436 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25437 if test $ac_cv_header_ext_hash_map = yes; then
25438 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25439 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25440 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25441 echo $ECHO_N "(cached) $ECHO_C" >&6
25442 else
25443 cat >conftest.$ac_ext <<_ACEOF
25444 /* confdefs.h. */
25445 _ACEOF
25446 cat confdefs.h >>conftest.$ac_ext
25447 cat >>conftest.$ac_ext <<_ACEOF
25448 /* end confdefs.h. */
25449 #include <ext/hash_map>
25450 #include <ext/hash_set>
25451 int
25452 main ()
25453 {
25454 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25455 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25456 ;
25457 return 0;
25458 }
25459 _ACEOF
25460 rm -f conftest.$ac_objext
25461 if { (ac_try="$ac_compile"
25462 case "(($ac_try" in
25463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25464 *) ac_try_echo=$ac_try;;
25465 esac
25466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25467 (eval "$ac_compile") 2>conftest.er1
25468 ac_status=$?
25469 grep -v '^ *+' conftest.er1 >conftest.err
25470 rm -f conftest.er1
25471 cat conftest.err >&5
25472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25473 (exit $ac_status); } && {
25474 test -z "$ac_cxx_werror_flag" ||
25475 test ! -s conftest.err
25476 } && test -s conftest.$ac_objext; then
25477 wx_cv_class_gnuhashmapset=yes
25478 else
25479 echo "$as_me: failed program was:" >&5
25480 sed 's/^/| /' conftest.$ac_ext >&5
25481
25482 wx_cv_class_gnuhashmapset=no
25483 fi
25484
25485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25486
25487
25488 fi
25489 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25490 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25491 fi
25492
25493
25494
25495 fi
25496 fi
25497 fi
25498
25499
25500
25501 if test -n "$GCC"; then
25502 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25503 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25504 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25505 echo $ECHO_N "(cached) $ECHO_C" >&6
25506 else
25507
25508 cat >conftest.$ac_ext <<_ACEOF
25509 /* confdefs.h. */
25510 _ACEOF
25511 cat confdefs.h >>conftest.$ac_ext
25512 cat >>conftest.$ac_ext <<_ACEOF
25513 /* end confdefs.h. */
25514
25515 int
25516 main ()
25517 {
25518
25519 unsigned int value=0;
25520 /* wxAtomicInc doesn't use return value here */
25521 __sync_fetch_and_add(&value, 2);
25522 __sync_sub_and_fetch(&value, 1);
25523 /* but wxAtomicDec does, so mimic that: */
25524 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25525
25526 ;
25527 return 0;
25528 }
25529 _ACEOF
25530 rm -f conftest.$ac_objext conftest$ac_exeext
25531 if { (ac_try="$ac_link"
25532 case "(($ac_try" in
25533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25534 *) ac_try_echo=$ac_try;;
25535 esac
25536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25537 (eval "$ac_link") 2>conftest.er1
25538 ac_status=$?
25539 grep -v '^ *+' conftest.er1 >conftest.err
25540 rm -f conftest.er1
25541 cat conftest.err >&5
25542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25543 (exit $ac_status); } && {
25544 test -z "$ac_cxx_werror_flag" ||
25545 test ! -s conftest.err
25546 } && test -s conftest$ac_exeext &&
25547 $as_test_x conftest$ac_exeext; then
25548 wx_cv_cc_gcc_atomic_builtins=yes
25549 else
25550 echo "$as_me: failed program was:" >&5
25551 sed 's/^/| /' conftest.$ac_ext >&5
25552
25553 wx_cv_cc_gcc_atomic_builtins=no
25554 fi
25555
25556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25557 conftest$ac_exeext conftest.$ac_ext
25558
25559 fi
25560
25561 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25562 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25563 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25564 cat >>confdefs.h <<\_ACEOF
25565 #define HAVE_GCC_ATOMIC_BUILTINS 1
25566 _ACEOF
25567
25568 fi
25569 fi
25570
25571
25572 ac_ext=c
25573 ac_cpp='$CPP $CPPFLAGS'
25574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25577
25578
25579
25580 SEARCH_INCLUDE="\
25581 /usr/local/include \
25582 /usr/local/X11/include \
25583 /usr/local/include/X11 \
25584 /usr/local/X11R7/include \
25585 /usr/local/X11R6/include \
25586 /usr/local/include/X11R7 \
25587 /usr/local/include/X11R6 \
25588 \
25589 /usr/Motif-2.1/include \
25590 /usr/Motif-1.2/include \
25591 /usr/include/Motif1.2 \
25592 \
25593 /usr/dt/include \
25594 /usr/openwin/include \
25595 \
25596 /usr/include/Xm \
25597 \
25598 /usr/X11R7/include \
25599 /usr/X11R6/include \
25600 /usr/X11R6.4/include \
25601 \
25602 /usr/include/X11R7 \
25603 /usr/include/X11R6 \
25604 \
25605 /usr/X11/include \
25606 /usr/include/X11 \
25607 \
25608 /usr/XFree86/include/X11 \
25609 /usr/pkg/include \
25610 \
25611 /usr/local/X1R5/include \
25612 /usr/local/include/X11R5 \
25613 /usr/X11R5/include \
25614 /usr/include/X11R5 \
25615 \
25616 /usr/local/X11R4/include \
25617 /usr/local/include/X11R4 \
25618 /usr/X11R4/include \
25619 /usr/include/X11R4 \
25620 \
25621 /usr/openwin/share/include"
25622
25623 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25624 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25625
25626 case "${host}" in
25627 *-*-irix6* )
25628 if test "${wx_cv_std_libpath+set}" = set; then
25629 echo $ECHO_N "(cached) $ECHO_C" >&6
25630 else
25631
25632 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25633 for e in a so sl dylib dll.a; do
25634 libc="$d/libc.$e"
25635 if test -f $libc; then
25636 save_LIBS="$LIBS"
25637 LIBS="$libc"
25638 cat >conftest.$ac_ext <<_ACEOF
25639 int main() { return 0; }
25640 _ACEOF
25641 rm -f conftest.$ac_objext conftest$ac_exeext
25642 if { (ac_try="$ac_link"
25643 case "(($ac_try" in
25644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25645 *) ac_try_echo=$ac_try;;
25646 esac
25647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25648 (eval "$ac_link") 2>conftest.er1
25649 ac_status=$?
25650 grep -v '^ *+' conftest.er1 >conftest.err
25651 rm -f conftest.er1
25652 cat conftest.err >&5
25653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25654 (exit $ac_status); } && {
25655 test -z "$ac_c_werror_flag" ||
25656 test ! -s conftest.err
25657 } && test -s conftest$ac_exeext &&
25658 $as_test_x conftest$ac_exeext; then
25659 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25660 else
25661 echo "$as_me: failed program was:" >&5
25662 sed 's/^/| /' conftest.$ac_ext >&5
25663
25664
25665 fi
25666
25667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25668 conftest$ac_exeext conftest.$ac_ext
25669 LIBS="$save_LIBS"
25670 if test "x$wx_cv_std_libpath" != "x"; then
25671 break 2
25672 fi
25673 fi
25674 done
25675 done
25676 if test "x$wx_cv_std_libpath" = "x"; then
25677 wx_cv_std_libpath="lib"
25678 fi
25679
25680
25681 fi
25682
25683 ;;
25684
25685 *-*-solaris2* )
25686 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25687 wx_cv_std_libpath="lib/64"
25688 else
25689 wx_cv_std_libpath="lib"
25690 fi
25691 ;;
25692
25693 *-*-linux* )
25694 if test "$ac_cv_sizeof_void_p" = 8 -a \
25695 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25696 wx_cv_std_libpath="lib64"
25697 else
25698 wx_cv_std_libpath="lib"
25699 fi
25700 ;;
25701
25702 *)
25703 wx_cv_std_libpath="lib";
25704 ;;
25705 esac
25706
25707 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25708 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25709
25710 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25711
25712 if test "$build" != "$host" -a "$GCC" = yes; then
25713 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25714 cross_root=`dirname $cross_root`
25715 cross_root=`dirname $cross_root`
25716
25717 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25718 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25719 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25720
25721 if test -z "$PKG_CONFIG_PATH"; then
25722 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25723 export PKG_CONFIG_PATH
25724 fi
25725
25726 if test -z "$x_includes" -o "$x_includes" = NONE; then
25727
25728 ac_find_includes=
25729 for ac_dir in $SEARCH_INCLUDE /usr/include;
25730 do
25731 if test -f "$ac_dir/X11/Intrinsic.h"; then
25732 ac_find_includes=$ac_dir
25733 break
25734 fi
25735 done
25736
25737 x_includes=$ac_find_includes
25738 fi
25739 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25740
25741 ac_find_libraries=
25742 for ac_dir in $SEARCH_LIB;
25743 do
25744 for ac_extension in a so sl dylib dll.a; do
25745 if test -f "$ac_dir/libXt.$ac_extension"; then
25746 ac_find_libraries=$ac_dir
25747 break 2
25748 fi
25749 done
25750 done
25751
25752 x_libraries=$ac_find_libraries
25753 fi
25754 fi
25755 fi
25756
25757
25758 cat >confcache <<\_ACEOF
25759 # This file is a shell script that caches the results of configure
25760 # tests run on this system so they can be shared between configure
25761 # scripts and configure runs, see configure's option --config-cache.
25762 # It is not useful on other systems. If it contains results you don't
25763 # want to keep, you may remove or edit it.
25764 #
25765 # config.status only pays attention to the cache file if you give it
25766 # the --recheck option to rerun configure.
25767 #
25768 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25769 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25770 # following values.
25771
25772 _ACEOF
25773
25774 # The following way of writing the cache mishandles newlines in values,
25775 # but we know of no workaround that is simple, portable, and efficient.
25776 # So, we kill variables containing newlines.
25777 # Ultrix sh set writes to stderr and can't be redirected directly,
25778 # and sets the high bit in the cache file unless we assign to the vars.
25779 (
25780 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25781 eval ac_val=\$$ac_var
25782 case $ac_val in #(
25783 *${as_nl}*)
25784 case $ac_var in #(
25785 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25786 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25787 esac
25788 case $ac_var in #(
25789 _ | IFS | as_nl) ;; #(
25790 *) $as_unset $ac_var ;;
25791 esac ;;
25792 esac
25793 done
25794
25795 (set) 2>&1 |
25796 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25797 *${as_nl}ac_space=\ *)
25798 # `set' does not quote correctly, so add quotes (double-quote
25799 # substitution turns \\\\ into \\, and sed turns \\ into \).
25800 sed -n \
25801 "s/'/'\\\\''/g;
25802 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25803 ;; #(
25804 *)
25805 # `set' quotes correctly as required by POSIX, so do not add quotes.
25806 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25807 ;;
25808 esac |
25809 sort
25810 ) |
25811 sed '
25812 /^ac_cv_env_/b end
25813 t clear
25814 :clear
25815 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25816 t end
25817 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25818 :end' >>confcache
25819 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25820 if test -w "$cache_file"; then
25821 test "x$cache_file" != "x/dev/null" &&
25822 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25823 echo "$as_me: updating cache $cache_file" >&6;}
25824 cat confcache >$cache_file
25825 else
25826 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25827 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25828 fi
25829 fi
25830 rm -f confcache
25831
25832 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25833 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25834 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25835 if test "${wx_cv_lib_glibc21+set}" = set; then
25836 echo $ECHO_N "(cached) $ECHO_C" >&6
25837 else
25838
25839 cat >conftest.$ac_ext <<_ACEOF
25840 /* confdefs.h. */
25841 _ACEOF
25842 cat confdefs.h >>conftest.$ac_ext
25843 cat >>conftest.$ac_ext <<_ACEOF
25844 /* end confdefs.h. */
25845 #include <features.h>
25846 int
25847 main ()
25848 {
25849
25850 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25851 not glibc 2.1
25852 #endif
25853
25854 ;
25855 return 0;
25856 }
25857 _ACEOF
25858 rm -f conftest.$ac_objext
25859 if { (ac_try="$ac_compile"
25860 case "(($ac_try" in
25861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25862 *) ac_try_echo=$ac_try;;
25863 esac
25864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25865 (eval "$ac_compile") 2>conftest.er1
25866 ac_status=$?
25867 grep -v '^ *+' conftest.er1 >conftest.err
25868 rm -f conftest.er1
25869 cat conftest.err >&5
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); } && {
25872 test -z "$ac_c_werror_flag" ||
25873 test ! -s conftest.err
25874 } && test -s conftest.$ac_objext; then
25875
25876 wx_cv_lib_glibc21=yes
25877
25878 else
25879 echo "$as_me: failed program was:" >&5
25880 sed 's/^/| /' conftest.$ac_ext >&5
25881
25882
25883 wx_cv_lib_glibc21=no
25884
25885
25886 fi
25887
25888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25889
25890 fi
25891 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25892 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25893 if test "$wx_cv_lib_glibc21" = "yes"; then
25894 cat >>confdefs.h <<\_ACEOF
25895 #define wxHAVE_GLIBC2 1
25896 _ACEOF
25897
25898 fi
25899 fi
25900
25901 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25902 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25903 cat >>confdefs.h <<\_ACEOF
25904 #define _GNU_SOURCE 1
25905 _ACEOF
25906
25907 fi
25908 fi
25909
25910 have_cos=0
25911 have_floor=0
25912
25913 for ac_func in cos
25914 do
25915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25916 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25918 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25919 echo $ECHO_N "(cached) $ECHO_C" >&6
25920 else
25921 cat >conftest.$ac_ext <<_ACEOF
25922 /* confdefs.h. */
25923 _ACEOF
25924 cat confdefs.h >>conftest.$ac_ext
25925 cat >>conftest.$ac_ext <<_ACEOF
25926 /* end confdefs.h. */
25927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25929 #define $ac_func innocuous_$ac_func
25930
25931 /* System header to define __stub macros and hopefully few prototypes,
25932 which can conflict with char $ac_func (); below.
25933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25934 <limits.h> exists even on freestanding compilers. */
25935
25936 #ifdef __STDC__
25937 # include <limits.h>
25938 #else
25939 # include <assert.h>
25940 #endif
25941
25942 #undef $ac_func
25943
25944 /* Override any GCC internal prototype to avoid an error.
25945 Use char because int might match the return type of a GCC
25946 builtin and then its argument prototype would still apply. */
25947 #ifdef __cplusplus
25948 extern "C"
25949 #endif
25950 char $ac_func ();
25951 /* The GNU C library defines this for functions which it implements
25952 to always fail with ENOSYS. Some functions are actually named
25953 something starting with __ and the normal name is an alias. */
25954 #if defined __stub_$ac_func || defined __stub___$ac_func
25955 choke me
25956 #endif
25957
25958 int
25959 main ()
25960 {
25961 return $ac_func ();
25962 ;
25963 return 0;
25964 }
25965 _ACEOF
25966 rm -f conftest.$ac_objext conftest$ac_exeext
25967 if { (ac_try="$ac_link"
25968 case "(($ac_try" in
25969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25970 *) ac_try_echo=$ac_try;;
25971 esac
25972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25973 (eval "$ac_link") 2>conftest.er1
25974 ac_status=$?
25975 grep -v '^ *+' conftest.er1 >conftest.err
25976 rm -f conftest.er1
25977 cat conftest.err >&5
25978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25979 (exit $ac_status); } && {
25980 test -z "$ac_c_werror_flag" ||
25981 test ! -s conftest.err
25982 } && test -s conftest$ac_exeext &&
25983 $as_test_x conftest$ac_exeext; then
25984 eval "$as_ac_var=yes"
25985 else
25986 echo "$as_me: failed program was:" >&5
25987 sed 's/^/| /' conftest.$ac_ext >&5
25988
25989 eval "$as_ac_var=no"
25990 fi
25991
25992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25993 conftest$ac_exeext conftest.$ac_ext
25994 fi
25995 ac_res=`eval echo '${'$as_ac_var'}'`
25996 { echo "$as_me:$LINENO: result: $ac_res" >&5
25997 echo "${ECHO_T}$ac_res" >&6; }
25998 if test `eval echo '${'$as_ac_var'}'` = yes; then
25999 cat >>confdefs.h <<_ACEOF
26000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26001 _ACEOF
26002 have_cos=1
26003 fi
26004 done
26005
26006
26007 for ac_func in floor
26008 do
26009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26010 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26012 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26013 echo $ECHO_N "(cached) $ECHO_C" >&6
26014 else
26015 cat >conftest.$ac_ext <<_ACEOF
26016 /* confdefs.h. */
26017 _ACEOF
26018 cat confdefs.h >>conftest.$ac_ext
26019 cat >>conftest.$ac_ext <<_ACEOF
26020 /* end confdefs.h. */
26021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26023 #define $ac_func innocuous_$ac_func
26024
26025 /* System header to define __stub macros and hopefully few prototypes,
26026 which can conflict with char $ac_func (); below.
26027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26028 <limits.h> exists even on freestanding compilers. */
26029
26030 #ifdef __STDC__
26031 # include <limits.h>
26032 #else
26033 # include <assert.h>
26034 #endif
26035
26036 #undef $ac_func
26037
26038 /* Override any GCC internal prototype to avoid an error.
26039 Use char because int might match the return type of a GCC
26040 builtin and then its argument prototype would still apply. */
26041 #ifdef __cplusplus
26042 extern "C"
26043 #endif
26044 char $ac_func ();
26045 /* The GNU C library defines this for functions which it implements
26046 to always fail with ENOSYS. Some functions are actually named
26047 something starting with __ and the normal name is an alias. */
26048 #if defined __stub_$ac_func || defined __stub___$ac_func
26049 choke me
26050 #endif
26051
26052 int
26053 main ()
26054 {
26055 return $ac_func ();
26056 ;
26057 return 0;
26058 }
26059 _ACEOF
26060 rm -f conftest.$ac_objext conftest$ac_exeext
26061 if { (ac_try="$ac_link"
26062 case "(($ac_try" in
26063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26064 *) ac_try_echo=$ac_try;;
26065 esac
26066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26067 (eval "$ac_link") 2>conftest.er1
26068 ac_status=$?
26069 grep -v '^ *+' conftest.er1 >conftest.err
26070 rm -f conftest.er1
26071 cat conftest.err >&5
26072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26073 (exit $ac_status); } && {
26074 test -z "$ac_c_werror_flag" ||
26075 test ! -s conftest.err
26076 } && test -s conftest$ac_exeext &&
26077 $as_test_x conftest$ac_exeext; then
26078 eval "$as_ac_var=yes"
26079 else
26080 echo "$as_me: failed program was:" >&5
26081 sed 's/^/| /' conftest.$ac_ext >&5
26082
26083 eval "$as_ac_var=no"
26084 fi
26085
26086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26087 conftest$ac_exeext conftest.$ac_ext
26088 fi
26089 ac_res=`eval echo '${'$as_ac_var'}'`
26090 { echo "$as_me:$LINENO: result: $ac_res" >&5
26091 echo "${ECHO_T}$ac_res" >&6; }
26092 if test `eval echo '${'$as_ac_var'}'` = yes; then
26093 cat >>confdefs.h <<_ACEOF
26094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26095 _ACEOF
26096 have_floor=1
26097 fi
26098 done
26099
26100 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26101 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26102 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26103 { echo "$as_me:$LINENO: result: yes" >&5
26104 echo "${ECHO_T}yes" >&6; }
26105 else
26106 { echo "$as_me:$LINENO: result: no" >&5
26107 echo "${ECHO_T}no" >&6; }
26108 LIBS="$LIBS -lm"
26109 # use different functions to avoid configure caching
26110 have_sin=0
26111 have_ceil=0
26112
26113 for ac_func in sin
26114 do
26115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26116 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26118 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26119 echo $ECHO_N "(cached) $ECHO_C" >&6
26120 else
26121 cat >conftest.$ac_ext <<_ACEOF
26122 /* confdefs.h. */
26123 _ACEOF
26124 cat confdefs.h >>conftest.$ac_ext
26125 cat >>conftest.$ac_ext <<_ACEOF
26126 /* end confdefs.h. */
26127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26129 #define $ac_func innocuous_$ac_func
26130
26131 /* System header to define __stub macros and hopefully few prototypes,
26132 which can conflict with char $ac_func (); below.
26133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26134 <limits.h> exists even on freestanding compilers. */
26135
26136 #ifdef __STDC__
26137 # include <limits.h>
26138 #else
26139 # include <assert.h>
26140 #endif
26141
26142 #undef $ac_func
26143
26144 /* Override any GCC internal prototype to avoid an error.
26145 Use char because int might match the return type of a GCC
26146 builtin and then its argument prototype would still apply. */
26147 #ifdef __cplusplus
26148 extern "C"
26149 #endif
26150 char $ac_func ();
26151 /* The GNU C library defines this for functions which it implements
26152 to always fail with ENOSYS. Some functions are actually named
26153 something starting with __ and the normal name is an alias. */
26154 #if defined __stub_$ac_func || defined __stub___$ac_func
26155 choke me
26156 #endif
26157
26158 int
26159 main ()
26160 {
26161 return $ac_func ();
26162 ;
26163 return 0;
26164 }
26165 _ACEOF
26166 rm -f conftest.$ac_objext conftest$ac_exeext
26167 if { (ac_try="$ac_link"
26168 case "(($ac_try" in
26169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26170 *) ac_try_echo=$ac_try;;
26171 esac
26172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26173 (eval "$ac_link") 2>conftest.er1
26174 ac_status=$?
26175 grep -v '^ *+' conftest.er1 >conftest.err
26176 rm -f conftest.er1
26177 cat conftest.err >&5
26178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179 (exit $ac_status); } && {
26180 test -z "$ac_c_werror_flag" ||
26181 test ! -s conftest.err
26182 } && test -s conftest$ac_exeext &&
26183 $as_test_x conftest$ac_exeext; then
26184 eval "$as_ac_var=yes"
26185 else
26186 echo "$as_me: failed program was:" >&5
26187 sed 's/^/| /' conftest.$ac_ext >&5
26188
26189 eval "$as_ac_var=no"
26190 fi
26191
26192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26193 conftest$ac_exeext conftest.$ac_ext
26194 fi
26195 ac_res=`eval echo '${'$as_ac_var'}'`
26196 { echo "$as_me:$LINENO: result: $ac_res" >&5
26197 echo "${ECHO_T}$ac_res" >&6; }
26198 if test `eval echo '${'$as_ac_var'}'` = yes; then
26199 cat >>confdefs.h <<_ACEOF
26200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26201 _ACEOF
26202 have_sin=1
26203 fi
26204 done
26205
26206
26207 for ac_func in ceil
26208 do
26209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26210 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26212 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26213 echo $ECHO_N "(cached) $ECHO_C" >&6
26214 else
26215 cat >conftest.$ac_ext <<_ACEOF
26216 /* confdefs.h. */
26217 _ACEOF
26218 cat confdefs.h >>conftest.$ac_ext
26219 cat >>conftest.$ac_ext <<_ACEOF
26220 /* end confdefs.h. */
26221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26223 #define $ac_func innocuous_$ac_func
26224
26225 /* System header to define __stub macros and hopefully few prototypes,
26226 which can conflict with char $ac_func (); below.
26227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26228 <limits.h> exists even on freestanding compilers. */
26229
26230 #ifdef __STDC__
26231 # include <limits.h>
26232 #else
26233 # include <assert.h>
26234 #endif
26235
26236 #undef $ac_func
26237
26238 /* Override any GCC internal prototype to avoid an error.
26239 Use char because int might match the return type of a GCC
26240 builtin and then its argument prototype would still apply. */
26241 #ifdef __cplusplus
26242 extern "C"
26243 #endif
26244 char $ac_func ();
26245 /* The GNU C library defines this for functions which it implements
26246 to always fail with ENOSYS. Some functions are actually named
26247 something starting with __ and the normal name is an alias. */
26248 #if defined __stub_$ac_func || defined __stub___$ac_func
26249 choke me
26250 #endif
26251
26252 int
26253 main ()
26254 {
26255 return $ac_func ();
26256 ;
26257 return 0;
26258 }
26259 _ACEOF
26260 rm -f conftest.$ac_objext conftest$ac_exeext
26261 if { (ac_try="$ac_link"
26262 case "(($ac_try" in
26263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26264 *) ac_try_echo=$ac_try;;
26265 esac
26266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26267 (eval "$ac_link") 2>conftest.er1
26268 ac_status=$?
26269 grep -v '^ *+' conftest.er1 >conftest.err
26270 rm -f conftest.er1
26271 cat conftest.err >&5
26272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26273 (exit $ac_status); } && {
26274 test -z "$ac_c_werror_flag" ||
26275 test ! -s conftest.err
26276 } && test -s conftest$ac_exeext &&
26277 $as_test_x conftest$ac_exeext; then
26278 eval "$as_ac_var=yes"
26279 else
26280 echo "$as_me: failed program was:" >&5
26281 sed 's/^/| /' conftest.$ac_ext >&5
26282
26283 eval "$as_ac_var=no"
26284 fi
26285
26286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26287 conftest$ac_exeext conftest.$ac_ext
26288 fi
26289 ac_res=`eval echo '${'$as_ac_var'}'`
26290 { echo "$as_me:$LINENO: result: $ac_res" >&5
26291 echo "${ECHO_T}$ac_res" >&6; }
26292 if test `eval echo '${'$as_ac_var'}'` = yes; then
26293 cat >>confdefs.h <<_ACEOF
26294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26295 _ACEOF
26296 have_ceil=1
26297 fi
26298 done
26299
26300 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26301 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26302 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26303 { echo "$as_me:$LINENO: result: yes" >&5
26304 echo "${ECHO_T}yes" >&6; }
26305 else
26306 { echo "$as_me:$LINENO: result: no" >&5
26307 echo "${ECHO_T}no" >&6; }
26308 # not sure we should warn the user, crash, etc.
26309 fi
26310 fi
26311
26312 ac_ext=cpp
26313 ac_cpp='$CXXCPP $CPPFLAGS'
26314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26317
26318 if test "wxUSE_UNICODE" = "yes"; then
26319
26320 for wx_func in wcstoull
26321 do
26322 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26323 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26324 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26325 echo $ECHO_N "(cached) $ECHO_C" >&6
26326 else
26327
26328 cat >conftest.$ac_ext <<_ACEOF
26329
26330 /* confdefs.h. */
26331 _ACEOF
26332 cat confdefs.h >>conftest.$ac_ext
26333 cat >>conftest.$ac_ext <<_ACEOF
26334 /* end confdefs.h. */
26335
26336
26337 $ac_includes_default
26338
26339 int
26340 main ()
26341 {
26342
26343 #ifndef $wx_func
26344 &$wx_func;
26345 #endif
26346
26347
26348 ;
26349 return 0;
26350 }
26351
26352 _ACEOF
26353 rm -f conftest.$ac_objext conftest$ac_exeext
26354 if { (ac_try="$ac_link"
26355 case "(($ac_try" in
26356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26357 *) ac_try_echo=$ac_try;;
26358 esac
26359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26360 (eval "$ac_link") 2>conftest.er1
26361 ac_status=$?
26362 grep -v '^ *+' conftest.er1 >conftest.err
26363 rm -f conftest.er1
26364 cat conftest.err >&5
26365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26366 (exit $ac_status); } && {
26367 test -z "$ac_cxx_werror_flag" ||
26368 test ! -s conftest.err
26369 } && test -s conftest$ac_exeext &&
26370 $as_test_x conftest$ac_exeext; then
26371 eval wx_cv_func_$wx_func=yes
26372 else
26373 echo "$as_me: failed program was:" >&5
26374 sed 's/^/| /' conftest.$ac_ext >&5
26375
26376 eval wx_cv_func_$wx_func=no
26377 fi
26378
26379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26380 conftest$ac_exeext conftest.$ac_ext
26381
26382 fi
26383 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26384 { echo "$as_me:$LINENO: result: $ac_res" >&5
26385 echo "${ECHO_T}$ac_res" >&6; }
26386
26387 if eval test \$wx_cv_func_$wx_func = yes
26388 then
26389 cat >>confdefs.h <<_ACEOF
26390 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26391 _ACEOF
26392
26393
26394 else
26395 :
26396
26397 fi
26398 done
26399
26400 else
26401
26402 for wx_func in strtoull
26403 do
26404 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26405 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26406 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26407 echo $ECHO_N "(cached) $ECHO_C" >&6
26408 else
26409
26410 cat >conftest.$ac_ext <<_ACEOF
26411
26412 /* confdefs.h. */
26413 _ACEOF
26414 cat confdefs.h >>conftest.$ac_ext
26415 cat >>conftest.$ac_ext <<_ACEOF
26416 /* end confdefs.h. */
26417
26418
26419 $ac_includes_default
26420
26421 int
26422 main ()
26423 {
26424
26425 #ifndef $wx_func
26426 &$wx_func;
26427 #endif
26428
26429
26430 ;
26431 return 0;
26432 }
26433
26434 _ACEOF
26435 rm -f conftest.$ac_objext conftest$ac_exeext
26436 if { (ac_try="$ac_link"
26437 case "(($ac_try" in
26438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26439 *) ac_try_echo=$ac_try;;
26440 esac
26441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26442 (eval "$ac_link") 2>conftest.er1
26443 ac_status=$?
26444 grep -v '^ *+' conftest.er1 >conftest.err
26445 rm -f conftest.er1
26446 cat conftest.err >&5
26447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26448 (exit $ac_status); } && {
26449 test -z "$ac_cxx_werror_flag" ||
26450 test ! -s conftest.err
26451 } && test -s conftest$ac_exeext &&
26452 $as_test_x conftest$ac_exeext; then
26453 eval wx_cv_func_$wx_func=yes
26454 else
26455 echo "$as_me: failed program was:" >&5
26456 sed 's/^/| /' conftest.$ac_ext >&5
26457
26458 eval wx_cv_func_$wx_func=no
26459 fi
26460
26461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26462 conftest$ac_exeext conftest.$ac_ext
26463
26464 fi
26465 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26466 { echo "$as_me:$LINENO: result: $ac_res" >&5
26467 echo "${ECHO_T}$ac_res" >&6; }
26468
26469 if eval test \$wx_cv_func_$wx_func = yes
26470 then
26471 cat >>confdefs.h <<_ACEOF
26472 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26473 _ACEOF
26474
26475
26476 else
26477 :
26478
26479 fi
26480 done
26481
26482 fi
26483 ac_ext=c
26484 ac_cpp='$CPP $CPPFLAGS'
26485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26488
26489
26490
26491
26492 if test "$wxUSE_REGEX" != "no"; then
26493 cat >>confdefs.h <<\_ACEOF
26494 #define wxUSE_REGEX 1
26495 _ACEOF
26496
26497
26498 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26499 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26500 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26501 wxUSE_REGEX=builtin
26502 fi
26503
26504 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26505 { echo "$as_me:$LINENO: checking for regex.h" >&5
26506 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26507 if test "${ac_cv_header_regex_h+set}" = set; then
26508 echo $ECHO_N "(cached) $ECHO_C" >&6
26509 else
26510 cat >conftest.$ac_ext <<_ACEOF
26511 /* confdefs.h. */
26512 _ACEOF
26513 cat confdefs.h >>conftest.$ac_ext
26514 cat >>conftest.$ac_ext <<_ACEOF
26515 /* end confdefs.h. */
26516
26517
26518 #include <regex.h>
26519 _ACEOF
26520 rm -f conftest.$ac_objext
26521 if { (ac_try="$ac_compile"
26522 case "(($ac_try" in
26523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26524 *) ac_try_echo=$ac_try;;
26525 esac
26526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26527 (eval "$ac_compile") 2>conftest.er1
26528 ac_status=$?
26529 grep -v '^ *+' conftest.er1 >conftest.err
26530 rm -f conftest.er1
26531 cat conftest.err >&5
26532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26533 (exit $ac_status); } && {
26534 test -z "$ac_c_werror_flag" ||
26535 test ! -s conftest.err
26536 } && test -s conftest.$ac_objext; then
26537 ac_cv_header_regex_h=yes
26538 else
26539 echo "$as_me: failed program was:" >&5
26540 sed 's/^/| /' conftest.$ac_ext >&5
26541
26542 ac_cv_header_regex_h=no
26543 fi
26544
26545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26546 fi
26547 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26548 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26549 if test $ac_cv_header_regex_h = yes; then
26550
26551
26552 for ac_func in regcomp re_search
26553 do
26554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26555 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26557 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26558 echo $ECHO_N "(cached) $ECHO_C" >&6
26559 else
26560 cat >conftest.$ac_ext <<_ACEOF
26561 /* confdefs.h. */
26562 _ACEOF
26563 cat confdefs.h >>conftest.$ac_ext
26564 cat >>conftest.$ac_ext <<_ACEOF
26565 /* end confdefs.h. */
26566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26568 #define $ac_func innocuous_$ac_func
26569
26570 /* System header to define __stub macros and hopefully few prototypes,
26571 which can conflict with char $ac_func (); below.
26572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26573 <limits.h> exists even on freestanding compilers. */
26574
26575 #ifdef __STDC__
26576 # include <limits.h>
26577 #else
26578 # include <assert.h>
26579 #endif
26580
26581 #undef $ac_func
26582
26583 /* Override any GCC internal prototype to avoid an error.
26584 Use char because int might match the return type of a GCC
26585 builtin and then its argument prototype would still apply. */
26586 #ifdef __cplusplus
26587 extern "C"
26588 #endif
26589 char $ac_func ();
26590 /* The GNU C library defines this for functions which it implements
26591 to always fail with ENOSYS. Some functions are actually named
26592 something starting with __ and the normal name is an alias. */
26593 #if defined __stub_$ac_func || defined __stub___$ac_func
26594 choke me
26595 #endif
26596
26597 int
26598 main ()
26599 {
26600 return $ac_func ();
26601 ;
26602 return 0;
26603 }
26604 _ACEOF
26605 rm -f conftest.$ac_objext conftest$ac_exeext
26606 if { (ac_try="$ac_link"
26607 case "(($ac_try" in
26608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26609 *) ac_try_echo=$ac_try;;
26610 esac
26611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26612 (eval "$ac_link") 2>conftest.er1
26613 ac_status=$?
26614 grep -v '^ *+' conftest.er1 >conftest.err
26615 rm -f conftest.er1
26616 cat conftest.err >&5
26617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26618 (exit $ac_status); } && {
26619 test -z "$ac_c_werror_flag" ||
26620 test ! -s conftest.err
26621 } && test -s conftest$ac_exeext &&
26622 $as_test_x conftest$ac_exeext; then
26623 eval "$as_ac_var=yes"
26624 else
26625 echo "$as_me: failed program was:" >&5
26626 sed 's/^/| /' conftest.$ac_ext >&5
26627
26628 eval "$as_ac_var=no"
26629 fi
26630
26631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26632 conftest$ac_exeext conftest.$ac_ext
26633 fi
26634 ac_res=`eval echo '${'$as_ac_var'}'`
26635 { echo "$as_me:$LINENO: result: $ac_res" >&5
26636 echo "${ECHO_T}$ac_res" >&6; }
26637 if test `eval echo '${'$as_ac_var'}'` = yes; then
26638 cat >>confdefs.h <<_ACEOF
26639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26640 _ACEOF
26641
26642 fi
26643 done
26644
26645 fi
26646
26647
26648
26649 if test "x$ac_cv_func_regcomp" != "xyes"; then
26650 if test "$wxUSE_REGEX" = "sys" ; then
26651 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26652 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26653 { (exit 1); exit 1; }; }
26654 else
26655 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26656 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26657 wxUSE_REGEX=builtin
26658 fi
26659 else
26660 wxUSE_REGEX=sys
26661 cat >>confdefs.h <<\_ACEOF
26662 #define WX_NO_REGEX_ADVANCED 1
26663 _ACEOF
26664
26665 fi
26666 fi
26667 fi
26668
26669
26670 ZLIB_LINK=
26671 if test "$wxUSE_ZLIB" != "no" ; then
26672 cat >>confdefs.h <<\_ACEOF
26673 #define wxUSE_ZLIB 1
26674 _ACEOF
26675
26676
26677 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26678 if test "$USE_DARWIN" = 1; then
26679 system_zlib_h_ok="yes"
26680 else
26681 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26682 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26683 if test "${ac_cv_header_zlib_h+set}" = set; then
26684 echo $ECHO_N "(cached) $ECHO_C" >&6
26685 else
26686 if test "$cross_compiling" = yes; then
26687 unset ac_cv_header_zlib_h
26688
26689 else
26690 cat >conftest.$ac_ext <<_ACEOF
26691 /* confdefs.h. */
26692 _ACEOF
26693 cat confdefs.h >>conftest.$ac_ext
26694 cat >>conftest.$ac_ext <<_ACEOF
26695 /* end confdefs.h. */
26696
26697 #include <zlib.h>
26698 #include <stdio.h>
26699
26700 int main()
26701 {
26702 FILE *f=fopen("conftestval", "w");
26703 if (!f) exit(1);
26704 fprintf(f, "%s",
26705 ZLIB_VERSION[0] == '1' &&
26706 (ZLIB_VERSION[2] > '1' ||
26707 (ZLIB_VERSION[2] == '1' &&
26708 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26709 exit(0);
26710 }
26711
26712 _ACEOF
26713 rm -f conftest$ac_exeext
26714 if { (ac_try="$ac_link"
26715 case "(($ac_try" in
26716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26717 *) ac_try_echo=$ac_try;;
26718 esac
26719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26720 (eval "$ac_link") 2>&5
26721 ac_status=$?
26722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26723 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26724 { (case "(($ac_try" in
26725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26726 *) ac_try_echo=$ac_try;;
26727 esac
26728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26729 (eval "$ac_try") 2>&5
26730 ac_status=$?
26731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732 (exit $ac_status); }; }; then
26733 ac_cv_header_zlib_h=`cat conftestval`
26734 else
26735 echo "$as_me: program exited with status $ac_status" >&5
26736 echo "$as_me: failed program was:" >&5
26737 sed 's/^/| /' conftest.$ac_ext >&5
26738
26739 ( exit $ac_status )
26740 ac_cv_header_zlib_h=no
26741 fi
26742 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26743 fi
26744
26745
26746
26747 fi
26748 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26749 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26750 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26751 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26752 if test "${ac_cv_header_zlib_h+set}" = set; then
26753 echo $ECHO_N "(cached) $ECHO_C" >&6
26754 else
26755 cat >conftest.$ac_ext <<_ACEOF
26756 /* confdefs.h. */
26757 _ACEOF
26758 cat confdefs.h >>conftest.$ac_ext
26759 cat >>conftest.$ac_ext <<_ACEOF
26760 /* end confdefs.h. */
26761
26762
26763 #include <zlib.h>
26764 _ACEOF
26765 rm -f conftest.$ac_objext
26766 if { (ac_try="$ac_compile"
26767 case "(($ac_try" in
26768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26769 *) ac_try_echo=$ac_try;;
26770 esac
26771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26772 (eval "$ac_compile") 2>conftest.er1
26773 ac_status=$?
26774 grep -v '^ *+' conftest.er1 >conftest.err
26775 rm -f conftest.er1
26776 cat conftest.err >&5
26777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26778 (exit $ac_status); } && {
26779 test -z "$ac_c_werror_flag" ||
26780 test ! -s conftest.err
26781 } && test -s conftest.$ac_objext; then
26782 ac_cv_header_zlib_h=yes
26783 else
26784 echo "$as_me: failed program was:" >&5
26785 sed 's/^/| /' conftest.$ac_ext >&5
26786
26787 ac_cv_header_zlib_h=no
26788 fi
26789
26790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26791 fi
26792 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26793 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26794
26795
26796
26797 system_zlib_h_ok=$ac_cv_header_zlib_h
26798 fi
26799
26800 if test "$system_zlib_h_ok" = "yes"; then
26801 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26802 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26803 if test "${ac_cv_lib_z_deflate+set}" = set; then
26804 echo $ECHO_N "(cached) $ECHO_C" >&6
26805 else
26806 ac_check_lib_save_LIBS=$LIBS
26807 LIBS="-lz $LIBS"
26808 cat >conftest.$ac_ext <<_ACEOF
26809 /* confdefs.h. */
26810 _ACEOF
26811 cat confdefs.h >>conftest.$ac_ext
26812 cat >>conftest.$ac_ext <<_ACEOF
26813 /* end confdefs.h. */
26814
26815 /* Override any GCC internal prototype to avoid an error.
26816 Use char because int might match the return type of a GCC
26817 builtin and then its argument prototype would still apply. */
26818 #ifdef __cplusplus
26819 extern "C"
26820 #endif
26821 char deflate ();
26822 int
26823 main ()
26824 {
26825 return deflate ();
26826 ;
26827 return 0;
26828 }
26829 _ACEOF
26830 rm -f conftest.$ac_objext conftest$ac_exeext
26831 if { (ac_try="$ac_link"
26832 case "(($ac_try" in
26833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26834 *) ac_try_echo=$ac_try;;
26835 esac
26836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26837 (eval "$ac_link") 2>conftest.er1
26838 ac_status=$?
26839 grep -v '^ *+' conftest.er1 >conftest.err
26840 rm -f conftest.er1
26841 cat conftest.err >&5
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); } && {
26844 test -z "$ac_c_werror_flag" ||
26845 test ! -s conftest.err
26846 } && test -s conftest$ac_exeext &&
26847 $as_test_x conftest$ac_exeext; then
26848 ac_cv_lib_z_deflate=yes
26849 else
26850 echo "$as_me: failed program was:" >&5
26851 sed 's/^/| /' conftest.$ac_ext >&5
26852
26853 ac_cv_lib_z_deflate=no
26854 fi
26855
26856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26857 conftest$ac_exeext conftest.$ac_ext
26858 LIBS=$ac_check_lib_save_LIBS
26859 fi
26860 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26861 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26862 if test $ac_cv_lib_z_deflate = yes; then
26863 ZLIB_LINK=" -lz"
26864 fi
26865
26866 fi
26867
26868 if test "x$ZLIB_LINK" = "x" ; then
26869 if test "$wxUSE_ZLIB" = "sys" ; then
26870 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26871 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26872 { (exit 1); exit 1; }; }
26873 else
26874 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26875 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26876 wxUSE_ZLIB=builtin
26877 fi
26878 else
26879 wxUSE_ZLIB=sys
26880 fi
26881 fi
26882 fi
26883
26884
26885 PNG_LINK=
26886 if test "$wxUSE_LIBPNG" != "no" ; then
26887 cat >>confdefs.h <<\_ACEOF
26888 #define wxUSE_LIBPNG 1
26889 _ACEOF
26890
26891
26892 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26893 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26894 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26895 wxUSE_LIBPNG=sys
26896 fi
26897
26898 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26899 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26900 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26901 wxUSE_LIBPNG=builtin
26902 fi
26903
26904 if test "$wxUSE_MGL" != 1 ; then
26905 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26906 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26907 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26908 if test "${ac_cv_header_png_h+set}" = set; then
26909 echo $ECHO_N "(cached) $ECHO_C" >&6
26910 else
26911 if test "$cross_compiling" = yes; then
26912 unset ac_cv_header_png_h
26913
26914 else
26915 cat >conftest.$ac_ext <<_ACEOF
26916 /* confdefs.h. */
26917 _ACEOF
26918 cat confdefs.h >>conftest.$ac_ext
26919 cat >>conftest.$ac_ext <<_ACEOF
26920 /* end confdefs.h. */
26921
26922 #include <png.h>
26923 #include <stdio.h>
26924
26925 int main()
26926 {
26927 FILE *f=fopen("conftestval", "w");
26928 if (!f) exit(1);
26929 fprintf(f, "%s",
26930 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26931 exit(0);
26932 }
26933
26934 _ACEOF
26935 rm -f conftest$ac_exeext
26936 if { (ac_try="$ac_link"
26937 case "(($ac_try" in
26938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26939 *) ac_try_echo=$ac_try;;
26940 esac
26941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26942 (eval "$ac_link") 2>&5
26943 ac_status=$?
26944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26945 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26946 { (case "(($ac_try" in
26947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26948 *) ac_try_echo=$ac_try;;
26949 esac
26950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26951 (eval "$ac_try") 2>&5
26952 ac_status=$?
26953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954 (exit $ac_status); }; }; then
26955 ac_cv_header_png_h=`cat conftestval`
26956 else
26957 echo "$as_me: program exited with status $ac_status" >&5
26958 echo "$as_me: failed program was:" >&5
26959 sed 's/^/| /' conftest.$ac_ext >&5
26960
26961 ( exit $ac_status )
26962 ac_cv_header_png_h=no
26963 fi
26964 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26965 fi
26966
26967
26968
26969 fi
26970 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26971 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26972 { echo "$as_me:$LINENO: checking for png.h" >&5
26973 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26974 if test "${ac_cv_header_png_h+set}" = set; then
26975 echo $ECHO_N "(cached) $ECHO_C" >&6
26976 else
26977 cat >conftest.$ac_ext <<_ACEOF
26978 /* confdefs.h. */
26979 _ACEOF
26980 cat confdefs.h >>conftest.$ac_ext
26981 cat >>conftest.$ac_ext <<_ACEOF
26982 /* end confdefs.h. */
26983
26984
26985 #include <png.h>
26986 _ACEOF
26987 rm -f conftest.$ac_objext
26988 if { (ac_try="$ac_compile"
26989 case "(($ac_try" in
26990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26991 *) ac_try_echo=$ac_try;;
26992 esac
26993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26994 (eval "$ac_compile") 2>conftest.er1
26995 ac_status=$?
26996 grep -v '^ *+' conftest.er1 >conftest.err
26997 rm -f conftest.er1
26998 cat conftest.err >&5
26999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27000 (exit $ac_status); } && {
27001 test -z "$ac_c_werror_flag" ||
27002 test ! -s conftest.err
27003 } && test -s conftest.$ac_objext; then
27004 ac_cv_header_png_h=yes
27005 else
27006 echo "$as_me: failed program was:" >&5
27007 sed 's/^/| /' conftest.$ac_ext >&5
27008
27009 ac_cv_header_png_h=no
27010 fi
27011
27012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27013 fi
27014 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27015 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27016
27017
27018
27019 if test "$ac_cv_header_png_h" = "yes"; then
27020 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
27021 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
27022 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
27023 echo $ECHO_N "(cached) $ECHO_C" >&6
27024 else
27025 ac_check_lib_save_LIBS=$LIBS
27026 LIBS="-lpng -lz -lm $LIBS"
27027 cat >conftest.$ac_ext <<_ACEOF
27028 /* confdefs.h. */
27029 _ACEOF
27030 cat confdefs.h >>conftest.$ac_ext
27031 cat >>conftest.$ac_ext <<_ACEOF
27032 /* end confdefs.h. */
27033
27034 /* Override any GCC internal prototype to avoid an error.
27035 Use char because int might match the return type of a GCC
27036 builtin and then its argument prototype would still apply. */
27037 #ifdef __cplusplus
27038 extern "C"
27039 #endif
27040 char png_check_sig ();
27041 int
27042 main ()
27043 {
27044 return png_check_sig ();
27045 ;
27046 return 0;
27047 }
27048 _ACEOF
27049 rm -f conftest.$ac_objext conftest$ac_exeext
27050 if { (ac_try="$ac_link"
27051 case "(($ac_try" in
27052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27053 *) ac_try_echo=$ac_try;;
27054 esac
27055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27056 (eval "$ac_link") 2>conftest.er1
27057 ac_status=$?
27058 grep -v '^ *+' conftest.er1 >conftest.err
27059 rm -f conftest.er1
27060 cat conftest.err >&5
27061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062 (exit $ac_status); } && {
27063 test -z "$ac_c_werror_flag" ||
27064 test ! -s conftest.err
27065 } && test -s conftest$ac_exeext &&
27066 $as_test_x conftest$ac_exeext; then
27067 ac_cv_lib_png_png_check_sig=yes
27068 else
27069 echo "$as_me: failed program was:" >&5
27070 sed 's/^/| /' conftest.$ac_ext >&5
27071
27072 ac_cv_lib_png_png_check_sig=no
27073 fi
27074
27075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27076 conftest$ac_exeext conftest.$ac_ext
27077 LIBS=$ac_check_lib_save_LIBS
27078 fi
27079 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27080 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
27081 if test $ac_cv_lib_png_png_check_sig = yes; then
27082 PNG_LINK=" -lpng -lz"
27083 fi
27084
27085 fi
27086
27087 if test "x$PNG_LINK" = "x" ; then
27088 if test "$wxUSE_LIBPNG" = "sys" ; then
27089 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27090 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27091 { (exit 1); exit 1; }; }
27092 else
27093 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27094 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27095 wxUSE_LIBPNG=builtin
27096 fi
27097 else
27098 wxUSE_LIBPNG=sys
27099 fi
27100 fi
27101 fi
27102 fi
27103
27104
27105 JPEG_LINK=
27106 if test "$wxUSE_LIBJPEG" != "no" ; then
27107 cat >>confdefs.h <<\_ACEOF
27108 #define wxUSE_LIBJPEG 1
27109 _ACEOF
27110
27111
27112 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27113 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27114 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27115 wxUSE_LIBJPEG=sys
27116 fi
27117
27118 if test "$wxUSE_MGL" != 1 ; then
27119 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27120 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27121 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27122 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27123 echo $ECHO_N "(cached) $ECHO_C" >&6
27124 else
27125 cat >conftest.$ac_ext <<_ACEOF
27126 /* confdefs.h. */
27127 _ACEOF
27128 cat confdefs.h >>conftest.$ac_ext
27129 cat >>conftest.$ac_ext <<_ACEOF
27130 /* end confdefs.h. */
27131
27132 #undef HAVE_STDLIB_H
27133 #include <stdio.h>
27134 #include <jpeglib.h>
27135
27136 int
27137 main ()
27138 {
27139
27140
27141 ;
27142 return 0;
27143 }
27144 _ACEOF
27145 rm -f conftest.$ac_objext
27146 if { (ac_try="$ac_compile"
27147 case "(($ac_try" in
27148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27149 *) ac_try_echo=$ac_try;;
27150 esac
27151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27152 (eval "$ac_compile") 2>conftest.er1
27153 ac_status=$?
27154 grep -v '^ *+' conftest.er1 >conftest.err
27155 rm -f conftest.er1
27156 cat conftest.err >&5
27157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27158 (exit $ac_status); } && {
27159 test -z "$ac_c_werror_flag" ||
27160 test ! -s conftest.err
27161 } && test -s conftest.$ac_objext; then
27162 ac_cv_header_jpeglib_h=yes
27163 else
27164 echo "$as_me: failed program was:" >&5
27165 sed 's/^/| /' conftest.$ac_ext >&5
27166
27167 ac_cv_header_jpeglib_h=no
27168
27169 fi
27170
27171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27172
27173 fi
27174
27175 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27176 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27177
27178 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27179 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27180 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27181 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27182 echo $ECHO_N "(cached) $ECHO_C" >&6
27183 else
27184 ac_check_lib_save_LIBS=$LIBS
27185 LIBS="-ljpeg $LIBS"
27186 cat >conftest.$ac_ext <<_ACEOF
27187 /* confdefs.h. */
27188 _ACEOF
27189 cat confdefs.h >>conftest.$ac_ext
27190 cat >>conftest.$ac_ext <<_ACEOF
27191 /* end confdefs.h. */
27192
27193 /* Override any GCC internal prototype to avoid an error.
27194 Use char because int might match the return type of a GCC
27195 builtin and then its argument prototype would still apply. */
27196 #ifdef __cplusplus
27197 extern "C"
27198 #endif
27199 char jpeg_read_header ();
27200 int
27201 main ()
27202 {
27203 return jpeg_read_header ();
27204 ;
27205 return 0;
27206 }
27207 _ACEOF
27208 rm -f conftest.$ac_objext conftest$ac_exeext
27209 if { (ac_try="$ac_link"
27210 case "(($ac_try" in
27211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27212 *) ac_try_echo=$ac_try;;
27213 esac
27214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27215 (eval "$ac_link") 2>conftest.er1
27216 ac_status=$?
27217 grep -v '^ *+' conftest.er1 >conftest.err
27218 rm -f conftest.er1
27219 cat conftest.err >&5
27220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27221 (exit $ac_status); } && {
27222 test -z "$ac_c_werror_flag" ||
27223 test ! -s conftest.err
27224 } && test -s conftest$ac_exeext &&
27225 $as_test_x conftest$ac_exeext; then
27226 ac_cv_lib_jpeg_jpeg_read_header=yes
27227 else
27228 echo "$as_me: failed program was:" >&5
27229 sed 's/^/| /' conftest.$ac_ext >&5
27230
27231 ac_cv_lib_jpeg_jpeg_read_header=no
27232 fi
27233
27234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27235 conftest$ac_exeext conftest.$ac_ext
27236 LIBS=$ac_check_lib_save_LIBS
27237 fi
27238 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27239 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27240 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27241 JPEG_LINK=" -ljpeg"
27242 fi
27243
27244 fi
27245
27246 if test "x$JPEG_LINK" = "x" ; then
27247 if test "$wxUSE_LIBJPEG" = "sys" ; then
27248 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27249 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27250 { (exit 1); exit 1; }; }
27251 else
27252 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27253 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27254 wxUSE_LIBJPEG=builtin
27255 fi
27256 else
27257 wxUSE_LIBJPEG=sys
27258
27259 if test "$wxUSE_MSW" = 1; then
27260 { echo "$as_me:$LINENO: checking for boolean" >&5
27261 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27262 if test "${ac_cv_type_boolean+set}" = set; then
27263 echo $ECHO_N "(cached) $ECHO_C" >&6
27264 else
27265 cat >conftest.$ac_ext <<_ACEOF
27266 /* confdefs.h. */
27267 _ACEOF
27268 cat confdefs.h >>conftest.$ac_ext
27269 cat >>conftest.$ac_ext <<_ACEOF
27270 /* end confdefs.h. */
27271 #include <windows.h>
27272
27273 typedef boolean ac__type_new_;
27274 int
27275 main ()
27276 {
27277 if ((ac__type_new_ *) 0)
27278 return 0;
27279 if (sizeof (ac__type_new_))
27280 return 0;
27281 ;
27282 return 0;
27283 }
27284 _ACEOF
27285 rm -f conftest.$ac_objext
27286 if { (ac_try="$ac_compile"
27287 case "(($ac_try" in
27288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27289 *) ac_try_echo=$ac_try;;
27290 esac
27291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27292 (eval "$ac_compile") 2>conftest.er1
27293 ac_status=$?
27294 grep -v '^ *+' conftest.er1 >conftest.err
27295 rm -f conftest.er1
27296 cat conftest.err >&5
27297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27298 (exit $ac_status); } && {
27299 test -z "$ac_c_werror_flag" ||
27300 test ! -s conftest.err
27301 } && test -s conftest.$ac_objext; then
27302 ac_cv_type_boolean=yes
27303 else
27304 echo "$as_me: failed program was:" >&5
27305 sed 's/^/| /' conftest.$ac_ext >&5
27306
27307 ac_cv_type_boolean=no
27308 fi
27309
27310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27311 fi
27312 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27313 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27314 if test $ac_cv_type_boolean = yes; then
27315
27316 cat >>confdefs.h <<_ACEOF
27317 #define HAVE_BOOLEAN 1
27318 _ACEOF
27319
27320
27321 { echo "$as_me:$LINENO: checking for boolean" >&5
27322 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27323 if test "${ac_cv_type_boolean+set}" = set; then
27324 echo $ECHO_N "(cached) $ECHO_C" >&6
27325 else
27326 cat >conftest.$ac_ext <<_ACEOF
27327 /* confdefs.h. */
27328 _ACEOF
27329 cat confdefs.h >>conftest.$ac_ext
27330 cat >>conftest.$ac_ext <<_ACEOF
27331 /* end confdefs.h. */
27332
27333 #undef HAVE_BOOLEAN
27334 #include <stdio.h>
27335 #include <jpeglib.h>
27336
27337
27338 typedef boolean ac__type_new_;
27339 int
27340 main ()
27341 {
27342 if ((ac__type_new_ *) 0)
27343 return 0;
27344 if (sizeof (ac__type_new_))
27345 return 0;
27346 ;
27347 return 0;
27348 }
27349 _ACEOF
27350 rm -f conftest.$ac_objext
27351 if { (ac_try="$ac_compile"
27352 case "(($ac_try" in
27353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27354 *) ac_try_echo=$ac_try;;
27355 esac
27356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27357 (eval "$ac_compile") 2>conftest.er1
27358 ac_status=$?
27359 grep -v '^ *+' conftest.er1 >conftest.err
27360 rm -f conftest.er1
27361 cat conftest.err >&5
27362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27363 (exit $ac_status); } && {
27364 test -z "$ac_c_werror_flag" ||
27365 test ! -s conftest.err
27366 } && test -s conftest.$ac_objext; then
27367 ac_cv_type_boolean=yes
27368 else
27369 echo "$as_me: failed program was:" >&5
27370 sed 's/^/| /' conftest.$ac_ext >&5
27371
27372 ac_cv_type_boolean=no
27373 fi
27374
27375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27376 fi
27377 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27378 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27379
27380 # The cast to long int works around a bug in the HP C Compiler
27381 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27382 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27383 # This bug is HP SR number 8606223364.
27384 { echo "$as_me:$LINENO: checking size of boolean" >&5
27385 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27386 if test "${ac_cv_sizeof_boolean+set}" = set; then
27387 echo $ECHO_N "(cached) $ECHO_C" >&6
27388 else
27389 if test "$cross_compiling" = yes; then
27390 # Depending upon the size, compute the lo and hi bounds.
27391 cat >conftest.$ac_ext <<_ACEOF
27392 /* confdefs.h. */
27393 _ACEOF
27394 cat confdefs.h >>conftest.$ac_ext
27395 cat >>conftest.$ac_ext <<_ACEOF
27396 /* end confdefs.h. */
27397
27398 #undef HAVE_BOOLEAN
27399 #include <stdio.h>
27400 #include <jpeglib.h>
27401
27402
27403 typedef boolean ac__type_sizeof_;
27404 int
27405 main ()
27406 {
27407 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27408 test_array [0] = 0
27409
27410 ;
27411 return 0;
27412 }
27413 _ACEOF
27414 rm -f conftest.$ac_objext
27415 if { (ac_try="$ac_compile"
27416 case "(($ac_try" in
27417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27418 *) ac_try_echo=$ac_try;;
27419 esac
27420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27421 (eval "$ac_compile") 2>conftest.er1
27422 ac_status=$?
27423 grep -v '^ *+' conftest.er1 >conftest.err
27424 rm -f conftest.er1
27425 cat conftest.err >&5
27426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27427 (exit $ac_status); } && {
27428 test -z "$ac_c_werror_flag" ||
27429 test ! -s conftest.err
27430 } && test -s conftest.$ac_objext; then
27431 ac_lo=0 ac_mid=0
27432 while :; do
27433 cat >conftest.$ac_ext <<_ACEOF
27434 /* confdefs.h. */
27435 _ACEOF
27436 cat confdefs.h >>conftest.$ac_ext
27437 cat >>conftest.$ac_ext <<_ACEOF
27438 /* end confdefs.h. */
27439
27440 #undef HAVE_BOOLEAN
27441 #include <stdio.h>
27442 #include <jpeglib.h>
27443
27444
27445 typedef boolean ac__type_sizeof_;
27446 int
27447 main ()
27448 {
27449 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27450 test_array [0] = 0
27451
27452 ;
27453 return 0;
27454 }
27455 _ACEOF
27456 rm -f conftest.$ac_objext
27457 if { (ac_try="$ac_compile"
27458 case "(($ac_try" in
27459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27460 *) ac_try_echo=$ac_try;;
27461 esac
27462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27463 (eval "$ac_compile") 2>conftest.er1
27464 ac_status=$?
27465 grep -v '^ *+' conftest.er1 >conftest.err
27466 rm -f conftest.er1
27467 cat conftest.err >&5
27468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27469 (exit $ac_status); } && {
27470 test -z "$ac_c_werror_flag" ||
27471 test ! -s conftest.err
27472 } && test -s conftest.$ac_objext; then
27473 ac_hi=$ac_mid; break
27474 else
27475 echo "$as_me: failed program was:" >&5
27476 sed 's/^/| /' conftest.$ac_ext >&5
27477
27478 ac_lo=`expr $ac_mid + 1`
27479 if test $ac_lo -le $ac_mid; then
27480 ac_lo= ac_hi=
27481 break
27482 fi
27483 ac_mid=`expr 2 '*' $ac_mid + 1`
27484 fi
27485
27486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27487 done
27488 else
27489 echo "$as_me: failed program was:" >&5
27490 sed 's/^/| /' conftest.$ac_ext >&5
27491
27492 cat >conftest.$ac_ext <<_ACEOF
27493 /* confdefs.h. */
27494 _ACEOF
27495 cat confdefs.h >>conftest.$ac_ext
27496 cat >>conftest.$ac_ext <<_ACEOF
27497 /* end confdefs.h. */
27498
27499 #undef HAVE_BOOLEAN
27500 #include <stdio.h>
27501 #include <jpeglib.h>
27502
27503
27504 typedef boolean ac__type_sizeof_;
27505 int
27506 main ()
27507 {
27508 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27509 test_array [0] = 0
27510
27511 ;
27512 return 0;
27513 }
27514 _ACEOF
27515 rm -f conftest.$ac_objext
27516 if { (ac_try="$ac_compile"
27517 case "(($ac_try" in
27518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27519 *) ac_try_echo=$ac_try;;
27520 esac
27521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27522 (eval "$ac_compile") 2>conftest.er1
27523 ac_status=$?
27524 grep -v '^ *+' conftest.er1 >conftest.err
27525 rm -f conftest.er1
27526 cat conftest.err >&5
27527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27528 (exit $ac_status); } && {
27529 test -z "$ac_c_werror_flag" ||
27530 test ! -s conftest.err
27531 } && test -s conftest.$ac_objext; then
27532 ac_hi=-1 ac_mid=-1
27533 while :; do
27534 cat >conftest.$ac_ext <<_ACEOF
27535 /* confdefs.h. */
27536 _ACEOF
27537 cat confdefs.h >>conftest.$ac_ext
27538 cat >>conftest.$ac_ext <<_ACEOF
27539 /* end confdefs.h. */
27540
27541 #undef HAVE_BOOLEAN
27542 #include <stdio.h>
27543 #include <jpeglib.h>
27544
27545
27546 typedef boolean ac__type_sizeof_;
27547 int
27548 main ()
27549 {
27550 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27551 test_array [0] = 0
27552
27553 ;
27554 return 0;
27555 }
27556 _ACEOF
27557 rm -f conftest.$ac_objext
27558 if { (ac_try="$ac_compile"
27559 case "(($ac_try" in
27560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27561 *) ac_try_echo=$ac_try;;
27562 esac
27563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27564 (eval "$ac_compile") 2>conftest.er1
27565 ac_status=$?
27566 grep -v '^ *+' conftest.er1 >conftest.err
27567 rm -f conftest.er1
27568 cat conftest.err >&5
27569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27570 (exit $ac_status); } && {
27571 test -z "$ac_c_werror_flag" ||
27572 test ! -s conftest.err
27573 } && test -s conftest.$ac_objext; then
27574 ac_lo=$ac_mid; break
27575 else
27576 echo "$as_me: failed program was:" >&5
27577 sed 's/^/| /' conftest.$ac_ext >&5
27578
27579 ac_hi=`expr '(' $ac_mid ')' - 1`
27580 if test $ac_mid -le $ac_hi; then
27581 ac_lo= ac_hi=
27582 break
27583 fi
27584 ac_mid=`expr 2 '*' $ac_mid`
27585 fi
27586
27587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27588 done
27589 else
27590 echo "$as_me: failed program was:" >&5
27591 sed 's/^/| /' conftest.$ac_ext >&5
27592
27593 ac_lo= ac_hi=
27594 fi
27595
27596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27597 fi
27598
27599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27600 # Binary search between lo and hi bounds.
27601 while test "x$ac_lo" != "x$ac_hi"; do
27602 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27603 cat >conftest.$ac_ext <<_ACEOF
27604 /* confdefs.h. */
27605 _ACEOF
27606 cat confdefs.h >>conftest.$ac_ext
27607 cat >>conftest.$ac_ext <<_ACEOF
27608 /* end confdefs.h. */
27609
27610 #undef HAVE_BOOLEAN
27611 #include <stdio.h>
27612 #include <jpeglib.h>
27613
27614
27615 typedef boolean ac__type_sizeof_;
27616 int
27617 main ()
27618 {
27619 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27620 test_array [0] = 0
27621
27622 ;
27623 return 0;
27624 }
27625 _ACEOF
27626 rm -f conftest.$ac_objext
27627 if { (ac_try="$ac_compile"
27628 case "(($ac_try" in
27629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27630 *) ac_try_echo=$ac_try;;
27631 esac
27632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27633 (eval "$ac_compile") 2>conftest.er1
27634 ac_status=$?
27635 grep -v '^ *+' conftest.er1 >conftest.err
27636 rm -f conftest.er1
27637 cat conftest.err >&5
27638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27639 (exit $ac_status); } && {
27640 test -z "$ac_c_werror_flag" ||
27641 test ! -s conftest.err
27642 } && test -s conftest.$ac_objext; then
27643 ac_hi=$ac_mid
27644 else
27645 echo "$as_me: failed program was:" >&5
27646 sed 's/^/| /' conftest.$ac_ext >&5
27647
27648 ac_lo=`expr '(' $ac_mid ')' + 1`
27649 fi
27650
27651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27652 done
27653 case $ac_lo in
27654 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27655 '') if test "$ac_cv_type_boolean" = yes; then
27656 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27657 See \`config.log' for more details." >&5
27658 echo "$as_me: error: cannot compute sizeof (boolean)
27659 See \`config.log' for more details." >&2;}
27660 { (exit 77); exit 77; }; }
27661 else
27662 ac_cv_sizeof_boolean=0
27663 fi ;;
27664 esac
27665 else
27666 cat >conftest.$ac_ext <<_ACEOF
27667 /* confdefs.h. */
27668 _ACEOF
27669 cat confdefs.h >>conftest.$ac_ext
27670 cat >>conftest.$ac_ext <<_ACEOF
27671 /* end confdefs.h. */
27672
27673 #undef HAVE_BOOLEAN
27674 #include <stdio.h>
27675 #include <jpeglib.h>
27676
27677
27678 typedef boolean ac__type_sizeof_;
27679 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27680 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27681 #include <stdio.h>
27682 #include <stdlib.h>
27683 int
27684 main ()
27685 {
27686
27687 FILE *f = fopen ("conftest.val", "w");
27688 if (! f)
27689 return 1;
27690 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27691 {
27692 long int i = longval ();
27693 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27694 return 1;
27695 fprintf (f, "%ld\n", i);
27696 }
27697 else
27698 {
27699 unsigned long int i = ulongval ();
27700 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27701 return 1;
27702 fprintf (f, "%lu\n", i);
27703 }
27704 return ferror (f) || fclose (f) != 0;
27705
27706 ;
27707 return 0;
27708 }
27709 _ACEOF
27710 rm -f conftest$ac_exeext
27711 if { (ac_try="$ac_link"
27712 case "(($ac_try" in
27713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27714 *) ac_try_echo=$ac_try;;
27715 esac
27716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27717 (eval "$ac_link") 2>&5
27718 ac_status=$?
27719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27720 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27721 { (case "(($ac_try" in
27722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27723 *) ac_try_echo=$ac_try;;
27724 esac
27725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27726 (eval "$ac_try") 2>&5
27727 ac_status=$?
27728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27729 (exit $ac_status); }; }; then
27730 ac_cv_sizeof_boolean=`cat conftest.val`
27731 else
27732 echo "$as_me: program exited with status $ac_status" >&5
27733 echo "$as_me: failed program was:" >&5
27734 sed 's/^/| /' conftest.$ac_ext >&5
27735
27736 ( exit $ac_status )
27737 if test "$ac_cv_type_boolean" = yes; then
27738 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27739 See \`config.log' for more details." >&5
27740 echo "$as_me: error: cannot compute sizeof (boolean)
27741 See \`config.log' for more details." >&2;}
27742 { (exit 77); exit 77; }; }
27743 else
27744 ac_cv_sizeof_boolean=0
27745 fi
27746 fi
27747 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27748 fi
27749 rm -f conftest.val
27750 fi
27751 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27752 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27753
27754
27755
27756 cat >>confdefs.h <<_ACEOF
27757 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27758 _ACEOF
27759
27760
27761 cat >>confdefs.h <<_ACEOF
27762 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27763 _ACEOF
27764
27765
27766 fi
27767
27768 fi
27769 fi
27770 fi
27771 fi
27772 fi
27773
27774
27775 TIFF_LINK=
27776 TIFF_PREREQ_LINKS=-lm
27777 if test "$wxUSE_LIBTIFF" != "no" ; then
27778 cat >>confdefs.h <<\_ACEOF
27779 #define wxUSE_LIBTIFF 1
27780 _ACEOF
27781
27782
27783 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27784 if test "$wxUSE_LIBJPEG" = "sys"; then
27785 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27786 fi
27787 if test "$wxUSE_ZLIB" = "sys"; then
27788 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27789 fi
27790 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27791 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27792 if test "${ac_cv_header_tiffio_h+set}" = set; then
27793 echo $ECHO_N "(cached) $ECHO_C" >&6
27794 else
27795 cat >conftest.$ac_ext <<_ACEOF
27796 /* confdefs.h. */
27797 _ACEOF
27798 cat confdefs.h >>conftest.$ac_ext
27799 cat >>conftest.$ac_ext <<_ACEOF
27800 /* end confdefs.h. */
27801
27802
27803
27804 #include <tiffio.h>
27805 _ACEOF
27806 rm -f conftest.$ac_objext
27807 if { (ac_try="$ac_compile"
27808 case "(($ac_try" in
27809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27810 *) ac_try_echo=$ac_try;;
27811 esac
27812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27813 (eval "$ac_compile") 2>conftest.er1
27814 ac_status=$?
27815 grep -v '^ *+' conftest.er1 >conftest.err
27816 rm -f conftest.er1
27817 cat conftest.err >&5
27818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819 (exit $ac_status); } && {
27820 test -z "$ac_c_werror_flag" ||
27821 test ! -s conftest.err
27822 } && test -s conftest.$ac_objext; then
27823 ac_cv_header_tiffio_h=yes
27824 else
27825 echo "$as_me: failed program was:" >&5
27826 sed 's/^/| /' conftest.$ac_ext >&5
27827
27828 ac_cv_header_tiffio_h=no
27829 fi
27830
27831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27832 fi
27833 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27834 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27835 if test $ac_cv_header_tiffio_h = yes; then
27836
27837 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27838 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27839 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27840 echo $ECHO_N "(cached) $ECHO_C" >&6
27841 else
27842 ac_check_lib_save_LIBS=$LIBS
27843 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27844 cat >conftest.$ac_ext <<_ACEOF
27845 /* confdefs.h. */
27846 _ACEOF
27847 cat confdefs.h >>conftest.$ac_ext
27848 cat >>conftest.$ac_ext <<_ACEOF
27849 /* end confdefs.h. */
27850
27851 /* Override any GCC internal prototype to avoid an error.
27852 Use char because int might match the return type of a GCC
27853 builtin and then its argument prototype would still apply. */
27854 #ifdef __cplusplus
27855 extern "C"
27856 #endif
27857 char TIFFError ();
27858 int
27859 main ()
27860 {
27861 return TIFFError ();
27862 ;
27863 return 0;
27864 }
27865 _ACEOF
27866 rm -f conftest.$ac_objext conftest$ac_exeext
27867 if { (ac_try="$ac_link"
27868 case "(($ac_try" in
27869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27870 *) ac_try_echo=$ac_try;;
27871 esac
27872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27873 (eval "$ac_link") 2>conftest.er1
27874 ac_status=$?
27875 grep -v '^ *+' conftest.er1 >conftest.err
27876 rm -f conftest.er1
27877 cat conftest.err >&5
27878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27879 (exit $ac_status); } && {
27880 test -z "$ac_c_werror_flag" ||
27881 test ! -s conftest.err
27882 } && test -s conftest$ac_exeext &&
27883 $as_test_x conftest$ac_exeext; then
27884 ac_cv_lib_tiff_TIFFError=yes
27885 else
27886 echo "$as_me: failed program was:" >&5
27887 sed 's/^/| /' conftest.$ac_ext >&5
27888
27889 ac_cv_lib_tiff_TIFFError=no
27890 fi
27891
27892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27893 conftest$ac_exeext conftest.$ac_ext
27894 LIBS=$ac_check_lib_save_LIBS
27895 fi
27896 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27897 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27898 if test $ac_cv_lib_tiff_TIFFError = yes; then
27899 TIFF_LINK=" -ltiff"
27900 fi
27901
27902
27903 fi
27904
27905
27906
27907 if test "x$TIFF_LINK" = "x" ; then
27908 if test "$wxUSE_LIBTIFF" = "sys" ; then
27909 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27910 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27911 { (exit 1); exit 1; }; }
27912 else
27913 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27914 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27915 wxUSE_LIBTIFF=builtin
27916 fi
27917 else
27918 wxUSE_LIBTIFF=sys
27919 fi
27920 fi
27921 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27922 if test "$wxUSE_LIBJPEG" = "no"; then
27923 ac_configure_args="$ac_configure_args --disable-jpeg"
27924 fi
27925 subdirs="$subdirs src/tiff"
27926
27927 fi
27928 fi
27929
27930
27931 if test "$wxUSE_WCHAR_T" != "yes"; then
27932 if test "$wxUSE_EXPAT" != "no"; then
27933 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27934 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27935 wxUSE_EXPAT=no
27936 fi
27937 if test "$wxUSE_XML" != "no"; then
27938 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27939 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27940 wxUSE_XML=no
27941 fi
27942 fi
27943
27944 if test "$wxUSE_EXPAT" != "no"; then
27945 wxUSE_XML=yes
27946 cat >>confdefs.h <<\_ACEOF
27947 #define wxUSE_EXPAT 1
27948 _ACEOF
27949
27950 cat >>confdefs.h <<\_ACEOF
27951 #define wxUSE_XML 1
27952 _ACEOF
27953
27954
27955 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27956 { echo "$as_me:$LINENO: checking for expat.h" >&5
27957 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27958 if test "${ac_cv_header_expat_h+set}" = set; then
27959 echo $ECHO_N "(cached) $ECHO_C" >&6
27960 else
27961 cat >conftest.$ac_ext <<_ACEOF
27962 /* confdefs.h. */
27963 _ACEOF
27964 cat confdefs.h >>conftest.$ac_ext
27965 cat >>conftest.$ac_ext <<_ACEOF
27966 /* end confdefs.h. */
27967
27968
27969 #include <expat.h>
27970 _ACEOF
27971 rm -f conftest.$ac_objext
27972 if { (ac_try="$ac_compile"
27973 case "(($ac_try" in
27974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27975 *) ac_try_echo=$ac_try;;
27976 esac
27977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27978 (eval "$ac_compile") 2>conftest.er1
27979 ac_status=$?
27980 grep -v '^ *+' conftest.er1 >conftest.err
27981 rm -f conftest.er1
27982 cat conftest.err >&5
27983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27984 (exit $ac_status); } && {
27985 test -z "$ac_c_werror_flag" ||
27986 test ! -s conftest.err
27987 } && test -s conftest.$ac_objext; then
27988 ac_cv_header_expat_h=yes
27989 else
27990 echo "$as_me: failed program was:" >&5
27991 sed 's/^/| /' conftest.$ac_ext >&5
27992
27993 ac_cv_header_expat_h=no
27994 fi
27995
27996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27997 fi
27998 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27999 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28000 if test $ac_cv_header_expat_h = yes; then
28001 found_expat_h=1
28002 fi
28003
28004
28005 if test "x$found_expat_h" = "x1"; then
28006 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28007 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28008 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28009 echo $ECHO_N "(cached) $ECHO_C" >&6
28010 else
28011
28012 ac_ext=cpp
28013 ac_cpp='$CXXCPP $CPPFLAGS'
28014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28017
28018 cat >conftest.$ac_ext <<_ACEOF
28019 /* confdefs.h. */
28020 _ACEOF
28021 cat confdefs.h >>conftest.$ac_ext
28022 cat >>conftest.$ac_ext <<_ACEOF
28023 /* end confdefs.h. */
28024 #include <expat.h>
28025 int
28026 main ()
28027 {
28028
28029 ;
28030 return 0;
28031 }
28032 _ACEOF
28033 rm -f conftest.$ac_objext
28034 if { (ac_try="$ac_compile"
28035 case "(($ac_try" in
28036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28037 *) ac_try_echo=$ac_try;;
28038 esac
28039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28040 (eval "$ac_compile") 2>conftest.er1
28041 ac_status=$?
28042 grep -v '^ *+' conftest.er1 >conftest.err
28043 rm -f conftest.er1
28044 cat conftest.err >&5
28045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28046 (exit $ac_status); } && {
28047 test -z "$ac_cxx_werror_flag" ||
28048 test ! -s conftest.err
28049 } && test -s conftest.$ac_objext; then
28050 wx_cv_expat_is_not_broken=yes
28051 else
28052 echo "$as_me: failed program was:" >&5
28053 sed 's/^/| /' conftest.$ac_ext >&5
28054
28055 wx_cv_expat_is_not_broken=no
28056
28057 fi
28058
28059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28060 ac_ext=c
28061 ac_cpp='$CPP $CPPFLAGS'
28062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28065
28066
28067
28068 fi
28069 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28070 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28071 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28072 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28073 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28074 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28075 echo $ECHO_N "(cached) $ECHO_C" >&6
28076 else
28077 ac_check_lib_save_LIBS=$LIBS
28078 LIBS="-lexpat $LIBS"
28079 cat >conftest.$ac_ext <<_ACEOF
28080 /* confdefs.h. */
28081 _ACEOF
28082 cat confdefs.h >>conftest.$ac_ext
28083 cat >>conftest.$ac_ext <<_ACEOF
28084 /* end confdefs.h. */
28085
28086 /* Override any GCC internal prototype to avoid an error.
28087 Use char because int might match the return type of a GCC
28088 builtin and then its argument prototype would still apply. */
28089 #ifdef __cplusplus
28090 extern "C"
28091 #endif
28092 char XML_ParserCreate ();
28093 int
28094 main ()
28095 {
28096 return XML_ParserCreate ();
28097 ;
28098 return 0;
28099 }
28100 _ACEOF
28101 rm -f conftest.$ac_objext conftest$ac_exeext
28102 if { (ac_try="$ac_link"
28103 case "(($ac_try" in
28104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28105 *) ac_try_echo=$ac_try;;
28106 esac
28107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28108 (eval "$ac_link") 2>conftest.er1
28109 ac_status=$?
28110 grep -v '^ *+' conftest.er1 >conftest.err
28111 rm -f conftest.er1
28112 cat conftest.err >&5
28113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28114 (exit $ac_status); } && {
28115 test -z "$ac_c_werror_flag" ||
28116 test ! -s conftest.err
28117 } && test -s conftest$ac_exeext &&
28118 $as_test_x conftest$ac_exeext; then
28119 ac_cv_lib_expat_XML_ParserCreate=yes
28120 else
28121 echo "$as_me: failed program was:" >&5
28122 sed 's/^/| /' conftest.$ac_ext >&5
28123
28124 ac_cv_lib_expat_XML_ParserCreate=no
28125 fi
28126
28127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28128 conftest$ac_exeext conftest.$ac_ext
28129 LIBS=$ac_check_lib_save_LIBS
28130 fi
28131 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28132 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28133 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28134 EXPAT_LINK=" -lexpat"
28135 fi
28136
28137 fi
28138 fi
28139 if test "x$EXPAT_LINK" = "x" ; then
28140 if test "$wxUSE_EXPAT" = "sys" ; then
28141 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28142 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28143 { (exit 1); exit 1; }; }
28144 else
28145 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28146 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28147 wxUSE_EXPAT=builtin
28148 fi
28149 else
28150 wxUSE_EXPAT=sys
28151 fi
28152 fi
28153 if test "$wxUSE_EXPAT" = "builtin" ; then
28154 subdirs="$subdirs src/expat"
28155
28156 fi
28157 fi
28158
28159
28160
28161 if test "$wxUSE_LIBMSPACK" != "no"; then
28162 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28163 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28164 if test "${ac_cv_header_mspack_h+set}" = set; then
28165 echo $ECHO_N "(cached) $ECHO_C" >&6
28166 else
28167 cat >conftest.$ac_ext <<_ACEOF
28168 /* confdefs.h. */
28169 _ACEOF
28170 cat confdefs.h >>conftest.$ac_ext
28171 cat >>conftest.$ac_ext <<_ACEOF
28172 /* end confdefs.h. */
28173
28174
28175 #include <mspack.h>
28176 _ACEOF
28177 rm -f conftest.$ac_objext
28178 if { (ac_try="$ac_compile"
28179 case "(($ac_try" in
28180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28181 *) ac_try_echo=$ac_try;;
28182 esac
28183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28184 (eval "$ac_compile") 2>conftest.er1
28185 ac_status=$?
28186 grep -v '^ *+' conftest.er1 >conftest.err
28187 rm -f conftest.er1
28188 cat conftest.err >&5
28189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28190 (exit $ac_status); } && {
28191 test -z "$ac_c_werror_flag" ||
28192 test ! -s conftest.err
28193 } && test -s conftest.$ac_objext; then
28194 ac_cv_header_mspack_h=yes
28195 else
28196 echo "$as_me: failed program was:" >&5
28197 sed 's/^/| /' conftest.$ac_ext >&5
28198
28199 ac_cv_header_mspack_h=no
28200 fi
28201
28202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28203 fi
28204 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28205 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28206 if test $ac_cv_header_mspack_h = yes; then
28207 found_mspack_h=1
28208 fi
28209
28210
28211 if test "x$found_mspack_h" = "x1"; then
28212 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28213 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28214 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28215 echo $ECHO_N "(cached) $ECHO_C" >&6
28216 else
28217 ac_check_lib_save_LIBS=$LIBS
28218 LIBS="-lmspack $LIBS"
28219 cat >conftest.$ac_ext <<_ACEOF
28220 /* confdefs.h. */
28221 _ACEOF
28222 cat confdefs.h >>conftest.$ac_ext
28223 cat >>conftest.$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28225
28226 /* Override any GCC internal prototype to avoid an error.
28227 Use char because int might match the return type of a GCC
28228 builtin and then its argument prototype would still apply. */
28229 #ifdef __cplusplus
28230 extern "C"
28231 #endif
28232 char mspack_create_chm_decompressor ();
28233 int
28234 main ()
28235 {
28236 return mspack_create_chm_decompressor ();
28237 ;
28238 return 0;
28239 }
28240 _ACEOF
28241 rm -f conftest.$ac_objext conftest$ac_exeext
28242 if { (ac_try="$ac_link"
28243 case "(($ac_try" in
28244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28245 *) ac_try_echo=$ac_try;;
28246 esac
28247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28248 (eval "$ac_link") 2>conftest.er1
28249 ac_status=$?
28250 grep -v '^ *+' conftest.er1 >conftest.err
28251 rm -f conftest.er1
28252 cat conftest.err >&5
28253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28254 (exit $ac_status); } && {
28255 test -z "$ac_c_werror_flag" ||
28256 test ! -s conftest.err
28257 } && test -s conftest$ac_exeext &&
28258 $as_test_x conftest$ac_exeext; then
28259 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28260 else
28261 echo "$as_me: failed program was:" >&5
28262 sed 's/^/| /' conftest.$ac_ext >&5
28263
28264 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28265 fi
28266
28267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28268 conftest$ac_exeext conftest.$ac_ext
28269 LIBS=$ac_check_lib_save_LIBS
28270 fi
28271 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28272 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28273 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28274 MSPACK_LINK=" -lmspack"
28275 fi
28276
28277 fi
28278 if test "x$MSPACK_LINK" = "x" ; then
28279 wxUSE_LIBMSPACK=no
28280 fi
28281 fi
28282
28283 if test "$wxUSE_LIBMSPACK" != "no"; then
28284 cat >>confdefs.h <<\_ACEOF
28285 #define wxUSE_LIBMSPACK 1
28286 _ACEOF
28287
28288 fi
28289
28290
28291
28292 AFMINSTALL=
28293 WIN32INSTALL=
28294
28295 TOOLKIT=
28296 TOOLKIT_INCLUDE=
28297 WIDGET_SET=
28298
28299 if test "$USE_WIN32" = 1 ; then
28300
28301 for ac_header in w32api.h
28302 do
28303 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28304 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28306 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28307 echo $ECHO_N "(cached) $ECHO_C" >&6
28308 else
28309 cat >conftest.$ac_ext <<_ACEOF
28310 /* confdefs.h. */
28311 _ACEOF
28312 cat confdefs.h >>conftest.$ac_ext
28313 cat >>conftest.$ac_ext <<_ACEOF
28314 /* end confdefs.h. */
28315
28316
28317 #include <$ac_header>
28318 _ACEOF
28319 rm -f conftest.$ac_objext
28320 if { (ac_try="$ac_compile"
28321 case "(($ac_try" in
28322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28323 *) ac_try_echo=$ac_try;;
28324 esac
28325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28326 (eval "$ac_compile") 2>conftest.er1
28327 ac_status=$?
28328 grep -v '^ *+' conftest.er1 >conftest.err
28329 rm -f conftest.er1
28330 cat conftest.err >&5
28331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28332 (exit $ac_status); } && {
28333 test -z "$ac_c_werror_flag" ||
28334 test ! -s conftest.err
28335 } && test -s conftest.$ac_objext; then
28336 eval "$as_ac_Header=yes"
28337 else
28338 echo "$as_me: failed program was:" >&5
28339 sed 's/^/| /' conftest.$ac_ext >&5
28340
28341 eval "$as_ac_Header=no"
28342 fi
28343
28344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28345 fi
28346 ac_res=`eval echo '${'$as_ac_Header'}'`
28347 { echo "$as_me:$LINENO: result: $ac_res" >&5
28348 echo "${ECHO_T}$ac_res" >&6; }
28349 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28350 cat >>confdefs.h <<_ACEOF
28351 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28352 _ACEOF
28353
28354 fi
28355
28356 done
28357
28358 { echo "$as_me:$LINENO: checking for windows.h" >&5
28359 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28360 if test "${ac_cv_header_windows_h+set}" = set; then
28361 echo $ECHO_N "(cached) $ECHO_C" >&6
28362 else
28363 cat >conftest.$ac_ext <<_ACEOF
28364 /* confdefs.h. */
28365 _ACEOF
28366 cat confdefs.h >>conftest.$ac_ext
28367 cat >>conftest.$ac_ext <<_ACEOF
28368 /* end confdefs.h. */
28369
28370
28371 #include <windows.h>
28372 _ACEOF
28373 rm -f conftest.$ac_objext
28374 if { (ac_try="$ac_compile"
28375 case "(($ac_try" in
28376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28377 *) ac_try_echo=$ac_try;;
28378 esac
28379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28380 (eval "$ac_compile") 2>conftest.er1
28381 ac_status=$?
28382 grep -v '^ *+' conftest.er1 >conftest.err
28383 rm -f conftest.er1
28384 cat conftest.err >&5
28385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28386 (exit $ac_status); } && {
28387 test -z "$ac_c_werror_flag" ||
28388 test ! -s conftest.err
28389 } && test -s conftest.$ac_objext; then
28390 ac_cv_header_windows_h=yes
28391 else
28392 echo "$as_me: failed program was:" >&5
28393 sed 's/^/| /' conftest.$ac_ext >&5
28394
28395 ac_cv_header_windows_h=no
28396 fi
28397
28398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28399 fi
28400 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28401 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28402 if test $ac_cv_header_windows_h = yes; then
28403 :
28404 else
28405
28406 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28407 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28408 { (exit 1); exit 1; }; }
28409
28410 fi
28411
28412
28413
28414 case "${host}" in
28415 x86_64-*-mingw32* )
28416 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28417
28418 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
28419 ;;
28420 * )
28421 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28422 ;;
28423 esac
28424 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28425 LIBS="$LIBS -loleacc"
28426 fi
28427
28428 case "${host}" in
28429 *-*-cygwin* )
28430 LIBS="$LIBS -lkernel32 -luser32"
28431 esac
28432
28433 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28434 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28435
28436 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28437
28438 WIN32INSTALL=win32install
28439
28440 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28441 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28442 if test "${ac_cv_header_pbt_h+set}" = set; then
28443 echo $ECHO_N "(cached) $ECHO_C" >&6
28444 else
28445 cat >conftest.$ac_ext <<_ACEOF
28446 /* confdefs.h. */
28447 _ACEOF
28448 cat confdefs.h >>conftest.$ac_ext
28449 cat >>conftest.$ac_ext <<_ACEOF
28450 /* end confdefs.h. */
28451
28452
28453 #include <pbt.h>
28454 _ACEOF
28455 rm -f conftest.$ac_objext
28456 if { (ac_try="$ac_compile"
28457 case "(($ac_try" in
28458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28459 *) ac_try_echo=$ac_try;;
28460 esac
28461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28462 (eval "$ac_compile") 2>conftest.er1
28463 ac_status=$?
28464 grep -v '^ *+' conftest.er1 >conftest.err
28465 rm -f conftest.er1
28466 cat conftest.err >&5
28467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28468 (exit $ac_status); } && {
28469 test -z "$ac_c_werror_flag" ||
28470 test ! -s conftest.err
28471 } && test -s conftest.$ac_objext; then
28472 ac_cv_header_pbt_h=yes
28473 else
28474 echo "$as_me: failed program was:" >&5
28475 sed 's/^/| /' conftest.$ac_ext >&5
28476
28477 ac_cv_header_pbt_h=no
28478 fi
28479
28480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28481 fi
28482 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28483 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28484 if test $ac_cv_header_pbt_h = yes; then
28485 :
28486 else
28487 cat >>confdefs.h <<\_ACEOF
28488 #define NEED_PBT_H 1
28489 _ACEOF
28490
28491 fi
28492
28493
28494 fi
28495
28496 if test "$wxUSE_GUI" = "yes"; then
28497 USE_GUI=1
28498
28499 GUI_TK_LIBRARY=
28500
28501 WXGTK12=
28502 WXGTK127=
28503 WXGTK2=
28504 WXGPE=
28505
28506 if test "$wxUSE_COCOA" = 1 ; then
28507 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28508 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28509 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28510 wxUSE_PRINTING_ARCHITECTURE=no
28511 fi
28512 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28513 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28514 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28515 wxUSE_DRAG_AND_DROP=no
28516 fi
28517 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28518 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28519 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28520 wxUSE_DRAGIMAGE=no
28521 fi
28522 fi
28523
28524 if test "$wxUSE_MSW" = 1 ; then
28525 TOOLKIT=MSW
28526 GUIDIST=MSW_DIST
28527
28528 case "${host}" in
28529 *-*-mingw32* )
28530 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28531 esac
28532 fi
28533
28534 if test "$wxUSE_GTK" = 1; then
28535 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28536 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28537
28538 gtk_version_cached=1
28539 if test "${wx_cv_lib_gtk+set}" = set; then
28540 echo $ECHO_N "(cached) $ECHO_C" >&6
28541 else
28542
28543 gtk_version_cached=0
28544 { echo "$as_me:$LINENO: result: " >&5
28545 echo "${ECHO_T}" >&6; }
28546
28547 GTK_MODULES=
28548 if test "$wxUSE_THREADS" = "yes"; then
28549 GTK_MODULES=gthread
28550 fi
28551
28552 wx_cv_lib_gtk=
28553 if test "x$wxGTK_VERSION" != "x1"
28554 then
28555 case "${host}" in
28556 *-*-solaris2* )
28557 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28558 enable_gtktest=no
28559 fi
28560 esac
28561
28562 # Check whether --enable-gtktest was given.
28563 if test "${enable_gtktest+set}" = set; then
28564 enableval=$enable_gtktest;
28565 else
28566 enable_gtktest=yes
28567 fi
28568
28569
28570 pkg_config_args=gtk+-2.0
28571 for module in . $GTK_MODULES
28572 do
28573 case "$module" in
28574 gthread)
28575 pkg_config_args="$pkg_config_args gthread-2.0"
28576 ;;
28577 esac
28578 done
28579
28580 no_gtk=""
28581
28582 # Extract the first word of "pkg-config", so it can be a program name with args.
28583 set dummy pkg-config; ac_word=$2
28584 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28586 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28587 echo $ECHO_N "(cached) $ECHO_C" >&6
28588 else
28589 case $PKG_CONFIG in
28590 [\\/]* | ?:[\\/]*)
28591 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28592 ;;
28593 *)
28594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28595 for as_dir in $PATH
28596 do
28597 IFS=$as_save_IFS
28598 test -z "$as_dir" && as_dir=.
28599 for ac_exec_ext in '' $ac_executable_extensions; do
28600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28601 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28603 break 2
28604 fi
28605 done
28606 done
28607 IFS=$as_save_IFS
28608
28609 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28610 ;;
28611 esac
28612 fi
28613 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28614 if test -n "$PKG_CONFIG"; then
28615 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28616 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28617 else
28618 { echo "$as_me:$LINENO: result: no" >&5
28619 echo "${ECHO_T}no" >&6; }
28620 fi
28621
28622
28623
28624 if test x$PKG_CONFIG != xno ; then
28625 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28626 :
28627 else
28628 echo "*** pkg-config too old; version 0.7 or better required."
28629 no_gtk=yes
28630 PKG_CONFIG=no
28631 fi
28632 else
28633 no_gtk=yes
28634 fi
28635
28636 min_gtk_version=2.4.0
28637 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28638 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28639
28640 if test x$PKG_CONFIG != xno ; then
28641 ## don't try to run the test against uninstalled libtool libs
28642 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28643 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28644 enable_gtktest=no
28645 fi
28646
28647 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28648 :
28649 else
28650 no_gtk=yes
28651 fi
28652 fi
28653
28654 if test x"$no_gtk" = x ; then
28655 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28656 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28657 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28658 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28659 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28660 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28661 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28662 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28663 if test "x$enable_gtktest" = "xyes" ; then
28664 ac_save_CFLAGS="$CFLAGS"
28665 ac_save_LIBS="$LIBS"
28666 CFLAGS="$CFLAGS $GTK_CFLAGS"
28667 LIBS="$GTK_LIBS $LIBS"
28668 rm -f conf.gtktest
28669 if test "$cross_compiling" = yes; then
28670 echo $ac_n "cross compiling; assumed OK... $ac_c"
28671 else
28672 cat >conftest.$ac_ext <<_ACEOF
28673 /* confdefs.h. */
28674 _ACEOF
28675 cat confdefs.h >>conftest.$ac_ext
28676 cat >>conftest.$ac_ext <<_ACEOF
28677 /* end confdefs.h. */
28678
28679 #include <gtk/gtk.h>
28680 #include <stdio.h>
28681 #include <stdlib.h>
28682
28683 int
28684 main ()
28685 {
28686 int major, minor, micro;
28687 char *tmp_version;
28688
28689 system ("touch conf.gtktest");
28690
28691 /* HP/UX 9 (%@#!) writes to sscanf strings */
28692 tmp_version = g_strdup("$min_gtk_version");
28693 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28694 printf("%s, bad version string\n", "$min_gtk_version");
28695 exit(1);
28696 }
28697
28698 if ((gtk_major_version != $gtk_config_major_version) ||
28699 (gtk_minor_version != $gtk_config_minor_version) ||
28700 (gtk_micro_version != $gtk_config_micro_version))
28701 {
28702 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28703 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28704 gtk_major_version, gtk_minor_version, gtk_micro_version);
28705 printf ("*** was found! If pkg-config was correct, then it is best\n");
28706 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28707 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28708 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28709 printf("*** required on your system.\n");
28710 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28711 printf("*** to point to the correct configuration files\n");
28712 }
28713 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28714 (gtk_minor_version != GTK_MINOR_VERSION) ||
28715 (gtk_micro_version != GTK_MICRO_VERSION))
28716 {
28717 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28718 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28719 printf("*** library (version %d.%d.%d)\n",
28720 gtk_major_version, gtk_minor_version, gtk_micro_version);
28721 }
28722 else
28723 {
28724 if ((gtk_major_version > major) ||
28725 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28726 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28727 {
28728 return 0;
28729 }
28730 else
28731 {
28732 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28733 gtk_major_version, gtk_minor_version, gtk_micro_version);
28734 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28735 major, minor, micro);
28736 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28737 printf("***\n");
28738 printf("*** If you have already installed a sufficiently new version, this error\n");
28739 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28740 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28741 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28742 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28743 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28744 printf("*** so that the correct libraries are found at run-time))\n");
28745 }
28746 }
28747 return 1;
28748 }
28749
28750 _ACEOF
28751 rm -f conftest$ac_exeext
28752 if { (ac_try="$ac_link"
28753 case "(($ac_try" in
28754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28755 *) ac_try_echo=$ac_try;;
28756 esac
28757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28758 (eval "$ac_link") 2>&5
28759 ac_status=$?
28760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28761 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28762 { (case "(($ac_try" in
28763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28764 *) ac_try_echo=$ac_try;;
28765 esac
28766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28767 (eval "$ac_try") 2>&5
28768 ac_status=$?
28769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28770 (exit $ac_status); }; }; then
28771 :
28772 else
28773 echo "$as_me: program exited with status $ac_status" >&5
28774 echo "$as_me: failed program was:" >&5
28775 sed 's/^/| /' conftest.$ac_ext >&5
28776
28777 ( exit $ac_status )
28778 no_gtk=yes
28779 fi
28780 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28781 fi
28782
28783
28784 CFLAGS="$ac_save_CFLAGS"
28785 LIBS="$ac_save_LIBS"
28786 fi
28787 fi
28788 if test "x$no_gtk" = x ; then
28789 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28790 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28791 wx_cv_lib_gtk=2.0
28792 else
28793 { echo "$as_me:$LINENO: result: no" >&5
28794 echo "${ECHO_T}no" >&6; }
28795 if test "$PKG_CONFIG" = "no" ; then
28796 echo "*** A new enough version of pkg-config was not found."
28797 echo "*** See http://pkgconfig.sourceforge.net"
28798 else
28799 if test -f conf.gtktest ; then
28800 :
28801 else
28802 echo "*** Could not run GTK+ test program, checking why..."
28803 ac_save_CFLAGS="$CFLAGS"
28804 ac_save_LIBS="$LIBS"
28805 CFLAGS="$CFLAGS $GTK_CFLAGS"
28806 LIBS="$LIBS $GTK_LIBS"
28807 cat >conftest.$ac_ext <<_ACEOF
28808 /* confdefs.h. */
28809 _ACEOF
28810 cat confdefs.h >>conftest.$ac_ext
28811 cat >>conftest.$ac_ext <<_ACEOF
28812 /* end confdefs.h. */
28813
28814 #include <gtk/gtk.h>
28815 #include <stdio.h>
28816
28817 int
28818 main ()
28819 {
28820 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28821 ;
28822 return 0;
28823 }
28824 _ACEOF
28825 rm -f conftest.$ac_objext conftest$ac_exeext
28826 if { (ac_try="$ac_link"
28827 case "(($ac_try" in
28828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28829 *) ac_try_echo=$ac_try;;
28830 esac
28831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28832 (eval "$ac_link") 2>conftest.er1
28833 ac_status=$?
28834 grep -v '^ *+' conftest.er1 >conftest.err
28835 rm -f conftest.er1
28836 cat conftest.err >&5
28837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28838 (exit $ac_status); } && {
28839 test -z "$ac_c_werror_flag" ||
28840 test ! -s conftest.err
28841 } && test -s conftest$ac_exeext &&
28842 $as_test_x conftest$ac_exeext; then
28843 echo "*** The test program compiled, but did not run. This usually means"
28844 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28845 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28846 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28847 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28848 echo "*** is required on your system"
28849 echo "***"
28850 echo "*** If you have an old version installed, it is best to remove it, although"
28851 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28852 else
28853 echo "$as_me: failed program was:" >&5
28854 sed 's/^/| /' conftest.$ac_ext >&5
28855
28856 echo "*** The test program failed to compile or link. See the file config.log for the"
28857 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28858 fi
28859
28860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28861 conftest$ac_exeext conftest.$ac_ext
28862 CFLAGS="$ac_save_CFLAGS"
28863 LIBS="$ac_save_LIBS"
28864 fi
28865 fi
28866 GTK_CFLAGS=""
28867 GTK_LIBS=""
28868 :
28869 fi
28870
28871
28872 rm -f conf.gtktest
28873
28874
28875 case "${host}" in
28876 *-*-solaris2* )
28877 if test "$wxUSE_SHARED" != "yes"; then
28878 GTK_LIBS="$GTK_LIBS -lX11"
28879 fi
28880 esac
28881 fi
28882
28883 if test -z "$wx_cv_lib_gtk"; then
28884 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28885
28886 # Check whether --with-gtk-prefix was given.
28887 if test "${with_gtk_prefix+set}" = set; then
28888 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28889 else
28890 gtk_config_prefix=""
28891 fi
28892
28893
28894 # Check whether --with-gtk-exec-prefix was given.
28895 if test "${with_gtk_exec_prefix+set}" = set; then
28896 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28897 else
28898 gtk_config_exec_prefix=""
28899 fi
28900
28901 # Check whether --enable-gtktest was given.
28902 if test "${enable_gtktest+set}" = set; then
28903 enableval=$enable_gtktest;
28904 else
28905 enable_gtktest=yes
28906 fi
28907
28908
28909 for module in . $GTK_MODULES
28910 do
28911 case "$module" in
28912 gthread)
28913 gtk_config_args="$gtk_config_args gthread"
28914 ;;
28915 esac
28916 done
28917
28918 if test x$gtk_config_exec_prefix != x ; then
28919 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28920 if test x${GTK_CONFIG+set} != xset ; then
28921 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28922 fi
28923 fi
28924 if test x$gtk_config_prefix != x ; then
28925 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28926 if test x${GTK_CONFIG+set} != xset ; then
28927 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28928 fi
28929 fi
28930
28931 # Extract the first word of "gtk-config", so it can be a program name with args.
28932 set dummy gtk-config; ac_word=$2
28933 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28935 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28936 echo $ECHO_N "(cached) $ECHO_C" >&6
28937 else
28938 case $GTK_CONFIG in
28939 [\\/]* | ?:[\\/]*)
28940 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28941 ;;
28942 *)
28943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28944 for as_dir in $PATH
28945 do
28946 IFS=$as_save_IFS
28947 test -z "$as_dir" && as_dir=.
28948 for ac_exec_ext in '' $ac_executable_extensions; do
28949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28950 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28952 break 2
28953 fi
28954 done
28955 done
28956 IFS=$as_save_IFS
28957
28958 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28959 ;;
28960 esac
28961 fi
28962 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28963 if test -n "$GTK_CONFIG"; then
28964 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28965 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28966 else
28967 { echo "$as_me:$LINENO: result: no" >&5
28968 echo "${ECHO_T}no" >&6; }
28969 fi
28970
28971
28972 min_gtk_version=1.2.7
28973 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28974 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28975 no_gtk=""
28976 if test "$GTK_CONFIG" = "no" ; then
28977 no_gtk=yes
28978 else
28979 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28980 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28981 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28982 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28983 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28984 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28985 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28986 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28987 if test "x$enable_gtktest" = "xyes" ; then
28988 ac_save_CFLAGS="$CFLAGS"
28989 ac_save_LIBS="$LIBS"
28990 CFLAGS="$CFLAGS $GTK_CFLAGS"
28991 LIBS="$GTK_LIBS $LIBS"
28992 rm -f conf.gtktest
28993 if test "$cross_compiling" = yes; then
28994 echo $ac_n "cross compiling; assumed OK... $ac_c"
28995 else
28996 cat >conftest.$ac_ext <<_ACEOF
28997 /* confdefs.h. */
28998 _ACEOF
28999 cat confdefs.h >>conftest.$ac_ext
29000 cat >>conftest.$ac_ext <<_ACEOF
29001 /* end confdefs.h. */
29002
29003 #include <gtk/gtk.h>
29004 #include <stdio.h>
29005 #include <stdlib.h>
29006
29007 int
29008 main ()
29009 {
29010 int major, minor, micro;
29011 char *tmp_version;
29012
29013 system ("touch conf.gtktest");
29014
29015 /* HP/UX 9 (%@#!) writes to sscanf strings */
29016 tmp_version = g_strdup("$min_gtk_version");
29017 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29018 printf("%s, bad version string\n", "$min_gtk_version");
29019 exit(1);
29020 }
29021
29022 if ((gtk_major_version != $gtk_config_major_version) ||
29023 (gtk_minor_version != $gtk_config_minor_version) ||
29024 (gtk_micro_version != $gtk_config_micro_version))
29025 {
29026 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29027 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29028 gtk_major_version, gtk_minor_version, gtk_micro_version);
29029 printf ("*** was found! If gtk-config was correct, then it is best\n");
29030 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29031 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29032 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29033 printf("*** required on your system.\n");
29034 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29035 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29036 printf("*** before re-running configure\n");
29037 }
29038 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29039 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29040 (gtk_minor_version != GTK_MINOR_VERSION) ||
29041 (gtk_micro_version != GTK_MICRO_VERSION))
29042 {
29043 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29044 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29045 printf("*** library (version %d.%d.%d)\n",
29046 gtk_major_version, gtk_minor_version, gtk_micro_version);
29047 }
29048 #endif /* defined (GTK_MAJOR_VERSION) ... */
29049 else
29050 {
29051 if ((gtk_major_version > major) ||
29052 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29053 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29054 {
29055 return 0;
29056 }
29057 else
29058 {
29059 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29060 gtk_major_version, gtk_minor_version, gtk_micro_version);
29061 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29062 major, minor, micro);
29063 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29064 printf("***\n");
29065 printf("*** If you have already installed a sufficiently new version, this error\n");
29066 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29067 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29068 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29069 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29070 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29071 printf("*** so that the correct libraries are found at run-time))\n");
29072 }
29073 }
29074 return 1;
29075 }
29076
29077 _ACEOF
29078 rm -f conftest$ac_exeext
29079 if { (ac_try="$ac_link"
29080 case "(($ac_try" in
29081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29082 *) ac_try_echo=$ac_try;;
29083 esac
29084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29085 (eval "$ac_link") 2>&5
29086 ac_status=$?
29087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29088 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29089 { (case "(($ac_try" in
29090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29091 *) ac_try_echo=$ac_try;;
29092 esac
29093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29094 (eval "$ac_try") 2>&5
29095 ac_status=$?
29096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29097 (exit $ac_status); }; }; then
29098 :
29099 else
29100 echo "$as_me: program exited with status $ac_status" >&5
29101 echo "$as_me: failed program was:" >&5
29102 sed 's/^/| /' conftest.$ac_ext >&5
29103
29104 ( exit $ac_status )
29105 no_gtk=yes
29106 fi
29107 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29108 fi
29109
29110
29111 CFLAGS="$ac_save_CFLAGS"
29112 LIBS="$ac_save_LIBS"
29113 fi
29114 fi
29115 if test "x$no_gtk" = x ; then
29116 { echo "$as_me:$LINENO: result: yes" >&5
29117 echo "${ECHO_T}yes" >&6; }
29118 wx_cv_lib_gtk=1.2.7
29119 else
29120 { echo "$as_me:$LINENO: result: no" >&5
29121 echo "${ECHO_T}no" >&6; }
29122 if test "$GTK_CONFIG" = "no" ; then
29123 echo "*** The gtk-config script installed by GTK could not be found"
29124 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29125 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29126 echo "*** full path to gtk-config."
29127 else
29128 if test -f conf.gtktest ; then
29129 :
29130 else
29131 echo "*** Could not run GTK test program, checking why..."
29132 CFLAGS="$CFLAGS $GTK_CFLAGS"
29133 LIBS="$LIBS $GTK_LIBS"
29134 cat >conftest.$ac_ext <<_ACEOF
29135 /* confdefs.h. */
29136 _ACEOF
29137 cat confdefs.h >>conftest.$ac_ext
29138 cat >>conftest.$ac_ext <<_ACEOF
29139 /* end confdefs.h. */
29140
29141 #include <gtk/gtk.h>
29142 #include <stdio.h>
29143
29144 int
29145 main ()
29146 {
29147 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29148 ;
29149 return 0;
29150 }
29151 _ACEOF
29152 rm -f conftest.$ac_objext conftest$ac_exeext
29153 if { (ac_try="$ac_link"
29154 case "(($ac_try" in
29155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29156 *) ac_try_echo=$ac_try;;
29157 esac
29158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29159 (eval "$ac_link") 2>conftest.er1
29160 ac_status=$?
29161 grep -v '^ *+' conftest.er1 >conftest.err
29162 rm -f conftest.er1
29163 cat conftest.err >&5
29164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29165 (exit $ac_status); } && {
29166 test -z "$ac_c_werror_flag" ||
29167 test ! -s conftest.err
29168 } && test -s conftest$ac_exeext &&
29169 $as_test_x conftest$ac_exeext; then
29170 echo "*** The test program compiled, but did not run. This usually means"
29171 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29172 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29173 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29174 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29175 echo "*** is required on your system"
29176 echo "***"
29177 echo "*** If you have an old version installed, it is best to remove it, although"
29178 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29179 echo "***"
29180 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29181 echo "*** came with the system with the command"
29182 echo "***"
29183 echo "*** rpm --erase --nodeps gtk gtk-devel"
29184 else
29185 echo "$as_me: failed program was:" >&5
29186 sed 's/^/| /' conftest.$ac_ext >&5
29187
29188 echo "*** The test program failed to compile or link. See the file config.log for the"
29189 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29190 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29191 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29192 fi
29193
29194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29195 conftest$ac_exeext conftest.$ac_ext
29196 CFLAGS="$ac_save_CFLAGS"
29197 LIBS="$ac_save_LIBS"
29198 fi
29199 fi
29200 GTK_CFLAGS=""
29201 GTK_LIBS=""
29202 :
29203 fi
29204
29205
29206 rm -f conf.gtktest
29207
29208
29209 if test -z "$wx_cv_lib_gtk"; then
29210
29211 # Check whether --with-gtk-prefix was given.
29212 if test "${with_gtk_prefix+set}" = set; then
29213 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29214 else
29215 gtk_config_prefix=""
29216 fi
29217
29218
29219 # Check whether --with-gtk-exec-prefix was given.
29220 if test "${with_gtk_exec_prefix+set}" = set; then
29221 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29222 else
29223 gtk_config_exec_prefix=""
29224 fi
29225
29226 # Check whether --enable-gtktest was given.
29227 if test "${enable_gtktest+set}" = set; then
29228 enableval=$enable_gtktest;
29229 else
29230 enable_gtktest=yes
29231 fi
29232
29233
29234 for module in . $GTK_MODULES
29235 do
29236 case "$module" in
29237 gthread)
29238 gtk_config_args="$gtk_config_args gthread"
29239 ;;
29240 esac
29241 done
29242
29243 if test x$gtk_config_exec_prefix != x ; then
29244 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29245 if test x${GTK_CONFIG+set} != xset ; then
29246 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29247 fi
29248 fi
29249 if test x$gtk_config_prefix != x ; then
29250 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29251 if test x${GTK_CONFIG+set} != xset ; then
29252 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29253 fi
29254 fi
29255
29256 # Extract the first word of "gtk-config", so it can be a program name with args.
29257 set dummy gtk-config; ac_word=$2
29258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29260 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29261 echo $ECHO_N "(cached) $ECHO_C" >&6
29262 else
29263 case $GTK_CONFIG in
29264 [\\/]* | ?:[\\/]*)
29265 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29266 ;;
29267 *)
29268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29269 for as_dir in $PATH
29270 do
29271 IFS=$as_save_IFS
29272 test -z "$as_dir" && as_dir=.
29273 for ac_exec_ext in '' $ac_executable_extensions; do
29274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29275 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29277 break 2
29278 fi
29279 done
29280 done
29281 IFS=$as_save_IFS
29282
29283 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29284 ;;
29285 esac
29286 fi
29287 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29288 if test -n "$GTK_CONFIG"; then
29289 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29290 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29291 else
29292 { echo "$as_me:$LINENO: result: no" >&5
29293 echo "${ECHO_T}no" >&6; }
29294 fi
29295
29296
29297 min_gtk_version=1.2.3
29298 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29299 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29300 no_gtk=""
29301 if test "$GTK_CONFIG" = "no" ; then
29302 no_gtk=yes
29303 else
29304 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29305 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29306 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29307 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29308 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29309 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29310 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29311 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29312 if test "x$enable_gtktest" = "xyes" ; then
29313 ac_save_CFLAGS="$CFLAGS"
29314 ac_save_LIBS="$LIBS"
29315 CFLAGS="$CFLAGS $GTK_CFLAGS"
29316 LIBS="$GTK_LIBS $LIBS"
29317 rm -f conf.gtktest
29318 if test "$cross_compiling" = yes; then
29319 echo $ac_n "cross compiling; assumed OK... $ac_c"
29320 else
29321 cat >conftest.$ac_ext <<_ACEOF
29322 /* confdefs.h. */
29323 _ACEOF
29324 cat confdefs.h >>conftest.$ac_ext
29325 cat >>conftest.$ac_ext <<_ACEOF
29326 /* end confdefs.h. */
29327
29328 #include <gtk/gtk.h>
29329 #include <stdio.h>
29330 #include <stdlib.h>
29331
29332 int
29333 main ()
29334 {
29335 int major, minor, micro;
29336 char *tmp_version;
29337
29338 system ("touch conf.gtktest");
29339
29340 /* HP/UX 9 (%@#!) writes to sscanf strings */
29341 tmp_version = g_strdup("$min_gtk_version");
29342 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29343 printf("%s, bad version string\n", "$min_gtk_version");
29344 exit(1);
29345 }
29346
29347 if ((gtk_major_version != $gtk_config_major_version) ||
29348 (gtk_minor_version != $gtk_config_minor_version) ||
29349 (gtk_micro_version != $gtk_config_micro_version))
29350 {
29351 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29352 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29353 gtk_major_version, gtk_minor_version, gtk_micro_version);
29354 printf ("*** was found! If gtk-config was correct, then it is best\n");
29355 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29356 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29357 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29358 printf("*** required on your system.\n");
29359 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29360 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29361 printf("*** before re-running configure\n");
29362 }
29363 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29364 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29365 (gtk_minor_version != GTK_MINOR_VERSION) ||
29366 (gtk_micro_version != GTK_MICRO_VERSION))
29367 {
29368 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29369 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29370 printf("*** library (version %d.%d.%d)\n",
29371 gtk_major_version, gtk_minor_version, gtk_micro_version);
29372 }
29373 #endif /* defined (GTK_MAJOR_VERSION) ... */
29374 else
29375 {
29376 if ((gtk_major_version > major) ||
29377 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29378 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29379 {
29380 return 0;
29381 }
29382 else
29383 {
29384 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29385 gtk_major_version, gtk_minor_version, gtk_micro_version);
29386 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29387 major, minor, micro);
29388 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29389 printf("***\n");
29390 printf("*** If you have already installed a sufficiently new version, this error\n");
29391 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29392 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29393 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29394 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29395 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29396 printf("*** so that the correct libraries are found at run-time))\n");
29397 }
29398 }
29399 return 1;
29400 }
29401
29402 _ACEOF
29403 rm -f conftest$ac_exeext
29404 if { (ac_try="$ac_link"
29405 case "(($ac_try" in
29406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29407 *) ac_try_echo=$ac_try;;
29408 esac
29409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29410 (eval "$ac_link") 2>&5
29411 ac_status=$?
29412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29414 { (case "(($ac_try" in
29415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29416 *) ac_try_echo=$ac_try;;
29417 esac
29418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29419 (eval "$ac_try") 2>&5
29420 ac_status=$?
29421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29422 (exit $ac_status); }; }; then
29423 :
29424 else
29425 echo "$as_me: program exited with status $ac_status" >&5
29426 echo "$as_me: failed program was:" >&5
29427 sed 's/^/| /' conftest.$ac_ext >&5
29428
29429 ( exit $ac_status )
29430 no_gtk=yes
29431 fi
29432 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29433 fi
29434
29435
29436 CFLAGS="$ac_save_CFLAGS"
29437 LIBS="$ac_save_LIBS"
29438 fi
29439 fi
29440 if test "x$no_gtk" = x ; then
29441 { echo "$as_me:$LINENO: result: yes" >&5
29442 echo "${ECHO_T}yes" >&6; }
29443 wx_cv_lib_gtk=1.2.3
29444 else
29445 { echo "$as_me:$LINENO: result: no" >&5
29446 echo "${ECHO_T}no" >&6; }
29447 if test "$GTK_CONFIG" = "no" ; then
29448 echo "*** The gtk-config script installed by GTK could not be found"
29449 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29450 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29451 echo "*** full path to gtk-config."
29452 else
29453 if test -f conf.gtktest ; then
29454 :
29455 else
29456 echo "*** Could not run GTK test program, checking why..."
29457 CFLAGS="$CFLAGS $GTK_CFLAGS"
29458 LIBS="$LIBS $GTK_LIBS"
29459 cat >conftest.$ac_ext <<_ACEOF
29460 /* confdefs.h. */
29461 _ACEOF
29462 cat confdefs.h >>conftest.$ac_ext
29463 cat >>conftest.$ac_ext <<_ACEOF
29464 /* end confdefs.h. */
29465
29466 #include <gtk/gtk.h>
29467 #include <stdio.h>
29468
29469 int
29470 main ()
29471 {
29472 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29473 ;
29474 return 0;
29475 }
29476 _ACEOF
29477 rm -f conftest.$ac_objext conftest$ac_exeext
29478 if { (ac_try="$ac_link"
29479 case "(($ac_try" in
29480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29481 *) ac_try_echo=$ac_try;;
29482 esac
29483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29484 (eval "$ac_link") 2>conftest.er1
29485 ac_status=$?
29486 grep -v '^ *+' conftest.er1 >conftest.err
29487 rm -f conftest.er1
29488 cat conftest.err >&5
29489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29490 (exit $ac_status); } && {
29491 test -z "$ac_c_werror_flag" ||
29492 test ! -s conftest.err
29493 } && test -s conftest$ac_exeext &&
29494 $as_test_x conftest$ac_exeext; then
29495 echo "*** The test program compiled, but did not run. This usually means"
29496 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29497 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29498 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29499 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29500 echo "*** is required on your system"
29501 echo "***"
29502 echo "*** If you have an old version installed, it is best to remove it, although"
29503 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29504 echo "***"
29505 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29506 echo "*** came with the system with the command"
29507 echo "***"
29508 echo "*** rpm --erase --nodeps gtk gtk-devel"
29509 else
29510 echo "$as_me: failed program was:" >&5
29511 sed 's/^/| /' conftest.$ac_ext >&5
29512
29513 echo "*** The test program failed to compile or link. See the file config.log for the"
29514 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29515 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29516 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29517 fi
29518
29519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29520 conftest$ac_exeext conftest.$ac_ext
29521 CFLAGS="$ac_save_CFLAGS"
29522 LIBS="$ac_save_LIBS"
29523 fi
29524 fi
29525 GTK_CFLAGS=""
29526 GTK_LIBS=""
29527 :
29528 fi
29529
29530
29531 rm -f conf.gtktest
29532
29533 fi
29534 fi
29535 fi
29536
29537 if test -z "$wx_cv_lib_gtk"; then
29538 wx_cv_lib_gtk=none
29539 else
29540 wx_cv_cflags_gtk=$GTK_CFLAGS
29541 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29542 fi
29543
29544
29545 fi
29546
29547
29548 if test "$gtk_version_cached" = 1; then
29549 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29550 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29551 fi
29552
29553 case "$wx_cv_lib_gtk" in
29554 2.0) WXGTK2=1
29555 TOOLKIT_VERSION=2
29556 ;;
29557 1.2.7) WXGTK127=1
29558 WXGTK12=1
29559 ;;
29560 1.2.3) WXGTK12=1
29561 ;;
29562 *) { { echo "$as_me:$LINENO: error:
29563 The development files for GTK+ were not found. For GTK+ 2, please
29564 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29565 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29566 and that the version is 1.2.3 or above. Also check that the
29567 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29568 --libs' are in the LD_LIBRARY_PATH or equivalent.
29569 " >&5
29570 echo "$as_me: error:
29571 The development files for GTK+ were not found. For GTK+ 2, please
29572 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29573 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29574 and that the version is 1.2.3 or above. Also check that the
29575 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29576 --libs' are in the LD_LIBRARY_PATH or equivalent.
29577 " >&2;}
29578 { (exit 1); exit 1; }; }
29579 ;;
29580 esac
29581
29582 if test "$WXGTK2" = 1; then
29583 save_CFLAGS="$CFLAGS"
29584 save_LIBS="$LIBS"
29585 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29586 LIBS="$LIBS $wx_cv_libs_gtk"
29587
29588 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
29589 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
29590 cat >conftest.$ac_ext <<_ACEOF
29591 /* confdefs.h. */
29592 _ACEOF
29593 cat confdefs.h >>conftest.$ac_ext
29594 cat >>conftest.$ac_ext <<_ACEOF
29595 /* end confdefs.h. */
29596
29597 #include <gtk/gtk.h>
29598
29599 int
29600 main ()
29601 {
29602
29603 #if !GTK_CHECK_VERSION(2,18,0)
29604 Not GTK+ 2.18
29605 #endif
29606
29607 ;
29608 return 0;
29609 }
29610 _ACEOF
29611 rm -f conftest.$ac_objext
29612 if { (ac_try="$ac_compile"
29613 case "(($ac_try" in
29614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29615 *) ac_try_echo=$ac_try;;
29616 esac
29617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29618 (eval "$ac_compile") 2>conftest.er1
29619 ac_status=$?
29620 grep -v '^ *+' conftest.er1 >conftest.err
29621 rm -f conftest.er1
29622 cat conftest.err >&5
29623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29624 (exit $ac_status); } && {
29625 test -z "$ac_c_werror_flag" ||
29626 test ! -s conftest.err
29627 } && test -s conftest.$ac_objext; then
29628
29629 cat >>confdefs.h <<\_ACEOF
29630 #define __WXGTK218__ 1
29631 _ACEOF
29632
29633 cat >>confdefs.h <<\_ACEOF
29634 #define __WXGTK210__ 1
29635 _ACEOF
29636
29637 cat >>confdefs.h <<\_ACEOF
29638 #define __WXGTK26__ 1
29639 _ACEOF
29640
29641 { echo "$as_me:$LINENO: result: yes" >&5
29642 echo "${ECHO_T}yes" >&6; }
29643 ac_wxgtk218=1
29644
29645 else
29646 echo "$as_me: failed program was:" >&5
29647 sed 's/^/| /' conftest.$ac_ext >&5
29648
29649
29650 { echo "$as_me:$LINENO: result: no" >&5
29651 echo "${ECHO_T}no" >&6; }
29652 ac_wxgtk218=0
29653
29654 fi
29655
29656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29657
29658 if test "$ac_wxgtk218" = 0; then
29659 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29660 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29661 cat >conftest.$ac_ext <<_ACEOF
29662 /* confdefs.h. */
29663 _ACEOF
29664 cat confdefs.h >>conftest.$ac_ext
29665 cat >>conftest.$ac_ext <<_ACEOF
29666 /* end confdefs.h. */
29667
29668 #include <gtk/gtk.h>
29669
29670 int
29671 main ()
29672 {
29673
29674 #if !GTK_CHECK_VERSION(2,10,0)
29675 Not GTK+ 2.10
29676 #endif
29677
29678 ;
29679 return 0;
29680 }
29681 _ACEOF
29682 rm -f conftest.$ac_objext
29683 if { (ac_try="$ac_compile"
29684 case "(($ac_try" in
29685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29686 *) ac_try_echo=$ac_try;;
29687 esac
29688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29689 (eval "$ac_compile") 2>conftest.er1
29690 ac_status=$?
29691 grep -v '^ *+' conftest.er1 >conftest.err
29692 rm -f conftest.er1
29693 cat conftest.err >&5
29694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29695 (exit $ac_status); } && {
29696 test -z "$ac_c_werror_flag" ||
29697 test ! -s conftest.err
29698 } && test -s conftest.$ac_objext; then
29699
29700 cat >>confdefs.h <<\_ACEOF
29701 #define __WXGTK210__ 1
29702 _ACEOF
29703
29704 cat >>confdefs.h <<\_ACEOF
29705 #define __WXGTK26__ 1
29706 _ACEOF
29707
29708 { echo "$as_me:$LINENO: result: yes" >&5
29709 echo "${ECHO_T}yes" >&6; }
29710 ac_wxgtk210=1
29711
29712 else
29713 echo "$as_me: failed program was:" >&5
29714 sed 's/^/| /' conftest.$ac_ext >&5
29715
29716
29717 { echo "$as_me:$LINENO: result: no" >&5
29718 echo "${ECHO_T}no" >&6; }
29719 ac_wxgtk210=0
29720
29721 fi
29722
29723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29724
29725 if test "$ac_wxgtk210" = 0; then
29726 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29727 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29728 cat >conftest.$ac_ext <<_ACEOF
29729 /* confdefs.h. */
29730 _ACEOF
29731 cat confdefs.h >>conftest.$ac_ext
29732 cat >>conftest.$ac_ext <<_ACEOF
29733 /* end confdefs.h. */
29734
29735 #include <gtk/gtk.h>
29736
29737 int
29738 main ()
29739 {
29740
29741 #if !GTK_CHECK_VERSION(2,6,0)
29742 Not GTK+ 2.6
29743 #endif
29744
29745 ;
29746 return 0;
29747 }
29748 _ACEOF
29749 rm -f conftest.$ac_objext
29750 if { (ac_try="$ac_compile"
29751 case "(($ac_try" in
29752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29753 *) ac_try_echo=$ac_try;;
29754 esac
29755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29756 (eval "$ac_compile") 2>conftest.er1
29757 ac_status=$?
29758 grep -v '^ *+' conftest.er1 >conftest.err
29759 rm -f conftest.er1
29760 cat conftest.err >&5
29761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29762 (exit $ac_status); } && {
29763 test -z "$ac_c_werror_flag" ||
29764 test ! -s conftest.err
29765 } && test -s conftest.$ac_objext; then
29766
29767 cat >>confdefs.h <<\_ACEOF
29768 #define __WXGTK26__ 1
29769 _ACEOF
29770
29771 { echo "$as_me:$LINENO: result: yes" >&5
29772 echo "${ECHO_T}yes" >&6; }
29773 ac_wxgtk26=1
29774
29775 else
29776 echo "$as_me: failed program was:" >&5
29777 sed 's/^/| /' conftest.$ac_ext >&5
29778
29779
29780 { echo "$as_me:$LINENO: result: no" >&5
29781 echo "${ECHO_T}no" >&6; }
29782 ac_wxgtk26=0
29783
29784 fi
29785
29786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29787 fi
29788 fi
29789
29790 CFLAGS="$save_CFLAGS"
29791 LIBS="$save_LIBS"
29792 else
29793 if test "$wxUSE_UNICODE" = "yes"; then
29794 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29795 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29796 wxUSE_UNICODE=no
29797 fi
29798
29799 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29800 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29801 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29802 echo $ECHO_N "(cached) $ECHO_C" >&6
29803 else
29804 ac_check_lib_save_LIBS=$LIBS
29805 LIBS="-lgdk $LIBS"
29806 cat >conftest.$ac_ext <<_ACEOF
29807 /* confdefs.h. */
29808 _ACEOF
29809 cat confdefs.h >>conftest.$ac_ext
29810 cat >>conftest.$ac_ext <<_ACEOF
29811 /* end confdefs.h. */
29812
29813 /* Override any GCC internal prototype to avoid an error.
29814 Use char because int might match the return type of a GCC
29815 builtin and then its argument prototype would still apply. */
29816 #ifdef __cplusplus
29817 extern "C"
29818 #endif
29819 char gdk_im_open ();
29820 int
29821 main ()
29822 {
29823 return gdk_im_open ();
29824 ;
29825 return 0;
29826 }
29827 _ACEOF
29828 rm -f conftest.$ac_objext conftest$ac_exeext
29829 if { (ac_try="$ac_link"
29830 case "(($ac_try" in
29831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29832 *) ac_try_echo=$ac_try;;
29833 esac
29834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29835 (eval "$ac_link") 2>conftest.er1
29836 ac_status=$?
29837 grep -v '^ *+' conftest.er1 >conftest.err
29838 rm -f conftest.er1
29839 cat conftest.err >&5
29840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29841 (exit $ac_status); } && {
29842 test -z "$ac_c_werror_flag" ||
29843 test ! -s conftest.err
29844 } && test -s conftest$ac_exeext &&
29845 $as_test_x conftest$ac_exeext; then
29846 ac_cv_lib_gdk_gdk_im_open=yes
29847 else
29848 echo "$as_me: failed program was:" >&5
29849 sed 's/^/| /' conftest.$ac_ext >&5
29850
29851 ac_cv_lib_gdk_gdk_im_open=no
29852 fi
29853
29854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29855 conftest$ac_exeext conftest.$ac_ext
29856 LIBS=$ac_check_lib_save_LIBS
29857 fi
29858 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29859 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29860 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29861 cat >>confdefs.h <<\_ACEOF
29862 #define HAVE_XIM 1
29863 _ACEOF
29864
29865 fi
29866
29867
29868 if test "$USE_DARWIN" != 1; then
29869
29870 for ac_func in poll
29871 do
29872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29873 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29875 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29876 echo $ECHO_N "(cached) $ECHO_C" >&6
29877 else
29878 cat >conftest.$ac_ext <<_ACEOF
29879 /* confdefs.h. */
29880 _ACEOF
29881 cat confdefs.h >>conftest.$ac_ext
29882 cat >>conftest.$ac_ext <<_ACEOF
29883 /* end confdefs.h. */
29884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29886 #define $ac_func innocuous_$ac_func
29887
29888 /* System header to define __stub macros and hopefully few prototypes,
29889 which can conflict with char $ac_func (); below.
29890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29891 <limits.h> exists even on freestanding compilers. */
29892
29893 #ifdef __STDC__
29894 # include <limits.h>
29895 #else
29896 # include <assert.h>
29897 #endif
29898
29899 #undef $ac_func
29900
29901 /* Override any GCC internal prototype to avoid an error.
29902 Use char because int might match the return type of a GCC
29903 builtin and then its argument prototype would still apply. */
29904 #ifdef __cplusplus
29905 extern "C"
29906 #endif
29907 char $ac_func ();
29908 /* The GNU C library defines this for functions which it implements
29909 to always fail with ENOSYS. Some functions are actually named
29910 something starting with __ and the normal name is an alias. */
29911 #if defined __stub_$ac_func || defined __stub___$ac_func
29912 choke me
29913 #endif
29914
29915 int
29916 main ()
29917 {
29918 return $ac_func ();
29919 ;
29920 return 0;
29921 }
29922 _ACEOF
29923 rm -f conftest.$ac_objext conftest$ac_exeext
29924 if { (ac_try="$ac_link"
29925 case "(($ac_try" in
29926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29927 *) ac_try_echo=$ac_try;;
29928 esac
29929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29930 (eval "$ac_link") 2>conftest.er1
29931 ac_status=$?
29932 grep -v '^ *+' conftest.er1 >conftest.err
29933 rm -f conftest.er1
29934 cat conftest.err >&5
29935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29936 (exit $ac_status); } && {
29937 test -z "$ac_c_werror_flag" ||
29938 test ! -s conftest.err
29939 } && test -s conftest$ac_exeext &&
29940 $as_test_x conftest$ac_exeext; then
29941 eval "$as_ac_var=yes"
29942 else
29943 echo "$as_me: failed program was:" >&5
29944 sed 's/^/| /' conftest.$ac_ext >&5
29945
29946 eval "$as_ac_var=no"
29947 fi
29948
29949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29950 conftest$ac_exeext conftest.$ac_ext
29951 fi
29952 ac_res=`eval echo '${'$as_ac_var'}'`
29953 { echo "$as_me:$LINENO: result: $ac_res" >&5
29954 echo "${ECHO_T}$ac_res" >&6; }
29955 if test `eval echo '${'$as_ac_var'}'` = yes; then
29956 cat >>confdefs.h <<_ACEOF
29957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29958 _ACEOF
29959
29960 fi
29961 done
29962
29963 fi
29964 fi
29965
29966 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29967 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29968
29969 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
29970
29971 AFMINSTALL=afminstall
29972 TOOLKIT=GTK
29973 GUIDIST=GTK_DIST
29974
29975 if test "$wxUSE_GPE" = "yes"; then
29976 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29977 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29978
29979 ac_find_libraries=
29980 for ac_dir in $SEARCH_LIB;
29981 do
29982 for ac_extension in a so sl dylib dll.a; do
29983 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29984 ac_find_libraries=$ac_dir
29985 break 2
29986 fi
29987 done
29988 done
29989
29990 if test "$ac_find_libraries" != "" ; then
29991
29992 if test "$ac_find_libraries" = "default location"; then
29993 ac_path_to_link=""
29994 else
29995 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29996 result=$?
29997 if test $result = 0; then
29998 ac_path_to_link=""
29999 else
30000 ac_path_to_link=" -L$ac_find_libraries"
30001 fi
30002 fi
30003
30004 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30005 WXGPE=1
30006 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30007 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30008 else
30009 { echo "$as_me:$LINENO: result: not found" >&5
30010 echo "${ECHO_T}not found" >&6; }
30011 fi
30012
30013 fi
30014 fi
30015
30016 if test "$wxUSE_MGL" = 1; then
30017 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30018 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30019 if test "x$MGL_ROOT" = x ; then
30020 { echo "$as_me:$LINENO: result: not found" >&5
30021 echo "${ECHO_T}not found" >&6; }
30022 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30023 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30024 { (exit 1); exit 1; }; }
30025 else
30026 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30027 echo "${ECHO_T}$MGL_ROOT" >&6; }
30028 fi
30029
30030 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30031 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30032 case "${host}" in
30033 *-*-linux* )
30034 if test "x$wxUSE_SHARED" = xyes ; then
30035 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30036 else
30037 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30038 fi
30039 ;;
30040 *-pc-msdosdjgpp )
30041 mgl_os_candidates="dos32/dj2"
30042 ;;
30043 *)
30044 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30045 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30046 { (exit 1); exit 1; }; }
30047 esac
30048
30049 mgl_lib_type=""
30050 mgl_os=""
30051
30052 for mgl_os_i in $mgl_os_candidates ; do
30053 if test "x$mgl_os" = x ; then
30054 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30055 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30056 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30057 mgl_lib_type=debug
30058 mgl_os=$mgl_os_i
30059 fi
30060 fi
30061 if test "x$mgl_lib_type" = x ; then
30062 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30063 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30064 mgl_lib_type=release
30065 mgl_os=$mgl_os_i
30066 fi
30067 fi
30068 fi
30069 done
30070
30071 if test "x$mgl_os" = x ; then
30072 { echo "$as_me:$LINENO: result: not found" >&5
30073 echo "${ECHO_T}not found" >&6; }
30074 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30075 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30076 { (exit 1); exit 1; }; }
30077 fi
30078 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30079 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30080
30081 wxUSE_UNIVERSAL="yes"
30082
30083 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30084 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30085
30086 AFMINSTALL=afminstall
30087 TOOLKIT=MGL
30088 GUIDIST=MGL_DIST
30089 fi
30090
30091 if test "$wxUSE_DFB" = 1; then
30092
30093
30094 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30095 if test -n "$ac_tool_prefix"; then
30096 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30097 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30098 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30100 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30101 echo $ECHO_N "(cached) $ECHO_C" >&6
30102 else
30103 case $PKG_CONFIG in
30104 [\\/]* | ?:[\\/]*)
30105 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30106 ;;
30107 *)
30108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30109 for as_dir in $PATH
30110 do
30111 IFS=$as_save_IFS
30112 test -z "$as_dir" && as_dir=.
30113 for ac_exec_ext in '' $ac_executable_extensions; do
30114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30115 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30117 break 2
30118 fi
30119 done
30120 done
30121 IFS=$as_save_IFS
30122
30123 ;;
30124 esac
30125 fi
30126 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30127 if test -n "$PKG_CONFIG"; then
30128 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30129 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30130 else
30131 { echo "$as_me:$LINENO: result: no" >&5
30132 echo "${ECHO_T}no" >&6; }
30133 fi
30134
30135
30136 fi
30137 if test -z "$ac_cv_path_PKG_CONFIG"; then
30138 ac_pt_PKG_CONFIG=$PKG_CONFIG
30139 # Extract the first word of "pkg-config", so it can be a program name with args.
30140 set dummy pkg-config; ac_word=$2
30141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30143 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30144 echo $ECHO_N "(cached) $ECHO_C" >&6
30145 else
30146 case $ac_pt_PKG_CONFIG in
30147 [\\/]* | ?:[\\/]*)
30148 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30149 ;;
30150 *)
30151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30152 for as_dir in $PATH
30153 do
30154 IFS=$as_save_IFS
30155 test -z "$as_dir" && as_dir=.
30156 for ac_exec_ext in '' $ac_executable_extensions; do
30157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30158 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30160 break 2
30161 fi
30162 done
30163 done
30164 IFS=$as_save_IFS
30165
30166 ;;
30167 esac
30168 fi
30169 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30170 if test -n "$ac_pt_PKG_CONFIG"; then
30171 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30172 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30173 else
30174 { echo "$as_me:$LINENO: result: no" >&5
30175 echo "${ECHO_T}no" >&6; }
30176 fi
30177
30178 if test "x$ac_pt_PKG_CONFIG" = x; then
30179 PKG_CONFIG=""
30180 else
30181 case $cross_compiling:$ac_tool_warned in
30182 yes:)
30183 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30184 whose name does not start with the host triplet. If you think this
30185 configuration is useful to you, please write to autoconf@gnu.org." >&5
30186 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30187 whose name does not start with the host triplet. If you think this
30188 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30189 ac_tool_warned=yes ;;
30190 esac
30191 PKG_CONFIG=$ac_pt_PKG_CONFIG
30192 fi
30193 else
30194 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30195 fi
30196
30197 fi
30198 if test -n "$PKG_CONFIG"; then
30199 _pkg_min_version=0.9.0
30200 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30201 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30202 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30203 { echo "$as_me:$LINENO: result: yes" >&5
30204 echo "${ECHO_T}yes" >&6; }
30205 else
30206 { echo "$as_me:$LINENO: result: no" >&5
30207 echo "${ECHO_T}no" >&6; }
30208 PKG_CONFIG=""
30209 fi
30210
30211 fi
30212
30213
30214 pkg_failed=no
30215 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30216 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30217
30218 if test -n "$PKG_CONFIG"; then
30219 if test -n "$DIRECTFB_CFLAGS"; then
30220 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30221 else
30222 if test -n "$PKG_CONFIG" && \
30223 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30224 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30225 ac_status=$?
30226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30227 (exit $ac_status); }; then
30228 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30229 else
30230 pkg_failed=yes
30231 fi
30232 fi
30233 else
30234 pkg_failed=untried
30235 fi
30236 if test -n "$PKG_CONFIG"; then
30237 if test -n "$DIRECTFB_LIBS"; then
30238 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30239 else
30240 if test -n "$PKG_CONFIG" && \
30241 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30242 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30243 ac_status=$?
30244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30245 (exit $ac_status); }; then
30246 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30247 else
30248 pkg_failed=yes
30249 fi
30250 fi
30251 else
30252 pkg_failed=untried
30253 fi
30254
30255
30256
30257 if test $pkg_failed = yes; then
30258
30259 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30260 _pkg_short_errors_supported=yes
30261 else
30262 _pkg_short_errors_supported=no
30263 fi
30264 if test $_pkg_short_errors_supported = yes; then
30265 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30266 else
30267 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30268 fi
30269 # Put the nasty error message in config.log where it belongs
30270 echo "$DIRECTFB_PKG_ERRORS" >&5
30271
30272
30273 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30274 echo "$as_me: error: DirectFB not found." >&2;}
30275 { (exit 1); exit 1; }; }
30276
30277
30278 elif test $pkg_failed = untried; then
30279
30280 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30281 echo "$as_me: error: DirectFB not found." >&2;}
30282 { (exit 1); exit 1; }; }
30283
30284
30285 else
30286 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30287 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30288 { echo "$as_me:$LINENO: result: yes" >&5
30289 echo "${ECHO_T}yes" >&6; }
30290
30291 wxUSE_UNIVERSAL="yes"
30292 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30293 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30294 TOOLKIT=DFB
30295 GUIDIST=DFB_DIST
30296
30297 fi
30298 fi
30299
30300 if test "$wxUSE_MICROWIN" = 1; then
30301 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30302 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30303 if test "x$MICROWINDOWS" = x ; then
30304 { echo "$as_me:$LINENO: result: not found" >&5
30305 echo "${ECHO_T}not found" >&6; }
30306 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30307 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30308 { (exit 1); exit 1; }; }
30309 else
30310 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30311 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30312 fi
30313
30314 if test -f $MICROWINDOWS/lib/libmwin.a; then
30315 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30316 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30317 else
30318 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30319 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30320 { (exit 1); exit 1; }; }
30321 fi
30322
30323 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30324 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30325
30326 wxUSE_UNIVERSAL="yes"
30327
30328 AFMINSTALL=afminstall
30329 TOOLKIT=MICROWIN
30330 GUIDIST=MICROWIN_DIST
30331
30332 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30333 fi
30334
30335 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30336 { echo "$as_me:$LINENO: checking for X" >&5
30337 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30338
30339
30340 # Check whether --with-x was given.
30341 if test "${with_x+set}" = set; then
30342 withval=$with_x;
30343 fi
30344
30345 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30346 if test "x$with_x" = xno; then
30347 # The user explicitly disabled X.
30348 have_x=disabled
30349 else
30350 case $x_includes,$x_libraries in #(
30351 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30352 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30353 { (exit 1); exit 1; }; };; #(
30354 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30355 echo $ECHO_N "(cached) $ECHO_C" >&6
30356 else
30357 # One or both of the vars are not set, and there is no cached value.
30358 ac_x_includes=no ac_x_libraries=no
30359 rm -f -r conftest.dir
30360 if mkdir conftest.dir; then
30361 cd conftest.dir
30362 cat >Imakefile <<'_ACEOF'
30363 incroot:
30364 @echo incroot='${INCROOT}'
30365 usrlibdir:
30366 @echo usrlibdir='${USRLIBDIR}'
30367 libdir:
30368 @echo libdir='${LIBDIR}'
30369 _ACEOF
30370 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30371 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30372 for ac_var in incroot usrlibdir libdir; do
30373 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30374 done
30375 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30376 for ac_extension in a so sl; do
30377 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30378 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30379 ac_im_usrlibdir=$ac_im_libdir; break
30380 fi
30381 done
30382 # Screen out bogus values from the imake configuration. They are
30383 # bogus both because they are the default anyway, and because
30384 # using them would break gcc on systems where it needs fixed includes.
30385 case $ac_im_incroot in
30386 /usr/include) ac_x_includes= ;;
30387 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30388 esac
30389 case $ac_im_usrlibdir in
30390 /usr/lib | /lib) ;;
30391 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30392 esac
30393 fi
30394 cd ..
30395 rm -f -r conftest.dir
30396 fi
30397
30398 # Standard set of common directories for X headers.
30399 # Check X11 before X11Rn because it is often a symlink to the current release.
30400 ac_x_header_dirs='
30401 /usr/X11/include
30402 /usr/X11R6/include
30403 /usr/X11R5/include
30404 /usr/X11R4/include
30405
30406 /usr/include/X11
30407 /usr/include/X11R6
30408 /usr/include/X11R5
30409 /usr/include/X11R4
30410
30411 /usr/local/X11/include
30412 /usr/local/X11R6/include
30413 /usr/local/X11R5/include
30414 /usr/local/X11R4/include
30415
30416 /usr/local/include/X11
30417 /usr/local/include/X11R6
30418 /usr/local/include/X11R5
30419 /usr/local/include/X11R4
30420
30421 /usr/X386/include
30422 /usr/x386/include
30423 /usr/XFree86/include/X11
30424
30425 /usr/include
30426 /usr/local/include
30427 /usr/unsupported/include
30428 /usr/athena/include
30429 /usr/local/x11r5/include
30430 /usr/lpp/Xamples/include
30431
30432 /usr/openwin/include
30433 /usr/openwin/share/include'
30434
30435 if test "$ac_x_includes" = no; then
30436 # Guess where to find include files, by looking for Xlib.h.
30437 # First, try using that file with no special directory specified.
30438 cat >conftest.$ac_ext <<_ACEOF
30439 /* confdefs.h. */
30440 _ACEOF
30441 cat confdefs.h >>conftest.$ac_ext
30442 cat >>conftest.$ac_ext <<_ACEOF
30443 /* end confdefs.h. */
30444 #include <X11/Xlib.h>
30445 _ACEOF
30446 if { (ac_try="$ac_cpp conftest.$ac_ext"
30447 case "(($ac_try" in
30448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30449 *) ac_try_echo=$ac_try;;
30450 esac
30451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30452 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30453 ac_status=$?
30454 grep -v '^ *+' conftest.er1 >conftest.err
30455 rm -f conftest.er1
30456 cat conftest.err >&5
30457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30458 (exit $ac_status); } >/dev/null && {
30459 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30460 test ! -s conftest.err
30461 }; then
30462 # We can compile using X headers with no special include directory.
30463 ac_x_includes=
30464 else
30465 echo "$as_me: failed program was:" >&5
30466 sed 's/^/| /' conftest.$ac_ext >&5
30467
30468 for ac_dir in $ac_x_header_dirs; do
30469 if test -r "$ac_dir/X11/Xlib.h"; then
30470 ac_x_includes=$ac_dir
30471 break
30472 fi
30473 done
30474 fi
30475
30476 rm -f conftest.err conftest.$ac_ext
30477 fi # $ac_x_includes = no
30478
30479 if test "$ac_x_libraries" = no; then
30480 # Check for the libraries.
30481 # See if we find them without any special options.
30482 # Don't add to $LIBS permanently.
30483 ac_save_LIBS=$LIBS
30484 LIBS="-lX11 $LIBS"
30485 cat >conftest.$ac_ext <<_ACEOF
30486 /* confdefs.h. */
30487 _ACEOF
30488 cat confdefs.h >>conftest.$ac_ext
30489 cat >>conftest.$ac_ext <<_ACEOF
30490 /* end confdefs.h. */
30491 #include <X11/Xlib.h>
30492 int
30493 main ()
30494 {
30495 XrmInitialize ()
30496 ;
30497 return 0;
30498 }
30499 _ACEOF
30500 rm -f conftest.$ac_objext conftest$ac_exeext
30501 if { (ac_try="$ac_link"
30502 case "(($ac_try" in
30503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30504 *) ac_try_echo=$ac_try;;
30505 esac
30506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30507 (eval "$ac_link") 2>conftest.er1
30508 ac_status=$?
30509 grep -v '^ *+' conftest.er1 >conftest.err
30510 rm -f conftest.er1
30511 cat conftest.err >&5
30512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513 (exit $ac_status); } && {
30514 test -z "$ac_c_werror_flag" ||
30515 test ! -s conftest.err
30516 } && test -s conftest$ac_exeext &&
30517 $as_test_x conftest$ac_exeext; then
30518 LIBS=$ac_save_LIBS
30519 # We can link X programs with no special library path.
30520 ac_x_libraries=
30521 else
30522 echo "$as_me: failed program was:" >&5
30523 sed 's/^/| /' conftest.$ac_ext >&5
30524
30525 LIBS=$ac_save_LIBS
30526 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30527 do
30528 # Don't even attempt the hair of trying to link an X program!
30529 for ac_extension in a so sl; do
30530 if test -r "$ac_dir/libX11.$ac_extension"; then
30531 ac_x_libraries=$ac_dir
30532 break 2
30533 fi
30534 done
30535 done
30536 fi
30537
30538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30539 conftest$ac_exeext conftest.$ac_ext
30540 fi # $ac_x_libraries = no
30541
30542 case $ac_x_includes,$ac_x_libraries in #(
30543 no,* | *,no | *\'*)
30544 # Didn't find X, or a directory has "'" in its name.
30545 ac_cv_have_x="have_x=no";; #(
30546 *)
30547 # Record where we found X for the cache.
30548 ac_cv_have_x="have_x=yes\
30549 ac_x_includes='$ac_x_includes'\
30550 ac_x_libraries='$ac_x_libraries'"
30551 esac
30552 fi
30553 ;; #(
30554 *) have_x=yes;;
30555 esac
30556 eval "$ac_cv_have_x"
30557 fi # $with_x != no
30558
30559 if test "$have_x" != yes; then
30560 { echo "$as_me:$LINENO: result: $have_x" >&5
30561 echo "${ECHO_T}$have_x" >&6; }
30562 no_x=yes
30563 else
30564 # If each of the values was on the command line, it overrides each guess.
30565 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30566 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30567 # Update the cache value to reflect the command line values.
30568 ac_cv_have_x="have_x=yes\
30569 ac_x_includes='$x_includes'\
30570 ac_x_libraries='$x_libraries'"
30571 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30572 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30573 fi
30574
30575 if test "$no_x" = yes; then
30576 # Not all programs may use this symbol, but it does not hurt to define it.
30577
30578 cat >>confdefs.h <<\_ACEOF
30579 #define X_DISPLAY_MISSING 1
30580 _ACEOF
30581
30582 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30583 else
30584 if test -n "$x_includes"; then
30585 X_CFLAGS="$X_CFLAGS -I$x_includes"
30586 fi
30587
30588 # It would also be nice to do this for all -L options, not just this one.
30589 if test -n "$x_libraries"; then
30590 X_LIBS="$X_LIBS -L$x_libraries"
30591 # For Solaris; some versions of Sun CC require a space after -R and
30592 # others require no space. Words are not sufficient . . . .
30593 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30594 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30595 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30596 ac_xsave_c_werror_flag=$ac_c_werror_flag
30597 ac_c_werror_flag=yes
30598 cat >conftest.$ac_ext <<_ACEOF
30599 /* confdefs.h. */
30600 _ACEOF
30601 cat confdefs.h >>conftest.$ac_ext
30602 cat >>conftest.$ac_ext <<_ACEOF
30603 /* end confdefs.h. */
30604
30605 int
30606 main ()
30607 {
30608
30609 ;
30610 return 0;
30611 }
30612 _ACEOF
30613 rm -f conftest.$ac_objext conftest$ac_exeext
30614 if { (ac_try="$ac_link"
30615 case "(($ac_try" in
30616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30617 *) ac_try_echo=$ac_try;;
30618 esac
30619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30620 (eval "$ac_link") 2>conftest.er1
30621 ac_status=$?
30622 grep -v '^ *+' conftest.er1 >conftest.err
30623 rm -f conftest.er1
30624 cat conftest.err >&5
30625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30626 (exit $ac_status); } && {
30627 test -z "$ac_c_werror_flag" ||
30628 test ! -s conftest.err
30629 } && test -s conftest$ac_exeext &&
30630 $as_test_x conftest$ac_exeext; then
30631 { echo "$as_me:$LINENO: result: no" >&5
30632 echo "${ECHO_T}no" >&6; }
30633 X_LIBS="$X_LIBS -R$x_libraries"
30634 else
30635 echo "$as_me: failed program was:" >&5
30636 sed 's/^/| /' conftest.$ac_ext >&5
30637
30638 LIBS="$ac_xsave_LIBS -R $x_libraries"
30639 cat >conftest.$ac_ext <<_ACEOF
30640 /* confdefs.h. */
30641 _ACEOF
30642 cat confdefs.h >>conftest.$ac_ext
30643 cat >>conftest.$ac_ext <<_ACEOF
30644 /* end confdefs.h. */
30645
30646 int
30647 main ()
30648 {
30649
30650 ;
30651 return 0;
30652 }
30653 _ACEOF
30654 rm -f conftest.$ac_objext conftest$ac_exeext
30655 if { (ac_try="$ac_link"
30656 case "(($ac_try" in
30657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30658 *) ac_try_echo=$ac_try;;
30659 esac
30660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30661 (eval "$ac_link") 2>conftest.er1
30662 ac_status=$?
30663 grep -v '^ *+' conftest.er1 >conftest.err
30664 rm -f conftest.er1
30665 cat conftest.err >&5
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); } && {
30668 test -z "$ac_c_werror_flag" ||
30669 test ! -s conftest.err
30670 } && test -s conftest$ac_exeext &&
30671 $as_test_x conftest$ac_exeext; then
30672 { echo "$as_me:$LINENO: result: yes" >&5
30673 echo "${ECHO_T}yes" >&6; }
30674 X_LIBS="$X_LIBS -R $x_libraries"
30675 else
30676 echo "$as_me: failed program was:" >&5
30677 sed 's/^/| /' conftest.$ac_ext >&5
30678
30679 { echo "$as_me:$LINENO: result: neither works" >&5
30680 echo "${ECHO_T}neither works" >&6; }
30681 fi
30682
30683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30684 conftest$ac_exeext conftest.$ac_ext
30685 fi
30686
30687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30688 conftest$ac_exeext conftest.$ac_ext
30689 ac_c_werror_flag=$ac_xsave_c_werror_flag
30690 LIBS=$ac_xsave_LIBS
30691 fi
30692
30693 # Check for system-dependent libraries X programs must link with.
30694 # Do this before checking for the system-independent R6 libraries
30695 # (-lICE), since we may need -lsocket or whatever for X linking.
30696
30697 if test "$ISC" = yes; then
30698 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30699 else
30700 # Martyn Johnson says this is needed for Ultrix, if the X
30701 # libraries were built with DECnet support. And Karl Berry says
30702 # the Alpha needs dnet_stub (dnet does not exist).
30703 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30704 cat >conftest.$ac_ext <<_ACEOF
30705 /* confdefs.h. */
30706 _ACEOF
30707 cat confdefs.h >>conftest.$ac_ext
30708 cat >>conftest.$ac_ext <<_ACEOF
30709 /* end confdefs.h. */
30710
30711 /* Override any GCC internal prototype to avoid an error.
30712 Use char because int might match the return type of a GCC
30713 builtin and then its argument prototype would still apply. */
30714 #ifdef __cplusplus
30715 extern "C"
30716 #endif
30717 char XOpenDisplay ();
30718 int
30719 main ()
30720 {
30721 return XOpenDisplay ();
30722 ;
30723 return 0;
30724 }
30725 _ACEOF
30726 rm -f conftest.$ac_objext conftest$ac_exeext
30727 if { (ac_try="$ac_link"
30728 case "(($ac_try" in
30729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30730 *) ac_try_echo=$ac_try;;
30731 esac
30732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30733 (eval "$ac_link") 2>conftest.er1
30734 ac_status=$?
30735 grep -v '^ *+' conftest.er1 >conftest.err
30736 rm -f conftest.er1
30737 cat conftest.err >&5
30738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30739 (exit $ac_status); } && {
30740 test -z "$ac_c_werror_flag" ||
30741 test ! -s conftest.err
30742 } && test -s conftest$ac_exeext &&
30743 $as_test_x conftest$ac_exeext; then
30744 :
30745 else
30746 echo "$as_me: failed program was:" >&5
30747 sed 's/^/| /' conftest.$ac_ext >&5
30748
30749 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30750 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30751 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30752 echo $ECHO_N "(cached) $ECHO_C" >&6
30753 else
30754 ac_check_lib_save_LIBS=$LIBS
30755 LIBS="-ldnet $LIBS"
30756 cat >conftest.$ac_ext <<_ACEOF
30757 /* confdefs.h. */
30758 _ACEOF
30759 cat confdefs.h >>conftest.$ac_ext
30760 cat >>conftest.$ac_ext <<_ACEOF
30761 /* end confdefs.h. */
30762
30763 /* Override any GCC internal prototype to avoid an error.
30764 Use char because int might match the return type of a GCC
30765 builtin and then its argument prototype would still apply. */
30766 #ifdef __cplusplus
30767 extern "C"
30768 #endif
30769 char dnet_ntoa ();
30770 int
30771 main ()
30772 {
30773 return dnet_ntoa ();
30774 ;
30775 return 0;
30776 }
30777 _ACEOF
30778 rm -f conftest.$ac_objext conftest$ac_exeext
30779 if { (ac_try="$ac_link"
30780 case "(($ac_try" in
30781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30782 *) ac_try_echo=$ac_try;;
30783 esac
30784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30785 (eval "$ac_link") 2>conftest.er1
30786 ac_status=$?
30787 grep -v '^ *+' conftest.er1 >conftest.err
30788 rm -f conftest.er1
30789 cat conftest.err >&5
30790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30791 (exit $ac_status); } && {
30792 test -z "$ac_c_werror_flag" ||
30793 test ! -s conftest.err
30794 } && test -s conftest$ac_exeext &&
30795 $as_test_x conftest$ac_exeext; then
30796 ac_cv_lib_dnet_dnet_ntoa=yes
30797 else
30798 echo "$as_me: failed program was:" >&5
30799 sed 's/^/| /' conftest.$ac_ext >&5
30800
30801 ac_cv_lib_dnet_dnet_ntoa=no
30802 fi
30803
30804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30805 conftest$ac_exeext conftest.$ac_ext
30806 LIBS=$ac_check_lib_save_LIBS
30807 fi
30808 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30809 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30810 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30811 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30812 fi
30813
30814 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30815 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30816 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30817 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30818 echo $ECHO_N "(cached) $ECHO_C" >&6
30819 else
30820 ac_check_lib_save_LIBS=$LIBS
30821 LIBS="-ldnet_stub $LIBS"
30822 cat >conftest.$ac_ext <<_ACEOF
30823 /* confdefs.h. */
30824 _ACEOF
30825 cat confdefs.h >>conftest.$ac_ext
30826 cat >>conftest.$ac_ext <<_ACEOF
30827 /* end confdefs.h. */
30828
30829 /* Override any GCC internal prototype to avoid an error.
30830 Use char because int might match the return type of a GCC
30831 builtin and then its argument prototype would still apply. */
30832 #ifdef __cplusplus
30833 extern "C"
30834 #endif
30835 char dnet_ntoa ();
30836 int
30837 main ()
30838 {
30839 return dnet_ntoa ();
30840 ;
30841 return 0;
30842 }
30843 _ACEOF
30844 rm -f conftest.$ac_objext conftest$ac_exeext
30845 if { (ac_try="$ac_link"
30846 case "(($ac_try" in
30847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30848 *) ac_try_echo=$ac_try;;
30849 esac
30850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30851 (eval "$ac_link") 2>conftest.er1
30852 ac_status=$?
30853 grep -v '^ *+' conftest.er1 >conftest.err
30854 rm -f conftest.er1
30855 cat conftest.err >&5
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); } && {
30858 test -z "$ac_c_werror_flag" ||
30859 test ! -s conftest.err
30860 } && test -s conftest$ac_exeext &&
30861 $as_test_x conftest$ac_exeext; then
30862 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30863 else
30864 echo "$as_me: failed program was:" >&5
30865 sed 's/^/| /' conftest.$ac_ext >&5
30866
30867 ac_cv_lib_dnet_stub_dnet_ntoa=no
30868 fi
30869
30870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30871 conftest$ac_exeext conftest.$ac_ext
30872 LIBS=$ac_check_lib_save_LIBS
30873 fi
30874 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30875 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30876 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30877 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30878 fi
30879
30880 fi
30881 fi
30882
30883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30884 conftest$ac_exeext conftest.$ac_ext
30885 LIBS="$ac_xsave_LIBS"
30886
30887 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30888 # to get the SysV transport functions.
30889 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30890 # needs -lnsl.
30891 # The nsl library prevents programs from opening the X display
30892 # on Irix 5.2, according to T.E. Dickey.
30893 # The functions gethostbyname, getservbyname, and inet_addr are
30894 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30895 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30896 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30897 if test "${ac_cv_func_gethostbyname+set}" = set; then
30898 echo $ECHO_N "(cached) $ECHO_C" >&6
30899 else
30900 cat >conftest.$ac_ext <<_ACEOF
30901 /* confdefs.h. */
30902 _ACEOF
30903 cat confdefs.h >>conftest.$ac_ext
30904 cat >>conftest.$ac_ext <<_ACEOF
30905 /* end confdefs.h. */
30906 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30908 #define gethostbyname innocuous_gethostbyname
30909
30910 /* System header to define __stub macros and hopefully few prototypes,
30911 which can conflict with char gethostbyname (); below.
30912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30913 <limits.h> exists even on freestanding compilers. */
30914
30915 #ifdef __STDC__
30916 # include <limits.h>
30917 #else
30918 # include <assert.h>
30919 #endif
30920
30921 #undef gethostbyname
30922
30923 /* Override any GCC internal prototype to avoid an error.
30924 Use char because int might match the return type of a GCC
30925 builtin and then its argument prototype would still apply. */
30926 #ifdef __cplusplus
30927 extern "C"
30928 #endif
30929 char gethostbyname ();
30930 /* The GNU C library defines this for functions which it implements
30931 to always fail with ENOSYS. Some functions are actually named
30932 something starting with __ and the normal name is an alias. */
30933 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30934 choke me
30935 #endif
30936
30937 int
30938 main ()
30939 {
30940 return gethostbyname ();
30941 ;
30942 return 0;
30943 }
30944 _ACEOF
30945 rm -f conftest.$ac_objext conftest$ac_exeext
30946 if { (ac_try="$ac_link"
30947 case "(($ac_try" in
30948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30949 *) ac_try_echo=$ac_try;;
30950 esac
30951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30952 (eval "$ac_link") 2>conftest.er1
30953 ac_status=$?
30954 grep -v '^ *+' conftest.er1 >conftest.err
30955 rm -f conftest.er1
30956 cat conftest.err >&5
30957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30958 (exit $ac_status); } && {
30959 test -z "$ac_c_werror_flag" ||
30960 test ! -s conftest.err
30961 } && test -s conftest$ac_exeext &&
30962 $as_test_x conftest$ac_exeext; then
30963 ac_cv_func_gethostbyname=yes
30964 else
30965 echo "$as_me: failed program was:" >&5
30966 sed 's/^/| /' conftest.$ac_ext >&5
30967
30968 ac_cv_func_gethostbyname=no
30969 fi
30970
30971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30972 conftest$ac_exeext conftest.$ac_ext
30973 fi
30974 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30975 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30976
30977 if test $ac_cv_func_gethostbyname = no; then
30978 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30979 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30980 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30981 echo $ECHO_N "(cached) $ECHO_C" >&6
30982 else
30983 ac_check_lib_save_LIBS=$LIBS
30984 LIBS="-lnsl $LIBS"
30985 cat >conftest.$ac_ext <<_ACEOF
30986 /* confdefs.h. */
30987 _ACEOF
30988 cat confdefs.h >>conftest.$ac_ext
30989 cat >>conftest.$ac_ext <<_ACEOF
30990 /* end confdefs.h. */
30991
30992 /* Override any GCC internal prototype to avoid an error.
30993 Use char because int might match the return type of a GCC
30994 builtin and then its argument prototype would still apply. */
30995 #ifdef __cplusplus
30996 extern "C"
30997 #endif
30998 char gethostbyname ();
30999 int
31000 main ()
31001 {
31002 return gethostbyname ();
31003 ;
31004 return 0;
31005 }
31006 _ACEOF
31007 rm -f conftest.$ac_objext conftest$ac_exeext
31008 if { (ac_try="$ac_link"
31009 case "(($ac_try" in
31010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31011 *) ac_try_echo=$ac_try;;
31012 esac
31013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31014 (eval "$ac_link") 2>conftest.er1
31015 ac_status=$?
31016 grep -v '^ *+' conftest.er1 >conftest.err
31017 rm -f conftest.er1
31018 cat conftest.err >&5
31019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31020 (exit $ac_status); } && {
31021 test -z "$ac_c_werror_flag" ||
31022 test ! -s conftest.err
31023 } && test -s conftest$ac_exeext &&
31024 $as_test_x conftest$ac_exeext; then
31025 ac_cv_lib_nsl_gethostbyname=yes
31026 else
31027 echo "$as_me: failed program was:" >&5
31028 sed 's/^/| /' conftest.$ac_ext >&5
31029
31030 ac_cv_lib_nsl_gethostbyname=no
31031 fi
31032
31033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31034 conftest$ac_exeext conftest.$ac_ext
31035 LIBS=$ac_check_lib_save_LIBS
31036 fi
31037 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31038 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31039 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31040 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31041 fi
31042
31043 if test $ac_cv_lib_nsl_gethostbyname = no; then
31044 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31045 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31046 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31047 echo $ECHO_N "(cached) $ECHO_C" >&6
31048 else
31049 ac_check_lib_save_LIBS=$LIBS
31050 LIBS="-lbsd $LIBS"
31051 cat >conftest.$ac_ext <<_ACEOF
31052 /* confdefs.h. */
31053 _ACEOF
31054 cat confdefs.h >>conftest.$ac_ext
31055 cat >>conftest.$ac_ext <<_ACEOF
31056 /* end confdefs.h. */
31057
31058 /* Override any GCC internal prototype to avoid an error.
31059 Use char because int might match the return type of a GCC
31060 builtin and then its argument prototype would still apply. */
31061 #ifdef __cplusplus
31062 extern "C"
31063 #endif
31064 char gethostbyname ();
31065 int
31066 main ()
31067 {
31068 return gethostbyname ();
31069 ;
31070 return 0;
31071 }
31072 _ACEOF
31073 rm -f conftest.$ac_objext conftest$ac_exeext
31074 if { (ac_try="$ac_link"
31075 case "(($ac_try" in
31076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31077 *) ac_try_echo=$ac_try;;
31078 esac
31079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31080 (eval "$ac_link") 2>conftest.er1
31081 ac_status=$?
31082 grep -v '^ *+' conftest.er1 >conftest.err
31083 rm -f conftest.er1
31084 cat conftest.err >&5
31085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31086 (exit $ac_status); } && {
31087 test -z "$ac_c_werror_flag" ||
31088 test ! -s conftest.err
31089 } && test -s conftest$ac_exeext &&
31090 $as_test_x conftest$ac_exeext; then
31091 ac_cv_lib_bsd_gethostbyname=yes
31092 else
31093 echo "$as_me: failed program was:" >&5
31094 sed 's/^/| /' conftest.$ac_ext >&5
31095
31096 ac_cv_lib_bsd_gethostbyname=no
31097 fi
31098
31099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31100 conftest$ac_exeext conftest.$ac_ext
31101 LIBS=$ac_check_lib_save_LIBS
31102 fi
31103 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31104 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31105 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31106 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31107 fi
31108
31109 fi
31110 fi
31111
31112 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31113 # socket/setsockopt and other routines are undefined under SCO ODT
31114 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31115 # on later versions), says Simon Leinen: it contains gethostby*
31116 # variants that don't use the name server (or something). -lsocket
31117 # must be given before -lnsl if both are needed. We assume that
31118 # if connect needs -lnsl, so does gethostbyname.
31119 { echo "$as_me:$LINENO: checking for connect" >&5
31120 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31121 if test "${ac_cv_func_connect+set}" = set; then
31122 echo $ECHO_N "(cached) $ECHO_C" >&6
31123 else
31124 cat >conftest.$ac_ext <<_ACEOF
31125 /* confdefs.h. */
31126 _ACEOF
31127 cat confdefs.h >>conftest.$ac_ext
31128 cat >>conftest.$ac_ext <<_ACEOF
31129 /* end confdefs.h. */
31130 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31132 #define connect innocuous_connect
31133
31134 /* System header to define __stub macros and hopefully few prototypes,
31135 which can conflict with char connect (); below.
31136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31137 <limits.h> exists even on freestanding compilers. */
31138
31139 #ifdef __STDC__
31140 # include <limits.h>
31141 #else
31142 # include <assert.h>
31143 #endif
31144
31145 #undef connect
31146
31147 /* Override any GCC internal prototype to avoid an error.
31148 Use char because int might match the return type of a GCC
31149 builtin and then its argument prototype would still apply. */
31150 #ifdef __cplusplus
31151 extern "C"
31152 #endif
31153 char connect ();
31154 /* The GNU C library defines this for functions which it implements
31155 to always fail with ENOSYS. Some functions are actually named
31156 something starting with __ and the normal name is an alias. */
31157 #if defined __stub_connect || defined __stub___connect
31158 choke me
31159 #endif
31160
31161 int
31162 main ()
31163 {
31164 return connect ();
31165 ;
31166 return 0;
31167 }
31168 _ACEOF
31169 rm -f conftest.$ac_objext conftest$ac_exeext
31170 if { (ac_try="$ac_link"
31171 case "(($ac_try" in
31172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31173 *) ac_try_echo=$ac_try;;
31174 esac
31175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31176 (eval "$ac_link") 2>conftest.er1
31177 ac_status=$?
31178 grep -v '^ *+' conftest.er1 >conftest.err
31179 rm -f conftest.er1
31180 cat conftest.err >&5
31181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31182 (exit $ac_status); } && {
31183 test -z "$ac_c_werror_flag" ||
31184 test ! -s conftest.err
31185 } && test -s conftest$ac_exeext &&
31186 $as_test_x conftest$ac_exeext; then
31187 ac_cv_func_connect=yes
31188 else
31189 echo "$as_me: failed program was:" >&5
31190 sed 's/^/| /' conftest.$ac_ext >&5
31191
31192 ac_cv_func_connect=no
31193 fi
31194
31195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31196 conftest$ac_exeext conftest.$ac_ext
31197 fi
31198 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31199 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31200
31201 if test $ac_cv_func_connect = no; then
31202 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31203 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31204 if test "${ac_cv_lib_socket_connect+set}" = set; then
31205 echo $ECHO_N "(cached) $ECHO_C" >&6
31206 else
31207 ac_check_lib_save_LIBS=$LIBS
31208 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31209 cat >conftest.$ac_ext <<_ACEOF
31210 /* confdefs.h. */
31211 _ACEOF
31212 cat confdefs.h >>conftest.$ac_ext
31213 cat >>conftest.$ac_ext <<_ACEOF
31214 /* end confdefs.h. */
31215
31216 /* Override any GCC internal prototype to avoid an error.
31217 Use char because int might match the return type of a GCC
31218 builtin and then its argument prototype would still apply. */
31219 #ifdef __cplusplus
31220 extern "C"
31221 #endif
31222 char connect ();
31223 int
31224 main ()
31225 {
31226 return connect ();
31227 ;
31228 return 0;
31229 }
31230 _ACEOF
31231 rm -f conftest.$ac_objext conftest$ac_exeext
31232 if { (ac_try="$ac_link"
31233 case "(($ac_try" in
31234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31235 *) ac_try_echo=$ac_try;;
31236 esac
31237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31238 (eval "$ac_link") 2>conftest.er1
31239 ac_status=$?
31240 grep -v '^ *+' conftest.er1 >conftest.err
31241 rm -f conftest.er1
31242 cat conftest.err >&5
31243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31244 (exit $ac_status); } && {
31245 test -z "$ac_c_werror_flag" ||
31246 test ! -s conftest.err
31247 } && test -s conftest$ac_exeext &&
31248 $as_test_x conftest$ac_exeext; then
31249 ac_cv_lib_socket_connect=yes
31250 else
31251 echo "$as_me: failed program was:" >&5
31252 sed 's/^/| /' conftest.$ac_ext >&5
31253
31254 ac_cv_lib_socket_connect=no
31255 fi
31256
31257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31258 conftest$ac_exeext conftest.$ac_ext
31259 LIBS=$ac_check_lib_save_LIBS
31260 fi
31261 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31262 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31263 if test $ac_cv_lib_socket_connect = yes; then
31264 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31265 fi
31266
31267 fi
31268
31269 # Guillermo Gomez says -lposix is necessary on A/UX.
31270 { echo "$as_me:$LINENO: checking for remove" >&5
31271 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31272 if test "${ac_cv_func_remove+set}" = set; then
31273 echo $ECHO_N "(cached) $ECHO_C" >&6
31274 else
31275 cat >conftest.$ac_ext <<_ACEOF
31276 /* confdefs.h. */
31277 _ACEOF
31278 cat confdefs.h >>conftest.$ac_ext
31279 cat >>conftest.$ac_ext <<_ACEOF
31280 /* end confdefs.h. */
31281 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31283 #define remove innocuous_remove
31284
31285 /* System header to define __stub macros and hopefully few prototypes,
31286 which can conflict with char remove (); below.
31287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31288 <limits.h> exists even on freestanding compilers. */
31289
31290 #ifdef __STDC__
31291 # include <limits.h>
31292 #else
31293 # include <assert.h>
31294 #endif
31295
31296 #undef remove
31297
31298 /* Override any GCC internal prototype to avoid an error.
31299 Use char because int might match the return type of a GCC
31300 builtin and then its argument prototype would still apply. */
31301 #ifdef __cplusplus
31302 extern "C"
31303 #endif
31304 char remove ();
31305 /* The GNU C library defines this for functions which it implements
31306 to always fail with ENOSYS. Some functions are actually named
31307 something starting with __ and the normal name is an alias. */
31308 #if defined __stub_remove || defined __stub___remove
31309 choke me
31310 #endif
31311
31312 int
31313 main ()
31314 {
31315 return remove ();
31316 ;
31317 return 0;
31318 }
31319 _ACEOF
31320 rm -f conftest.$ac_objext conftest$ac_exeext
31321 if { (ac_try="$ac_link"
31322 case "(($ac_try" in
31323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31324 *) ac_try_echo=$ac_try;;
31325 esac
31326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31327 (eval "$ac_link") 2>conftest.er1
31328 ac_status=$?
31329 grep -v '^ *+' conftest.er1 >conftest.err
31330 rm -f conftest.er1
31331 cat conftest.err >&5
31332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31333 (exit $ac_status); } && {
31334 test -z "$ac_c_werror_flag" ||
31335 test ! -s conftest.err
31336 } && test -s conftest$ac_exeext &&
31337 $as_test_x conftest$ac_exeext; then
31338 ac_cv_func_remove=yes
31339 else
31340 echo "$as_me: failed program was:" >&5
31341 sed 's/^/| /' conftest.$ac_ext >&5
31342
31343 ac_cv_func_remove=no
31344 fi
31345
31346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31347 conftest$ac_exeext conftest.$ac_ext
31348 fi
31349 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31350 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31351
31352 if test $ac_cv_func_remove = no; then
31353 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31354 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31355 if test "${ac_cv_lib_posix_remove+set}" = set; then
31356 echo $ECHO_N "(cached) $ECHO_C" >&6
31357 else
31358 ac_check_lib_save_LIBS=$LIBS
31359 LIBS="-lposix $LIBS"
31360 cat >conftest.$ac_ext <<_ACEOF
31361 /* confdefs.h. */
31362 _ACEOF
31363 cat confdefs.h >>conftest.$ac_ext
31364 cat >>conftest.$ac_ext <<_ACEOF
31365 /* end confdefs.h. */
31366
31367 /* Override any GCC internal prototype to avoid an error.
31368 Use char because int might match the return type of a GCC
31369 builtin and then its argument prototype would still apply. */
31370 #ifdef __cplusplus
31371 extern "C"
31372 #endif
31373 char remove ();
31374 int
31375 main ()
31376 {
31377 return remove ();
31378 ;
31379 return 0;
31380 }
31381 _ACEOF
31382 rm -f conftest.$ac_objext conftest$ac_exeext
31383 if { (ac_try="$ac_link"
31384 case "(($ac_try" in
31385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31386 *) ac_try_echo=$ac_try;;
31387 esac
31388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31389 (eval "$ac_link") 2>conftest.er1
31390 ac_status=$?
31391 grep -v '^ *+' conftest.er1 >conftest.err
31392 rm -f conftest.er1
31393 cat conftest.err >&5
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); } && {
31396 test -z "$ac_c_werror_flag" ||
31397 test ! -s conftest.err
31398 } && test -s conftest$ac_exeext &&
31399 $as_test_x conftest$ac_exeext; then
31400 ac_cv_lib_posix_remove=yes
31401 else
31402 echo "$as_me: failed program was:" >&5
31403 sed 's/^/| /' conftest.$ac_ext >&5
31404
31405 ac_cv_lib_posix_remove=no
31406 fi
31407
31408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31409 conftest$ac_exeext conftest.$ac_ext
31410 LIBS=$ac_check_lib_save_LIBS
31411 fi
31412 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31413 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31414 if test $ac_cv_lib_posix_remove = yes; then
31415 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31416 fi
31417
31418 fi
31419
31420 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31421 { echo "$as_me:$LINENO: checking for shmat" >&5
31422 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31423 if test "${ac_cv_func_shmat+set}" = set; then
31424 echo $ECHO_N "(cached) $ECHO_C" >&6
31425 else
31426 cat >conftest.$ac_ext <<_ACEOF
31427 /* confdefs.h. */
31428 _ACEOF
31429 cat confdefs.h >>conftest.$ac_ext
31430 cat >>conftest.$ac_ext <<_ACEOF
31431 /* end confdefs.h. */
31432 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31434 #define shmat innocuous_shmat
31435
31436 /* System header to define __stub macros and hopefully few prototypes,
31437 which can conflict with char shmat (); below.
31438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31439 <limits.h> exists even on freestanding compilers. */
31440
31441 #ifdef __STDC__
31442 # include <limits.h>
31443 #else
31444 # include <assert.h>
31445 #endif
31446
31447 #undef shmat
31448
31449 /* Override any GCC internal prototype to avoid an error.
31450 Use char because int might match the return type of a GCC
31451 builtin and then its argument prototype would still apply. */
31452 #ifdef __cplusplus
31453 extern "C"
31454 #endif
31455 char shmat ();
31456 /* The GNU C library defines this for functions which it implements
31457 to always fail with ENOSYS. Some functions are actually named
31458 something starting with __ and the normal name is an alias. */
31459 #if defined __stub_shmat || defined __stub___shmat
31460 choke me
31461 #endif
31462
31463 int
31464 main ()
31465 {
31466 return shmat ();
31467 ;
31468 return 0;
31469 }
31470 _ACEOF
31471 rm -f conftest.$ac_objext conftest$ac_exeext
31472 if { (ac_try="$ac_link"
31473 case "(($ac_try" in
31474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31475 *) ac_try_echo=$ac_try;;
31476 esac
31477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31478 (eval "$ac_link") 2>conftest.er1
31479 ac_status=$?
31480 grep -v '^ *+' conftest.er1 >conftest.err
31481 rm -f conftest.er1
31482 cat conftest.err >&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); } && {
31485 test -z "$ac_c_werror_flag" ||
31486 test ! -s conftest.err
31487 } && test -s conftest$ac_exeext &&
31488 $as_test_x conftest$ac_exeext; then
31489 ac_cv_func_shmat=yes
31490 else
31491 echo "$as_me: failed program was:" >&5
31492 sed 's/^/| /' conftest.$ac_ext >&5
31493
31494 ac_cv_func_shmat=no
31495 fi
31496
31497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31498 conftest$ac_exeext conftest.$ac_ext
31499 fi
31500 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31501 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31502
31503 if test $ac_cv_func_shmat = no; then
31504 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31505 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31506 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31507 echo $ECHO_N "(cached) $ECHO_C" >&6
31508 else
31509 ac_check_lib_save_LIBS=$LIBS
31510 LIBS="-lipc $LIBS"
31511 cat >conftest.$ac_ext <<_ACEOF
31512 /* confdefs.h. */
31513 _ACEOF
31514 cat confdefs.h >>conftest.$ac_ext
31515 cat >>conftest.$ac_ext <<_ACEOF
31516 /* end confdefs.h. */
31517
31518 /* Override any GCC internal prototype to avoid an error.
31519 Use char because int might match the return type of a GCC
31520 builtin and then its argument prototype would still apply. */
31521 #ifdef __cplusplus
31522 extern "C"
31523 #endif
31524 char shmat ();
31525 int
31526 main ()
31527 {
31528 return shmat ();
31529 ;
31530 return 0;
31531 }
31532 _ACEOF
31533 rm -f conftest.$ac_objext conftest$ac_exeext
31534 if { (ac_try="$ac_link"
31535 case "(($ac_try" in
31536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31537 *) ac_try_echo=$ac_try;;
31538 esac
31539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31540 (eval "$ac_link") 2>conftest.er1
31541 ac_status=$?
31542 grep -v '^ *+' conftest.er1 >conftest.err
31543 rm -f conftest.er1
31544 cat conftest.err >&5
31545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31546 (exit $ac_status); } && {
31547 test -z "$ac_c_werror_flag" ||
31548 test ! -s conftest.err
31549 } && test -s conftest$ac_exeext &&
31550 $as_test_x conftest$ac_exeext; then
31551 ac_cv_lib_ipc_shmat=yes
31552 else
31553 echo "$as_me: failed program was:" >&5
31554 sed 's/^/| /' conftest.$ac_ext >&5
31555
31556 ac_cv_lib_ipc_shmat=no
31557 fi
31558
31559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31560 conftest$ac_exeext conftest.$ac_ext
31561 LIBS=$ac_check_lib_save_LIBS
31562 fi
31563 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31564 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31565 if test $ac_cv_lib_ipc_shmat = yes; then
31566 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31567 fi
31568
31569 fi
31570 fi
31571
31572 # Check for libraries that X11R6 Xt/Xaw programs need.
31573 ac_save_LDFLAGS=$LDFLAGS
31574 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31575 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31576 # check for ICE first), but we must link in the order -lSM -lICE or
31577 # we get undefined symbols. So assume we have SM if we have ICE.
31578 # These have to be linked with before -lX11, unlike the other
31579 # libraries we check for below, so use a different variable.
31580 # John Interrante, Karl Berry
31581 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31582 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31583 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31584 echo $ECHO_N "(cached) $ECHO_C" >&6
31585 else
31586 ac_check_lib_save_LIBS=$LIBS
31587 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31588 cat >conftest.$ac_ext <<_ACEOF
31589 /* confdefs.h. */
31590 _ACEOF
31591 cat confdefs.h >>conftest.$ac_ext
31592 cat >>conftest.$ac_ext <<_ACEOF
31593 /* end confdefs.h. */
31594
31595 /* Override any GCC internal prototype to avoid an error.
31596 Use char because int might match the return type of a GCC
31597 builtin and then its argument prototype would still apply. */
31598 #ifdef __cplusplus
31599 extern "C"
31600 #endif
31601 char IceConnectionNumber ();
31602 int
31603 main ()
31604 {
31605 return IceConnectionNumber ();
31606 ;
31607 return 0;
31608 }
31609 _ACEOF
31610 rm -f conftest.$ac_objext conftest$ac_exeext
31611 if { (ac_try="$ac_link"
31612 case "(($ac_try" in
31613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31614 *) ac_try_echo=$ac_try;;
31615 esac
31616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31617 (eval "$ac_link") 2>conftest.er1
31618 ac_status=$?
31619 grep -v '^ *+' conftest.er1 >conftest.err
31620 rm -f conftest.er1
31621 cat conftest.err >&5
31622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623 (exit $ac_status); } && {
31624 test -z "$ac_c_werror_flag" ||
31625 test ! -s conftest.err
31626 } && test -s conftest$ac_exeext &&
31627 $as_test_x conftest$ac_exeext; then
31628 ac_cv_lib_ICE_IceConnectionNumber=yes
31629 else
31630 echo "$as_me: failed program was:" >&5
31631 sed 's/^/| /' conftest.$ac_ext >&5
31632
31633 ac_cv_lib_ICE_IceConnectionNumber=no
31634 fi
31635
31636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31637 conftest$ac_exeext conftest.$ac_ext
31638 LIBS=$ac_check_lib_save_LIBS
31639 fi
31640 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31641 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31642 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31643 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31644 fi
31645
31646 LDFLAGS=$ac_save_LDFLAGS
31647
31648 fi
31649
31650
31651 if test "$no_x" = "yes"; then
31652 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31653 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31654 { (exit 1); exit 1; }; }
31655 fi
31656
31657 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31658 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31659 AFMINSTALL=afminstall
31660 COMPILED_X_PROGRAM=0
31661
31662 fi
31663
31664 if test "$wxUSE_X11" = 1; then
31665 if test "$wxUSE_NANOX" = "yes"; then
31666 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31667 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31668 if test "x$MICROWIN" = x ; then
31669 { echo "$as_me:$LINENO: result: not found" >&5
31670 echo "${ECHO_T}not found" >&6; }
31671 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31672 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31673 { (exit 1); exit 1; }; }
31674 else
31675 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31676 echo "${ECHO_T}$MICROWIN" >&6; }
31677 cat >>confdefs.h <<\_ACEOF
31678 #define wxUSE_NANOX 1
31679 _ACEOF
31680
31681 fi
31682 fi
31683
31684 if test "$wxUSE_UNICODE" = "yes"; then
31685
31686
31687 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31688 if test -n "$ac_tool_prefix"; then
31689 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31690 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31693 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31694 echo $ECHO_N "(cached) $ECHO_C" >&6
31695 else
31696 case $PKG_CONFIG in
31697 [\\/]* | ?:[\\/]*)
31698 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31699 ;;
31700 *)
31701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31702 for as_dir in $PATH
31703 do
31704 IFS=$as_save_IFS
31705 test -z "$as_dir" && as_dir=.
31706 for ac_exec_ext in '' $ac_executable_extensions; do
31707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31708 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31710 break 2
31711 fi
31712 done
31713 done
31714 IFS=$as_save_IFS
31715
31716 ;;
31717 esac
31718 fi
31719 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31720 if test -n "$PKG_CONFIG"; then
31721 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31722 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31723 else
31724 { echo "$as_me:$LINENO: result: no" >&5
31725 echo "${ECHO_T}no" >&6; }
31726 fi
31727
31728
31729 fi
31730 if test -z "$ac_cv_path_PKG_CONFIG"; then
31731 ac_pt_PKG_CONFIG=$PKG_CONFIG
31732 # Extract the first word of "pkg-config", so it can be a program name with args.
31733 set dummy pkg-config; ac_word=$2
31734 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31736 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31737 echo $ECHO_N "(cached) $ECHO_C" >&6
31738 else
31739 case $ac_pt_PKG_CONFIG in
31740 [\\/]* | ?:[\\/]*)
31741 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31742 ;;
31743 *)
31744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31745 for as_dir in $PATH
31746 do
31747 IFS=$as_save_IFS
31748 test -z "$as_dir" && as_dir=.
31749 for ac_exec_ext in '' $ac_executable_extensions; do
31750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31751 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31753 break 2
31754 fi
31755 done
31756 done
31757 IFS=$as_save_IFS
31758
31759 ;;
31760 esac
31761 fi
31762 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31763 if test -n "$ac_pt_PKG_CONFIG"; then
31764 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31765 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31766 else
31767 { echo "$as_me:$LINENO: result: no" >&5
31768 echo "${ECHO_T}no" >&6; }
31769 fi
31770
31771 if test "x$ac_pt_PKG_CONFIG" = x; then
31772 PKG_CONFIG=""
31773 else
31774 case $cross_compiling:$ac_tool_warned in
31775 yes:)
31776 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31777 whose name does not start with the host triplet. If you think this
31778 configuration is useful to you, please write to autoconf@gnu.org." >&5
31779 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31780 whose name does not start with the host triplet. If you think this
31781 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31782 ac_tool_warned=yes ;;
31783 esac
31784 PKG_CONFIG=$ac_pt_PKG_CONFIG
31785 fi
31786 else
31787 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31788 fi
31789
31790 fi
31791 if test -n "$PKG_CONFIG"; then
31792 _pkg_min_version=0.9.0
31793 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31794 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31795 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31796 { echo "$as_me:$LINENO: result: yes" >&5
31797 echo "${ECHO_T}yes" >&6; }
31798 else
31799 { echo "$as_me:$LINENO: result: no" >&5
31800 echo "${ECHO_T}no" >&6; }
31801 PKG_CONFIG=""
31802 fi
31803
31804 fi
31805
31806
31807 pkg_failed=no
31808 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31809 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31810
31811 if test -n "$PKG_CONFIG"; then
31812 if test -n "$PANGOX_CFLAGS"; then
31813 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31814 else
31815 if test -n "$PKG_CONFIG" && \
31816 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31817 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31818 ac_status=$?
31819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31820 (exit $ac_status); }; then
31821 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31822 else
31823 pkg_failed=yes
31824 fi
31825 fi
31826 else
31827 pkg_failed=untried
31828 fi
31829 if test -n "$PKG_CONFIG"; then
31830 if test -n "$PANGOX_LIBS"; then
31831 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31832 else
31833 if test -n "$PKG_CONFIG" && \
31834 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31835 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31836 ac_status=$?
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); }; then
31839 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31840 else
31841 pkg_failed=yes
31842 fi
31843 fi
31844 else
31845 pkg_failed=untried
31846 fi
31847
31848
31849
31850 if test $pkg_failed = yes; then
31851
31852 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31853 _pkg_short_errors_supported=yes
31854 else
31855 _pkg_short_errors_supported=no
31856 fi
31857 if test $_pkg_short_errors_supported = yes; then
31858 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31859 else
31860 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31861 fi
31862 # Put the nasty error message in config.log where it belongs
31863 echo "$PANGOX_PKG_ERRORS" >&5
31864
31865
31866 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31867 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31868 { (exit 1); exit 1; }; }
31869
31870
31871 elif test $pkg_failed = untried; then
31872
31873 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31874 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31875 { (exit 1); exit 1; }; }
31876
31877
31878 else
31879 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31880 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31881 { echo "$as_me:$LINENO: result: yes" >&5
31882 echo "${ECHO_T}yes" >&6; }
31883
31884 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31885 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31886 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31887
31888 fi
31889
31890 pkg_failed=no
31891 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31892 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31893
31894 if test -n "$PKG_CONFIG"; then
31895 if test -n "$PANGOFT2_CFLAGS"; then
31896 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31897 else
31898 if test -n "$PKG_CONFIG" && \
31899 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31900 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31901 ac_status=$?
31902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31903 (exit $ac_status); }; then
31904 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31905 else
31906 pkg_failed=yes
31907 fi
31908 fi
31909 else
31910 pkg_failed=untried
31911 fi
31912 if test -n "$PKG_CONFIG"; then
31913 if test -n "$PANGOFT2_LIBS"; then
31914 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31915 else
31916 if test -n "$PKG_CONFIG" && \
31917 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31918 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31919 ac_status=$?
31920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31921 (exit $ac_status); }; then
31922 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31923 else
31924 pkg_failed=yes
31925 fi
31926 fi
31927 else
31928 pkg_failed=untried
31929 fi
31930
31931
31932
31933 if test $pkg_failed = yes; then
31934
31935 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31936 _pkg_short_errors_supported=yes
31937 else
31938 _pkg_short_errors_supported=no
31939 fi
31940 if test $_pkg_short_errors_supported = yes; then
31941 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31942 else
31943 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31944 fi
31945 # Put the nasty error message in config.log where it belongs
31946 echo "$PANGOFT2_PKG_ERRORS" >&5
31947
31948
31949 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31950 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31951 wxUSE_PRINTING_ARCHITECTURE="no"
31952
31953
31954 elif test $pkg_failed = untried; then
31955
31956 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31957 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31958 wxUSE_PRINTING_ARCHITECTURE="no"
31959
31960
31961 else
31962 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31963 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31964 { echo "$as_me:$LINENO: result: yes" >&5
31965 echo "${ECHO_T}yes" >&6; }
31966
31967 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31968 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31969 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31970
31971 fi
31972
31973 pkg_failed=no
31974 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31975 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31976
31977 if test -n "$PKG_CONFIG"; then
31978 if test -n "$PANGOXFT_CFLAGS"; then
31979 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31980 else
31981 if test -n "$PKG_CONFIG" && \
31982 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31983 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31984 ac_status=$?
31985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31986 (exit $ac_status); }; then
31987 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31988 else
31989 pkg_failed=yes
31990 fi
31991 fi
31992 else
31993 pkg_failed=untried
31994 fi
31995 if test -n "$PKG_CONFIG"; then
31996 if test -n "$PANGOXFT_LIBS"; then
31997 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31998 else
31999 if test -n "$PKG_CONFIG" && \
32000 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32001 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32002 ac_status=$?
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); }; then
32005 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32006 else
32007 pkg_failed=yes
32008 fi
32009 fi
32010 else
32011 pkg_failed=untried
32012 fi
32013
32014
32015
32016 if test $pkg_failed = yes; then
32017
32018 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32019 _pkg_short_errors_supported=yes
32020 else
32021 _pkg_short_errors_supported=no
32022 fi
32023 if test $_pkg_short_errors_supported = yes; then
32024 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32025 else
32026 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32027 fi
32028 # Put the nasty error message in config.log where it belongs
32029 echo "$PANGOXFT_PKG_ERRORS" >&5
32030
32031
32032 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32033 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32034
32035
32036 elif test $pkg_failed = untried; then
32037
32038 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32039 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32040
32041
32042 else
32043 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32044 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32045 { echo "$as_me:$LINENO: result: yes" >&5
32046 echo "${ECHO_T}yes" >&6; }
32047
32048 cat >>confdefs.h <<\_ACEOF
32049 #define HAVE_PANGO_XFT 1
32050 _ACEOF
32051
32052 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32053 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32054 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32055
32056 fi
32057 save_LIBS="$LIBS"
32058 LIBS="$LIBS $PANGOX_LIBS"
32059
32060 for ac_func in pango_font_family_is_monospace
32061 do
32062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32063 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32065 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32066 echo $ECHO_N "(cached) $ECHO_C" >&6
32067 else
32068 cat >conftest.$ac_ext <<_ACEOF
32069 /* confdefs.h. */
32070 _ACEOF
32071 cat confdefs.h >>conftest.$ac_ext
32072 cat >>conftest.$ac_ext <<_ACEOF
32073 /* end confdefs.h. */
32074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32076 #define $ac_func innocuous_$ac_func
32077
32078 /* System header to define __stub macros and hopefully few prototypes,
32079 which can conflict with char $ac_func (); below.
32080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32081 <limits.h> exists even on freestanding compilers. */
32082
32083 #ifdef __STDC__
32084 # include <limits.h>
32085 #else
32086 # include <assert.h>
32087 #endif
32088
32089 #undef $ac_func
32090
32091 /* Override any GCC internal prototype to avoid an error.
32092 Use char because int might match the return type of a GCC
32093 builtin and then its argument prototype would still apply. */
32094 #ifdef __cplusplus
32095 extern "C"
32096 #endif
32097 char $ac_func ();
32098 /* The GNU C library defines this for functions which it implements
32099 to always fail with ENOSYS. Some functions are actually named
32100 something starting with __ and the normal name is an alias. */
32101 #if defined __stub_$ac_func || defined __stub___$ac_func
32102 choke me
32103 #endif
32104
32105 int
32106 main ()
32107 {
32108 return $ac_func ();
32109 ;
32110 return 0;
32111 }
32112 _ACEOF
32113 rm -f conftest.$ac_objext conftest$ac_exeext
32114 if { (ac_try="$ac_link"
32115 case "(($ac_try" in
32116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32117 *) ac_try_echo=$ac_try;;
32118 esac
32119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32120 (eval "$ac_link") 2>conftest.er1
32121 ac_status=$?
32122 grep -v '^ *+' conftest.er1 >conftest.err
32123 rm -f conftest.er1
32124 cat conftest.err >&5
32125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32126 (exit $ac_status); } && {
32127 test -z "$ac_c_werror_flag" ||
32128 test ! -s conftest.err
32129 } && test -s conftest$ac_exeext &&
32130 $as_test_x conftest$ac_exeext; then
32131 eval "$as_ac_var=yes"
32132 else
32133 echo "$as_me: failed program was:" >&5
32134 sed 's/^/| /' conftest.$ac_ext >&5
32135
32136 eval "$as_ac_var=no"
32137 fi
32138
32139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32140 conftest$ac_exeext conftest.$ac_ext
32141 fi
32142 ac_res=`eval echo '${'$as_ac_var'}'`
32143 { echo "$as_me:$LINENO: result: $ac_res" >&5
32144 echo "${ECHO_T}$ac_res" >&6; }
32145 if test `eval echo '${'$as_ac_var'}'` = yes; then
32146 cat >>confdefs.h <<_ACEOF
32147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32148 _ACEOF
32149
32150 fi
32151 done
32152
32153 LIBS="$save_LIBS"
32154 fi
32155
32156 wxUSE_UNIVERSAL="yes"
32157
32158 if test "$wxUSE_NANOX" = "yes"; then
32159 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32160 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"
32161 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32162 else
32163 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32164 fi
32165
32166 TOOLKIT=X11
32167 GUIDIST=X11_DIST
32168 fi
32169
32170 if test "$wxUSE_MOTIF" = 1; then
32171 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32172 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32173
32174 ac_find_includes=
32175 for ac_dir in $SEARCH_INCLUDE /usr/include;
32176 do
32177 if test -f "$ac_dir/Xm/Xm.h"; then
32178 ac_find_includes=$ac_dir
32179 break
32180 fi
32181 done
32182
32183 if test "$ac_find_includes" != "" ; then
32184 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32185 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32186
32187 if test "x$ac_find_includes" = "x/usr/include"; then
32188 ac_path_to_include=""
32189 else
32190 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32191 result=$?
32192 if test $result = 0; then
32193 ac_path_to_include=""
32194 else
32195 ac_path_to_include=" -I$ac_find_includes"
32196 fi
32197 fi
32198
32199 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32200 else
32201 save_CFLAGS=$CFLAGS
32202 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32203
32204 cat >conftest.$ac_ext <<_ACEOF
32205 /* confdefs.h. */
32206 _ACEOF
32207 cat confdefs.h >>conftest.$ac_ext
32208 cat >>conftest.$ac_ext <<_ACEOF
32209 /* end confdefs.h. */
32210
32211 #include <Xm/Xm.h>
32212
32213 int
32214 main ()
32215 {
32216
32217 int version;
32218 version = xmUseVersion;
32219
32220 ;
32221 return 0;
32222 }
32223 _ACEOF
32224 rm -f conftest.$ac_objext
32225 if { (ac_try="$ac_compile"
32226 case "(($ac_try" in
32227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32228 *) ac_try_echo=$ac_try;;
32229 esac
32230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32231 (eval "$ac_compile") 2>conftest.er1
32232 ac_status=$?
32233 grep -v '^ *+' conftest.er1 >conftest.err
32234 rm -f conftest.er1
32235 cat conftest.err >&5
32236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237 (exit $ac_status); } && {
32238 test -z "$ac_c_werror_flag" ||
32239 test ! -s conftest.err
32240 } && test -s conftest.$ac_objext; then
32241
32242 { echo "$as_me:$LINENO: result: found in default search path" >&5
32243 echo "${ECHO_T}found in default search path" >&6; }
32244 COMPILED_X_PROGRAM=1
32245
32246 else
32247 echo "$as_me: failed program was:" >&5
32248 sed 's/^/| /' conftest.$ac_ext >&5
32249
32250
32251 { echo "$as_me:$LINENO: result: no" >&5
32252 echo "${ECHO_T}no" >&6; }
32253 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32254 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32255 { (exit 1); exit 1; }; }
32256
32257
32258 fi
32259
32260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32261
32262 CFLAGS=$save_CFLAGS
32263 fi
32264
32265
32266 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32267 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32268
32269 ac_find_libraries=
32270 for ac_dir in $SEARCH_LIB;
32271 do
32272 for ac_extension in a so sl dylib dll.a; do
32273 if test -f "$ac_dir/libXm.$ac_extension"; then
32274 ac_find_libraries=$ac_dir
32275 break 2
32276 fi
32277 done
32278 done
32279
32280
32281 if test "x$ac_find_libraries" != "x" ; then
32282 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32283 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32284
32285
32286 if test "$ac_find_libraries" = "default location"; then
32287 ac_path_to_link=""
32288 else
32289 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32290 result=$?
32291 if test $result = 0; then
32292 ac_path_to_link=""
32293 else
32294 ac_path_to_link=" -L$ac_find_libraries"
32295 fi
32296 fi
32297
32298 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32299 else
32300 save_CFLAGS=$CFLAGS
32301 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32302 save_LIBS="$LIBS"
32303 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32304
32305 cat >conftest.$ac_ext <<_ACEOF
32306 /* confdefs.h. */
32307 _ACEOF
32308 cat confdefs.h >>conftest.$ac_ext
32309 cat >>conftest.$ac_ext <<_ACEOF
32310 /* end confdefs.h. */
32311
32312 #include <Xm/Xm.h>
32313
32314 int
32315 main ()
32316 {
32317
32318 int version;
32319 version = xmUseVersion;
32320
32321 ;
32322 return 0;
32323 }
32324 _ACEOF
32325 rm -f conftest.$ac_objext conftest$ac_exeext
32326 if { (ac_try="$ac_link"
32327 case "(($ac_try" in
32328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32329 *) ac_try_echo=$ac_try;;
32330 esac
32331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32332 (eval "$ac_link") 2>conftest.er1
32333 ac_status=$?
32334 grep -v '^ *+' conftest.er1 >conftest.err
32335 rm -f conftest.er1
32336 cat conftest.err >&5
32337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32338 (exit $ac_status); } && {
32339 test -z "$ac_c_werror_flag" ||
32340 test ! -s conftest.err
32341 } && test -s conftest$ac_exeext &&
32342 $as_test_x conftest$ac_exeext; then
32343
32344 { echo "$as_me:$LINENO: result: found in default search path" >&5
32345 echo "${ECHO_T}found in default search path" >&6; }
32346 COMPILED_X_PROGRAM=1
32347
32348 else
32349 echo "$as_me: failed program was:" >&5
32350 sed 's/^/| /' conftest.$ac_ext >&5
32351
32352
32353 { echo "$as_me:$LINENO: result: no" >&5
32354 echo "${ECHO_T}no" >&6; }
32355 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32356 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32357 { (exit 1); exit 1; }; }
32358
32359
32360 fi
32361
32362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32363 conftest$ac_exeext conftest.$ac_ext
32364
32365 CFLAGS=$save_CFLAGS
32366 LIBS="$save_LIBS"
32367 fi
32368
32369 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32370 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32371 libp_link=""
32372 libsm_ice_link=""
32373 libs_found=0
32374 for libp in "" " -lXp"; do
32375 if test "$libs_found" = 0; then
32376 for libsm_ice in "" " -lSM -lICE"; do
32377 if test "$libs_found" = 0; then
32378 save_LIBS="$LIBS"
32379 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32380 save_CFLAGS=$CFLAGS
32381 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32382
32383 cat >conftest.$ac_ext <<_ACEOF
32384 /* confdefs.h. */
32385 _ACEOF
32386 cat confdefs.h >>conftest.$ac_ext
32387 cat >>conftest.$ac_ext <<_ACEOF
32388 /* end confdefs.h. */
32389
32390 #include <Xm/Xm.h>
32391 #include <Xm/List.h>
32392
32393 int
32394 main ()
32395 {
32396
32397 XmString string = NULL;
32398 Widget w = NULL;
32399 int position = 0;
32400 XmListAddItem(w, string, position);
32401
32402 ;
32403 return 0;
32404 }
32405 _ACEOF
32406 rm -f conftest.$ac_objext conftest$ac_exeext
32407 if { (ac_try="$ac_link"
32408 case "(($ac_try" in
32409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32410 *) ac_try_echo=$ac_try;;
32411 esac
32412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32413 (eval "$ac_link") 2>conftest.er1
32414 ac_status=$?
32415 grep -v '^ *+' conftest.er1 >conftest.err
32416 rm -f conftest.er1
32417 cat conftest.err >&5
32418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32419 (exit $ac_status); } && {
32420 test -z "$ac_c_werror_flag" ||
32421 test ! -s conftest.err
32422 } && test -s conftest$ac_exeext &&
32423 $as_test_x conftest$ac_exeext; then
32424
32425 libp_link="$libp"
32426 libsm_ice_link="$libsm_ice"
32427 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32428 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32429 libs_found=1
32430
32431 else
32432 echo "$as_me: failed program was:" >&5
32433 sed 's/^/| /' conftest.$ac_ext >&5
32434
32435
32436
32437 fi
32438
32439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32440 conftest$ac_exeext conftest.$ac_ext
32441
32442 LIBS="$save_LIBS"
32443 CFLAGS=$save_CFLAGS
32444 fi
32445 done
32446 fi
32447 done
32448
32449 if test "$libs_found" = 0; then
32450 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32451 echo "${ECHO_T}can't find the right libraries" >&6; }
32452 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32453 echo "$as_me: error: can't link a simple motif program" >&2;}
32454 { (exit 1); exit 1; }; }
32455 fi
32456
32457 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32458 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32459 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32460 echo $ECHO_N "(cached) $ECHO_C" >&6
32461 else
32462 ac_check_lib_save_LIBS=$LIBS
32463 LIBS="-lSgm $LIBS"
32464 cat >conftest.$ac_ext <<_ACEOF
32465 /* confdefs.h. */
32466 _ACEOF
32467 cat confdefs.h >>conftest.$ac_ext
32468 cat >>conftest.$ac_ext <<_ACEOF
32469 /* end confdefs.h. */
32470
32471 /* Override any GCC internal prototype to avoid an error.
32472 Use char because int might match the return type of a GCC
32473 builtin and then its argument prototype would still apply. */
32474 #ifdef __cplusplus
32475 extern "C"
32476 #endif
32477 char SgCreateList ();
32478 int
32479 main ()
32480 {
32481 return SgCreateList ();
32482 ;
32483 return 0;
32484 }
32485 _ACEOF
32486 rm -f conftest.$ac_objext conftest$ac_exeext
32487 if { (ac_try="$ac_link"
32488 case "(($ac_try" in
32489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32490 *) ac_try_echo=$ac_try;;
32491 esac
32492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32493 (eval "$ac_link") 2>conftest.er1
32494 ac_status=$?
32495 grep -v '^ *+' conftest.er1 >conftest.err
32496 rm -f conftest.er1
32497 cat conftest.err >&5
32498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32499 (exit $ac_status); } && {
32500 test -z "$ac_c_werror_flag" ||
32501 test ! -s conftest.err
32502 } && test -s conftest$ac_exeext &&
32503 $as_test_x conftest$ac_exeext; then
32504 ac_cv_lib_Sgm_SgCreateList=yes
32505 else
32506 echo "$as_me: failed program was:" >&5
32507 sed 's/^/| /' conftest.$ac_ext >&5
32508
32509 ac_cv_lib_Sgm_SgCreateList=no
32510 fi
32511
32512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32513 conftest$ac_exeext conftest.$ac_ext
32514 LIBS=$ac_check_lib_save_LIBS
32515 fi
32516 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32517 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32518 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32519 libsgm_link=" -lSgm"
32520 fi
32521
32522
32523 save_CFLAGS=$CFLAGS
32524 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32525
32526 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32527 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32528 if test "${wx_cv_lib_motif2+set}" = set; then
32529 echo $ECHO_N "(cached) $ECHO_C" >&6
32530 else
32531 cat >conftest.$ac_ext <<_ACEOF
32532 /* confdefs.h. */
32533 _ACEOF
32534 cat confdefs.h >>conftest.$ac_ext
32535 cat >>conftest.$ac_ext <<_ACEOF
32536 /* end confdefs.h. */
32537
32538 #include <Xm/Xm.h>
32539
32540 int
32541 main ()
32542 {
32543
32544 #if XmVersion < 2000
32545 Not Motif 2
32546 #endif
32547
32548 ;
32549 return 0;
32550 }
32551 _ACEOF
32552 rm -f conftest.$ac_objext
32553 if { (ac_try="$ac_compile"
32554 case "(($ac_try" in
32555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32556 *) ac_try_echo=$ac_try;;
32557 esac
32558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32559 (eval "$ac_compile") 2>conftest.er1
32560 ac_status=$?
32561 grep -v '^ *+' conftest.er1 >conftest.err
32562 rm -f conftest.er1
32563 cat conftest.err >&5
32564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565 (exit $ac_status); } && {
32566 test -z "$ac_c_werror_flag" ||
32567 test ! -s conftest.err
32568 } && test -s conftest.$ac_objext; then
32569 wx_cv_lib_motif2="yes"
32570 else
32571 echo "$as_me: failed program was:" >&5
32572 sed 's/^/| /' conftest.$ac_ext >&5
32573
32574 wx_cv_lib_motif2="no"
32575 fi
32576
32577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32578 fi
32579 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32580 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32581 if test "$wx_cv_lib_motif2" = "yes"; then
32582 cat >>confdefs.h <<\_ACEOF
32583 #define __WXMOTIF20__ 1
32584 _ACEOF
32585
32586 else
32587 cat >>confdefs.h <<\_ACEOF
32588 #define __WXMOTIF20__ 0
32589 _ACEOF
32590
32591 fi
32592
32593 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32594 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32595 if test "${wx_cv_lib_lesstif+set}" = set; then
32596 echo $ECHO_N "(cached) $ECHO_C" >&6
32597 else
32598 cat >conftest.$ac_ext <<_ACEOF
32599 /* confdefs.h. */
32600 _ACEOF
32601 cat confdefs.h >>conftest.$ac_ext
32602 cat >>conftest.$ac_ext <<_ACEOF
32603 /* end confdefs.h. */
32604
32605 #include <Xm/Xm.h>
32606
32607 int
32608 main ()
32609 {
32610
32611 #if !defined(LesstifVersion) || LesstifVersion <= 0
32612 Not Lesstif
32613 #endif
32614
32615 ;
32616 return 0;
32617 }
32618 _ACEOF
32619 rm -f conftest.$ac_objext
32620 if { (ac_try="$ac_compile"
32621 case "(($ac_try" in
32622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32623 *) ac_try_echo=$ac_try;;
32624 esac
32625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32626 (eval "$ac_compile") 2>conftest.er1
32627 ac_status=$?
32628 grep -v '^ *+' conftest.er1 >conftest.err
32629 rm -f conftest.er1
32630 cat conftest.err >&5
32631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32632 (exit $ac_status); } && {
32633 test -z "$ac_c_werror_flag" ||
32634 test ! -s conftest.err
32635 } && test -s conftest.$ac_objext; then
32636 wx_cv_lib_lesstif="yes"
32637 else
32638 echo "$as_me: failed program was:" >&5
32639 sed 's/^/| /' conftest.$ac_ext >&5
32640
32641 wx_cv_lib_lesstif="no"
32642 fi
32643
32644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32645
32646 fi
32647 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32648 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32649 if test "$wx_cv_lib_lesstif" = "yes"; then
32650 cat >>confdefs.h <<\_ACEOF
32651 #define __WXLESSTIF__ 1
32652 _ACEOF
32653
32654 else
32655 cat >>confdefs.h <<\_ACEOF
32656 #define __WXLESSTIF__ 0
32657 _ACEOF
32658
32659 fi
32660
32661 CFLAGS=$save_CFLAGS
32662
32663 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32664 TOOLKIT=MOTIF
32665 GUIDIST=MOTIF_DIST
32666 fi
32667
32668 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32669 if test "$wxUSE_LIBXPM" = "sys"; then
32670 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32671 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32672
32673 ac_find_libraries=
32674 for ac_dir in $SEARCH_LIB;
32675 do
32676 for ac_extension in a so sl dylib dll.a; do
32677 if test -f "$ac_dir/libXpm.$ac_extension"; then
32678 ac_find_libraries=$ac_dir
32679 break 2
32680 fi
32681 done
32682 done
32683
32684 if test "$ac_find_libraries" != "" ; then
32685
32686 if test "$ac_find_libraries" = "default location"; then
32687 ac_path_to_link=""
32688 else
32689 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32690 result=$?
32691 if test $result = 0; then
32692 ac_path_to_link=""
32693 else
32694 ac_path_to_link=" -L$ac_find_libraries"
32695 fi
32696 fi
32697
32698 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32699 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32700 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32701
32702 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32703 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32704 if test "${wx_cv_x11_xpm_h+set}" = set; then
32705 echo $ECHO_N "(cached) $ECHO_C" >&6
32706 else
32707
32708 save_CFLAGS=$CFLAGS
32709 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32710
32711 cat >conftest.$ac_ext <<_ACEOF
32712 /* confdefs.h. */
32713 _ACEOF
32714 cat confdefs.h >>conftest.$ac_ext
32715 cat >>conftest.$ac_ext <<_ACEOF
32716 /* end confdefs.h. */
32717
32718 #include <X11/xpm.h>
32719
32720 int
32721 main ()
32722 {
32723
32724 int version;
32725 version = XpmLibraryVersion();
32726
32727 ;
32728 return 0;
32729 }
32730 _ACEOF
32731 rm -f conftest.$ac_objext
32732 if { (ac_try="$ac_compile"
32733 case "(($ac_try" in
32734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32735 *) ac_try_echo=$ac_try;;
32736 esac
32737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32738 (eval "$ac_compile") 2>conftest.er1
32739 ac_status=$?
32740 grep -v '^ *+' conftest.er1 >conftest.err
32741 rm -f conftest.er1
32742 cat conftest.err >&5
32743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32744 (exit $ac_status); } && {
32745 test -z "$ac_c_werror_flag" ||
32746 test ! -s conftest.err
32747 } && test -s conftest.$ac_objext; then
32748 wx_cv_x11_xpm_h=yes
32749 else
32750 echo "$as_me: failed program was:" >&5
32751 sed 's/^/| /' conftest.$ac_ext >&5
32752
32753 wx_cv_x11_xpm_h=no
32754
32755 fi
32756
32757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32758
32759 CFLAGS=$save_CFLAGS
32760
32761
32762 fi
32763 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32764 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32765
32766 if test $wx_cv_x11_xpm_h = "yes"; then
32767 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32768 cat >>confdefs.h <<\_ACEOF
32769 #define wxHAVE_LIB_XPM 1
32770 _ACEOF
32771
32772 else
32773 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32774 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32775 fi
32776 fi
32777
32778 fi
32779
32780 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32781 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32782 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32783 echo $ECHO_N "(cached) $ECHO_C" >&6
32784 else
32785 ac_check_lib_save_LIBS=$LIBS
32786 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32787 cat >conftest.$ac_ext <<_ACEOF
32788 /* confdefs.h. */
32789 _ACEOF
32790 cat confdefs.h >>conftest.$ac_ext
32791 cat >>conftest.$ac_ext <<_ACEOF
32792 /* end confdefs.h. */
32793
32794 /* Override any GCC internal prototype to avoid an error.
32795 Use char because int might match the return type of a GCC
32796 builtin and then its argument prototype would still apply. */
32797 #ifdef __cplusplus
32798 extern "C"
32799 #endif
32800 char XShapeQueryExtension ();
32801 int
32802 main ()
32803 {
32804 return XShapeQueryExtension ();
32805 ;
32806 return 0;
32807 }
32808 _ACEOF
32809 rm -f conftest.$ac_objext conftest$ac_exeext
32810 if { (ac_try="$ac_link"
32811 case "(($ac_try" in
32812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32813 *) ac_try_echo=$ac_try;;
32814 esac
32815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32816 (eval "$ac_link") 2>conftest.er1
32817 ac_status=$?
32818 grep -v '^ *+' conftest.er1 >conftest.err
32819 rm -f conftest.er1
32820 cat conftest.err >&5
32821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32822 (exit $ac_status); } && {
32823 test -z "$ac_c_werror_flag" ||
32824 test ! -s conftest.err
32825 } && test -s conftest$ac_exeext &&
32826 $as_test_x conftest$ac_exeext; then
32827 ac_cv_lib_Xext_XShapeQueryExtension=yes
32828 else
32829 echo "$as_me: failed program was:" >&5
32830 sed 's/^/| /' conftest.$ac_ext >&5
32831
32832 ac_cv_lib_Xext_XShapeQueryExtension=no
32833 fi
32834
32835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32836 conftest$ac_exeext conftest.$ac_ext
32837 LIBS=$ac_check_lib_save_LIBS
32838 fi
32839 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32840 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32841 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32842
32843 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32844 wxHAVE_XEXT_LIB=1
32845
32846 fi
32847
32848
32849 if test "$wxHAVE_XEXT_LIB" = 1; then
32850 save_CFLAGS="$CFLAGS"
32851 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32852
32853 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32854 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32855 cat >conftest.$ac_ext <<_ACEOF
32856 /* confdefs.h. */
32857 _ACEOF
32858 cat confdefs.h >>conftest.$ac_ext
32859 cat >>conftest.$ac_ext <<_ACEOF
32860 /* end confdefs.h. */
32861
32862 #include <X11/Xlib.h>
32863 #include <X11/extensions/shape.h>
32864
32865 int
32866 main ()
32867 {
32868
32869 int dummy1, dummy2;
32870 XShapeQueryExtension((Display*)NULL,
32871 (int*)NULL, (int*)NULL);
32872
32873 ;
32874 return 0;
32875 }
32876 _ACEOF
32877 rm -f conftest.$ac_objext
32878 if { (ac_try="$ac_compile"
32879 case "(($ac_try" in
32880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32881 *) ac_try_echo=$ac_try;;
32882 esac
32883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32884 (eval "$ac_compile") 2>conftest.er1
32885 ac_status=$?
32886 grep -v '^ *+' conftest.er1 >conftest.err
32887 rm -f conftest.er1
32888 cat conftest.err >&5
32889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32890 (exit $ac_status); } && {
32891 test -z "$ac_c_werror_flag" ||
32892 test ! -s conftest.err
32893 } && test -s conftest.$ac_objext; then
32894
32895 cat >>confdefs.h <<\_ACEOF
32896 #define HAVE_XSHAPE 1
32897 _ACEOF
32898
32899 { echo "$as_me:$LINENO: result: found" >&5
32900 echo "${ECHO_T}found" >&6; }
32901
32902 else
32903 echo "$as_me: failed program was:" >&5
32904 sed 's/^/| /' conftest.$ac_ext >&5
32905
32906
32907 { echo "$as_me:$LINENO: result: not found" >&5
32908 echo "${ECHO_T}not found" >&6; }
32909
32910 fi
32911
32912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32913 CFLAGS="$save_CFLAGS"
32914
32915 fi
32916 fi
32917
32918 if test "$wxUSE_OSX_CARBON" = 1; then
32919 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32920 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32921 if test "$GCC" = yes; then
32922 { echo "$as_me:$LINENO: result: gcc" >&5
32923 echo "${ECHO_T}gcc" >&6; }
32924 CPPFLAGS_PASCAL="-fpascal-strings"
32925 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32926 { echo "$as_me:$LINENO: result: xlc" >&5
32927 echo "${ECHO_T}xlc" >&6; }
32928 CPPFLAGS_PASCAL="-qmacpstr"
32929 else
32930 { echo "$as_me:$LINENO: result: none" >&5
32931 echo "${ECHO_T}none" >&6; }
32932 fi
32933
32934 if test "x$wxUSE_UNIX" = "xyes"; then
32935 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32936 else
32937 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
32938 fi
32939
32940 TOOLKIT=OSX_CARBON
32941 GUIDIST=OSX_CARBON_DIST
32942 WXBASEPORT="_carbon"
32943
32944 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
32945 fi
32946
32947 if test "$wxUSE_OSX_COCOA" = 1; then
32948 TOOLKIT=OSX_COCOA
32949 GUIDIST=OSX_COCOA_DIST
32950
32951 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
32952 fi
32953
32954 if test "$wxUSE_COCOA" = 1; then
32955 TOOLKIT=COCOA
32956 GUIDIST=COCOA_DIST
32957 fi
32958
32959 if test "$wxUSE_PM" = 1; then
32960 TOOLKIT=PM
32961 GUIDIST=PM_DIST
32962 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32963 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32964 if test "${wx_cv_spbcdata+set}" = set; then
32965 echo $ECHO_N "(cached) $ECHO_C" >&6
32966 else
32967
32968 cat >conftest.$ac_ext <<_ACEOF
32969 /* confdefs.h. */
32970 _ACEOF
32971 cat confdefs.h >>conftest.$ac_ext
32972 cat >>conftest.$ac_ext <<_ACEOF
32973 /* end confdefs.h. */
32974
32975 #define INCL_PM
32976 #include <os2.h>
32977
32978 int
32979 main ()
32980 {
32981
32982 SPBCDATA test;
32983
32984 ;
32985 return 0;
32986 }
32987 _ACEOF
32988 rm -f conftest.$ac_objext
32989 if { (ac_try="$ac_compile"
32990 case "(($ac_try" in
32991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32992 *) ac_try_echo=$ac_try;;
32993 esac
32994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32995 (eval "$ac_compile") 2>conftest.er1
32996 ac_status=$?
32997 grep -v '^ *+' conftest.er1 >conftest.err
32998 rm -f conftest.er1
32999 cat conftest.err >&5
33000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33001 (exit $ac_status); } && {
33002 test -z "$ac_c_werror_flag" ||
33003 test ! -s conftest.err
33004 } && test -s conftest.$ac_objext; then
33005 wx_cv_spbcdata=yes
33006 else
33007 echo "$as_me: failed program was:" >&5
33008 sed 's/^/| /' conftest.$ac_ext >&5
33009
33010 wx_cv_spbcdata=no
33011
33012 fi
33013
33014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33015
33016
33017 fi
33018 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33019 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33020
33021 if test $wx_cv_spbcdata = "yes"; then
33022 cat >>confdefs.h <<\_ACEOF
33023 #define HAVE_SPBCDATA 1
33024 _ACEOF
33025
33026 fi
33027 fi
33028
33029 if test "$TOOLKIT" = "PM" ; then
33030 TOOLKIT_DIR="os2"
33031 else
33032 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33033 fi
33034
33035 if test "$wxUSE_UNIVERSAL" = "yes"; then
33036 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33037 WIDGET_SET=univ
33038 fi
33039
33040 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33041 DISTDIR="wx\$(TOOLKIT)"
33042 else
33043 USE_GUI=0
33044
33045 TOOLKIT_DIR="base"
33046
33047 if test "$USE_WIN32" = 1 ; then
33048 TOOLKIT="MSW"
33049 fi
33050
33051 GUIDIST="BASE_DIST"
33052 DISTDIR="wxBase"
33053 fi
33054
33055
33056
33057 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33058 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33059 wxUSE_UNICODE_UTF8=yes
33060 elif test "$USE_OS2" = 1 ; then
33061 wxUSE_UNICODE_UTF8=yes
33062 else
33063 wxUSE_UNICODE_UTF8=no
33064 fi
33065 fi
33066
33067
33068 if test "$wxUSE_GUI" = "yes"; then
33069 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33070
33071 for ac_header in X11/Xlib.h
33072 do
33073 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33074 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33076 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33077 echo $ECHO_N "(cached) $ECHO_C" >&6
33078 else
33079 cat >conftest.$ac_ext <<_ACEOF
33080 /* confdefs.h. */
33081 _ACEOF
33082 cat confdefs.h >>conftest.$ac_ext
33083 cat >>conftest.$ac_ext <<_ACEOF
33084 /* end confdefs.h. */
33085
33086
33087 #include <$ac_header>
33088 _ACEOF
33089 rm -f conftest.$ac_objext
33090 if { (ac_try="$ac_compile"
33091 case "(($ac_try" in
33092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33093 *) ac_try_echo=$ac_try;;
33094 esac
33095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33096 (eval "$ac_compile") 2>conftest.er1
33097 ac_status=$?
33098 grep -v '^ *+' conftest.er1 >conftest.err
33099 rm -f conftest.er1
33100 cat conftest.err >&5
33101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33102 (exit $ac_status); } && {
33103 test -z "$ac_c_werror_flag" ||
33104 test ! -s conftest.err
33105 } && test -s conftest.$ac_objext; then
33106 eval "$as_ac_Header=yes"
33107 else
33108 echo "$as_me: failed program was:" >&5
33109 sed 's/^/| /' conftest.$ac_ext >&5
33110
33111 eval "$as_ac_Header=no"
33112 fi
33113
33114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33115 fi
33116 ac_res=`eval echo '${'$as_ac_Header'}'`
33117 { echo "$as_me:$LINENO: result: $ac_res" >&5
33118 echo "${ECHO_T}$ac_res" >&6; }
33119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33120 cat >>confdefs.h <<_ACEOF
33121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33122 _ACEOF
33123
33124 fi
33125
33126 done
33127
33128
33129 for ac_header in X11/XKBlib.h
33130 do
33131 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33132 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33134 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33135 echo $ECHO_N "(cached) $ECHO_C" >&6
33136 else
33137 cat >conftest.$ac_ext <<_ACEOF
33138 /* confdefs.h. */
33139 _ACEOF
33140 cat confdefs.h >>conftest.$ac_ext
33141 cat >>conftest.$ac_ext <<_ACEOF
33142 /* end confdefs.h. */
33143
33144 #if HAVE_X11_XLIB_H
33145 #include <X11/Xlib.h>
33146 #endif
33147
33148
33149 #include <$ac_header>
33150 _ACEOF
33151 rm -f conftest.$ac_objext
33152 if { (ac_try="$ac_compile"
33153 case "(($ac_try" in
33154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33155 *) ac_try_echo=$ac_try;;
33156 esac
33157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33158 (eval "$ac_compile") 2>conftest.er1
33159 ac_status=$?
33160 grep -v '^ *+' conftest.er1 >conftest.err
33161 rm -f conftest.er1
33162 cat conftest.err >&5
33163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33164 (exit $ac_status); } && {
33165 test -z "$ac_c_werror_flag" ||
33166 test ! -s conftest.err
33167 } && test -s conftest.$ac_objext; then
33168 eval "$as_ac_Header=yes"
33169 else
33170 echo "$as_me: failed program was:" >&5
33171 sed 's/^/| /' conftest.$ac_ext >&5
33172
33173 eval "$as_ac_Header=no"
33174 fi
33175
33176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33177 fi
33178 ac_res=`eval echo '${'$as_ac_Header'}'`
33179 { echo "$as_me:$LINENO: result: $ac_res" >&5
33180 echo "${ECHO_T}$ac_res" >&6; }
33181 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33182 cat >>confdefs.h <<_ACEOF
33183 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33184 _ACEOF
33185
33186 fi
33187
33188 done
33189
33190 fi
33191 fi
33192
33193
33194
33195 if test "$wxUSE_DISPLAY" = "yes"; then
33196 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33197 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33198 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33199
33200 ac_find_libraries=
33201 for ac_dir in $SEARCH_LIB;
33202 do
33203 for ac_extension in a so sl dylib dll.a; do
33204 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33205 ac_find_libraries=$ac_dir
33206 break 2
33207 fi
33208 done
33209 done
33210
33211 if test "$ac_find_libraries" != "" ; then
33212
33213 if test "$ac_find_libraries" = "default location"; then
33214 ac_path_to_link=""
33215 else
33216 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33217 result=$?
33218 if test $result = 0; then
33219 ac_path_to_link=""
33220 else
33221 ac_path_to_link=" -L$ac_find_libraries"
33222 fi
33223 fi
33224
33225 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33226 LDFLAGS="$LDFLAGS $ac_path_to_link"
33227 fi
33228 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33229 { echo "$as_me:$LINENO: result: yes" >&5
33230 echo "${ECHO_T}yes" >&6; }
33231
33232 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33233 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33234
33235 ac_find_libraries=
33236 for ac_dir in $SEARCH_LIB;
33237 do
33238 for ac_extension in a so sl dylib dll.a; do
33239 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33240 ac_find_libraries=$ac_dir
33241 break 2
33242 fi
33243 done
33244 done
33245
33246 if test "$ac_find_libraries" != "" ; then
33247 { echo "$as_me:$LINENO: result: yes" >&5
33248 echo "${ECHO_T}yes" >&6; }
33249
33250 for ac_header in X11/extensions/xf86vmode.h
33251 do
33252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33253 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33255 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33256 echo $ECHO_N "(cached) $ECHO_C" >&6
33257 else
33258 cat >conftest.$ac_ext <<_ACEOF
33259 /* confdefs.h. */
33260 _ACEOF
33261 cat confdefs.h >>conftest.$ac_ext
33262 cat >>conftest.$ac_ext <<_ACEOF
33263 /* end confdefs.h. */
33264
33265 #if HAVE_X11_XLIB_H
33266 #include <X11/Xlib.h>
33267 #endif
33268
33269
33270 #include <$ac_header>
33271 _ACEOF
33272 rm -f conftest.$ac_objext
33273 if { (ac_try="$ac_compile"
33274 case "(($ac_try" in
33275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33276 *) ac_try_echo=$ac_try;;
33277 esac
33278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33279 (eval "$ac_compile") 2>conftest.er1
33280 ac_status=$?
33281 grep -v '^ *+' conftest.er1 >conftest.err
33282 rm -f conftest.er1
33283 cat conftest.err >&5
33284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33285 (exit $ac_status); } && {
33286 test -z "$ac_c_werror_flag" ||
33287 test ! -s conftest.err
33288 } && test -s conftest.$ac_objext; then
33289 eval "$as_ac_Header=yes"
33290 else
33291 echo "$as_me: failed program was:" >&5
33292 sed 's/^/| /' conftest.$ac_ext >&5
33293
33294 eval "$as_ac_Header=no"
33295 fi
33296
33297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33298 fi
33299 ac_res=`eval echo '${'$as_ac_Header'}'`
33300 { echo "$as_me:$LINENO: result: $ac_res" >&5
33301 echo "${ECHO_T}$ac_res" >&6; }
33302 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33303 cat >>confdefs.h <<_ACEOF
33304 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33305 _ACEOF
33306
33307 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33308
33309 fi
33310
33311 done
33312
33313 else
33314 { echo "$as_me:$LINENO: result: no" >&5
33315 echo "${ECHO_T}no" >&6; }
33316 fi
33317
33318 else
33319 { echo "$as_me:$LINENO: result: no" >&5
33320 echo "${ECHO_T}no" >&6; }
33321 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33322 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33323 wxUSE_DISPLAY="no"
33324 fi
33325 elif test "$wxUSE_MSW" = 1; then
33326 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33327 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33328 if test "${ac_cv_header_ddraw_h+set}" = set; then
33329 echo $ECHO_N "(cached) $ECHO_C" >&6
33330 else
33331 cat >conftest.$ac_ext <<_ACEOF
33332 /* confdefs.h. */
33333 _ACEOF
33334 cat confdefs.h >>conftest.$ac_ext
33335 cat >>conftest.$ac_ext <<_ACEOF
33336 /* end confdefs.h. */
33337 #include <windows.h>
33338
33339 #include <ddraw.h>
33340 _ACEOF
33341 rm -f conftest.$ac_objext
33342 if { (ac_try="$ac_compile"
33343 case "(($ac_try" in
33344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33345 *) ac_try_echo=$ac_try;;
33346 esac
33347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33348 (eval "$ac_compile") 2>conftest.er1
33349 ac_status=$?
33350 grep -v '^ *+' conftest.er1 >conftest.err
33351 rm -f conftest.er1
33352 cat conftest.err >&5
33353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33354 (exit $ac_status); } && {
33355 test -z "$ac_c_werror_flag" ||
33356 test ! -s conftest.err
33357 } && test -s conftest.$ac_objext; then
33358 ac_cv_header_ddraw_h=yes
33359 else
33360 echo "$as_me: failed program was:" >&5
33361 sed 's/^/| /' conftest.$ac_ext >&5
33362
33363 ac_cv_header_ddraw_h=no
33364 fi
33365
33366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33367 fi
33368 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33369 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33370
33371
33372 fi
33373 fi
33374
33375 if test "$wxUSE_DETECT_SM" = "yes"; then
33376 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33377 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33378 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33379
33380 ac_find_libraries=
33381 for ac_dir in $SEARCH_LIB;
33382 do
33383 for ac_extension in a so sl dylib dll.a; do
33384 if test -f "$ac_dir/libSM.$ac_extension"; then
33385 ac_find_libraries=$ac_dir
33386 break 2
33387 fi
33388 done
33389 done
33390
33391 if test "$ac_find_libraries" != "" ; then
33392
33393 if test "$ac_find_libraries" = "default location"; then
33394 ac_path_to_link=""
33395 else
33396 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33397 result=$?
33398 if test $result = 0; then
33399 ac_path_to_link=""
33400 else
33401 ac_path_to_link=" -L$ac_find_libraries"
33402 fi
33403 fi
33404
33405 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33406 LDFLAGS="$LDFLAGS $ac_path_to_link"
33407 fi
33408 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33409 { echo "$as_me:$LINENO: result: yes" >&5
33410 echo "${ECHO_T}yes" >&6; }
33411 else
33412 { echo "$as_me:$LINENO: result: no" >&5
33413 echo "${ECHO_T}no" >&6; }
33414 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33415 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33416 wxUSE_DETECT_SM="no"
33417 fi
33418 else
33419 wxUSE_DETECT_SM="no"
33420 fi
33421 fi
33422
33423
33424
33425 USE_OPENGL=0
33426 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33427
33428
33429 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33430 OPENGL_LIBS="-framework OpenGL -framework AGL"
33431 elif test "$wxUSE_MSW" = 1; then
33432 OPENGL_LIBS="-lopengl32 -lglu32"
33433 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33434
33435 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33436 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33437
33438 ac_find_includes=
33439 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33440 do
33441 if test -f "$ac_dir/GL/gl.h"; then
33442 ac_find_includes=$ac_dir
33443 break
33444 fi
33445 done
33446
33447 if test "$ac_find_includes" != "" ; then
33448 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33449 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33450
33451 if test "x$ac_find_includes" = "x/usr/include"; then
33452 ac_path_to_include=""
33453 else
33454 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33455 result=$?
33456 if test $result = 0; then
33457 ac_path_to_include=""
33458 else
33459 ac_path_to_include=" -I$ac_find_includes"
33460 fi
33461 fi
33462
33463 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33464 else
33465 { echo "$as_me:$LINENO: result: not found" >&5
33466 echo "${ECHO_T}not found" >&6; }
33467 fi
33468
33469 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33470 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33471 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33472 echo $ECHO_N "(cached) $ECHO_C" >&6
33473 else
33474 cat >conftest.$ac_ext <<_ACEOF
33475 /* confdefs.h. */
33476 _ACEOF
33477 cat confdefs.h >>conftest.$ac_ext
33478 cat >>conftest.$ac_ext <<_ACEOF
33479 /* end confdefs.h. */
33480
33481
33482 #include <GL/gl.h>
33483 _ACEOF
33484 rm -f conftest.$ac_objext
33485 if { (ac_try="$ac_compile"
33486 case "(($ac_try" in
33487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33488 *) ac_try_echo=$ac_try;;
33489 esac
33490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33491 (eval "$ac_compile") 2>conftest.er1
33492 ac_status=$?
33493 grep -v '^ *+' conftest.er1 >conftest.err
33494 rm -f conftest.er1
33495 cat conftest.err >&5
33496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33497 (exit $ac_status); } && {
33498 test -z "$ac_c_werror_flag" ||
33499 test ! -s conftest.err
33500 } && test -s conftest.$ac_objext; then
33501 ac_cv_header_GL_gl_h=yes
33502 else
33503 echo "$as_me: failed program was:" >&5
33504 sed 's/^/| /' conftest.$ac_ext >&5
33505
33506 ac_cv_header_GL_gl_h=no
33507 fi
33508
33509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33510 fi
33511 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33512 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33513 if test $ac_cv_header_GL_gl_h = yes; then
33514
33515 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33516 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33517 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33518 echo $ECHO_N "(cached) $ECHO_C" >&6
33519 else
33520 cat >conftest.$ac_ext <<_ACEOF
33521 /* confdefs.h. */
33522 _ACEOF
33523 cat confdefs.h >>conftest.$ac_ext
33524 cat >>conftest.$ac_ext <<_ACEOF
33525 /* end confdefs.h. */
33526
33527
33528 #include <GL/glu.h>
33529 _ACEOF
33530 rm -f conftest.$ac_objext
33531 if { (ac_try="$ac_compile"
33532 case "(($ac_try" in
33533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33534 *) ac_try_echo=$ac_try;;
33535 esac
33536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33537 (eval "$ac_compile") 2>conftest.er1
33538 ac_status=$?
33539 grep -v '^ *+' conftest.er1 >conftest.err
33540 rm -f conftest.er1
33541 cat conftest.err >&5
33542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33543 (exit $ac_status); } && {
33544 test -z "$ac_c_werror_flag" ||
33545 test ! -s conftest.err
33546 } && test -s conftest.$ac_objext; then
33547 ac_cv_header_GL_glu_h=yes
33548 else
33549 echo "$as_me: failed program was:" >&5
33550 sed 's/^/| /' conftest.$ac_ext >&5
33551
33552 ac_cv_header_GL_glu_h=no
33553 fi
33554
33555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33556 fi
33557 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33558 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33559 if test $ac_cv_header_GL_glu_h = yes; then
33560
33561 found_gl=0
33562
33563 { echo "$as_me:$LINENO: checking for -lGL" >&5
33564 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33565
33566 ac_find_libraries=
33567 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33568 do
33569 for ac_extension in a so sl dylib dll.a; do
33570 if test -f "$ac_dir/libGL.$ac_extension"; then
33571 ac_find_libraries=$ac_dir
33572 break 2
33573 fi
33574 done
33575 done
33576
33577 if test "$ac_find_libraries" != "" ; then
33578 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33579 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33580
33581
33582 if test "$ac_find_libraries" = "default location"; then
33583 ac_path_to_link=""
33584 else
33585 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33586 result=$?
33587 if test $result = 0; then
33588 ac_path_to_link=""
33589 else
33590 ac_path_to_link=" -L$ac_find_libraries"
33591 fi
33592 fi
33593
33594 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33595 LDFLAGS_GL="$ac_path_to_link"
33596 fi
33597
33598 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33599 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33600
33601 ac_find_libraries=
33602 for ac_dir in $SEARCH_LIB;
33603 do
33604 for ac_extension in a so sl dylib dll.a; do
33605 if test -f "$ac_dir/libGLU.$ac_extension"; then
33606 ac_find_libraries=$ac_dir
33607 break 2
33608 fi
33609 done
33610 done
33611
33612 if test "$ac_find_libraries" != "" ; then
33613
33614 if test "$ac_find_libraries" = "default location"; then
33615 ac_path_to_link=""
33616 else
33617 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33618 result=$?
33619 if test $result = 0; then
33620 ac_path_to_link=""
33621 else
33622 ac_path_to_link=" -L$ac_find_libraries"
33623 fi
33624 fi
33625
33626 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33627 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33628 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33629 fi
33630
33631 found_gl=1
33632 OPENGL_LIBS="-lGL -lGLU"
33633 { echo "$as_me:$LINENO: result: yes" >&5
33634 echo "${ECHO_T}yes" >&6; }
33635 else
33636 { echo "$as_me:$LINENO: result: no" >&5
33637 echo "${ECHO_T}no" >&6; }
33638 fi
33639 else
33640 { echo "$as_me:$LINENO: result: no" >&5
33641 echo "${ECHO_T}no" >&6; }
33642 fi
33643
33644 if test "$found_gl" != 1; then
33645 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33646 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33647
33648 ac_find_libraries=
33649 for ac_dir in $SEARCH_LIB;
33650 do
33651 for ac_extension in a so sl dylib dll.a; do
33652 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33653 ac_find_libraries=$ac_dir
33654 break 2
33655 fi
33656 done
33657 done
33658
33659 if test "$ac_find_libraries" != "" ; then
33660
33661 if test "$ac_find_libraries" = "default location"; then
33662 ac_path_to_link=""
33663 else
33664 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33665 result=$?
33666 if test $result = 0; then
33667 ac_path_to_link=""
33668 else
33669 ac_path_to_link=" -L$ac_find_libraries"
33670 fi
33671 fi
33672
33673 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33674 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33675 { echo "$as_me:$LINENO: result: yes" >&5
33676 echo "${ECHO_T}yes" >&6; }
33677 else
33678 { echo "$as_me:$LINENO: result: no" >&5
33679 echo "${ECHO_T}no" >&6; }
33680 fi
33681 fi
33682
33683 fi
33684
33685
33686
33687 fi
33688
33689
33690
33691 if test "x$OPENGL_LIBS" = "x"; then
33692 if test "$wxUSE_OPENGL" = "yes"; then
33693 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33694 echo "$as_me: error: OpenGL libraries not available" >&2;}
33695 { (exit 1); exit 1; }; }
33696 else
33697 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33698 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33699 wxUSE_OPENGL=no
33700 USE_OPENGL=0
33701 fi
33702 fi
33703 else
33704 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33705 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33706 wxUSE_OPENGL="no"
33707 fi
33708
33709 if test "$wxUSE_OPENGL" = "auto"; then
33710 wxUSE_OPENGL=yes
33711 fi
33712
33713 if test "$wxUSE_OPENGL" = "yes"; then
33714 USE_OPENGL=1
33715 cat >>confdefs.h <<\_ACEOF
33716 #define wxUSE_OPENGL 1
33717 _ACEOF
33718
33719 cat >>confdefs.h <<\_ACEOF
33720 #define wxUSE_GLCANVAS 1
33721 _ACEOF
33722
33723 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33724 fi
33725 fi
33726
33727
33728 if test -n "$TOOLKIT" ; then
33729 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33730 fi
33731
33732
33733
33734 if test "$wxUSE_SHARED" = "yes"; then
33735 case "${host}" in
33736 *-pc-msdosdjgpp )
33737 wxUSE_SHARED=no
33738 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33739 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33740 ;;
33741 esac
33742 fi
33743
33744 if test "$wxUSE_SHARED" = "yes"; then
33745
33746
33747 case "${host}" in
33748 *-*-cygwin* | *-*-mingw* )
33749 wx_cv_version_script=no
33750 ;;
33751
33752 *)
33753 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33754 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33755 if test "${wx_cv_version_script+set}" = set; then
33756 echo $ECHO_N "(cached) $ECHO_C" >&6
33757 else
33758
33759 echo "VER_1 { *; };" >conftest.sym
33760 echo "int main() { return 0; }" >conftest.cpp
33761
33762 if { ac_try='
33763 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33764 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33766 (eval $ac_try) 2>&5
33767 ac_status=$?
33768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33769 (exit $ac_status); }; } ; then
33770 if test -s conftest.stderr ; then
33771 wx_cv_version_script=no
33772 else
33773 wx_cv_version_script=yes
33774 fi
33775 else
33776 wx_cv_version_script=no
33777 fi
33778
33779 if test $wx_cv_version_script = yes
33780 then
33781 echo "struct B { virtual ~B() { } }; \
33782 struct D : public B { }; \
33783 void F() { D d; }" > conftest.cpp
33784
33785 if { ac_try='
33786 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33787 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33789 (eval $ac_try) 2>&5
33790 ac_status=$?
33791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33792 (exit $ac_status); }; } &&
33793 { ac_try='
33794 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33795 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33797 (eval $ac_try) 2>&5
33798 ac_status=$?
33799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33800 (exit $ac_status); }; }
33801 then
33802 if { ac_try='
33803 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33804 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33806 (eval $ac_try) 2>&5
33807 ac_status=$?
33808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33809 (exit $ac_status); }; }
33810 then
33811 wx_cv_version_script=yes
33812 else
33813 wx_cv_version_script=no
33814 fi
33815 fi
33816 fi
33817
33818 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33819 rm -f conftest1.output conftest2.output conftest3.output
33820
33821 fi
33822 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33823 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33824
33825 if test $wx_cv_version_script = yes ; then
33826 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33827 fi
33828 ;;
33829 esac
33830
33831
33832 if test "$wxUSE_VISIBILITY" != "no"; then
33833
33834
33835 if test -n "$GCC"; then
33836 CFLAGS_VISIBILITY="-fvisibility=hidden"
33837 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33838 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33839 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33840 if test "${wx_cv_cc_visibility+set}" = set; then
33841 echo $ECHO_N "(cached) $ECHO_C" >&6
33842 else
33843
33844 wx_save_CXXFLAGS="$CXXFLAGS"
33845 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33846 ac_ext=cpp
33847 ac_cpp='$CXXCPP $CPPFLAGS'
33848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33851
33852 cat >conftest.$ac_ext <<_ACEOF
33853 /* confdefs.h. */
33854 _ACEOF
33855 cat confdefs.h >>conftest.$ac_ext
33856 cat >>conftest.$ac_ext <<_ACEOF
33857 /* end confdefs.h. */
33858
33859 /* we need gcc >= 4.0, older versions with visibility support
33860 didn't have class visibility: */
33861 #if defined(__GNUC__) && __GNUC__ < 4
33862 error this gcc is too old;
33863 #endif
33864
33865 /* visibility only makes sense for ELF shared libs: */
33866 #if !defined(__ELF__) && !defined(__APPLE__)
33867 error this platform has no visibility;
33868 #endif
33869
33870 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33871 extern __attribute__((__visibility__("default"))) int exportedvar;
33872 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33873 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33874 class __attribute__((__visibility__("default"))) Foo {
33875 Foo() {}
33876 };
33877
33878 int
33879 main ()
33880 {
33881
33882 ;
33883 return 0;
33884 }
33885 _ACEOF
33886 rm -f conftest.$ac_objext
33887 if { (ac_try="$ac_compile"
33888 case "(($ac_try" in
33889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33890 *) ac_try_echo=$ac_try;;
33891 esac
33892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33893 (eval "$ac_compile") 2>conftest.er1
33894 ac_status=$?
33895 grep -v '^ *+' conftest.er1 >conftest.err
33896 rm -f conftest.er1
33897 cat conftest.err >&5
33898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33899 (exit $ac_status); } && {
33900 test -z "$ac_cxx_werror_flag" ||
33901 test ! -s conftest.err
33902 } && test -s conftest.$ac_objext; then
33903 wx_cv_cc_visibility=yes
33904 else
33905 echo "$as_me: failed program was:" >&5
33906 sed 's/^/| /' conftest.$ac_ext >&5
33907
33908 wx_cv_cc_visibility=no
33909 fi
33910
33911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33912 ac_ext=c
33913 ac_cpp='$CPP $CPPFLAGS'
33914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33917
33918 CXXFLAGS="$wx_save_CXXFLAGS"
33919 fi
33920
33921 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33922 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33923 if test $wx_cv_cc_visibility = yes; then
33924 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33925 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33926 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33927 echo $ECHO_N "(cached) $ECHO_C" >&6
33928 else
33929
33930 wx_save_CXXFLAGS="$CXXFLAGS"
33931 wx_save_LDFLAGS="$LDFLAGS"
33932 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33933 LDFLAGS="$LDFLAGS -shared -fPIC"
33934 ac_ext=cpp
33935 ac_cpp='$CXXCPP $CPPFLAGS'
33936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33939
33940 cat >conftest.$ac_ext <<_ACEOF
33941 /* confdefs.h. */
33942 _ACEOF
33943 cat confdefs.h >>conftest.$ac_ext
33944 cat >>conftest.$ac_ext <<_ACEOF
33945 /* end confdefs.h. */
33946
33947 #include <string>
33948
33949 int
33950 main ()
33951 {
33952
33953 std::string s("hello");
33954 return s.length();
33955
33956 ;
33957 return 0;
33958 }
33959 _ACEOF
33960 rm -f conftest.$ac_objext conftest$ac_exeext
33961 if { (ac_try="$ac_link"
33962 case "(($ac_try" in
33963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33964 *) ac_try_echo=$ac_try;;
33965 esac
33966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33967 (eval "$ac_link") 2>conftest.er1
33968 ac_status=$?
33969 grep -v '^ *+' conftest.er1 >conftest.err
33970 rm -f conftest.er1
33971 cat conftest.err >&5
33972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33973 (exit $ac_status); } && {
33974 test -z "$ac_cxx_werror_flag" ||
33975 test ! -s conftest.err
33976 } && test -s conftest$ac_exeext &&
33977 $as_test_x conftest$ac_exeext; then
33978 wx_cv_cc_broken_libstdcxx_visibility=no
33979 else
33980 echo "$as_me: failed program was:" >&5
33981 sed 's/^/| /' conftest.$ac_ext >&5
33982
33983 wx_cv_cc_broken_libstdcxx_visibility=yes
33984 fi
33985
33986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33987 conftest$ac_exeext conftest.$ac_ext
33988 ac_ext=c
33989 ac_cpp='$CPP $CPPFLAGS'
33990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33993
33994 CXXFLAGS="$wx_save_CXXFLAGS"
33995 LDFLAGS="$wx_save_LDFLAGS"
33996 fi
33997
33998 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33999 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34000
34001 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34002 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34003 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34004 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34005 echo $ECHO_N "(cached) $ECHO_C" >&6
34006 else
34007
34008 ac_ext=cpp
34009 ac_cpp='$CXXCPP $CPPFLAGS'
34010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34013
34014 cat >conftest.$ac_ext <<_ACEOF
34015 /* confdefs.h. */
34016 _ACEOF
34017 cat confdefs.h >>conftest.$ac_ext
34018 cat >>conftest.$ac_ext <<_ACEOF
34019 /* end confdefs.h. */
34020
34021 #pragma GCC visibility push(default)
34022 #include <string>
34023 #pragma GCC visibility pop
34024
34025 int
34026 main ()
34027 {
34028
34029 std::string s("hello");
34030 return s.length();
34031
34032 ;
34033 return 0;
34034 }
34035 _ACEOF
34036 rm -f conftest.$ac_objext conftest$ac_exeext
34037 if { (ac_try="$ac_link"
34038 case "(($ac_try" in
34039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34040 *) ac_try_echo=$ac_try;;
34041 esac
34042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34043 (eval "$ac_link") 2>conftest.er1
34044 ac_status=$?
34045 grep -v '^ *+' conftest.er1 >conftest.err
34046 rm -f conftest.er1
34047 cat conftest.err >&5
34048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34049 (exit $ac_status); } && {
34050 test -z "$ac_cxx_werror_flag" ||
34051 test ! -s conftest.err
34052 } && test -s conftest$ac_exeext &&
34053 $as_test_x conftest$ac_exeext; then
34054 wx_cv_cc_visibility_workaround=no
34055 else
34056 echo "$as_me: failed program was:" >&5
34057 sed 's/^/| /' conftest.$ac_ext >&5
34058
34059 wx_cv_cc_visibility_workaround=yes
34060 fi
34061
34062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34063 conftest$ac_exeext conftest.$ac_ext
34064 ac_ext=c
34065 ac_cpp='$CPP $CPPFLAGS'
34066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34069
34070
34071 fi
34072
34073 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34074 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34075
34076 if test $wx_cv_cc_visibility_workaround = no; then
34077 wx_cv_cc_visibility=no
34078 fi
34079 fi
34080 fi
34081
34082 if test $wx_cv_cc_visibility = yes; then
34083 cat >>confdefs.h <<\_ACEOF
34084 #define HAVE_VISIBILITY 1
34085 _ACEOF
34086
34087 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34088 cat >>confdefs.h <<\_ACEOF
34089 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34090 _ACEOF
34091
34092 fi
34093 else
34094 CFLAGS_VISIBILITY=""
34095 CXXFLAGS_VISIBILITY=""
34096 fi
34097
34098
34099 fi
34100
34101 fi
34102
34103 if test "x$SUNCXX" = xyes; then
34104 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34105 WXCONFIG_RPATH="-R\$libdir"
34106 else
34107 case "${host}" in
34108 *-*-linux* | *-*-gnu* )
34109 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34110 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34111 ;;
34112
34113 *-*-solaris2* )
34114
34115 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34116
34117 saveLdflags="$LDFLAGS"
34118 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34119 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34120 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34121 cat >conftest.$ac_ext <<_ACEOF
34122 /* confdefs.h. */
34123 _ACEOF
34124 cat confdefs.h >>conftest.$ac_ext
34125 cat >>conftest.$ac_ext <<_ACEOF
34126 /* end confdefs.h. */
34127
34128 int
34129 main ()
34130 {
34131
34132 ;
34133 return 0;
34134 }
34135 _ACEOF
34136 rm -f conftest.$ac_objext conftest$ac_exeext
34137 if { (ac_try="$ac_link"
34138 case "(($ac_try" in
34139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34140 *) ac_try_echo=$ac_try;;
34141 esac
34142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34143 (eval "$ac_link") 2>conftest.er1
34144 ac_status=$?
34145 grep -v '^ *+' conftest.er1 >conftest.err
34146 rm -f conftest.er1
34147 cat conftest.err >&5
34148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34149 (exit $ac_status); } && {
34150 test -z "$ac_c_werror_flag" ||
34151 test ! -s conftest.err
34152 } && test -s conftest$ac_exeext &&
34153 $as_test_x conftest$ac_exeext; then
34154
34155 { echo "$as_me:$LINENO: result: yes" >&5
34156 echo "${ECHO_T}yes" >&6; }
34157 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34158 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34159
34160 else
34161 echo "$as_me: failed program was:" >&5
34162 sed 's/^/| /' conftest.$ac_ext >&5
34163
34164
34165 { echo "$as_me:$LINENO: result: no" >&5
34166 echo "${ECHO_T}no" >&6; }
34167 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34168 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34169 LDFLAGS="$saveLdflags -Wl,-R,/"
34170 cat >conftest.$ac_ext <<_ACEOF
34171 /* confdefs.h. */
34172 _ACEOF
34173 cat confdefs.h >>conftest.$ac_ext
34174 cat >>conftest.$ac_ext <<_ACEOF
34175 /* end confdefs.h. */
34176
34177 int
34178 main ()
34179 {
34180
34181 ;
34182 return 0;
34183 }
34184 _ACEOF
34185 rm -f conftest.$ac_objext conftest$ac_exeext
34186 if { (ac_try="$ac_link"
34187 case "(($ac_try" in
34188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34189 *) ac_try_echo=$ac_try;;
34190 esac
34191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34192 (eval "$ac_link") 2>conftest.er1
34193 ac_status=$?
34194 grep -v '^ *+' conftest.er1 >conftest.err
34195 rm -f conftest.er1
34196 cat conftest.err >&5
34197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34198 (exit $ac_status); } && {
34199 test -z "$ac_c_werror_flag" ||
34200 test ! -s conftest.err
34201 } && test -s conftest$ac_exeext &&
34202 $as_test_x conftest$ac_exeext; then
34203
34204 { echo "$as_me:$LINENO: result: yes" >&5
34205 echo "${ECHO_T}yes" >&6; }
34206 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34207 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34208
34209 else
34210 echo "$as_me: failed program was:" >&5
34211 sed 's/^/| /' conftest.$ac_ext >&5
34212
34213
34214 { echo "$as_me:$LINENO: result: no" >&5
34215 echo "${ECHO_T}no" >&6; }
34216
34217 fi
34218
34219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34220 conftest$ac_exeext conftest.$ac_ext
34221
34222 fi
34223
34224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34225 conftest$ac_exeext conftest.$ac_ext
34226 LDFLAGS="$saveLdflags"
34227 ;;
34228
34229 *-*-darwin* )
34230 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
34231 if test "$install_name_tool" -a -x "$install_name_tool"; then
34232 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34233 cat <<EOF >change-install-names
34234 #!/bin/sh
34235 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34236 for i in \${libnames} ; do
34237 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34238 for dep in \${libnames} ; do
34239 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34240 done
34241 done
34242 EOF
34243 chmod +x change-install-names
34244 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34245 fi
34246
34247 HEADER_PAD_OPTION="-headerpad_max_install_names"
34248 ;;
34249
34250 *-*-cygwin* | *-*-mingw32* )
34251 ;;
34252
34253 *-*-hpux* )
34254 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34255 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34256 ;;
34257
34258 esac
34259 fi
34260
34261 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34262
34263 if test $wxUSE_RPATH = "no"; then
34264 SAMPLES_RPATH_FLAG=''
34265 DYLIB_PATH_POSTLINK=''
34266 WXCONFIG_RPATH=''
34267 fi
34268
34269 SHARED=1
34270
34271 else
34272
34273 config_linkage_component="-static"
34274 SHARED=0
34275
34276 fi
34277
34278
34279 UNICODE=0
34280 lib_unicode_suffix=
34281 WX_CHARTYPE="ansi"
34282 if test "$wxUSE_UNICODE" = "yes"; then
34283 lib_unicode_suffix=u
34284 WX_CHARTYPE="unicode"
34285 UNICODE=1
34286 fi
34287
34288 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34289 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34290
34291 DEBUG_INFO=0
34292 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34293 DEBUG_INFO=1
34294 fi
34295
34296 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34297
34298 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34299
34300 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34301
34302
34303 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34304 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34305 else
34306 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34307 fi
34308 if test "${TOOLKIT_DIR}" = "os2"; then
34309 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34310 else
34311 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34312 fi
34313
34314
34315
34316 if test "$wxUSE_COCOA" = 1; then
34317
34318 ac_ext=c
34319 ac_cpp='$CPP $CPPFLAGS'
34320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34323
34324 ac_ext=m
34325
34326 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34327 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34328 cat >conftest.$ac_ext <<_ACEOF
34329 /* confdefs.h. */
34330 _ACEOF
34331 cat confdefs.h >>conftest.$ac_ext
34332 cat >>conftest.$ac_ext <<_ACEOF
34333 /* end confdefs.h. */
34334 #include <AppKit/NSEvent.h>
34335 #include <CoreFoundation/CoreFoundation.h>
34336
34337 int
34338 main ()
34339 {
34340
34341 ;
34342 return 0;
34343 }
34344 _ACEOF
34345 rm -f conftest.$ac_objext
34346 if { (ac_try="$ac_compile"
34347 case "(($ac_try" in
34348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34349 *) ac_try_echo=$ac_try;;
34350 esac
34351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34352 (eval "$ac_compile") 2>conftest.er1
34353 ac_status=$?
34354 grep -v '^ *+' conftest.er1 >conftest.err
34355 rm -f conftest.er1
34356 cat conftest.err >&5
34357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34358 (exit $ac_status); } && {
34359 test -z "$ac_c_werror_flag" ||
34360 test ! -s conftest.err
34361 } && test -s conftest.$ac_objext; then
34362 { echo "$as_me:$LINENO: result: no" >&5
34363 echo "${ECHO_T}no" >&6; }
34364 else
34365 echo "$as_me: failed program was:" >&5
34366 sed 's/^/| /' conftest.$ac_ext >&5
34367
34368 { echo "$as_me:$LINENO: result: yes" >&5
34369 echo "${ECHO_T}yes" >&6; }
34370 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34371 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34372 cat >conftest.$ac_ext <<_ACEOF
34373 /* confdefs.h. */
34374 _ACEOF
34375 cat confdefs.h >>conftest.$ac_ext
34376 cat >>conftest.$ac_ext <<_ACEOF
34377 /* end confdefs.h. */
34378 #define __Point__ 1
34379 #include <AppKit/NSEvent.h>
34380 #include <CoreFoundation/CoreFoundation.h>
34381
34382 int
34383 main ()
34384 {
34385
34386 ;
34387 return 0;
34388 }
34389 _ACEOF
34390 rm -f conftest.$ac_objext
34391 if { (ac_try="$ac_compile"
34392 case "(($ac_try" in
34393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34394 *) ac_try_echo=$ac_try;;
34395 esac
34396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34397 (eval "$ac_compile") 2>conftest.er1
34398 ac_status=$?
34399 grep -v '^ *+' conftest.er1 >conftest.err
34400 rm -f conftest.er1
34401 cat conftest.err >&5
34402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34403 (exit $ac_status); } && {
34404 test -z "$ac_c_werror_flag" ||
34405 test ! -s conftest.err
34406 } && test -s conftest.$ac_objext; then
34407 { echo "$as_me:$LINENO: result: yes" >&5
34408 echo "${ECHO_T}yes" >&6; }
34409 cat >>confdefs.h <<\_ACEOF
34410 #define __Point__ 1
34411 _ACEOF
34412
34413
34414 else
34415 echo "$as_me: failed program was:" >&5
34416 sed 's/^/| /' conftest.$ac_ext >&5
34417
34418 { { echo "$as_me:$LINENO: error: no
34419 See \`config.log' for more details." >&5
34420 echo "$as_me: error: no
34421 See \`config.log' for more details." >&2;}
34422 { (exit 1); exit 1; }; }
34423
34424 fi
34425
34426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34427
34428 fi
34429
34430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34431 ac_ext=c
34432 ac_cpp='$CPP $CPPFLAGS'
34433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34436
34437 fi
34438
34439
34440 { echo "$as_me:$LINENO: checking for mode_t" >&5
34441 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34442 if test "${ac_cv_type_mode_t+set}" = set; then
34443 echo $ECHO_N "(cached) $ECHO_C" >&6
34444 else
34445 cat >conftest.$ac_ext <<_ACEOF
34446 /* confdefs.h. */
34447 _ACEOF
34448 cat confdefs.h >>conftest.$ac_ext
34449 cat >>conftest.$ac_ext <<_ACEOF
34450 /* end confdefs.h. */
34451 $ac_includes_default
34452 typedef mode_t ac__type_new_;
34453 int
34454 main ()
34455 {
34456 if ((ac__type_new_ *) 0)
34457 return 0;
34458 if (sizeof (ac__type_new_))
34459 return 0;
34460 ;
34461 return 0;
34462 }
34463 _ACEOF
34464 rm -f conftest.$ac_objext
34465 if { (ac_try="$ac_compile"
34466 case "(($ac_try" in
34467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34468 *) ac_try_echo=$ac_try;;
34469 esac
34470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34471 (eval "$ac_compile") 2>conftest.er1
34472 ac_status=$?
34473 grep -v '^ *+' conftest.er1 >conftest.err
34474 rm -f conftest.er1
34475 cat conftest.err >&5
34476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34477 (exit $ac_status); } && {
34478 test -z "$ac_c_werror_flag" ||
34479 test ! -s conftest.err
34480 } && test -s conftest.$ac_objext; then
34481 ac_cv_type_mode_t=yes
34482 else
34483 echo "$as_me: failed program was:" >&5
34484 sed 's/^/| /' conftest.$ac_ext >&5
34485
34486 ac_cv_type_mode_t=no
34487 fi
34488
34489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34490 fi
34491 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34492 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34493 if test $ac_cv_type_mode_t = yes; then
34494 :
34495 else
34496
34497 cat >>confdefs.h <<_ACEOF
34498 #define mode_t int
34499 _ACEOF
34500
34501 fi
34502
34503 { echo "$as_me:$LINENO: checking for off_t" >&5
34504 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34505 if test "${ac_cv_type_off_t+set}" = set; then
34506 echo $ECHO_N "(cached) $ECHO_C" >&6
34507 else
34508 cat >conftest.$ac_ext <<_ACEOF
34509 /* confdefs.h. */
34510 _ACEOF
34511 cat confdefs.h >>conftest.$ac_ext
34512 cat >>conftest.$ac_ext <<_ACEOF
34513 /* end confdefs.h. */
34514 $ac_includes_default
34515 typedef off_t ac__type_new_;
34516 int
34517 main ()
34518 {
34519 if ((ac__type_new_ *) 0)
34520 return 0;
34521 if (sizeof (ac__type_new_))
34522 return 0;
34523 ;
34524 return 0;
34525 }
34526 _ACEOF
34527 rm -f conftest.$ac_objext
34528 if { (ac_try="$ac_compile"
34529 case "(($ac_try" in
34530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34531 *) ac_try_echo=$ac_try;;
34532 esac
34533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34534 (eval "$ac_compile") 2>conftest.er1
34535 ac_status=$?
34536 grep -v '^ *+' conftest.er1 >conftest.err
34537 rm -f conftest.er1
34538 cat conftest.err >&5
34539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34540 (exit $ac_status); } && {
34541 test -z "$ac_c_werror_flag" ||
34542 test ! -s conftest.err
34543 } && test -s conftest.$ac_objext; then
34544 ac_cv_type_off_t=yes
34545 else
34546 echo "$as_me: failed program was:" >&5
34547 sed 's/^/| /' conftest.$ac_ext >&5
34548
34549 ac_cv_type_off_t=no
34550 fi
34551
34552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34553 fi
34554 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34555 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34556 if test $ac_cv_type_off_t = yes; then
34557 :
34558 else
34559
34560 cat >>confdefs.h <<_ACEOF
34561 #define off_t long int
34562 _ACEOF
34563
34564 fi
34565
34566 { echo "$as_me:$LINENO: checking for pid_t" >&5
34567 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34568 if test "${ac_cv_type_pid_t+set}" = set; then
34569 echo $ECHO_N "(cached) $ECHO_C" >&6
34570 else
34571 cat >conftest.$ac_ext <<_ACEOF
34572 /* confdefs.h. */
34573 _ACEOF
34574 cat confdefs.h >>conftest.$ac_ext
34575 cat >>conftest.$ac_ext <<_ACEOF
34576 /* end confdefs.h. */
34577 $ac_includes_default
34578 typedef pid_t ac__type_new_;
34579 int
34580 main ()
34581 {
34582 if ((ac__type_new_ *) 0)
34583 return 0;
34584 if (sizeof (ac__type_new_))
34585 return 0;
34586 ;
34587 return 0;
34588 }
34589 _ACEOF
34590 rm -f conftest.$ac_objext
34591 if { (ac_try="$ac_compile"
34592 case "(($ac_try" in
34593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34594 *) ac_try_echo=$ac_try;;
34595 esac
34596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34597 (eval "$ac_compile") 2>conftest.er1
34598 ac_status=$?
34599 grep -v '^ *+' conftest.er1 >conftest.err
34600 rm -f conftest.er1
34601 cat conftest.err >&5
34602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34603 (exit $ac_status); } && {
34604 test -z "$ac_c_werror_flag" ||
34605 test ! -s conftest.err
34606 } && test -s conftest.$ac_objext; then
34607 ac_cv_type_pid_t=yes
34608 else
34609 echo "$as_me: failed program was:" >&5
34610 sed 's/^/| /' conftest.$ac_ext >&5
34611
34612 ac_cv_type_pid_t=no
34613 fi
34614
34615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34616 fi
34617 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34618 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34619 if test $ac_cv_type_pid_t = yes; then
34620 :
34621 else
34622
34623 cat >>confdefs.h <<_ACEOF
34624 #define pid_t int
34625 _ACEOF
34626
34627 fi
34628
34629 { echo "$as_me:$LINENO: checking for size_t" >&5
34630 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34631 if test "${ac_cv_type_size_t+set}" = set; then
34632 echo $ECHO_N "(cached) $ECHO_C" >&6
34633 else
34634 cat >conftest.$ac_ext <<_ACEOF
34635 /* confdefs.h. */
34636 _ACEOF
34637 cat confdefs.h >>conftest.$ac_ext
34638 cat >>conftest.$ac_ext <<_ACEOF
34639 /* end confdefs.h. */
34640 $ac_includes_default
34641 typedef size_t ac__type_new_;
34642 int
34643 main ()
34644 {
34645 if ((ac__type_new_ *) 0)
34646 return 0;
34647 if (sizeof (ac__type_new_))
34648 return 0;
34649 ;
34650 return 0;
34651 }
34652 _ACEOF
34653 rm -f conftest.$ac_objext
34654 if { (ac_try="$ac_compile"
34655 case "(($ac_try" in
34656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34657 *) ac_try_echo=$ac_try;;
34658 esac
34659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34660 (eval "$ac_compile") 2>conftest.er1
34661 ac_status=$?
34662 grep -v '^ *+' conftest.er1 >conftest.err
34663 rm -f conftest.er1
34664 cat conftest.err >&5
34665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34666 (exit $ac_status); } && {
34667 test -z "$ac_c_werror_flag" ||
34668 test ! -s conftest.err
34669 } && test -s conftest.$ac_objext; then
34670 ac_cv_type_size_t=yes
34671 else
34672 echo "$as_me: failed program was:" >&5
34673 sed 's/^/| /' conftest.$ac_ext >&5
34674
34675 ac_cv_type_size_t=no
34676 fi
34677
34678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34679 fi
34680 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34681 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34682 if test $ac_cv_type_size_t = yes; then
34683 :
34684 else
34685
34686 cat >>confdefs.h <<_ACEOF
34687 #define size_t unsigned int
34688 _ACEOF
34689
34690 fi
34691
34692
34693 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34694 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34695 if test "${ac_cv_type_ssize_t+set}" = set; then
34696 echo $ECHO_N "(cached) $ECHO_C" >&6
34697 else
34698 cat >conftest.$ac_ext <<_ACEOF
34699 /* confdefs.h. */
34700 _ACEOF
34701 cat confdefs.h >>conftest.$ac_ext
34702 cat >>conftest.$ac_ext <<_ACEOF
34703 /* end confdefs.h. */
34704 $ac_includes_default
34705 typedef ssize_t ac__type_new_;
34706 int
34707 main ()
34708 {
34709 if ((ac__type_new_ *) 0)
34710 return 0;
34711 if (sizeof (ac__type_new_))
34712 return 0;
34713 ;
34714 return 0;
34715 }
34716 _ACEOF
34717 rm -f conftest.$ac_objext
34718 if { (ac_try="$ac_compile"
34719 case "(($ac_try" in
34720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34721 *) ac_try_echo=$ac_try;;
34722 esac
34723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34724 (eval "$ac_compile") 2>conftest.er1
34725 ac_status=$?
34726 grep -v '^ *+' conftest.er1 >conftest.err
34727 rm -f conftest.er1
34728 cat conftest.err >&5
34729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34730 (exit $ac_status); } && {
34731 test -z "$ac_c_werror_flag" ||
34732 test ! -s conftest.err
34733 } && test -s conftest.$ac_objext; then
34734 ac_cv_type_ssize_t=yes
34735 else
34736 echo "$as_me: failed program was:" >&5
34737 sed 's/^/| /' conftest.$ac_ext >&5
34738
34739 ac_cv_type_ssize_t=no
34740 fi
34741
34742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34743 fi
34744 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34745 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34746 if test $ac_cv_type_ssize_t = yes; then
34747
34748 cat >>confdefs.h <<_ACEOF
34749 #define HAVE_SSIZE_T 1
34750 _ACEOF
34751
34752
34753 fi
34754
34755
34756 ac_ext=cpp
34757 ac_cpp='$CXXCPP $CPPFLAGS'
34758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34761 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34762 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34763 if test "${wx_cv_size_t_is_uint+set}" = set; then
34764 echo $ECHO_N "(cached) $ECHO_C" >&6
34765 else
34766
34767 cat >conftest.$ac_ext <<_ACEOF
34768 /* confdefs.h. */
34769 _ACEOF
34770 cat confdefs.h >>conftest.$ac_ext
34771 cat >>conftest.$ac_ext <<_ACEOF
34772 /* end confdefs.h. */
34773 #include <stddef.h>
34774 int
34775 main ()
34776 {
34777
34778 return 0; }
34779
34780 struct Foo { void foo(size_t); void foo(unsigned int); };
34781
34782 int bar() {
34783
34784 ;
34785 return 0;
34786 }
34787 _ACEOF
34788 rm -f conftest.$ac_objext
34789 if { (ac_try="$ac_compile"
34790 case "(($ac_try" in
34791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34792 *) ac_try_echo=$ac_try;;
34793 esac
34794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34795 (eval "$ac_compile") 2>conftest.er1
34796 ac_status=$?
34797 grep -v '^ *+' conftest.er1 >conftest.err
34798 rm -f conftest.er1
34799 cat conftest.err >&5
34800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801 (exit $ac_status); } && {
34802 test -z "$ac_cxx_werror_flag" ||
34803 test ! -s conftest.err
34804 } && test -s conftest.$ac_objext; then
34805 wx_cv_size_t_is_uint=no
34806 else
34807 echo "$as_me: failed program was:" >&5
34808 sed 's/^/| /' conftest.$ac_ext >&5
34809
34810 wx_cv_size_t_is_uint=yes
34811
34812 fi
34813
34814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34815
34816
34817 fi
34818 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34819 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34820
34821 if test "$wx_cv_size_t_is_uint" = "yes"; then
34822 cat >>confdefs.h <<\_ACEOF
34823 #define wxSIZE_T_IS_UINT 1
34824 _ACEOF
34825
34826 else
34827 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34828 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34829 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34830 echo $ECHO_N "(cached) $ECHO_C" >&6
34831 else
34832 cat >conftest.$ac_ext <<_ACEOF
34833 /* confdefs.h. */
34834 _ACEOF
34835 cat confdefs.h >>conftest.$ac_ext
34836 cat >>conftest.$ac_ext <<_ACEOF
34837 /* end confdefs.h. */
34838 #include <stddef.h>
34839 int
34840 main ()
34841 {
34842
34843 return 0; }
34844
34845 struct Foo { void foo(size_t); void foo(unsigned long); };
34846
34847 int bar() {
34848
34849 ;
34850 return 0;
34851 }
34852 _ACEOF
34853 rm -f conftest.$ac_objext
34854 if { (ac_try="$ac_compile"
34855 case "(($ac_try" in
34856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34857 *) ac_try_echo=$ac_try;;
34858 esac
34859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34860 (eval "$ac_compile") 2>conftest.er1
34861 ac_status=$?
34862 grep -v '^ *+' conftest.er1 >conftest.err
34863 rm -f conftest.er1
34864 cat conftest.err >&5
34865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34866 (exit $ac_status); } && {
34867 test -z "$ac_cxx_werror_flag" ||
34868 test ! -s conftest.err
34869 } && test -s conftest.$ac_objext; then
34870 wx_cv_size_t_is_ulong=no
34871 else
34872 echo "$as_me: failed program was:" >&5
34873 sed 's/^/| /' conftest.$ac_ext >&5
34874
34875 wx_cv_size_t_is_ulong=yes
34876
34877 fi
34878
34879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34880
34881 fi
34882 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34883 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34884
34885 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34886 cat >>confdefs.h <<\_ACEOF
34887 #define wxSIZE_T_IS_ULONG 1
34888 _ACEOF
34889
34890 fi
34891 fi
34892
34893 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34894 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34895 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34896 echo $ECHO_N "(cached) $ECHO_C" >&6
34897 else
34898 cat >conftest.$ac_ext <<_ACEOF
34899 /* confdefs.h. */
34900 _ACEOF
34901 cat confdefs.h >>conftest.$ac_ext
34902 cat >>conftest.$ac_ext <<_ACEOF
34903 /* end confdefs.h. */
34904 #include <wchar.h>
34905 int
34906 main ()
34907 {
34908
34909 return 0; }
34910
34911 struct Foo { void foo(wchar_t);
34912 void foo(unsigned short);
34913 void foo(unsigned int);
34914 void foo(unsigned long); };
34915
34916 int bar() {
34917
34918 ;
34919 return 0;
34920 }
34921 _ACEOF
34922 rm -f conftest.$ac_objext
34923 if { (ac_try="$ac_compile"
34924 case "(($ac_try" in
34925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34926 *) ac_try_echo=$ac_try;;
34927 esac
34928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34929 (eval "$ac_compile") 2>conftest.er1
34930 ac_status=$?
34931 grep -v '^ *+' conftest.er1 >conftest.err
34932 rm -f conftest.er1
34933 cat conftest.err >&5
34934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34935 (exit $ac_status); } && {
34936 test -z "$ac_cxx_werror_flag" ||
34937 test ! -s conftest.err
34938 } && test -s conftest.$ac_objext; then
34939 wx_cv_wchar_t_is_separate_type=yes
34940 else
34941 echo "$as_me: failed program was:" >&5
34942 sed 's/^/| /' conftest.$ac_ext >&5
34943
34944 wx_cv_wchar_t_is_separate_type=no
34945
34946 fi
34947
34948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34949
34950 fi
34951 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34952 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34953
34954 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34955 cat >>confdefs.h <<\_ACEOF
34956 #define wxWCHAR_T_IS_REAL_TYPE 1
34957 _ACEOF
34958
34959 else
34960 cat >>confdefs.h <<\_ACEOF
34961 #define wxWCHAR_T_IS_REAL_TYPE 0
34962 _ACEOF
34963
34964 fi
34965
34966 ac_ext=c
34967 ac_cpp='$CPP $CPPFLAGS'
34968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34971
34972
34973 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34974 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34975 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34976 echo $ECHO_N "(cached) $ECHO_C" >&6
34977 else
34978
34979 cat >conftest.$ac_ext <<_ACEOF
34980 /* confdefs.h. */
34981 _ACEOF
34982 cat confdefs.h >>conftest.$ac_ext
34983 cat >>conftest.$ac_ext <<_ACEOF
34984 /* end confdefs.h. */
34985 #include <pwd.h>
34986 int
34987 main ()
34988 {
34989
34990 char *p;
34991 struct passwd *pw;
34992 p = pw->pw_gecos;
34993
34994 ;
34995 return 0;
34996 }
34997 _ACEOF
34998 rm -f conftest.$ac_objext
34999 if { (ac_try="$ac_compile"
35000 case "(($ac_try" in
35001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35002 *) ac_try_echo=$ac_try;;
35003 esac
35004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35005 (eval "$ac_compile") 2>conftest.er1
35006 ac_status=$?
35007 grep -v '^ *+' conftest.er1 >conftest.err
35008 rm -f conftest.er1
35009 cat conftest.err >&5
35010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35011 (exit $ac_status); } && {
35012 test -z "$ac_c_werror_flag" ||
35013 test ! -s conftest.err
35014 } && test -s conftest.$ac_objext; then
35015
35016 wx_cv_struct_pw_gecos=yes
35017
35018 else
35019 echo "$as_me: failed program was:" >&5
35020 sed 's/^/| /' conftest.$ac_ext >&5
35021
35022
35023 wx_cv_struct_pw_gecos=no
35024
35025
35026 fi
35027
35028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35029
35030
35031 fi
35032 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35033 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35034
35035 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35036 cat >>confdefs.h <<\_ACEOF
35037 #define HAVE_PW_GECOS 1
35038 _ACEOF
35039
35040 fi
35041
35042
35043 if test "$wxUSE_WCHAR_T" = "yes"; then
35044 cat >>confdefs.h <<\_ACEOF
35045 #define wxUSE_WCHAR_T 1
35046 _ACEOF
35047
35048
35049 WCSLEN_FOUND=0
35050 WCHAR_LINK=
35051
35052 for ac_func in wcslen
35053 do
35054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35055 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35057 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35058 echo $ECHO_N "(cached) $ECHO_C" >&6
35059 else
35060 cat >conftest.$ac_ext <<_ACEOF
35061 /* confdefs.h. */
35062 _ACEOF
35063 cat confdefs.h >>conftest.$ac_ext
35064 cat >>conftest.$ac_ext <<_ACEOF
35065 /* end confdefs.h. */
35066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35068 #define $ac_func innocuous_$ac_func
35069
35070 /* System header to define __stub macros and hopefully few prototypes,
35071 which can conflict with char $ac_func (); below.
35072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35073 <limits.h> exists even on freestanding compilers. */
35074
35075 #ifdef __STDC__
35076 # include <limits.h>
35077 #else
35078 # include <assert.h>
35079 #endif
35080
35081 #undef $ac_func
35082
35083 /* Override any GCC internal prototype to avoid an error.
35084 Use char because int might match the return type of a GCC
35085 builtin and then its argument prototype would still apply. */
35086 #ifdef __cplusplus
35087 extern "C"
35088 #endif
35089 char $ac_func ();
35090 /* The GNU C library defines this for functions which it implements
35091 to always fail with ENOSYS. Some functions are actually named
35092 something starting with __ and the normal name is an alias. */
35093 #if defined __stub_$ac_func || defined __stub___$ac_func
35094 choke me
35095 #endif
35096
35097 int
35098 main ()
35099 {
35100 return $ac_func ();
35101 ;
35102 return 0;
35103 }
35104 _ACEOF
35105 rm -f conftest.$ac_objext conftest$ac_exeext
35106 if { (ac_try="$ac_link"
35107 case "(($ac_try" in
35108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35109 *) ac_try_echo=$ac_try;;
35110 esac
35111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35112 (eval "$ac_link") 2>conftest.er1
35113 ac_status=$?
35114 grep -v '^ *+' conftest.er1 >conftest.err
35115 rm -f conftest.er1
35116 cat conftest.err >&5
35117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35118 (exit $ac_status); } && {
35119 test -z "$ac_c_werror_flag" ||
35120 test ! -s conftest.err
35121 } && test -s conftest$ac_exeext &&
35122 $as_test_x conftest$ac_exeext; then
35123 eval "$as_ac_var=yes"
35124 else
35125 echo "$as_me: failed program was:" >&5
35126 sed 's/^/| /' conftest.$ac_ext >&5
35127
35128 eval "$as_ac_var=no"
35129 fi
35130
35131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35132 conftest$ac_exeext conftest.$ac_ext
35133 fi
35134 ac_res=`eval echo '${'$as_ac_var'}'`
35135 { echo "$as_me:$LINENO: result: $ac_res" >&5
35136 echo "${ECHO_T}$ac_res" >&6; }
35137 if test `eval echo '${'$as_ac_var'}'` = yes; then
35138 cat >>confdefs.h <<_ACEOF
35139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35140 _ACEOF
35141 WCSLEN_FOUND=1
35142 fi
35143 done
35144
35145
35146 if test "$WCSLEN_FOUND" = 0; then
35147 if test "$TOOLKIT" = "MSW"; then
35148 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35149 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35150 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35151 echo $ECHO_N "(cached) $ECHO_C" >&6
35152 else
35153 ac_check_lib_save_LIBS=$LIBS
35154 LIBS="-lmsvcrt $LIBS"
35155 cat >conftest.$ac_ext <<_ACEOF
35156 /* confdefs.h. */
35157 _ACEOF
35158 cat confdefs.h >>conftest.$ac_ext
35159 cat >>conftest.$ac_ext <<_ACEOF
35160 /* end confdefs.h. */
35161
35162 /* Override any GCC internal prototype to avoid an error.
35163 Use char because int might match the return type of a GCC
35164 builtin and then its argument prototype would still apply. */
35165 #ifdef __cplusplus
35166 extern "C"
35167 #endif
35168 char wcslen ();
35169 int
35170 main ()
35171 {
35172 return wcslen ();
35173 ;
35174 return 0;
35175 }
35176 _ACEOF
35177 rm -f conftest.$ac_objext conftest$ac_exeext
35178 if { (ac_try="$ac_link"
35179 case "(($ac_try" in
35180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35181 *) ac_try_echo=$ac_try;;
35182 esac
35183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35184 (eval "$ac_link") 2>conftest.er1
35185 ac_status=$?
35186 grep -v '^ *+' conftest.er1 >conftest.err
35187 rm -f conftest.er1
35188 cat conftest.err >&5
35189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35190 (exit $ac_status); } && {
35191 test -z "$ac_c_werror_flag" ||
35192 test ! -s conftest.err
35193 } && test -s conftest$ac_exeext &&
35194 $as_test_x conftest$ac_exeext; then
35195 ac_cv_lib_msvcrt_wcslen=yes
35196 else
35197 echo "$as_me: failed program was:" >&5
35198 sed 's/^/| /' conftest.$ac_ext >&5
35199
35200 ac_cv_lib_msvcrt_wcslen=no
35201 fi
35202
35203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35204 conftest$ac_exeext conftest.$ac_ext
35205 LIBS=$ac_check_lib_save_LIBS
35206 fi
35207 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35208 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35209 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35210 WCHAR_OK=1
35211 fi
35212
35213 else
35214 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35215 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35216 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35217 echo $ECHO_N "(cached) $ECHO_C" >&6
35218 else
35219 ac_check_lib_save_LIBS=$LIBS
35220 LIBS="-lw $LIBS"
35221 cat >conftest.$ac_ext <<_ACEOF
35222 /* confdefs.h. */
35223 _ACEOF
35224 cat confdefs.h >>conftest.$ac_ext
35225 cat >>conftest.$ac_ext <<_ACEOF
35226 /* end confdefs.h. */
35227
35228 /* Override any GCC internal prototype to avoid an error.
35229 Use char because int might match the return type of a GCC
35230 builtin and then its argument prototype would still apply. */
35231 #ifdef __cplusplus
35232 extern "C"
35233 #endif
35234 char wcslen ();
35235 int
35236 main ()
35237 {
35238 return wcslen ();
35239 ;
35240 return 0;
35241 }
35242 _ACEOF
35243 rm -f conftest.$ac_objext conftest$ac_exeext
35244 if { (ac_try="$ac_link"
35245 case "(($ac_try" in
35246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35247 *) ac_try_echo=$ac_try;;
35248 esac
35249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35250 (eval "$ac_link") 2>conftest.er1
35251 ac_status=$?
35252 grep -v '^ *+' conftest.er1 >conftest.err
35253 rm -f conftest.er1
35254 cat conftest.err >&5
35255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35256 (exit $ac_status); } && {
35257 test -z "$ac_c_werror_flag" ||
35258 test ! -s conftest.err
35259 } && test -s conftest$ac_exeext &&
35260 $as_test_x conftest$ac_exeext; then
35261 ac_cv_lib_w_wcslen=yes
35262 else
35263 echo "$as_me: failed program was:" >&5
35264 sed 's/^/| /' conftest.$ac_ext >&5
35265
35266 ac_cv_lib_w_wcslen=no
35267 fi
35268
35269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35270 conftest$ac_exeext conftest.$ac_ext
35271 LIBS=$ac_check_lib_save_LIBS
35272 fi
35273 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35274 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35275 if test $ac_cv_lib_w_wcslen = yes; then
35276
35277 WCHAR_LINK=" -lw"
35278 WCSLEN_FOUND=1
35279
35280 fi
35281
35282 fi
35283 fi
35284
35285 if test "$WCSLEN_FOUND" = 1; then
35286 cat >>confdefs.h <<\_ACEOF
35287 #define HAVE_WCSLEN 1
35288 _ACEOF
35289
35290 fi
35291
35292
35293
35294
35295
35296
35297 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35298 do
35299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35300 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35302 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35303 echo $ECHO_N "(cached) $ECHO_C" >&6
35304 else
35305 cat >conftest.$ac_ext <<_ACEOF
35306 /* confdefs.h. */
35307 _ACEOF
35308 cat confdefs.h >>conftest.$ac_ext
35309 cat >>conftest.$ac_ext <<_ACEOF
35310 /* end confdefs.h. */
35311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35313 #define $ac_func innocuous_$ac_func
35314
35315 /* System header to define __stub macros and hopefully few prototypes,
35316 which can conflict with char $ac_func (); below.
35317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35318 <limits.h> exists even on freestanding compilers. */
35319
35320 #ifdef __STDC__
35321 # include <limits.h>
35322 #else
35323 # include <assert.h>
35324 #endif
35325
35326 #undef $ac_func
35327
35328 /* Override any GCC internal prototype to avoid an error.
35329 Use char because int might match the return type of a GCC
35330 builtin and then its argument prototype would still apply. */
35331 #ifdef __cplusplus
35332 extern "C"
35333 #endif
35334 char $ac_func ();
35335 /* The GNU C library defines this for functions which it implements
35336 to always fail with ENOSYS. Some functions are actually named
35337 something starting with __ and the normal name is an alias. */
35338 #if defined __stub_$ac_func || defined __stub___$ac_func
35339 choke me
35340 #endif
35341
35342 int
35343 main ()
35344 {
35345 return $ac_func ();
35346 ;
35347 return 0;
35348 }
35349 _ACEOF
35350 rm -f conftest.$ac_objext conftest$ac_exeext
35351 if { (ac_try="$ac_link"
35352 case "(($ac_try" in
35353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35354 *) ac_try_echo=$ac_try;;
35355 esac
35356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35357 (eval "$ac_link") 2>conftest.er1
35358 ac_status=$?
35359 grep -v '^ *+' conftest.er1 >conftest.err
35360 rm -f conftest.er1
35361 cat conftest.err >&5
35362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35363 (exit $ac_status); } && {
35364 test -z "$ac_c_werror_flag" ||
35365 test ! -s conftest.err
35366 } && test -s conftest$ac_exeext &&
35367 $as_test_x conftest$ac_exeext; then
35368 eval "$as_ac_var=yes"
35369 else
35370 echo "$as_me: failed program was:" >&5
35371 sed 's/^/| /' conftest.$ac_ext >&5
35372
35373 eval "$as_ac_var=no"
35374 fi
35375
35376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35377 conftest$ac_exeext conftest.$ac_ext
35378 fi
35379 ac_res=`eval echo '${'$as_ac_var'}'`
35380 { echo "$as_me:$LINENO: result: $ac_res" >&5
35381 echo "${ECHO_T}$ac_res" >&6; }
35382 if test `eval echo '${'$as_ac_var'}'` = yes; then
35383 cat >>confdefs.h <<_ACEOF
35384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35385 _ACEOF
35386
35387 fi
35388 done
35389
35390
35391 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35392 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35393 fi
35394
35395 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35396 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35397 if test "${ac_cv_type_mbstate_t+set}" = set; then
35398 echo $ECHO_N "(cached) $ECHO_C" >&6
35399 else
35400 cat >conftest.$ac_ext <<_ACEOF
35401 /* confdefs.h. */
35402 _ACEOF
35403 cat confdefs.h >>conftest.$ac_ext
35404 cat >>conftest.$ac_ext <<_ACEOF
35405 /* end confdefs.h. */
35406 #include <wchar.h>
35407
35408 typedef mbstate_t ac__type_new_;
35409 int
35410 main ()
35411 {
35412 if ((ac__type_new_ *) 0)
35413 return 0;
35414 if (sizeof (ac__type_new_))
35415 return 0;
35416 ;
35417 return 0;
35418 }
35419 _ACEOF
35420 rm -f conftest.$ac_objext
35421 if { (ac_try="$ac_compile"
35422 case "(($ac_try" in
35423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35424 *) ac_try_echo=$ac_try;;
35425 esac
35426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35427 (eval "$ac_compile") 2>conftest.er1
35428 ac_status=$?
35429 grep -v '^ *+' conftest.er1 >conftest.err
35430 rm -f conftest.er1
35431 cat conftest.err >&5
35432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35433 (exit $ac_status); } && {
35434 test -z "$ac_c_werror_flag" ||
35435 test ! -s conftest.err
35436 } && test -s conftest.$ac_objext; then
35437 ac_cv_type_mbstate_t=yes
35438 else
35439 echo "$as_me: failed program was:" >&5
35440 sed 's/^/| /' conftest.$ac_ext >&5
35441
35442 ac_cv_type_mbstate_t=no
35443 fi
35444
35445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35446 fi
35447 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35448 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35449 if test $ac_cv_type_mbstate_t = yes; then
35450
35451 cat >>confdefs.h <<_ACEOF
35452 #define HAVE_MBSTATE_T 1
35453 _ACEOF
35454
35455
35456 for ac_func in wcsrtombs
35457 do
35458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35459 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35461 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35462 echo $ECHO_N "(cached) $ECHO_C" >&6
35463 else
35464 cat >conftest.$ac_ext <<_ACEOF
35465 /* confdefs.h. */
35466 _ACEOF
35467 cat confdefs.h >>conftest.$ac_ext
35468 cat >>conftest.$ac_ext <<_ACEOF
35469 /* end confdefs.h. */
35470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35472 #define $ac_func innocuous_$ac_func
35473
35474 /* System header to define __stub macros and hopefully few prototypes,
35475 which can conflict with char $ac_func (); below.
35476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35477 <limits.h> exists even on freestanding compilers. */
35478
35479 #ifdef __STDC__
35480 # include <limits.h>
35481 #else
35482 # include <assert.h>
35483 #endif
35484
35485 #undef $ac_func
35486
35487 /* Override any GCC internal prototype to avoid an error.
35488 Use char because int might match the return type of a GCC
35489 builtin and then its argument prototype would still apply. */
35490 #ifdef __cplusplus
35491 extern "C"
35492 #endif
35493 char $ac_func ();
35494 /* The GNU C library defines this for functions which it implements
35495 to always fail with ENOSYS. Some functions are actually named
35496 something starting with __ and the normal name is an alias. */
35497 #if defined __stub_$ac_func || defined __stub___$ac_func
35498 choke me
35499 #endif
35500
35501 int
35502 main ()
35503 {
35504 return $ac_func ();
35505 ;
35506 return 0;
35507 }
35508 _ACEOF
35509 rm -f conftest.$ac_objext conftest$ac_exeext
35510 if { (ac_try="$ac_link"
35511 case "(($ac_try" in
35512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35513 *) ac_try_echo=$ac_try;;
35514 esac
35515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35516 (eval "$ac_link") 2>conftest.er1
35517 ac_status=$?
35518 grep -v '^ *+' conftest.er1 >conftest.err
35519 rm -f conftest.er1
35520 cat conftest.err >&5
35521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35522 (exit $ac_status); } && {
35523 test -z "$ac_c_werror_flag" ||
35524 test ! -s conftest.err
35525 } && test -s conftest$ac_exeext &&
35526 $as_test_x conftest$ac_exeext; then
35527 eval "$as_ac_var=yes"
35528 else
35529 echo "$as_me: failed program was:" >&5
35530 sed 's/^/| /' conftest.$ac_ext >&5
35531
35532 eval "$as_ac_var=no"
35533 fi
35534
35535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35536 conftest$ac_exeext conftest.$ac_ext
35537 fi
35538 ac_res=`eval echo '${'$as_ac_var'}'`
35539 { echo "$as_me:$LINENO: result: $ac_res" >&5
35540 echo "${ECHO_T}$ac_res" >&6; }
35541 if test `eval echo '${'$as_ac_var'}'` = yes; then
35542 cat >>confdefs.h <<_ACEOF
35543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35544 _ACEOF
35545
35546 fi
35547 done
35548
35549 fi
35550
35551 else
35552 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35553 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35554 fi
35555
35556
35557
35558
35559 for ac_func in snprintf vsnprintf vsscanf
35560 do
35561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35562 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35564 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35565 echo $ECHO_N "(cached) $ECHO_C" >&6
35566 else
35567 cat >conftest.$ac_ext <<_ACEOF
35568 /* confdefs.h. */
35569 _ACEOF
35570 cat confdefs.h >>conftest.$ac_ext
35571 cat >>conftest.$ac_ext <<_ACEOF
35572 /* end confdefs.h. */
35573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35575 #define $ac_func innocuous_$ac_func
35576
35577 /* System header to define __stub macros and hopefully few prototypes,
35578 which can conflict with char $ac_func (); below.
35579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35580 <limits.h> exists even on freestanding compilers. */
35581
35582 #ifdef __STDC__
35583 # include <limits.h>
35584 #else
35585 # include <assert.h>
35586 #endif
35587
35588 #undef $ac_func
35589
35590 /* Override any GCC internal prototype to avoid an error.
35591 Use char because int might match the return type of a GCC
35592 builtin and then its argument prototype would still apply. */
35593 #ifdef __cplusplus
35594 extern "C"
35595 #endif
35596 char $ac_func ();
35597 /* The GNU C library defines this for functions which it implements
35598 to always fail with ENOSYS. Some functions are actually named
35599 something starting with __ and the normal name is an alias. */
35600 #if defined __stub_$ac_func || defined __stub___$ac_func
35601 choke me
35602 #endif
35603
35604 int
35605 main ()
35606 {
35607 return $ac_func ();
35608 ;
35609 return 0;
35610 }
35611 _ACEOF
35612 rm -f conftest.$ac_objext conftest$ac_exeext
35613 if { (ac_try="$ac_link"
35614 case "(($ac_try" in
35615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35616 *) ac_try_echo=$ac_try;;
35617 esac
35618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35619 (eval "$ac_link") 2>conftest.er1
35620 ac_status=$?
35621 grep -v '^ *+' conftest.er1 >conftest.err
35622 rm -f conftest.er1
35623 cat conftest.err >&5
35624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35625 (exit $ac_status); } && {
35626 test -z "$ac_c_werror_flag" ||
35627 test ! -s conftest.err
35628 } && test -s conftest$ac_exeext &&
35629 $as_test_x conftest$ac_exeext; then
35630 eval "$as_ac_var=yes"
35631 else
35632 echo "$as_me: failed program was:" >&5
35633 sed 's/^/| /' conftest.$ac_ext >&5
35634
35635 eval "$as_ac_var=no"
35636 fi
35637
35638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35639 conftest$ac_exeext conftest.$ac_ext
35640 fi
35641 ac_res=`eval echo '${'$as_ac_var'}'`
35642 { echo "$as_me:$LINENO: result: $ac_res" >&5
35643 echo "${ECHO_T}$ac_res" >&6; }
35644 if test `eval echo '${'$as_ac_var'}'` = yes; then
35645 cat >>confdefs.h <<_ACEOF
35646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35647 _ACEOF
35648
35649 fi
35650 done
35651
35652
35653 ac_ext=cpp
35654 ac_cpp='$CXXCPP $CPPFLAGS'
35655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35658
35659 if test "$ac_cv_func_vsnprintf" = "yes"; then
35660 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35661 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35662 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35663 echo $ECHO_N "(cached) $ECHO_C" >&6
35664 else
35665
35666 cat >conftest.$ac_ext <<_ACEOF
35667 /* confdefs.h. */
35668 _ACEOF
35669 cat confdefs.h >>conftest.$ac_ext
35670 cat >>conftest.$ac_ext <<_ACEOF
35671 /* end confdefs.h. */
35672
35673 #include <stdio.h>
35674 #include <stdarg.h>
35675 #ifdef __MSL__
35676 #if __MSL__ >= 0x6000
35677 namespace std {}
35678 using namespace std;
35679 #endif
35680 #endif
35681
35682 int
35683 main ()
35684 {
35685
35686 char *buf;
35687 va_list ap;
35688 vsnprintf(buf, 10u, "%s", ap);
35689
35690 ;
35691 return 0;
35692 }
35693 _ACEOF
35694 rm -f conftest.$ac_objext
35695 if { (ac_try="$ac_compile"
35696 case "(($ac_try" in
35697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35698 *) ac_try_echo=$ac_try;;
35699 esac
35700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35701 (eval "$ac_compile") 2>conftest.er1
35702 ac_status=$?
35703 grep -v '^ *+' conftest.er1 >conftest.err
35704 rm -f conftest.er1
35705 cat conftest.err >&5
35706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35707 (exit $ac_status); } && {
35708 test -z "$ac_cxx_werror_flag" ||
35709 test ! -s conftest.err
35710 } && test -s conftest.$ac_objext; then
35711 wx_cv_func_vsnprintf_decl=yes
35712 else
35713 echo "$as_me: failed program was:" >&5
35714 sed 's/^/| /' conftest.$ac_ext >&5
35715
35716 wx_cv_func_vsnprintf_decl=no
35717
35718 fi
35719
35720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35721
35722
35723 fi
35724 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35725 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35726
35727 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35728 cat >>confdefs.h <<\_ACEOF
35729 #define HAVE_VSNPRINTF_DECL 1
35730 _ACEOF
35731
35732
35733 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35734 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35735 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35736 echo $ECHO_N "(cached) $ECHO_C" >&6
35737 else
35738
35739 cat >conftest.$ac_ext <<_ACEOF
35740 /* confdefs.h. */
35741 _ACEOF
35742 cat confdefs.h >>conftest.$ac_ext
35743 cat >>conftest.$ac_ext <<_ACEOF
35744 /* end confdefs.h. */
35745
35746 #include <stdio.h>
35747 #include <stdarg.h>
35748 #ifdef __MSL__
35749 #if __MSL__ >= 0x6000
35750 namespace std {}
35751 using namespace std;
35752 #endif
35753 #endif
35754
35755 int
35756 main ()
35757 {
35758
35759 char *buf;
35760 va_list ap;
35761 const char *fmt = "%s";
35762 vsnprintf(buf, 10u, fmt, ap);
35763
35764 ;
35765 return 0;
35766 }
35767 _ACEOF
35768 rm -f conftest.$ac_objext
35769 if { (ac_try="$ac_compile"
35770 case "(($ac_try" in
35771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35772 *) ac_try_echo=$ac_try;;
35773 esac
35774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35775 (eval "$ac_compile") 2>conftest.er1
35776 ac_status=$?
35777 grep -v '^ *+' conftest.er1 >conftest.err
35778 rm -f conftest.er1
35779 cat conftest.err >&5
35780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35781 (exit $ac_status); } && {
35782 test -z "$ac_cxx_werror_flag" ||
35783 test ! -s conftest.err
35784 } && test -s conftest.$ac_objext; then
35785 wx_cv_func_broken_vsnprintf_decl=no
35786 else
35787 echo "$as_me: failed program was:" >&5
35788 sed 's/^/| /' conftest.$ac_ext >&5
35789
35790 wx_cv_func_broken_vsnprintf_decl=yes
35791
35792 fi
35793
35794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35795
35796
35797 fi
35798 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35799 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35800
35801 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35802 cat >>confdefs.h <<\_ACEOF
35803 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35804 _ACEOF
35805
35806 fi
35807 fi
35808 fi
35809
35810 if test "$ac_cv_func_snprintf" = "yes"; then
35811 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35812 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35813 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35814 echo $ECHO_N "(cached) $ECHO_C" >&6
35815 else
35816
35817 cat >conftest.$ac_ext <<_ACEOF
35818 /* confdefs.h. */
35819 _ACEOF
35820 cat confdefs.h >>conftest.$ac_ext
35821 cat >>conftest.$ac_ext <<_ACEOF
35822 /* end confdefs.h. */
35823
35824 #include <stdio.h>
35825 #include <stdarg.h>
35826 #ifdef __MSL__
35827 #if __MSL__ >= 0x6000
35828 namespace std {}
35829 using namespace std;
35830 #endif
35831 #endif
35832
35833 int
35834 main ()
35835 {
35836
35837 char *buf;
35838 snprintf(buf, 10u, "%s", "wx");
35839
35840 ;
35841 return 0;
35842 }
35843 _ACEOF
35844 rm -f conftest.$ac_objext
35845 if { (ac_try="$ac_compile"
35846 case "(($ac_try" in
35847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35848 *) ac_try_echo=$ac_try;;
35849 esac
35850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35851 (eval "$ac_compile") 2>conftest.er1
35852 ac_status=$?
35853 grep -v '^ *+' conftest.er1 >conftest.err
35854 rm -f conftest.er1
35855 cat conftest.err >&5
35856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35857 (exit $ac_status); } && {
35858 test -z "$ac_cxx_werror_flag" ||
35859 test ! -s conftest.err
35860 } && test -s conftest.$ac_objext; then
35861 wx_cv_func_snprintf_decl=yes
35862 else
35863 echo "$as_me: failed program was:" >&5
35864 sed 's/^/| /' conftest.$ac_ext >&5
35865
35866 wx_cv_func_snprintf_decl=no
35867
35868 fi
35869
35870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35871
35872
35873 fi
35874 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35875 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35876
35877 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35878 cat >>confdefs.h <<\_ACEOF
35879 #define HAVE_SNPRINTF_DECL 1
35880 _ACEOF
35881
35882 fi
35883
35884 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35885
35886 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35887 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35888 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35889 echo $ECHO_N "(cached) $ECHO_C" >&6
35890 else
35891
35892 if test "$cross_compiling" = yes; then
35893
35894 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35895 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35896 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35897 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35898 wx_cv_func_snprintf_pos_params=no
35899
35900
35901 else
35902 cat >conftest.$ac_ext <<_ACEOF
35903 /* confdefs.h. */
35904 _ACEOF
35905 cat confdefs.h >>conftest.$ac_ext
35906 cat >>conftest.$ac_ext <<_ACEOF
35907 /* end confdefs.h. */
35908
35909 #include <stdio.h>
35910
35911 int main (void)
35912 {
35913 char buffer[128];
35914 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35915 if (strcmp ("2 3 1", buffer) == 0)
35916 exit (0);
35917 exit (1);
35918 }
35919
35920 _ACEOF
35921 rm -f conftest$ac_exeext
35922 if { (ac_try="$ac_link"
35923 case "(($ac_try" in
35924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35925 *) ac_try_echo=$ac_try;;
35926 esac
35927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35928 (eval "$ac_link") 2>&5
35929 ac_status=$?
35930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35931 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35932 { (case "(($ac_try" in
35933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35934 *) ac_try_echo=$ac_try;;
35935 esac
35936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35937 (eval "$ac_try") 2>&5
35938 ac_status=$?
35939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35940 (exit $ac_status); }; }; then
35941 wx_cv_func_snprintf_pos_params=no
35942 else
35943 echo "$as_me: program exited with status $ac_status" >&5
35944 echo "$as_me: failed program was:" >&5
35945 sed 's/^/| /' conftest.$ac_ext >&5
35946
35947 ( exit $ac_status )
35948 wx_cv_func_snprintf_pos_params=yes
35949 fi
35950 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35951 fi
35952
35953
35954
35955
35956 fi
35957 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35958 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35959
35960 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35961 cat >>confdefs.h <<\_ACEOF
35962 #define HAVE_UNIX98_PRINTF 1
35963 _ACEOF
35964
35965 fi
35966 fi
35967 fi
35968
35969 if test "$ac_cv_func_vsscanf" = "yes"; then
35970 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35971 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35972 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35973 echo $ECHO_N "(cached) $ECHO_C" >&6
35974 else
35975
35976 cat >conftest.$ac_ext <<_ACEOF
35977 /* confdefs.h. */
35978 _ACEOF
35979 cat confdefs.h >>conftest.$ac_ext
35980 cat >>conftest.$ac_ext <<_ACEOF
35981 /* end confdefs.h. */
35982
35983 #include <stdio.h>
35984 #include <stdarg.h>
35985 #ifdef __MSL__
35986 #if __MSL__ >= 0x6000
35987 namespace std {}
35988 using namespace std;
35989 #endif
35990 #endif
35991
35992 int
35993 main ()
35994 {
35995
35996 char *buf;
35997 va_list args;
35998 vsscanf(buf, "%s", args);
35999
36000 ;
36001 return 0;
36002 }
36003 _ACEOF
36004 rm -f conftest.$ac_objext
36005 if { (ac_try="$ac_compile"
36006 case "(($ac_try" in
36007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36008 *) ac_try_echo=$ac_try;;
36009 esac
36010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36011 (eval "$ac_compile") 2>conftest.er1
36012 ac_status=$?
36013 grep -v '^ *+' conftest.er1 >conftest.err
36014 rm -f conftest.er1
36015 cat conftest.err >&5
36016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017 (exit $ac_status); } && {
36018 test -z "$ac_cxx_werror_flag" ||
36019 test ! -s conftest.err
36020 } && test -s conftest.$ac_objext; then
36021 wx_cv_func_vsscanf_decl=yes
36022 else
36023 echo "$as_me: failed program was:" >&5
36024 sed 's/^/| /' conftest.$ac_ext >&5
36025
36026 wx_cv_func_vsscanf_decl=no
36027
36028 fi
36029
36030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36031
36032
36033 fi
36034 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36035 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36036
36037 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36038 cat >>confdefs.h <<\_ACEOF
36039 #define HAVE_VSSCANF_DECL 1
36040 _ACEOF
36041
36042 fi
36043 fi
36044 ac_ext=c
36045 ac_cpp='$CPP $CPPFLAGS'
36046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36049
36050
36051 if test "$wxUSE_UNICODE" = yes; then
36052
36053 wchar_headers="#include <stdio.h>
36054 #include <wchar.h>"
36055 case "${host}" in
36056 *-*-solaris2* )
36057
36058 for ac_header in widec.h
36059 do
36060 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36061 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36063 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36064 echo $ECHO_N "(cached) $ECHO_C" >&6
36065 else
36066 cat >conftest.$ac_ext <<_ACEOF
36067 /* confdefs.h. */
36068 _ACEOF
36069 cat confdefs.h >>conftest.$ac_ext
36070 cat >>conftest.$ac_ext <<_ACEOF
36071 /* end confdefs.h. */
36072 $ac_includes_default
36073
36074 #include <$ac_header>
36075 _ACEOF
36076 rm -f conftest.$ac_objext
36077 if { (ac_try="$ac_compile"
36078 case "(($ac_try" in
36079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36080 *) ac_try_echo=$ac_try;;
36081 esac
36082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36083 (eval "$ac_compile") 2>conftest.er1
36084 ac_status=$?
36085 grep -v '^ *+' conftest.er1 >conftest.err
36086 rm -f conftest.er1
36087 cat conftest.err >&5
36088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36089 (exit $ac_status); } && {
36090 test -z "$ac_c_werror_flag" ||
36091 test ! -s conftest.err
36092 } && test -s conftest.$ac_objext; then
36093 eval "$as_ac_Header=yes"
36094 else
36095 echo "$as_me: failed program was:" >&5
36096 sed 's/^/| /' conftest.$ac_ext >&5
36097
36098 eval "$as_ac_Header=no"
36099 fi
36100
36101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36102 fi
36103 ac_res=`eval echo '${'$as_ac_Header'}'`
36104 { echo "$as_me:$LINENO: result: $ac_res" >&5
36105 echo "${ECHO_T}$ac_res" >&6; }
36106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36107 cat >>confdefs.h <<_ACEOF
36108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36109 _ACEOF
36110
36111 fi
36112
36113 done
36114
36115 if test "$ac_cv_header_widec_h" = "yes"; then
36116 wchar_headers="$wchar_headers
36117 #include <widec.h>"
36118 fi
36119 esac
36120
36121
36122 for wx_func in putws fputws wprintf vswprintf vswscanf
36123 do
36124 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36125 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36126 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36127 echo $ECHO_N "(cached) $ECHO_C" >&6
36128 else
36129
36130 cat >conftest.$ac_ext <<_ACEOF
36131
36132 /* confdefs.h. */
36133 _ACEOF
36134 cat confdefs.h >>conftest.$ac_ext
36135 cat >>conftest.$ac_ext <<_ACEOF
36136 /* end confdefs.h. */
36137
36138 $wchar_headers
36139 $ac_includes_default
36140
36141 int
36142 main ()
36143 {
36144
36145 #ifndef $wx_func
36146 &$wx_func;
36147 #endif
36148
36149
36150 ;
36151 return 0;
36152 }
36153
36154 _ACEOF
36155 rm -f conftest.$ac_objext conftest$ac_exeext
36156 if { (ac_try="$ac_link"
36157 case "(($ac_try" in
36158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36159 *) ac_try_echo=$ac_try;;
36160 esac
36161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36162 (eval "$ac_link") 2>conftest.er1
36163 ac_status=$?
36164 grep -v '^ *+' conftest.er1 >conftest.err
36165 rm -f conftest.er1
36166 cat conftest.err >&5
36167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36168 (exit $ac_status); } && {
36169 test -z "$ac_c_werror_flag" ||
36170 test ! -s conftest.err
36171 } && test -s conftest$ac_exeext &&
36172 $as_test_x conftest$ac_exeext; then
36173 eval wx_cv_func_$wx_func=yes
36174 else
36175 echo "$as_me: failed program was:" >&5
36176 sed 's/^/| /' conftest.$ac_ext >&5
36177
36178 eval wx_cv_func_$wx_func=no
36179 fi
36180
36181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36182 conftest$ac_exeext conftest.$ac_ext
36183
36184 fi
36185 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36186 { echo "$as_me:$LINENO: result: $ac_res" >&5
36187 echo "${ECHO_T}$ac_res" >&6; }
36188
36189 if eval test \$wx_cv_func_$wx_func = yes
36190 then
36191 cat >>confdefs.h <<_ACEOF
36192 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36193 _ACEOF
36194
36195
36196 else
36197 :
36198
36199 fi
36200 done
36201
36202
36203 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36204 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36205 cat >conftest.$ac_ext <<_ACEOF
36206 /* confdefs.h. */
36207 _ACEOF
36208 cat confdefs.h >>conftest.$ac_ext
36209 cat >>conftest.$ac_ext <<_ACEOF
36210 /* end confdefs.h. */
36211 #include <wchar.h>
36212 int
36213 main ()
36214 {
36215 &_vsnwprintf;
36216 ;
36217 return 0;
36218 }
36219 _ACEOF
36220 rm -f conftest.$ac_objext
36221 if { (ac_try="$ac_compile"
36222 case "(($ac_try" in
36223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36224 *) ac_try_echo=$ac_try;;
36225 esac
36226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36227 (eval "$ac_compile") 2>conftest.er1
36228 ac_status=$?
36229 grep -v '^ *+' conftest.er1 >conftest.err
36230 rm -f conftest.er1
36231 cat conftest.err >&5
36232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36233 (exit $ac_status); } && {
36234 test -z "$ac_c_werror_flag" ||
36235 test ! -s conftest.err
36236 } && test -s conftest.$ac_objext; then
36237 { echo "$as_me:$LINENO: result: yes" >&5
36238 echo "${ECHO_T}yes" >&6; }
36239 cat >>confdefs.h <<\_ACEOF
36240 #define HAVE__VSNWPRINTF 1
36241 _ACEOF
36242
36243 else
36244 echo "$as_me: failed program was:" >&5
36245 sed 's/^/| /' conftest.$ac_ext >&5
36246
36247 { echo "$as_me:$LINENO: result: no" >&5
36248 echo "${ECHO_T}no" >&6; }
36249 fi
36250
36251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36252 fi
36253
36254 if test "$wxUSE_FILE" = "yes"; then
36255
36256 for wx_func in fsync
36257 do
36258 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36259 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36260 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36261 echo $ECHO_N "(cached) $ECHO_C" >&6
36262 else
36263
36264 cat >conftest.$ac_ext <<_ACEOF
36265
36266 /* confdefs.h. */
36267 _ACEOF
36268 cat confdefs.h >>conftest.$ac_ext
36269 cat >>conftest.$ac_ext <<_ACEOF
36270 /* end confdefs.h. */
36271
36272
36273 $ac_includes_default
36274
36275 int
36276 main ()
36277 {
36278
36279 #ifndef $wx_func
36280 &$wx_func;
36281 #endif
36282
36283
36284 ;
36285 return 0;
36286 }
36287
36288 _ACEOF
36289 rm -f conftest.$ac_objext conftest$ac_exeext
36290 if { (ac_try="$ac_link"
36291 case "(($ac_try" in
36292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36293 *) ac_try_echo=$ac_try;;
36294 esac
36295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36296 (eval "$ac_link") 2>conftest.er1
36297 ac_status=$?
36298 grep -v '^ *+' conftest.er1 >conftest.err
36299 rm -f conftest.er1
36300 cat conftest.err >&5
36301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36302 (exit $ac_status); } && {
36303 test -z "$ac_c_werror_flag" ||
36304 test ! -s conftest.err
36305 } && test -s conftest$ac_exeext &&
36306 $as_test_x conftest$ac_exeext; then
36307 eval wx_cv_func_$wx_func=yes
36308 else
36309 echo "$as_me: failed program was:" >&5
36310 sed 's/^/| /' conftest.$ac_ext >&5
36311
36312 eval wx_cv_func_$wx_func=no
36313 fi
36314
36315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36316 conftest$ac_exeext conftest.$ac_ext
36317
36318 fi
36319 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36320 { echo "$as_me:$LINENO: result: $ac_res" >&5
36321 echo "${ECHO_T}$ac_res" >&6; }
36322
36323 if eval test \$wx_cv_func_$wx_func = yes
36324 then
36325 cat >>confdefs.h <<_ACEOF
36326 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36327 _ACEOF
36328
36329
36330 else
36331 :
36332
36333 fi
36334 done
36335
36336 fi
36337
36338 ac_ext=cpp
36339 ac_cpp='$CXXCPP $CPPFLAGS'
36340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36343
36344
36345 for wx_func in round
36346 do
36347 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36348 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36349 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36350 echo $ECHO_N "(cached) $ECHO_C" >&6
36351 else
36352
36353 cat >conftest.$ac_ext <<_ACEOF
36354
36355 /* confdefs.h. */
36356 _ACEOF
36357 cat confdefs.h >>conftest.$ac_ext
36358 cat >>conftest.$ac_ext <<_ACEOF
36359 /* end confdefs.h. */
36360
36361 #include <math.h>
36362 $ac_includes_default
36363
36364 int
36365 main ()
36366 {
36367
36368 #ifndef $wx_func
36369 &$wx_func;
36370 #endif
36371
36372
36373 ;
36374 return 0;
36375 }
36376
36377 _ACEOF
36378 rm -f conftest.$ac_objext conftest$ac_exeext
36379 if { (ac_try="$ac_link"
36380 case "(($ac_try" in
36381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36382 *) ac_try_echo=$ac_try;;
36383 esac
36384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36385 (eval "$ac_link") 2>conftest.er1
36386 ac_status=$?
36387 grep -v '^ *+' conftest.er1 >conftest.err
36388 rm -f conftest.er1
36389 cat conftest.err >&5
36390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36391 (exit $ac_status); } && {
36392 test -z "$ac_cxx_werror_flag" ||
36393 test ! -s conftest.err
36394 } && test -s conftest$ac_exeext &&
36395 $as_test_x conftest$ac_exeext; then
36396 eval wx_cv_func_$wx_func=yes
36397 else
36398 echo "$as_me: failed program was:" >&5
36399 sed 's/^/| /' conftest.$ac_ext >&5
36400
36401 eval wx_cv_func_$wx_func=no
36402 fi
36403
36404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36405 conftest$ac_exeext conftest.$ac_ext
36406
36407 fi
36408 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36409 { echo "$as_me:$LINENO: result: $ac_res" >&5
36410 echo "${ECHO_T}$ac_res" >&6; }
36411
36412 if eval test \$wx_cv_func_$wx_func = yes
36413 then
36414 cat >>confdefs.h <<_ACEOF
36415 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36416 _ACEOF
36417
36418
36419 else
36420 :
36421
36422 fi
36423 done
36424
36425 ac_ext=c
36426 ac_cpp='$CPP $CPPFLAGS'
36427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36430
36431
36432 if test "$TOOLKIT" != "MSW"; then
36433
36434 if test "$wxUSE_LIBICONV" != "no" ; then
36435
36436
36437
36438 # Check whether --with-libiconv-prefix was given.
36439 if test "${with_libiconv_prefix+set}" = set; then
36440 withval=$with_libiconv_prefix;
36441 for dir in `echo "$withval" | tr : ' '`; do
36442 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36443 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36444 done
36445
36446 fi
36447
36448
36449 { echo "$as_me:$LINENO: checking for iconv" >&5
36450 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36451 if test "${am_cv_func_iconv+set}" = set; then
36452 echo $ECHO_N "(cached) $ECHO_C" >&6
36453 else
36454
36455 am_cv_func_iconv="no, consider installing GNU libiconv"
36456 am_cv_lib_iconv=no
36457 cat >conftest.$ac_ext <<_ACEOF
36458 /* confdefs.h. */
36459 _ACEOF
36460 cat confdefs.h >>conftest.$ac_ext
36461 cat >>conftest.$ac_ext <<_ACEOF
36462 /* end confdefs.h. */
36463 #include <stdlib.h>
36464 #include <iconv.h>
36465 int
36466 main ()
36467 {
36468 iconv_t cd = iconv_open("","");
36469 iconv(cd,NULL,NULL,NULL,NULL);
36470 iconv_close(cd);
36471 ;
36472 return 0;
36473 }
36474 _ACEOF
36475 rm -f conftest.$ac_objext conftest$ac_exeext
36476 if { (ac_try="$ac_link"
36477 case "(($ac_try" in
36478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36479 *) ac_try_echo=$ac_try;;
36480 esac
36481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36482 (eval "$ac_link") 2>conftest.er1
36483 ac_status=$?
36484 grep -v '^ *+' conftest.er1 >conftest.err
36485 rm -f conftest.er1
36486 cat conftest.err >&5
36487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36488 (exit $ac_status); } && {
36489 test -z "$ac_c_werror_flag" ||
36490 test ! -s conftest.err
36491 } && test -s conftest$ac_exeext &&
36492 $as_test_x conftest$ac_exeext; then
36493 am_cv_func_iconv=yes
36494 else
36495 echo "$as_me: failed program was:" >&5
36496 sed 's/^/| /' conftest.$ac_ext >&5
36497
36498
36499 fi
36500
36501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36502 conftest$ac_exeext conftest.$ac_ext
36503 if test "$am_cv_func_iconv" != yes; then
36504 am_save_LIBS="$LIBS"
36505 LIBS="$LIBS -liconv"
36506 cat >conftest.$ac_ext <<_ACEOF
36507 /* confdefs.h. */
36508 _ACEOF
36509 cat confdefs.h >>conftest.$ac_ext
36510 cat >>conftest.$ac_ext <<_ACEOF
36511 /* end confdefs.h. */
36512 #include <stdlib.h>
36513 #include <iconv.h>
36514 int
36515 main ()
36516 {
36517 iconv_t cd = iconv_open("","");
36518 iconv(cd,NULL,NULL,NULL,NULL);
36519 iconv_close(cd);
36520 ;
36521 return 0;
36522 }
36523 _ACEOF
36524 rm -f conftest.$ac_objext conftest$ac_exeext
36525 if { (ac_try="$ac_link"
36526 case "(($ac_try" in
36527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36528 *) ac_try_echo=$ac_try;;
36529 esac
36530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36531 (eval "$ac_link") 2>conftest.er1
36532 ac_status=$?
36533 grep -v '^ *+' conftest.er1 >conftest.err
36534 rm -f conftest.er1
36535 cat conftest.err >&5
36536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36537 (exit $ac_status); } && {
36538 test -z "$ac_c_werror_flag" ||
36539 test ! -s conftest.err
36540 } && test -s conftest$ac_exeext &&
36541 $as_test_x conftest$ac_exeext; then
36542 am_cv_lib_iconv=yes
36543 am_cv_func_iconv=yes
36544 else
36545 echo "$as_me: failed program was:" >&5
36546 sed 's/^/| /' conftest.$ac_ext >&5
36547
36548
36549 fi
36550
36551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36552 conftest$ac_exeext conftest.$ac_ext
36553 LIBS="$am_save_LIBS"
36554 fi
36555
36556 fi
36557 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36558 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36559 if test "$am_cv_func_iconv" = yes; then
36560
36561 cat >>confdefs.h <<\_ACEOF
36562 #define HAVE_ICONV 1
36563 _ACEOF
36564
36565 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36566 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36567 if test "${wx_cv_func_iconv_const+set}" = set; then
36568 echo $ECHO_N "(cached) $ECHO_C" >&6
36569 else
36570 cat >conftest.$ac_ext <<_ACEOF
36571 /* confdefs.h. */
36572 _ACEOF
36573 cat confdefs.h >>conftest.$ac_ext
36574 cat >>conftest.$ac_ext <<_ACEOF
36575 /* end confdefs.h. */
36576
36577 #include <stdlib.h>
36578 #include <iconv.h>
36579 extern
36580 #ifdef __cplusplus
36581 "C"
36582 #endif
36583 #if defined(__STDC__) || defined(__cplusplus)
36584 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36585 #else
36586 size_t iconv();
36587 #endif
36588
36589 int
36590 main ()
36591 {
36592
36593 ;
36594 return 0;
36595 }
36596 _ACEOF
36597 rm -f conftest.$ac_objext
36598 if { (ac_try="$ac_compile"
36599 case "(($ac_try" in
36600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36601 *) ac_try_echo=$ac_try;;
36602 esac
36603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36604 (eval "$ac_compile") 2>conftest.er1
36605 ac_status=$?
36606 grep -v '^ *+' conftest.er1 >conftest.err
36607 rm -f conftest.er1
36608 cat conftest.err >&5
36609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36610 (exit $ac_status); } && {
36611 test -z "$ac_c_werror_flag" ||
36612 test ! -s conftest.err
36613 } && test -s conftest.$ac_objext; then
36614 wx_cv_func_iconv_const="no"
36615 else
36616 echo "$as_me: failed program was:" >&5
36617 sed 's/^/| /' conftest.$ac_ext >&5
36618
36619 wx_cv_func_iconv_const="yes"
36620
36621 fi
36622
36623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36624
36625 fi
36626 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36627 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36628
36629 iconv_const=
36630 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36631 iconv_const="const"
36632 fi
36633
36634
36635 cat >>confdefs.h <<_ACEOF
36636 #define ICONV_CONST $iconv_const
36637 _ACEOF
36638
36639 fi
36640 LIBICONV=
36641 if test "$am_cv_lib_iconv" = yes; then
36642 LIBICONV="-liconv"
36643 fi
36644
36645
36646 LIBS="$LIBICONV $LIBS"
36647 fi
36648
36649 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36650
36651 for ac_func in sigaction
36652 do
36653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36656 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36657 echo $ECHO_N "(cached) $ECHO_C" >&6
36658 else
36659 cat >conftest.$ac_ext <<_ACEOF
36660 /* confdefs.h. */
36661 _ACEOF
36662 cat confdefs.h >>conftest.$ac_ext
36663 cat >>conftest.$ac_ext <<_ACEOF
36664 /* end confdefs.h. */
36665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36667 #define $ac_func innocuous_$ac_func
36668
36669 /* System header to define __stub macros and hopefully few prototypes,
36670 which can conflict with char $ac_func (); below.
36671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36672 <limits.h> exists even on freestanding compilers. */
36673
36674 #ifdef __STDC__
36675 # include <limits.h>
36676 #else
36677 # include <assert.h>
36678 #endif
36679
36680 #undef $ac_func
36681
36682 /* Override any GCC internal prototype to avoid an error.
36683 Use char because int might match the return type of a GCC
36684 builtin and then its argument prototype would still apply. */
36685 #ifdef __cplusplus
36686 extern "C"
36687 #endif
36688 char $ac_func ();
36689 /* The GNU C library defines this for functions which it implements
36690 to always fail with ENOSYS. Some functions are actually named
36691 something starting with __ and the normal name is an alias. */
36692 #if defined __stub_$ac_func || defined __stub___$ac_func
36693 choke me
36694 #endif
36695
36696 int
36697 main ()
36698 {
36699 return $ac_func ();
36700 ;
36701 return 0;
36702 }
36703 _ACEOF
36704 rm -f conftest.$ac_objext conftest$ac_exeext
36705 if { (ac_try="$ac_link"
36706 case "(($ac_try" in
36707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36708 *) ac_try_echo=$ac_try;;
36709 esac
36710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36711 (eval "$ac_link") 2>conftest.er1
36712 ac_status=$?
36713 grep -v '^ *+' conftest.er1 >conftest.err
36714 rm -f conftest.er1
36715 cat conftest.err >&5
36716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36717 (exit $ac_status); } && {
36718 test -z "$ac_c_werror_flag" ||
36719 test ! -s conftest.err
36720 } && test -s conftest$ac_exeext &&
36721 $as_test_x conftest$ac_exeext; then
36722 eval "$as_ac_var=yes"
36723 else
36724 echo "$as_me: failed program was:" >&5
36725 sed 's/^/| /' conftest.$ac_ext >&5
36726
36727 eval "$as_ac_var=no"
36728 fi
36729
36730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36731 conftest$ac_exeext conftest.$ac_ext
36732 fi
36733 ac_res=`eval echo '${'$as_ac_var'}'`
36734 { echo "$as_me:$LINENO: result: $ac_res" >&5
36735 echo "${ECHO_T}$ac_res" >&6; }
36736 if test `eval echo '${'$as_ac_var'}'` = yes; then
36737 cat >>confdefs.h <<_ACEOF
36738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36739 _ACEOF
36740
36741 fi
36742 done
36743
36744
36745 if test "$ac_cv_func_sigaction" = "no"; then
36746 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36747 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36748 wxUSE_ON_FATAL_EXCEPTION=no
36749 fi
36750
36751 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36752 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36753 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36754 if test "${wx_cv_type_sa_handler+set}" = set; then
36755 echo $ECHO_N "(cached) $ECHO_C" >&6
36756 else
36757
36758 ac_ext=cpp
36759 ac_cpp='$CXXCPP $CPPFLAGS'
36760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36763
36764 cat >conftest.$ac_ext <<_ACEOF
36765 /* confdefs.h. */
36766 _ACEOF
36767 cat confdefs.h >>conftest.$ac_ext
36768 cat >>conftest.$ac_ext <<_ACEOF
36769 /* end confdefs.h. */
36770 #include <signal.h>
36771 int
36772 main ()
36773 {
36774
36775 extern void testSigHandler(int);
36776
36777 struct sigaction sa;
36778 sa.sa_handler = testSigHandler;
36779
36780 ;
36781 return 0;
36782 }
36783 _ACEOF
36784 rm -f conftest.$ac_objext
36785 if { (ac_try="$ac_compile"
36786 case "(($ac_try" in
36787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36788 *) ac_try_echo=$ac_try;;
36789 esac
36790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36791 (eval "$ac_compile") 2>conftest.er1
36792 ac_status=$?
36793 grep -v '^ *+' conftest.er1 >conftest.err
36794 rm -f conftest.er1
36795 cat conftest.err >&5
36796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36797 (exit $ac_status); } && {
36798 test -z "$ac_cxx_werror_flag" ||
36799 test ! -s conftest.err
36800 } && test -s conftest.$ac_objext; then
36801
36802 wx_cv_type_sa_handler=int
36803
36804 else
36805 echo "$as_me: failed program was:" >&5
36806 sed 's/^/| /' conftest.$ac_ext >&5
36807
36808
36809 wx_cv_type_sa_handler=void
36810
36811 fi
36812
36813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36814 ac_ext=c
36815 ac_cpp='$CPP $CPPFLAGS'
36816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36819
36820
36821 fi
36822 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36823 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36824
36825 cat >>confdefs.h <<_ACEOF
36826 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36827 _ACEOF
36828
36829 fi
36830 fi
36831
36832 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36833 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36834 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36835 if test "${wx_cv_func_backtrace+set}" = set; then
36836 echo $ECHO_N "(cached) $ECHO_C" >&6
36837 else
36838
36839 ac_ext=cpp
36840 ac_cpp='$CXXCPP $CPPFLAGS'
36841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36844
36845 cat >conftest.$ac_ext <<_ACEOF
36846 /* confdefs.h. */
36847 _ACEOF
36848 cat confdefs.h >>conftest.$ac_ext
36849 cat >>conftest.$ac_ext <<_ACEOF
36850 /* end confdefs.h. */
36851 #include <execinfo.h>
36852 int
36853 main ()
36854 {
36855
36856 void *trace[1];
36857 char **messages;
36858
36859 backtrace(trace, 1);
36860 messages = backtrace_symbols(trace, 1);
36861
36862 ;
36863 return 0;
36864 }
36865 _ACEOF
36866 rm -f conftest.$ac_objext
36867 if { (ac_try="$ac_compile"
36868 case "(($ac_try" in
36869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36870 *) ac_try_echo=$ac_try;;
36871 esac
36872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36873 (eval "$ac_compile") 2>conftest.er1
36874 ac_status=$?
36875 grep -v '^ *+' conftest.er1 >conftest.err
36876 rm -f conftest.er1
36877 cat conftest.err >&5
36878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36879 (exit $ac_status); } && {
36880 test -z "$ac_cxx_werror_flag" ||
36881 test ! -s conftest.err
36882 } && test -s conftest.$ac_objext; then
36883 wx_cv_func_backtrace=yes
36884 else
36885 echo "$as_me: failed program was:" >&5
36886 sed 's/^/| /' conftest.$ac_ext >&5
36887
36888 wx_cv_func_backtrace=no
36889
36890 fi
36891
36892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36893 ac_ext=c
36894 ac_cpp='$CPP $CPPFLAGS'
36895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36898
36899
36900
36901 fi
36902 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36903 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36904
36905
36906 if test "$wx_cv_func_backtrace" = "no"; then
36907 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36908 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36909 wxUSE_STACKWALKER=no
36910 else
36911 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36912 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36913 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36914 echo $ECHO_N "(cached) $ECHO_C" >&6
36915 else
36916
36917 ac_ext=cpp
36918 ac_cpp='$CXXCPP $CPPFLAGS'
36919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36922
36923 cat >conftest.$ac_ext <<_ACEOF
36924 /* confdefs.h. */
36925 _ACEOF
36926 cat confdefs.h >>conftest.$ac_ext
36927 cat >>conftest.$ac_ext <<_ACEOF
36928 /* end confdefs.h. */
36929 #include <cxxabi.h>
36930 int
36931 main ()
36932 {
36933
36934 int rc;
36935 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36936
36937 ;
36938 return 0;
36939 }
36940 _ACEOF
36941 rm -f conftest.$ac_objext conftest$ac_exeext
36942 if { (ac_try="$ac_link"
36943 case "(($ac_try" in
36944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36945 *) ac_try_echo=$ac_try;;
36946 esac
36947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36948 (eval "$ac_link") 2>conftest.er1
36949 ac_status=$?
36950 grep -v '^ *+' conftest.er1 >conftest.err
36951 rm -f conftest.er1
36952 cat conftest.err >&5
36953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36954 (exit $ac_status); } && {
36955 test -z "$ac_cxx_werror_flag" ||
36956 test ! -s conftest.err
36957 } && test -s conftest$ac_exeext &&
36958 $as_test_x conftest$ac_exeext; then
36959 wx_cv_func_cxa_demangle=yes
36960 else
36961 echo "$as_me: failed program was:" >&5
36962 sed 's/^/| /' conftest.$ac_ext >&5
36963
36964 wx_cv_func_cxa_demangle=no
36965
36966 fi
36967
36968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36969 conftest$ac_exeext conftest.$ac_ext
36970 ac_ext=c
36971 ac_cpp='$CPP $CPPFLAGS'
36972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36975
36976
36977
36978 fi
36979 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36980 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36981
36982 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36983 cat >>confdefs.h <<\_ACEOF
36984 #define HAVE_CXA_DEMANGLE 1
36985 _ACEOF
36986
36987 fi
36988 fi
36989 fi
36990
36991 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36992 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36993 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36994 wxUSE_STACKWALKER=no
36995 fi
36996
36997
36998
36999
37000 for ac_func in mkstemp mktemp
37001 do
37002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37003 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37005 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37006 echo $ECHO_N "(cached) $ECHO_C" >&6
37007 else
37008 cat >conftest.$ac_ext <<_ACEOF
37009 /* confdefs.h. */
37010 _ACEOF
37011 cat confdefs.h >>conftest.$ac_ext
37012 cat >>conftest.$ac_ext <<_ACEOF
37013 /* end confdefs.h. */
37014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37016 #define $ac_func innocuous_$ac_func
37017
37018 /* System header to define __stub macros and hopefully few prototypes,
37019 which can conflict with char $ac_func (); below.
37020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37021 <limits.h> exists even on freestanding compilers. */
37022
37023 #ifdef __STDC__
37024 # include <limits.h>
37025 #else
37026 # include <assert.h>
37027 #endif
37028
37029 #undef $ac_func
37030
37031 /* Override any GCC internal prototype to avoid an error.
37032 Use char because int might match the return type of a GCC
37033 builtin and then its argument prototype would still apply. */
37034 #ifdef __cplusplus
37035 extern "C"
37036 #endif
37037 char $ac_func ();
37038 /* The GNU C library defines this for functions which it implements
37039 to always fail with ENOSYS. Some functions are actually named
37040 something starting with __ and the normal name is an alias. */
37041 #if defined __stub_$ac_func || defined __stub___$ac_func
37042 choke me
37043 #endif
37044
37045 int
37046 main ()
37047 {
37048 return $ac_func ();
37049 ;
37050 return 0;
37051 }
37052 _ACEOF
37053 rm -f conftest.$ac_objext conftest$ac_exeext
37054 if { (ac_try="$ac_link"
37055 case "(($ac_try" in
37056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37057 *) ac_try_echo=$ac_try;;
37058 esac
37059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37060 (eval "$ac_link") 2>conftest.er1
37061 ac_status=$?
37062 grep -v '^ *+' conftest.er1 >conftest.err
37063 rm -f conftest.er1
37064 cat conftest.err >&5
37065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37066 (exit $ac_status); } && {
37067 test -z "$ac_c_werror_flag" ||
37068 test ! -s conftest.err
37069 } && test -s conftest$ac_exeext &&
37070 $as_test_x conftest$ac_exeext; then
37071 eval "$as_ac_var=yes"
37072 else
37073 echo "$as_me: failed program was:" >&5
37074 sed 's/^/| /' conftest.$ac_ext >&5
37075
37076 eval "$as_ac_var=no"
37077 fi
37078
37079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37080 conftest$ac_exeext conftest.$ac_ext
37081 fi
37082 ac_res=`eval echo '${'$as_ac_var'}'`
37083 { echo "$as_me:$LINENO: result: $ac_res" >&5
37084 echo "${ECHO_T}$ac_res" >&6; }
37085 if test `eval echo '${'$as_ac_var'}'` = yes; then
37086 cat >>confdefs.h <<_ACEOF
37087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37088 _ACEOF
37089 break
37090 fi
37091 done
37092
37093
37094 { echo "$as_me:$LINENO: checking for statfs" >&5
37095 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37096 if test "${wx_cv_func_statfs+set}" = set; then
37097 echo $ECHO_N "(cached) $ECHO_C" >&6
37098 else
37099 cat >conftest.$ac_ext <<_ACEOF
37100 /* confdefs.h. */
37101 _ACEOF
37102 cat confdefs.h >>conftest.$ac_ext
37103 cat >>conftest.$ac_ext <<_ACEOF
37104 /* end confdefs.h. */
37105
37106 #if defined(__BSD__)
37107 #include <sys/param.h>
37108 #include <sys/mount.h>
37109 #else
37110 #include <sys/vfs.h>
37111 #endif
37112
37113 int
37114 main ()
37115 {
37116
37117 long l;
37118 struct statfs fs;
37119 statfs("/", &fs);
37120 l = fs.f_bsize;
37121 l += fs.f_blocks;
37122 l += fs.f_bavail;
37123
37124 ;
37125 return 0;
37126 }
37127 _ACEOF
37128 rm -f conftest.$ac_objext
37129 if { (ac_try="$ac_compile"
37130 case "(($ac_try" in
37131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37132 *) ac_try_echo=$ac_try;;
37133 esac
37134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37135 (eval "$ac_compile") 2>conftest.er1
37136 ac_status=$?
37137 grep -v '^ *+' conftest.er1 >conftest.err
37138 rm -f conftest.er1
37139 cat conftest.err >&5
37140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37141 (exit $ac_status); } && {
37142 test -z "$ac_c_werror_flag" ||
37143 test ! -s conftest.err
37144 } && test -s conftest.$ac_objext; then
37145 wx_cv_func_statfs=yes
37146 else
37147 echo "$as_me: failed program was:" >&5
37148 sed 's/^/| /' conftest.$ac_ext >&5
37149
37150 wx_cv_func_statfs=no
37151
37152 fi
37153
37154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37155
37156 fi
37157 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37158 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37159
37160 if test "$wx_cv_func_statfs" = "yes"; then
37161 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37162 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37163 if test "${wx_cv_func_statfs_decl+set}" = set; then
37164 echo $ECHO_N "(cached) $ECHO_C" >&6
37165 else
37166 ac_ext=cpp
37167 ac_cpp='$CXXCPP $CPPFLAGS'
37168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37171
37172 cat >conftest.$ac_ext <<_ACEOF
37173 /* confdefs.h. */
37174 _ACEOF
37175 cat confdefs.h >>conftest.$ac_ext
37176 cat >>conftest.$ac_ext <<_ACEOF
37177 /* end confdefs.h. */
37178
37179 #if defined(__BSD__)
37180 #include <sys/param.h>
37181 #include <sys/mount.h>
37182 #else
37183 #include <sys/vfs.h>
37184 #endif
37185
37186 int
37187 main ()
37188 {
37189
37190 struct statfs fs;
37191 statfs("", &fs);
37192
37193 ;
37194 return 0;
37195 }
37196 _ACEOF
37197 rm -f conftest.$ac_objext
37198 if { (ac_try="$ac_compile"
37199 case "(($ac_try" in
37200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37201 *) ac_try_echo=$ac_try;;
37202 esac
37203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37204 (eval "$ac_compile") 2>conftest.er1
37205 ac_status=$?
37206 grep -v '^ *+' conftest.er1 >conftest.err
37207 rm -f conftest.er1
37208 cat conftest.err >&5
37209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37210 (exit $ac_status); } && {
37211 test -z "$ac_cxx_werror_flag" ||
37212 test ! -s conftest.err
37213 } && test -s conftest.$ac_objext; then
37214 wx_cv_func_statfs_decl=yes
37215 else
37216 echo "$as_me: failed program was:" >&5
37217 sed 's/^/| /' conftest.$ac_ext >&5
37218
37219 wx_cv_func_statfs_decl=no
37220
37221 fi
37222
37223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37224 ac_ext=c
37225 ac_cpp='$CPP $CPPFLAGS'
37226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37229
37230
37231 fi
37232 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37233 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37234
37235 if test "$wx_cv_func_statfs_decl" = "yes"; then
37236 cat >>confdefs.h <<\_ACEOF
37237 #define HAVE_STATFS_DECL 1
37238 _ACEOF
37239
37240 fi
37241
37242 wx_cv_type_statvfs_t="struct statfs"
37243 cat >>confdefs.h <<\_ACEOF
37244 #define HAVE_STATFS 1
37245 _ACEOF
37246
37247 else
37248 { echo "$as_me:$LINENO: checking for statvfs" >&5
37249 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37250 if test "${wx_cv_func_statvfs+set}" = set; then
37251 echo $ECHO_N "(cached) $ECHO_C" >&6
37252 else
37253 cat >conftest.$ac_ext <<_ACEOF
37254 /* confdefs.h. */
37255 _ACEOF
37256 cat confdefs.h >>conftest.$ac_ext
37257 cat >>conftest.$ac_ext <<_ACEOF
37258 /* end confdefs.h. */
37259
37260 #include <stddef.h>
37261 #include <sys/statvfs.h>
37262
37263 int
37264 main ()
37265 {
37266
37267 statvfs("/", NULL);
37268
37269 ;
37270 return 0;
37271 }
37272 _ACEOF
37273 rm -f conftest.$ac_objext
37274 if { (ac_try="$ac_compile"
37275 case "(($ac_try" in
37276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37277 *) ac_try_echo=$ac_try;;
37278 esac
37279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37280 (eval "$ac_compile") 2>conftest.er1
37281 ac_status=$?
37282 grep -v '^ *+' conftest.er1 >conftest.err
37283 rm -f conftest.er1
37284 cat conftest.err >&5
37285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37286 (exit $ac_status); } && {
37287 test -z "$ac_c_werror_flag" ||
37288 test ! -s conftest.err
37289 } && test -s conftest.$ac_objext; then
37290 wx_cv_func_statvfs=yes
37291 else
37292 echo "$as_me: failed program was:" >&5
37293 sed 's/^/| /' conftest.$ac_ext >&5
37294
37295 wx_cv_func_statvfs=no
37296
37297 fi
37298
37299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37300
37301 fi
37302 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37303 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37304
37305 if test "$wx_cv_func_statvfs" = "yes"; then
37306 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37307 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37308 if test "${wx_cv_type_statvfs_t+set}" = set; then
37309 echo $ECHO_N "(cached) $ECHO_C" >&6
37310 else
37311 ac_ext=cpp
37312 ac_cpp='$CXXCPP $CPPFLAGS'
37313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37316
37317 cat >conftest.$ac_ext <<_ACEOF
37318 /* confdefs.h. */
37319 _ACEOF
37320 cat confdefs.h >>conftest.$ac_ext
37321 cat >>conftest.$ac_ext <<_ACEOF
37322 /* end confdefs.h. */
37323
37324 #include <sys/statvfs.h>
37325
37326 int
37327 main ()
37328 {
37329
37330 long l;
37331 statvfs_t fs;
37332 statvfs("/", &fs);
37333 l = fs.f_bsize;
37334 l += fs.f_blocks;
37335 l += fs.f_bavail;
37336
37337 ;
37338 return 0;
37339 }
37340 _ACEOF
37341 rm -f conftest.$ac_objext
37342 if { (ac_try="$ac_compile"
37343 case "(($ac_try" in
37344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37345 *) ac_try_echo=$ac_try;;
37346 esac
37347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37348 (eval "$ac_compile") 2>conftest.er1
37349 ac_status=$?
37350 grep -v '^ *+' conftest.er1 >conftest.err
37351 rm -f conftest.er1
37352 cat conftest.err >&5
37353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37354 (exit $ac_status); } && {
37355 test -z "$ac_cxx_werror_flag" ||
37356 test ! -s conftest.err
37357 } && test -s conftest.$ac_objext; then
37358 wx_cv_type_statvfs_t=statvfs_t
37359 else
37360 echo "$as_me: failed program was:" >&5
37361 sed 's/^/| /' conftest.$ac_ext >&5
37362
37363
37364 cat >conftest.$ac_ext <<_ACEOF
37365 /* confdefs.h. */
37366 _ACEOF
37367 cat confdefs.h >>conftest.$ac_ext
37368 cat >>conftest.$ac_ext <<_ACEOF
37369 /* end confdefs.h. */
37370
37371 #include <sys/statvfs.h>
37372
37373 int
37374 main ()
37375 {
37376
37377 long l;
37378 struct statvfs fs;
37379 statvfs("/", &fs);
37380 l = fs.f_bsize;
37381 l += fs.f_blocks;
37382 l += fs.f_bavail;
37383
37384 ;
37385 return 0;
37386 }
37387 _ACEOF
37388 rm -f conftest.$ac_objext
37389 if { (ac_try="$ac_compile"
37390 case "(($ac_try" in
37391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37392 *) ac_try_echo=$ac_try;;
37393 esac
37394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37395 (eval "$ac_compile") 2>conftest.er1
37396 ac_status=$?
37397 grep -v '^ *+' conftest.er1 >conftest.err
37398 rm -f conftest.er1
37399 cat conftest.err >&5
37400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37401 (exit $ac_status); } && {
37402 test -z "$ac_cxx_werror_flag" ||
37403 test ! -s conftest.err
37404 } && test -s conftest.$ac_objext; then
37405 wx_cv_type_statvfs_t="struct statvfs"
37406 else
37407 echo "$as_me: failed program was:" >&5
37408 sed 's/^/| /' conftest.$ac_ext >&5
37409
37410 wx_cv_type_statvfs_t="unknown"
37411
37412 fi
37413
37414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37415
37416
37417 fi
37418
37419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37420 ac_ext=c
37421 ac_cpp='$CPP $CPPFLAGS'
37422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37425
37426
37427 fi
37428 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37429 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37430
37431 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37432 cat >>confdefs.h <<\_ACEOF
37433 #define HAVE_STATVFS 1
37434 _ACEOF
37435
37436 fi
37437 else
37438 wx_cv_type_statvfs_t="unknown"
37439 fi
37440 fi
37441
37442 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37443 cat >>confdefs.h <<_ACEOF
37444 #define WX_STATFS_T $wx_cv_type_statvfs_t
37445 _ACEOF
37446
37447 else
37448 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37449 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37450 fi
37451
37452 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37453
37454
37455 for ac_func in fcntl flock
37456 do
37457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37458 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37460 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37461 echo $ECHO_N "(cached) $ECHO_C" >&6
37462 else
37463 cat >conftest.$ac_ext <<_ACEOF
37464 /* confdefs.h. */
37465 _ACEOF
37466 cat confdefs.h >>conftest.$ac_ext
37467 cat >>conftest.$ac_ext <<_ACEOF
37468 /* end confdefs.h. */
37469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37471 #define $ac_func innocuous_$ac_func
37472
37473 /* System header to define __stub macros and hopefully few prototypes,
37474 which can conflict with char $ac_func (); below.
37475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37476 <limits.h> exists even on freestanding compilers. */
37477
37478 #ifdef __STDC__
37479 # include <limits.h>
37480 #else
37481 # include <assert.h>
37482 #endif
37483
37484 #undef $ac_func
37485
37486 /* Override any GCC internal prototype to avoid an error.
37487 Use char because int might match the return type of a GCC
37488 builtin and then its argument prototype would still apply. */
37489 #ifdef __cplusplus
37490 extern "C"
37491 #endif
37492 char $ac_func ();
37493 /* The GNU C library defines this for functions which it implements
37494 to always fail with ENOSYS. Some functions are actually named
37495 something starting with __ and the normal name is an alias. */
37496 #if defined __stub_$ac_func || defined __stub___$ac_func
37497 choke me
37498 #endif
37499
37500 int
37501 main ()
37502 {
37503 return $ac_func ();
37504 ;
37505 return 0;
37506 }
37507 _ACEOF
37508 rm -f conftest.$ac_objext conftest$ac_exeext
37509 if { (ac_try="$ac_link"
37510 case "(($ac_try" in
37511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37512 *) ac_try_echo=$ac_try;;
37513 esac
37514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37515 (eval "$ac_link") 2>conftest.er1
37516 ac_status=$?
37517 grep -v '^ *+' conftest.er1 >conftest.err
37518 rm -f conftest.er1
37519 cat conftest.err >&5
37520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37521 (exit $ac_status); } && {
37522 test -z "$ac_c_werror_flag" ||
37523 test ! -s conftest.err
37524 } && test -s conftest$ac_exeext &&
37525 $as_test_x conftest$ac_exeext; then
37526 eval "$as_ac_var=yes"
37527 else
37528 echo "$as_me: failed program was:" >&5
37529 sed 's/^/| /' conftest.$ac_ext >&5
37530
37531 eval "$as_ac_var=no"
37532 fi
37533
37534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37535 conftest$ac_exeext conftest.$ac_ext
37536 fi
37537 ac_res=`eval echo '${'$as_ac_var'}'`
37538 { echo "$as_me:$LINENO: result: $ac_res" >&5
37539 echo "${ECHO_T}$ac_res" >&6; }
37540 if test `eval echo '${'$as_ac_var'}'` = yes; then
37541 cat >>confdefs.h <<_ACEOF
37542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37543 _ACEOF
37544 break
37545 fi
37546 done
37547
37548
37549 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37550 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37551 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37552 wxUSE_SNGLINST_CHECKER=no
37553 fi
37554 fi
37555
37556
37557
37558 for ac_func in setenv putenv
37559 do
37560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37561 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37563 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37564 echo $ECHO_N "(cached) $ECHO_C" >&6
37565 else
37566 cat >conftest.$ac_ext <<_ACEOF
37567 /* confdefs.h. */
37568 _ACEOF
37569 cat confdefs.h >>conftest.$ac_ext
37570 cat >>conftest.$ac_ext <<_ACEOF
37571 /* end confdefs.h. */
37572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37574 #define $ac_func innocuous_$ac_func
37575
37576 /* System header to define __stub macros and hopefully few prototypes,
37577 which can conflict with char $ac_func (); below.
37578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37579 <limits.h> exists even on freestanding compilers. */
37580
37581 #ifdef __STDC__
37582 # include <limits.h>
37583 #else
37584 # include <assert.h>
37585 #endif
37586
37587 #undef $ac_func
37588
37589 /* Override any GCC internal prototype to avoid an error.
37590 Use char because int might match the return type of a GCC
37591 builtin and then its argument prototype would still apply. */
37592 #ifdef __cplusplus
37593 extern "C"
37594 #endif
37595 char $ac_func ();
37596 /* The GNU C library defines this for functions which it implements
37597 to always fail with ENOSYS. Some functions are actually named
37598 something starting with __ and the normal name is an alias. */
37599 #if defined __stub_$ac_func || defined __stub___$ac_func
37600 choke me
37601 #endif
37602
37603 int
37604 main ()
37605 {
37606 return $ac_func ();
37607 ;
37608 return 0;
37609 }
37610 _ACEOF
37611 rm -f conftest.$ac_objext conftest$ac_exeext
37612 if { (ac_try="$ac_link"
37613 case "(($ac_try" in
37614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37615 *) ac_try_echo=$ac_try;;
37616 esac
37617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37618 (eval "$ac_link") 2>conftest.er1
37619 ac_status=$?
37620 grep -v '^ *+' conftest.er1 >conftest.err
37621 rm -f conftest.er1
37622 cat conftest.err >&5
37623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624 (exit $ac_status); } && {
37625 test -z "$ac_c_werror_flag" ||
37626 test ! -s conftest.err
37627 } && test -s conftest$ac_exeext &&
37628 $as_test_x conftest$ac_exeext; then
37629 eval "$as_ac_var=yes"
37630 else
37631 echo "$as_me: failed program was:" >&5
37632 sed 's/^/| /' conftest.$ac_ext >&5
37633
37634 eval "$as_ac_var=no"
37635 fi
37636
37637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37638 conftest$ac_exeext conftest.$ac_ext
37639 fi
37640 ac_res=`eval echo '${'$as_ac_var'}'`
37641 { echo "$as_me:$LINENO: result: $ac_res" >&5
37642 echo "${ECHO_T}$ac_res" >&6; }
37643 if test `eval echo '${'$as_ac_var'}'` = yes; then
37644 cat >>confdefs.h <<_ACEOF
37645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37646 _ACEOF
37647 break
37648 fi
37649 done
37650
37651 if test "$ac_cv_func_setenv" = "yes"; then
37652
37653 for ac_func in unsetenv
37654 do
37655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37656 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37658 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37659 echo $ECHO_N "(cached) $ECHO_C" >&6
37660 else
37661 cat >conftest.$ac_ext <<_ACEOF
37662 /* confdefs.h. */
37663 _ACEOF
37664 cat confdefs.h >>conftest.$ac_ext
37665 cat >>conftest.$ac_ext <<_ACEOF
37666 /* end confdefs.h. */
37667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37669 #define $ac_func innocuous_$ac_func
37670
37671 /* System header to define __stub macros and hopefully few prototypes,
37672 which can conflict with char $ac_func (); below.
37673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37674 <limits.h> exists even on freestanding compilers. */
37675
37676 #ifdef __STDC__
37677 # include <limits.h>
37678 #else
37679 # include <assert.h>
37680 #endif
37681
37682 #undef $ac_func
37683
37684 /* Override any GCC internal prototype to avoid an error.
37685 Use char because int might match the return type of a GCC
37686 builtin and then its argument prototype would still apply. */
37687 #ifdef __cplusplus
37688 extern "C"
37689 #endif
37690 char $ac_func ();
37691 /* The GNU C library defines this for functions which it implements
37692 to always fail with ENOSYS. Some functions are actually named
37693 something starting with __ and the normal name is an alias. */
37694 #if defined __stub_$ac_func || defined __stub___$ac_func
37695 choke me
37696 #endif
37697
37698 int
37699 main ()
37700 {
37701 return $ac_func ();
37702 ;
37703 return 0;
37704 }
37705 _ACEOF
37706 rm -f conftest.$ac_objext conftest$ac_exeext
37707 if { (ac_try="$ac_link"
37708 case "(($ac_try" in
37709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37710 *) ac_try_echo=$ac_try;;
37711 esac
37712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37713 (eval "$ac_link") 2>conftest.er1
37714 ac_status=$?
37715 grep -v '^ *+' conftest.er1 >conftest.err
37716 rm -f conftest.er1
37717 cat conftest.err >&5
37718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37719 (exit $ac_status); } && {
37720 test -z "$ac_c_werror_flag" ||
37721 test ! -s conftest.err
37722 } && test -s conftest$ac_exeext &&
37723 $as_test_x conftest$ac_exeext; then
37724 eval "$as_ac_var=yes"
37725 else
37726 echo "$as_me: failed program was:" >&5
37727 sed 's/^/| /' conftest.$ac_ext >&5
37728
37729 eval "$as_ac_var=no"
37730 fi
37731
37732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37733 conftest$ac_exeext conftest.$ac_ext
37734 fi
37735 ac_res=`eval echo '${'$as_ac_var'}'`
37736 { echo "$as_me:$LINENO: result: $ac_res" >&5
37737 echo "${ECHO_T}$ac_res" >&6; }
37738 if test `eval echo '${'$as_ac_var'}'` = yes; then
37739 cat >>confdefs.h <<_ACEOF
37740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37741 _ACEOF
37742
37743 fi
37744 done
37745
37746 fi
37747
37748 HAVE_SOME_SLEEP_FUNC=0
37749 if test "$USE_BEOS" = 1; then
37750 cat >>confdefs.h <<\_ACEOF
37751 #define HAVE_SLEEP 1
37752 _ACEOF
37753
37754 HAVE_SOME_SLEEP_FUNC=1
37755 fi
37756
37757 if test "$USE_DARWIN" = 1; then
37758 cat >>confdefs.h <<\_ACEOF
37759 #define HAVE_USLEEP 1
37760 _ACEOF
37761
37762 HAVE_SOME_SLEEP_FUNC=1
37763 fi
37764
37765 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37766 POSIX4_LINK=
37767
37768 for ac_func in nanosleep
37769 do
37770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37771 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37773 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37774 echo $ECHO_N "(cached) $ECHO_C" >&6
37775 else
37776 cat >conftest.$ac_ext <<_ACEOF
37777 /* confdefs.h. */
37778 _ACEOF
37779 cat confdefs.h >>conftest.$ac_ext
37780 cat >>conftest.$ac_ext <<_ACEOF
37781 /* end confdefs.h. */
37782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37784 #define $ac_func innocuous_$ac_func
37785
37786 /* System header to define __stub macros and hopefully few prototypes,
37787 which can conflict with char $ac_func (); below.
37788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37789 <limits.h> exists even on freestanding compilers. */
37790
37791 #ifdef __STDC__
37792 # include <limits.h>
37793 #else
37794 # include <assert.h>
37795 #endif
37796
37797 #undef $ac_func
37798
37799 /* Override any GCC internal prototype to avoid an error.
37800 Use char because int might match the return type of a GCC
37801 builtin and then its argument prototype would still apply. */
37802 #ifdef __cplusplus
37803 extern "C"
37804 #endif
37805 char $ac_func ();
37806 /* The GNU C library defines this for functions which it implements
37807 to always fail with ENOSYS. Some functions are actually named
37808 something starting with __ and the normal name is an alias. */
37809 #if defined __stub_$ac_func || defined __stub___$ac_func
37810 choke me
37811 #endif
37812
37813 int
37814 main ()
37815 {
37816 return $ac_func ();
37817 ;
37818 return 0;
37819 }
37820 _ACEOF
37821 rm -f conftest.$ac_objext conftest$ac_exeext
37822 if { (ac_try="$ac_link"
37823 case "(($ac_try" in
37824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37825 *) ac_try_echo=$ac_try;;
37826 esac
37827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37828 (eval "$ac_link") 2>conftest.er1
37829 ac_status=$?
37830 grep -v '^ *+' conftest.er1 >conftest.err
37831 rm -f conftest.er1
37832 cat conftest.err >&5
37833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37834 (exit $ac_status); } && {
37835 test -z "$ac_c_werror_flag" ||
37836 test ! -s conftest.err
37837 } && test -s conftest$ac_exeext &&
37838 $as_test_x conftest$ac_exeext; then
37839 eval "$as_ac_var=yes"
37840 else
37841 echo "$as_me: failed program was:" >&5
37842 sed 's/^/| /' conftest.$ac_ext >&5
37843
37844 eval "$as_ac_var=no"
37845 fi
37846
37847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37848 conftest$ac_exeext conftest.$ac_ext
37849 fi
37850 ac_res=`eval echo '${'$as_ac_var'}'`
37851 { echo "$as_me:$LINENO: result: $ac_res" >&5
37852 echo "${ECHO_T}$ac_res" >&6; }
37853 if test `eval echo '${'$as_ac_var'}'` = yes; then
37854 cat >>confdefs.h <<_ACEOF
37855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37856 _ACEOF
37857 cat >>confdefs.h <<\_ACEOF
37858 #define HAVE_NANOSLEEP 1
37859 _ACEOF
37860
37861 else
37862
37863 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37864 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37865 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37866 echo $ECHO_N "(cached) $ECHO_C" >&6
37867 else
37868 ac_check_lib_save_LIBS=$LIBS
37869 LIBS="-lposix4 $LIBS"
37870 cat >conftest.$ac_ext <<_ACEOF
37871 /* confdefs.h. */
37872 _ACEOF
37873 cat confdefs.h >>conftest.$ac_ext
37874 cat >>conftest.$ac_ext <<_ACEOF
37875 /* end confdefs.h. */
37876
37877 /* Override any GCC internal prototype to avoid an error.
37878 Use char because int might match the return type of a GCC
37879 builtin and then its argument prototype would still apply. */
37880 #ifdef __cplusplus
37881 extern "C"
37882 #endif
37883 char nanosleep ();
37884 int
37885 main ()
37886 {
37887 return nanosleep ();
37888 ;
37889 return 0;
37890 }
37891 _ACEOF
37892 rm -f conftest.$ac_objext conftest$ac_exeext
37893 if { (ac_try="$ac_link"
37894 case "(($ac_try" in
37895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37896 *) ac_try_echo=$ac_try;;
37897 esac
37898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37899 (eval "$ac_link") 2>conftest.er1
37900 ac_status=$?
37901 grep -v '^ *+' conftest.er1 >conftest.err
37902 rm -f conftest.er1
37903 cat conftest.err >&5
37904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37905 (exit $ac_status); } && {
37906 test -z "$ac_c_werror_flag" ||
37907 test ! -s conftest.err
37908 } && test -s conftest$ac_exeext &&
37909 $as_test_x conftest$ac_exeext; then
37910 ac_cv_lib_posix4_nanosleep=yes
37911 else
37912 echo "$as_me: failed program was:" >&5
37913 sed 's/^/| /' conftest.$ac_ext >&5
37914
37915 ac_cv_lib_posix4_nanosleep=no
37916 fi
37917
37918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37919 conftest$ac_exeext conftest.$ac_ext
37920 LIBS=$ac_check_lib_save_LIBS
37921 fi
37922 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37923 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37924 if test $ac_cv_lib_posix4_nanosleep = yes; then
37925
37926 cat >>confdefs.h <<\_ACEOF
37927 #define HAVE_NANOSLEEP 1
37928 _ACEOF
37929
37930 POSIX4_LINK=" -lposix4"
37931
37932 else
37933
37934
37935 for wx_func in usleep
37936 do
37937 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37938 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37939 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37940 echo $ECHO_N "(cached) $ECHO_C" >&6
37941 else
37942
37943 cat >conftest.$ac_ext <<_ACEOF
37944
37945 /* confdefs.h. */
37946 _ACEOF
37947 cat confdefs.h >>conftest.$ac_ext
37948 cat >>conftest.$ac_ext <<_ACEOF
37949 /* end confdefs.h. */
37950
37951
37952 $ac_includes_default
37953
37954 int
37955 main ()
37956 {
37957
37958 #ifndef $wx_func
37959 &$wx_func;
37960 #endif
37961
37962
37963 ;
37964 return 0;
37965 }
37966
37967 _ACEOF
37968 rm -f conftest.$ac_objext conftest$ac_exeext
37969 if { (ac_try="$ac_link"
37970 case "(($ac_try" in
37971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37972 *) ac_try_echo=$ac_try;;
37973 esac
37974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37975 (eval "$ac_link") 2>conftest.er1
37976 ac_status=$?
37977 grep -v '^ *+' conftest.er1 >conftest.err
37978 rm -f conftest.er1
37979 cat conftest.err >&5
37980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37981 (exit $ac_status); } && {
37982 test -z "$ac_c_werror_flag" ||
37983 test ! -s conftest.err
37984 } && test -s conftest$ac_exeext &&
37985 $as_test_x conftest$ac_exeext; then
37986 eval wx_cv_func_$wx_func=yes
37987 else
37988 echo "$as_me: failed program was:" >&5
37989 sed 's/^/| /' conftest.$ac_ext >&5
37990
37991 eval wx_cv_func_$wx_func=no
37992 fi
37993
37994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37995 conftest$ac_exeext conftest.$ac_ext
37996
37997 fi
37998 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37999 { echo "$as_me:$LINENO: result: $ac_res" >&5
38000 echo "${ECHO_T}$ac_res" >&6; }
38001
38002 if eval test \$wx_cv_func_$wx_func = yes
38003 then
38004 cat >>confdefs.h <<_ACEOF
38005 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38006 _ACEOF
38007
38008
38009 else
38010 :
38011 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38012 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38013
38014 fi
38015 done
38016
38017
38018
38019 fi
38020
38021
38022
38023 fi
38024 done
38025
38026 fi
38027
38028
38029 for wx_func in uname
38030 do
38031 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38032 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38033 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38034 echo $ECHO_N "(cached) $ECHO_C" >&6
38035 else
38036
38037 cat >conftest.$ac_ext <<_ACEOF
38038
38039 /* confdefs.h. */
38040 _ACEOF
38041 cat confdefs.h >>conftest.$ac_ext
38042 cat >>conftest.$ac_ext <<_ACEOF
38043 /* end confdefs.h. */
38044
38045 #include <sys/utsname.h>
38046 $ac_includes_default
38047
38048 int
38049 main ()
38050 {
38051
38052 #ifndef $wx_func
38053 &$wx_func;
38054 #endif
38055
38056
38057 ;
38058 return 0;
38059 }
38060
38061 _ACEOF
38062 rm -f conftest.$ac_objext conftest$ac_exeext
38063 if { (ac_try="$ac_link"
38064 case "(($ac_try" in
38065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38066 *) ac_try_echo=$ac_try;;
38067 esac
38068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38069 (eval "$ac_link") 2>conftest.er1
38070 ac_status=$?
38071 grep -v '^ *+' conftest.er1 >conftest.err
38072 rm -f conftest.er1
38073 cat conftest.err >&5
38074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38075 (exit $ac_status); } && {
38076 test -z "$ac_c_werror_flag" ||
38077 test ! -s conftest.err
38078 } && test -s conftest$ac_exeext &&
38079 $as_test_x conftest$ac_exeext; then
38080 eval wx_cv_func_$wx_func=yes
38081 else
38082 echo "$as_me: failed program was:" >&5
38083 sed 's/^/| /' conftest.$ac_ext >&5
38084
38085 eval wx_cv_func_$wx_func=no
38086 fi
38087
38088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38089 conftest$ac_exeext conftest.$ac_ext
38090
38091 fi
38092 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38093 { echo "$as_me:$LINENO: result: $ac_res" >&5
38094 echo "${ECHO_T}$ac_res" >&6; }
38095
38096 if eval test \$wx_cv_func_$wx_func = yes
38097 then
38098 cat >>confdefs.h <<_ACEOF
38099 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38100 _ACEOF
38101
38102
38103 else
38104 :
38105
38106 fi
38107 done
38108
38109 if test "$wx_cv_func_uname" != yes; then
38110
38111 for wx_func in gethostname
38112 do
38113 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38114 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38115 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38116 echo $ECHO_N "(cached) $ECHO_C" >&6
38117 else
38118
38119 cat >conftest.$ac_ext <<_ACEOF
38120
38121 /* confdefs.h. */
38122 _ACEOF
38123 cat confdefs.h >>conftest.$ac_ext
38124 cat >>conftest.$ac_ext <<_ACEOF
38125 /* end confdefs.h. */
38126
38127
38128 $ac_includes_default
38129
38130 int
38131 main ()
38132 {
38133
38134 #ifndef $wx_func
38135 &$wx_func;
38136 #endif
38137
38138
38139 ;
38140 return 0;
38141 }
38142
38143 _ACEOF
38144 rm -f conftest.$ac_objext conftest$ac_exeext
38145 if { (ac_try="$ac_link"
38146 case "(($ac_try" in
38147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38148 *) ac_try_echo=$ac_try;;
38149 esac
38150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38151 (eval "$ac_link") 2>conftest.er1
38152 ac_status=$?
38153 grep -v '^ *+' conftest.er1 >conftest.err
38154 rm -f conftest.er1
38155 cat conftest.err >&5
38156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38157 (exit $ac_status); } && {
38158 test -z "$ac_c_werror_flag" ||
38159 test ! -s conftest.err
38160 } && test -s conftest$ac_exeext &&
38161 $as_test_x conftest$ac_exeext; then
38162 eval wx_cv_func_$wx_func=yes
38163 else
38164 echo "$as_me: failed program was:" >&5
38165 sed 's/^/| /' conftest.$ac_ext >&5
38166
38167 eval wx_cv_func_$wx_func=no
38168 fi
38169
38170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38171 conftest$ac_exeext conftest.$ac_ext
38172
38173 fi
38174 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38175 { echo "$as_me:$LINENO: result: $ac_res" >&5
38176 echo "${ECHO_T}$ac_res" >&6; }
38177
38178 if eval test \$wx_cv_func_$wx_func = yes
38179 then
38180 cat >>confdefs.h <<_ACEOF
38181 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38182 _ACEOF
38183
38184
38185 else
38186 :
38187
38188 fi
38189 done
38190
38191 fi
38192
38193
38194 for wx_func in strtok_r
38195 do
38196 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38197 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38198 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38199 echo $ECHO_N "(cached) $ECHO_C" >&6
38200 else
38201
38202 cat >conftest.$ac_ext <<_ACEOF
38203
38204 /* confdefs.h. */
38205 _ACEOF
38206 cat confdefs.h >>conftest.$ac_ext
38207 cat >>conftest.$ac_ext <<_ACEOF
38208 /* end confdefs.h. */
38209
38210 #define _REENTRANT
38211 $ac_includes_default
38212
38213 int
38214 main ()
38215 {
38216
38217 #ifndef $wx_func
38218 &$wx_func;
38219 #endif
38220
38221
38222 ;
38223 return 0;
38224 }
38225
38226 _ACEOF
38227 rm -f conftest.$ac_objext conftest$ac_exeext
38228 if { (ac_try="$ac_link"
38229 case "(($ac_try" in
38230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38231 *) ac_try_echo=$ac_try;;
38232 esac
38233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38234 (eval "$ac_link") 2>conftest.er1
38235 ac_status=$?
38236 grep -v '^ *+' conftest.er1 >conftest.err
38237 rm -f conftest.er1
38238 cat conftest.err >&5
38239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38240 (exit $ac_status); } && {
38241 test -z "$ac_c_werror_flag" ||
38242 test ! -s conftest.err
38243 } && test -s conftest$ac_exeext &&
38244 $as_test_x conftest$ac_exeext; then
38245 eval wx_cv_func_$wx_func=yes
38246 else
38247 echo "$as_me: failed program was:" >&5
38248 sed 's/^/| /' conftest.$ac_ext >&5
38249
38250 eval wx_cv_func_$wx_func=no
38251 fi
38252
38253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38254 conftest$ac_exeext conftest.$ac_ext
38255
38256 fi
38257 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38258 { echo "$as_me:$LINENO: result: $ac_res" >&5
38259 echo "${ECHO_T}$ac_res" >&6; }
38260
38261 if eval test \$wx_cv_func_$wx_func = yes
38262 then
38263 cat >>confdefs.h <<_ACEOF
38264 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38265 _ACEOF
38266
38267
38268 else
38269 :
38270
38271 fi
38272 done
38273
38274
38275 INET_LINK=
38276
38277 for ac_func in inet_addr
38278 do
38279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38280 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38282 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38283 echo $ECHO_N "(cached) $ECHO_C" >&6
38284 else
38285 cat >conftest.$ac_ext <<_ACEOF
38286 /* confdefs.h. */
38287 _ACEOF
38288 cat confdefs.h >>conftest.$ac_ext
38289 cat >>conftest.$ac_ext <<_ACEOF
38290 /* end confdefs.h. */
38291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38293 #define $ac_func innocuous_$ac_func
38294
38295 /* System header to define __stub macros and hopefully few prototypes,
38296 which can conflict with char $ac_func (); below.
38297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38298 <limits.h> exists even on freestanding compilers. */
38299
38300 #ifdef __STDC__
38301 # include <limits.h>
38302 #else
38303 # include <assert.h>
38304 #endif
38305
38306 #undef $ac_func
38307
38308 /* Override any GCC internal prototype to avoid an error.
38309 Use char because int might match the return type of a GCC
38310 builtin and then its argument prototype would still apply. */
38311 #ifdef __cplusplus
38312 extern "C"
38313 #endif
38314 char $ac_func ();
38315 /* The GNU C library defines this for functions which it implements
38316 to always fail with ENOSYS. Some functions are actually named
38317 something starting with __ and the normal name is an alias. */
38318 #if defined __stub_$ac_func || defined __stub___$ac_func
38319 choke me
38320 #endif
38321
38322 int
38323 main ()
38324 {
38325 return $ac_func ();
38326 ;
38327 return 0;
38328 }
38329 _ACEOF
38330 rm -f conftest.$ac_objext conftest$ac_exeext
38331 if { (ac_try="$ac_link"
38332 case "(($ac_try" in
38333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38334 *) ac_try_echo=$ac_try;;
38335 esac
38336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38337 (eval "$ac_link") 2>conftest.er1
38338 ac_status=$?
38339 grep -v '^ *+' conftest.er1 >conftest.err
38340 rm -f conftest.er1
38341 cat conftest.err >&5
38342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343 (exit $ac_status); } && {
38344 test -z "$ac_c_werror_flag" ||
38345 test ! -s conftest.err
38346 } && test -s conftest$ac_exeext &&
38347 $as_test_x conftest$ac_exeext; then
38348 eval "$as_ac_var=yes"
38349 else
38350 echo "$as_me: failed program was:" >&5
38351 sed 's/^/| /' conftest.$ac_ext >&5
38352
38353 eval "$as_ac_var=no"
38354 fi
38355
38356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38357 conftest$ac_exeext conftest.$ac_ext
38358 fi
38359 ac_res=`eval echo '${'$as_ac_var'}'`
38360 { echo "$as_me:$LINENO: result: $ac_res" >&5
38361 echo "${ECHO_T}$ac_res" >&6; }
38362 if test `eval echo '${'$as_ac_var'}'` = yes; then
38363 cat >>confdefs.h <<_ACEOF
38364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38365 _ACEOF
38366 cat >>confdefs.h <<\_ACEOF
38367 #define HAVE_INET_ADDR 1
38368 _ACEOF
38369
38370 else
38371
38372 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38373 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38374 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38375 echo $ECHO_N "(cached) $ECHO_C" >&6
38376 else
38377 ac_check_lib_save_LIBS=$LIBS
38378 LIBS="-lnsl $LIBS"
38379 cat >conftest.$ac_ext <<_ACEOF
38380 /* confdefs.h. */
38381 _ACEOF
38382 cat confdefs.h >>conftest.$ac_ext
38383 cat >>conftest.$ac_ext <<_ACEOF
38384 /* end confdefs.h. */
38385
38386 /* Override any GCC internal prototype to avoid an error.
38387 Use char because int might match the return type of a GCC
38388 builtin and then its argument prototype would still apply. */
38389 #ifdef __cplusplus
38390 extern "C"
38391 #endif
38392 char inet_addr ();
38393 int
38394 main ()
38395 {
38396 return inet_addr ();
38397 ;
38398 return 0;
38399 }
38400 _ACEOF
38401 rm -f conftest.$ac_objext conftest$ac_exeext
38402 if { (ac_try="$ac_link"
38403 case "(($ac_try" in
38404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38405 *) ac_try_echo=$ac_try;;
38406 esac
38407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38408 (eval "$ac_link") 2>conftest.er1
38409 ac_status=$?
38410 grep -v '^ *+' conftest.er1 >conftest.err
38411 rm -f conftest.er1
38412 cat conftest.err >&5
38413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38414 (exit $ac_status); } && {
38415 test -z "$ac_c_werror_flag" ||
38416 test ! -s conftest.err
38417 } && test -s conftest$ac_exeext &&
38418 $as_test_x conftest$ac_exeext; then
38419 ac_cv_lib_nsl_inet_addr=yes
38420 else
38421 echo "$as_me: failed program was:" >&5
38422 sed 's/^/| /' conftest.$ac_ext >&5
38423
38424 ac_cv_lib_nsl_inet_addr=no
38425 fi
38426
38427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38428 conftest$ac_exeext conftest.$ac_ext
38429 LIBS=$ac_check_lib_save_LIBS
38430 fi
38431 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38432 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38433 if test $ac_cv_lib_nsl_inet_addr = yes; then
38434 INET_LINK="nsl"
38435 else
38436
38437 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38438 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38439 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38440 echo $ECHO_N "(cached) $ECHO_C" >&6
38441 else
38442 ac_check_lib_save_LIBS=$LIBS
38443 LIBS="-lresolv $LIBS"
38444 cat >conftest.$ac_ext <<_ACEOF
38445 /* confdefs.h. */
38446 _ACEOF
38447 cat confdefs.h >>conftest.$ac_ext
38448 cat >>conftest.$ac_ext <<_ACEOF
38449 /* end confdefs.h. */
38450
38451 /* Override any GCC internal prototype to avoid an error.
38452 Use char because int might match the return type of a GCC
38453 builtin and then its argument prototype would still apply. */
38454 #ifdef __cplusplus
38455 extern "C"
38456 #endif
38457 char inet_addr ();
38458 int
38459 main ()
38460 {
38461 return inet_addr ();
38462 ;
38463 return 0;
38464 }
38465 _ACEOF
38466 rm -f conftest.$ac_objext conftest$ac_exeext
38467 if { (ac_try="$ac_link"
38468 case "(($ac_try" in
38469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38470 *) ac_try_echo=$ac_try;;
38471 esac
38472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38473 (eval "$ac_link") 2>conftest.er1
38474 ac_status=$?
38475 grep -v '^ *+' conftest.er1 >conftest.err
38476 rm -f conftest.er1
38477 cat conftest.err >&5
38478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38479 (exit $ac_status); } && {
38480 test -z "$ac_c_werror_flag" ||
38481 test ! -s conftest.err
38482 } && test -s conftest$ac_exeext &&
38483 $as_test_x conftest$ac_exeext; then
38484 ac_cv_lib_resolv_inet_addr=yes
38485 else
38486 echo "$as_me: failed program was:" >&5
38487 sed 's/^/| /' conftest.$ac_ext >&5
38488
38489 ac_cv_lib_resolv_inet_addr=no
38490 fi
38491
38492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38493 conftest$ac_exeext conftest.$ac_ext
38494 LIBS=$ac_check_lib_save_LIBS
38495 fi
38496 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38497 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38498 if test $ac_cv_lib_resolv_inet_addr = yes; then
38499 INET_LINK="resolv"
38500 else
38501
38502 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38503 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38504 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38505 echo $ECHO_N "(cached) $ECHO_C" >&6
38506 else
38507 ac_check_lib_save_LIBS=$LIBS
38508 LIBS="-lsocket $LIBS"
38509 cat >conftest.$ac_ext <<_ACEOF
38510 /* confdefs.h. */
38511 _ACEOF
38512 cat confdefs.h >>conftest.$ac_ext
38513 cat >>conftest.$ac_ext <<_ACEOF
38514 /* end confdefs.h. */
38515
38516 /* Override any GCC internal prototype to avoid an error.
38517 Use char because int might match the return type of a GCC
38518 builtin and then its argument prototype would still apply. */
38519 #ifdef __cplusplus
38520 extern "C"
38521 #endif
38522 char inet_addr ();
38523 int
38524 main ()
38525 {
38526 return inet_addr ();
38527 ;
38528 return 0;
38529 }
38530 _ACEOF
38531 rm -f conftest.$ac_objext conftest$ac_exeext
38532 if { (ac_try="$ac_link"
38533 case "(($ac_try" in
38534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38535 *) ac_try_echo=$ac_try;;
38536 esac
38537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38538 (eval "$ac_link") 2>conftest.er1
38539 ac_status=$?
38540 grep -v '^ *+' conftest.er1 >conftest.err
38541 rm -f conftest.er1
38542 cat conftest.err >&5
38543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38544 (exit $ac_status); } && {
38545 test -z "$ac_c_werror_flag" ||
38546 test ! -s conftest.err
38547 } && test -s conftest$ac_exeext &&
38548 $as_test_x conftest$ac_exeext; then
38549 ac_cv_lib_socket_inet_addr=yes
38550 else
38551 echo "$as_me: failed program was:" >&5
38552 sed 's/^/| /' conftest.$ac_ext >&5
38553
38554 ac_cv_lib_socket_inet_addr=no
38555 fi
38556
38557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38558 conftest$ac_exeext conftest.$ac_ext
38559 LIBS=$ac_check_lib_save_LIBS
38560 fi
38561 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38562 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38563 if test $ac_cv_lib_socket_inet_addr = yes; then
38564 INET_LINK="socket"
38565
38566 fi
38567
38568
38569
38570 fi
38571
38572
38573
38574 fi
38575
38576
38577
38578 fi
38579 done
38580
38581
38582
38583 for ac_func in inet_aton
38584 do
38585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38586 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38588 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38589 echo $ECHO_N "(cached) $ECHO_C" >&6
38590 else
38591 cat >conftest.$ac_ext <<_ACEOF
38592 /* confdefs.h. */
38593 _ACEOF
38594 cat confdefs.h >>conftest.$ac_ext
38595 cat >>conftest.$ac_ext <<_ACEOF
38596 /* end confdefs.h. */
38597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38599 #define $ac_func innocuous_$ac_func
38600
38601 /* System header to define __stub macros and hopefully few prototypes,
38602 which can conflict with char $ac_func (); below.
38603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38604 <limits.h> exists even on freestanding compilers. */
38605
38606 #ifdef __STDC__
38607 # include <limits.h>
38608 #else
38609 # include <assert.h>
38610 #endif
38611
38612 #undef $ac_func
38613
38614 /* Override any GCC internal prototype to avoid an error.
38615 Use char because int might match the return type of a GCC
38616 builtin and then its argument prototype would still apply. */
38617 #ifdef __cplusplus
38618 extern "C"
38619 #endif
38620 char $ac_func ();
38621 /* The GNU C library defines this for functions which it implements
38622 to always fail with ENOSYS. Some functions are actually named
38623 something starting with __ and the normal name is an alias. */
38624 #if defined __stub_$ac_func || defined __stub___$ac_func
38625 choke me
38626 #endif
38627
38628 int
38629 main ()
38630 {
38631 return $ac_func ();
38632 ;
38633 return 0;
38634 }
38635 _ACEOF
38636 rm -f conftest.$ac_objext conftest$ac_exeext
38637 if { (ac_try="$ac_link"
38638 case "(($ac_try" in
38639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38640 *) ac_try_echo=$ac_try;;
38641 esac
38642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38643 (eval "$ac_link") 2>conftest.er1
38644 ac_status=$?
38645 grep -v '^ *+' conftest.er1 >conftest.err
38646 rm -f conftest.er1
38647 cat conftest.err >&5
38648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38649 (exit $ac_status); } && {
38650 test -z "$ac_c_werror_flag" ||
38651 test ! -s conftest.err
38652 } && test -s conftest$ac_exeext &&
38653 $as_test_x conftest$ac_exeext; then
38654 eval "$as_ac_var=yes"
38655 else
38656 echo "$as_me: failed program was:" >&5
38657 sed 's/^/| /' conftest.$ac_ext >&5
38658
38659 eval "$as_ac_var=no"
38660 fi
38661
38662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38663 conftest$ac_exeext conftest.$ac_ext
38664 fi
38665 ac_res=`eval echo '${'$as_ac_var'}'`
38666 { echo "$as_me:$LINENO: result: $ac_res" >&5
38667 echo "${ECHO_T}$ac_res" >&6; }
38668 if test `eval echo '${'$as_ac_var'}'` = yes; then
38669 cat >>confdefs.h <<_ACEOF
38670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38671 _ACEOF
38672 cat >>confdefs.h <<\_ACEOF
38673 #define HAVE_INET_ATON 1
38674 _ACEOF
38675
38676 else
38677
38678 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38679 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38680 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38681 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38682 echo $ECHO_N "(cached) $ECHO_C" >&6
38683 else
38684 ac_check_lib_save_LIBS=$LIBS
38685 LIBS="-l$INET_LINK $LIBS"
38686 cat >conftest.$ac_ext <<_ACEOF
38687 /* confdefs.h. */
38688 _ACEOF
38689 cat confdefs.h >>conftest.$ac_ext
38690 cat >>conftest.$ac_ext <<_ACEOF
38691 /* end confdefs.h. */
38692
38693 /* Override any GCC internal prototype to avoid an error.
38694 Use char because int might match the return type of a GCC
38695 builtin and then its argument prototype would still apply. */
38696 #ifdef __cplusplus
38697 extern "C"
38698 #endif
38699 char inet_aton ();
38700 int
38701 main ()
38702 {
38703 return inet_aton ();
38704 ;
38705 return 0;
38706 }
38707 _ACEOF
38708 rm -f conftest.$ac_objext conftest$ac_exeext
38709 if { (ac_try="$ac_link"
38710 case "(($ac_try" in
38711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38712 *) ac_try_echo=$ac_try;;
38713 esac
38714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38715 (eval "$ac_link") 2>conftest.er1
38716 ac_status=$?
38717 grep -v '^ *+' conftest.er1 >conftest.err
38718 rm -f conftest.er1
38719 cat conftest.err >&5
38720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38721 (exit $ac_status); } && {
38722 test -z "$ac_c_werror_flag" ||
38723 test ! -s conftest.err
38724 } && test -s conftest$ac_exeext &&
38725 $as_test_x conftest$ac_exeext; then
38726 eval "$as_ac_Lib=yes"
38727 else
38728 echo "$as_me: failed program was:" >&5
38729 sed 's/^/| /' conftest.$ac_ext >&5
38730
38731 eval "$as_ac_Lib=no"
38732 fi
38733
38734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38735 conftest$ac_exeext conftest.$ac_ext
38736 LIBS=$ac_check_lib_save_LIBS
38737 fi
38738 ac_res=`eval echo '${'$as_ac_Lib'}'`
38739 { echo "$as_me:$LINENO: result: $ac_res" >&5
38740 echo "${ECHO_T}$ac_res" >&6; }
38741 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38742 cat >>confdefs.h <<\_ACEOF
38743 #define HAVE_INET_ATON 1
38744 _ACEOF
38745
38746 fi
38747
38748
38749 fi
38750 done
38751
38752
38753 if test "x$INET_LINK" != "x"; then
38754 cat >>confdefs.h <<\_ACEOF
38755 #define HAVE_INET_ADDR 1
38756 _ACEOF
38757
38758 INET_LINK=" -l$INET_LINK"
38759 fi
38760
38761
38762 for wx_func in fdopen
38763 do
38764 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38765 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38766 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38767 echo $ECHO_N "(cached) $ECHO_C" >&6
38768 else
38769
38770 cat >conftest.$ac_ext <<_ACEOF
38771
38772 /* confdefs.h. */
38773 _ACEOF
38774 cat confdefs.h >>conftest.$ac_ext
38775 cat >>conftest.$ac_ext <<_ACEOF
38776 /* end confdefs.h. */
38777
38778
38779 $ac_includes_default
38780
38781 int
38782 main ()
38783 {
38784
38785 #ifndef $wx_func
38786 &$wx_func;
38787 #endif
38788
38789
38790 ;
38791 return 0;
38792 }
38793
38794 _ACEOF
38795 rm -f conftest.$ac_objext conftest$ac_exeext
38796 if { (ac_try="$ac_link"
38797 case "(($ac_try" in
38798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38799 *) ac_try_echo=$ac_try;;
38800 esac
38801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38802 (eval "$ac_link") 2>conftest.er1
38803 ac_status=$?
38804 grep -v '^ *+' conftest.er1 >conftest.err
38805 rm -f conftest.er1
38806 cat conftest.err >&5
38807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38808 (exit $ac_status); } && {
38809 test -z "$ac_c_werror_flag" ||
38810 test ! -s conftest.err
38811 } && test -s conftest$ac_exeext &&
38812 $as_test_x conftest$ac_exeext; then
38813 eval wx_cv_func_$wx_func=yes
38814 else
38815 echo "$as_me: failed program was:" >&5
38816 sed 's/^/| /' conftest.$ac_ext >&5
38817
38818 eval wx_cv_func_$wx_func=no
38819 fi
38820
38821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38822 conftest$ac_exeext conftest.$ac_ext
38823
38824 fi
38825 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38826 { echo "$as_me:$LINENO: result: $ac_res" >&5
38827 echo "${ECHO_T}$ac_res" >&6; }
38828
38829 if eval test \$wx_cv_func_$wx_func = yes
38830 then
38831 cat >>confdefs.h <<_ACEOF
38832 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38833 _ACEOF
38834
38835
38836 else
38837 :
38838
38839 fi
38840 done
38841
38842
38843 if test "$wxUSE_TARSTREAM" = "yes"; then
38844
38845 for wx_func in sysconf
38846 do
38847 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38848 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38849 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38850 echo $ECHO_N "(cached) $ECHO_C" >&6
38851 else
38852
38853 cat >conftest.$ac_ext <<_ACEOF
38854
38855 /* confdefs.h. */
38856 _ACEOF
38857 cat confdefs.h >>conftest.$ac_ext
38858 cat >>conftest.$ac_ext <<_ACEOF
38859 /* end confdefs.h. */
38860
38861
38862 $ac_includes_default
38863
38864 int
38865 main ()
38866 {
38867
38868 #ifndef $wx_func
38869 &$wx_func;
38870 #endif
38871
38872
38873 ;
38874 return 0;
38875 }
38876
38877 _ACEOF
38878 rm -f conftest.$ac_objext conftest$ac_exeext
38879 if { (ac_try="$ac_link"
38880 case "(($ac_try" in
38881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38882 *) ac_try_echo=$ac_try;;
38883 esac
38884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38885 (eval "$ac_link") 2>conftest.er1
38886 ac_status=$?
38887 grep -v '^ *+' conftest.er1 >conftest.err
38888 rm -f conftest.er1
38889 cat conftest.err >&5
38890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38891 (exit $ac_status); } && {
38892 test -z "$ac_c_werror_flag" ||
38893 test ! -s conftest.err
38894 } && test -s conftest$ac_exeext &&
38895 $as_test_x conftest$ac_exeext; then
38896 eval wx_cv_func_$wx_func=yes
38897 else
38898 echo "$as_me: failed program was:" >&5
38899 sed 's/^/| /' conftest.$ac_ext >&5
38900
38901 eval wx_cv_func_$wx_func=no
38902 fi
38903
38904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38905 conftest$ac_exeext conftest.$ac_ext
38906
38907 fi
38908 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38909 { echo "$as_me:$LINENO: result: $ac_res" >&5
38910 echo "${ECHO_T}$ac_res" >&6; }
38911
38912 if eval test \$wx_cv_func_$wx_func = yes
38913 then
38914 cat >>confdefs.h <<_ACEOF
38915 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38916 _ACEOF
38917
38918
38919 else
38920 :
38921
38922 fi
38923 done
38924
38925
38926
38927 for wx_func in getpwuid_r
38928 do
38929 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38930 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38931 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38932 echo $ECHO_N "(cached) $ECHO_C" >&6
38933 else
38934
38935 cat >conftest.$ac_ext <<_ACEOF
38936
38937 /* confdefs.h. */
38938 _ACEOF
38939 cat confdefs.h >>conftest.$ac_ext
38940 cat >>conftest.$ac_ext <<_ACEOF
38941 /* end confdefs.h. */
38942
38943
38944 #define _REENTRANT
38945 #include <pwd.h>
38946
38947 $ac_includes_default
38948
38949 int
38950 main ()
38951 {
38952
38953 #ifndef $wx_func
38954 &$wx_func;
38955 #endif
38956
38957 struct passwd pw, *ppw;
38958 char buf[1024];
38959 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38960
38961
38962 ;
38963 return 0;
38964 }
38965
38966 _ACEOF
38967 rm -f conftest.$ac_objext conftest$ac_exeext
38968 if { (ac_try="$ac_link"
38969 case "(($ac_try" in
38970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38971 *) ac_try_echo=$ac_try;;
38972 esac
38973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38974 (eval "$ac_link") 2>conftest.er1
38975 ac_status=$?
38976 grep -v '^ *+' conftest.er1 >conftest.err
38977 rm -f conftest.er1
38978 cat conftest.err >&5
38979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38980 (exit $ac_status); } && {
38981 test -z "$ac_c_werror_flag" ||
38982 test ! -s conftest.err
38983 } && test -s conftest$ac_exeext &&
38984 $as_test_x conftest$ac_exeext; then
38985 eval wx_cv_func_$wx_func=yes
38986 else
38987 echo "$as_me: failed program was:" >&5
38988 sed 's/^/| /' conftest.$ac_ext >&5
38989
38990 eval wx_cv_func_$wx_func=no
38991 fi
38992
38993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38994 conftest$ac_exeext conftest.$ac_ext
38995
38996 fi
38997 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38998 { echo "$as_me:$LINENO: result: $ac_res" >&5
38999 echo "${ECHO_T}$ac_res" >&6; }
39000
39001 if eval test \$wx_cv_func_$wx_func = yes
39002 then
39003 cat >>confdefs.h <<_ACEOF
39004 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39005 _ACEOF
39006
39007
39008 else
39009 :
39010
39011 fi
39012 done
39013
39014
39015
39016 for wx_func in getgrgid_r
39017 do
39018 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39019 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39020 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39021 echo $ECHO_N "(cached) $ECHO_C" >&6
39022 else
39023
39024 cat >conftest.$ac_ext <<_ACEOF
39025
39026 /* confdefs.h. */
39027 _ACEOF
39028 cat confdefs.h >>conftest.$ac_ext
39029 cat >>conftest.$ac_ext <<_ACEOF
39030 /* end confdefs.h. */
39031
39032
39033 #define _REENTRANT
39034 #include <grp.h>
39035
39036 $ac_includes_default
39037
39038 int
39039 main ()
39040 {
39041
39042 #ifndef $wx_func
39043 &$wx_func;
39044 #endif
39045
39046 struct group grp, *pgrp;
39047 char buf[1024];
39048 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39049
39050
39051 ;
39052 return 0;
39053 }
39054
39055 _ACEOF
39056 rm -f conftest.$ac_objext conftest$ac_exeext
39057 if { (ac_try="$ac_link"
39058 case "(($ac_try" in
39059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39060 *) ac_try_echo=$ac_try;;
39061 esac
39062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39063 (eval "$ac_link") 2>conftest.er1
39064 ac_status=$?
39065 grep -v '^ *+' conftest.er1 >conftest.err
39066 rm -f conftest.er1
39067 cat conftest.err >&5
39068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39069 (exit $ac_status); } && {
39070 test -z "$ac_c_werror_flag" ||
39071 test ! -s conftest.err
39072 } && test -s conftest$ac_exeext &&
39073 $as_test_x conftest$ac_exeext; then
39074 eval wx_cv_func_$wx_func=yes
39075 else
39076 echo "$as_me: failed program was:" >&5
39077 sed 's/^/| /' conftest.$ac_ext >&5
39078
39079 eval wx_cv_func_$wx_func=no
39080 fi
39081
39082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39083 conftest$ac_exeext conftest.$ac_ext
39084
39085 fi
39086 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39087 { echo "$as_me:$LINENO: result: $ac_res" >&5
39088 echo "${ECHO_T}$ac_res" >&6; }
39089
39090 if eval test \$wx_cv_func_$wx_func = yes
39091 then
39092 cat >>confdefs.h <<_ACEOF
39093 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39094 _ACEOF
39095
39096
39097 else
39098 :
39099
39100 fi
39101 done
39102
39103 fi
39104
39105 fi
39106
39107
39108
39109 cat >confcache <<\_ACEOF
39110 # This file is a shell script that caches the results of configure
39111 # tests run on this system so they can be shared between configure
39112 # scripts and configure runs, see configure's option --config-cache.
39113 # It is not useful on other systems. If it contains results you don't
39114 # want to keep, you may remove or edit it.
39115 #
39116 # config.status only pays attention to the cache file if you give it
39117 # the --recheck option to rerun configure.
39118 #
39119 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39120 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39121 # following values.
39122
39123 _ACEOF
39124
39125 # The following way of writing the cache mishandles newlines in values,
39126 # but we know of no workaround that is simple, portable, and efficient.
39127 # So, we kill variables containing newlines.
39128 # Ultrix sh set writes to stderr and can't be redirected directly,
39129 # and sets the high bit in the cache file unless we assign to the vars.
39130 (
39131 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39132 eval ac_val=\$$ac_var
39133 case $ac_val in #(
39134 *${as_nl}*)
39135 case $ac_var in #(
39136 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39137 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39138 esac
39139 case $ac_var in #(
39140 _ | IFS | as_nl) ;; #(
39141 *) $as_unset $ac_var ;;
39142 esac ;;
39143 esac
39144 done
39145
39146 (set) 2>&1 |
39147 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39148 *${as_nl}ac_space=\ *)
39149 # `set' does not quote correctly, so add quotes (double-quote
39150 # substitution turns \\\\ into \\, and sed turns \\ into \).
39151 sed -n \
39152 "s/'/'\\\\''/g;
39153 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39154 ;; #(
39155 *)
39156 # `set' quotes correctly as required by POSIX, so do not add quotes.
39157 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39158 ;;
39159 esac |
39160 sort
39161 ) |
39162 sed '
39163 /^ac_cv_env_/b end
39164 t clear
39165 :clear
39166 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39167 t end
39168 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39169 :end' >>confcache
39170 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
39171 if test -w "$cache_file"; then
39172 test "x$cache_file" != "x/dev/null" &&
39173 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39174 echo "$as_me: updating cache $cache_file" >&6;}
39175 cat confcache >$cache_file
39176 else
39177 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39178 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39179 fi
39180 fi
39181 rm -f confcache
39182
39183
39184 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39185
39186
39187 THREADS_LINK=
39188 THREADS_CFLAGS=
39189
39190 if test "$wxUSE_THREADS" = "yes" ; then
39191 if test "$USE_BEOS" = 1; then
39192 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39193 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39194 wxUSE_THREADS="no"
39195 fi
39196 fi
39197
39198 if test "$wxUSE_THREADS" = "yes" ; then
39199
39200
39201 THREAD_OPTS="-pthread"
39202 if test "x$SUNCXX" = xyes; then
39203 THREAD_OPTS="-mt lthread $THREAD_OPTS"
39204 fi
39205
39206 case "${host}" in
39207 *-*-solaris2* | *-*-sunos4* )
39208 if test "x$GCC" = "xyes"; then
39209 THREAD_OPTS="-pthreads $THREAD_OPTS"
39210 fi
39211 ;;
39212 *-*-freebsd*)
39213 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39214 ;;
39215 *-*-darwin* | *-*-cygwin* )
39216 THREAD_OPTS=""
39217 ;;
39218 *-*-aix*)
39219 THREAD_OPTS="pthreads"
39220 ;;
39221 *-hp-hpux* )
39222 if test "x$GCC" = "xyes"; then
39223 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39224 THREAD_OPTS=""
39225 else
39226 THREAD_OPTS="-mt"
39227 fi
39228 ;;
39229
39230 *-*-irix* )
39231 if test "x$GCC" = "xyes"; then
39232 THREAD_OPTS=""
39233 fi
39234 ;;
39235
39236 *-*-*UnixWare*)
39237 if test "x$GCC" != "xyes"; then
39238 THREAD_OPTS="-Ethread"
39239 fi
39240 ;;
39241 esac
39242
39243 THREAD_OPTS="$THREAD_OPTS pthread none"
39244
39245 THREADS_OK=no
39246 for flag in $THREAD_OPTS; do
39247 case $flag in
39248 none)
39249 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39250 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39251 ;;
39252
39253 -*)
39254 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39255 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39256 THREADS_CFLAGS="$flag"
39257 ;;
39258
39259 *)
39260 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39261 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39262 THREADS_LINK="-l$flag"
39263 ;;
39264 esac
39265
39266 save_LIBS="$LIBS"
39267 save_CFLAGS="$CFLAGS"
39268 LIBS="$THREADS_LINK $LIBS"
39269 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39270
39271 cat >conftest.$ac_ext <<_ACEOF
39272 /* confdefs.h. */
39273 _ACEOF
39274 cat confdefs.h >>conftest.$ac_ext
39275 cat >>conftest.$ac_ext <<_ACEOF
39276 /* end confdefs.h. */
39277 #include <pthread.h>
39278 int
39279 main ()
39280 {
39281 pthread_create(0,0,0,0);
39282 ;
39283 return 0;
39284 }
39285 _ACEOF
39286 rm -f conftest.$ac_objext conftest$ac_exeext
39287 if { (ac_try="$ac_link"
39288 case "(($ac_try" in
39289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39290 *) ac_try_echo=$ac_try;;
39291 esac
39292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39293 (eval "$ac_link") 2>conftest.er1
39294 ac_status=$?
39295 grep -v '^ *+' conftest.er1 >conftest.err
39296 rm -f conftest.er1
39297 cat conftest.err >&5
39298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39299 (exit $ac_status); } && {
39300 test -z "$ac_c_werror_flag" ||
39301 test ! -s conftest.err
39302 } && test -s conftest$ac_exeext &&
39303 $as_test_x conftest$ac_exeext; then
39304 THREADS_OK=yes
39305 else
39306 echo "$as_me: failed program was:" >&5
39307 sed 's/^/| /' conftest.$ac_ext >&5
39308
39309
39310 fi
39311
39312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39313 conftest$ac_exeext conftest.$ac_ext
39314
39315 LIBS="$save_LIBS"
39316 CFLAGS="$save_CFLAGS"
39317
39318 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39319 echo "${ECHO_T}$THREADS_OK" >&6; }
39320 if test "x$THREADS_OK" = "xyes"; then
39321 break;
39322 fi
39323
39324 THREADS_LINK=""
39325 THREADS_CFLAGS=""
39326 done
39327
39328 if test "x$THREADS_OK" != "xyes"; then
39329 wxUSE_THREADS=no
39330 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39331 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39332 else
39333 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39334 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
39335 LIBS="$THREADS_LINK $LIBS"
39336
39337 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39338 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39339 flag=no
39340 case "${host}" in
39341 *-aix*)
39342 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39343 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
39344 flag="-D_THREAD_SAFE"
39345 ;;
39346 *-freebsd*)
39347 flag="-D_THREAD_SAFE"
39348 ;;
39349 *-hp-hpux* )
39350 flag="-D_REENTRANT"
39351 if test "x$GCC" != "xyes"; then
39352 flag="$flag -D_RWSTD_MULTI_THREAD"
39353 fi
39354 ;;
39355 *solaris* | alpha*-osf*)
39356 flag="-D_REENTRANT"
39357 ;;
39358 esac
39359 { echo "$as_me:$LINENO: result: ${flag}" >&5
39360 echo "${ECHO_T}${flag}" >&6; }
39361 if test "x$flag" != xno; then
39362 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39363 fi
39364
39365 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39366 fi
39367 fi
39368
39369 if test "$wxUSE_THREADS" = "yes" ; then
39370
39371 for ac_func in thr_setconcurrency
39372 do
39373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39374 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39376 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39377 echo $ECHO_N "(cached) $ECHO_C" >&6
39378 else
39379 cat >conftest.$ac_ext <<_ACEOF
39380 /* confdefs.h. */
39381 _ACEOF
39382 cat confdefs.h >>conftest.$ac_ext
39383 cat >>conftest.$ac_ext <<_ACEOF
39384 /* end confdefs.h. */
39385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39387 #define $ac_func innocuous_$ac_func
39388
39389 /* System header to define __stub macros and hopefully few prototypes,
39390 which can conflict with char $ac_func (); below.
39391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39392 <limits.h> exists even on freestanding compilers. */
39393
39394 #ifdef __STDC__
39395 # include <limits.h>
39396 #else
39397 # include <assert.h>
39398 #endif
39399
39400 #undef $ac_func
39401
39402 /* Override any GCC internal prototype to avoid an error.
39403 Use char because int might match the return type of a GCC
39404 builtin and then its argument prototype would still apply. */
39405 #ifdef __cplusplus
39406 extern "C"
39407 #endif
39408 char $ac_func ();
39409 /* The GNU C library defines this for functions which it implements
39410 to always fail with ENOSYS. Some functions are actually named
39411 something starting with __ and the normal name is an alias. */
39412 #if defined __stub_$ac_func || defined __stub___$ac_func
39413 choke me
39414 #endif
39415
39416 int
39417 main ()
39418 {
39419 return $ac_func ();
39420 ;
39421 return 0;
39422 }
39423 _ACEOF
39424 rm -f conftest.$ac_objext conftest$ac_exeext
39425 if { (ac_try="$ac_link"
39426 case "(($ac_try" in
39427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39428 *) ac_try_echo=$ac_try;;
39429 esac
39430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39431 (eval "$ac_link") 2>conftest.er1
39432 ac_status=$?
39433 grep -v '^ *+' conftest.er1 >conftest.err
39434 rm -f conftest.er1
39435 cat conftest.err >&5
39436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39437 (exit $ac_status); } && {
39438 test -z "$ac_c_werror_flag" ||
39439 test ! -s conftest.err
39440 } && test -s conftest$ac_exeext &&
39441 $as_test_x conftest$ac_exeext; then
39442 eval "$as_ac_var=yes"
39443 else
39444 echo "$as_me: failed program was:" >&5
39445 sed 's/^/| /' conftest.$ac_ext >&5
39446
39447 eval "$as_ac_var=no"
39448 fi
39449
39450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39451 conftest$ac_exeext conftest.$ac_ext
39452 fi
39453 ac_res=`eval echo '${'$as_ac_var'}'`
39454 { echo "$as_me:$LINENO: result: $ac_res" >&5
39455 echo "${ECHO_T}$ac_res" >&6; }
39456 if test `eval echo '${'$as_ac_var'}'` = yes; then
39457 cat >>confdefs.h <<_ACEOF
39458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39459 _ACEOF
39460
39461 fi
39462 done
39463
39464
39465 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39466 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39467 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39468 echo $ECHO_N "(cached) $ECHO_C" >&6
39469 else
39470
39471 ac_ext=cpp
39472 ac_cpp='$CXXCPP $CPPFLAGS'
39473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39476
39477 cat >conftest.$ac_ext <<_ACEOF
39478 /* confdefs.h. */
39479 _ACEOF
39480 cat confdefs.h >>conftest.$ac_ext
39481 cat >>conftest.$ac_ext <<_ACEOF
39482 /* end confdefs.h. */
39483 #include <pthread.h>
39484 void ThreadCleanupFunc(void *p);
39485
39486 int
39487 main ()
39488 {
39489
39490 void *p;
39491 pthread_cleanup_push(ThreadCleanupFunc, p);
39492 pthread_cleanup_pop(0);
39493
39494 ;
39495 return 0;
39496 }
39497 _ACEOF
39498 rm -f conftest.$ac_objext
39499 if { (ac_try="$ac_compile"
39500 case "(($ac_try" in
39501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39502 *) ac_try_echo=$ac_try;;
39503 esac
39504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39505 (eval "$ac_compile") 2>conftest.er1
39506 ac_status=$?
39507 grep -v '^ *+' conftest.er1 >conftest.err
39508 rm -f conftest.er1
39509 cat conftest.err >&5
39510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39511 (exit $ac_status); } && {
39512 test -z "$ac_cxx_werror_flag" ||
39513 test ! -s conftest.err
39514 } && test -s conftest.$ac_objext; then
39515
39516 wx_cv_func_pthread_cleanup=yes
39517
39518 else
39519 echo "$as_me: failed program was:" >&5
39520 sed 's/^/| /' conftest.$ac_ext >&5
39521
39522
39523 wx_cv_func_pthread_cleanup=no
39524
39525
39526 fi
39527
39528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39529 ac_ext=c
39530 ac_cpp='$CPP $CPPFLAGS'
39531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39534
39535
39536 fi
39537 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39538 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39539 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39540 cat >>confdefs.h <<\_ACEOF
39541 #define wxHAVE_PTHREAD_CLEANUP 1
39542 _ACEOF
39543
39544 fi
39545
39546
39547 for ac_header in sched.h
39548 do
39549 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39550 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39552 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39553 echo $ECHO_N "(cached) $ECHO_C" >&6
39554 else
39555 cat >conftest.$ac_ext <<_ACEOF
39556 /* confdefs.h. */
39557 _ACEOF
39558 cat confdefs.h >>conftest.$ac_ext
39559 cat >>conftest.$ac_ext <<_ACEOF
39560 /* end confdefs.h. */
39561 $ac_includes_default
39562
39563 #include <$ac_header>
39564 _ACEOF
39565 rm -f conftest.$ac_objext
39566 if { (ac_try="$ac_compile"
39567 case "(($ac_try" in
39568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39569 *) ac_try_echo=$ac_try;;
39570 esac
39571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39572 (eval "$ac_compile") 2>conftest.er1
39573 ac_status=$?
39574 grep -v '^ *+' conftest.er1 >conftest.err
39575 rm -f conftest.er1
39576 cat conftest.err >&5
39577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39578 (exit $ac_status); } && {
39579 test -z "$ac_c_werror_flag" ||
39580 test ! -s conftest.err
39581 } && test -s conftest.$ac_objext; then
39582 eval "$as_ac_Header=yes"
39583 else
39584 echo "$as_me: failed program was:" >&5
39585 sed 's/^/| /' conftest.$ac_ext >&5
39586
39587 eval "$as_ac_Header=no"
39588 fi
39589
39590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39591 fi
39592 ac_res=`eval echo '${'$as_ac_Header'}'`
39593 { echo "$as_me:$LINENO: result: $ac_res" >&5
39594 echo "${ECHO_T}$ac_res" >&6; }
39595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39596 cat >>confdefs.h <<_ACEOF
39597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39598 _ACEOF
39599
39600 fi
39601
39602 done
39603
39604 if test "$ac_cv_header_sched_h" = "yes"; then
39605 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39606 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39607 if test "${ac_cv_func_sched_yield+set}" = set; then
39608 echo $ECHO_N "(cached) $ECHO_C" >&6
39609 else
39610 cat >conftest.$ac_ext <<_ACEOF
39611 /* confdefs.h. */
39612 _ACEOF
39613 cat confdefs.h >>conftest.$ac_ext
39614 cat >>conftest.$ac_ext <<_ACEOF
39615 /* end confdefs.h. */
39616 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39618 #define sched_yield innocuous_sched_yield
39619
39620 /* System header to define __stub macros and hopefully few prototypes,
39621 which can conflict with char sched_yield (); below.
39622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39623 <limits.h> exists even on freestanding compilers. */
39624
39625 #ifdef __STDC__
39626 # include <limits.h>
39627 #else
39628 # include <assert.h>
39629 #endif
39630
39631 #undef sched_yield
39632
39633 /* Override any GCC internal prototype to avoid an error.
39634 Use char because int might match the return type of a GCC
39635 builtin and then its argument prototype would still apply. */
39636 #ifdef __cplusplus
39637 extern "C"
39638 #endif
39639 char sched_yield ();
39640 /* The GNU C library defines this for functions which it implements
39641 to always fail with ENOSYS. Some functions are actually named
39642 something starting with __ and the normal name is an alias. */
39643 #if defined __stub_sched_yield || defined __stub___sched_yield
39644 choke me
39645 #endif
39646
39647 int
39648 main ()
39649 {
39650 return sched_yield ();
39651 ;
39652 return 0;
39653 }
39654 _ACEOF
39655 rm -f conftest.$ac_objext conftest$ac_exeext
39656 if { (ac_try="$ac_link"
39657 case "(($ac_try" in
39658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39659 *) ac_try_echo=$ac_try;;
39660 esac
39661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39662 (eval "$ac_link") 2>conftest.er1
39663 ac_status=$?
39664 grep -v '^ *+' conftest.er1 >conftest.err
39665 rm -f conftest.er1
39666 cat conftest.err >&5
39667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39668 (exit $ac_status); } && {
39669 test -z "$ac_c_werror_flag" ||
39670 test ! -s conftest.err
39671 } && test -s conftest$ac_exeext &&
39672 $as_test_x conftest$ac_exeext; then
39673 ac_cv_func_sched_yield=yes
39674 else
39675 echo "$as_me: failed program was:" >&5
39676 sed 's/^/| /' conftest.$ac_ext >&5
39677
39678 ac_cv_func_sched_yield=no
39679 fi
39680
39681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39682 conftest$ac_exeext conftest.$ac_ext
39683 fi
39684 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39685 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39686 if test $ac_cv_func_sched_yield = yes; then
39687 cat >>confdefs.h <<\_ACEOF
39688 #define HAVE_SCHED_YIELD 1
39689 _ACEOF
39690
39691 else
39692
39693 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39694 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39695 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39696 echo $ECHO_N "(cached) $ECHO_C" >&6
39697 else
39698 ac_check_lib_save_LIBS=$LIBS
39699 LIBS="-lposix4 $LIBS"
39700 cat >conftest.$ac_ext <<_ACEOF
39701 /* confdefs.h. */
39702 _ACEOF
39703 cat confdefs.h >>conftest.$ac_ext
39704 cat >>conftest.$ac_ext <<_ACEOF
39705 /* end confdefs.h. */
39706
39707 /* Override any GCC internal prototype to avoid an error.
39708 Use char because int might match the return type of a GCC
39709 builtin and then its argument prototype would still apply. */
39710 #ifdef __cplusplus
39711 extern "C"
39712 #endif
39713 char sched_yield ();
39714 int
39715 main ()
39716 {
39717 return sched_yield ();
39718 ;
39719 return 0;
39720 }
39721 _ACEOF
39722 rm -f conftest.$ac_objext conftest$ac_exeext
39723 if { (ac_try="$ac_link"
39724 case "(($ac_try" in
39725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39726 *) ac_try_echo=$ac_try;;
39727 esac
39728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39729 (eval "$ac_link") 2>conftest.er1
39730 ac_status=$?
39731 grep -v '^ *+' conftest.er1 >conftest.err
39732 rm -f conftest.er1
39733 cat conftest.err >&5
39734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39735 (exit $ac_status); } && {
39736 test -z "$ac_c_werror_flag" ||
39737 test ! -s conftest.err
39738 } && test -s conftest$ac_exeext &&
39739 $as_test_x conftest$ac_exeext; then
39740 ac_cv_lib_posix4_sched_yield=yes
39741 else
39742 echo "$as_me: failed program was:" >&5
39743 sed 's/^/| /' conftest.$ac_ext >&5
39744
39745 ac_cv_lib_posix4_sched_yield=no
39746 fi
39747
39748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39749 conftest$ac_exeext conftest.$ac_ext
39750 LIBS=$ac_check_lib_save_LIBS
39751 fi
39752 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39753 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39754 if test $ac_cv_lib_posix4_sched_yield = yes; then
39755 cat >>confdefs.h <<\_ACEOF
39756 #define HAVE_SCHED_YIELD 1
39757 _ACEOF
39758 POSIX4_LINK=" -lposix4"
39759 else
39760 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39761 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39762
39763 fi
39764
39765
39766
39767 fi
39768
39769 fi
39770
39771 HAVE_PRIOR_FUNCS=0
39772 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39773 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39774 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39775 echo $ECHO_N "(cached) $ECHO_C" >&6
39776 else
39777 cat >conftest.$ac_ext <<_ACEOF
39778 /* confdefs.h. */
39779 _ACEOF
39780 cat confdefs.h >>conftest.$ac_ext
39781 cat >>conftest.$ac_ext <<_ACEOF
39782 /* end confdefs.h. */
39783 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39785 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39786
39787 /* System header to define __stub macros and hopefully few prototypes,
39788 which can conflict with char pthread_attr_getschedpolicy (); below.
39789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39790 <limits.h> exists even on freestanding compilers. */
39791
39792 #ifdef __STDC__
39793 # include <limits.h>
39794 #else
39795 # include <assert.h>
39796 #endif
39797
39798 #undef pthread_attr_getschedpolicy
39799
39800 /* Override any GCC internal prototype to avoid an error.
39801 Use char because int might match the return type of a GCC
39802 builtin and then its argument prototype would still apply. */
39803 #ifdef __cplusplus
39804 extern "C"
39805 #endif
39806 char pthread_attr_getschedpolicy ();
39807 /* The GNU C library defines this for functions which it implements
39808 to always fail with ENOSYS. Some functions are actually named
39809 something starting with __ and the normal name is an alias. */
39810 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39811 choke me
39812 #endif
39813
39814 int
39815 main ()
39816 {
39817 return pthread_attr_getschedpolicy ();
39818 ;
39819 return 0;
39820 }
39821 _ACEOF
39822 rm -f conftest.$ac_objext conftest$ac_exeext
39823 if { (ac_try="$ac_link"
39824 case "(($ac_try" in
39825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39826 *) ac_try_echo=$ac_try;;
39827 esac
39828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39829 (eval "$ac_link") 2>conftest.er1
39830 ac_status=$?
39831 grep -v '^ *+' conftest.er1 >conftest.err
39832 rm -f conftest.er1
39833 cat conftest.err >&5
39834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39835 (exit $ac_status); } && {
39836 test -z "$ac_c_werror_flag" ||
39837 test ! -s conftest.err
39838 } && test -s conftest$ac_exeext &&
39839 $as_test_x conftest$ac_exeext; then
39840 ac_cv_func_pthread_attr_getschedpolicy=yes
39841 else
39842 echo "$as_me: failed program was:" >&5
39843 sed 's/^/| /' conftest.$ac_ext >&5
39844
39845 ac_cv_func_pthread_attr_getschedpolicy=no
39846 fi
39847
39848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39849 conftest$ac_exeext conftest.$ac_ext
39850 fi
39851 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39852 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39853 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39854 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39855 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39856 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39857 echo $ECHO_N "(cached) $ECHO_C" >&6
39858 else
39859 cat >conftest.$ac_ext <<_ACEOF
39860 /* confdefs.h. */
39861 _ACEOF
39862 cat confdefs.h >>conftest.$ac_ext
39863 cat >>conftest.$ac_ext <<_ACEOF
39864 /* end confdefs.h. */
39865 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39867 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39868
39869 /* System header to define __stub macros and hopefully few prototypes,
39870 which can conflict with char pthread_attr_setschedparam (); below.
39871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39872 <limits.h> exists even on freestanding compilers. */
39873
39874 #ifdef __STDC__
39875 # include <limits.h>
39876 #else
39877 # include <assert.h>
39878 #endif
39879
39880 #undef pthread_attr_setschedparam
39881
39882 /* Override any GCC internal prototype to avoid an error.
39883 Use char because int might match the return type of a GCC
39884 builtin and then its argument prototype would still apply. */
39885 #ifdef __cplusplus
39886 extern "C"
39887 #endif
39888 char pthread_attr_setschedparam ();
39889 /* The GNU C library defines this for functions which it implements
39890 to always fail with ENOSYS. Some functions are actually named
39891 something starting with __ and the normal name is an alias. */
39892 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39893 choke me
39894 #endif
39895
39896 int
39897 main ()
39898 {
39899 return pthread_attr_setschedparam ();
39900 ;
39901 return 0;
39902 }
39903 _ACEOF
39904 rm -f conftest.$ac_objext conftest$ac_exeext
39905 if { (ac_try="$ac_link"
39906 case "(($ac_try" in
39907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39908 *) ac_try_echo=$ac_try;;
39909 esac
39910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39911 (eval "$ac_link") 2>conftest.er1
39912 ac_status=$?
39913 grep -v '^ *+' conftest.er1 >conftest.err
39914 rm -f conftest.er1
39915 cat conftest.err >&5
39916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39917 (exit $ac_status); } && {
39918 test -z "$ac_c_werror_flag" ||
39919 test ! -s conftest.err
39920 } && test -s conftest$ac_exeext &&
39921 $as_test_x conftest$ac_exeext; then
39922 ac_cv_func_pthread_attr_setschedparam=yes
39923 else
39924 echo "$as_me: failed program was:" >&5
39925 sed 's/^/| /' conftest.$ac_ext >&5
39926
39927 ac_cv_func_pthread_attr_setschedparam=no
39928 fi
39929
39930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39931 conftest$ac_exeext conftest.$ac_ext
39932 fi
39933 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39934 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39935 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39936 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39937 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39938 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39939 echo $ECHO_N "(cached) $ECHO_C" >&6
39940 else
39941 cat >conftest.$ac_ext <<_ACEOF
39942 /* confdefs.h. */
39943 _ACEOF
39944 cat confdefs.h >>conftest.$ac_ext
39945 cat >>conftest.$ac_ext <<_ACEOF
39946 /* end confdefs.h. */
39947 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39949 #define sched_get_priority_max innocuous_sched_get_priority_max
39950
39951 /* System header to define __stub macros and hopefully few prototypes,
39952 which can conflict with char sched_get_priority_max (); below.
39953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39954 <limits.h> exists even on freestanding compilers. */
39955
39956 #ifdef __STDC__
39957 # include <limits.h>
39958 #else
39959 # include <assert.h>
39960 #endif
39961
39962 #undef sched_get_priority_max
39963
39964 /* Override any GCC internal prototype to avoid an error.
39965 Use char because int might match the return type of a GCC
39966 builtin and then its argument prototype would still apply. */
39967 #ifdef __cplusplus
39968 extern "C"
39969 #endif
39970 char sched_get_priority_max ();
39971 /* The GNU C library defines this for functions which it implements
39972 to always fail with ENOSYS. Some functions are actually named
39973 something starting with __ and the normal name is an alias. */
39974 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39975 choke me
39976 #endif
39977
39978 int
39979 main ()
39980 {
39981 return sched_get_priority_max ();
39982 ;
39983 return 0;
39984 }
39985 _ACEOF
39986 rm -f conftest.$ac_objext conftest$ac_exeext
39987 if { (ac_try="$ac_link"
39988 case "(($ac_try" in
39989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39990 *) ac_try_echo=$ac_try;;
39991 esac
39992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39993 (eval "$ac_link") 2>conftest.er1
39994 ac_status=$?
39995 grep -v '^ *+' conftest.er1 >conftest.err
39996 rm -f conftest.er1
39997 cat conftest.err >&5
39998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39999 (exit $ac_status); } && {
40000 test -z "$ac_c_werror_flag" ||
40001 test ! -s conftest.err
40002 } && test -s conftest$ac_exeext &&
40003 $as_test_x conftest$ac_exeext; then
40004 ac_cv_func_sched_get_priority_max=yes
40005 else
40006 echo "$as_me: failed program was:" >&5
40007 sed 's/^/| /' conftest.$ac_ext >&5
40008
40009 ac_cv_func_sched_get_priority_max=no
40010 fi
40011
40012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40013 conftest$ac_exeext conftest.$ac_ext
40014 fi
40015 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40016 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40017 if test $ac_cv_func_sched_get_priority_max = yes; then
40018 HAVE_PRIOR_FUNCS=1
40019 else
40020 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40021 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40022 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40023 echo $ECHO_N "(cached) $ECHO_C" >&6
40024 else
40025 ac_check_lib_save_LIBS=$LIBS
40026 LIBS="-lposix4 $LIBS"
40027 cat >conftest.$ac_ext <<_ACEOF
40028 /* confdefs.h. */
40029 _ACEOF
40030 cat confdefs.h >>conftest.$ac_ext
40031 cat >>conftest.$ac_ext <<_ACEOF
40032 /* end confdefs.h. */
40033
40034 /* Override any GCC internal prototype to avoid an error.
40035 Use char because int might match the return type of a GCC
40036 builtin and then its argument prototype would still apply. */
40037 #ifdef __cplusplus
40038 extern "C"
40039 #endif
40040 char sched_get_priority_max ();
40041 int
40042 main ()
40043 {
40044 return sched_get_priority_max ();
40045 ;
40046 return 0;
40047 }
40048 _ACEOF
40049 rm -f conftest.$ac_objext conftest$ac_exeext
40050 if { (ac_try="$ac_link"
40051 case "(($ac_try" in
40052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40053 *) ac_try_echo=$ac_try;;
40054 esac
40055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40056 (eval "$ac_link") 2>conftest.er1
40057 ac_status=$?
40058 grep -v '^ *+' conftest.er1 >conftest.err
40059 rm -f conftest.er1
40060 cat conftest.err >&5
40061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40062 (exit $ac_status); } && {
40063 test -z "$ac_c_werror_flag" ||
40064 test ! -s conftest.err
40065 } && test -s conftest$ac_exeext &&
40066 $as_test_x conftest$ac_exeext; then
40067 ac_cv_lib_posix4_sched_get_priority_max=yes
40068 else
40069 echo "$as_me: failed program was:" >&5
40070 sed 's/^/| /' conftest.$ac_ext >&5
40071
40072 ac_cv_lib_posix4_sched_get_priority_max=no
40073 fi
40074
40075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40076 conftest$ac_exeext conftest.$ac_ext
40077 LIBS=$ac_check_lib_save_LIBS
40078 fi
40079 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40080 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40081 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40082
40083 HAVE_PRIOR_FUNCS=1
40084 POSIX4_LINK=" -lposix4"
40085
40086 fi
40087
40088
40089 fi
40090
40091
40092 fi
40093
40094
40095 fi
40096
40097
40098 if test "$HAVE_PRIOR_FUNCS" = 1; then
40099 cat >>confdefs.h <<\_ACEOF
40100 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40101 _ACEOF
40102
40103 else
40104 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40105 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40106 fi
40107
40108 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40109 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40110 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40111 echo $ECHO_N "(cached) $ECHO_C" >&6
40112 else
40113 cat >conftest.$ac_ext <<_ACEOF
40114 /* confdefs.h. */
40115 _ACEOF
40116 cat confdefs.h >>conftest.$ac_ext
40117 cat >>conftest.$ac_ext <<_ACEOF
40118 /* end confdefs.h. */
40119 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40121 #define pthread_cancel innocuous_pthread_cancel
40122
40123 /* System header to define __stub macros and hopefully few prototypes,
40124 which can conflict with char pthread_cancel (); below.
40125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40126 <limits.h> exists even on freestanding compilers. */
40127
40128 #ifdef __STDC__
40129 # include <limits.h>
40130 #else
40131 # include <assert.h>
40132 #endif
40133
40134 #undef pthread_cancel
40135
40136 /* Override any GCC internal prototype to avoid an error.
40137 Use char because int might match the return type of a GCC
40138 builtin and then its argument prototype would still apply. */
40139 #ifdef __cplusplus
40140 extern "C"
40141 #endif
40142 char pthread_cancel ();
40143 /* The GNU C library defines this for functions which it implements
40144 to always fail with ENOSYS. Some functions are actually named
40145 something starting with __ and the normal name is an alias. */
40146 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40147 choke me
40148 #endif
40149
40150 int
40151 main ()
40152 {
40153 return pthread_cancel ();
40154 ;
40155 return 0;
40156 }
40157 _ACEOF
40158 rm -f conftest.$ac_objext conftest$ac_exeext
40159 if { (ac_try="$ac_link"
40160 case "(($ac_try" in
40161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40162 *) ac_try_echo=$ac_try;;
40163 esac
40164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40165 (eval "$ac_link") 2>conftest.er1
40166 ac_status=$?
40167 grep -v '^ *+' conftest.er1 >conftest.err
40168 rm -f conftest.er1
40169 cat conftest.err >&5
40170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40171 (exit $ac_status); } && {
40172 test -z "$ac_c_werror_flag" ||
40173 test ! -s conftest.err
40174 } && test -s conftest$ac_exeext &&
40175 $as_test_x conftest$ac_exeext; then
40176 ac_cv_func_pthread_cancel=yes
40177 else
40178 echo "$as_me: failed program was:" >&5
40179 sed 's/^/| /' conftest.$ac_ext >&5
40180
40181 ac_cv_func_pthread_cancel=no
40182 fi
40183
40184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40185 conftest$ac_exeext conftest.$ac_ext
40186 fi
40187 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40188 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40189 if test $ac_cv_func_pthread_cancel = yes; then
40190 cat >>confdefs.h <<\_ACEOF
40191 #define HAVE_PTHREAD_CANCEL 1
40192 _ACEOF
40193
40194 else
40195 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40196 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40197 fi
40198
40199
40200 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40201 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40202 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40203 echo $ECHO_N "(cached) $ECHO_C" >&6
40204 else
40205 cat >conftest.$ac_ext <<_ACEOF
40206 /* confdefs.h. */
40207 _ACEOF
40208 cat confdefs.h >>conftest.$ac_ext
40209 cat >>conftest.$ac_ext <<_ACEOF
40210 /* end confdefs.h. */
40211 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40213 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40214
40215 /* System header to define __stub macros and hopefully few prototypes,
40216 which can conflict with char pthread_mutex_timedlock (); below.
40217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40218 <limits.h> exists even on freestanding compilers. */
40219
40220 #ifdef __STDC__
40221 # include <limits.h>
40222 #else
40223 # include <assert.h>
40224 #endif
40225
40226 #undef pthread_mutex_timedlock
40227
40228 /* Override any GCC internal prototype to avoid an error.
40229 Use char because int might match the return type of a GCC
40230 builtin and then its argument prototype would still apply. */
40231 #ifdef __cplusplus
40232 extern "C"
40233 #endif
40234 char pthread_mutex_timedlock ();
40235 /* The GNU C library defines this for functions which it implements
40236 to always fail with ENOSYS. Some functions are actually named
40237 something starting with __ and the normal name is an alias. */
40238 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40239 choke me
40240 #endif
40241
40242 int
40243 main ()
40244 {
40245 return pthread_mutex_timedlock ();
40246 ;
40247 return 0;
40248 }
40249 _ACEOF
40250 rm -f conftest.$ac_objext conftest$ac_exeext
40251 if { (ac_try="$ac_link"
40252 case "(($ac_try" in
40253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40254 *) ac_try_echo=$ac_try;;
40255 esac
40256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40257 (eval "$ac_link") 2>conftest.er1
40258 ac_status=$?
40259 grep -v '^ *+' conftest.er1 >conftest.err
40260 rm -f conftest.er1
40261 cat conftest.err >&5
40262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40263 (exit $ac_status); } && {
40264 test -z "$ac_c_werror_flag" ||
40265 test ! -s conftest.err
40266 } && test -s conftest$ac_exeext &&
40267 $as_test_x conftest$ac_exeext; then
40268 ac_cv_func_pthread_mutex_timedlock=yes
40269 else
40270 echo "$as_me: failed program was:" >&5
40271 sed 's/^/| /' conftest.$ac_ext >&5
40272
40273 ac_cv_func_pthread_mutex_timedlock=no
40274 fi
40275
40276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40277 conftest$ac_exeext conftest.$ac_ext
40278 fi
40279 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40280 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40281 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40282 cat >>confdefs.h <<\_ACEOF
40283 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40284 _ACEOF
40285
40286 else
40287 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40288 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40289 fi
40290
40291
40292 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40293 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40294 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40295 echo $ECHO_N "(cached) $ECHO_C" >&6
40296 else
40297 cat >conftest.$ac_ext <<_ACEOF
40298 /* confdefs.h. */
40299 _ACEOF
40300 cat confdefs.h >>conftest.$ac_ext
40301 cat >>conftest.$ac_ext <<_ACEOF
40302 /* end confdefs.h. */
40303 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40305 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40306
40307 /* System header to define __stub macros and hopefully few prototypes,
40308 which can conflict with char pthread_attr_setstacksize (); below.
40309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40310 <limits.h> exists even on freestanding compilers. */
40311
40312 #ifdef __STDC__
40313 # include <limits.h>
40314 #else
40315 # include <assert.h>
40316 #endif
40317
40318 #undef pthread_attr_setstacksize
40319
40320 /* Override any GCC internal prototype to avoid an error.
40321 Use char because int might match the return type of a GCC
40322 builtin and then its argument prototype would still apply. */
40323 #ifdef __cplusplus
40324 extern "C"
40325 #endif
40326 char pthread_attr_setstacksize ();
40327 /* The GNU C library defines this for functions which it implements
40328 to always fail with ENOSYS. Some functions are actually named
40329 something starting with __ and the normal name is an alias. */
40330 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40331 choke me
40332 #endif
40333
40334 int
40335 main ()
40336 {
40337 return pthread_attr_setstacksize ();
40338 ;
40339 return 0;
40340 }
40341 _ACEOF
40342 rm -f conftest.$ac_objext conftest$ac_exeext
40343 if { (ac_try="$ac_link"
40344 case "(($ac_try" in
40345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40346 *) ac_try_echo=$ac_try;;
40347 esac
40348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40349 (eval "$ac_link") 2>conftest.er1
40350 ac_status=$?
40351 grep -v '^ *+' conftest.er1 >conftest.err
40352 rm -f conftest.er1
40353 cat conftest.err >&5
40354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40355 (exit $ac_status); } && {
40356 test -z "$ac_c_werror_flag" ||
40357 test ! -s conftest.err
40358 } && test -s conftest$ac_exeext &&
40359 $as_test_x conftest$ac_exeext; then
40360 ac_cv_func_pthread_attr_setstacksize=yes
40361 else
40362 echo "$as_me: failed program was:" >&5
40363 sed 's/^/| /' conftest.$ac_ext >&5
40364
40365 ac_cv_func_pthread_attr_setstacksize=no
40366 fi
40367
40368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40369 conftest$ac_exeext conftest.$ac_ext
40370 fi
40371 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40372 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40373 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40374 cat >>confdefs.h <<\_ACEOF
40375 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40376 _ACEOF
40377
40378 fi
40379
40380
40381
40382 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40383 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40384 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40385 echo $ECHO_N "(cached) $ECHO_C" >&6
40386 else
40387
40388 cat >conftest.$ac_ext <<_ACEOF
40389 /* confdefs.h. */
40390 _ACEOF
40391 cat confdefs.h >>conftest.$ac_ext
40392 cat >>conftest.$ac_ext <<_ACEOF
40393 /* end confdefs.h. */
40394 #include <pthread.h>
40395 int
40396 main ()
40397 {
40398
40399 pthread_mutexattr_t attr;
40400 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40401
40402 ;
40403 return 0;
40404 }
40405 _ACEOF
40406 rm -f conftest.$ac_objext
40407 if { (ac_try="$ac_compile"
40408 case "(($ac_try" in
40409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40410 *) ac_try_echo=$ac_try;;
40411 esac
40412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40413 (eval "$ac_compile") 2>conftest.er1
40414 ac_status=$?
40415 grep -v '^ *+' conftest.er1 >conftest.err
40416 rm -f conftest.er1
40417 cat conftest.err >&5
40418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40419 (exit $ac_status); } && {
40420 test -z "$ac_c_werror_flag" ||
40421 test ! -s conftest.err
40422 } && test -s conftest.$ac_objext; then
40423 wx_cv_type_pthread_mutexattr_t=yes
40424 else
40425 echo "$as_me: failed program was:" >&5
40426 sed 's/^/| /' conftest.$ac_ext >&5
40427
40428 wx_cv_type_pthread_mutexattr_t=no
40429
40430 fi
40431
40432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40433
40434 fi
40435 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40436 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40437
40438 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40439 cat >>confdefs.h <<\_ACEOF
40440 #define HAVE_PTHREAD_MUTEXATTR_T 1
40441 _ACEOF
40442
40443
40444 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40445 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40446 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40447 echo $ECHO_N "(cached) $ECHO_C" >&6
40448 else
40449
40450 cat >conftest.$ac_ext <<_ACEOF
40451 /* confdefs.h. */
40452 _ACEOF
40453 cat confdefs.h >>conftest.$ac_ext
40454 cat >>conftest.$ac_ext <<_ACEOF
40455 /* end confdefs.h. */
40456 #include <pthread.h>
40457 int
40458 main ()
40459 {
40460
40461 pthread_mutexattr_t attr;
40462 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40463
40464 ;
40465 return 0;
40466 }
40467 _ACEOF
40468 rm -f conftest.$ac_objext
40469 if { (ac_try="$ac_compile"
40470 case "(($ac_try" in
40471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40472 *) ac_try_echo=$ac_try;;
40473 esac
40474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40475 (eval "$ac_compile") 2>conftest.er1
40476 ac_status=$?
40477 grep -v '^ *+' conftest.er1 >conftest.err
40478 rm -f conftest.er1
40479 cat conftest.err >&5
40480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40481 (exit $ac_status); } && {
40482 test -z "$ac_c_werror_flag" ||
40483 test ! -s conftest.err
40484 } && test -s conftest.$ac_objext; then
40485 wx_cv_func_pthread_mutexattr_settype_decl=yes
40486 else
40487 echo "$as_me: failed program was:" >&5
40488 sed 's/^/| /' conftest.$ac_ext >&5
40489
40490 wx_cv_func_pthread_mutexattr_settype_decl=no
40491
40492 fi
40493
40494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40495
40496 fi
40497 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40498 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40499 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40500 cat >>confdefs.h <<\_ACEOF
40501 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40502 _ACEOF
40503
40504 fi
40505 else
40506 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40507 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40508 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40509 echo $ECHO_N "(cached) $ECHO_C" >&6
40510 else
40511
40512 cat >conftest.$ac_ext <<_ACEOF
40513 /* confdefs.h. */
40514 _ACEOF
40515 cat confdefs.h >>conftest.$ac_ext
40516 cat >>conftest.$ac_ext <<_ACEOF
40517 /* end confdefs.h. */
40518 #include <pthread.h>
40519 int
40520 main ()
40521 {
40522
40523 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40524
40525 ;
40526 return 0;
40527 }
40528 _ACEOF
40529 rm -f conftest.$ac_objext
40530 if { (ac_try="$ac_compile"
40531 case "(($ac_try" in
40532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40533 *) ac_try_echo=$ac_try;;
40534 esac
40535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40536 (eval "$ac_compile") 2>conftest.er1
40537 ac_status=$?
40538 grep -v '^ *+' conftest.er1 >conftest.err
40539 rm -f conftest.er1
40540 cat conftest.err >&5
40541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40542 (exit $ac_status); } && {
40543 test -z "$ac_c_werror_flag" ||
40544 test ! -s conftest.err
40545 } && test -s conftest.$ac_objext; then
40546
40547 wx_cv_type_pthread_rec_mutex_init=yes
40548
40549 else
40550 echo "$as_me: failed program was:" >&5
40551 sed 's/^/| /' conftest.$ac_ext >&5
40552
40553
40554 wx_cv_type_pthread_rec_mutex_init=no
40555
40556
40557 fi
40558
40559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40560
40561 fi
40562 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40563 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40564 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40565 cat >>confdefs.h <<\_ACEOF
40566 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40567 _ACEOF
40568
40569 else
40570 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40571 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40572 fi
40573 fi
40574
40575 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40576 if test "$USE_NETBSD" = 1; then
40577 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40578 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40579 wxUSE_COMPILER_TLS=no
40580 else
40581 wxUSE_COMPILER_TLS=yes
40582 fi
40583 fi
40584
40585 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40586 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40587 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40588 if test "${wx_cv_cc___thread+set}" = set; then
40589 echo $ECHO_N "(cached) $ECHO_C" >&6
40590 else
40591
40592 cat >conftest.$ac_ext <<_ACEOF
40593 /* confdefs.h. */
40594 _ACEOF
40595 cat confdefs.h >>conftest.$ac_ext
40596 cat >>conftest.$ac_ext <<_ACEOF
40597 /* end confdefs.h. */
40598 #include <pthread.h>
40599 int
40600 main ()
40601 {
40602
40603 static __thread int n = 0;
40604 static __thread int *p = 0;
40605
40606 ;
40607 return 0;
40608 }
40609 _ACEOF
40610 rm -f conftest.$ac_objext
40611 if { (ac_try="$ac_compile"
40612 case "(($ac_try" in
40613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40614 *) ac_try_echo=$ac_try;;
40615 esac
40616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40617 (eval "$ac_compile") 2>conftest.er1
40618 ac_status=$?
40619 grep -v '^ *+' conftest.er1 >conftest.err
40620 rm -f conftest.er1
40621 cat conftest.err >&5
40622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40623 (exit $ac_status); } && {
40624 test -z "$ac_c_werror_flag" ||
40625 test ! -s conftest.err
40626 } && test -s conftest.$ac_objext; then
40627 wx_cv_cc___thread=yes
40628 else
40629 echo "$as_me: failed program was:" >&5
40630 sed 's/^/| /' conftest.$ac_ext >&5
40631
40632 wx_cv_cc___thread=no
40633
40634 fi
40635
40636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40637
40638
40639 fi
40640 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40641 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40642
40643 if test "$wx_cv_cc___thread" = "yes"; then
40644
40645 GXX_VERSION=""
40646
40647
40648
40649 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40650 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40651
40652 if test "x$GCC" = "xyes" ; then
40653
40654 if test -z "" ; then
40655
40656 ax_gcc_option_test="int main()
40657 {
40658 return 0;
40659 }"
40660
40661 else
40662
40663 ax_gcc_option_test=""
40664
40665 fi
40666
40667
40668 # Dump the test program to file
40669 cat <<EOF > conftest.c
40670 $ax_gcc_option_test
40671 EOF
40672
40673 # Dump back the file to the log, useful for debugging purposes
40674 { ac_try='cat conftest.c 1>&5'
40675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40676 (eval $ac_try) 2>&5
40677 ac_status=$?
40678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40679 (exit $ac_status); }; }
40680
40681 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40683 (eval $ac_try) 2>&5
40684 ac_status=$?
40685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40686 (exit $ac_status); }; } ; then
40687
40688 { echo "$as_me:$LINENO: result: yes" >&5
40689 echo "${ECHO_T}yes" >&6; }
40690
40691 ax_gcc_version_option=yes
40692
40693
40694 else
40695
40696 { echo "$as_me:$LINENO: result: no" >&5
40697 echo "${ECHO_T}no" >&6; }
40698
40699 ax_gcc_version_option=no
40700
40701
40702 fi
40703
40704
40705 else
40706
40707 { echo "$as_me:$LINENO: result: no gcc available" >&5
40708 echo "${ECHO_T}no gcc available" >&6; }
40709
40710 fi
40711
40712
40713 if test "x$GXX" = "xyes"; then
40714
40715 if test "x$ax_gxx_version_option" != "no"; then
40716
40717 { echo "$as_me:$LINENO: checking gxx version" >&5
40718 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40719 if test "${ax_cv_gxx_version+set}" = set; then
40720 echo $ECHO_N "(cached) $ECHO_C" >&6
40721 else
40722
40723 ax_cv_gxx_version="`$CXX -dumpversion`"
40724 if test "x$ax_cv_gxx_version" = "x"; then
40725
40726 ax_cv_gxx_version=""
40727
40728 fi
40729
40730
40731 fi
40732 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40733 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40734 GXX_VERSION=$ax_cv_gxx_version
40735
40736 fi
40737
40738
40739 fi
40740
40741
40742
40743 if test -n "$ax_cv_gxx_version"; then
40744 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40745 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40746 case "$ax_cv_gxx_version" in
40747 1.* | 2.* | 3.* )
40748 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40749 echo "${ECHO_T}no, it's broken" >&6; }
40750 wx_cv_cc___thread=no
40751 ;;
40752 *)
40753 { echo "$as_me:$LINENO: result: yes, it works" >&5
40754 echo "${ECHO_T}yes, it works" >&6; }
40755 ;;
40756 esac
40757 fi
40758 fi
40759
40760 if test "$wx_cv_cc___thread" = "yes"; then
40761 cat >>confdefs.h <<\_ACEOF
40762 #define HAVE___THREAD_KEYWORD 1
40763 _ACEOF
40764
40765 fi
40766 fi
40767 fi
40768
40769 else
40770 if test "$wxUSE_THREADS" = "yes" ; then
40771 case "${host}" in
40772 x86_64-*-mingw32* )
40773 ;;
40774 *-*-mingw32* )
40775 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40776 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40777 if test "${wx_cv_cflags_mthread+set}" = set; then
40778 echo $ECHO_N "(cached) $ECHO_C" >&6
40779 else
40780
40781 CFLAGS_OLD="$CFLAGS"
40782 CFLAGS="-mthreads $CFLAGS"
40783 cat >conftest.$ac_ext <<_ACEOF
40784 /* confdefs.h. */
40785 _ACEOF
40786 cat confdefs.h >>conftest.$ac_ext
40787 cat >>conftest.$ac_ext <<_ACEOF
40788 /* end confdefs.h. */
40789
40790 int
40791 main ()
40792 {
40793
40794 ;
40795 return 0;
40796 }
40797 _ACEOF
40798 rm -f conftest.$ac_objext
40799 if { (ac_try="$ac_compile"
40800 case "(($ac_try" in
40801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40802 *) ac_try_echo=$ac_try;;
40803 esac
40804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40805 (eval "$ac_compile") 2>conftest.er1
40806 ac_status=$?
40807 grep -v '^ *+' conftest.er1 >conftest.err
40808 rm -f conftest.er1
40809 cat conftest.err >&5
40810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40811 (exit $ac_status); } && {
40812 test -z "$ac_c_werror_flag" ||
40813 test ! -s conftest.err
40814 } && test -s conftest.$ac_objext; then
40815 wx_cv_cflags_mthread=yes
40816 else
40817 echo "$as_me: failed program was:" >&5
40818 sed 's/^/| /' conftest.$ac_ext >&5
40819
40820 wx_cv_cflags_mthread=no
40821
40822 fi
40823
40824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40825
40826
40827 fi
40828 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40829 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40830
40831 if test "$wx_cv_cflags_mthread" = "yes"; then
40832 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40833 LDFLAGS="$LDFLAGS -mthreads"
40834 else
40835 CFLAGS="$CFLAGS_OLD"
40836 fi
40837 ;;
40838 *-pc-os2*emx )
40839 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40840 LDFLAGS="$LDFLAGS -Zmt"
40841 ;;
40842 esac
40843 fi
40844 fi
40845
40846 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40847 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40848 if test "${ac_cv_func_localtime_r+set}" = set; then
40849 echo $ECHO_N "(cached) $ECHO_C" >&6
40850 else
40851 cat >conftest.$ac_ext <<_ACEOF
40852 /* confdefs.h. */
40853 _ACEOF
40854 cat confdefs.h >>conftest.$ac_ext
40855 cat >>conftest.$ac_ext <<_ACEOF
40856 /* end confdefs.h. */
40857 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40859 #define localtime_r innocuous_localtime_r
40860
40861 /* System header to define __stub macros and hopefully few prototypes,
40862 which can conflict with char localtime_r (); below.
40863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40864 <limits.h> exists even on freestanding compilers. */
40865
40866 #ifdef __STDC__
40867 # include <limits.h>
40868 #else
40869 # include <assert.h>
40870 #endif
40871
40872 #undef localtime_r
40873
40874 /* Override any GCC internal prototype to avoid an error.
40875 Use char because int might match the return type of a GCC
40876 builtin and then its argument prototype would still apply. */
40877 #ifdef __cplusplus
40878 extern "C"
40879 #endif
40880 char localtime_r ();
40881 /* The GNU C library defines this for functions which it implements
40882 to always fail with ENOSYS. Some functions are actually named
40883 something starting with __ and the normal name is an alias. */
40884 #if defined __stub_localtime_r || defined __stub___localtime_r
40885 choke me
40886 #endif
40887
40888 int
40889 main ()
40890 {
40891 return localtime_r ();
40892 ;
40893 return 0;
40894 }
40895 _ACEOF
40896 rm -f conftest.$ac_objext conftest$ac_exeext
40897 if { (ac_try="$ac_link"
40898 case "(($ac_try" in
40899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40900 *) ac_try_echo=$ac_try;;
40901 esac
40902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40903 (eval "$ac_link") 2>conftest.er1
40904 ac_status=$?
40905 grep -v '^ *+' conftest.er1 >conftest.err
40906 rm -f conftest.er1
40907 cat conftest.err >&5
40908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40909 (exit $ac_status); } && {
40910 test -z "$ac_c_werror_flag" ||
40911 test ! -s conftest.err
40912 } && test -s conftest$ac_exeext &&
40913 $as_test_x conftest$ac_exeext; then
40914 ac_cv_func_localtime_r=yes
40915 else
40916 echo "$as_me: failed program was:" >&5
40917 sed 's/^/| /' conftest.$ac_ext >&5
40918
40919 ac_cv_func_localtime_r=no
40920 fi
40921
40922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40923 conftest$ac_exeext conftest.$ac_ext
40924 fi
40925 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40926 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40927 if test $ac_cv_func_localtime_r = yes; then
40928 cat >>confdefs.h <<\_ACEOF
40929 #define HAVE_LOCALTIME_R 1
40930 _ACEOF
40931
40932 fi
40933
40934 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40935 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40936 if test "${ac_cv_func_gmtime_r+set}" = set; then
40937 echo $ECHO_N "(cached) $ECHO_C" >&6
40938 else
40939 cat >conftest.$ac_ext <<_ACEOF
40940 /* confdefs.h. */
40941 _ACEOF
40942 cat confdefs.h >>conftest.$ac_ext
40943 cat >>conftest.$ac_ext <<_ACEOF
40944 /* end confdefs.h. */
40945 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40947 #define gmtime_r innocuous_gmtime_r
40948
40949 /* System header to define __stub macros and hopefully few prototypes,
40950 which can conflict with char gmtime_r (); below.
40951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40952 <limits.h> exists even on freestanding compilers. */
40953
40954 #ifdef __STDC__
40955 # include <limits.h>
40956 #else
40957 # include <assert.h>
40958 #endif
40959
40960 #undef gmtime_r
40961
40962 /* Override any GCC internal prototype to avoid an error.
40963 Use char because int might match the return type of a GCC
40964 builtin and then its argument prototype would still apply. */
40965 #ifdef __cplusplus
40966 extern "C"
40967 #endif
40968 char gmtime_r ();
40969 /* The GNU C library defines this for functions which it implements
40970 to always fail with ENOSYS. Some functions are actually named
40971 something starting with __ and the normal name is an alias. */
40972 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40973 choke me
40974 #endif
40975
40976 int
40977 main ()
40978 {
40979 return gmtime_r ();
40980 ;
40981 return 0;
40982 }
40983 _ACEOF
40984 rm -f conftest.$ac_objext conftest$ac_exeext
40985 if { (ac_try="$ac_link"
40986 case "(($ac_try" in
40987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40988 *) ac_try_echo=$ac_try;;
40989 esac
40990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40991 (eval "$ac_link") 2>conftest.er1
40992 ac_status=$?
40993 grep -v '^ *+' conftest.er1 >conftest.err
40994 rm -f conftest.er1
40995 cat conftest.err >&5
40996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40997 (exit $ac_status); } && {
40998 test -z "$ac_c_werror_flag" ||
40999 test ! -s conftest.err
41000 } && test -s conftest$ac_exeext &&
41001 $as_test_x conftest$ac_exeext; then
41002 ac_cv_func_gmtime_r=yes
41003 else
41004 echo "$as_me: failed program was:" >&5
41005 sed 's/^/| /' conftest.$ac_ext >&5
41006
41007 ac_cv_func_gmtime_r=no
41008 fi
41009
41010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41011 conftest$ac_exeext conftest.$ac_ext
41012 fi
41013 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41014 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41015 if test $ac_cv_func_gmtime_r = yes; then
41016 cat >>confdefs.h <<\_ACEOF
41017 #define HAVE_GMTIME_R 1
41018 _ACEOF
41019
41020 fi
41021
41022
41023
41024
41025 ac_ext=c
41026 ac_cpp='$CPP $CPPFLAGS'
41027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41030
41031 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41032 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41033
41034 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41035 echo $ECHO_N "(cached) $ECHO_C" >&6
41036 else
41037
41038
41039 ################################################################
41040
41041 ac_cv_func_which_gethostbyname_r=unknown
41042
41043 #
41044 # ONE ARGUMENT (sanity check)
41045 #
41046
41047 # This should fail, as there is no variant of gethostbyname_r() that takes
41048 # a single argument. If it actually compiles, then we can assume that
41049 # netdb.h is not declaring the function, and the compiler is thereby
41050 # assuming an implicit prototype. In which case, we're out of luck.
41051 #
41052 cat >conftest.$ac_ext <<_ACEOF
41053 /* confdefs.h. */
41054 _ACEOF
41055 cat confdefs.h >>conftest.$ac_ext
41056 cat >>conftest.$ac_ext <<_ACEOF
41057 /* end confdefs.h. */
41058 #include <netdb.h>
41059 int
41060 main ()
41061 {
41062
41063 char *name = "www.gnu.org";
41064 (void)gethostbyname_r(name) /* ; */
41065
41066 ;
41067 return 0;
41068 }
41069 _ACEOF
41070 rm -f conftest.$ac_objext
41071 if { (ac_try="$ac_compile"
41072 case "(($ac_try" in
41073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41074 *) ac_try_echo=$ac_try;;
41075 esac
41076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41077 (eval "$ac_compile") 2>conftest.er1
41078 ac_status=$?
41079 grep -v '^ *+' conftest.er1 >conftest.err
41080 rm -f conftest.er1
41081 cat conftest.err >&5
41082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41083 (exit $ac_status); } && {
41084 test -z "$ac_c_werror_flag" ||
41085 test ! -s conftest.err
41086 } && test -s conftest.$ac_objext; then
41087 ac_cv_func_which_gethostbyname_r=no
41088 else
41089 echo "$as_me: failed program was:" >&5
41090 sed 's/^/| /' conftest.$ac_ext >&5
41091
41092
41093 fi
41094
41095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41096
41097 #
41098 # SIX ARGUMENTS
41099 # (e.g. Linux)
41100 #
41101
41102 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41103
41104 cat >conftest.$ac_ext <<_ACEOF
41105 /* confdefs.h. */
41106 _ACEOF
41107 cat confdefs.h >>conftest.$ac_ext
41108 cat >>conftest.$ac_ext <<_ACEOF
41109 /* end confdefs.h. */
41110 #include <netdb.h>
41111 int
41112 main ()
41113 {
41114
41115 char *name = "www.gnu.org";
41116 struct hostent ret, *retp;
41117 char buf[1024];
41118 int buflen = 1024;
41119 int my_h_errno;
41120 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41121
41122 ;
41123 return 0;
41124 }
41125 _ACEOF
41126 rm -f conftest.$ac_objext
41127 if { (ac_try="$ac_compile"
41128 case "(($ac_try" in
41129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41130 *) ac_try_echo=$ac_try;;
41131 esac
41132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41133 (eval "$ac_compile") 2>conftest.er1
41134 ac_status=$?
41135 grep -v '^ *+' conftest.er1 >conftest.err
41136 rm -f conftest.er1
41137 cat conftest.err >&5
41138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41139 (exit $ac_status); } && {
41140 test -z "$ac_c_werror_flag" ||
41141 test ! -s conftest.err
41142 } && test -s conftest.$ac_objext; then
41143 ac_cv_func_which_gethostbyname_r=six
41144 else
41145 echo "$as_me: failed program was:" >&5
41146 sed 's/^/| /' conftest.$ac_ext >&5
41147
41148
41149 fi
41150
41151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41152
41153 fi
41154
41155 #
41156 # FIVE ARGUMENTS
41157 # (e.g. Solaris)
41158 #
41159
41160 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41161
41162 cat >conftest.$ac_ext <<_ACEOF
41163 /* confdefs.h. */
41164 _ACEOF
41165 cat confdefs.h >>conftest.$ac_ext
41166 cat >>conftest.$ac_ext <<_ACEOF
41167 /* end confdefs.h. */
41168 #include <netdb.h>
41169 int
41170 main ()
41171 {
41172
41173 char *name = "www.gnu.org";
41174 struct hostent ret;
41175 char buf[1024];
41176 int buflen = 1024;
41177 int my_h_errno;
41178 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41179
41180 ;
41181 return 0;
41182 }
41183 _ACEOF
41184 rm -f conftest.$ac_objext
41185 if { (ac_try="$ac_compile"
41186 case "(($ac_try" in
41187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41188 *) ac_try_echo=$ac_try;;
41189 esac
41190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41191 (eval "$ac_compile") 2>conftest.er1
41192 ac_status=$?
41193 grep -v '^ *+' conftest.er1 >conftest.err
41194 rm -f conftest.er1
41195 cat conftest.err >&5
41196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41197 (exit $ac_status); } && {
41198 test -z "$ac_c_werror_flag" ||
41199 test ! -s conftest.err
41200 } && test -s conftest.$ac_objext; then
41201 ac_cv_func_which_gethostbyname_r=five
41202 else
41203 echo "$as_me: failed program was:" >&5
41204 sed 's/^/| /' conftest.$ac_ext >&5
41205
41206
41207 fi
41208
41209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41210
41211 fi
41212
41213 #
41214 # THREE ARGUMENTS
41215 # (e.g. AIX, HP-UX, Tru64)
41216 #
41217
41218 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41219
41220 cat >conftest.$ac_ext <<_ACEOF
41221 /* confdefs.h. */
41222 _ACEOF
41223 cat confdefs.h >>conftest.$ac_ext
41224 cat >>conftest.$ac_ext <<_ACEOF
41225 /* end confdefs.h. */
41226 #include <netdb.h>
41227 int
41228 main ()
41229 {
41230
41231 char *name = "www.gnu.org";
41232 struct hostent ret;
41233 struct hostent_data data;
41234 (void)gethostbyname_r(name, &ret, &data) /* ; */
41235
41236 ;
41237 return 0;
41238 }
41239 _ACEOF
41240 rm -f conftest.$ac_objext
41241 if { (ac_try="$ac_compile"
41242 case "(($ac_try" in
41243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41244 *) ac_try_echo=$ac_try;;
41245 esac
41246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41247 (eval "$ac_compile") 2>conftest.er1
41248 ac_status=$?
41249 grep -v '^ *+' conftest.er1 >conftest.err
41250 rm -f conftest.er1
41251 cat conftest.err >&5
41252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41253 (exit $ac_status); } && {
41254 test -z "$ac_c_werror_flag" ||
41255 test ! -s conftest.err
41256 } && test -s conftest.$ac_objext; then
41257 ac_cv_func_which_gethostbyname_r=three
41258 else
41259 echo "$as_me: failed program was:" >&5
41260 sed 's/^/| /' conftest.$ac_ext >&5
41261
41262
41263 fi
41264
41265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41266
41267 fi
41268
41269 ################################################################
41270
41271
41272 fi
41273
41274 case "$ac_cv_func_which_gethostbyname_r" in
41275 three)
41276 { echo "$as_me:$LINENO: result: three" >&5
41277 echo "${ECHO_T}three" >&6; }
41278 cat >>confdefs.h <<\_ACEOF
41279 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41280 _ACEOF
41281
41282 ;;
41283
41284 five)
41285 { echo "$as_me:$LINENO: result: five" >&5
41286 echo "${ECHO_T}five" >&6; }
41287 cat >>confdefs.h <<\_ACEOF
41288 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41289 _ACEOF
41290
41291 ;;
41292
41293 six)
41294 { echo "$as_me:$LINENO: result: six" >&5
41295 echo "${ECHO_T}six" >&6; }
41296 cat >>confdefs.h <<\_ACEOF
41297 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41298 _ACEOF
41299
41300 ;;
41301
41302 no)
41303 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41304 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41305 ;;
41306
41307 unknown)
41308 { echo "$as_me:$LINENO: result: can't tell" >&5
41309 echo "${ECHO_T}can't tell" >&6; }
41310 ;;
41311
41312 *)
41313 { { echo "$as_me:$LINENO: error: internal error" >&5
41314 echo "$as_me: error: internal error" >&2;}
41315 { (exit 1); exit 1; }; }
41316 ;;
41317 esac
41318
41319 ac_ext=c
41320 ac_cpp='$CPP $CPPFLAGS'
41321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41324
41325
41326
41327 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41328 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41329 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41330 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41331 if test "${ac_cv_func_gethostbyname+set}" = set; then
41332 echo $ECHO_N "(cached) $ECHO_C" >&6
41333 else
41334 cat >conftest.$ac_ext <<_ACEOF
41335 /* confdefs.h. */
41336 _ACEOF
41337 cat confdefs.h >>conftest.$ac_ext
41338 cat >>conftest.$ac_ext <<_ACEOF
41339 /* end confdefs.h. */
41340 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41342 #define gethostbyname innocuous_gethostbyname
41343
41344 /* System header to define __stub macros and hopefully few prototypes,
41345 which can conflict with char gethostbyname (); below.
41346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41347 <limits.h> exists even on freestanding compilers. */
41348
41349 #ifdef __STDC__
41350 # include <limits.h>
41351 #else
41352 # include <assert.h>
41353 #endif
41354
41355 #undef gethostbyname
41356
41357 /* Override any GCC internal prototype to avoid an error.
41358 Use char because int might match the return type of a GCC
41359 builtin and then its argument prototype would still apply. */
41360 #ifdef __cplusplus
41361 extern "C"
41362 #endif
41363 char gethostbyname ();
41364 /* The GNU C library defines this for functions which it implements
41365 to always fail with ENOSYS. Some functions are actually named
41366 something starting with __ and the normal name is an alias. */
41367 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41368 choke me
41369 #endif
41370
41371 int
41372 main ()
41373 {
41374 return gethostbyname ();
41375 ;
41376 return 0;
41377 }
41378 _ACEOF
41379 rm -f conftest.$ac_objext conftest$ac_exeext
41380 if { (ac_try="$ac_link"
41381 case "(($ac_try" in
41382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41383 *) ac_try_echo=$ac_try;;
41384 esac
41385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41386 (eval "$ac_link") 2>conftest.er1
41387 ac_status=$?
41388 grep -v '^ *+' conftest.er1 >conftest.err
41389 rm -f conftest.er1
41390 cat conftest.err >&5
41391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41392 (exit $ac_status); } && {
41393 test -z "$ac_c_werror_flag" ||
41394 test ! -s conftest.err
41395 } && test -s conftest$ac_exeext &&
41396 $as_test_x conftest$ac_exeext; then
41397 ac_cv_func_gethostbyname=yes
41398 else
41399 echo "$as_me: failed program was:" >&5
41400 sed 's/^/| /' conftest.$ac_ext >&5
41401
41402 ac_cv_func_gethostbyname=no
41403 fi
41404
41405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41406 conftest$ac_exeext conftest.$ac_ext
41407 fi
41408 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41409 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41410 if test $ac_cv_func_gethostbyname = yes; then
41411 cat >>confdefs.h <<\_ACEOF
41412 #define HAVE_GETHOSTBYNAME 1
41413 _ACEOF
41414
41415 fi
41416
41417 fi
41418
41419 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41420 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41421 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41422 echo $ECHO_N "(cached) $ECHO_C" >&6
41423 else
41424
41425 ac_ext=cpp
41426 ac_cpp='$CXXCPP $CPPFLAGS'
41427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41430
41431
41432 cat >conftest.$ac_ext <<_ACEOF
41433 /* confdefs.h. */
41434 _ACEOF
41435 cat confdefs.h >>conftest.$ac_ext
41436 cat >>conftest.$ac_ext <<_ACEOF
41437 /* end confdefs.h. */
41438 #include <netdb.h>
41439 int
41440 main ()
41441 {
41442
41443 char *name;
41444 char *proto;
41445 struct servent *se, *res;
41446 char buffer[2048];
41447 int buflen = 2048;
41448 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41449
41450 ;
41451 return 0;
41452 }
41453 _ACEOF
41454 rm -f conftest.$ac_objext
41455 if { (ac_try="$ac_compile"
41456 case "(($ac_try" in
41457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41458 *) ac_try_echo=$ac_try;;
41459 esac
41460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41461 (eval "$ac_compile") 2>conftest.er1
41462 ac_status=$?
41463 grep -v '^ *+' conftest.er1 >conftest.err
41464 rm -f conftest.er1
41465 cat conftest.err >&5
41466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41467 (exit $ac_status); } && {
41468 test -z "$ac_cxx_werror_flag" ||
41469 test ! -s conftest.err
41470 } && test -s conftest.$ac_objext; then
41471 ac_cv_func_which_getservbyname_r=six
41472 else
41473 echo "$as_me: failed program was:" >&5
41474 sed 's/^/| /' conftest.$ac_ext >&5
41475
41476
41477 cat >conftest.$ac_ext <<_ACEOF
41478 /* confdefs.h. */
41479 _ACEOF
41480 cat confdefs.h >>conftest.$ac_ext
41481 cat >>conftest.$ac_ext <<_ACEOF
41482 /* end confdefs.h. */
41483 #include <netdb.h>
41484 int
41485 main ()
41486 {
41487
41488 char *name;
41489 char *proto;
41490 struct servent *se;
41491 char buffer[2048];
41492 int buflen = 2048;
41493 (void) getservbyname_r(name, proto, se, buffer, buflen)
41494
41495 ;
41496 return 0;
41497 }
41498 _ACEOF
41499 rm -f conftest.$ac_objext
41500 if { (ac_try="$ac_compile"
41501 case "(($ac_try" in
41502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41503 *) ac_try_echo=$ac_try;;
41504 esac
41505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41506 (eval "$ac_compile") 2>conftest.er1
41507 ac_status=$?
41508 grep -v '^ *+' conftest.er1 >conftest.err
41509 rm -f conftest.er1
41510 cat conftest.err >&5
41511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41512 (exit $ac_status); } && {
41513 test -z "$ac_cxx_werror_flag" ||
41514 test ! -s conftest.err
41515 } && test -s conftest.$ac_objext; then
41516 ac_cv_func_which_getservbyname_r=five
41517 else
41518 echo "$as_me: failed program was:" >&5
41519 sed 's/^/| /' conftest.$ac_ext >&5
41520
41521
41522 cat >conftest.$ac_ext <<_ACEOF
41523 /* confdefs.h. */
41524 _ACEOF
41525 cat confdefs.h >>conftest.$ac_ext
41526 cat >>conftest.$ac_ext <<_ACEOF
41527 /* end confdefs.h. */
41528 #include <netdb.h>
41529 int
41530 main ()
41531 {
41532
41533 char *name;
41534 char *proto;
41535 struct servent *se;
41536 struct servent_data data;
41537 (void) getservbyname_r(name, proto, se, &data);
41538
41539 ;
41540 return 0;
41541 }
41542 _ACEOF
41543 rm -f conftest.$ac_objext
41544 if { (ac_try="$ac_compile"
41545 case "(($ac_try" in
41546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41547 *) ac_try_echo=$ac_try;;
41548 esac
41549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41550 (eval "$ac_compile") 2>conftest.er1
41551 ac_status=$?
41552 grep -v '^ *+' conftest.er1 >conftest.err
41553 rm -f conftest.er1
41554 cat conftest.err >&5
41555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41556 (exit $ac_status); } && {
41557 test -z "$ac_cxx_werror_flag" ||
41558 test ! -s conftest.err
41559 } && test -s conftest.$ac_objext; then
41560 ac_cv_func_which_getservbyname_r=four
41561 else
41562 echo "$as_me: failed program was:" >&5
41563 sed 's/^/| /' conftest.$ac_ext >&5
41564
41565 ac_cv_func_which_getservbyname_r=no
41566
41567 fi
41568
41569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41570
41571
41572 fi
41573
41574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41575
41576
41577 fi
41578
41579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41580 ac_ext=c
41581 ac_cpp='$CPP $CPPFLAGS'
41582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41585
41586
41587
41588 fi
41589 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41590 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41591
41592 if test $ac_cv_func_which_getservbyname_r = six; then
41593 cat >>confdefs.h <<\_ACEOF
41594 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41595 _ACEOF
41596
41597 elif test $ac_cv_func_which_getservbyname_r = five; then
41598 cat >>confdefs.h <<\_ACEOF
41599 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41600 _ACEOF
41601
41602 elif test $ac_cv_func_which_getservbyname_r = four; then
41603 cat >>confdefs.h <<\_ACEOF
41604 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41605 _ACEOF
41606
41607 fi
41608
41609
41610 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41611 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41612
41613 for ac_func in getservbyname
41614 do
41615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41616 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41618 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41619 echo $ECHO_N "(cached) $ECHO_C" >&6
41620 else
41621 cat >conftest.$ac_ext <<_ACEOF
41622 /* confdefs.h. */
41623 _ACEOF
41624 cat confdefs.h >>conftest.$ac_ext
41625 cat >>conftest.$ac_ext <<_ACEOF
41626 /* end confdefs.h. */
41627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41629 #define $ac_func innocuous_$ac_func
41630
41631 /* System header to define __stub macros and hopefully few prototypes,
41632 which can conflict with char $ac_func (); below.
41633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41634 <limits.h> exists even on freestanding compilers. */
41635
41636 #ifdef __STDC__
41637 # include <limits.h>
41638 #else
41639 # include <assert.h>
41640 #endif
41641
41642 #undef $ac_func
41643
41644 /* Override any GCC internal prototype to avoid an error.
41645 Use char because int might match the return type of a GCC
41646 builtin and then its argument prototype would still apply. */
41647 #ifdef __cplusplus
41648 extern "C"
41649 #endif
41650 char $ac_func ();
41651 /* The GNU C library defines this for functions which it implements
41652 to always fail with ENOSYS. Some functions are actually named
41653 something starting with __ and the normal name is an alias. */
41654 #if defined __stub_$ac_func || defined __stub___$ac_func
41655 choke me
41656 #endif
41657
41658 int
41659 main ()
41660 {
41661 return $ac_func ();
41662 ;
41663 return 0;
41664 }
41665 _ACEOF
41666 rm -f conftest.$ac_objext conftest$ac_exeext
41667 if { (ac_try="$ac_link"
41668 case "(($ac_try" in
41669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41670 *) ac_try_echo=$ac_try;;
41671 esac
41672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41673 (eval "$ac_link") 2>conftest.er1
41674 ac_status=$?
41675 grep -v '^ *+' conftest.er1 >conftest.err
41676 rm -f conftest.er1
41677 cat conftest.err >&5
41678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41679 (exit $ac_status); } && {
41680 test -z "$ac_c_werror_flag" ||
41681 test ! -s conftest.err
41682 } && test -s conftest$ac_exeext &&
41683 $as_test_x conftest$ac_exeext; then
41684 eval "$as_ac_var=yes"
41685 else
41686 echo "$as_me: failed program was:" >&5
41687 sed 's/^/| /' conftest.$ac_ext >&5
41688
41689 eval "$as_ac_var=no"
41690 fi
41691
41692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41693 conftest$ac_exeext conftest.$ac_ext
41694 fi
41695 ac_res=`eval echo '${'$as_ac_var'}'`
41696 { echo "$as_me:$LINENO: result: $ac_res" >&5
41697 echo "${ECHO_T}$ac_res" >&6; }
41698 if test `eval echo '${'$as_ac_var'}'` = yes; then
41699 cat >>confdefs.h <<_ACEOF
41700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41701 _ACEOF
41702 cat >>confdefs.h <<\_ACEOF
41703 #define HAVE_GETSERVBYNAME 1
41704 _ACEOF
41705
41706 fi
41707 done
41708
41709 fi
41710
41711 if test "$wxUSE_THREADS" = "yes"; then
41712 cat >>confdefs.h <<\_ACEOF
41713 #define wxUSE_THREADS 1
41714 _ACEOF
41715
41716
41717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41718 else
41719 if test "$wx_cv_func_strtok_r" = "yes"; then
41720 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41721 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41722 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41723 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41724 { echo "$as_me:$LINENO: result: yes" >&5
41725 echo "${ECHO_T}yes" >&6; }
41726 else
41727 { echo "$as_me:$LINENO: result: no" >&5
41728 echo "${ECHO_T}no" >&6; }
41729 fi
41730 fi
41731 fi
41732
41733 if test "$WXGTK2" = 1 ; then
41734 cat >>confdefs.h <<_ACEOF
41735 #define __WXGTK20__ $WXGTK2
41736 _ACEOF
41737
41738 WXGTK12=1
41739 fi
41740
41741 if test "$WXGTK12" = 1 ; then
41742 cat >>confdefs.h <<_ACEOF
41743 #define __WXGTK12__ $WXGTK12
41744 _ACEOF
41745
41746 fi
41747
41748 if test "$WXGTK127" = 1 ; then
41749 cat >>confdefs.h <<_ACEOF
41750 #define __WXGTK127__ $WXGTK127
41751 _ACEOF
41752
41753 fi
41754
41755 if test "$WXGPE" = 1 ; then
41756 cat >>confdefs.h <<_ACEOF
41757 #define __WXGPE__ $WXGPE
41758 _ACEOF
41759
41760 fi
41761
41762 DEBUG_CFLAGS=
41763 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
41764 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41765 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41766 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41767 DEBUG_CFLAGS="-g"
41768 fi
41769
41770 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41771 wxUSE_DEBUG_INFO=yes
41772 if test "$GCC" = yes; then
41773 DEBUG_CFLAGS="-ggdb"
41774 fi
41775 fi
41776
41777 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
41778 if test "$wxUSE_GTK" = 1 ; then
41779 if test "x$wxGTK_VERSION" = "x1" ; then
41780 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41781 fi
41782 fi
41783 fi
41784
41785 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41786 cat >>confdefs.h <<\_ACEOF
41787 #define wxUSE_MEMORY_TRACING 1
41788 _ACEOF
41789
41790 cat >>confdefs.h <<\_ACEOF
41791 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41792 _ACEOF
41793
41794 cat >>confdefs.h <<\_ACEOF
41795 #define wxUSE_DEBUG_NEW_ALWAYS 1
41796 _ACEOF
41797
41798 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41799 fi
41800
41801 if test "$wxUSE_DMALLOC" = "yes" ; then
41802 DMALLOC_LIBS="-ldmallocthcxx"
41803 fi
41804
41805 PROFILE_FLAGS=
41806 if test "$wxUSE_PROFILE" = "yes" ; then
41807 PROFILE_FLAGS=" -pg"
41808 fi
41809
41810 if test "$GCC" = "yes" ; then
41811 if test "$wxUSE_NO_RTTI" = "yes" ; then
41812 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41813 fi
41814 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41815 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41816 fi
41817 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41818 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41819 fi
41820
41821 case "${host}" in
41822 powerpc*-*-aix* )
41823 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41824 ;;
41825 *-hppa* )
41826 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41827 ;;
41828 esac
41829 fi
41830
41831 OPTIMISE_CFLAGS=
41832 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
41833 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41834 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41835 else
41836 if test "$wxUSE_OPTIMISE" = "no" ; then
41837 if test "$GCC" = yes ; then
41838 OPTIMISE_CFLAGS="-O0"
41839 fi
41840 else
41841 if test "$GCC" = yes ; then
41842 case "${host}" in
41843 *-pc-os2_emx | *-pc-os2-emx )
41844 OPTIMISE_CFLAGS="-O2"
41845 ;;
41846 *)
41847 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41848 ;;
41849 esac
41850 else
41851 OPTIMISE_CFLAGS="-O"
41852 fi
41853 fi
41854 fi
41855
41856
41857 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41858 cat >>confdefs.h <<\_ACEOF
41859 #define WXWIN_COMPATIBILITY_2_6 1
41860 _ACEOF
41861
41862
41863 WXWIN_COMPATIBILITY_2_8="yes"
41864 fi
41865
41866 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41867 cat >>confdefs.h <<\_ACEOF
41868 #define WXWIN_COMPATIBILITY_2_8 1
41869 _ACEOF
41870
41871 fi
41872
41873
41874 if test "$wxUSE_GUI" = "yes"; then
41875 cat >>confdefs.h <<\_ACEOF
41876 #define wxUSE_GUI 1
41877 _ACEOF
41878
41879
41880 fi
41881
41882
41883 if test "$wxUSE_UNIX" = "yes"; then
41884 cat >>confdefs.h <<\_ACEOF
41885 #define wxUSE_UNIX 1
41886 _ACEOF
41887
41888 fi
41889
41890
41891 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41892
41893 HAVE_DL_FUNCS=0
41894 HAVE_SHL_FUNCS=0
41895 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41896 if test "$USE_DOS" = 1; then
41897 HAVE_DL_FUNCS=0
41898 else
41899
41900 for ac_func in dlopen
41901 do
41902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41903 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41905 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41906 echo $ECHO_N "(cached) $ECHO_C" >&6
41907 else
41908 cat >conftest.$ac_ext <<_ACEOF
41909 /* confdefs.h. */
41910 _ACEOF
41911 cat confdefs.h >>conftest.$ac_ext
41912 cat >>conftest.$ac_ext <<_ACEOF
41913 /* end confdefs.h. */
41914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41916 #define $ac_func innocuous_$ac_func
41917
41918 /* System header to define __stub macros and hopefully few prototypes,
41919 which can conflict with char $ac_func (); below.
41920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41921 <limits.h> exists even on freestanding compilers. */
41922
41923 #ifdef __STDC__
41924 # include <limits.h>
41925 #else
41926 # include <assert.h>
41927 #endif
41928
41929 #undef $ac_func
41930
41931 /* Override any GCC internal prototype to avoid an error.
41932 Use char because int might match the return type of a GCC
41933 builtin and then its argument prototype would still apply. */
41934 #ifdef __cplusplus
41935 extern "C"
41936 #endif
41937 char $ac_func ();
41938 /* The GNU C library defines this for functions which it implements
41939 to always fail with ENOSYS. Some functions are actually named
41940 something starting with __ and the normal name is an alias. */
41941 #if defined __stub_$ac_func || defined __stub___$ac_func
41942 choke me
41943 #endif
41944
41945 int
41946 main ()
41947 {
41948 return $ac_func ();
41949 ;
41950 return 0;
41951 }
41952 _ACEOF
41953 rm -f conftest.$ac_objext conftest$ac_exeext
41954 if { (ac_try="$ac_link"
41955 case "(($ac_try" in
41956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41957 *) ac_try_echo=$ac_try;;
41958 esac
41959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41960 (eval "$ac_link") 2>conftest.er1
41961 ac_status=$?
41962 grep -v '^ *+' conftest.er1 >conftest.err
41963 rm -f conftest.er1
41964 cat conftest.err >&5
41965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41966 (exit $ac_status); } && {
41967 test -z "$ac_c_werror_flag" ||
41968 test ! -s conftest.err
41969 } && test -s conftest$ac_exeext &&
41970 $as_test_x conftest$ac_exeext; then
41971 eval "$as_ac_var=yes"
41972 else
41973 echo "$as_me: failed program was:" >&5
41974 sed 's/^/| /' conftest.$ac_ext >&5
41975
41976 eval "$as_ac_var=no"
41977 fi
41978
41979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41980 conftest$ac_exeext conftest.$ac_ext
41981 fi
41982 ac_res=`eval echo '${'$as_ac_var'}'`
41983 { echo "$as_me:$LINENO: result: $ac_res" >&5
41984 echo "${ECHO_T}$ac_res" >&6; }
41985 if test `eval echo '${'$as_ac_var'}'` = yes; then
41986 cat >>confdefs.h <<_ACEOF
41987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41988 _ACEOF
41989
41990 cat >>confdefs.h <<\_ACEOF
41991 #define HAVE_DLOPEN 1
41992 _ACEOF
41993
41994 HAVE_DL_FUNCS=1
41995
41996 else
41997
41998 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41999 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42000 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42001 echo $ECHO_N "(cached) $ECHO_C" >&6
42002 else
42003 ac_check_lib_save_LIBS=$LIBS
42004 LIBS="-ldl $LIBS"
42005 cat >conftest.$ac_ext <<_ACEOF
42006 /* confdefs.h. */
42007 _ACEOF
42008 cat confdefs.h >>conftest.$ac_ext
42009 cat >>conftest.$ac_ext <<_ACEOF
42010 /* end confdefs.h. */
42011
42012 /* Override any GCC internal prototype to avoid an error.
42013 Use char because int might match the return type of a GCC
42014 builtin and then its argument prototype would still apply. */
42015 #ifdef __cplusplus
42016 extern "C"
42017 #endif
42018 char dlopen ();
42019 int
42020 main ()
42021 {
42022 return dlopen ();
42023 ;
42024 return 0;
42025 }
42026 _ACEOF
42027 rm -f conftest.$ac_objext conftest$ac_exeext
42028 if { (ac_try="$ac_link"
42029 case "(($ac_try" in
42030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42031 *) ac_try_echo=$ac_try;;
42032 esac
42033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42034 (eval "$ac_link") 2>conftest.er1
42035 ac_status=$?
42036 grep -v '^ *+' conftest.er1 >conftest.err
42037 rm -f conftest.er1
42038 cat conftest.err >&5
42039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42040 (exit $ac_status); } && {
42041 test -z "$ac_c_werror_flag" ||
42042 test ! -s conftest.err
42043 } && test -s conftest$ac_exeext &&
42044 $as_test_x conftest$ac_exeext; then
42045 ac_cv_lib_dl_dlopen=yes
42046 else
42047 echo "$as_me: failed program was:" >&5
42048 sed 's/^/| /' conftest.$ac_ext >&5
42049
42050 ac_cv_lib_dl_dlopen=no
42051 fi
42052
42053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42054 conftest$ac_exeext conftest.$ac_ext
42055 LIBS=$ac_check_lib_save_LIBS
42056 fi
42057 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42058 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42059 if test $ac_cv_lib_dl_dlopen = yes; then
42060
42061 cat >>confdefs.h <<\_ACEOF
42062 #define HAVE_DLOPEN 1
42063 _ACEOF
42064
42065 HAVE_DL_FUNCS=1
42066 DL_LINK=" -ldl$DL_LINK"
42067
42068 else
42069
42070
42071 for ac_func in shl_load
42072 do
42073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42074 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42076 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42077 echo $ECHO_N "(cached) $ECHO_C" >&6
42078 else
42079 cat >conftest.$ac_ext <<_ACEOF
42080 /* confdefs.h. */
42081 _ACEOF
42082 cat confdefs.h >>conftest.$ac_ext
42083 cat >>conftest.$ac_ext <<_ACEOF
42084 /* end confdefs.h. */
42085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42087 #define $ac_func innocuous_$ac_func
42088
42089 /* System header to define __stub macros and hopefully few prototypes,
42090 which can conflict with char $ac_func (); below.
42091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42092 <limits.h> exists even on freestanding compilers. */
42093
42094 #ifdef __STDC__
42095 # include <limits.h>
42096 #else
42097 # include <assert.h>
42098 #endif
42099
42100 #undef $ac_func
42101
42102 /* Override any GCC internal prototype to avoid an error.
42103 Use char because int might match the return type of a GCC
42104 builtin and then its argument prototype would still apply. */
42105 #ifdef __cplusplus
42106 extern "C"
42107 #endif
42108 char $ac_func ();
42109 /* The GNU C library defines this for functions which it implements
42110 to always fail with ENOSYS. Some functions are actually named
42111 something starting with __ and the normal name is an alias. */
42112 #if defined __stub_$ac_func || defined __stub___$ac_func
42113 choke me
42114 #endif
42115
42116 int
42117 main ()
42118 {
42119 return $ac_func ();
42120 ;
42121 return 0;
42122 }
42123 _ACEOF
42124 rm -f conftest.$ac_objext conftest$ac_exeext
42125 if { (ac_try="$ac_link"
42126 case "(($ac_try" in
42127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42128 *) ac_try_echo=$ac_try;;
42129 esac
42130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42131 (eval "$ac_link") 2>conftest.er1
42132 ac_status=$?
42133 grep -v '^ *+' conftest.er1 >conftest.err
42134 rm -f conftest.er1
42135 cat conftest.err >&5
42136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42137 (exit $ac_status); } && {
42138 test -z "$ac_c_werror_flag" ||
42139 test ! -s conftest.err
42140 } && test -s conftest$ac_exeext &&
42141 $as_test_x conftest$ac_exeext; then
42142 eval "$as_ac_var=yes"
42143 else
42144 echo "$as_me: failed program was:" >&5
42145 sed 's/^/| /' conftest.$ac_ext >&5
42146
42147 eval "$as_ac_var=no"
42148 fi
42149
42150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42151 conftest$ac_exeext conftest.$ac_ext
42152 fi
42153 ac_res=`eval echo '${'$as_ac_var'}'`
42154 { echo "$as_me:$LINENO: result: $ac_res" >&5
42155 echo "${ECHO_T}$ac_res" >&6; }
42156 if test `eval echo '${'$as_ac_var'}'` = yes; then
42157 cat >>confdefs.h <<_ACEOF
42158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42159 _ACEOF
42160
42161 cat >>confdefs.h <<\_ACEOF
42162 #define HAVE_SHL_LOAD 1
42163 _ACEOF
42164
42165 HAVE_SHL_FUNCS=1
42166
42167 else
42168
42169 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42170 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42171 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42172 echo $ECHO_N "(cached) $ECHO_C" >&6
42173 else
42174 ac_check_lib_save_LIBS=$LIBS
42175 LIBS="-lshl_load $LIBS"
42176 cat >conftest.$ac_ext <<_ACEOF
42177 /* confdefs.h. */
42178 _ACEOF
42179 cat confdefs.h >>conftest.$ac_ext
42180 cat >>conftest.$ac_ext <<_ACEOF
42181 /* end confdefs.h. */
42182
42183 /* Override any GCC internal prototype to avoid an error.
42184 Use char because int might match the return type of a GCC
42185 builtin and then its argument prototype would still apply. */
42186 #ifdef __cplusplus
42187 extern "C"
42188 #endif
42189 char dld ();
42190 int
42191 main ()
42192 {
42193 return dld ();
42194 ;
42195 return 0;
42196 }
42197 _ACEOF
42198 rm -f conftest.$ac_objext conftest$ac_exeext
42199 if { (ac_try="$ac_link"
42200 case "(($ac_try" in
42201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42202 *) ac_try_echo=$ac_try;;
42203 esac
42204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42205 (eval "$ac_link") 2>conftest.er1
42206 ac_status=$?
42207 grep -v '^ *+' conftest.er1 >conftest.err
42208 rm -f conftest.er1
42209 cat conftest.err >&5
42210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42211 (exit $ac_status); } && {
42212 test -z "$ac_c_werror_flag" ||
42213 test ! -s conftest.err
42214 } && test -s conftest$ac_exeext &&
42215 $as_test_x conftest$ac_exeext; then
42216 ac_cv_lib_shl_load_dld=yes
42217 else
42218 echo "$as_me: failed program was:" >&5
42219 sed 's/^/| /' conftest.$ac_ext >&5
42220
42221 ac_cv_lib_shl_load_dld=no
42222 fi
42223
42224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42225 conftest$ac_exeext conftest.$ac_ext
42226 LIBS=$ac_check_lib_save_LIBS
42227 fi
42228 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42229 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42230 if test $ac_cv_lib_shl_load_dld = yes; then
42231
42232 HAVE_SHL_FUNCS=1
42233 DL_LINK=" -ldld$DL_LINK"
42234
42235 fi
42236
42237
42238 fi
42239 done
42240
42241
42242 fi
42243
42244
42245 fi
42246 done
42247
42248
42249 if test "$HAVE_DL_FUNCS" = 1; then
42250
42251 for ac_func in dlerror
42252 do
42253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42254 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42256 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42257 echo $ECHO_N "(cached) $ECHO_C" >&6
42258 else
42259 cat >conftest.$ac_ext <<_ACEOF
42260 /* confdefs.h. */
42261 _ACEOF
42262 cat confdefs.h >>conftest.$ac_ext
42263 cat >>conftest.$ac_ext <<_ACEOF
42264 /* end confdefs.h. */
42265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42267 #define $ac_func innocuous_$ac_func
42268
42269 /* System header to define __stub macros and hopefully few prototypes,
42270 which can conflict with char $ac_func (); below.
42271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42272 <limits.h> exists even on freestanding compilers. */
42273
42274 #ifdef __STDC__
42275 # include <limits.h>
42276 #else
42277 # include <assert.h>
42278 #endif
42279
42280 #undef $ac_func
42281
42282 /* Override any GCC internal prototype to avoid an error.
42283 Use char because int might match the return type of a GCC
42284 builtin and then its argument prototype would still apply. */
42285 #ifdef __cplusplus
42286 extern "C"
42287 #endif
42288 char $ac_func ();
42289 /* The GNU C library defines this for functions which it implements
42290 to always fail with ENOSYS. Some functions are actually named
42291 something starting with __ and the normal name is an alias. */
42292 #if defined __stub_$ac_func || defined __stub___$ac_func
42293 choke me
42294 #endif
42295
42296 int
42297 main ()
42298 {
42299 return $ac_func ();
42300 ;
42301 return 0;
42302 }
42303 _ACEOF
42304 rm -f conftest.$ac_objext conftest$ac_exeext
42305 if { (ac_try="$ac_link"
42306 case "(($ac_try" in
42307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42308 *) ac_try_echo=$ac_try;;
42309 esac
42310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42311 (eval "$ac_link") 2>conftest.er1
42312 ac_status=$?
42313 grep -v '^ *+' conftest.er1 >conftest.err
42314 rm -f conftest.er1
42315 cat conftest.err >&5
42316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42317 (exit $ac_status); } && {
42318 test -z "$ac_c_werror_flag" ||
42319 test ! -s conftest.err
42320 } && test -s conftest$ac_exeext &&
42321 $as_test_x conftest$ac_exeext; then
42322 eval "$as_ac_var=yes"
42323 else
42324 echo "$as_me: failed program was:" >&5
42325 sed 's/^/| /' conftest.$ac_ext >&5
42326
42327 eval "$as_ac_var=no"
42328 fi
42329
42330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42331 conftest$ac_exeext conftest.$ac_ext
42332 fi
42333 ac_res=`eval echo '${'$as_ac_var'}'`
42334 { echo "$as_me:$LINENO: result: $ac_res" >&5
42335 echo "${ECHO_T}$ac_res" >&6; }
42336 if test `eval echo '${'$as_ac_var'}'` = yes; then
42337 cat >>confdefs.h <<_ACEOF
42338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42339 _ACEOF
42340 cat >>confdefs.h <<\_ACEOF
42341 #define HAVE_DLERROR 1
42342 _ACEOF
42343
42344 else
42345
42346 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42347 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42348 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42349 echo $ECHO_N "(cached) $ECHO_C" >&6
42350 else
42351 ac_check_lib_save_LIBS=$LIBS
42352 LIBS="-ldl $LIBS"
42353 cat >conftest.$ac_ext <<_ACEOF
42354 /* confdefs.h. */
42355 _ACEOF
42356 cat confdefs.h >>conftest.$ac_ext
42357 cat >>conftest.$ac_ext <<_ACEOF
42358 /* end confdefs.h. */
42359
42360 /* Override any GCC internal prototype to avoid an error.
42361 Use char because int might match the return type of a GCC
42362 builtin and then its argument prototype would still apply. */
42363 #ifdef __cplusplus
42364 extern "C"
42365 #endif
42366 char dlerror ();
42367 int
42368 main ()
42369 {
42370 return dlerror ();
42371 ;
42372 return 0;
42373 }
42374 _ACEOF
42375 rm -f conftest.$ac_objext conftest$ac_exeext
42376 if { (ac_try="$ac_link"
42377 case "(($ac_try" in
42378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42379 *) ac_try_echo=$ac_try;;
42380 esac
42381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42382 (eval "$ac_link") 2>conftest.er1
42383 ac_status=$?
42384 grep -v '^ *+' conftest.er1 >conftest.err
42385 rm -f conftest.er1
42386 cat conftest.err >&5
42387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42388 (exit $ac_status); } && {
42389 test -z "$ac_c_werror_flag" ||
42390 test ! -s conftest.err
42391 } && test -s conftest$ac_exeext &&
42392 $as_test_x conftest$ac_exeext; then
42393 ac_cv_lib_dl_dlerror=yes
42394 else
42395 echo "$as_me: failed program was:" >&5
42396 sed 's/^/| /' conftest.$ac_ext >&5
42397
42398 ac_cv_lib_dl_dlerror=no
42399 fi
42400
42401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42402 conftest$ac_exeext conftest.$ac_ext
42403 LIBS=$ac_check_lib_save_LIBS
42404 fi
42405 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42406 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42407 if test $ac_cv_lib_dl_dlerror = yes; then
42408 cat >>confdefs.h <<\_ACEOF
42409 #define HAVE_DLERROR 1
42410 _ACEOF
42411
42412 fi
42413
42414
42415
42416 fi
42417 done
42418
42419 fi
42420 fi
42421
42422 if test "$USE_DARWIN" = 1; then
42423 HAVE_DL_FUNCS=1
42424 fi
42425
42426 if test "$HAVE_DL_FUNCS" = 0; then
42427 if test "$HAVE_SHL_FUNCS" = 0; then
42428 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42429 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42430 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42431 wxUSE_DYNAMIC_LOADER=no
42432 wxUSE_DYNLIB_CLASS=no
42433 else
42434 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42435 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42436 fi
42437 fi
42438 fi
42439 fi
42440 fi
42441
42442 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42443 cat >>confdefs.h <<\_ACEOF
42444 #define wxUSE_DYNAMIC_LOADER 1
42445 _ACEOF
42446
42447 fi
42448 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42449 cat >>confdefs.h <<\_ACEOF
42450 #define wxUSE_DYNLIB_CLASS 1
42451 _ACEOF
42452
42453 fi
42454
42455
42456
42457 if test "$wxUSE_PLUGINS" = "yes" ; then
42458 if test "$wxUSE_SHARED" = "no" ; then
42459 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42460 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42461 wxUSE_PLUGINS=no
42462 fi
42463 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42464 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42465 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42466 wxUSE_PLUGINS=no
42467 fi
42468 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42469 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42470 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42471 wxUSE_PLUGINS=no
42472 fi
42473 if test "$wxUSE_PLUGINS" = "yes" ; then
42474 cat >>confdefs.h <<\_ACEOF
42475 #define wxUSE_PLUGINS 1
42476 _ACEOF
42477
42478 fi
42479 fi
42480
42481
42482 if test "$wxUSE_FSWATCHER" = "yes"; then
42483 cat >>confdefs.h <<\_ACEOF
42484 #define wxUSE_FSWATCHER 1
42485 _ACEOF
42486
42487 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
42488
42489 if test "$wxUSE_UNIX" = "yes"; then
42490
42491 for ac_header in sys/inotify.h
42492 do
42493 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42494 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42496 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42497 echo $ECHO_N "(cached) $ECHO_C" >&6
42498 else
42499 cat >conftest.$ac_ext <<_ACEOF
42500 /* confdefs.h. */
42501 _ACEOF
42502 cat confdefs.h >>conftest.$ac_ext
42503 cat >>conftest.$ac_ext <<_ACEOF
42504 /* end confdefs.h. */
42505 $ac_includes_default
42506
42507 #include <$ac_header>
42508 _ACEOF
42509 rm -f conftest.$ac_objext
42510 if { (ac_try="$ac_compile"
42511 case "(($ac_try" in
42512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42513 *) ac_try_echo=$ac_try;;
42514 esac
42515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42516 (eval "$ac_compile") 2>conftest.er1
42517 ac_status=$?
42518 grep -v '^ *+' conftest.er1 >conftest.err
42519 rm -f conftest.er1
42520 cat conftest.err >&5
42521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42522 (exit $ac_status); } && {
42523 test -z "$ac_c_werror_flag" ||
42524 test ! -s conftest.err
42525 } && test -s conftest.$ac_objext; then
42526 eval "$as_ac_Header=yes"
42527 else
42528 echo "$as_me: failed program was:" >&5
42529 sed 's/^/| /' conftest.$ac_ext >&5
42530
42531 eval "$as_ac_Header=no"
42532 fi
42533
42534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42535 fi
42536 ac_res=`eval echo '${'$as_ac_Header'}'`
42537 { echo "$as_me:$LINENO: result: $ac_res" >&5
42538 echo "${ECHO_T}$ac_res" >&6; }
42539 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42540 cat >>confdefs.h <<_ACEOF
42541 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42542 _ACEOF
42543
42544 fi
42545
42546 done
42547
42548 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
42549 cat >>confdefs.h <<\_ACEOF
42550 #define wxHAS_INOTIFY 1
42551 _ACEOF
42552
42553 else
42554
42555 for ac_header in sys/event.h
42556 do
42557 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42558 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42560 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42561 echo $ECHO_N "(cached) $ECHO_C" >&6
42562 else
42563 cat >conftest.$ac_ext <<_ACEOF
42564 /* confdefs.h. */
42565 _ACEOF
42566 cat confdefs.h >>conftest.$ac_ext
42567 cat >>conftest.$ac_ext <<_ACEOF
42568 /* end confdefs.h. */
42569 $ac_includes_default
42570
42571 #include <$ac_header>
42572 _ACEOF
42573 rm -f conftest.$ac_objext
42574 if { (ac_try="$ac_compile"
42575 case "(($ac_try" in
42576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42577 *) ac_try_echo=$ac_try;;
42578 esac
42579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42580 (eval "$ac_compile") 2>conftest.er1
42581 ac_status=$?
42582 grep -v '^ *+' conftest.er1 >conftest.err
42583 rm -f conftest.er1
42584 cat conftest.err >&5
42585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42586 (exit $ac_status); } && {
42587 test -z "$ac_c_werror_flag" ||
42588 test ! -s conftest.err
42589 } && test -s conftest.$ac_objext; then
42590 eval "$as_ac_Header=yes"
42591 else
42592 echo "$as_me: failed program was:" >&5
42593 sed 's/^/| /' conftest.$ac_ext >&5
42594
42595 eval "$as_ac_Header=no"
42596 fi
42597
42598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42599 fi
42600 ac_res=`eval echo '${'$as_ac_Header'}'`
42601 { echo "$as_me:$LINENO: result: $ac_res" >&5
42602 echo "${ECHO_T}$ac_res" >&6; }
42603 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42604 cat >>confdefs.h <<_ACEOF
42605 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42606 _ACEOF
42607
42608 fi
42609
42610 done
42611
42612 if test "$ac_cv_header_sys_event_h" = "yes"; then
42613 cat >>confdefs.h <<\_ACEOF
42614 #define wxHAS_KQUEUE 1
42615 _ACEOF
42616
42617 else
42618 { echo "$as_me:$LINENO: WARNING: No native wxFileSystemWatcher implementation available for on this platform" >&5
42619 echo "$as_me: WARNING: No native wxFileSystemWatcher implementation available for on this platform" >&2;}
42620 fi
42621 fi
42622 fi
42623 fi
42624
42625
42626 if test "$wxUSE_STL" = "yes"; then
42627 cat >>confdefs.h <<\_ACEOF
42628 #define wxUSE_STL 1
42629 _ACEOF
42630
42631 fi
42632
42633 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42634 cat >>confdefs.h <<\_ACEOF
42635 #define wxUSE_EXTENDED_RTTI 1
42636 _ACEOF
42637
42638 fi
42639
42640 if test "$wxUSE_ANY" = "yes"; then
42641 cat >>confdefs.h <<\_ACEOF
42642 #define wxUSE_ANY 1
42643 _ACEOF
42644
42645 fi
42646
42647 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42648 cat >>confdefs.h <<\_ACEOF
42649 #define wxUSE_APPLE_IEEE 1
42650 _ACEOF
42651
42652 fi
42653
42654 if test "$wxUSE_TIMER" = "yes"; then
42655 cat >>confdefs.h <<\_ACEOF
42656 #define wxUSE_TIMER 1
42657 _ACEOF
42658
42659 fi
42660
42661 if test "$USE_UNIX" = 1 ; then
42662 if test "$wxUSE_MGL" != 1; then
42663 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42664 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42665 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42666 echo $ECHO_N "(cached) $ECHO_C" >&6
42667 else
42668
42669 cat >conftest.$ac_ext <<_ACEOF
42670 /* confdefs.h. */
42671 _ACEOF
42672 cat confdefs.h >>conftest.$ac_ext
42673 cat >>conftest.$ac_ext <<_ACEOF
42674 /* end confdefs.h. */
42675
42676 #include <sys/ioctl.h>
42677 #include <sys/soundcard.h>
42678
42679 int
42680 main ()
42681 {
42682
42683 ioctl(0, SNDCTL_DSP_SPEED, 0);
42684
42685 ;
42686 return 0;
42687 }
42688 _ACEOF
42689 rm -f conftest.$ac_objext conftest$ac_exeext
42690 if { (ac_try="$ac_link"
42691 case "(($ac_try" in
42692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42693 *) ac_try_echo=$ac_try;;
42694 esac
42695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42696 (eval "$ac_link") 2>conftest.er1
42697 ac_status=$?
42698 grep -v '^ *+' conftest.er1 >conftest.err
42699 rm -f conftest.er1
42700 cat conftest.err >&5
42701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42702 (exit $ac_status); } && {
42703 test -z "$ac_c_werror_flag" ||
42704 test ! -s conftest.err
42705 } && test -s conftest$ac_exeext &&
42706 $as_test_x conftest$ac_exeext; then
42707 ac_cv_header_sys_soundcard=yes
42708 else
42709 echo "$as_me: failed program was:" >&5
42710 sed 's/^/| /' conftest.$ac_ext >&5
42711
42712
42713 saveLibs="$LIBS"
42714 LIBS="$saveLibs -lossaudio"
42715 cat >conftest.$ac_ext <<_ACEOF
42716 /* confdefs.h. */
42717 _ACEOF
42718 cat confdefs.h >>conftest.$ac_ext
42719 cat >>conftest.$ac_ext <<_ACEOF
42720 /* end confdefs.h. */
42721
42722 #include <sys/ioctl.h>
42723 #include <sys/soundcard.h>
42724
42725 int
42726 main ()
42727 {
42728
42729 ioctl(0, SNDCTL_DSP_SPEED, 0);
42730
42731 ;
42732 return 0;
42733 }
42734 _ACEOF
42735 rm -f conftest.$ac_objext conftest$ac_exeext
42736 if { (ac_try="$ac_link"
42737 case "(($ac_try" in
42738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42739 *) ac_try_echo=$ac_try;;
42740 esac
42741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42742 (eval "$ac_link") 2>conftest.er1
42743 ac_status=$?
42744 grep -v '^ *+' conftest.er1 >conftest.err
42745 rm -f conftest.er1
42746 cat conftest.err >&5
42747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42748 (exit $ac_status); } && {
42749 test -z "$ac_c_werror_flag" ||
42750 test ! -s conftest.err
42751 } && test -s conftest$ac_exeext &&
42752 $as_test_x conftest$ac_exeext; then
42753 ac_cv_header_sys_soundcard=yes
42754 else
42755 echo "$as_me: failed program was:" >&5
42756 sed 's/^/| /' conftest.$ac_ext >&5
42757
42758
42759 LIBS="$saveLibs"
42760 ac_cv_header_sys_soundcard=no
42761
42762
42763 fi
42764
42765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42766 conftest$ac_exeext conftest.$ac_ext
42767
42768
42769 fi
42770
42771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42772 conftest$ac_exeext conftest.$ac_ext
42773
42774 fi
42775 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42776 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42777 fi
42778
42779 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42780 cat >>confdefs.h <<\_ACEOF
42781 #define HAVE_SYS_SOUNDCARD_H 1
42782 _ACEOF
42783
42784 fi
42785 fi
42786
42787 WITH_PLUGIN_SDL=0
42788 if test "$wxUSE_SOUND" = "yes"; then
42789 if test "$USE_UNIX" = 1 ; then
42790 if test "$wxUSE_LIBSDL" != "no"; then
42791
42792 # Check whether --with-sdl-prefix was given.
42793 if test "${with_sdl_prefix+set}" = set; then
42794 withval=$with_sdl_prefix; sdl_prefix="$withval"
42795 else
42796 sdl_prefix=""
42797 fi
42798
42799
42800 # Check whether --with-sdl-exec-prefix was given.
42801 if test "${with_sdl_exec_prefix+set}" = set; then
42802 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42803 else
42804 sdl_exec_prefix=""
42805 fi
42806
42807 # Check whether --enable-sdltest was given.
42808 if test "${enable_sdltest+set}" = set; then
42809 enableval=$enable_sdltest;
42810 else
42811 enable_sdltest=yes
42812 fi
42813
42814
42815 if test x$sdl_exec_prefix != x ; then
42816 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42817 if test x${SDL_CONFIG+set} != xset ; then
42818 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42819 fi
42820 fi
42821 if test x$sdl_prefix != x ; then
42822 sdl_args="$sdl_args --prefix=$sdl_prefix"
42823 if test x${SDL_CONFIG+set} != xset ; then
42824 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42825 fi
42826 fi
42827
42828 if test "x$prefix" != xNONE; then
42829 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42830 fi
42831 # Extract the first word of "sdl-config", so it can be a program name with args.
42832 set dummy sdl-config; ac_word=$2
42833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42835 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42836 echo $ECHO_N "(cached) $ECHO_C" >&6
42837 else
42838 case $SDL_CONFIG in
42839 [\\/]* | ?:[\\/]*)
42840 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42841 ;;
42842 *)
42843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42844 for as_dir in $PATH
42845 do
42846 IFS=$as_save_IFS
42847 test -z "$as_dir" && as_dir=.
42848 for ac_exec_ext in '' $ac_executable_extensions; do
42849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42850 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42852 break 2
42853 fi
42854 done
42855 done
42856 IFS=$as_save_IFS
42857
42858 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42859 ;;
42860 esac
42861 fi
42862 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42863 if test -n "$SDL_CONFIG"; then
42864 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42865 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42866 else
42867 { echo "$as_me:$LINENO: result: no" >&5
42868 echo "${ECHO_T}no" >&6; }
42869 fi
42870
42871
42872 min_sdl_version=1.2.0
42873 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42874 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42875 no_sdl=""
42876 if test "$SDL_CONFIG" = "no" ; then
42877 no_sdl=yes
42878 else
42879 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42880 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42881
42882 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42883 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42884 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42885 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42886 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42887 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42888 if test "x$enable_sdltest" = "xyes" ; then
42889 ac_save_CFLAGS="$CFLAGS"
42890 ac_save_CXXFLAGS="$CXXFLAGS"
42891 ac_save_LIBS="$LIBS"
42892 CFLAGS="$CFLAGS $SDL_CFLAGS"
42893 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42894 LIBS="$LIBS $SDL_LIBS"
42895 rm -f conf.sdltest
42896 if test "$cross_compiling" = yes; then
42897 echo $ac_n "cross compiling; assumed OK... $ac_c"
42898 else
42899 cat >conftest.$ac_ext <<_ACEOF
42900 /* confdefs.h. */
42901 _ACEOF
42902 cat confdefs.h >>conftest.$ac_ext
42903 cat >>conftest.$ac_ext <<_ACEOF
42904 /* end confdefs.h. */
42905
42906 #include <stdio.h>
42907 #include <stdlib.h>
42908 #include <string.h>
42909 #include "SDL.h"
42910
42911 char*
42912 my_strdup (char *str)
42913 {
42914 char *new_str;
42915
42916 if (str)
42917 {
42918 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42919 strcpy (new_str, str);
42920 }
42921 else
42922 new_str = NULL;
42923
42924 return new_str;
42925 }
42926
42927 int main (int argc, char *argv[])
42928 {
42929 int major, minor, micro;
42930 char *tmp_version;
42931
42932 /* This hangs on some systems (?)
42933 system ("touch conf.sdltest");
42934 */
42935 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42936
42937 /* HP/UX 9 (%@#!) writes to sscanf strings */
42938 tmp_version = my_strdup("$min_sdl_version");
42939 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42940 printf("%s, bad version string\n", "$min_sdl_version");
42941 exit(1);
42942 }
42943
42944 if (($sdl_major_version > major) ||
42945 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42946 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42947 {
42948 return 0;
42949 }
42950 else
42951 {
42952 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42953 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42954 printf("*** best to upgrade to the required version.\n");
42955 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42956 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42957 printf("*** config.cache before re-running configure\n");
42958 return 1;
42959 }
42960 }
42961
42962
42963 _ACEOF
42964 rm -f conftest$ac_exeext
42965 if { (ac_try="$ac_link"
42966 case "(($ac_try" in
42967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42968 *) ac_try_echo=$ac_try;;
42969 esac
42970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42971 (eval "$ac_link") 2>&5
42972 ac_status=$?
42973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42974 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42975 { (case "(($ac_try" in
42976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42977 *) ac_try_echo=$ac_try;;
42978 esac
42979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42980 (eval "$ac_try") 2>&5
42981 ac_status=$?
42982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42983 (exit $ac_status); }; }; then
42984 :
42985 else
42986 echo "$as_me: program exited with status $ac_status" >&5
42987 echo "$as_me: failed program was:" >&5
42988 sed 's/^/| /' conftest.$ac_ext >&5
42989
42990 ( exit $ac_status )
42991 no_sdl=yes
42992 fi
42993 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42994 fi
42995
42996
42997 CFLAGS="$ac_save_CFLAGS"
42998 CXXFLAGS="$ac_save_CXXFLAGS"
42999 LIBS="$ac_save_LIBS"
43000 fi
43001 fi
43002 if test "x$no_sdl" = x ; then
43003 { echo "$as_me:$LINENO: result: yes" >&5
43004 echo "${ECHO_T}yes" >&6; }
43005
43006 EXTRALIBS_SDL="$SDL_LIBS"
43007 CFLAGS="$SDL_CFLAGS $CFLAGS"
43008 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43009 cat >>confdefs.h <<\_ACEOF
43010 #define wxUSE_LIBSDL 1
43011 _ACEOF
43012
43013
43014 else
43015 { echo "$as_me:$LINENO: result: no" >&5
43016 echo "${ECHO_T}no" >&6; }
43017 if test "$SDL_CONFIG" = "no" ; then
43018 echo "*** The sdl-config script installed by SDL could not be found"
43019 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43020 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43021 echo "*** full path to sdl-config."
43022 else
43023 if test -f conf.sdltest ; then
43024 :
43025 else
43026 echo "*** Could not run SDL test program, checking why..."
43027 CFLAGS="$CFLAGS $SDL_CFLAGS"
43028 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43029 LIBS="$LIBS $SDL_LIBS"
43030 cat >conftest.$ac_ext <<_ACEOF
43031 /* confdefs.h. */
43032 _ACEOF
43033 cat confdefs.h >>conftest.$ac_ext
43034 cat >>conftest.$ac_ext <<_ACEOF
43035 /* end confdefs.h. */
43036
43037 #include <stdio.h>
43038 #include "SDL.h"
43039
43040 int main(int argc, char *argv[])
43041 { return 0; }
43042 #undef main
43043 #define main K_and_R_C_main
43044
43045 int
43046 main ()
43047 {
43048 return 0;
43049 ;
43050 return 0;
43051 }
43052 _ACEOF
43053 rm -f conftest.$ac_objext conftest$ac_exeext
43054 if { (ac_try="$ac_link"
43055 case "(($ac_try" in
43056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43057 *) ac_try_echo=$ac_try;;
43058 esac
43059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43060 (eval "$ac_link") 2>conftest.er1
43061 ac_status=$?
43062 grep -v '^ *+' conftest.er1 >conftest.err
43063 rm -f conftest.er1
43064 cat conftest.err >&5
43065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43066 (exit $ac_status); } && {
43067 test -z "$ac_c_werror_flag" ||
43068 test ! -s conftest.err
43069 } && test -s conftest$ac_exeext &&
43070 $as_test_x conftest$ac_exeext; then
43071 echo "*** The test program compiled, but did not run. This usually means"
43072 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43073 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43074 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43075 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43076 echo "*** is required on your system"
43077 echo "***"
43078 echo "*** If you have an old version installed, it is best to remove it, although"
43079 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43080 else
43081 echo "$as_me: failed program was:" >&5
43082 sed 's/^/| /' conftest.$ac_ext >&5
43083
43084 echo "*** The test program failed to compile or link. See the file config.log for the"
43085 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43086 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43087 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43088 fi
43089
43090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43091 conftest$ac_exeext conftest.$ac_ext
43092 CFLAGS="$ac_save_CFLAGS"
43093 CXXFLAGS="$ac_save_CXXFLAGS"
43094 LIBS="$ac_save_LIBS"
43095 fi
43096 fi
43097 SDL_CFLAGS=""
43098 SDL_LIBS=""
43099 wxUSE_LIBSDL="no"
43100 fi
43101
43102
43103 rm -f conf.sdltest
43104
43105 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43106 WITH_PLUGIN_SDL=1
43107 fi
43108 fi
43109 else
43110 if test "$wxUSE_MGL" = 1; then
43111 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43112 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43113 wxUSE_SOUND="no"
43114 fi
43115 fi
43116 fi
43117
43118 if test "$wxUSE_SOUND" = "yes"; then
43119 cat >>confdefs.h <<\_ACEOF
43120 #define wxUSE_SOUND 1
43121 _ACEOF
43122
43123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43124 fi
43125
43126 if test "$WXGTK2" = 1; then
43127
43128
43129 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43130 if test -n "$ac_tool_prefix"; then
43131 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43132 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43135 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43136 echo $ECHO_N "(cached) $ECHO_C" >&6
43137 else
43138 case $PKG_CONFIG in
43139 [\\/]* | ?:[\\/]*)
43140 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43141 ;;
43142 *)
43143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43144 for as_dir in $PATH
43145 do
43146 IFS=$as_save_IFS
43147 test -z "$as_dir" && as_dir=.
43148 for ac_exec_ext in '' $ac_executable_extensions; do
43149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43150 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43152 break 2
43153 fi
43154 done
43155 done
43156 IFS=$as_save_IFS
43157
43158 ;;
43159 esac
43160 fi
43161 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43162 if test -n "$PKG_CONFIG"; then
43163 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43164 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43165 else
43166 { echo "$as_me:$LINENO: result: no" >&5
43167 echo "${ECHO_T}no" >&6; }
43168 fi
43169
43170
43171 fi
43172 if test -z "$ac_cv_path_PKG_CONFIG"; then
43173 ac_pt_PKG_CONFIG=$PKG_CONFIG
43174 # Extract the first word of "pkg-config", so it can be a program name with args.
43175 set dummy pkg-config; ac_word=$2
43176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43178 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43179 echo $ECHO_N "(cached) $ECHO_C" >&6
43180 else
43181 case $ac_pt_PKG_CONFIG in
43182 [\\/]* | ?:[\\/]*)
43183 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43184 ;;
43185 *)
43186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43187 for as_dir in $PATH
43188 do
43189 IFS=$as_save_IFS
43190 test -z "$as_dir" && as_dir=.
43191 for ac_exec_ext in '' $ac_executable_extensions; do
43192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43193 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43195 break 2
43196 fi
43197 done
43198 done
43199 IFS=$as_save_IFS
43200
43201 ;;
43202 esac
43203 fi
43204 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43205 if test -n "$ac_pt_PKG_CONFIG"; then
43206 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43207 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43208 else
43209 { echo "$as_me:$LINENO: result: no" >&5
43210 echo "${ECHO_T}no" >&6; }
43211 fi
43212
43213 if test "x$ac_pt_PKG_CONFIG" = x; then
43214 PKG_CONFIG=""
43215 else
43216 case $cross_compiling:$ac_tool_warned in
43217 yes:)
43218 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43219 whose name does not start with the host triplet. If you think this
43220 configuration is useful to you, please write to autoconf@gnu.org." >&5
43221 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43222 whose name does not start with the host triplet. If you think this
43223 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43224 ac_tool_warned=yes ;;
43225 esac
43226 PKG_CONFIG=$ac_pt_PKG_CONFIG
43227 fi
43228 else
43229 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43230 fi
43231
43232 fi
43233 if test -n "$PKG_CONFIG"; then
43234 _pkg_min_version=0.9.0
43235 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43236 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43237 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43238 { echo "$as_me:$LINENO: result: yes" >&5
43239 echo "${ECHO_T}yes" >&6; }
43240 else
43241 { echo "$as_me:$LINENO: result: no" >&5
43242 echo "${ECHO_T}no" >&6; }
43243 PKG_CONFIG=""
43244 fi
43245
43246 fi
43247
43248 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43249
43250 if test "$wxUSE_GTKPRINT" = "yes" ; then
43251
43252
43253 pkg_failed=no
43254 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
43255 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
43256
43257 if test -n "$PKG_CONFIG"; then
43258 if test -n "$GTKPRINT_CFLAGS"; then
43259 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
43260 else
43261 if test -n "$PKG_CONFIG" && \
43262 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43263 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43264 ac_status=$?
43265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43266 (exit $ac_status); }; then
43267 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43268 else
43269 pkg_failed=yes
43270 fi
43271 fi
43272 else
43273 pkg_failed=untried
43274 fi
43275 if test -n "$PKG_CONFIG"; then
43276 if test -n "$GTKPRINT_LIBS"; then
43277 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
43278 else
43279 if test -n "$PKG_CONFIG" && \
43280 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43281 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43282 ac_status=$?
43283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43284 (exit $ac_status); }; then
43285 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43286 else
43287 pkg_failed=yes
43288 fi
43289 fi
43290 else
43291 pkg_failed=untried
43292 fi
43293
43294
43295
43296 if test $pkg_failed = yes; then
43297
43298 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43299 _pkg_short_errors_supported=yes
43300 else
43301 _pkg_short_errors_supported=no
43302 fi
43303 if test $_pkg_short_errors_supported = yes; then
43304 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43305 else
43306 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43307 fi
43308 # Put the nasty error message in config.log where it belongs
43309 echo "$GTKPRINT_PKG_ERRORS" >&5
43310
43311
43312 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43313 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43314 wxUSE_GTKPRINT="no"
43315
43316
43317 elif test $pkg_failed = untried; then
43318
43319 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43320 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43321 wxUSE_GTKPRINT="no"
43322
43323
43324 else
43325 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
43326 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
43327 { echo "$as_me:$LINENO: result: yes" >&5
43328 echo "${ECHO_T}yes" >&6; }
43329
43330 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
43331 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
43332 cat >>confdefs.h <<\_ACEOF
43333 #define wxUSE_GTKPRINT 1
43334 _ACEOF
43335
43336
43337 fi
43338 fi
43339
43340 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43341
43342
43343 pkg_failed=no
43344 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43345 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43346
43347 if test -n "$PKG_CONFIG"; then
43348 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43349 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43350 else
43351 if test -n "$PKG_CONFIG" && \
43352 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43353 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43354 ac_status=$?
43355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43356 (exit $ac_status); }; then
43357 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43358 else
43359 pkg_failed=yes
43360 fi
43361 fi
43362 else
43363 pkg_failed=untried
43364 fi
43365 if test -n "$PKG_CONFIG"; then
43366 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43367 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43368 else
43369 if test -n "$PKG_CONFIG" && \
43370 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43371 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43372 ac_status=$?
43373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43374 (exit $ac_status); }; then
43375 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43376 else
43377 pkg_failed=yes
43378 fi
43379 fi
43380 else
43381 pkg_failed=untried
43382 fi
43383
43384
43385
43386 if test $pkg_failed = yes; then
43387
43388 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43389 _pkg_short_errors_supported=yes
43390 else
43391 _pkg_short_errors_supported=no
43392 fi
43393 if test $_pkg_short_errors_supported = yes; then
43394 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43395 else
43396 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43397 fi
43398 # Put the nasty error message in config.log where it belongs
43399 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43400
43401
43402 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43403 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43404 wxUSE_LIBGNOMEPRINT="no"
43405
43406
43407 elif test $pkg_failed = untried; then
43408
43409 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43410 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43411 wxUSE_LIBGNOMEPRINT="no"
43412
43413
43414 else
43415 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43416 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43417 { echo "$as_me:$LINENO: result: yes" >&5
43418 echo "${ECHO_T}yes" >&6; }
43419
43420 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43421 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43422 cat >>confdefs.h <<\_ACEOF
43423 #define wxUSE_LIBGNOMEPRINT 1
43424 _ACEOF
43425
43426
43427 fi
43428 fi
43429 fi
43430
43431 if test "$wxUSE_MIMETYPE" = "yes" ; then
43432 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43433
43434
43435 pkg_failed=no
43436 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43437 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43438
43439 if test -n "$PKG_CONFIG"; then
43440 if test -n "$GNOMEVFS_CFLAGS"; then
43441 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43442 else
43443 if test -n "$PKG_CONFIG" && \
43444 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43445 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43446 ac_status=$?
43447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43448 (exit $ac_status); }; then
43449 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43450 else
43451 pkg_failed=yes
43452 fi
43453 fi
43454 else
43455 pkg_failed=untried
43456 fi
43457 if test -n "$PKG_CONFIG"; then
43458 if test -n "$GNOMEVFS_LIBS"; then
43459 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43460 else
43461 if test -n "$PKG_CONFIG" && \
43462 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43463 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43464 ac_status=$?
43465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43466 (exit $ac_status); }; then
43467 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43468 else
43469 pkg_failed=yes
43470 fi
43471 fi
43472 else
43473 pkg_failed=untried
43474 fi
43475
43476
43477
43478 if test $pkg_failed = yes; then
43479
43480 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43481 _pkg_short_errors_supported=yes
43482 else
43483 _pkg_short_errors_supported=no
43484 fi
43485 if test $_pkg_short_errors_supported = yes; then
43486 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43487 else
43488 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43489 fi
43490 # Put the nasty error message in config.log where it belongs
43491 echo "$GNOMEVFS_PKG_ERRORS" >&5
43492
43493
43494 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43495 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43496 wxUSE_LIBGNOMEVFS="no"
43497
43498
43499 elif test $pkg_failed = untried; then
43500
43501 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43502 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43503 wxUSE_LIBGNOMEVFS="no"
43504
43505
43506 else
43507 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43508 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43509 { echo "$as_me:$LINENO: result: yes" >&5
43510 echo "${ECHO_T}yes" >&6; }
43511
43512 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43513 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43514 cat >>confdefs.h <<\_ACEOF
43515 #define wxUSE_LIBGNOMEVFS 1
43516 _ACEOF
43517
43518
43519 fi
43520 fi
43521 fi
43522
43523 if test "$wxUSE_LIBHILDON" = "yes" ; then
43524
43525 pkg_failed=no
43526 { echo "$as_me:$LINENO: checking for HILDON" >&5
43527 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43528
43529 if test -n "$PKG_CONFIG"; then
43530 if test -n "$HILDON_CFLAGS"; then
43531 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43532 else
43533 if test -n "$PKG_CONFIG" && \
43534 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43535 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43536 ac_status=$?
43537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43538 (exit $ac_status); }; then
43539 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43540 else
43541 pkg_failed=yes
43542 fi
43543 fi
43544 else
43545 pkg_failed=untried
43546 fi
43547 if test -n "$PKG_CONFIG"; then
43548 if test -n "$HILDON_LIBS"; then
43549 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43550 else
43551 if test -n "$PKG_CONFIG" && \
43552 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43553 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43554 ac_status=$?
43555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43556 (exit $ac_status); }; then
43557 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43558 else
43559 pkg_failed=yes
43560 fi
43561 fi
43562 else
43563 pkg_failed=untried
43564 fi
43565
43566
43567
43568 if test $pkg_failed = yes; then
43569
43570 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43571 _pkg_short_errors_supported=yes
43572 else
43573 _pkg_short_errors_supported=no
43574 fi
43575 if test $_pkg_short_errors_supported = yes; then
43576 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43577 else
43578 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43579 fi
43580 # Put the nasty error message in config.log where it belongs
43581 echo "$HILDON_PKG_ERRORS" >&5
43582
43583
43584 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43585 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43586 wxUSE_LIBHILDON="no"
43587 ac_hildon_lgpl=0
43588
43589
43590 elif test $pkg_failed = untried; then
43591
43592 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43593 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43594 wxUSE_LIBHILDON="no"
43595 ac_hildon_lgpl=0
43596
43597
43598 else
43599 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43600 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43601 { echo "$as_me:$LINENO: result: yes" >&5
43602 echo "${ECHO_T}yes" >&6; }
43603
43604 EXTRALIBS_HILDON="$HILDON_LIBS"
43605 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43606 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43607 cat >>confdefs.h <<\_ACEOF
43608 #define wxUSE_LIBHILDON 1
43609 _ACEOF
43610
43611 ac_hildon_lgpl=1
43612
43613 fi
43614
43615 if test "$ac_hildon_lgpl" = 0 ; then
43616
43617 pkg_failed=no
43618 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43619 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43620
43621 if test -n "$PKG_CONFIG"; then
43622 if test -n "$HILDON2_CFLAGS"; then
43623 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
43624 else
43625 if test -n "$PKG_CONFIG" && \
43626 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43627 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43628 ac_status=$?
43629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43630 (exit $ac_status); }; then
43631 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
43632 else
43633 pkg_failed=yes
43634 fi
43635 fi
43636 else
43637 pkg_failed=untried
43638 fi
43639 if test -n "$PKG_CONFIG"; then
43640 if test -n "$HILDON2_LIBS"; then
43641 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
43642 else
43643 if test -n "$PKG_CONFIG" && \
43644 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43645 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43646 ac_status=$?
43647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43648 (exit $ac_status); }; then
43649 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
43650 else
43651 pkg_failed=yes
43652 fi
43653 fi
43654 else
43655 pkg_failed=untried
43656 fi
43657
43658
43659
43660 if test $pkg_failed = yes; then
43661
43662 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43663 _pkg_short_errors_supported=yes
43664 else
43665 _pkg_short_errors_supported=no
43666 fi
43667 if test $_pkg_short_errors_supported = yes; then
43668 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43669 else
43670 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43671 fi
43672 # Put the nasty error message in config.log where it belongs
43673 echo "$HILDON2_PKG_ERRORS" >&5
43674
43675
43676 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43677 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43678 wxUSE_LIBHILDON2="no"
43679
43680
43681 elif test $pkg_failed = untried; then
43682
43683 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43684 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43685 wxUSE_LIBHILDON2="no"
43686
43687
43688 else
43689 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
43690 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
43691 { echo "$as_me:$LINENO: result: yes" >&5
43692 echo "${ECHO_T}yes" >&6; }
43693
43694 EXTRALIBS_HILDON="$HILDON2_LIBS"
43695 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
43696 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
43697 cat >>confdefs.h <<\_ACEOF
43698 #define wxUSE_LIBHILDON2 1
43699 _ACEOF
43700
43701
43702 fi
43703 fi
43704 fi
43705 fi
43706
43707 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43708 cat >>confdefs.h <<\_ACEOF
43709 #define wxUSE_CMDLINE_PARSER 1
43710 _ACEOF
43711
43712 fi
43713
43714 if test "$wxUSE_STOPWATCH" = "yes"; then
43715 cat >>confdefs.h <<\_ACEOF
43716 #define wxUSE_STOPWATCH 1
43717 _ACEOF
43718
43719 fi
43720
43721 if test "$wxUSE_DATETIME" = "yes"; then
43722 cat >>confdefs.h <<\_ACEOF
43723 #define wxUSE_DATETIME 1
43724 _ACEOF
43725
43726 fi
43727
43728 if test "$wxUSE_FILE" = "yes"; then
43729 cat >>confdefs.h <<\_ACEOF
43730 #define wxUSE_FILE 1
43731 _ACEOF
43732
43733 fi
43734
43735 if test "$wxUSE_FFILE" = "yes"; then
43736 cat >>confdefs.h <<\_ACEOF
43737 #define wxUSE_FFILE 1
43738 _ACEOF
43739
43740 fi
43741
43742 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43743 if test "$wxUSE_STREAMS" != yes; then
43744 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43745 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43746 wxUSE_ARCHIVE_STREAMS=no
43747 else
43748 cat >>confdefs.h <<\_ACEOF
43749 #define wxUSE_ARCHIVE_STREAMS 1
43750 _ACEOF
43751
43752 fi
43753 fi
43754
43755 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43756 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43757 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43758 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43759 elif test "$wxUSE_ZLIB" = "no"; then
43760 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43761 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43762 else
43763 cat >>confdefs.h <<\_ACEOF
43764 #define wxUSE_ZIPSTREAM 1
43765 _ACEOF
43766
43767 fi
43768 fi
43769
43770 if test "$wxUSE_TARSTREAM" = "yes"; then
43771 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43772 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43773 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43774 else
43775 cat >>confdefs.h <<\_ACEOF
43776 #define wxUSE_TARSTREAM 1
43777 _ACEOF
43778
43779 fi
43780 fi
43781
43782 if test "$wxUSE_FILESYSTEM" = "yes"; then
43783 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43784 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43785 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43786 wxUSE_FILESYSTEM=no
43787 else
43788 cat >>confdefs.h <<\_ACEOF
43789 #define wxUSE_FILESYSTEM 1
43790 _ACEOF
43791
43792 fi
43793 fi
43794
43795 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43796 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43797 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43798 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43799 else
43800 cat >>confdefs.h <<\_ACEOF
43801 #define wxUSE_FS_ARCHIVE 1
43802 _ACEOF
43803
43804 fi
43805 fi
43806
43807 if test "$wxUSE_FS_ZIP" = "yes"; then
43808 if test "$wxUSE_FS_ARCHIVE" != yes; then
43809 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43810 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43811 else
43812 cat >>confdefs.h <<\_ACEOF
43813 #define wxUSE_FS_ZIP 1
43814 _ACEOF
43815
43816 fi
43817 fi
43818
43819 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43820 if test "$USE_UNIX" != 1; then
43821 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43822 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43823 wxUSE_ON_FATAL_EXCEPTION=no
43824 else
43825 cat >>confdefs.h <<\_ACEOF
43826 #define wxUSE_ON_FATAL_EXCEPTION 1
43827 _ACEOF
43828
43829 fi
43830 fi
43831
43832 if test "$wxUSE_STACKWALKER" = "yes"; then
43833 cat >>confdefs.h <<\_ACEOF
43834 #define wxUSE_STACKWALKER 1
43835 _ACEOF
43836
43837 fi
43838
43839 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43840 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43841 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43842 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43843 wxUSE_DEBUGREPORT=no
43844 else
43845 cat >>confdefs.h <<\_ACEOF
43846 #define wxUSE_DEBUGREPORT 1
43847 _ACEOF
43848
43849 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43850 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43851 fi
43852 fi
43853 fi
43854
43855 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43856 cat >>confdefs.h <<\_ACEOF
43857 #define wxUSE_SNGLINST_CHECKER 1
43858 _ACEOF
43859
43860 fi
43861
43862 if test "$wxUSE_BUSYINFO" = "yes"; then
43863 cat >>confdefs.h <<\_ACEOF
43864 #define wxUSE_BUSYINFO 1
43865 _ACEOF
43866
43867 fi
43868
43869 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43870 cat >>confdefs.h <<\_ACEOF
43871 #define wxUSE_STD_IOSTREAM 1
43872 _ACEOF
43873
43874 fi
43875
43876 if test "$wxUSE_STD_STRING" = "yes"; then
43877 cat >>confdefs.h <<\_ACEOF
43878 #define wxUSE_STD_STRING 1
43879 _ACEOF
43880
43881 fi
43882
43883 if test "$wxUSE_STDPATHS" = "yes"; then
43884 cat >>confdefs.h <<\_ACEOF
43885 #define wxUSE_STDPATHS 1
43886 _ACEOF
43887
43888 fi
43889
43890 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43891 cat >>confdefs.h <<\_ACEOF
43892 #define wxUSE_TEXTBUFFER 1
43893 _ACEOF
43894
43895 fi
43896
43897 if test "$wxUSE_TEXTFILE" = "yes"; then
43898 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43899 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43900 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43901 else
43902 cat >>confdefs.h <<\_ACEOF
43903 #define wxUSE_TEXTFILE 1
43904 _ACEOF
43905
43906 fi
43907 fi
43908
43909 if test "$wxUSE_CONFIG" = "yes" ; then
43910 if test "$wxUSE_TEXTFILE" != "yes"; then
43911 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43912 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43913 else
43914 cat >>confdefs.h <<\_ACEOF
43915 #define wxUSE_CONFIG 1
43916 _ACEOF
43917
43918 cat >>confdefs.h <<\_ACEOF
43919 #define wxUSE_CONFIG_NATIVE 1
43920 _ACEOF
43921
43922 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43923 fi
43924 fi
43925
43926 if test "$wxUSE_INTL" = "yes" ; then
43927 if test "$wxUSE_FILE" != "yes"; then
43928 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43929 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43930 else
43931 cat >>confdefs.h <<\_ACEOF
43932 #define wxUSE_INTL 1
43933 _ACEOF
43934
43935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43936 GUIDIST="$GUIDIST INTL_DIST"
43937 fi
43938 fi
43939
43940 if test "$wxUSE_XLOCALE" = "yes" ; then
43941 cat >>confdefs.h <<\_ACEOF
43942 #define wxUSE_XLOCALE 1
43943 _ACEOF
43944
43945 { echo "$as_me:$LINENO: checking for locale_t" >&5
43946 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43947 if test "${ac_cv_type_locale_t+set}" = set; then
43948 echo $ECHO_N "(cached) $ECHO_C" >&6
43949 else
43950 cat >conftest.$ac_ext <<_ACEOF
43951 /* confdefs.h. */
43952 _ACEOF
43953 cat confdefs.h >>conftest.$ac_ext
43954 cat >>conftest.$ac_ext <<_ACEOF
43955 /* end confdefs.h. */
43956 #include <xlocale.h>
43957 #include <locale.h>
43958
43959 typedef locale_t ac__type_new_;
43960 int
43961 main ()
43962 {
43963 if ((ac__type_new_ *) 0)
43964 return 0;
43965 if (sizeof (ac__type_new_))
43966 return 0;
43967 ;
43968 return 0;
43969 }
43970 _ACEOF
43971 rm -f conftest.$ac_objext
43972 if { (ac_try="$ac_compile"
43973 case "(($ac_try" in
43974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43975 *) ac_try_echo=$ac_try;;
43976 esac
43977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43978 (eval "$ac_compile") 2>conftest.er1
43979 ac_status=$?
43980 grep -v '^ *+' conftest.er1 >conftest.err
43981 rm -f conftest.er1
43982 cat conftest.err >&5
43983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43984 (exit $ac_status); } && {
43985 test -z "$ac_c_werror_flag" ||
43986 test ! -s conftest.err
43987 } && test -s conftest.$ac_objext; then
43988 ac_cv_type_locale_t=yes
43989 else
43990 echo "$as_me: failed program was:" >&5
43991 sed 's/^/| /' conftest.$ac_ext >&5
43992
43993 ac_cv_type_locale_t=no
43994 fi
43995
43996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43997 fi
43998 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43999 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44000 if test $ac_cv_type_locale_t = yes; then
44001
44002 cat >>confdefs.h <<_ACEOF
44003 #define HAVE_LOCALE_T 1
44004 _ACEOF
44005
44006
44007 fi
44008
44009 fi
44010
44011 if test "$wxUSE_LOG" = "yes"; then
44012 cat >>confdefs.h <<\_ACEOF
44013 #define wxUSE_LOG 1
44014 _ACEOF
44015
44016
44017 if test "$wxUSE_LOGGUI" = "yes"; then
44018 cat >>confdefs.h <<\_ACEOF
44019 #define wxUSE_LOGGUI 1
44020 _ACEOF
44021
44022 fi
44023
44024 if test "$wxUSE_LOGWINDOW" = "yes"; then
44025 cat >>confdefs.h <<\_ACEOF
44026 #define wxUSE_LOGWINDOW 1
44027 _ACEOF
44028
44029 fi
44030
44031 if test "$wxUSE_LOGDIALOG" = "yes"; then
44032 cat >>confdefs.h <<\_ACEOF
44033 #define wxUSE_LOG_DIALOG 1
44034 _ACEOF
44035
44036 fi
44037
44038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44039 fi
44040
44041 if test "$wxUSE_LONGLONG" = "yes"; then
44042 cat >>confdefs.h <<\_ACEOF
44043 #define wxUSE_LONGLONG 1
44044 _ACEOF
44045
44046 fi
44047
44048 if test "$wxUSE_GEOMETRY" = "yes"; then
44049 cat >>confdefs.h <<\_ACEOF
44050 #define wxUSE_GEOMETRY 1
44051 _ACEOF
44052
44053 fi
44054
44055 if test "$wxUSE_BASE64" = "yes"; then
44056 cat >>confdefs.h <<\_ACEOF
44057 #define wxUSE_BASE64 1
44058 _ACEOF
44059
44060 fi
44061
44062 if test "$wxUSE_STREAMS" = "yes" ; then
44063 cat >>confdefs.h <<\_ACEOF
44064 #define wxUSE_STREAMS 1
44065 _ACEOF
44066
44067 fi
44068
44069 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44070 cat >>confdefs.h <<\_ACEOF
44071 #define wxUSE_PRINTF_POS_PARAMS 1
44072 _ACEOF
44073
44074 fi
44075
44076 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44077 cat >>confdefs.h <<\_ACEOF
44078 #define wxUSE_OBJC_UNIQUIFYING 1
44079 _ACEOF
44080
44081 fi
44082
44083
44084 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44085 cat >>confdefs.h <<\_ACEOF
44086 #define wxUSE_CONSOLE_EVENTLOOP 1
44087 _ACEOF
44088
44089
44090 if test "$wxUSE_UNIX" = "yes"; then
44091 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44092 cat >>confdefs.h <<\_ACEOF
44093 #define wxUSE_SELECT_DISPATCHER 1
44094 _ACEOF
44095
44096 fi
44097
44098 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44099
44100 for ac_header in sys/epoll.h
44101 do
44102 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44103 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44106 echo $ECHO_N "(cached) $ECHO_C" >&6
44107 else
44108 cat >conftest.$ac_ext <<_ACEOF
44109 /* confdefs.h. */
44110 _ACEOF
44111 cat confdefs.h >>conftest.$ac_ext
44112 cat >>conftest.$ac_ext <<_ACEOF
44113 /* end confdefs.h. */
44114 $ac_includes_default
44115
44116 #include <$ac_header>
44117 _ACEOF
44118 rm -f conftest.$ac_objext
44119 if { (ac_try="$ac_compile"
44120 case "(($ac_try" in
44121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44122 *) ac_try_echo=$ac_try;;
44123 esac
44124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44125 (eval "$ac_compile") 2>conftest.er1
44126 ac_status=$?
44127 grep -v '^ *+' conftest.er1 >conftest.err
44128 rm -f conftest.er1
44129 cat conftest.err >&5
44130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44131 (exit $ac_status); } && {
44132 test -z "$ac_c_werror_flag" ||
44133 test ! -s conftest.err
44134 } && test -s conftest.$ac_objext; then
44135 eval "$as_ac_Header=yes"
44136 else
44137 echo "$as_me: failed program was:" >&5
44138 sed 's/^/| /' conftest.$ac_ext >&5
44139
44140 eval "$as_ac_Header=no"
44141 fi
44142
44143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44144 fi
44145 ac_res=`eval echo '${'$as_ac_Header'}'`
44146 { echo "$as_me:$LINENO: result: $ac_res" >&5
44147 echo "${ECHO_T}$ac_res" >&6; }
44148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44149 cat >>confdefs.h <<_ACEOF
44150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44151 _ACEOF
44152
44153 fi
44154
44155 done
44156
44157 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44158 cat >>confdefs.h <<\_ACEOF
44159 #define wxUSE_EPOLL_DISPATCHER 1
44160 _ACEOF
44161
44162 else
44163 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44164 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44165 fi
44166 fi
44167 fi
44168 fi
44169
44170
44171
44172
44173 for ac_func in gettimeofday ftime
44174 do
44175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44176 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44178 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44179 echo $ECHO_N "(cached) $ECHO_C" >&6
44180 else
44181 cat >conftest.$ac_ext <<_ACEOF
44182 /* confdefs.h. */
44183 _ACEOF
44184 cat confdefs.h >>conftest.$ac_ext
44185 cat >>conftest.$ac_ext <<_ACEOF
44186 /* end confdefs.h. */
44187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44189 #define $ac_func innocuous_$ac_func
44190
44191 /* System header to define __stub macros and hopefully few prototypes,
44192 which can conflict with char $ac_func (); below.
44193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44194 <limits.h> exists even on freestanding compilers. */
44195
44196 #ifdef __STDC__
44197 # include <limits.h>
44198 #else
44199 # include <assert.h>
44200 #endif
44201
44202 #undef $ac_func
44203
44204 /* Override any GCC internal prototype to avoid an error.
44205 Use char because int might match the return type of a GCC
44206 builtin and then its argument prototype would still apply. */
44207 #ifdef __cplusplus
44208 extern "C"
44209 #endif
44210 char $ac_func ();
44211 /* The GNU C library defines this for functions which it implements
44212 to always fail with ENOSYS. Some functions are actually named
44213 something starting with __ and the normal name is an alias. */
44214 #if defined __stub_$ac_func || defined __stub___$ac_func
44215 choke me
44216 #endif
44217
44218 int
44219 main ()
44220 {
44221 return $ac_func ();
44222 ;
44223 return 0;
44224 }
44225 _ACEOF
44226 rm -f conftest.$ac_objext conftest$ac_exeext
44227 if { (ac_try="$ac_link"
44228 case "(($ac_try" in
44229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44230 *) ac_try_echo=$ac_try;;
44231 esac
44232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44233 (eval "$ac_link") 2>conftest.er1
44234 ac_status=$?
44235 grep -v '^ *+' conftest.er1 >conftest.err
44236 rm -f conftest.er1
44237 cat conftest.err >&5
44238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44239 (exit $ac_status); } && {
44240 test -z "$ac_c_werror_flag" ||
44241 test ! -s conftest.err
44242 } && test -s conftest$ac_exeext &&
44243 $as_test_x conftest$ac_exeext; then
44244 eval "$as_ac_var=yes"
44245 else
44246 echo "$as_me: failed program was:" >&5
44247 sed 's/^/| /' conftest.$ac_ext >&5
44248
44249 eval "$as_ac_var=no"
44250 fi
44251
44252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44253 conftest$ac_exeext conftest.$ac_ext
44254 fi
44255 ac_res=`eval echo '${'$as_ac_var'}'`
44256 { echo "$as_me:$LINENO: result: $ac_res" >&5
44257 echo "${ECHO_T}$ac_res" >&6; }
44258 if test `eval echo '${'$as_ac_var'}'` = yes; then
44259 cat >>confdefs.h <<_ACEOF
44260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44261 _ACEOF
44262 break
44263 fi
44264 done
44265
44266
44267 if test "$ac_cv_func_gettimeofday" = "yes"; then
44268 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44269 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
44270 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44271 echo $ECHO_N "(cached) $ECHO_C" >&6
44272 else
44273
44274 cat >conftest.$ac_ext <<_ACEOF
44275 /* confdefs.h. */
44276 _ACEOF
44277 cat confdefs.h >>conftest.$ac_ext
44278 cat >>conftest.$ac_ext <<_ACEOF
44279 /* end confdefs.h. */
44280
44281 #include <sys/time.h>
44282 #include <unistd.h>
44283
44284 int
44285 main ()
44286 {
44287
44288 struct timeval tv;
44289 gettimeofday(&tv, NULL);
44290
44291 ;
44292 return 0;
44293 }
44294 _ACEOF
44295 rm -f conftest.$ac_objext
44296 if { (ac_try="$ac_compile"
44297 case "(($ac_try" in
44298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44299 *) ac_try_echo=$ac_try;;
44300 esac
44301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44302 (eval "$ac_compile") 2>conftest.er1
44303 ac_status=$?
44304 grep -v '^ *+' conftest.er1 >conftest.err
44305 rm -f conftest.er1
44306 cat conftest.err >&5
44307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44308 (exit $ac_status); } && {
44309 test -z "$ac_c_werror_flag" ||
44310 test ! -s conftest.err
44311 } && test -s conftest.$ac_objext; then
44312 wx_cv_func_gettimeofday_has_2_args=yes
44313 else
44314 echo "$as_me: failed program was:" >&5
44315 sed 's/^/| /' conftest.$ac_ext >&5
44316
44317 cat >conftest.$ac_ext <<_ACEOF
44318 /* confdefs.h. */
44319 _ACEOF
44320 cat confdefs.h >>conftest.$ac_ext
44321 cat >>conftest.$ac_ext <<_ACEOF
44322 /* end confdefs.h. */
44323
44324 #include <sys/time.h>
44325 #include <unistd.h>
44326
44327 int
44328 main ()
44329 {
44330
44331 struct timeval tv;
44332 gettimeofday(&tv);
44333
44334 ;
44335 return 0;
44336 }
44337 _ACEOF
44338 rm -f conftest.$ac_objext
44339 if { (ac_try="$ac_compile"
44340 case "(($ac_try" in
44341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44342 *) ac_try_echo=$ac_try;;
44343 esac
44344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44345 (eval "$ac_compile") 2>conftest.er1
44346 ac_status=$?
44347 grep -v '^ *+' conftest.er1 >conftest.err
44348 rm -f conftest.er1
44349 cat conftest.err >&5
44350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44351 (exit $ac_status); } && {
44352 test -z "$ac_c_werror_flag" ||
44353 test ! -s conftest.err
44354 } && test -s conftest.$ac_objext; then
44355 wx_cv_func_gettimeofday_has_2_args=no
44356 else
44357 echo "$as_me: failed program was:" >&5
44358 sed 's/^/| /' conftest.$ac_ext >&5
44359
44360
44361 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44362 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44363 wx_cv_func_gettimeofday_has_2_args=unknown
44364
44365
44366 fi
44367
44368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44369
44370 fi
44371
44372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44373
44374 fi
44375 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44376 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44377
44378 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44379 cat >>confdefs.h <<\_ACEOF
44380 #define WX_GETTIMEOFDAY_NO_TZ 1
44381 _ACEOF
44382
44383 fi
44384 fi
44385
44386 if test "$wxUSE_DATETIME" = "yes"; then
44387 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44388 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44389 if test "${wx_cv_var_timezone+set}" = set; then
44390 echo $ECHO_N "(cached) $ECHO_C" >&6
44391 else
44392
44393 ac_ext=cpp
44394 ac_cpp='$CXXCPP $CPPFLAGS'
44395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44398
44399 cat >conftest.$ac_ext <<_ACEOF
44400 /* confdefs.h. */
44401 _ACEOF
44402 cat confdefs.h >>conftest.$ac_ext
44403 cat >>conftest.$ac_ext <<_ACEOF
44404 /* end confdefs.h. */
44405
44406 #include <time.h>
44407
44408 int
44409 main ()
44410 {
44411
44412 int tz;
44413 tz = timezone;
44414
44415 ;
44416 return 0;
44417 }
44418 _ACEOF
44419 rm -f conftest.$ac_objext
44420 if { (ac_try="$ac_compile"
44421 case "(($ac_try" in
44422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44423 *) ac_try_echo=$ac_try;;
44424 esac
44425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44426 (eval "$ac_compile") 2>conftest.er1
44427 ac_status=$?
44428 grep -v '^ *+' conftest.er1 >conftest.err
44429 rm -f conftest.er1
44430 cat conftest.err >&5
44431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44432 (exit $ac_status); } && {
44433 test -z "$ac_cxx_werror_flag" ||
44434 test ! -s conftest.err
44435 } && test -s conftest.$ac_objext; then
44436
44437 wx_cv_var_timezone=timezone
44438
44439 else
44440 echo "$as_me: failed program was:" >&5
44441 sed 's/^/| /' conftest.$ac_ext >&5
44442
44443
44444 cat >conftest.$ac_ext <<_ACEOF
44445 /* confdefs.h. */
44446 _ACEOF
44447 cat confdefs.h >>conftest.$ac_ext
44448 cat >>conftest.$ac_ext <<_ACEOF
44449 /* end confdefs.h. */
44450
44451 #include <time.h>
44452
44453 int
44454 main ()
44455 {
44456
44457 int tz;
44458 tz = _timezone;
44459
44460 ;
44461 return 0;
44462 }
44463 _ACEOF
44464 rm -f conftest.$ac_objext
44465 if { (ac_try="$ac_compile"
44466 case "(($ac_try" in
44467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44468 *) ac_try_echo=$ac_try;;
44469 esac
44470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44471 (eval "$ac_compile") 2>conftest.er1
44472 ac_status=$?
44473 grep -v '^ *+' conftest.er1 >conftest.err
44474 rm -f conftest.er1
44475 cat conftest.err >&5
44476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44477 (exit $ac_status); } && {
44478 test -z "$ac_cxx_werror_flag" ||
44479 test ! -s conftest.err
44480 } && test -s conftest.$ac_objext; then
44481
44482 wx_cv_var_timezone=_timezone
44483
44484 else
44485 echo "$as_me: failed program was:" >&5
44486 sed 's/^/| /' conftest.$ac_ext >&5
44487
44488
44489 cat >conftest.$ac_ext <<_ACEOF
44490 /* confdefs.h. */
44491 _ACEOF
44492 cat confdefs.h >>conftest.$ac_ext
44493 cat >>conftest.$ac_ext <<_ACEOF
44494 /* end confdefs.h. */
44495
44496 #include <time.h>
44497
44498 int
44499 main ()
44500 {
44501
44502 int tz;
44503 tz = __timezone;
44504
44505 ;
44506 return 0;
44507 }
44508 _ACEOF
44509 rm -f conftest.$ac_objext
44510 if { (ac_try="$ac_compile"
44511 case "(($ac_try" in
44512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44513 *) ac_try_echo=$ac_try;;
44514 esac
44515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44516 (eval "$ac_compile") 2>conftest.er1
44517 ac_status=$?
44518 grep -v '^ *+' conftest.er1 >conftest.err
44519 rm -f conftest.er1
44520 cat conftest.err >&5
44521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44522 (exit $ac_status); } && {
44523 test -z "$ac_cxx_werror_flag" ||
44524 test ! -s conftest.err
44525 } && test -s conftest.$ac_objext; then
44526
44527 wx_cv_var_timezone=__timezone
44528
44529 else
44530 echo "$as_me: failed program was:" >&5
44531 sed 's/^/| /' conftest.$ac_ext >&5
44532
44533
44534 if test "$USE_DOS" = 0 ; then
44535 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44536 echo "$as_me: WARNING: no timezone variable" >&2;}
44537 fi
44538
44539
44540 fi
44541
44542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44543
44544
44545 fi
44546
44547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44548
44549
44550 fi
44551
44552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44553 ac_ext=c
44554 ac_cpp='$CPP $CPPFLAGS'
44555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44558
44559
44560
44561 fi
44562 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44563 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44564
44565 if test "x$wx_cv_var_timezone" != x ; then
44566 cat >>confdefs.h <<_ACEOF
44567 #define WX_TIMEZONE $wx_cv_var_timezone
44568 _ACEOF
44569
44570 fi
44571
44572
44573 for ac_func in localtime
44574 do
44575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44576 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44578 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44579 echo $ECHO_N "(cached) $ECHO_C" >&6
44580 else
44581 cat >conftest.$ac_ext <<_ACEOF
44582 /* confdefs.h. */
44583 _ACEOF
44584 cat confdefs.h >>conftest.$ac_ext
44585 cat >>conftest.$ac_ext <<_ACEOF
44586 /* end confdefs.h. */
44587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44589 #define $ac_func innocuous_$ac_func
44590
44591 /* System header to define __stub macros and hopefully few prototypes,
44592 which can conflict with char $ac_func (); below.
44593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44594 <limits.h> exists even on freestanding compilers. */
44595
44596 #ifdef __STDC__
44597 # include <limits.h>
44598 #else
44599 # include <assert.h>
44600 #endif
44601
44602 #undef $ac_func
44603
44604 /* Override any GCC internal prototype to avoid an error.
44605 Use char because int might match the return type of a GCC
44606 builtin and then its argument prototype would still apply. */
44607 #ifdef __cplusplus
44608 extern "C"
44609 #endif
44610 char $ac_func ();
44611 /* The GNU C library defines this for functions which it implements
44612 to always fail with ENOSYS. Some functions are actually named
44613 something starting with __ and the normal name is an alias. */
44614 #if defined __stub_$ac_func || defined __stub___$ac_func
44615 choke me
44616 #endif
44617
44618 int
44619 main ()
44620 {
44621 return $ac_func ();
44622 ;
44623 return 0;
44624 }
44625 _ACEOF
44626 rm -f conftest.$ac_objext conftest$ac_exeext
44627 if { (ac_try="$ac_link"
44628 case "(($ac_try" in
44629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44630 *) ac_try_echo=$ac_try;;
44631 esac
44632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44633 (eval "$ac_link") 2>conftest.er1
44634 ac_status=$?
44635 grep -v '^ *+' conftest.er1 >conftest.err
44636 rm -f conftest.er1
44637 cat conftest.err >&5
44638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44639 (exit $ac_status); } && {
44640 test -z "$ac_c_werror_flag" ||
44641 test ! -s conftest.err
44642 } && test -s conftest$ac_exeext &&
44643 $as_test_x conftest$ac_exeext; then
44644 eval "$as_ac_var=yes"
44645 else
44646 echo "$as_me: failed program was:" >&5
44647 sed 's/^/| /' conftest.$ac_ext >&5
44648
44649 eval "$as_ac_var=no"
44650 fi
44651
44652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44653 conftest$ac_exeext conftest.$ac_ext
44654 fi
44655 ac_res=`eval echo '${'$as_ac_var'}'`
44656 { echo "$as_me:$LINENO: result: $ac_res" >&5
44657 echo "${ECHO_T}$ac_res" >&6; }
44658 if test `eval echo '${'$as_ac_var'}'` = yes; then
44659 cat >>confdefs.h <<_ACEOF
44660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44661 _ACEOF
44662
44663 fi
44664 done
44665
44666
44667 if test "$ac_cv_func_localtime" = "yes"; then
44668 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44669 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44670 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44671 echo $ECHO_N "(cached) $ECHO_C" >&6
44672 else
44673
44674 cat >conftest.$ac_ext <<_ACEOF
44675 /* confdefs.h. */
44676 _ACEOF
44677 cat confdefs.h >>conftest.$ac_ext
44678 cat >>conftest.$ac_ext <<_ACEOF
44679 /* end confdefs.h. */
44680
44681 #include <time.h>
44682
44683 int
44684 main ()
44685 {
44686
44687 struct tm tm;
44688 tm.tm_gmtoff++;
44689
44690 ;
44691 return 0;
44692 }
44693 _ACEOF
44694 rm -f conftest.$ac_objext
44695 if { (ac_try="$ac_compile"
44696 case "(($ac_try" in
44697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44698 *) ac_try_echo=$ac_try;;
44699 esac
44700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44701 (eval "$ac_compile") 2>conftest.er1
44702 ac_status=$?
44703 grep -v '^ *+' conftest.er1 >conftest.err
44704 rm -f conftest.er1
44705 cat conftest.err >&5
44706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44707 (exit $ac_status); } && {
44708 test -z "$ac_c_werror_flag" ||
44709 test ! -s conftest.err
44710 } && test -s conftest.$ac_objext; then
44711
44712 wx_cv_struct_tm_has_gmtoff=yes
44713
44714 else
44715 echo "$as_me: failed program was:" >&5
44716 sed 's/^/| /' conftest.$ac_ext >&5
44717
44718 wx_cv_struct_tm_has_gmtoff=no
44719
44720 fi
44721
44722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44723
44724 fi
44725 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44726 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44727 fi
44728
44729 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44730 cat >>confdefs.h <<\_ACEOF
44731 #define WX_GMTOFF_IN_TM 1
44732 _ACEOF
44733
44734 fi
44735
44736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44737 fi
44738
44739
44740 if test "$wxUSE_SOCKETS" = "yes"; then
44741 if test "$wxUSE_MGL" = 1; then
44742 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44743 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44744 wxUSE_SOCKETS="no"
44745 fi
44746 fi
44747
44748 if test "$wxUSE_SOCKETS" = "yes"; then
44749 if test "$TOOLKIT" != "MSW"; then
44750 { echo "$as_me:$LINENO: checking for socket" >&5
44751 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44752 if test "${ac_cv_func_socket+set}" = set; then
44753 echo $ECHO_N "(cached) $ECHO_C" >&6
44754 else
44755 cat >conftest.$ac_ext <<_ACEOF
44756 /* confdefs.h. */
44757 _ACEOF
44758 cat confdefs.h >>conftest.$ac_ext
44759 cat >>conftest.$ac_ext <<_ACEOF
44760 /* end confdefs.h. */
44761 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44763 #define socket innocuous_socket
44764
44765 /* System header to define __stub macros and hopefully few prototypes,
44766 which can conflict with char socket (); below.
44767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44768 <limits.h> exists even on freestanding compilers. */
44769
44770 #ifdef __STDC__
44771 # include <limits.h>
44772 #else
44773 # include <assert.h>
44774 #endif
44775
44776 #undef socket
44777
44778 /* Override any GCC internal prototype to avoid an error.
44779 Use char because int might match the return type of a GCC
44780 builtin and then its argument prototype would still apply. */
44781 #ifdef __cplusplus
44782 extern "C"
44783 #endif
44784 char socket ();
44785 /* The GNU C library defines this for functions which it implements
44786 to always fail with ENOSYS. Some functions are actually named
44787 something starting with __ and the normal name is an alias. */
44788 #if defined __stub_socket || defined __stub___socket
44789 choke me
44790 #endif
44791
44792 int
44793 main ()
44794 {
44795 return socket ();
44796 ;
44797 return 0;
44798 }
44799 _ACEOF
44800 rm -f conftest.$ac_objext conftest$ac_exeext
44801 if { (ac_try="$ac_link"
44802 case "(($ac_try" in
44803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44804 *) ac_try_echo=$ac_try;;
44805 esac
44806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44807 (eval "$ac_link") 2>conftest.er1
44808 ac_status=$?
44809 grep -v '^ *+' conftest.er1 >conftest.err
44810 rm -f conftest.er1
44811 cat conftest.err >&5
44812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44813 (exit $ac_status); } && {
44814 test -z "$ac_c_werror_flag" ||
44815 test ! -s conftest.err
44816 } && test -s conftest$ac_exeext &&
44817 $as_test_x conftest$ac_exeext; then
44818 ac_cv_func_socket=yes
44819 else
44820 echo "$as_me: failed program was:" >&5
44821 sed 's/^/| /' conftest.$ac_ext >&5
44822
44823 ac_cv_func_socket=no
44824 fi
44825
44826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44827 conftest$ac_exeext conftest.$ac_ext
44828 fi
44829 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44830 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44831 if test $ac_cv_func_socket = yes; then
44832 :
44833 else
44834
44835 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44836 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44837 if test "${ac_cv_lib_socket_socket+set}" = set; then
44838 echo $ECHO_N "(cached) $ECHO_C" >&6
44839 else
44840 ac_check_lib_save_LIBS=$LIBS
44841 LIBS="-lsocket $LIBS"
44842 cat >conftest.$ac_ext <<_ACEOF
44843 /* confdefs.h. */
44844 _ACEOF
44845 cat confdefs.h >>conftest.$ac_ext
44846 cat >>conftest.$ac_ext <<_ACEOF
44847 /* end confdefs.h. */
44848
44849 /* Override any GCC internal prototype to avoid an error.
44850 Use char because int might match the return type of a GCC
44851 builtin and then its argument prototype would still apply. */
44852 #ifdef __cplusplus
44853 extern "C"
44854 #endif
44855 char socket ();
44856 int
44857 main ()
44858 {
44859 return socket ();
44860 ;
44861 return 0;
44862 }
44863 _ACEOF
44864 rm -f conftest.$ac_objext conftest$ac_exeext
44865 if { (ac_try="$ac_link"
44866 case "(($ac_try" in
44867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44868 *) ac_try_echo=$ac_try;;
44869 esac
44870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44871 (eval "$ac_link") 2>conftest.er1
44872 ac_status=$?
44873 grep -v '^ *+' conftest.er1 >conftest.err
44874 rm -f conftest.er1
44875 cat conftest.err >&5
44876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44877 (exit $ac_status); } && {
44878 test -z "$ac_c_werror_flag" ||
44879 test ! -s conftest.err
44880 } && test -s conftest$ac_exeext &&
44881 $as_test_x conftest$ac_exeext; then
44882 ac_cv_lib_socket_socket=yes
44883 else
44884 echo "$as_me: failed program was:" >&5
44885 sed 's/^/| /' conftest.$ac_ext >&5
44886
44887 ac_cv_lib_socket_socket=no
44888 fi
44889
44890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44891 conftest$ac_exeext conftest.$ac_ext
44892 LIBS=$ac_check_lib_save_LIBS
44893 fi
44894 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44895 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44896 if test $ac_cv_lib_socket_socket = yes; then
44897 if test "$INET_LINK" != " -lsocket"; then
44898 INET_LINK="$INET_LINK -lsocket"
44899 fi
44900 else
44901
44902 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44903 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44904 wxUSE_SOCKETS=no
44905
44906
44907 fi
44908
44909
44910
44911 fi
44912
44913 fi
44914 fi
44915
44916 if test "$wxUSE_SOCKETS" = "yes" ; then
44917 if test "$TOOLKIT" != "MSW"; then
44918 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44919 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44920 if test "${wx_cv_type_getsockname3+set}" = set; then
44921 echo $ECHO_N "(cached) $ECHO_C" >&6
44922 else
44923
44924 ac_ext=cpp
44925 ac_cpp='$CXXCPP $CPPFLAGS'
44926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44929
44930 cat >conftest.$ac_ext <<_ACEOF
44931 /* confdefs.h. */
44932 _ACEOF
44933 cat confdefs.h >>conftest.$ac_ext
44934 cat >>conftest.$ac_ext <<_ACEOF
44935 /* end confdefs.h. */
44936
44937 #include <sys/types.h>
44938 #include <sys/socket.h>
44939
44940 int
44941 main ()
44942 {
44943
44944 socklen_t len;
44945 getsockname(0, 0, &len);
44946
44947 ;
44948 return 0;
44949 }
44950 _ACEOF
44951 rm -f conftest.$ac_objext
44952 if { (ac_try="$ac_compile"
44953 case "(($ac_try" in
44954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44955 *) ac_try_echo=$ac_try;;
44956 esac
44957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44958 (eval "$ac_compile") 2>conftest.er1
44959 ac_status=$?
44960 grep -v '^ *+' conftest.er1 >conftest.err
44961 rm -f conftest.er1
44962 cat conftest.err >&5
44963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44964 (exit $ac_status); } && {
44965 test -z "$ac_cxx_werror_flag" ||
44966 test ! -s conftest.err
44967 } && test -s conftest.$ac_objext; then
44968 wx_cv_type_getsockname3=socklen_t
44969 else
44970 echo "$as_me: failed program was:" >&5
44971 sed 's/^/| /' conftest.$ac_ext >&5
44972
44973
44974 CFLAGS_OLD="$CFLAGS"
44975 if test "$GCC" = yes ; then
44976 CFLAGS="-Werror $CFLAGS"
44977 fi
44978
44979 cat >conftest.$ac_ext <<_ACEOF
44980 /* confdefs.h. */
44981 _ACEOF
44982 cat confdefs.h >>conftest.$ac_ext
44983 cat >>conftest.$ac_ext <<_ACEOF
44984 /* end confdefs.h. */
44985
44986 #include <sys/types.h>
44987 #include <sys/socket.h>
44988
44989 int
44990 main ()
44991 {
44992
44993 size_t len;
44994 getsockname(0, 0, &len);
44995
44996 ;
44997 return 0;
44998 }
44999 _ACEOF
45000 rm -f conftest.$ac_objext
45001 if { (ac_try="$ac_compile"
45002 case "(($ac_try" in
45003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45004 *) ac_try_echo=$ac_try;;
45005 esac
45006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45007 (eval "$ac_compile") 2>conftest.er1
45008 ac_status=$?
45009 grep -v '^ *+' conftest.er1 >conftest.err
45010 rm -f conftest.er1
45011 cat conftest.err >&5
45012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45013 (exit $ac_status); } && {
45014 test -z "$ac_cxx_werror_flag" ||
45015 test ! -s conftest.err
45016 } && test -s conftest.$ac_objext; then
45017 wx_cv_type_getsockname3=size_t
45018 else
45019 echo "$as_me: failed program was:" >&5
45020 sed 's/^/| /' conftest.$ac_ext >&5
45021
45022 cat >conftest.$ac_ext <<_ACEOF
45023 /* confdefs.h. */
45024 _ACEOF
45025 cat confdefs.h >>conftest.$ac_ext
45026 cat >>conftest.$ac_ext <<_ACEOF
45027 /* end confdefs.h. */
45028
45029 #include <sys/types.h>
45030 #include <sys/socket.h>
45031
45032 int
45033 main ()
45034 {
45035
45036 int len;
45037 getsockname(0, 0, &len);
45038
45039 ;
45040 return 0;
45041 }
45042 _ACEOF
45043 rm -f conftest.$ac_objext
45044 if { (ac_try="$ac_compile"
45045 case "(($ac_try" in
45046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45047 *) ac_try_echo=$ac_try;;
45048 esac
45049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45050 (eval "$ac_compile") 2>conftest.er1
45051 ac_status=$?
45052 grep -v '^ *+' conftest.er1 >conftest.err
45053 rm -f conftest.er1
45054 cat conftest.err >&5
45055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45056 (exit $ac_status); } && {
45057 test -z "$ac_cxx_werror_flag" ||
45058 test ! -s conftest.err
45059 } && test -s conftest.$ac_objext; then
45060 wx_cv_type_getsockname3=int
45061 else
45062 echo "$as_me: failed program was:" >&5
45063 sed 's/^/| /' conftest.$ac_ext >&5
45064
45065 wx_cv_type_getsockname3=unknown
45066
45067 fi
45068
45069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45070
45071 fi
45072
45073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45074
45075 CFLAGS="$CFLAGS_OLD"
45076
45077
45078 fi
45079
45080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45081 ac_ext=c
45082 ac_cpp='$CPP $CPPFLAGS'
45083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45086
45087
45088 fi
45089 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45090 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45091
45092 if test "$wx_cv_type_getsockname3" = "unknown"; then
45093 wxUSE_SOCKETS=no
45094 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45095 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45096 else
45097 cat >>confdefs.h <<_ACEOF
45098 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45099 _ACEOF
45100
45101 fi
45102 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45103 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45104 if test "${wx_cv_type_getsockopt5+set}" = set; then
45105 echo $ECHO_N "(cached) $ECHO_C" >&6
45106 else
45107
45108 ac_ext=cpp
45109 ac_cpp='$CXXCPP $CPPFLAGS'
45110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45113
45114 cat >conftest.$ac_ext <<_ACEOF
45115 /* confdefs.h. */
45116 _ACEOF
45117 cat confdefs.h >>conftest.$ac_ext
45118 cat >>conftest.$ac_ext <<_ACEOF
45119 /* end confdefs.h. */
45120
45121 #include <sys/types.h>
45122 #include <sys/socket.h>
45123
45124 int
45125 main ()
45126 {
45127
45128 socklen_t len;
45129 getsockopt(0, 0, 0, 0, &len);
45130
45131 ;
45132 return 0;
45133 }
45134 _ACEOF
45135 rm -f conftest.$ac_objext
45136 if { (ac_try="$ac_compile"
45137 case "(($ac_try" in
45138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45139 *) ac_try_echo=$ac_try;;
45140 esac
45141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45142 (eval "$ac_compile") 2>conftest.er1
45143 ac_status=$?
45144 grep -v '^ *+' conftest.er1 >conftest.err
45145 rm -f conftest.er1
45146 cat conftest.err >&5
45147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45148 (exit $ac_status); } && {
45149 test -z "$ac_cxx_werror_flag" ||
45150 test ! -s conftest.err
45151 } && test -s conftest.$ac_objext; then
45152 wx_cv_type_getsockopt5=socklen_t
45153 else
45154 echo "$as_me: failed program was:" >&5
45155 sed 's/^/| /' conftest.$ac_ext >&5
45156
45157
45158 cat >conftest.$ac_ext <<_ACEOF
45159 /* confdefs.h. */
45160 _ACEOF
45161 cat confdefs.h >>conftest.$ac_ext
45162 cat >>conftest.$ac_ext <<_ACEOF
45163 /* end confdefs.h. */
45164
45165 #include <sys/types.h>
45166 #include <sys/socket.h>
45167
45168 int
45169 main ()
45170 {
45171
45172 size_t len;
45173 getsockopt(0, 0, 0, 0, &len);
45174
45175 ;
45176 return 0;
45177 }
45178 _ACEOF
45179 rm -f conftest.$ac_objext
45180 if { (ac_try="$ac_compile"
45181 case "(($ac_try" in
45182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45183 *) ac_try_echo=$ac_try;;
45184 esac
45185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45186 (eval "$ac_compile") 2>conftest.er1
45187 ac_status=$?
45188 grep -v '^ *+' conftest.er1 >conftest.err
45189 rm -f conftest.er1
45190 cat conftest.err >&5
45191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45192 (exit $ac_status); } && {
45193 test -z "$ac_cxx_werror_flag" ||
45194 test ! -s conftest.err
45195 } && test -s conftest.$ac_objext; then
45196 wx_cv_type_getsockopt5=size_t
45197 else
45198 echo "$as_me: failed program was:" >&5
45199 sed 's/^/| /' conftest.$ac_ext >&5
45200
45201 cat >conftest.$ac_ext <<_ACEOF
45202 /* confdefs.h. */
45203 _ACEOF
45204 cat confdefs.h >>conftest.$ac_ext
45205 cat >>conftest.$ac_ext <<_ACEOF
45206 /* end confdefs.h. */
45207
45208 #include <sys/types.h>
45209 #include <sys/socket.h>
45210
45211 int
45212 main ()
45213 {
45214
45215 int len;
45216 getsockopt(0, 0, 0, 0, &len);
45217
45218 ;
45219 return 0;
45220 }
45221 _ACEOF
45222 rm -f conftest.$ac_objext
45223 if { (ac_try="$ac_compile"
45224 case "(($ac_try" in
45225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45226 *) ac_try_echo=$ac_try;;
45227 esac
45228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45229 (eval "$ac_compile") 2>conftest.er1
45230 ac_status=$?
45231 grep -v '^ *+' conftest.er1 >conftest.err
45232 rm -f conftest.er1
45233 cat conftest.err >&5
45234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45235 (exit $ac_status); } && {
45236 test -z "$ac_cxx_werror_flag" ||
45237 test ! -s conftest.err
45238 } && test -s conftest.$ac_objext; then
45239 wx_cv_type_getsockopt5=int
45240 else
45241 echo "$as_me: failed program was:" >&5
45242 sed 's/^/| /' conftest.$ac_ext >&5
45243
45244 wx_cv_type_getsockopt5=unknown
45245
45246 fi
45247
45248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45249
45250 fi
45251
45252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45253
45254
45255 fi
45256
45257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45258 ac_ext=c
45259 ac_cpp='$CPP $CPPFLAGS'
45260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45263
45264
45265 fi
45266 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45267 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45268
45269 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45270 wxUSE_SOCKETS=no
45271 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45272 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45273 else
45274 cat >>confdefs.h <<_ACEOF
45275 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45276 _ACEOF
45277
45278 fi
45279 fi
45280 fi
45281
45282 if test "$wxUSE_SOCKETS" = "yes" ; then
45283 if test "$wxUSE_IPV6" = "yes"; then
45284 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45285 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45286 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45287 echo $ECHO_N "(cached) $ECHO_C" >&6
45288 else
45289
45290 cat >conftest.$ac_ext <<_ACEOF
45291 /* confdefs.h. */
45292 _ACEOF
45293 cat confdefs.h >>conftest.$ac_ext
45294 cat >>conftest.$ac_ext <<_ACEOF
45295 /* end confdefs.h. */
45296
45297 #include <sys/types.h>
45298 #include <sys/socket.h>
45299 #include <netinet/in.h>
45300
45301 int
45302 main ()
45303 {
45304
45305 struct sockaddr_in6 sa6;
45306
45307 ;
45308 return 0;
45309 }
45310 _ACEOF
45311 rm -f conftest.$ac_objext
45312 if { (ac_try="$ac_compile"
45313 case "(($ac_try" in
45314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45315 *) ac_try_echo=$ac_try;;
45316 esac
45317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45318 (eval "$ac_compile") 2>conftest.er1
45319 ac_status=$?
45320 grep -v '^ *+' conftest.er1 >conftest.err
45321 rm -f conftest.er1
45322 cat conftest.err >&5
45323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45324 (exit $ac_status); } && {
45325 test -z "$ac_c_werror_flag" ||
45326 test ! -s conftest.err
45327 } && test -s conftest.$ac_objext; then
45328 wx_cv_type_sockaddr_in6=yes
45329 else
45330 echo "$as_me: failed program was:" >&5
45331 sed 's/^/| /' conftest.$ac_ext >&5
45332
45333 wx_cv_type_sockaddr_in6=no
45334
45335 fi
45336
45337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45338
45339
45340 fi
45341 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45342 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45343
45344 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45345 cat >>confdefs.h <<\_ACEOF
45346 #define wxUSE_IPV6 1
45347 _ACEOF
45348
45349 else
45350 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45351 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45352 fi
45353 fi
45354
45355 cat >>confdefs.h <<\_ACEOF
45356 #define wxUSE_SOCKETS 1
45357 _ACEOF
45358
45359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45360 fi
45361
45362 if test "$wxUSE_PROTOCOL" = "yes"; then
45363 if test "$wxUSE_SOCKETS" != "yes"; then
45364 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45365 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45366 wxUSE_PROTOCOL=no
45367 fi
45368 fi
45369
45370 if test "$wxUSE_PROTOCOL" = "yes"; then
45371 cat >>confdefs.h <<\_ACEOF
45372 #define wxUSE_PROTOCOL 1
45373 _ACEOF
45374
45375
45376 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45377 cat >>confdefs.h <<\_ACEOF
45378 #define wxUSE_PROTOCOL_HTTP 1
45379 _ACEOF
45380
45381 fi
45382 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45383 cat >>confdefs.h <<\_ACEOF
45384 #define wxUSE_PROTOCOL_FTP 1
45385 _ACEOF
45386
45387 fi
45388 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45389 cat >>confdefs.h <<\_ACEOF
45390 #define wxUSE_PROTOCOL_FILE 1
45391 _ACEOF
45392
45393 fi
45394 else
45395 if test "$wxUSE_FS_INET" = "yes"; then
45396 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45397 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45398 wxUSE_FS_INET="no"
45399 fi
45400 fi
45401
45402 if test "$wxUSE_URL" = "yes"; then
45403 if test "$wxUSE_PROTOCOL" != "yes"; then
45404 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45405 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45406 wxUSE_URL=no
45407 fi
45408 if test "$wxUSE_URL" = "yes"; then
45409 cat >>confdefs.h <<\_ACEOF
45410 #define wxUSE_URL 1
45411 _ACEOF
45412
45413 fi
45414 fi
45415
45416 if test "$wxUSE_VARIANT" = "yes"; then
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_VARIANT 1
45419 _ACEOF
45420
45421 fi
45422
45423 if test "$wxUSE_FS_INET" = "yes"; then
45424 cat >>confdefs.h <<\_ACEOF
45425 #define wxUSE_FS_INET 1
45426 _ACEOF
45427
45428 fi
45429
45430
45431 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45432 wxUSE_JOYSTICK=no
45433
45434 if test "$TOOLKIT" = "MSW"; then
45435 wxUSE_JOYSTICK=yes
45436
45437 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45438 if test "$USE_DARWIN" = 1; then
45439 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45440 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45441 ac_ext=cpp
45442 ac_cpp='$CXXCPP $CPPFLAGS'
45443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45446
45447 cat >conftest.$ac_ext <<_ACEOF
45448 /* confdefs.h. */
45449 _ACEOF
45450 cat confdefs.h >>conftest.$ac_ext
45451 cat >>conftest.$ac_ext <<_ACEOF
45452 /* end confdefs.h. */
45453 #include <IOKit/hid/IOHIDLib.h>
45454 int
45455 main ()
45456 {
45457 IOHIDQueueInterface *qi = NULL;
45458 IOHIDCallbackFunction cb = NULL;
45459 qi->setEventCallout(NULL, cb, NULL, NULL);
45460 ;
45461 return 0;
45462 }
45463 _ACEOF
45464 rm -f conftest.$ac_objext
45465 if { (ac_try="$ac_compile"
45466 case "(($ac_try" in
45467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45468 *) ac_try_echo=$ac_try;;
45469 esac
45470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45471 (eval "$ac_compile") 2>conftest.er1
45472 ac_status=$?
45473 grep -v '^ *+' conftest.er1 >conftest.err
45474 rm -f conftest.er1
45475 cat conftest.err >&5
45476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45477 (exit $ac_status); } && {
45478 test -z "$ac_cxx_werror_flag" ||
45479 test ! -s conftest.err
45480 } && test -s conftest.$ac_objext; then
45481 wxUSE_JOYSTICK=yes
45482
45483 else
45484 echo "$as_me: failed program was:" >&5
45485 sed 's/^/| /' conftest.$ac_ext >&5
45486
45487
45488 fi
45489
45490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45491 ac_ext=c
45492 ac_cpp='$CPP $CPPFLAGS'
45493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45496
45497 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45498 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45499 fi
45500
45501 else
45502 if test "$wxUSE_MGL" != 1; then
45503
45504 for ac_header in linux/joystick.h
45505 do
45506 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45507 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45509 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45510 echo $ECHO_N "(cached) $ECHO_C" >&6
45511 else
45512 cat >conftest.$ac_ext <<_ACEOF
45513 /* confdefs.h. */
45514 _ACEOF
45515 cat confdefs.h >>conftest.$ac_ext
45516 cat >>conftest.$ac_ext <<_ACEOF
45517 /* end confdefs.h. */
45518 $ac_includes_default
45519
45520 #include <$ac_header>
45521 _ACEOF
45522 rm -f conftest.$ac_objext
45523 if { (ac_try="$ac_compile"
45524 case "(($ac_try" in
45525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45526 *) ac_try_echo=$ac_try;;
45527 esac
45528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45529 (eval "$ac_compile") 2>conftest.er1
45530 ac_status=$?
45531 grep -v '^ *+' conftest.er1 >conftest.err
45532 rm -f conftest.er1
45533 cat conftest.err >&5
45534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45535 (exit $ac_status); } && {
45536 test -z "$ac_c_werror_flag" ||
45537 test ! -s conftest.err
45538 } && test -s conftest.$ac_objext; then
45539 eval "$as_ac_Header=yes"
45540 else
45541 echo "$as_me: failed program was:" >&5
45542 sed 's/^/| /' conftest.$ac_ext >&5
45543
45544 eval "$as_ac_Header=no"
45545 fi
45546
45547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45548 fi
45549 ac_res=`eval echo '${'$as_ac_Header'}'`
45550 { echo "$as_me:$LINENO: result: $ac_res" >&5
45551 echo "${ECHO_T}$ac_res" >&6; }
45552 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45553 cat >>confdefs.h <<_ACEOF
45554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45555 _ACEOF
45556 wxUSE_JOYSTICK=yes
45557 fi
45558
45559 done
45560
45561 fi
45562 fi
45563
45564 if test "$wxUSE_JOYSTICK" = "yes"; then
45565 cat >>confdefs.h <<\_ACEOF
45566 #define wxUSE_JOYSTICK 1
45567 _ACEOF
45568
45569 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45570 else
45571 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45572 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45573 fi
45574 fi
45575
45576
45577
45578 if test "$wxUSE_FONTENUM" = "yes" ; then
45579 cat >>confdefs.h <<\_ACEOF
45580 #define wxUSE_FONTENUM 1
45581 _ACEOF
45582
45583 fi
45584
45585 if test "$wxUSE_FONTMAP" = "yes" ; then
45586 cat >>confdefs.h <<\_ACEOF
45587 #define wxUSE_FONTMAP 1
45588 _ACEOF
45589
45590 fi
45591
45592 if test "$wxUSE_UNICODE" = "yes" ; then
45593 cat >>confdefs.h <<\_ACEOF
45594 #define wxUSE_UNICODE 1
45595 _ACEOF
45596
45597
45598 if test "$USE_WIN32" != 1; then
45599 wxUSE_UNICODE_MSLU=no
45600 fi
45601
45602 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45603 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45604 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45605 if test "${ac_cv_lib_unicows_main+set}" = set; then
45606 echo $ECHO_N "(cached) $ECHO_C" >&6
45607 else
45608 ac_check_lib_save_LIBS=$LIBS
45609 LIBS="-lunicows $LIBS"
45610 cat >conftest.$ac_ext <<_ACEOF
45611 /* confdefs.h. */
45612 _ACEOF
45613 cat confdefs.h >>conftest.$ac_ext
45614 cat >>conftest.$ac_ext <<_ACEOF
45615 /* end confdefs.h. */
45616
45617
45618 int
45619 main ()
45620 {
45621 return main ();
45622 ;
45623 return 0;
45624 }
45625 _ACEOF
45626 rm -f conftest.$ac_objext conftest$ac_exeext
45627 if { (ac_try="$ac_link"
45628 case "(($ac_try" in
45629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45630 *) ac_try_echo=$ac_try;;
45631 esac
45632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45633 (eval "$ac_link") 2>conftest.er1
45634 ac_status=$?
45635 grep -v '^ *+' conftest.er1 >conftest.err
45636 rm -f conftest.er1
45637 cat conftest.err >&5
45638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45639 (exit $ac_status); } && {
45640 test -z "$ac_c_werror_flag" ||
45641 test ! -s conftest.err
45642 } && test -s conftest$ac_exeext &&
45643 $as_test_x conftest$ac_exeext; then
45644 ac_cv_lib_unicows_main=yes
45645 else
45646 echo "$as_me: failed program was:" >&5
45647 sed 's/^/| /' conftest.$ac_ext >&5
45648
45649 ac_cv_lib_unicows_main=no
45650 fi
45651
45652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45653 conftest$ac_exeext conftest.$ac_ext
45654 LIBS=$ac_check_lib_save_LIBS
45655 fi
45656 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45657 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45658 if test $ac_cv_lib_unicows_main = yes; then
45659
45660 cat >>confdefs.h <<\_ACEOF
45661 #define wxUSE_UNICODE_MSLU 1
45662 _ACEOF
45663
45664
45665 else
45666
45667 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45668 Applications will only run on Windows NT/2000/XP!" >&5
45669 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45670 Applications will only run on Windows NT/2000/XP!" >&2;}
45671 wxUSE_UNICODE_MSLU=no
45672
45673 fi
45674
45675 fi
45676 fi
45677
45678 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45679 cat >>confdefs.h <<\_ACEOF
45680 #define wxUSE_UNICODE_UTF8 1
45681 _ACEOF
45682
45683
45684 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45685 cat >>confdefs.h <<\_ACEOF
45686 #define wxUSE_UTF8_LOCALE_ONLY 1
45687 _ACEOF
45688
45689 fi
45690 fi
45691
45692
45693 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45694 cat >>confdefs.h <<\_ACEOF
45695 #define wxUSE_CONSTRAINTS 1
45696 _ACEOF
45697
45698 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45699 fi
45700
45701 if test "$wxUSE_MDI" = "yes"; then
45702 cat >>confdefs.h <<\_ACEOF
45703 #define wxUSE_MDI 1
45704 _ACEOF
45705
45706
45707 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45708 cat >>confdefs.h <<\_ACEOF
45709 #define wxUSE_MDI_ARCHITECTURE 1
45710 _ACEOF
45711
45712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45713 fi
45714 fi
45715
45716 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45717 cat >>confdefs.h <<\_ACEOF
45718 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45719 _ACEOF
45720
45721 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45722 fi
45723
45724 if test "$wxUSE_HELP" = "yes"; then
45725 cat >>confdefs.h <<\_ACEOF
45726 #define wxUSE_HELP 1
45727 _ACEOF
45728
45729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45730
45731 if test "$wxUSE_MSW" = 1; then
45732 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45733 cat >>confdefs.h <<\_ACEOF
45734 #define wxUSE_MS_HTML_HELP 1
45735 _ACEOF
45736
45737 fi
45738 fi
45739
45740 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45741 if test "$wxUSE_HTML" = "yes"; then
45742 cat >>confdefs.h <<\_ACEOF
45743 #define wxUSE_WXHTML_HELP 1
45744 _ACEOF
45745
45746 else
45747 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45748 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45749 wxUSE_WXHTML_HELP=no
45750 fi
45751 fi
45752 fi
45753
45754 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45755 cat >>confdefs.h <<\_ACEOF
45756 #define wxUSE_PRINTING_ARCHITECTURE 1
45757 _ACEOF
45758
45759 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45760 fi
45761
45762 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45763 cat >>confdefs.h <<\_ACEOF
45764 #define wxUSE_POSTSCRIPT 1
45765 _ACEOF
45766
45767 fi
45768
45769 cat >>confdefs.h <<\_ACEOF
45770 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45771 _ACEOF
45772
45773
45774 if test "$wxUSE_SVG" = "yes"; then
45775 cat >>confdefs.h <<\_ACEOF
45776 #define wxUSE_SVG 1
45777 _ACEOF
45778
45779 fi
45780
45781
45782 if test "$wxUSE_METAFILE" = "yes"; then
45783 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45784 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45785 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45786 wxUSE_METAFILE=no
45787 fi
45788 fi
45789
45790
45791 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45792 -o "$wxUSE_CLIPBOARD" = "yes" \
45793 -o "$wxUSE_OLE" = "yes" \
45794 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45795 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45796 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45797 if test "${ac_cv_header_ole2_h+set}" = set; then
45798 echo $ECHO_N "(cached) $ECHO_C" >&6
45799 else
45800 cat >conftest.$ac_ext <<_ACEOF
45801 /* confdefs.h. */
45802 _ACEOF
45803 cat confdefs.h >>conftest.$ac_ext
45804 cat >>conftest.$ac_ext <<_ACEOF
45805 /* end confdefs.h. */
45806
45807
45808 #include <ole2.h>
45809 _ACEOF
45810 rm -f conftest.$ac_objext
45811 if { (ac_try="$ac_compile"
45812 case "(($ac_try" in
45813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45814 *) ac_try_echo=$ac_try;;
45815 esac
45816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45817 (eval "$ac_compile") 2>conftest.er1
45818 ac_status=$?
45819 grep -v '^ *+' conftest.er1 >conftest.err
45820 rm -f conftest.er1
45821 cat conftest.err >&5
45822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45823 (exit $ac_status); } && {
45824 test -z "$ac_c_werror_flag" ||
45825 test ! -s conftest.err
45826 } && test -s conftest.$ac_objext; then
45827 ac_cv_header_ole2_h=yes
45828 else
45829 echo "$as_me: failed program was:" >&5
45830 sed 's/^/| /' conftest.$ac_ext >&5
45831
45832 ac_cv_header_ole2_h=no
45833 fi
45834
45835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45836 fi
45837 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45838 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45839
45840
45841
45842 if test "$ac_cv_header_ole2_h" = "yes" ; then
45843 if test "$GCC" = yes ; then
45844 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45845 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45846 cat >conftest.$ac_ext <<_ACEOF
45847 /* confdefs.h. */
45848 _ACEOF
45849 cat confdefs.h >>conftest.$ac_ext
45850 cat >>conftest.$ac_ext <<_ACEOF
45851 /* end confdefs.h. */
45852 #include <windows.h>
45853 #include <ole2.h>
45854 int
45855 main ()
45856 {
45857
45858 ;
45859 return 0;
45860 }
45861 _ACEOF
45862 rm -f conftest.$ac_objext
45863 if { (ac_try="$ac_compile"
45864 case "(($ac_try" in
45865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45866 *) ac_try_echo=$ac_try;;
45867 esac
45868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45869 (eval "$ac_compile") 2>conftest.er1
45870 ac_status=$?
45871 grep -v '^ *+' conftest.er1 >conftest.err
45872 rm -f conftest.er1
45873 cat conftest.err >&5
45874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45875 (exit $ac_status); } && {
45876 test -z "$ac_c_werror_flag" ||
45877 test ! -s conftest.err
45878 } && test -s conftest.$ac_objext; then
45879 { echo "$as_me:$LINENO: result: no" >&5
45880 echo "${ECHO_T}no" >&6; }
45881 else
45882 echo "$as_me: failed program was:" >&5
45883 sed 's/^/| /' conftest.$ac_ext >&5
45884
45885 { echo "$as_me:$LINENO: result: yes" >&5
45886 echo "${ECHO_T}yes" >&6; }
45887 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45888 fi
45889
45890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45891 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45892 if test "$wxUSE_OLE" = "yes" ; then
45893 cat >>confdefs.h <<\_ACEOF
45894 #define wxUSE_OLE 1
45895 _ACEOF
45896
45897 cat >>confdefs.h <<\_ACEOF
45898 #define wxUSE_OLE_AUTOMATION 1
45899 _ACEOF
45900
45901 cat >>confdefs.h <<\_ACEOF
45902 #define wxUSE_ACTIVEX 1
45903 _ACEOF
45904
45905 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45906 fi
45907 fi
45908
45909 if test "$wxUSE_DATAOBJ" = "yes" ; then
45910 cat >>confdefs.h <<\_ACEOF
45911 #define wxUSE_DATAOBJ 1
45912 _ACEOF
45913
45914 fi
45915 else
45916 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45917 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45918
45919 wxUSE_CLIPBOARD=no
45920 wxUSE_DRAG_AND_DROP=no
45921 wxUSE_DATAOBJ=no
45922 wxUSE_OLE=no
45923 fi
45924
45925 if test "$wxUSE_METAFILE" = "yes"; then
45926 cat >>confdefs.h <<\_ACEOF
45927 #define wxUSE_METAFILE 1
45928 _ACEOF
45929
45930
45931 cat >>confdefs.h <<\_ACEOF
45932 #define wxUSE_ENH_METAFILE 1
45933 _ACEOF
45934
45935 fi
45936 fi
45937
45938 if test "$wxUSE_IPC" = "yes"; then
45939 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45940 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45941 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45942 wxUSE_IPC=no
45943 fi
45944
45945 if test "$wxUSE_IPC" = "yes"; then
45946 cat >>confdefs.h <<\_ACEOF
45947 #define wxUSE_IPC 1
45948 _ACEOF
45949
45950 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45951 fi
45952 fi
45953
45954 if test "$wxUSE_DATAOBJ" = "yes"; then
45955 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45956 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45957 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45958 wxUSE_DATAOBJ=no
45959 else
45960 cat >>confdefs.h <<\_ACEOF
45961 #define wxUSE_DATAOBJ 1
45962 _ACEOF
45963
45964 fi
45965 else
45966 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45967 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45968 wxUSE_CLIPBOARD=no
45969 wxUSE_DRAG_AND_DROP=no
45970 fi
45971
45972 if test "$wxUSE_CLIPBOARD" = "yes"; then
45973 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45974 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45975 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45976 wxUSE_CLIPBOARD=no
45977 fi
45978
45979 if test "$wxUSE_CLIPBOARD" = "yes"; then
45980 cat >>confdefs.h <<\_ACEOF
45981 #define wxUSE_CLIPBOARD 1
45982 _ACEOF
45983
45984 fi
45985 fi
45986
45987 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45988 if test "$wxUSE_GTK" = 1; then
45989 if test "$WXGTK12" != 1; then
45990 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45991 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45992 wxUSE_DRAG_AND_DROP=no
45993 fi
45994 fi
45995
45996 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45997 "$wxUSE_DFB" = 1; then
45998 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45999 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46000 wxUSE_DRAG_AND_DROP=no
46001 fi
46002
46003 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46004 cat >>confdefs.h <<\_ACEOF
46005 #define wxUSE_DRAG_AND_DROP 1
46006 _ACEOF
46007
46008 fi
46009
46010 fi
46011
46012 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46014 fi
46015
46016 if test "$wxUSE_CLIPBOARD" = "yes"; then
46017 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
46018 fi
46019
46020 if test "$wxUSE_SPLINES" = "yes" ; then
46021 cat >>confdefs.h <<\_ACEOF
46022 #define wxUSE_SPLINES 1
46023 _ACEOF
46024
46025 fi
46026
46027 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46028 cat >>confdefs.h <<\_ACEOF
46029 #define wxUSE_MOUSEWHEEL 1
46030 _ACEOF
46031
46032 fi
46033
46034
46035 USES_CONTROLS=0
46036 if test "$wxUSE_CONTROLS" = "yes"; then
46037 USES_CONTROLS=1
46038 fi
46039
46040 if test "$wxUSE_ACCEL" = "yes"; then
46041 cat >>confdefs.h <<\_ACEOF
46042 #define wxUSE_ACCEL 1
46043 _ACEOF
46044
46045 USES_CONTROLS=1
46046 fi
46047
46048 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46049 cat >>confdefs.h <<\_ACEOF
46050 #define wxUSE_ANIMATIONCTRL 1
46051 _ACEOF
46052
46053 USES_CONTROLS=1
46054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46055 fi
46056
46057 if test "$wxUSE_BUTTON" = "yes"; then
46058 cat >>confdefs.h <<\_ACEOF
46059 #define wxUSE_BUTTON 1
46060 _ACEOF
46061
46062 USES_CONTROLS=1
46063 fi
46064
46065 if test "$wxUSE_BMPBUTTON" = "yes"; then
46066 cat >>confdefs.h <<\_ACEOF
46067 #define wxUSE_BMPBUTTON 1
46068 _ACEOF
46069
46070 USES_CONTROLS=1
46071 fi
46072
46073 if test "$wxUSE_CALCTRL" = "yes"; then
46074 cat >>confdefs.h <<\_ACEOF
46075 #define wxUSE_CALENDARCTRL 1
46076 _ACEOF
46077
46078 USES_CONTROLS=1
46079 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46080 fi
46081
46082 if test "$wxUSE_CARET" = "yes"; then
46083 cat >>confdefs.h <<\_ACEOF
46084 #define wxUSE_CARET 1
46085 _ACEOF
46086
46087 USES_CONTROLS=1
46088 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46089 fi
46090
46091 if test "$wxUSE_COLLPANE" = "yes"; then
46092 cat >>confdefs.h <<\_ACEOF
46093 #define wxUSE_COLLPANE 1
46094 _ACEOF
46095
46096 USES_CONTROLS=1
46097 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46098 fi
46099
46100 if test "$wxUSE_COMBOBOX" = "yes"; then
46101 cat >>confdefs.h <<\_ACEOF
46102 #define wxUSE_COMBOBOX 1
46103 _ACEOF
46104
46105 USES_CONTROLS=1
46106 fi
46107
46108 if test "$wxUSE_COMBOCTRL" = "yes"; then
46109 cat >>confdefs.h <<\_ACEOF
46110 #define wxUSE_COMBOCTRL 1
46111 _ACEOF
46112
46113 USES_CONTROLS=1
46114 fi
46115
46116 if test "$wxUSE_CHOICE" = "yes"; then
46117 cat >>confdefs.h <<\_ACEOF
46118 #define wxUSE_CHOICE 1
46119 _ACEOF
46120
46121 USES_CONTROLS=1
46122 fi
46123
46124 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46125 cat >>confdefs.h <<\_ACEOF
46126 #define wxUSE_CHOICEBOOK 1
46127 _ACEOF
46128
46129 USES_CONTROLS=1
46130 fi
46131
46132 if test "$wxUSE_CHECKBOX" = "yes"; then
46133 cat >>confdefs.h <<\_ACEOF
46134 #define wxUSE_CHECKBOX 1
46135 _ACEOF
46136
46137 USES_CONTROLS=1
46138 fi
46139
46140 if test "$wxUSE_CHECKLST" = "yes"; then
46141 cat >>confdefs.h <<\_ACEOF
46142 #define wxUSE_CHECKLISTBOX 1
46143 _ACEOF
46144
46145 USES_CONTROLS=1
46146 fi
46147
46148 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46149 cat >>confdefs.h <<\_ACEOF
46150 #define wxUSE_COLOURPICKERCTRL 1
46151 _ACEOF
46152
46153 USES_CONTROLS=1
46154 fi
46155
46156 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46157 cat >>confdefs.h <<\_ACEOF
46158 #define wxUSE_DATEPICKCTRL 1
46159 _ACEOF
46160
46161 USES_CONTROLS=1
46162 fi
46163
46164 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46165 cat >>confdefs.h <<\_ACEOF
46166 #define wxUSE_DIRPICKERCTRL 1
46167 _ACEOF
46168
46169 USES_CONTROLS=1
46170 fi
46171
46172 if test "$wxUSE_FILECTRL" = "yes"; then
46173 cat >>confdefs.h <<\_ACEOF
46174 #define wxUSE_FILECTRL 1
46175 _ACEOF
46176
46177 USES_CONTROLS=1
46178 fi
46179
46180 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46181 cat >>confdefs.h <<\_ACEOF
46182 #define wxUSE_FILEPICKERCTRL 1
46183 _ACEOF
46184
46185 USES_CONTROLS=1
46186 fi
46187
46188 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46189 cat >>confdefs.h <<\_ACEOF
46190 #define wxUSE_FONTPICKERCTRL 1
46191 _ACEOF
46192
46193 USES_CONTROLS=1
46194 fi
46195
46196 if test "$wxUSE_DISPLAY" = "yes"; then
46197 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46198 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46199 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46200 wxUSE_DISPLAY=no
46201 else
46202 cat >>confdefs.h <<\_ACEOF
46203 #define wxUSE_DISPLAY 1
46204 _ACEOF
46205
46206 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
46207 fi
46208 fi
46209
46210 if test "$wxUSE_DETECT_SM" = "yes"; then
46211 cat >>confdefs.h <<\_ACEOF
46212 #define wxUSE_DETECT_SM 1
46213 _ACEOF
46214
46215 fi
46216
46217 if test "$wxUSE_GAUGE" = "yes"; then
46218 cat >>confdefs.h <<\_ACEOF
46219 #define wxUSE_GAUGE 1
46220 _ACEOF
46221
46222 USES_CONTROLS=1
46223 fi
46224
46225 if test "$wxUSE_GRID" = "yes"; then
46226 cat >>confdefs.h <<\_ACEOF
46227 #define wxUSE_GRID 1
46228 _ACEOF
46229
46230 USES_CONTROLS=1
46231 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46232 fi
46233
46234 if test "$wxUSE_HEADERCTRL" = "yes"; then
46235 cat >>confdefs.h <<\_ACEOF
46236 #define wxUSE_HEADERCTRL 1
46237 _ACEOF
46238
46239 USES_CONTROLS=1
46240 fi
46241
46242 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46243 cat >>confdefs.h <<\_ACEOF
46244 #define wxUSE_HYPERLINKCTRL 1
46245 _ACEOF
46246
46247 USES_CONTROLS=1
46248 fi
46249
46250 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46251 cat >>confdefs.h <<\_ACEOF
46252 #define wxUSE_BITMAPCOMBOBOX 1
46253 _ACEOF
46254
46255 USES_CONTROLS=1
46256 fi
46257
46258 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46259 cat >>confdefs.h <<\_ACEOF
46260 #define wxUSE_DATAVIEWCTRL 1
46261 _ACEOF
46262
46263 USES_CONTROLS=1
46264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46265 fi
46266
46267 if test "$wxUSE_IMAGLIST" = "yes"; then
46268 cat >>confdefs.h <<\_ACEOF
46269 #define wxUSE_IMAGLIST 1
46270 _ACEOF
46271
46272 fi
46273
46274 if test "$wxUSE_INFOBAR" = "yes"; then
46275 cat >>confdefs.h <<\_ACEOF
46276 #define wxUSE_INFOBAR 1
46277 _ACEOF
46278
46279 fi
46280
46281 if test "$wxUSE_LISTBOOK" = "yes"; then
46282 cat >>confdefs.h <<\_ACEOF
46283 #define wxUSE_LISTBOOK 1
46284 _ACEOF
46285
46286 USES_CONTROLS=1
46287 fi
46288
46289 if test "$wxUSE_LISTBOX" = "yes"; then
46290 cat >>confdefs.h <<\_ACEOF
46291 #define wxUSE_LISTBOX 1
46292 _ACEOF
46293
46294 USES_CONTROLS=1
46295 fi
46296
46297 if test "$wxUSE_LISTCTRL" = "yes"; then
46298 if test "$wxUSE_IMAGLIST" = "yes"; then
46299 cat >>confdefs.h <<\_ACEOF
46300 #define wxUSE_LISTCTRL 1
46301 _ACEOF
46302
46303 USES_CONTROLS=1
46304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46305 else
46306 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46307 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46308 fi
46309 fi
46310
46311 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46312 cat >>confdefs.h <<\_ACEOF
46313 #define wxUSE_EDITABLELISTBOX 1
46314 _ACEOF
46315
46316 USES_CONTROLS=1
46317 fi
46318
46319 if test "$wxUSE_NOTEBOOK" = "yes"; then
46320 cat >>confdefs.h <<\_ACEOF
46321 #define wxUSE_NOTEBOOK 1
46322 _ACEOF
46323
46324 USES_CONTROLS=1
46325 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46326 fi
46327
46328 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46329 cat >>confdefs.h <<\_ACEOF
46330 #define wxUSE_NOTIFICATION_MESSAGE 1
46331 _ACEOF
46332
46333 fi
46334
46335 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46336 cat >>confdefs.h <<\_ACEOF
46337 #define wxUSE_ODCOMBOBOX 1
46338 _ACEOF
46339
46340 USES_CONTROLS=1
46341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46342 fi
46343
46344 if test "$wxUSE_RADIOBOX" = "yes"; then
46345 cat >>confdefs.h <<\_ACEOF
46346 #define wxUSE_RADIOBOX 1
46347 _ACEOF
46348
46349 USES_CONTROLS=1
46350 fi
46351
46352 if test "$wxUSE_RADIOBTN" = "yes"; then
46353 cat >>confdefs.h <<\_ACEOF
46354 #define wxUSE_RADIOBTN 1
46355 _ACEOF
46356
46357 USES_CONTROLS=1
46358 fi
46359
46360 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46361 cat >>confdefs.h <<\_ACEOF
46362 #define wxUSE_REARRANGECTRL 1
46363 _ACEOF
46364
46365 fi
46366
46367 if test "$wxUSE_SASH" = "yes"; then
46368 cat >>confdefs.h <<\_ACEOF
46369 #define wxUSE_SASH 1
46370 _ACEOF
46371
46372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46373 fi
46374
46375 if test "$wxUSE_SCROLLBAR" = "yes"; then
46376 cat >>confdefs.h <<\_ACEOF
46377 #define wxUSE_SCROLLBAR 1
46378 _ACEOF
46379
46380 USES_CONTROLS=1
46381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
46382 fi
46383
46384 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46385 cat >>confdefs.h <<\_ACEOF
46386 #define wxUSE_SEARCHCTRL 1
46387 _ACEOF
46388
46389 USES_CONTROLS=1
46390 fi
46391
46392 if test "$wxUSE_SLIDER" = "yes"; then
46393 cat >>confdefs.h <<\_ACEOF
46394 #define wxUSE_SLIDER 1
46395 _ACEOF
46396
46397 USES_CONTROLS=1
46398 fi
46399
46400 if test "$wxUSE_SPINBTN" = "yes"; then
46401 cat >>confdefs.h <<\_ACEOF
46402 #define wxUSE_SPINBTN 1
46403 _ACEOF
46404
46405 USES_CONTROLS=1
46406 fi
46407
46408 if test "$wxUSE_SPINCTRL" = "yes"; then
46409 cat >>confdefs.h <<\_ACEOF
46410 #define wxUSE_SPINCTRL 1
46411 _ACEOF
46412
46413 USES_CONTROLS=1
46414 fi
46415
46416 if test "$wxUSE_SPLITTER" = "yes"; then
46417 cat >>confdefs.h <<\_ACEOF
46418 #define wxUSE_SPLITTER 1
46419 _ACEOF
46420
46421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46422 fi
46423
46424 if test "$wxUSE_STATBMP" = "yes"; then
46425 cat >>confdefs.h <<\_ACEOF
46426 #define wxUSE_STATBMP 1
46427 _ACEOF
46428
46429 USES_CONTROLS=1
46430 fi
46431
46432 if test "$wxUSE_STATBOX" = "yes"; then
46433 cat >>confdefs.h <<\_ACEOF
46434 #define wxUSE_STATBOX 1
46435 _ACEOF
46436
46437 USES_CONTROLS=1
46438 fi
46439
46440 if test "$wxUSE_STATTEXT" = "yes"; then
46441 cat >>confdefs.h <<\_ACEOF
46442 #define wxUSE_STATTEXT 1
46443 _ACEOF
46444
46445 USES_CONTROLS=1
46446 fi
46447
46448 if test "$wxUSE_STATLINE" = "yes"; then
46449 cat >>confdefs.h <<\_ACEOF
46450 #define wxUSE_STATLINE 1
46451 _ACEOF
46452
46453 USES_CONTROLS=1
46454 fi
46455
46456 if test "$wxUSE_STATUSBAR" = "yes"; then
46457 cat >>confdefs.h <<\_ACEOF
46458 #define wxUSE_NATIVE_STATUSBAR 1
46459 _ACEOF
46460
46461 cat >>confdefs.h <<\_ACEOF
46462 #define wxUSE_STATUSBAR 1
46463 _ACEOF
46464
46465 USES_CONTROLS=1
46466
46467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46468 fi
46469
46470 if test "$wxUSE_TEXTCTRL" = "yes"; then
46471 cat >>confdefs.h <<\_ACEOF
46472 #define wxUSE_TEXTCTRL 1
46473 _ACEOF
46474
46475 USES_CONTROLS=1
46476 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46477
46478 cat >>confdefs.h <<\_ACEOF
46479 #define wxUSE_RICHEDIT 1
46480 _ACEOF
46481
46482 cat >>confdefs.h <<\_ACEOF
46483 #define wxUSE_RICHEDIT2 1
46484 _ACEOF
46485
46486 fi
46487
46488 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46489 if test "$wxUSE_COCOA" = 1 ; then
46490 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46491 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46492 wxUSE_TOGGLEBTN=no
46493 fi
46494
46495 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46496 cat >>confdefs.h <<\_ACEOF
46497 #define wxUSE_TOGGLEBTN 1
46498 _ACEOF
46499
46500 USES_CONTROLS=1
46501 fi
46502 fi
46503
46504 if test "$wxUSE_TOOLBAR" = "yes"; then
46505 cat >>confdefs.h <<\_ACEOF
46506 #define wxUSE_TOOLBAR 1
46507 _ACEOF
46508
46509 USES_CONTROLS=1
46510
46511 if test "$wxUSE_UNIVERSAL" = "yes"; then
46512 wxUSE_TOOLBAR_NATIVE="no"
46513 else
46514 wxUSE_TOOLBAR_NATIVE="yes"
46515 cat >>confdefs.h <<\_ACEOF
46516 #define wxUSE_TOOLBAR_NATIVE 1
46517 _ACEOF
46518
46519 fi
46520
46521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46522 fi
46523
46524 if test "$wxUSE_TOOLTIPS" = "yes"; then
46525 if test "$wxUSE_MOTIF" = 1; then
46526 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46527 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46528 else
46529 if test "$wxUSE_UNIVERSAL" = "yes"; then
46530 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46531 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46532 else
46533 cat >>confdefs.h <<\_ACEOF
46534 #define wxUSE_TOOLTIPS 1
46535 _ACEOF
46536
46537 fi
46538 fi
46539 fi
46540
46541 if test "$wxUSE_TREEBOOK" = "yes"; then
46542 cat >>confdefs.h <<\_ACEOF
46543 #define wxUSE_TREEBOOK 1
46544 _ACEOF
46545
46546 USES_CONTROLS=1
46547 fi
46548
46549 if test "$wxUSE_TOOLBOOK" = "yes"; then
46550 cat >>confdefs.h <<\_ACEOF
46551 #define wxUSE_TOOLBOOK 1
46552 _ACEOF
46553
46554 USES_CONTROLS=1
46555 fi
46556
46557 if test "$wxUSE_TREECTRL" = "yes"; then
46558 if test "$wxUSE_IMAGLIST" = "yes"; then
46559 cat >>confdefs.h <<\_ACEOF
46560 #define wxUSE_TREECTRL 1
46561 _ACEOF
46562
46563 USES_CONTROLS=1
46564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46565 else
46566 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46567 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46568 fi
46569 fi
46570
46571 if test "$wxUSE_POPUPWIN" = "yes"; then
46572 if test "$wxUSE_COCOA" = 1 ; then
46573 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46574 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46575 else
46576 if test "$wxUSE_PM" = 1; then
46577 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46578 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46579 else
46580 cat >>confdefs.h <<\_ACEOF
46581 #define wxUSE_POPUPWIN 1
46582 _ACEOF
46583
46584 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46585
46586 USES_CONTROLS=1
46587 fi
46588 fi
46589 fi
46590
46591 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46592 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46593 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46594 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46595 else
46596 cat >>confdefs.h <<\_ACEOF
46597 #define wxUSE_DIALUP_MANAGER 1
46598 _ACEOF
46599
46600 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46601 fi
46602 fi
46603
46604 if test "$wxUSE_TIPWINDOW" = "yes"; then
46605 if test "$wxUSE_PM" = 1; then
46606 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46607 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46608 else
46609 cat >>confdefs.h <<\_ACEOF
46610 #define wxUSE_TIPWINDOW 1
46611 _ACEOF
46612
46613 fi
46614 fi
46615
46616 if test "$USES_CONTROLS" = 1; then
46617 cat >>confdefs.h <<\_ACEOF
46618 #define wxUSE_CONTROLS 1
46619 _ACEOF
46620
46621 fi
46622
46623
46624 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46625 cat >>confdefs.h <<\_ACEOF
46626 #define wxUSE_ACCESSIBILITY 1
46627 _ACEOF
46628
46629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46630 fi
46631
46632 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46633 cat >>confdefs.h <<\_ACEOF
46634 #define wxUSE_DRAGIMAGE 1
46635 _ACEOF
46636
46637 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46638 fi
46639
46640 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46641 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46642 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46643 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46644 else
46645 cat >>confdefs.h <<\_ACEOF
46646 #define wxUSE_EXCEPTIONS 1
46647 _ACEOF
46648
46649 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46650 fi
46651 fi
46652
46653 USE_HTML=0
46654 if test "$wxUSE_HTML" = "yes"; then
46655 cat >>confdefs.h <<\_ACEOF
46656 #define wxUSE_HTML 1
46657 _ACEOF
46658
46659 USE_HTML=1
46660 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46661 fi
46662 if test "$wxUSE_WEBKIT" = "yes"; then
46663 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46664 old_CPPFLAGS="$CPPFLAGS"
46665 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46666 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46667 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46668 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46669 echo $ECHO_N "(cached) $ECHO_C" >&6
46670 else
46671 cat >conftest.$ac_ext <<_ACEOF
46672 /* confdefs.h. */
46673 _ACEOF
46674 cat confdefs.h >>conftest.$ac_ext
46675 cat >>conftest.$ac_ext <<_ACEOF
46676 /* end confdefs.h. */
46677
46678 #include <Carbon/Carbon.h>
46679 #include <WebKit/WebKit.h>
46680
46681
46682 #include <WebKit/HIWebView.h>
46683 _ACEOF
46684 rm -f conftest.$ac_objext
46685 if { (ac_try="$ac_compile"
46686 case "(($ac_try" in
46687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46688 *) ac_try_echo=$ac_try;;
46689 esac
46690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46691 (eval "$ac_compile") 2>conftest.er1
46692 ac_status=$?
46693 grep -v '^ *+' conftest.er1 >conftest.err
46694 rm -f conftest.er1
46695 cat conftest.err >&5
46696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46697 (exit $ac_status); } && {
46698 test -z "$ac_c_werror_flag" ||
46699 test ! -s conftest.err
46700 } && test -s conftest.$ac_objext; then
46701 ac_cv_header_WebKit_HIWebView_h=yes
46702 else
46703 echo "$as_me: failed program was:" >&5
46704 sed 's/^/| /' conftest.$ac_ext >&5
46705
46706 ac_cv_header_WebKit_HIWebView_h=no
46707 fi
46708
46709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46710 fi
46711 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46712 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46713 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46714
46715 cat >>confdefs.h <<\_ACEOF
46716 #define wxUSE_WEBKIT 1
46717 _ACEOF
46718
46719 WEBKIT_LINK="-framework WebKit"
46720
46721 else
46722
46723 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46724 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46725 wxUSE_WEBKIT=no
46726
46727 fi
46728
46729
46730 CPPFLAGS="$old_CPPFLAGS"
46731 elif test "$wxUSE_COCOA" = 1; then
46732 cat >>confdefs.h <<\_ACEOF
46733 #define wxUSE_WEBKIT 1
46734 _ACEOF
46735
46736 else
46737 wxUSE_WEBKIT=no
46738 fi
46739 if test "$wxUSE_WEBKIT" = "yes"; then
46740 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46741 fi
46742 fi
46743
46744 USE_XRC=0
46745 if test "$wxUSE_XRC" = "yes"; then
46746 if test "$wxUSE_XML" != "yes"; then
46747 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46748 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46749 wxUSE_XRC=no
46750 else
46751 cat >>confdefs.h <<\_ACEOF
46752 #define wxUSE_XRC 1
46753 _ACEOF
46754
46755 USE_XRC=1
46756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46757 fi
46758 fi
46759
46760 USE_AUI=0
46761 if test "$wxUSE_AUI" = "yes"; then
46762 cat >>confdefs.h <<\_ACEOF
46763 #define wxUSE_AUI 1
46764 _ACEOF
46765
46766 USE_AUI=1
46767 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46768 fi
46769
46770 USE_PROPGRID=0
46771 if test "$wxUSE_PROPGRID" = "yes"; then
46772 cat >>confdefs.h <<\_ACEOF
46773 #define wxUSE_PROPGRID 1
46774 _ACEOF
46775
46776 USE_PROPGRID=1
46777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46778 fi
46779
46780 USE_RIBBON=0
46781 if test "$wxUSE_RIBBON" = "yes"; then
46782 cat >>confdefs.h <<\_ACEOF
46783 #define wxUSE_RIBBON 1
46784 _ACEOF
46785
46786 USE_RIBBON=1
46787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
46788 fi
46789
46790 USE_STC=0
46791 if test "$wxUSE_STC" = "yes"; then
46792 cat >>confdefs.h <<\_ACEOF
46793 #define wxUSE_STC 1
46794 _ACEOF
46795
46796 USE_STC=1
46797 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46798
46799 # Extract the first word of "python", so it can be a program name with args.
46800 set dummy python; ac_word=$2
46801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46803 if test "${ac_cv_path_PYTHON+set}" = set; then
46804 echo $ECHO_N "(cached) $ECHO_C" >&6
46805 else
46806 case $PYTHON in
46807 [\\/]* | ?:[\\/]*)
46808 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46809 ;;
46810 *)
46811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46812 for as_dir in $PATH
46813 do
46814 IFS=$as_save_IFS
46815 test -z "$as_dir" && as_dir=.
46816 for ac_exec_ext in '' $ac_executable_extensions; do
46817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46818 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46820 break 2
46821 fi
46822 done
46823 done
46824 IFS=$as_save_IFS
46825
46826 ;;
46827 esac
46828 fi
46829 PYTHON=$ac_cv_path_PYTHON
46830 if test -n "$PYTHON"; then
46831 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46832 echo "${ECHO_T}$PYTHON" >&6; }
46833 else
46834 { echo "$as_me:$LINENO: result: no" >&5
46835 echo "${ECHO_T}no" >&6; }
46836 fi
46837
46838
46839 if test "x$PYTHON" = "x"; then
46840 COND_PYTHON="#"
46841 fi
46842
46843 fi
46844
46845 if test "$wxUSE_MENUS" = "yes"; then
46846 cat >>confdefs.h <<\_ACEOF
46847 #define wxUSE_MENUS 1
46848 _ACEOF
46849
46850 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46851 fi
46852
46853 if test "$wxUSE_METAFILE" = "yes"; then
46854 cat >>confdefs.h <<\_ACEOF
46855 #define wxUSE_METAFILE 1
46856 _ACEOF
46857
46858 fi
46859
46860 if test "$wxUSE_MIMETYPE" = "yes"; then
46861 cat >>confdefs.h <<\_ACEOF
46862 #define wxUSE_MIMETYPE 1
46863 _ACEOF
46864
46865 fi
46866
46867 if test "$wxUSE_MINIFRAME" = "yes"; then
46868 cat >>confdefs.h <<\_ACEOF
46869 #define wxUSE_MINIFRAME 1
46870 _ACEOF
46871
46872 fi
46873
46874 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46875 cat >>confdefs.h <<\_ACEOF
46876 #define wxUSE_SYSTEM_OPTIONS 1
46877 _ACEOF
46878
46879 fi
46880
46881 if test "$wxUSE_TASKBARICON" = "yes"; then
46882 cat >>confdefs.h <<\_ACEOF
46883 #define wxUSE_TASKBARICON 1
46884 _ACEOF
46885
46886 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46887 fi
46888
46889
46890 if test "$wxUSE_VALIDATORS" = "yes"; then
46891 cat >>confdefs.h <<\_ACEOF
46892 #define wxUSE_VALIDATORS 1
46893 _ACEOF
46894
46895 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46896 fi
46897
46898 if test "$wxUSE_PALETTE" = "yes" ; then
46899 if test "$wxUSE_DFB" = 1; then
46900 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46901 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46902 wxUSE_PALETTE=no
46903 else
46904 cat >>confdefs.h <<\_ACEOF
46905 #define wxUSE_PALETTE 1
46906 _ACEOF
46907
46908 fi
46909 fi
46910
46911 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46912 LIBS=" -lunicows $LIBS"
46913 fi
46914
46915 USE_RICHTEXT=0
46916 if test "$wxUSE_RICHTEXT" = "yes"; then
46917 cat >>confdefs.h <<\_ACEOF
46918 #define wxUSE_RICHTEXT 1
46919 _ACEOF
46920
46921 USE_RICHTEXT=1
46922 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46923 fi
46924
46925
46926 if test "$wxUSE_IMAGE" = "yes" ; then
46927 cat >>confdefs.h <<\_ACEOF
46928 #define wxUSE_IMAGE 1
46929 _ACEOF
46930
46931
46932 if test "$wxUSE_GIF" = "yes" ; then
46933 cat >>confdefs.h <<\_ACEOF
46934 #define wxUSE_GIF 1
46935 _ACEOF
46936
46937 fi
46938
46939 if test "$wxUSE_PCX" = "yes" ; then
46940 cat >>confdefs.h <<\_ACEOF
46941 #define wxUSE_PCX 1
46942 _ACEOF
46943
46944 fi
46945
46946 if test "$wxUSE_TGA" = "yes" ; then
46947 cat >>confdefs.h <<\_ACEOF
46948 #define wxUSE_TGA 1
46949 _ACEOF
46950
46951 fi
46952
46953 if test "$wxUSE_IFF" = "yes" ; then
46954 cat >>confdefs.h <<\_ACEOF
46955 #define wxUSE_IFF 1
46956 _ACEOF
46957
46958 fi
46959
46960 if test "$wxUSE_PNM" = "yes" ; then
46961 cat >>confdefs.h <<\_ACEOF
46962 #define wxUSE_PNM 1
46963 _ACEOF
46964
46965 fi
46966
46967 if test "$wxUSE_XPM" = "yes" ; then
46968 cat >>confdefs.h <<\_ACEOF
46969 #define wxUSE_XPM 1
46970 _ACEOF
46971
46972 fi
46973
46974 if test "$wxUSE_ICO_CUR" = "yes" ; then
46975 cat >>confdefs.h <<\_ACEOF
46976 #define wxUSE_ICO_CUR 1
46977 _ACEOF
46978
46979 fi
46980 fi
46981
46982
46983 if test "$wxUSE_ABOUTDLG" = "yes"; then
46984 cat >>confdefs.h <<\_ACEOF
46985 #define wxUSE_ABOUTDLG 1
46986 _ACEOF
46987
46988 fi
46989
46990 if test "$wxUSE_CHOICEDLG" = "yes"; then
46991 cat >>confdefs.h <<\_ACEOF
46992 #define wxUSE_CHOICEDLG 1
46993 _ACEOF
46994
46995 fi
46996
46997 if test "$wxUSE_COLOURDLG" = "yes"; then
46998 cat >>confdefs.h <<\_ACEOF
46999 #define wxUSE_COLOURDLG 1
47000 _ACEOF
47001
47002 fi
47003
47004 if test "$wxUSE_FILEDLG" = "yes"; then
47005 cat >>confdefs.h <<\_ACEOF
47006 #define wxUSE_FILEDLG 1
47007 _ACEOF
47008
47009 fi
47010
47011 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47012 cat >>confdefs.h <<\_ACEOF
47013 #define wxUSE_FINDREPLDLG 1
47014 _ACEOF
47015
47016 fi
47017
47018 if test "$wxUSE_FONTDLG" = "yes"; then
47019 cat >>confdefs.h <<\_ACEOF
47020 #define wxUSE_FONTDLG 1
47021 _ACEOF
47022
47023 fi
47024
47025 if test "$wxUSE_DIRDLG" = "yes"; then
47026 if test "$wxUSE_TREECTRL" != "yes"; then
47027 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47028 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47029 else
47030 cat >>confdefs.h <<\_ACEOF
47031 #define wxUSE_DIRDLG 1
47032 _ACEOF
47033
47034 fi
47035 fi
47036
47037 if test "$wxUSE_MSGDLG" = "yes"; then
47038 cat >>confdefs.h <<\_ACEOF
47039 #define wxUSE_MSGDLG 1
47040 _ACEOF
47041
47042 fi
47043
47044 if test "$wxUSE_NUMBERDLG" = "yes"; then
47045 cat >>confdefs.h <<\_ACEOF
47046 #define wxUSE_NUMBERDLG 1
47047 _ACEOF
47048
47049 fi
47050
47051 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47052 cat >>confdefs.h <<\_ACEOF
47053 #define wxUSE_PROGRESSDLG 1
47054 _ACEOF
47055
47056 fi
47057
47058 if test "$wxUSE_SPLASH" = "yes"; then
47059 cat >>confdefs.h <<\_ACEOF
47060 #define wxUSE_SPLASH 1
47061 _ACEOF
47062
47063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47064 fi
47065
47066 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47067 cat >>confdefs.h <<\_ACEOF
47068 #define wxUSE_STARTUP_TIPS 1
47069 _ACEOF
47070
47071 fi
47072
47073 if test "$wxUSE_TEXTDLG" = "yes"; then
47074 cat >>confdefs.h <<\_ACEOF
47075 #define wxUSE_TEXTDLG 1
47076 _ACEOF
47077
47078 fi
47079
47080 if test "$wxUSE_WIZARDDLG" = "yes"; then
47081 cat >>confdefs.h <<\_ACEOF
47082 #define wxUSE_WIZARDDLG 1
47083 _ACEOF
47084
47085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47086 fi
47087
47088
47089 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47090 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47091 cat >>confdefs.h <<\_ACEOF
47092 #define wxUSE_OWNER_DRAWN 1
47093 _ACEOF
47094
47095 fi
47096 fi
47097
47098
47099 if test "$wxUSE_MSW" = 1 ; then
47100
47101 if test "$wxUSE_DC_CACHEING" = "yes"; then
47102 cat >>confdefs.h <<\_ACEOF
47103 #define wxUSE_DC_CACHEING 1
47104 _ACEOF
47105
47106 fi
47107
47108 if test "$wxUSE_DIB" = "yes"; then
47109 cat >>confdefs.h <<\_ACEOF
47110 #define wxUSE_WXDIB 1
47111 _ACEOF
47112
47113 fi
47114
47115 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47116 cat >>confdefs.h <<\_ACEOF
47117 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47118 _ACEOF
47119
47120 fi
47121
47122 if test "$wxUSE_UXTHEME" = "yes"; then
47123 cat >>confdefs.h <<\_ACEOF
47124 #define wxUSE_UXTHEME 1
47125 _ACEOF
47126
47127 fi
47128
47129 fi
47130
47131 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47132 cat >>confdefs.h <<\_ACEOF
47133 #define wxUSE_AUTOID_MANAGEMENT 1
47134 _ACEOF
47135
47136 fi
47137
47138 if test "$USE_WIN32" = 1 ; then
47139 if test "$wxUSE_INICONF" = "yes"; then
47140 cat >>confdefs.h <<\_ACEOF
47141 #define wxUSE_INICONF 1
47142 _ACEOF
47143
47144 fi
47145
47146 if test "$wxUSE_REGKEY" = "yes"; then
47147 cat >>confdefs.h <<\_ACEOF
47148 #define wxUSE_REGKEY 1
47149 _ACEOF
47150
47151 fi
47152 fi
47153
47154
47155 if test "$wxUSE_MAC" = 1; then
47156 wxUSE_GRAPHICS_CONTEXT="yes"
47157 fi
47158
47159 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47160 wx_has_graphics=0
47161 if test "$wxUSE_MSW" = 1; then
47162 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
47163 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
47164 if test "${wx_cv_lib_gdiplus+set}" = set; then
47165 echo $ECHO_N "(cached) $ECHO_C" >&6
47166 else
47167
47168 ac_ext=cpp
47169 ac_cpp='$CXXCPP $CPPFLAGS'
47170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47173
47174 cat >conftest.$ac_ext <<_ACEOF
47175 /* confdefs.h. */
47176 _ACEOF
47177 cat confdefs.h >>conftest.$ac_ext
47178 cat >>conftest.$ac_ext <<_ACEOF
47179 /* end confdefs.h. */
47180 #include <gdiplus.h>
47181 int
47182 main ()
47183 {
47184
47185 using namespace Gdiplus;
47186
47187 ;
47188 return 0;
47189 }
47190 _ACEOF
47191 rm -f conftest.$ac_objext
47192 if { (ac_try="$ac_compile"
47193 case "(($ac_try" in
47194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47195 *) ac_try_echo=$ac_try;;
47196 esac
47197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47198 (eval "$ac_compile") 2>conftest.er1
47199 ac_status=$?
47200 grep -v '^ *+' conftest.er1 >conftest.err
47201 rm -f conftest.er1
47202 cat conftest.err >&5
47203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47204 (exit $ac_status); } && {
47205 test -z "$ac_cxx_werror_flag" ||
47206 test ! -s conftest.err
47207 } && test -s conftest.$ac_objext; then
47208 wx_cv_lib_gdiplus=yes
47209 else
47210 echo "$as_me: failed program was:" >&5
47211 sed 's/^/| /' conftest.$ac_ext >&5
47212
47213 wx_cv_lib_gdiplus=no
47214
47215 fi
47216
47217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47218 ac_ext=c
47219 ac_cpp='$CPP $CPPFLAGS'
47220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47223
47224
47225
47226 fi
47227 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
47228 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
47229 if test "$wx_cv_lib_gdiplus" = "yes"; then
47230 wx_has_graphics=1
47231 fi
47232 elif test "$wxUSE_GTK" = 1; then
47233
47234 pkg_failed=no
47235 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47236 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47237
47238 if test -n "$PKG_CONFIG"; then
47239 if test -n "$CAIRO_CFLAGS"; then
47240 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47241 else
47242 if test -n "$PKG_CONFIG" && \
47243 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47244 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47245 ac_status=$?
47246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47247 (exit $ac_status); }; then
47248 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47249 else
47250 pkg_failed=yes
47251 fi
47252 fi
47253 else
47254 pkg_failed=untried
47255 fi
47256 if test -n "$PKG_CONFIG"; then
47257 if test -n "$CAIRO_LIBS"; then
47258 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47259 else
47260 if test -n "$PKG_CONFIG" && \
47261 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47262 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47263 ac_status=$?
47264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47265 (exit $ac_status); }; then
47266 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47267 else
47268 pkg_failed=yes
47269 fi
47270 fi
47271 else
47272 pkg_failed=untried
47273 fi
47274
47275
47276
47277 if test $pkg_failed = yes; then
47278
47279 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47280 _pkg_short_errors_supported=yes
47281 else
47282 _pkg_short_errors_supported=no
47283 fi
47284 if test $_pkg_short_errors_supported = yes; then
47285 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47286 else
47287 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47288 fi
47289 # Put the nasty error message in config.log where it belongs
47290 echo "$CAIRO_PKG_ERRORS" >&5
47291
47292 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47293 echo "$as_me: WARNING: Cairo library not found" >&2;}
47294
47295 elif test $pkg_failed = untried; then
47296 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47297 echo "$as_me: WARNING: Cairo library not found" >&2;}
47298
47299 else
47300 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47301 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47302 { echo "$as_me:$LINENO: result: yes" >&5
47303 echo "${ECHO_T}yes" >&6; }
47304 wx_has_graphics=1
47305 fi
47306 else
47307 wx_has_graphics=1
47308 fi
47309
47310 if test "$wx_has_graphics" = 1; then
47311 cat >>confdefs.h <<\_ACEOF
47312 #define wxUSE_GRAPHICS_CONTEXT 1
47313 _ACEOF
47314
47315 else
47316 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
47317 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
47318 fi
47319 fi
47320
47321
47322 USE_MEDIA=0
47323
47324 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
47325 USE_MEDIA=1
47326
47327 if test "$wxUSE_GTK" = 1; then
47328 wxUSE_GSTREAMER="no"
47329
47330 GST_VERSION_MAJOR=0
47331 GST_VERSION_MINOR=10
47332 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47333
47334 if test "$wxUSE_GSTREAMER8" = "no"; then
47335
47336 pkg_failed=no
47337 { echo "$as_me:$LINENO: checking for GST" >&5
47338 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47339
47340 if test -n "$PKG_CONFIG"; then
47341 if test -n "$GST_CFLAGS"; then
47342 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47343 else
47344 if test -n "$PKG_CONFIG" && \
47345 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47346 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47347 ac_status=$?
47348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47349 (exit $ac_status); }; then
47350 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47351 else
47352 pkg_failed=yes
47353 fi
47354 fi
47355 else
47356 pkg_failed=untried
47357 fi
47358 if test -n "$PKG_CONFIG"; then
47359 if test -n "$GST_LIBS"; then
47360 pkg_cv_GST_LIBS="$GST_LIBS"
47361 else
47362 if test -n "$PKG_CONFIG" && \
47363 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47364 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47365 ac_status=$?
47366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47367 (exit $ac_status); }; then
47368 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47369 else
47370 pkg_failed=yes
47371 fi
47372 fi
47373 else
47374 pkg_failed=untried
47375 fi
47376
47377
47378
47379 if test $pkg_failed = yes; then
47380
47381 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47382 _pkg_short_errors_supported=yes
47383 else
47384 _pkg_short_errors_supported=no
47385 fi
47386 if test $_pkg_short_errors_supported = yes; then
47387 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47388 else
47389 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47390 fi
47391 # Put the nasty error message in config.log where it belongs
47392 echo "$GST_PKG_ERRORS" >&5
47393
47394
47395 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47396 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47397 GST_VERSION_MINOR=8
47398
47399
47400 elif test $pkg_failed = untried; then
47401
47402 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47403 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47404 GST_VERSION_MINOR=8
47405
47406
47407 else
47408 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47409 GST_LIBS=$pkg_cv_GST_LIBS
47410 { echo "$as_me:$LINENO: result: yes" >&5
47411 echo "${ECHO_T}yes" >&6; }
47412
47413 wxUSE_GSTREAMER="yes"
47414 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47415
47416 fi
47417 else
47418 GST_VERSION_MINOR=8
47419 fi
47420
47421 if test $GST_VERSION_MINOR = "8"; then
47422 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47423
47424 pkg_failed=no
47425 { echo "$as_me:$LINENO: checking for GST" >&5
47426 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47427
47428 if test -n "$PKG_CONFIG"; then
47429 if test -n "$GST_CFLAGS"; then
47430 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47431 else
47432 if test -n "$PKG_CONFIG" && \
47433 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47434 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47435 ac_status=$?
47436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47437 (exit $ac_status); }; then
47438 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47439 else
47440 pkg_failed=yes
47441 fi
47442 fi
47443 else
47444 pkg_failed=untried
47445 fi
47446 if test -n "$PKG_CONFIG"; then
47447 if test -n "$GST_LIBS"; then
47448 pkg_cv_GST_LIBS="$GST_LIBS"
47449 else
47450 if test -n "$PKG_CONFIG" && \
47451 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47452 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47453 ac_status=$?
47454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47455 (exit $ac_status); }; then
47456 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47457 else
47458 pkg_failed=yes
47459 fi
47460 fi
47461 else
47462 pkg_failed=untried
47463 fi
47464
47465
47466
47467 if test $pkg_failed = yes; then
47468
47469 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47470 _pkg_short_errors_supported=yes
47471 else
47472 _pkg_short_errors_supported=no
47473 fi
47474 if test $_pkg_short_errors_supported = yes; then
47475 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47476 else
47477 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47478 fi
47479 # Put the nasty error message in config.log where it belongs
47480 echo "$GST_PKG_ERRORS" >&5
47481
47482
47483 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47484 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47485
47486 elif test $pkg_failed = untried; then
47487
47488 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47489 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47490
47491 else
47492 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47493 GST_LIBS=$pkg_cv_GST_LIBS
47494 { echo "$as_me:$LINENO: result: yes" >&5
47495 echo "${ECHO_T}yes" >&6; }
47496 wxUSE_GSTREAMER="yes"
47497 fi
47498 fi
47499
47500
47501 if test "$wxUSE_GSTREAMER" = "yes"; then
47502 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47503 EXTRALIBS_MEDIA="$GST_LIBS"
47504
47505 cat >>confdefs.h <<\_ACEOF
47506 #define wxUSE_GSTREAMER 1
47507 _ACEOF
47508
47509 else
47510 USE_MEDIA=0
47511 fi
47512 fi
47513
47514 if test $USE_MEDIA = 1; then
47515 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47516 cat >>confdefs.h <<\_ACEOF
47517 #define wxUSE_MEDIACTRL 1
47518 _ACEOF
47519
47520 else
47521 if test "$wxUSE_MEDIACTRL" = "yes"; then
47522 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47523 echo "$as_me: error: GStreamer not available" >&2;}
47524 { (exit 1); exit 1; }; }
47525 else
47526 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47527 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47528 fi
47529 fi
47530 fi
47531
47532
47533 if test "$cross_compiling" != "no"; then
47534 OSINFO="\"$host\""
47535 else
47536 OSINFO=`uname -s -r -m`
47537 OSINFO="\"$OSINFO\""
47538 fi
47539
47540 cat >>confdefs.h <<_ACEOF
47541 #define WXWIN_OS_DESCRIPTION $OSINFO
47542 _ACEOF
47543
47544
47545
47546 if test "x$prefix" != "xNONE"; then
47547 wxPREFIX=$prefix
47548 else
47549 wxPREFIX=$ac_default_prefix
47550 fi
47551
47552 cat >>confdefs.h <<_ACEOF
47553 #define wxINSTALL_PREFIX "$wxPREFIX"
47554 _ACEOF
47555
47556
47557
47558
47559 STD_BASE_LIBS="base"
47560 STD_GUI_LIBS=""
47561 BUILT_WX_LIBS="base"
47562 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47563
47564 if test "$wxUSE_SOCKETS" = "yes" ; then
47565 STD_BASE_LIBS="net $STD_BASE_LIBS"
47566 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47567 fi
47568 if test "$wxUSE_XML" = "yes" ; then
47569 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47570 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47571 fi
47572
47573 if test "$wxUSE_GUI" = "yes"; then
47574 STD_GUI_LIBS="adv core"
47575 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47576
47577 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47578 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47579 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47580 fi
47581 if test "$wxUSE_HTML" = "yes" ; then
47582 STD_GUI_LIBS="html $STD_GUI_LIBS"
47583 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47584 fi
47585 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47586 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47587 fi
47588 if test "$wxUSE_OPENGL" = "yes" ; then
47589 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47590 fi
47591 if test "$wxUSE_AUI" = "yes" ; then
47592 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47593 fi
47594 if test "$wxUSE_PROPGRID" = "yes" ; then
47595 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47596 fi
47597 if test "$wxUSE_RIBBON" = "yes" ; then
47598 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
47599 fi
47600 if test "$wxUSE_RICHTEXT" = "yes" ; then
47601 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47602 fi
47603 if test "$wxUSE_STC" = "yes" ; then
47604 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47605 fi
47606 if test "$wxUSE_XRC" = "yes" ; then
47607 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47608 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47609 fi
47610 fi
47611
47612
47613
47614
47615
47616
47617
47618 EXTRA_FRAMEWORKS=
47619 if test "$wxUSE_MAC" = 1 ; then
47620 if test "$USE_DARWIN" = 1; then
47621 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
47622 fi
47623 fi
47624 if test "$wxUSE_COCOA" = 1 ; then
47625 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
47626 if test "$wxUSE_MEDIACTRL" = "yes"; then
47627 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
47628 fi
47629 fi
47630 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47631 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47632 fi
47633
47634 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
47635 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
47636
47637 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47638
47639 if test "$wxUSE_GUI" = "yes"; then
47640
47641
47642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47643 erase event exec font image minimal render \
47644 shaped svg taborder vscroll widgets wrapsizer"
47645
47646 if test "$wxUSE_MONOLITHIC" != "yes"; then
47647 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47648 fi
47649 if test "$TOOLKIT" = "MSW"; then
47650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47651 if test "$wxUSE_UNIVERSAL" != "yes"; then
47652 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
47653 fi
47654 fi
47655 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47657 fi
47658 else
47659 SAMPLES_SUBDIRS="console"
47660 if test "$wxUSE_SOCKETS" = "yes" ; then
47661 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47662 fi
47663 if test "$wxUSE_IPC" = "yes" ; then
47664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47665 fi
47666 fi
47667
47668
47669 if test "x$INTELCC" = "xyes" ; then
47670 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47671 elif test "$GCC" = yes ; then
47672 CWARNINGS="-Wall -Wundef"
47673 fi
47674
47675 if test "x$INTELCXX" = "xyes" ; then
47676 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47677 elif test "$GXX" = yes ; then
47678 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47679 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47680 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47681 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47682 echo $ECHO_N "(cached) $ECHO_C" >&6
47683 else
47684 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47685
47686 ac_ext=cpp
47687 ac_cpp='$CXXCPP $CPPFLAGS'
47688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47691
47692 ac_save_CXXFLAGS="$CXXFLAGS"
47693 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47694 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47695 cat >conftest.$ac_ext <<_ACEOF
47696 /* confdefs.h. */
47697 _ACEOF
47698 cat confdefs.h >>conftest.$ac_ext
47699 cat >>conftest.$ac_ext <<_ACEOF
47700 /* end confdefs.h. */
47701
47702 int
47703 main ()
47704 {
47705 return 0;
47706 ;
47707 return 0;
47708 }
47709 _ACEOF
47710 rm -f conftest.$ac_objext
47711 if { (ac_try="$ac_compile"
47712 case "(($ac_try" in
47713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47714 *) ac_try_echo=$ac_try;;
47715 esac
47716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47717 (eval "$ac_compile") 2>conftest.er1
47718 ac_status=$?
47719 grep -v '^ *+' conftest.er1 >conftest.err
47720 rm -f conftest.er1
47721 cat conftest.err >&5
47722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47723 (exit $ac_status); } && {
47724 test -z "$ac_cxx_werror_flag" ||
47725 test ! -s conftest.err
47726 } && test -s conftest.$ac_objext; then
47727 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47728 else
47729 echo "$as_me: failed program was:" >&5
47730 sed 's/^/| /' conftest.$ac_ext >&5
47731
47732
47733 fi
47734
47735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47736 done
47737 CXXFLAGS="$ac_save_CXXFLAGS"
47738 ac_ext=c
47739 ac_cpp='$CPP $CPPFLAGS'
47740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47743
47744
47745 fi
47746 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47747 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47748 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47749 .ok|.ok,*) ;;
47750 .|.no|.no,*) ;;
47751 *)
47752 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47753 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47754 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47755 ac_status=$?
47756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47757 (exit $ac_status); }
47758 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47759 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47760 ac_status=$?
47761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47762 (exit $ac_status); }
47763 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47764 fi
47765 ;;
47766 esac
47767
47768
47769 if test "$wxUSE_MAC" = 1 ; then
47770 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
47771 fi
47772 fi
47773
47774
47775 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47776 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47777
47778
47779 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47780 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47781 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47782 $CPPFLAGS `
47783
47784 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47785 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47786 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47787 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47788 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47789
47790 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47791
47792
47793 if test "x$MWCC" = "xyes"; then
47794
47795 CC="$CC -cwd source -I-"
47796 CXX="$CXX -cwd source -I-"
47797 fi
47798
47799
47800 LIBS=`echo $LIBS`
47801 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47802 EXTRALIBS_XML="$EXPAT_LINK"
47803 EXTRALIBS_HTML="$MSPACK_LINK"
47804 EXTRALIBS_MEDIA="$GST_LIBS"
47805 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47806 if test "$wxUSE_GUI" = "yes"; then
47807 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47808 fi
47809 if test "$wxUSE_OPENGL" = "yes"; then
47810 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47811 fi
47812
47813 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47814
47815 WXCONFIG_LIBS="$LIBS"
47816
47817 if test "$wxUSE_REGEX" = "builtin" ; then
47818 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47819 fi
47820 if test "$wxUSE_EXPAT" = "builtin" ; then
47821 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47822 fi
47823 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47824 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47825 fi
47826 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47827 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47828 fi
47829 if test "$wxUSE_LIBPNG" = "builtin" ; then
47830 wxconfig_3rdparty="png $wxconfig_3rdparty"
47831 fi
47832 if test "$wxUSE_ZLIB" = "builtin" ; then
47833 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47834 fi
47835
47836 for i in $wxconfig_3rdparty ; do
47837 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47838 done
47839
47840
47841 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47842 WXUNIV=1
47843
47844 case "$wxUNIV_THEMES" in
47845 ''|all)
47846 cat >>confdefs.h <<\_ACEOF
47847 #define wxUSE_ALL_THEMES 1
47848 _ACEOF
47849
47850 ;;
47851
47852 *)
47853 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47854 cat >>confdefs.h <<_ACEOF
47855 #define wxUSE_THEME_$t 1
47856 _ACEOF
47857
47858 done
47859 esac
47860 else
47861 WXUNIV=0
47862 fi
47863
47864
47865
47866
47867
47868
47869
47870
47871 if test $wxUSE_MONOLITHIC = "yes" ; then
47872 MONOLITHIC=1
47873 else
47874 MONOLITHIC=0
47875 fi
47876
47877 if test $wxUSE_PLUGINS = "yes" ; then
47878 USE_PLUGINS=1
47879 else
47880 USE_PLUGINS=0
47881 fi
47882
47883 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47884 USE_QA=1
47885 else
47886 USE_QA=0
47887 fi
47888
47889 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47890 OFFICIAL_BUILD=1
47891 else
47892 OFFICIAL_BUILD=0
47893 fi
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
47920
47921 TOOLKIT_LOWERCASE=xxx
47922 if test "$TOOLKIT" = "MAC"; then
47923 TOOLKIT_LOWERCASE=osx_carbon
47924 fi
47925 if test "$TOOLKIT" = "OSX_CARBON"; then
47926 TOOLKIT_LOWERCASE=osx_carbon
47927 fi
47928 if test "$TOOLKIT" = "OSX_COCOA"; then
47929 TOOLKIT_LOWERCASE=osx_cocoa
47930 fi
47931 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47932 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47933 fi
47934
47935
47936
47937
47938
47939
47940
47941
47942
47943
47944 case "$TOOLKIT" in
47945 GTK)
47946 TOOLKIT_DESC="GTK+"
47947 if test "$WXGTK2" = 1; then
47948 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47949 if test "$wxUSE_GTKPRINT" = "yes" ; then
47950 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47951 fi
47952 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47953 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47954 fi
47955 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47956 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47957 fi
47958 if test "$wxUSE_LIBHILDON" = "yes"; then
47959 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47960 fi
47961 if test "$wxUSE_LIBHILDON2" = "yes"; then
47962 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47963 fi
47964
47965 if test "$TOOLKIT_EXTRA" != ""; then
47966 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47967 fi
47968 fi
47969 ;;
47970
47971 ?*)
47972 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47973 ;;
47974
47975 *)
47976 TOOLKIT_DESC="base only"
47977 ;;
47978 esac
47979
47980 if test "$wxUSE_WINE" = "yes"; then
47981 BAKEFILE_FORCE_PLATFORM=win32
47982 fi
47983
47984 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47985 then
47986 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47987 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47988 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47989 echo $ECHO_N "(cached) $ECHO_C" >&6
47990 else
47991
47992 echo '#include <stdio.h>
47993 const wchar_t test_var[] = L"awidetest";' > conftest.h
47994
47995 echo '#include "conftest.h"
47996 int main()
47997 {
47998 printf("%ls", test_var);
47999 return 0;
48000 }' > conftest.cpp
48001
48002 wx_cv_gcc_pch_bug="pch not supported"
48003
48004 if $CXX conftest.h >/dev/null 2>&1
48005 then
48006 wx_cv_gcc_pch_bug=
48007
48008 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48009 then
48010 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48011 grep awidetest >/dev/null
48012 then
48013 wx_cv_gcc_pch_bug=no
48014 else
48015 wx_cv_gcc_pch_bug=yes
48016 fi
48017 fi
48018 fi
48019
48020 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48021
48022 fi
48023 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48024 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48025
48026 if test "$wx_cv_gcc_pch_bug" = yes; then
48027 bk_use_pch=no
48028 fi
48029 fi
48030
48031
48032
48033
48034
48035
48036
48037 if test "x$BAKEFILE_HOST" = "x"; then
48038 if test "x${host}" = "x" ; then
48039 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48040 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48041 { (exit 1); exit 1; }; }
48042 fi
48043
48044 BAKEFILE_HOST="${host}"
48045 fi
48046
48047 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48048
48049 if test -n "$ac_tool_prefix"; then
48050 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48051 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48054 if test "${ac_cv_prog_RANLIB+set}" = set; then
48055 echo $ECHO_N "(cached) $ECHO_C" >&6
48056 else
48057 if test -n "$RANLIB"; then
48058 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48059 else
48060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48061 for as_dir in $PATH
48062 do
48063 IFS=$as_save_IFS
48064 test -z "$as_dir" && as_dir=.
48065 for ac_exec_ext in '' $ac_executable_extensions; do
48066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48067 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48069 break 2
48070 fi
48071 done
48072 done
48073 IFS=$as_save_IFS
48074
48075 fi
48076 fi
48077 RANLIB=$ac_cv_prog_RANLIB
48078 if test -n "$RANLIB"; then
48079 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48080 echo "${ECHO_T}$RANLIB" >&6; }
48081 else
48082 { echo "$as_me:$LINENO: result: no" >&5
48083 echo "${ECHO_T}no" >&6; }
48084 fi
48085
48086
48087 fi
48088 if test -z "$ac_cv_prog_RANLIB"; then
48089 ac_ct_RANLIB=$RANLIB
48090 # Extract the first word of "ranlib", so it can be a program name with args.
48091 set dummy ranlib; ac_word=$2
48092 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48094 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48095 echo $ECHO_N "(cached) $ECHO_C" >&6
48096 else
48097 if test -n "$ac_ct_RANLIB"; then
48098 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48099 else
48100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48101 for as_dir in $PATH
48102 do
48103 IFS=$as_save_IFS
48104 test -z "$as_dir" && as_dir=.
48105 for ac_exec_ext in '' $ac_executable_extensions; do
48106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48107 ac_cv_prog_ac_ct_RANLIB="ranlib"
48108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48109 break 2
48110 fi
48111 done
48112 done
48113 IFS=$as_save_IFS
48114
48115 fi
48116 fi
48117 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48118 if test -n "$ac_ct_RANLIB"; then
48119 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48120 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48121 else
48122 { echo "$as_me:$LINENO: result: no" >&5
48123 echo "${ECHO_T}no" >&6; }
48124 fi
48125
48126 if test "x$ac_ct_RANLIB" = x; then
48127 RANLIB=":"
48128 else
48129 case $cross_compiling:$ac_tool_warned in
48130 yes:)
48131 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48132 whose name does not start with the host triplet. If you think this
48133 configuration is useful to you, please write to autoconf@gnu.org." >&5
48134 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48135 whose name does not start with the host triplet. If you think this
48136 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48137 ac_tool_warned=yes ;;
48138 esac
48139 RANLIB=$ac_ct_RANLIB
48140 fi
48141 else
48142 RANLIB="$ac_cv_prog_RANLIB"
48143 fi
48144
48145 # Find a good install program. We prefer a C program (faster),
48146 # so one script is as good as another. But avoid the broken or
48147 # incompatible versions:
48148 # SysV /etc/install, /usr/sbin/install
48149 # SunOS /usr/etc/install
48150 # IRIX /sbin/install
48151 # AIX /bin/install
48152 # AmigaOS /C/install, which installs bootblocks on floppy discs
48153 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48154 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48155 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48156 # OS/2's system install, which has a completely different semantic
48157 # ./install, which can be erroneously created by make from ./install.sh.
48158 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48159 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48160 if test -z "$INSTALL"; then
48161 if test "${ac_cv_path_install+set}" = set; then
48162 echo $ECHO_N "(cached) $ECHO_C" >&6
48163 else
48164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48165 for as_dir in $PATH
48166 do
48167 IFS=$as_save_IFS
48168 test -z "$as_dir" && as_dir=.
48169 # Account for people who put trailing slashes in PATH elements.
48170 case $as_dir/ in
48171 ./ | .// | /cC/* | \
48172 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48173 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48174 /usr/ucb/* ) ;;
48175 *)
48176 # OSF1 and SCO ODT 3.0 have their own names for install.
48177 # Don't use installbsd from OSF since it installs stuff as root
48178 # by default.
48179 for ac_prog in ginstall scoinst install; do
48180 for ac_exec_ext in '' $ac_executable_extensions; do
48181 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48182 if test $ac_prog = install &&
48183 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48184 # AIX install. It has an incompatible calling convention.
48185 :
48186 elif test $ac_prog = install &&
48187 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48188 # program-specific install script used by HP pwplus--don't use.
48189 :
48190 else
48191 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48192 break 3
48193 fi
48194 fi
48195 done
48196 done
48197 ;;
48198 esac
48199 done
48200 IFS=$as_save_IFS
48201
48202
48203 fi
48204 if test "${ac_cv_path_install+set}" = set; then
48205 INSTALL=$ac_cv_path_install
48206 else
48207 # As a last resort, use the slow shell script. Don't cache a
48208 # value for INSTALL within a source directory, because that will
48209 # break other packages using the cache if that directory is
48210 # removed, or if the value is a relative name.
48211 INSTALL=$ac_install_sh
48212 fi
48213 fi
48214 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48215 echo "${ECHO_T}$INSTALL" >&6; }
48216
48217 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48218 # It thinks the first close brace ends the variable substitution.
48219 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48220
48221 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48222
48223 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48224
48225 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48226 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48227 LN_S=$as_ln_s
48228 if test "$LN_S" = "ln -s"; then
48229 { echo "$as_me:$LINENO: result: yes" >&5
48230 echo "${ECHO_T}yes" >&6; }
48231 else
48232 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48233 echo "${ECHO_T}no, using $LN_S" >&6; }
48234 fi
48235
48236
48237 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48238 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48239 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48240 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48241 echo $ECHO_N "(cached) $ECHO_C" >&6
48242 else
48243 cat >conftest.make <<\_ACEOF
48244 SHELL = /bin/sh
48245 all:
48246 @echo '@@@%%%=$(MAKE)=@@@%%%'
48247 _ACEOF
48248 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48249 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48250 *@@@%%%=?*=@@@%%%*)
48251 eval ac_cv_prog_make_${ac_make}_set=yes;;
48252 *)
48253 eval ac_cv_prog_make_${ac_make}_set=no;;
48254 esac
48255 rm -f conftest.make
48256 fi
48257 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48258 { echo "$as_me:$LINENO: result: yes" >&5
48259 echo "${ECHO_T}yes" >&6; }
48260 SET_MAKE=
48261 else
48262 { echo "$as_me:$LINENO: result: no" >&5
48263 echo "${ECHO_T}no" >&6; }
48264 SET_MAKE="MAKE=${MAKE-make}"
48265 fi
48266
48267
48268
48269 if test "x$SUNCXX" = "xyes"; then
48270 AR=$CXX
48271 AROPTIONS="-xar -o"
48272
48273 elif test "x$SGICC" = "xyes"; then
48274 AR=$CXX
48275 AROPTIONS="-ar -o"
48276
48277 else
48278 if test -n "$ac_tool_prefix"; then
48279 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48280 set dummy ${ac_tool_prefix}ar; ac_word=$2
48281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48283 if test "${ac_cv_prog_AR+set}" = set; then
48284 echo $ECHO_N "(cached) $ECHO_C" >&6
48285 else
48286 if test -n "$AR"; then
48287 ac_cv_prog_AR="$AR" # Let the user override the test.
48288 else
48289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48290 for as_dir in $PATH
48291 do
48292 IFS=$as_save_IFS
48293 test -z "$as_dir" && as_dir=.
48294 for ac_exec_ext in '' $ac_executable_extensions; do
48295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48296 ac_cv_prog_AR="${ac_tool_prefix}ar"
48297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48298 break 2
48299 fi
48300 done
48301 done
48302 IFS=$as_save_IFS
48303
48304 fi
48305 fi
48306 AR=$ac_cv_prog_AR
48307 if test -n "$AR"; then
48308 { echo "$as_me:$LINENO: result: $AR" >&5
48309 echo "${ECHO_T}$AR" >&6; }
48310 else
48311 { echo "$as_me:$LINENO: result: no" >&5
48312 echo "${ECHO_T}no" >&6; }
48313 fi
48314
48315
48316 fi
48317 if test -z "$ac_cv_prog_AR"; then
48318 ac_ct_AR=$AR
48319 # Extract the first word of "ar", so it can be a program name with args.
48320 set dummy ar; ac_word=$2
48321 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48323 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48324 echo $ECHO_N "(cached) $ECHO_C" >&6
48325 else
48326 if test -n "$ac_ct_AR"; then
48327 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48328 else
48329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48330 for as_dir in $PATH
48331 do
48332 IFS=$as_save_IFS
48333 test -z "$as_dir" && as_dir=.
48334 for ac_exec_ext in '' $ac_executable_extensions; do
48335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48336 ac_cv_prog_ac_ct_AR="ar"
48337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48338 break 2
48339 fi
48340 done
48341 done
48342 IFS=$as_save_IFS
48343
48344 fi
48345 fi
48346 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48347 if test -n "$ac_ct_AR"; then
48348 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48349 echo "${ECHO_T}$ac_ct_AR" >&6; }
48350 else
48351 { echo "$as_me:$LINENO: result: no" >&5
48352 echo "${ECHO_T}no" >&6; }
48353 fi
48354
48355 if test "x$ac_ct_AR" = x; then
48356 AR="ar"
48357 else
48358 case $cross_compiling:$ac_tool_warned in
48359 yes:)
48360 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48361 whose name does not start with the host triplet. If you think this
48362 configuration is useful to you, please write to autoconf@gnu.org." >&5
48363 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48364 whose name does not start with the host triplet. If you think this
48365 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48366 ac_tool_warned=yes ;;
48367 esac
48368 AR=$ac_ct_AR
48369 fi
48370 else
48371 AR="$ac_cv_prog_AR"
48372 fi
48373
48374 AROPTIONS=rcu
48375 fi
48376
48377
48378 if test -n "$ac_tool_prefix"; then
48379 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48380 set dummy ${ac_tool_prefix}strip; ac_word=$2
48381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48383 if test "${ac_cv_prog_STRIP+set}" = set; then
48384 echo $ECHO_N "(cached) $ECHO_C" >&6
48385 else
48386 if test -n "$STRIP"; then
48387 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48388 else
48389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48390 for as_dir in $PATH
48391 do
48392 IFS=$as_save_IFS
48393 test -z "$as_dir" && as_dir=.
48394 for ac_exec_ext in '' $ac_executable_extensions; do
48395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48396 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48398 break 2
48399 fi
48400 done
48401 done
48402 IFS=$as_save_IFS
48403
48404 fi
48405 fi
48406 STRIP=$ac_cv_prog_STRIP
48407 if test -n "$STRIP"; then
48408 { echo "$as_me:$LINENO: result: $STRIP" >&5
48409 echo "${ECHO_T}$STRIP" >&6; }
48410 else
48411 { echo "$as_me:$LINENO: result: no" >&5
48412 echo "${ECHO_T}no" >&6; }
48413 fi
48414
48415
48416 fi
48417 if test -z "$ac_cv_prog_STRIP"; then
48418 ac_ct_STRIP=$STRIP
48419 # Extract the first word of "strip", so it can be a program name with args.
48420 set dummy strip; ac_word=$2
48421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48423 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48424 echo $ECHO_N "(cached) $ECHO_C" >&6
48425 else
48426 if test -n "$ac_ct_STRIP"; then
48427 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48428 else
48429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48430 for as_dir in $PATH
48431 do
48432 IFS=$as_save_IFS
48433 test -z "$as_dir" && as_dir=.
48434 for ac_exec_ext in '' $ac_executable_extensions; do
48435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48436 ac_cv_prog_ac_ct_STRIP="strip"
48437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48438 break 2
48439 fi
48440 done
48441 done
48442 IFS=$as_save_IFS
48443
48444 fi
48445 fi
48446 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48447 if test -n "$ac_ct_STRIP"; then
48448 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48449 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48450 else
48451 { echo "$as_me:$LINENO: result: no" >&5
48452 echo "${ECHO_T}no" >&6; }
48453 fi
48454
48455 if test "x$ac_ct_STRIP" = x; then
48456 STRIP=":"
48457 else
48458 case $cross_compiling:$ac_tool_warned in
48459 yes:)
48460 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48461 whose name does not start with the host triplet. If you think this
48462 configuration is useful to you, please write to autoconf@gnu.org." >&5
48463 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48464 whose name does not start with the host triplet. If you think this
48465 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48466 ac_tool_warned=yes ;;
48467 esac
48468 STRIP=$ac_ct_STRIP
48469 fi
48470 else
48471 STRIP="$ac_cv_prog_STRIP"
48472 fi
48473
48474 if test -n "$ac_tool_prefix"; then
48475 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48476 set dummy ${ac_tool_prefix}nm; ac_word=$2
48477 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48479 if test "${ac_cv_prog_NM+set}" = set; then
48480 echo $ECHO_N "(cached) $ECHO_C" >&6
48481 else
48482 if test -n "$NM"; then
48483 ac_cv_prog_NM="$NM" # Let the user override the test.
48484 else
48485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48486 for as_dir in $PATH
48487 do
48488 IFS=$as_save_IFS
48489 test -z "$as_dir" && as_dir=.
48490 for ac_exec_ext in '' $ac_executable_extensions; do
48491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48492 ac_cv_prog_NM="${ac_tool_prefix}nm"
48493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48494 break 2
48495 fi
48496 done
48497 done
48498 IFS=$as_save_IFS
48499
48500 fi
48501 fi
48502 NM=$ac_cv_prog_NM
48503 if test -n "$NM"; then
48504 { echo "$as_me:$LINENO: result: $NM" >&5
48505 echo "${ECHO_T}$NM" >&6; }
48506 else
48507 { echo "$as_me:$LINENO: result: no" >&5
48508 echo "${ECHO_T}no" >&6; }
48509 fi
48510
48511
48512 fi
48513 if test -z "$ac_cv_prog_NM"; then
48514 ac_ct_NM=$NM
48515 # Extract the first word of "nm", so it can be a program name with args.
48516 set dummy nm; ac_word=$2
48517 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48519 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48520 echo $ECHO_N "(cached) $ECHO_C" >&6
48521 else
48522 if test -n "$ac_ct_NM"; then
48523 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48524 else
48525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48526 for as_dir in $PATH
48527 do
48528 IFS=$as_save_IFS
48529 test -z "$as_dir" && as_dir=.
48530 for ac_exec_ext in '' $ac_executable_extensions; do
48531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48532 ac_cv_prog_ac_ct_NM="nm"
48533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48534 break 2
48535 fi
48536 done
48537 done
48538 IFS=$as_save_IFS
48539
48540 fi
48541 fi
48542 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48543 if test -n "$ac_ct_NM"; then
48544 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48545 echo "${ECHO_T}$ac_ct_NM" >&6; }
48546 else
48547 { echo "$as_me:$LINENO: result: no" >&5
48548 echo "${ECHO_T}no" >&6; }
48549 fi
48550
48551 if test "x$ac_ct_NM" = x; then
48552 NM=":"
48553 else
48554 case $cross_compiling:$ac_tool_warned in
48555 yes:)
48556 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48557 whose name does not start with the host triplet. If you think this
48558 configuration is useful to you, please write to autoconf@gnu.org." >&5
48559 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48560 whose name does not start with the host triplet. If you think this
48561 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48562 ac_tool_warned=yes ;;
48563 esac
48564 NM=$ac_ct_NM
48565 fi
48566 else
48567 NM="$ac_cv_prog_NM"
48568 fi
48569
48570
48571 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48572 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48573 INSTALL_TEST_DIR=acbftest$$
48574 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48575 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48576 rmdir $INSTALL_TEST_DIR
48577 INSTALL_DIR='$(INSTALL) -d'
48578 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48579 echo "${ECHO_T}$INSTALL -d" >&6; }
48580 else
48581 INSTALL_DIR="mkdir -p"
48582 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48583 echo "${ECHO_T}mkdir -p" >&6; }
48584 fi
48585
48586
48587 LDFLAGS_GUI=
48588 case ${BAKEFILE_HOST} in
48589 *-*-cygwin* | *-*-mingw32* )
48590 LDFLAGS_GUI="-mwindows"
48591 esac
48592
48593
48594 fi
48595
48596 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48597 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48598 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48599 echo $ECHO_N "(cached) $ECHO_C" >&6
48600 else
48601
48602 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48603 egrep -s GNU > /dev/null); then
48604 bakefile_cv_prog_makeisgnu="yes"
48605 else
48606 bakefile_cv_prog_makeisgnu="no"
48607 fi
48608
48609 fi
48610 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48611 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48612
48613 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48614 IF_GNU_MAKE=""
48615 else
48616 IF_GNU_MAKE="#"
48617 fi
48618
48619
48620
48621 PLATFORM_UNIX=0
48622 PLATFORM_WIN32=0
48623 PLATFORM_MSDOS=0
48624 PLATFORM_MAC=0
48625 PLATFORM_MACOS=0
48626 PLATFORM_MACOSX=0
48627 PLATFORM_OS2=0
48628 PLATFORM_BEOS=0
48629
48630 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48631 case "${BAKEFILE_HOST}" in
48632 *-*-mingw32* )
48633 PLATFORM_WIN32=1
48634 ;;
48635 *-pc-msdosdjgpp )
48636 PLATFORM_MSDOS=1
48637 ;;
48638 *-pc-os2_emx | *-pc-os2-emx )
48639 PLATFORM_OS2=1
48640 ;;
48641 *-*-darwin* )
48642 PLATFORM_MAC=1
48643 PLATFORM_MACOSX=1
48644 ;;
48645 *-*-beos* )
48646 PLATFORM_BEOS=1
48647 ;;
48648 powerpc-apple-macos* )
48649 PLATFORM_MAC=1
48650 PLATFORM_MACOS=1
48651 ;;
48652 * )
48653 PLATFORM_UNIX=1
48654 ;;
48655 esac
48656 else
48657 case "$BAKEFILE_FORCE_PLATFORM" in
48658 win32 )
48659 PLATFORM_WIN32=1
48660 ;;
48661 msdos )
48662 PLATFORM_MSDOS=1
48663 ;;
48664 os2 )
48665 PLATFORM_OS2=1
48666 ;;
48667 darwin )
48668 PLATFORM_MAC=1
48669 PLATFORM_MACOSX=1
48670 ;;
48671 unix )
48672 PLATFORM_UNIX=1
48673 ;;
48674 beos )
48675 PLATFORM_BEOS=1
48676 ;;
48677 * )
48678 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48679 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48680 { (exit 1); exit 1; }; }
48681 ;;
48682 esac
48683 fi
48684
48685
48686
48687
48688
48689
48690
48691
48692
48693
48694
48695 # Check whether --enable-omf was given.
48696 if test "${enable_omf+set}" = set; then
48697 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48698 fi
48699
48700
48701 case "${BAKEFILE_HOST}" in
48702 *-*-darwin* )
48703 if test "x$GCC" = "xyes"; then
48704 CFLAGS="$CFLAGS -fno-common"
48705 CXXFLAGS="$CXXFLAGS -fno-common"
48706 fi
48707 if test "x$XLCC" = "xyes"; then
48708 CFLAGS="$CFLAGS -qnocommon"
48709 CXXFLAGS="$CXXFLAGS -qnocommon"
48710 fi
48711 ;;
48712
48713 *-pc-os2_emx | *-pc-os2-emx )
48714 if test "x$bk_os2_use_omf" = "xyes" ; then
48715 AR=emxomfar
48716 RANLIB=:
48717 LDFLAGS="-Zomf $LDFLAGS"
48718 CFLAGS="-Zomf $CFLAGS"
48719 CXXFLAGS="-Zomf $CXXFLAGS"
48720 OS2_LIBEXT="lib"
48721 else
48722 OS2_LIBEXT="a"
48723 fi
48724 ;;
48725
48726 i*86-*-beos* )
48727 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48728 ;;
48729 esac
48730
48731
48732 SO_SUFFIX="so"
48733 SO_SUFFIX_MODULE="so"
48734 EXEEXT=""
48735 LIBPREFIX="lib"
48736 LIBEXT=".a"
48737 DLLPREFIX="lib"
48738 DLLPREFIX_MODULE=""
48739 DLLIMP_SUFFIX=""
48740 dlldir="$libdir"
48741
48742 case "${BAKEFILE_HOST}" in
48743 ia64-hp-hpux* )
48744 ;;
48745 *-hp-hpux* )
48746 SO_SUFFIX="sl"
48747 SO_SUFFIX_MODULE="sl"
48748 ;;
48749 *-*-aix* )
48750 SO_SUFFIX="a"
48751 SO_SUFFIX_MODULE="a"
48752 ;;
48753 *-*-cygwin* )
48754 SO_SUFFIX="dll"
48755 SO_SUFFIX_MODULE="dll"
48756 DLLIMP_SUFFIX="dll.a"
48757 EXEEXT=".exe"
48758 DLLPREFIX="cyg"
48759 dlldir="$bindir"
48760 ;;
48761 *-*-mingw32* )
48762 SO_SUFFIX="dll"
48763 SO_SUFFIX_MODULE="dll"
48764 DLLIMP_SUFFIX="dll.a"
48765 EXEEXT=".exe"
48766 DLLPREFIX=""
48767 dlldir="$bindir"
48768 ;;
48769 *-pc-msdosdjgpp )
48770 EXEEXT=".exe"
48771 DLLPREFIX=""
48772 dlldir="$bindir"
48773 ;;
48774 *-pc-os2_emx | *-pc-os2-emx )
48775 SO_SUFFIX="dll"
48776 SO_SUFFIX_MODULE="dll"
48777 DLLIMP_SUFFIX=$OS2_LIBEXT
48778 EXEEXT=".exe"
48779 DLLPREFIX=""
48780 LIBPREFIX=""
48781 LIBEXT=".$OS2_LIBEXT"
48782 dlldir="$bindir"
48783 ;;
48784 *-*-darwin* )
48785 SO_SUFFIX="dylib"
48786 SO_SUFFIX_MODULE="bundle"
48787 ;;
48788 esac
48789
48790 if test "x$DLLIMP_SUFFIX" = "x" ; then
48791 DLLIMP_SUFFIX="$SO_SUFFIX"
48792 fi
48793
48794
48795
48796
48797
48798
48799
48800
48801
48802
48803
48804
48805 PIC_FLAG=""
48806 if test "x$GCC" = "xyes"; then
48807 PIC_FLAG="-fPIC"
48808 fi
48809
48810 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48811 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48812 WINDOWS_IMPLIB=0
48813
48814 case "${BAKEFILE_HOST}" in
48815 *-hp-hpux* )
48816 if test "x$GCC" != "xyes"; then
48817 LDFLAGS="$LDFLAGS -L/usr/lib"
48818
48819 SHARED_LD_CC="${CC} -b -o"
48820 SHARED_LD_CXX="${CXX} -b -o"
48821 PIC_FLAG="+Z"
48822 fi
48823 ;;
48824
48825 *-*-linux* )
48826 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48827 PIC_FLAG="-KPIC"
48828 elif test "x$SUNCXX" = "xyes"; then
48829 SHARED_LD_CC="${CC} -G -o"
48830 SHARED_LD_CXX="${CXX} -G -o"
48831 PIC_FLAG="-KPIC"
48832 fi
48833 ;;
48834
48835 *-*-solaris2* )
48836 if test "x$SUNCXX" = xyes ; then
48837 SHARED_LD_CC="${CC} -G -o"
48838 SHARED_LD_CXX="${CXX} -G -o"
48839 PIC_FLAG="-KPIC"
48840 fi
48841 ;;
48842
48843 *-*-darwin* )
48844
48845 D='$'
48846 cat <<EOF >shared-ld-sh
48847 #!/bin/sh
48848 #-----------------------------------------------------------------------------
48849 #-- Name: distrib/mac/shared-ld-sh
48850 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48851 #-- Author: Gilles Depeyrot
48852 #-- Copyright: (c) 2002 Gilles Depeyrot
48853 #-- Licence: any use permitted
48854 #-----------------------------------------------------------------------------
48855
48856 verbose=0
48857 args=""
48858 objects=""
48859 linking_flag="-dynamiclib"
48860 ldargs="-r -keep_private_externs -nostdlib"
48861
48862 if test "x${D}CXX" = "x"; then
48863 CXX="c++"
48864 fi
48865
48866 while test ${D}# -gt 0; do
48867 case ${D}1 in
48868
48869 -v)
48870 verbose=1
48871 ;;
48872
48873 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48874 # collect these options and values
48875 args="${D}{args} ${D}1 ${D}2"
48876 shift
48877 ;;
48878
48879 -arch|-isysroot)
48880 # collect these options and values
48881 ldargs="${D}{ldargs} ${D}1 ${D}2"
48882 shift
48883 ;;
48884
48885 -s|-Wl,*)
48886 # collect these load args
48887 ldargs="${D}{ldargs} ${D}1"
48888 ;;
48889
48890 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48891 # collect these options
48892 args="${D}{args} ${D}1"
48893 ;;
48894
48895 -dynamiclib|-bundle)
48896 linking_flag="${D}1"
48897 ;;
48898
48899 -*)
48900 echo "shared-ld: unhandled option '${D}1'"
48901 exit 1
48902 ;;
48903
48904 *.o | *.a | *.dylib)
48905 # collect object files
48906 objects="${D}{objects} ${D}1"
48907 ;;
48908
48909 *)
48910 echo "shared-ld: unhandled argument '${D}1'"
48911 exit 1
48912 ;;
48913
48914 esac
48915 shift
48916 done
48917
48918 status=0
48919
48920 #
48921 # Link one module containing all the others
48922 #
48923 if test ${D}{verbose} = 1; then
48924 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48925 fi
48926 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48927 status=${D}?
48928
48929 #
48930 # Link the shared library from the single module created, but only if the
48931 # previous command didn't fail:
48932 #
48933 if test ${D}{status} = 0; then
48934 if test ${D}{verbose} = 1; then
48935 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48936 fi
48937 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48938 status=${D}?
48939 fi
48940
48941 #
48942 # Remove intermediate module
48943 #
48944 rm -f master.${D}${D}.o
48945
48946 exit ${D}status
48947 EOF
48948
48949 chmod +x shared-ld-sh
48950
48951 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48952 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
48953
48954
48955 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48956 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48957 if test "${bakefile_cv_gcc31+set}" = set; then
48958 echo $ECHO_N "(cached) $ECHO_C" >&6
48959 else
48960
48961 cat >conftest.$ac_ext <<_ACEOF
48962 /* confdefs.h. */
48963 _ACEOF
48964 cat confdefs.h >>conftest.$ac_ext
48965 cat >>conftest.$ac_ext <<_ACEOF
48966 /* end confdefs.h. */
48967
48968 int
48969 main ()
48970 {
48971
48972 #if (__GNUC__ < 3) || \
48973 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48974 This is old gcc
48975 #endif
48976
48977 ;
48978 return 0;
48979 }
48980 _ACEOF
48981 rm -f conftest.$ac_objext
48982 if { (ac_try="$ac_compile"
48983 case "(($ac_try" in
48984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48985 *) ac_try_echo=$ac_try;;
48986 esac
48987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48988 (eval "$ac_compile") 2>conftest.er1
48989 ac_status=$?
48990 grep -v '^ *+' conftest.er1 >conftest.err
48991 rm -f conftest.er1
48992 cat conftest.err >&5
48993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48994 (exit $ac_status); } && {
48995 test -z "$ac_c_werror_flag" ||
48996 test ! -s conftest.err
48997 } && test -s conftest.$ac_objext; then
48998
48999 bakefile_cv_gcc31=yes
49000
49001 else
49002 echo "$as_me: failed program was:" >&5
49003 sed 's/^/| /' conftest.$ac_ext >&5
49004
49005
49006 bakefile_cv_gcc31=no
49007
49008
49009 fi
49010
49011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49012
49013 fi
49014 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49015 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49016 if test "$bakefile_cv_gcc31" = "no"; then
49017 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49018 SHARED_LD_CXX="$SHARED_LD_CC"
49019 else
49020 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49021 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49022 fi
49023
49024 if test "x$GCC" == "xyes"; then
49025 PIC_FLAG="-dynamic -fPIC"
49026 fi
49027 if test "x$XLCC" = "xyes"; then
49028 PIC_FLAG="-dynamic -DPIC"
49029 fi
49030 ;;
49031
49032 *-*-aix* )
49033 if test "x$GCC" = "xyes"; then
49034 PIC_FLAG=""
49035
49036 case "${BAKEFILE_HOST}" in
49037 *-*-aix5* )
49038 LD_EXPFULL="-Wl,-bexpfull"
49039 ;;
49040 esac
49041
49042 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49043 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49044 else
49045 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49046 set dummy makeC++SharedLib; ac_word=$2
49047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49049 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49050 echo $ECHO_N "(cached) $ECHO_C" >&6
49051 else
49052 if test -n "$AIX_CXX_LD"; then
49053 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49054 else
49055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49056 for as_dir in $PATH
49057 do
49058 IFS=$as_save_IFS
49059 test -z "$as_dir" && as_dir=.
49060 for ac_exec_ext in '' $ac_executable_extensions; do
49061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49062 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49064 break 2
49065 fi
49066 done
49067 done
49068 IFS=$as_save_IFS
49069
49070 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49071 fi
49072 fi
49073 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49074 if test -n "$AIX_CXX_LD"; then
49075 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49076 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49077 else
49078 { echo "$as_me:$LINENO: result: no" >&5
49079 echo "${ECHO_T}no" >&6; }
49080 fi
49081
49082
49083 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49084 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49085 fi
49086 ;;
49087
49088 *-*-beos* )
49089 SHARED_LD_CC="${LD} -nostart -o"
49090 SHARED_LD_CXX="${LD} -nostart -o"
49091 ;;
49092
49093 *-*-irix* )
49094 if test "x$GCC" != "xyes"; then
49095 PIC_FLAG="-KPIC"
49096 fi
49097 ;;
49098
49099 *-*-cygwin* | *-*-mingw32* )
49100 PIC_FLAG=""
49101 SHARED_LD_CC="\$(CC) -shared -o"
49102 SHARED_LD_CXX="\$(CXX) -shared -o"
49103 WINDOWS_IMPLIB=1
49104 ;;
49105
49106 *-pc-os2_emx | *-pc-os2-emx )
49107 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49108 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49109 PIC_FLAG=""
49110
49111 D='$'
49112 cat <<EOF >dllar.sh
49113 #!/bin/sh
49114 #
49115 # dllar - a tool to build both a .dll and an .a file
49116 # from a set of object (.o) files for EMX/OS2.
49117 #
49118 # Written by Andrew Zabolotny, bit@freya.etu.ru
49119 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49120 #
49121 # This script will accept a set of files on the command line.
49122 # All the public symbols from the .o files will be exported into
49123 # a .DEF file, then linker will be run (through gcc) against them to
49124 # build a shared library consisting of all given .o files. All libraries
49125 # (.a) will be first decompressed into component .o files then act as
49126 # described above. You can optionally give a description (-d "description")
49127 # which will be put into .DLL. To see the list of accepted options (as well
49128 # as command-line format) simply run this program without options. The .DLL
49129 # is built to be imported by name (there is no guarantee that new versions
49130 # of the library you build will have same ordinals for same symbols).
49131 #
49132 # dllar is free software; you can redistribute it and/or modify
49133 # it under the terms of the GNU General Public License as published by
49134 # the Free Software Foundation; either version 2, or (at your option)
49135 # any later version.
49136 #
49137 # dllar is distributed in the hope that it will be useful,
49138 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49139 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49140 # GNU General Public License for more details.
49141 #
49142 # You should have received a copy of the GNU General Public License
49143 # along with dllar; see the file COPYING. If not, write to the Free
49144 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49145 # 02111-1307, USA.
49146
49147 # To successfuly run this program you will need:
49148 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49149 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49150 # - gcc
49151 # (used to build the .dll)
49152 # - emxexp
49153 # (used to create .def file from .o files)
49154 # - emximp
49155 # (used to create .a file from .def file)
49156 # - GNU text utilites (cat, sort, uniq)
49157 # used to process emxexp output
49158 # - GNU file utilities (mv, rm)
49159 # - GNU sed
49160 # - lxlite (optional, see flag below)
49161 # (used for general .dll cleanup)
49162 #
49163
49164 flag_USE_LXLITE=1;
49165
49166 #
49167 # helper functions
49168 # basnam, variant of basename, which does _not_ remove the path, _iff_
49169 # second argument (suffix to remove) is given
49170 basnam(){
49171 case ${D}# in
49172 1)
49173 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49174 ;;
49175 2)
49176 echo ${D}1 | sed 's/'${D}2'${D}//'
49177 ;;
49178 *)
49179 echo "error in basnam ${D}*"
49180 exit 8
49181 ;;
49182 esac
49183 }
49184
49185 # Cleanup temporary files and output
49186 CleanUp() {
49187 cd ${D}curDir
49188 for i in ${D}inputFiles ; do
49189 case ${D}i in
49190 *!)
49191 rm -rf \`basnam ${D}i !\`
49192 ;;
49193 *)
49194 ;;
49195 esac
49196 done
49197
49198 # Kill result in case of failure as there is just to many stupid make/nmake
49199 # things out there which doesn't do this.
49200 if [ ${D}# -eq 0 ]; then
49201 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49202 fi
49203 }
49204
49205 # Print usage and exit script with rc=1.
49206 PrintHelp() {
49207 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49208 echo ' [-name-mangler-script script.sh]'
49209 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49210 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49211 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49212 echo ' [*.o] [*.a]'
49213 echo '*> "output_file" should have no extension.'
49214 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49215 echo ' The import library name is derived from this and is set to "name".a,'
49216 echo ' unless overridden by -import'
49217 echo '*> "importlib_name" should have no extension.'
49218 echo ' If it has the .o, or .a extension, it is automatically removed.'
49219 echo ' This name is used as the import library name and may be longer and'
49220 echo ' more descriptive than the DLL name which has to follow the old '
49221 echo ' 8.3 convention of FAT.'
49222 echo '*> "script.sh may be given to override the output_file name by a'
49223 echo ' different name. It is mainly useful if the regular make process'
49224 echo ' of some package does not take into account OS/2 restriction of'
49225 echo ' DLL name lengths. It takes the importlib name as input and is'
49226 echo ' supposed to procude a shorter name as output. The script should'
49227 echo ' expect to get importlib_name without extension and should produce'
49228 echo ' a (max.) 8 letter name without extension.'
49229 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49230 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49231 echo ' These flags will be put at the start of GCC command line.'
49232 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49233 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49234 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49235 echo ' If the last character of a symbol is "*", all symbols beginning'
49236 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49237 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49238 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49239 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49240 echo ' C runtime DLLs.'
49241 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49242 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49243 echo ' unchanged to GCC at the end of command line.'
49244 echo '*> If you create a DLL from a library and you do not specify -o,'
49245 echo ' the basename for DLL and import library will be set to library name,'
49246 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49247 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49248 echo ' library will be renamed into gcc_s.a.'
49249 echo '--------'
49250 echo 'Example:'
49251 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49252 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49253 CleanUp
49254 exit 1
49255 }
49256
49257 # Execute a command.
49258 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49259 # @Uses Whatever CleanUp() uses.
49260 doCommand() {
49261 echo "${D}*"
49262 eval ${D}*
49263 rcCmd=${D}?
49264
49265 if [ ${D}rcCmd -ne 0 ]; then
49266 echo "command failed, exit code="${D}rcCmd
49267 CleanUp
49268 exit ${D}rcCmd
49269 fi
49270 }
49271
49272 # main routine
49273 # setup globals
49274 cmdLine=${D}*
49275 outFile=""
49276 outimpFile=""
49277 inputFiles=""
49278 renameScript=""
49279 description=""
49280 CC=gcc.exe
49281 CFLAGS="-s -Zcrtdll"
49282 EXTRA_CFLAGS=""
49283 EXPORT_BY_ORDINALS=0
49284 exclude_symbols=""
49285 library_flags=""
49286 curDir=\`pwd\`
49287 curDirS=curDir
49288 case ${D}curDirS in
49289 */)
49290 ;;
49291 *)
49292 curDirS=${D}{curDirS}"/"
49293 ;;
49294 esac
49295 # Parse commandline
49296 libsToLink=0
49297 omfLinking=0
49298 while [ ${D}1 ]; do
49299 case ${D}1 in
49300 -ord*)
49301 EXPORT_BY_ORDINALS=1;
49302 ;;
49303 -o*)
49304 shift
49305 outFile=${D}1
49306 ;;
49307 -i*)
49308 shift
49309 outimpFile=${D}1
49310 ;;
49311 -name-mangler-script)
49312 shift
49313 renameScript=${D}1
49314 ;;
49315 -d*)
49316 shift
49317 description=${D}1
49318 ;;
49319 -f*)
49320 shift
49321 CFLAGS=${D}1
49322 ;;
49323 -c*)
49324 shift
49325 CC=${D}1
49326 ;;
49327 -h*)
49328 PrintHelp
49329 ;;
49330 -ex*)
49331 shift
49332 exclude_symbols=${D}{exclude_symbols}${D}1" "
49333 ;;
49334 -libf*)
49335 shift
49336 library_flags=${D}{library_flags}${D}1" "
49337 ;;
49338 -nocrt*)
49339 CFLAGS="-s"
49340 ;;
49341 -nolxl*)
49342 flag_USE_LXLITE=0
49343 ;;
49344 -* | /*)
49345 case ${D}1 in
49346 -L* | -l*)
49347 libsToLink=1
49348 ;;
49349 -Zomf)
49350 omfLinking=1
49351 ;;
49352 *)
49353 ;;
49354 esac
49355 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49356 ;;
49357 *.dll)
49358 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49359 if [ ${D}omfLinking -eq 1 ]; then
49360 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49361 else
49362 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49363 fi
49364 ;;
49365 *)
49366 found=0;
49367 if [ ${D}libsToLink -ne 0 ]; then
49368 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49369 else
49370 for file in ${D}1 ; do
49371 if [ -f ${D}file ]; then
49372 inputFiles="${D}{inputFiles} ${D}file"
49373 found=1
49374 fi
49375 done
49376 if [ ${D}found -eq 0 ]; then
49377 echo "ERROR: No file(s) found: "${D}1
49378 exit 8
49379 fi
49380 fi
49381 ;;
49382 esac
49383 shift
49384 done # iterate cmdline words
49385
49386 #
49387 if [ -z "${D}inputFiles" ]; then
49388 echo "dllar: no input files"
49389 PrintHelp
49390 fi
49391
49392 # Now extract all .o files from .a files
49393 newInputFiles=""
49394 for file in ${D}inputFiles ; do
49395 case ${D}file in
49396 *.a | *.lib)
49397 case ${D}file in
49398 *.a)
49399 suffix=".a"
49400 AR="ar"
49401 ;;
49402 *.lib)
49403 suffix=".lib"
49404 AR="emxomfar"
49405 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49406 ;;
49407 *)
49408 ;;
49409 esac
49410 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49411 mkdir ${D}dirname
49412 if [ ${D}? -ne 0 ]; then
49413 echo "Failed to create subdirectory ./${D}dirname"
49414 CleanUp
49415 exit 8;
49416 fi
49417 # Append '!' to indicate archive
49418 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49419 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49420 cd ${D}curDir
49421 found=0;
49422 for subfile in ${D}dirname/*.o* ; do
49423 if [ -f ${D}subfile ]; then
49424 found=1
49425 if [ -s ${D}subfile ]; then
49426 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49427 newInputFiles="${D}newInputFiles ${D}subfile"
49428 fi
49429 fi
49430 done
49431 if [ ${D}found -eq 0 ]; then
49432 echo "WARNING: there are no files in archive \\'${D}file\\'"
49433 fi
49434 ;;
49435 *)
49436 newInputFiles="${D}{newInputFiles} ${D}file"
49437 ;;
49438 esac
49439 done
49440 inputFiles="${D}newInputFiles"
49441
49442 # Output filename(s).
49443 do_backup=0;
49444 if [ -z ${D}outFile ]; then
49445 do_backup=1;
49446 set outFile ${D}inputFiles; outFile=${D}2
49447 fi
49448
49449 # If it is an archive, remove the '!' and the '_%' suffixes
49450 case ${D}outFile in
49451 *_%!)
49452 outFile=\`basnam ${D}outFile _%!\`
49453 ;;
49454 *)
49455 ;;
49456 esac
49457 case ${D}outFile in
49458 *.dll)
49459 outFile=\`basnam ${D}outFile .dll\`
49460 ;;
49461 *.DLL)
49462 outFile=\`basnam ${D}outFile .DLL\`
49463 ;;
49464 *.o)
49465 outFile=\`basnam ${D}outFile .o\`
49466 ;;
49467 *.obj)
49468 outFile=\`basnam ${D}outFile .obj\`
49469 ;;
49470 *.a)
49471 outFile=\`basnam ${D}outFile .a\`
49472 ;;
49473 *.lib)
49474 outFile=\`basnam ${D}outFile .lib\`
49475 ;;
49476 *)
49477 ;;
49478 esac
49479 case ${D}outimpFile in
49480 *.a)
49481 outimpFile=\`basnam ${D}outimpFile .a\`
49482 ;;
49483 *.lib)
49484 outimpFile=\`basnam ${D}outimpFile .lib\`
49485 ;;
49486 *)
49487 ;;
49488 esac
49489 if [ -z ${D}outimpFile ]; then
49490 outimpFile=${D}outFile
49491 fi
49492 defFile="${D}{outFile}.def"
49493 arcFile="${D}{outimpFile}.a"
49494 arcFile2="${D}{outimpFile}.lib"
49495
49496 #create ${D}dllFile as something matching 8.3 restrictions,
49497 if [ -z ${D}renameScript ] ; then
49498 dllFile="${D}outFile"
49499 else
49500 dllFile=\`${D}renameScript ${D}outimpFile\`
49501 fi
49502
49503 if [ ${D}do_backup -ne 0 ] ; then
49504 if [ -f ${D}arcFile ] ; then
49505 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49506 fi
49507 if [ -f ${D}arcFile2 ] ; then
49508 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49509 fi
49510 fi
49511
49512 # Extract public symbols from all the object files.
49513 tmpdefFile=${D}{defFile}_%
49514 rm -f ${D}tmpdefFile
49515 for file in ${D}inputFiles ; do
49516 case ${D}file in
49517 *!)
49518 ;;
49519 *)
49520 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49521 ;;
49522 esac
49523 done
49524
49525 # Create the def file.
49526 rm -f ${D}defFile
49527 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49528 dllFile="${D}{dllFile}.dll"
49529 if [ ! -z ${D}description ]; then
49530 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49531 fi
49532 echo "EXPORTS" >> ${D}defFile
49533
49534 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49535 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49536
49537 # Checks if the export is ok or not.
49538 for word in ${D}exclude_symbols; do
49539 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49540 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49541 done
49542
49543
49544 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49545 sed "=" < ${D}tmpdefFile | \\
49546 sed '
49547 N
49548 : loop
49549 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49550 t loop
49551 ' > ${D}{tmpdefFile}%
49552 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49553 else
49554 rm -f ${D}{tmpdefFile}%
49555 fi
49556 cat ${D}tmpdefFile >> ${D}defFile
49557 rm -f ${D}tmpdefFile
49558
49559 # Do linking, create implib, and apply lxlite.
49560 gccCmdl="";
49561 for file in ${D}inputFiles ; do
49562 case ${D}file in
49563 *!)
49564 ;;
49565 *)
49566 gccCmdl="${D}gccCmdl ${D}file"
49567 ;;
49568 esac
49569 done
49570 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49571 touch "${D}{outFile}.dll"
49572
49573 doCommand "emximp -o ${D}arcFile ${D}defFile"
49574 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49575 add_flags="";
49576 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49577 add_flags="-ynd"
49578 fi
49579 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49580 fi
49581 doCommand "emxomf -s -l ${D}arcFile"
49582
49583 # Successful exit.
49584 CleanUp 1
49585 exit 0
49586 EOF
49587
49588 chmod +x dllar.sh
49589 ;;
49590
49591 powerpc-apple-macos* | \
49592 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49593 *-*-mirbsd* | \
49594 *-*-sunos4* | \
49595 *-*-osf* | \
49596 *-*-dgux5* | \
49597 *-*-sysv5* | \
49598 *-pc-msdosdjgpp )
49599 ;;
49600
49601 *)
49602 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49603 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49604 { (exit 1); exit 1; }; }
49605 esac
49606
49607 if test "x$PIC_FLAG" != "x" ; then
49608 PIC_FLAG="$PIC_FLAG -DPIC"
49609 fi
49610
49611 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49612 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49613 fi
49614 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49615 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49616 fi
49617
49618
49619
49620
49621
49622
49623
49624
49625
49626 USE_SOVERSION=0
49627 USE_SOVERLINUX=0
49628 USE_SOVERSOLARIS=0
49629 USE_SOVERCYGWIN=0
49630 USE_SOTWOSYMLINKS=0
49631 USE_MACVERSION=0
49632 SONAME_FLAG=
49633
49634 case "${BAKEFILE_HOST}" in
49635 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49636 *-*-k*bsd*-gnu | *-*-mirbsd* )
49637 if test "x$SUNCXX" = "xyes"; then
49638 SONAME_FLAG="-h "
49639 else
49640 SONAME_FLAG="-Wl,-soname,"
49641 fi
49642 USE_SOVERSION=1
49643 USE_SOVERLINUX=1
49644 USE_SOTWOSYMLINKS=1
49645 ;;
49646
49647 *-*-solaris2* )
49648 SONAME_FLAG="-h "
49649 USE_SOVERSION=1
49650 USE_SOVERSOLARIS=1
49651 ;;
49652
49653 *-*-darwin* )
49654 USE_MACVERSION=1
49655 USE_SOVERSION=1
49656 USE_SOTWOSYMLINKS=1
49657 ;;
49658
49659 *-*-cygwin* )
49660 USE_SOVERSION=1
49661 USE_SOVERCYGWIN=1
49662 ;;
49663 esac
49664
49665
49666
49667
49668
49669
49670
49671
49672
49673
49674 # Check whether --enable-dependency-tracking was given.
49675 if test "${enable_dependency_tracking+set}" = set; then
49676 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49677 fi
49678
49679
49680 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49681 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49682
49683 BK_DEPS=""
49684 if test "x$bk_use_trackdeps" = "xno" ; then
49685 DEPS_TRACKING=0
49686 { echo "$as_me:$LINENO: result: disabled" >&5
49687 echo "${ECHO_T}disabled" >&6; }
49688 else
49689 DEPS_TRACKING=1
49690
49691 if test "x$GCC" = "xyes"; then
49692 DEPSMODE=gcc
49693 case "${BAKEFILE_HOST}" in
49694 *-*-darwin* )
49695 DEPSFLAG="-no-cpp-precomp -MMD"
49696 ;;
49697 * )
49698 DEPSFLAG="-MMD"
49699 ;;
49700 esac
49701 { echo "$as_me:$LINENO: result: gcc" >&5
49702 echo "${ECHO_T}gcc" >&6; }
49703 elif test "x$MWCC" = "xyes"; then
49704 DEPSMODE=mwcc
49705 DEPSFLAG="-MM"
49706 { echo "$as_me:$LINENO: result: mwcc" >&5
49707 echo "${ECHO_T}mwcc" >&6; }
49708 elif test "x$SUNCC" = "xyes"; then
49709 DEPSMODE=unixcc
49710 DEPSFLAG="-xM1"
49711 { echo "$as_me:$LINENO: result: Sun cc" >&5
49712 echo "${ECHO_T}Sun cc" >&6; }
49713 elif test "x$SGICC" = "xyes"; then
49714 DEPSMODE=unixcc
49715 DEPSFLAG="-M"
49716 { echo "$as_me:$LINENO: result: SGI cc" >&5
49717 echo "${ECHO_T}SGI cc" >&6; }
49718 elif test "x$HPCC" = "xyes"; then
49719 DEPSMODE=unixcc
49720 DEPSFLAG="+make"
49721 { echo "$as_me:$LINENO: result: HP cc" >&5
49722 echo "${ECHO_T}HP cc" >&6; }
49723 elif test "x$COMPAQCC" = "xyes"; then
49724 DEPSMODE=gcc
49725 DEPSFLAG="-MD"
49726 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49727 echo "${ECHO_T}Compaq cc" >&6; }
49728 else
49729 DEPS_TRACKING=0
49730 { echo "$as_me:$LINENO: result: none" >&5
49731 echo "${ECHO_T}none" >&6; }
49732 fi
49733
49734 if test $DEPS_TRACKING = 1 ; then
49735
49736 D='$'
49737 cat <<EOF >bk-deps
49738 #!/bin/sh
49739
49740 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49741 # script. It is used to track C/C++ files dependencies in portable way.
49742 #
49743 # Permission is given to use this file in any way.
49744
49745 DEPSMODE=${DEPSMODE}
49746 DEPSFLAG="${DEPSFLAG}"
49747 DEPSDIRBASE=.deps
49748
49749 if test ${D}DEPSMODE = gcc ; then
49750 ${D}* ${D}{DEPSFLAG}
49751 status=${D}?
49752
49753 # determine location of created files:
49754 while test ${D}# -gt 0; do
49755 case "${D}1" in
49756 -o )
49757 shift
49758 objfile=${D}1
49759 ;;
49760 -* )
49761 ;;
49762 * )
49763 srcfile=${D}1
49764 ;;
49765 esac
49766 shift
49767 done
49768 objfilebase=\`basename ${D}objfile\`
49769 builddir=\`dirname ${D}objfile\`
49770 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49771 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49772 depsdir=${D}builddir/${D}DEPSDIRBASE
49773 mkdir -p ${D}depsdir
49774
49775 # if the compiler failed, we're done:
49776 if test ${D}{status} != 0 ; then
49777 rm -f ${D}depfile
49778 exit ${D}{status}
49779 fi
49780
49781 # move created file to the location we want it in:
49782 if test -f ${D}depfile ; then
49783 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49784 rm -f ${D}depfile
49785 else
49786 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49787 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49788 if test ! -f ${D}depfile ; then
49789 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49790 depfile="${D}objfile.d"
49791 fi
49792 if test -f ${D}depfile ; then
49793 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49794 rm -f ${D}depfile
49795 fi
49796 fi
49797 exit 0
49798
49799 elif test ${D}DEPSMODE = mwcc ; then
49800 ${D}* || exit ${D}?
49801 # Run mwcc again with -MM and redirect into the dep file we want
49802 # NOTE: We can't use shift here because we need ${D}* to be valid
49803 prevarg=
49804 for arg in ${D}* ; do
49805 if test "${D}prevarg" = "-o"; then
49806 objfile=${D}arg
49807 else
49808 case "${D}arg" in
49809 -* )
49810 ;;
49811 * )
49812 srcfile=${D}arg
49813 ;;
49814 esac
49815 fi
49816 prevarg="${D}arg"
49817 done
49818
49819 objfilebase=\`basename ${D}objfile\`
49820 builddir=\`dirname ${D}objfile\`
49821 depsdir=${D}builddir/${D}DEPSDIRBASE
49822 mkdir -p ${D}depsdir
49823
49824 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49825 exit 0
49826
49827 elif test ${D}DEPSMODE = unixcc; then
49828 ${D}* || exit ${D}?
49829 # Run compiler again with deps flag and redirect into the dep file.
49830 # It doesn't work if the '-o FILE' option is used, but without it the
49831 # dependency file will contain the wrong name for the object. So it is
49832 # removed from the command line, and the dep file is fixed with sed.
49833 cmd=""
49834 while test ${D}# -gt 0; do
49835 case "${D}1" in
49836 -o )
49837 shift
49838 objfile=${D}1
49839 ;;
49840 * )
49841 eval arg${D}#=\\${D}1
49842 cmd="${D}cmd \\${D}arg${D}#"
49843 ;;
49844 esac
49845 shift
49846 done
49847
49848 objfilebase=\`basename ${D}objfile\`
49849 builddir=\`dirname ${D}objfile\`
49850 depsdir=${D}builddir/${D}DEPSDIRBASE
49851 mkdir -p ${D}depsdir
49852
49853 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49854 exit 0
49855
49856 else
49857 ${D}*
49858 exit ${D}?
49859 fi
49860 EOF
49861
49862 chmod +x bk-deps
49863 BK_DEPS="`pwd`/bk-deps"
49864 fi
49865 fi
49866
49867
49868
49869
49870
49871 case ${BAKEFILE_HOST} in
49872 *-*-cygwin* | *-*-mingw32* )
49873 if test -n "$ac_tool_prefix"; then
49874 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49875 set dummy ${ac_tool_prefix}windres; ac_word=$2
49876 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49878 if test "${ac_cv_prog_WINDRES+set}" = set; then
49879 echo $ECHO_N "(cached) $ECHO_C" >&6
49880 else
49881 if test -n "$WINDRES"; then
49882 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49883 else
49884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49885 for as_dir in $PATH
49886 do
49887 IFS=$as_save_IFS
49888 test -z "$as_dir" && as_dir=.
49889 for ac_exec_ext in '' $ac_executable_extensions; do
49890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49891 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49893 break 2
49894 fi
49895 done
49896 done
49897 IFS=$as_save_IFS
49898
49899 fi
49900 fi
49901 WINDRES=$ac_cv_prog_WINDRES
49902 if test -n "$WINDRES"; then
49903 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49904 echo "${ECHO_T}$WINDRES" >&6; }
49905 else
49906 { echo "$as_me:$LINENO: result: no" >&5
49907 echo "${ECHO_T}no" >&6; }
49908 fi
49909
49910
49911 fi
49912 if test -z "$ac_cv_prog_WINDRES"; then
49913 ac_ct_WINDRES=$WINDRES
49914 # Extract the first word of "windres", so it can be a program name with args.
49915 set dummy windres; ac_word=$2
49916 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49918 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49919 echo $ECHO_N "(cached) $ECHO_C" >&6
49920 else
49921 if test -n "$ac_ct_WINDRES"; then
49922 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49923 else
49924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49925 for as_dir in $PATH
49926 do
49927 IFS=$as_save_IFS
49928 test -z "$as_dir" && as_dir=.
49929 for ac_exec_ext in '' $ac_executable_extensions; do
49930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49931 ac_cv_prog_ac_ct_WINDRES="windres"
49932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49933 break 2
49934 fi
49935 done
49936 done
49937 IFS=$as_save_IFS
49938
49939 fi
49940 fi
49941 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49942 if test -n "$ac_ct_WINDRES"; then
49943 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49944 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49945 else
49946 { echo "$as_me:$LINENO: result: no" >&5
49947 echo "${ECHO_T}no" >&6; }
49948 fi
49949
49950 if test "x$ac_ct_WINDRES" = x; then
49951 WINDRES=""
49952 else
49953 case $cross_compiling:$ac_tool_warned in
49954 yes:)
49955 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49956 whose name does not start with the host triplet. If you think this
49957 configuration is useful to you, please write to autoconf@gnu.org." >&5
49958 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49959 whose name does not start with the host triplet. If you think this
49960 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49961 ac_tool_warned=yes ;;
49962 esac
49963 WINDRES=$ac_ct_WINDRES
49964 fi
49965 else
49966 WINDRES="$ac_cv_prog_WINDRES"
49967 fi
49968
49969 ;;
49970
49971 *-*-darwin* | powerpc-apple-macos* )
49972 # Extract the first word of "Rez", so it can be a program name with args.
49973 set dummy Rez; ac_word=$2
49974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49976 if test "${ac_cv_prog_REZ+set}" = set; then
49977 echo $ECHO_N "(cached) $ECHO_C" >&6
49978 else
49979 if test -n "$REZ"; then
49980 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49981 else
49982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49983 for as_dir in $PATH
49984 do
49985 IFS=$as_save_IFS
49986 test -z "$as_dir" && as_dir=.
49987 for ac_exec_ext in '' $ac_executable_extensions; do
49988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49989 ac_cv_prog_REZ="Rez"
49990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49991 break 2
49992 fi
49993 done
49994 done
49995 IFS=$as_save_IFS
49996
49997 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49998 fi
49999 fi
50000 REZ=$ac_cv_prog_REZ
50001 if test -n "$REZ"; then
50002 { echo "$as_me:$LINENO: result: $REZ" >&5
50003 echo "${ECHO_T}$REZ" >&6; }
50004 else
50005 { echo "$as_me:$LINENO: result: no" >&5
50006 echo "${ECHO_T}no" >&6; }
50007 fi
50008
50009
50010 # Extract the first word of "SetFile", so it can be a program name with args.
50011 set dummy SetFile; ac_word=$2
50012 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50014 if test "${ac_cv_prog_SETFILE+set}" = set; then
50015 echo $ECHO_N "(cached) $ECHO_C" >&6
50016 else
50017 if test -n "$SETFILE"; then
50018 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50019 else
50020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50021 for as_dir in $PATH
50022 do
50023 IFS=$as_save_IFS
50024 test -z "$as_dir" && as_dir=.
50025 for ac_exec_ext in '' $ac_executable_extensions; do
50026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50027 ac_cv_prog_SETFILE="SetFile"
50028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50029 break 2
50030 fi
50031 done
50032 done
50033 IFS=$as_save_IFS
50034
50035 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50036 fi
50037 fi
50038 SETFILE=$ac_cv_prog_SETFILE
50039 if test -n "$SETFILE"; then
50040 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50041 echo "${ECHO_T}$SETFILE" >&6; }
50042 else
50043 { echo "$as_me:$LINENO: result: no" >&5
50044 echo "${ECHO_T}no" >&6; }
50045 fi
50046
50047
50048 ;;
50049 esac
50050
50051
50052
50053
50054
50055
50056
50057
50058
50059 BAKEFILE_BAKEFILE_M4_VERSION="0.2.8"
50060
50061
50062 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8"
50063
50064
50065
50066 # Check whether --enable-precomp-headers was given.
50067 if test "${enable_precomp_headers+set}" = set; then
50068 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
50069 fi
50070
50071
50072 GCC_PCH=0
50073 ICC_PCH=0
50074 USE_PCH=0
50075 BK_MAKE_PCH=""
50076
50077 case ${BAKEFILE_HOST} in
50078 *-*-cygwin* )
50079 bk_use_pch="no"
50080 ;;
50081 esac
50082
50083 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50084 if test "x$GCC" = "xyes"; then
50085 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50086 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50087 cat >conftest.$ac_ext <<_ACEOF
50088 /* confdefs.h. */
50089 _ACEOF
50090 cat confdefs.h >>conftest.$ac_ext
50091 cat >>conftest.$ac_ext <<_ACEOF
50092 /* end confdefs.h. */
50093
50094 int
50095 main ()
50096 {
50097
50098 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50099 There is no PCH support
50100 #endif
50101 #if (__GNUC__ < 3)
50102 There is no PCH support
50103 #endif
50104 #if (__GNUC__ == 3) && \
50105 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50106 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50107 ( defined(__INTEL_COMPILER) )
50108 There is no PCH support
50109 #endif
50110
50111 ;
50112 return 0;
50113 }
50114 _ACEOF
50115 rm -f conftest.$ac_objext
50116 if { (ac_try="$ac_compile"
50117 case "(($ac_try" in
50118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50119 *) ac_try_echo=$ac_try;;
50120 esac
50121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50122 (eval "$ac_compile") 2>conftest.er1
50123 ac_status=$?
50124 grep -v '^ *+' conftest.er1 >conftest.err
50125 rm -f conftest.er1
50126 cat conftest.err >&5
50127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50128 (exit $ac_status); } && {
50129 test -z "$ac_c_werror_flag" ||
50130 test ! -s conftest.err
50131 } && test -s conftest.$ac_objext; then
50132
50133 { echo "$as_me:$LINENO: result: yes" >&5
50134 echo "${ECHO_T}yes" >&6; }
50135 GCC_PCH=1
50136
50137 else
50138 echo "$as_me: failed program was:" >&5
50139 sed 's/^/| /' conftest.$ac_ext >&5
50140
50141
50142 if test "$INTELCXX8" = "yes"; then
50143 { echo "$as_me:$LINENO: result: yes" >&5
50144 echo "${ECHO_T}yes" >&6; }
50145 ICC_PCH=1
50146 if test "$INTELCXX10" = "yes"; then
50147 ICC_PCH_CREATE_SWITCH="-pch-create"
50148 ICC_PCH_USE_SWITCH="-pch-use"
50149 else
50150 ICC_PCH_CREATE_SWITCH="-create-pch"
50151 ICC_PCH_USE_SWITCH="-use-pch"
50152 fi
50153 else
50154 { echo "$as_me:$LINENO: result: no" >&5
50155 echo "${ECHO_T}no" >&6; }
50156 fi
50157
50158 fi
50159
50160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50161 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50162 USE_PCH=1
50163
50164 D='$'
50165 cat <<EOF >bk-make-pch
50166 #!/bin/sh
50167
50168 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50169 # script. It is used to generated precompiled headers.
50170 #
50171 # Permission is given to use this file in any way.
50172
50173 outfile="${D}{1}"
50174 header="${D}{2}"
50175 shift
50176 shift
50177
50178 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
50179
50180 compiler=""
50181 headerfile=""
50182
50183 while test ${D}{#} -gt 0; do
50184 add_to_cmdline=1
50185 case "${D}{1}" in
50186 -I* )
50187 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
50188 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50189 headerfile="${D}{incdir}/${D}{header}"
50190 fi
50191 ;;
50192 -use-pch|-use_pch|-pch-use )
50193 shift
50194 add_to_cmdline=0
50195 ;;
50196 esac
50197 if test ${D}add_to_cmdline = 1 ; then
50198 compiler="${D}{compiler} ${D}{1}"
50199 fi
50200 shift
50201 done
50202
50203 if test "x${D}{headerfile}" = "x" ; then
50204 echo "error: can't find header ${D}{header} in include paths" >&2
50205 else
50206 if test -f ${D}{outfile} ; then
50207 rm -f ${D}{outfile}
50208 else
50209 mkdir -p \`dirname ${D}{outfile}\`
50210 fi
50211 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
50212 mkdir -p ${D}{builddir}/.deps
50213 if test "x${GCC_PCH}" = "x1" ; then
50214 # can do this because gcc is >= 3.4:
50215 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50216 elif test "x${ICC_PCH}" = "x1" ; then
50217 filename=pch_gen-${D}${D}
50218 file=${D}{filename}.c
50219 dfile=${D}{filename}.d
50220 cat > ${D}file <<EOT
50221 #include "${D}header"
50222 EOT
50223 # using -MF icc complains about differing command lines in creation/use
50224 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50225 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50226 rm -f ${D}file ${D}dfile ${D}{filename}.o
50227 fi
50228 exit ${D}{?}
50229 fi
50230 EOF
50231
50232 chmod +x bk-make-pch
50233 BK_MAKE_PCH="`pwd`/bk-make-pch"
50234 fi
50235 fi
50236 fi
50237
50238
50239
50240
50241
50242
50243
50244 COND_BUILD_DEBUG="#"
50245 if test "x$BUILD" = "xdebug" ; then
50246 COND_BUILD_DEBUG=""
50247 fi
50248
50249 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50250 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50251 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50252 fi
50253
50254 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50255 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50256 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50257 fi
50258
50259 COND_BUILD_DEBUG_UNICODE_0="#"
50260 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50261 COND_BUILD_DEBUG_UNICODE_0=""
50262 fi
50263
50264 COND_BUILD_DEBUG_UNICODE_1="#"
50265 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50266 COND_BUILD_DEBUG_UNICODE_1=""
50267 fi
50268
50269 COND_BUILD_RELEASE="#"
50270 if test "x$BUILD" = "xrelease" ; then
50271 COND_BUILD_RELEASE=""
50272 fi
50273
50274 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50275 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50276 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50277 fi
50278
50279 COND_BUILD_RELEASE_UNICODE_0="#"
50280 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50281 COND_BUILD_RELEASE_UNICODE_0=""
50282 fi
50283
50284 COND_BUILD_RELEASE_UNICODE_1="#"
50285 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50286 COND_BUILD_RELEASE_UNICODE_1=""
50287 fi
50288
50289 COND_BUILD_debug="#"
50290 if test "x$BUILD" = "xdebug" ; then
50291 COND_BUILD_debug=""
50292 fi
50293
50294 COND_BUILD_debug_DEBUG_FLAG_default="#"
50295 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50296 COND_BUILD_debug_DEBUG_FLAG_default=""
50297 fi
50298
50299 COND_BUILD_debug_DEBUG_INFO_default="#"
50300 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50301 COND_BUILD_debug_DEBUG_INFO_default=""
50302 fi
50303
50304 COND_BUILD_debug_UNICODE_0="#"
50305 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50306 COND_BUILD_debug_UNICODE_0=""
50307 fi
50308
50309 COND_BUILD_debug_UNICODE_1="#"
50310 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50311 COND_BUILD_debug_UNICODE_1=""
50312 fi
50313
50314 COND_BUILD_release="#"
50315 if test "x$BUILD" = "xrelease" ; then
50316 COND_BUILD_release=""
50317 fi
50318
50319 COND_BUILD_release_DEBUG_INFO_default="#"
50320 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50321 COND_BUILD_release_DEBUG_INFO_default=""
50322 fi
50323
50324 COND_BUILD_release_UNICODE_0="#"
50325 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50326 COND_BUILD_release_UNICODE_0=""
50327 fi
50328
50329 COND_BUILD_release_UNICODE_1="#"
50330 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50331 COND_BUILD_release_UNICODE_1=""
50332 fi
50333
50334 COND_DEBUG_FLAG_0="#"
50335 if test "x$DEBUG_FLAG" = "x0" ; then
50336 COND_DEBUG_FLAG_0=""
50337 fi
50338
50339 COND_DEBUG_FLAG_1="#"
50340 if test "x$DEBUG_FLAG" = "x1" ; then
50341 COND_DEBUG_FLAG_1=""
50342 fi
50343
50344 COND_DEBUG_INFO_0="#"
50345 if test "x$DEBUG_INFO" = "x0" ; then
50346 COND_DEBUG_INFO_0=""
50347 fi
50348
50349 COND_DEBUG_INFO_1="#"
50350 if test "x$DEBUG_INFO" = "x1" ; then
50351 COND_DEBUG_INFO_1=""
50352 fi
50353
50354 COND_DEPS_TRACKING_0="#"
50355 if test "x$DEPS_TRACKING" = "x0" ; then
50356 COND_DEPS_TRACKING_0=""
50357 fi
50358
50359 COND_DEPS_TRACKING_1="#"
50360 if test "x$DEPS_TRACKING" = "x1" ; then
50361 COND_DEPS_TRACKING_1=""
50362 fi
50363
50364 COND_GCC_PCH_1="#"
50365 if test "x$GCC_PCH" = "x1" ; then
50366 COND_GCC_PCH_1=""
50367 fi
50368
50369 COND_ICC_PCH_1="#"
50370 if test "x$ICC_PCH" = "x1" ; then
50371 COND_ICC_PCH_1=""
50372 fi
50373
50374 COND_MONOLITHIC_0="#"
50375 if test "x$MONOLITHIC" = "x0" ; then
50376 COND_MONOLITHIC_0=""
50377 fi
50378
50379 COND_MONOLITHIC_0_SHARED_0="#"
50380 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50381 COND_MONOLITHIC_0_SHARED_0=""
50382 fi
50383
50384 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50385 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50386 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50387 fi
50388
50389 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50390 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50391 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50392 fi
50393
50394 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50395 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50396 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50397 fi
50398
50399 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50400 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50401 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50402 fi
50403
50404 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50405 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50406 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50407 fi
50408
50409 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50410 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50411 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50412 fi
50413
50414 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
50415 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50416 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
50417 fi
50418
50419 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50420 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50421 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50422 fi
50423
50424 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50425 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50426 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50427 fi
50428
50429 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50430 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50431 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50432 fi
50433
50434 COND_MONOLITHIC_0_SHARED_1="#"
50435 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50436 COND_MONOLITHIC_0_SHARED_1=""
50437 fi
50438
50439 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50440 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50441 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50442 fi
50443
50444 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50445 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50446 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50447 fi
50448
50449 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50450 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50451 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50452 fi
50453
50454 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50455 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50456 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50457 fi
50458
50459 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50460 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50461 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50462 fi
50463
50464 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50465 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50466 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50467 fi
50468
50469 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
50470 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50471 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
50472 fi
50473
50474 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50475 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50476 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50477 fi
50478
50479 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50480 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50481 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50482 fi
50483
50484 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50485 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50486 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50487 fi
50488
50489 COND_MONOLITHIC_0_USE_AUI_1="#"
50490 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50491 COND_MONOLITHIC_0_USE_AUI_1=""
50492 fi
50493
50494 COND_MONOLITHIC_0_USE_GUI_1="#"
50495 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50496 COND_MONOLITHIC_0_USE_GUI_1=""
50497 fi
50498
50499 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50500 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50501 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50502 fi
50503
50504 COND_MONOLITHIC_0_USE_HTML_1="#"
50505 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50506 COND_MONOLITHIC_0_USE_HTML_1=""
50507 fi
50508
50509 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50510 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50511 COND_MONOLITHIC_0_USE_MEDIA_1=""
50512 fi
50513
50514 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50515 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50516 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50517 fi
50518
50519 COND_MONOLITHIC_0_USE_QA_1="#"
50520 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50521 COND_MONOLITHIC_0_USE_QA_1=""
50522 fi
50523
50524 COND_MONOLITHIC_0_USE_RIBBON_1="#"
50525 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50526 COND_MONOLITHIC_0_USE_RIBBON_1=""
50527 fi
50528
50529 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50530 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50531 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50532 fi
50533
50534 COND_MONOLITHIC_0_USE_STC_1="#"
50535 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50536 COND_MONOLITHIC_0_USE_STC_1=""
50537 fi
50538
50539 COND_MONOLITHIC_0_USE_XRC_1="#"
50540 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50541 COND_MONOLITHIC_0_USE_XRC_1=""
50542 fi
50543
50544 COND_MONOLITHIC_1="#"
50545 if test "x$MONOLITHIC" = "x1" ; then
50546 COND_MONOLITHIC_1=""
50547 fi
50548
50549 COND_MONOLITHIC_1_SHARED_0="#"
50550 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50551 COND_MONOLITHIC_1_SHARED_0=""
50552 fi
50553
50554 COND_MONOLITHIC_1_SHARED_1="#"
50555 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50556 COND_MONOLITHIC_1_SHARED_1=""
50557 fi
50558
50559 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50560 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50561 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50562 fi
50563
50564 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50565 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50566 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50567 fi
50568
50569 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50570 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50571 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50572 fi
50573
50574 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50575 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50576 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50577 fi
50578
50579 COND_PLATFORM_MACOSX_1="#"
50580 if test "x$PLATFORM_MACOSX" = "x1" ; then
50581 COND_PLATFORM_MACOSX_1=""
50582 fi
50583
50584 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50585 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50586 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50587 fi
50588
50589 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
50590 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
50591 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
50592 fi
50593
50594 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50595 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50596 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50597 fi
50598
50599 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50600 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50601 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50602 fi
50603
50604 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50605 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50606 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50607 fi
50608
50609 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50610 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50611 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50612 fi
50613
50614 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50615 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50616 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50617 fi
50618
50619 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50620 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50621 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50622 fi
50623
50624 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50625 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50626 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50627 fi
50628
50629 COND_PLATFORM_MACOS_1="#"
50630 if test "x$PLATFORM_MACOS" = "x1" ; then
50631 COND_PLATFORM_MACOS_1=""
50632 fi
50633
50634 COND_PLATFORM_MAC_0="#"
50635 if test "x$PLATFORM_MAC" = "x0" ; then
50636 COND_PLATFORM_MAC_0=""
50637 fi
50638
50639 COND_PLATFORM_MAC_1="#"
50640 if test "x$PLATFORM_MAC" = "x1" ; then
50641 COND_PLATFORM_MAC_1=""
50642 fi
50643
50644 COND_PLATFORM_MSDOS_0="#"
50645 if test "x$PLATFORM_MSDOS" = "x0" ; then
50646 COND_PLATFORM_MSDOS_0=""
50647 fi
50648
50649 COND_PLATFORM_MSDOS_1="#"
50650 if test "x$PLATFORM_MSDOS" = "x1" ; then
50651 COND_PLATFORM_MSDOS_1=""
50652 fi
50653
50654 COND_PLATFORM_OS2_1="#"
50655 if test "x$PLATFORM_OS2" = "x1" ; then
50656 COND_PLATFORM_OS2_1=""
50657 fi
50658
50659 COND_PLATFORM_UNIX_0="#"
50660 if test "x$PLATFORM_UNIX" = "x0" ; then
50661 COND_PLATFORM_UNIX_0=""
50662 fi
50663
50664 COND_PLATFORM_UNIX_1="#"
50665 if test "x$PLATFORM_UNIX" = "x1" ; then
50666 COND_PLATFORM_UNIX_1=""
50667 fi
50668
50669 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50670 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50671 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50672 fi
50673
50674 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50675 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50676 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50677 fi
50678
50679 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50680 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50681 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50682 fi
50683
50684 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50685 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50686 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50687 fi
50688
50689 COND_PLATFORM_WIN32_0="#"
50690 if test "x$PLATFORM_WIN32" = "x0" ; then
50691 COND_PLATFORM_WIN32_0=""
50692 fi
50693
50694 COND_PLATFORM_WIN32_1="#"
50695 if test "x$PLATFORM_WIN32" = "x1" ; then
50696 COND_PLATFORM_WIN32_1=""
50697 fi
50698
50699 COND_PLATFORM_WIN32_1_SHARED_0="#"
50700 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
50701 COND_PLATFORM_WIN32_1_SHARED_0=""
50702 fi
50703
50704 COND_SHARED_0="#"
50705 if test "x$SHARED" = "x0" ; then
50706 COND_SHARED_0=""
50707 fi
50708
50709 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50710 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50711 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50712 fi
50713
50714 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50715 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50716 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50717 fi
50718
50719 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50720 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50721 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50722 fi
50723
50724 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50725 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50726 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50727 fi
50728
50729 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50730 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50731 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50732 fi
50733
50734 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50735 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50736 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50737 fi
50738
50739 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50740 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50741 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50742 fi
50743
50744 COND_SHARED_0_USE_STC_1="#"
50745 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50746 COND_SHARED_0_USE_STC_1=""
50747 fi
50748
50749 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50750 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50751 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50752 fi
50753
50754 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50755 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50756 COND_SHARED_0_wxUSE_REGEX_builtin=""
50757 fi
50758
50759 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50760 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50761 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50762 fi
50763
50764 COND_SHARED_1="#"
50765 if test "x$SHARED" = "x1" ; then
50766 COND_SHARED_1=""
50767 fi
50768
50769 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50770 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50771 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50772 fi
50773
50774 COND_TOOLKIT_="#"
50775 if test "x$TOOLKIT" = "x" ; then
50776 COND_TOOLKIT_=""
50777 fi
50778
50779 COND_TOOLKIT_COCOA="#"
50780 if test "x$TOOLKIT" = "xCOCOA" ; then
50781 COND_TOOLKIT_COCOA=""
50782 fi
50783
50784 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50785 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50786 COND_TOOLKIT_COCOA_USE_GUI_1=""
50787 fi
50788
50789 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50790 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50791 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50792 fi
50793
50794 COND_TOOLKIT_DFB="#"
50795 if test "x$TOOLKIT" = "xDFB" ; then
50796 COND_TOOLKIT_DFB=""
50797 fi
50798
50799 COND_TOOLKIT_DFB_USE_GUI_1="#"
50800 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50801 COND_TOOLKIT_DFB_USE_GUI_1=""
50802 fi
50803
50804 COND_TOOLKIT_GTK="#"
50805 if test "x$TOOLKIT" = "xGTK" ; then
50806 COND_TOOLKIT_GTK=""
50807 fi
50808
50809 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50810 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50811 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50812 fi
50813
50814 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50815 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50816 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50817 fi
50818
50819 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50820 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50821 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50822 fi
50823
50824 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50825 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50826 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50827 fi
50828
50829 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50830 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50831 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50832 fi
50833
50834 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50835 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50836 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50837 fi
50838
50839 COND_TOOLKIT_GTK_USE_GUI_1="#"
50840 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50841 COND_TOOLKIT_GTK_USE_GUI_1=""
50842 fi
50843
50844 COND_TOOLKIT_MAC="#"
50845 if test "x$TOOLKIT" = "xMAC" ; then
50846 COND_TOOLKIT_MAC=""
50847 fi
50848
50849 COND_TOOLKIT_MGL="#"
50850 if test "x$TOOLKIT" = "xMGL" ; then
50851 COND_TOOLKIT_MGL=""
50852 fi
50853
50854 COND_TOOLKIT_MGL_USE_GUI_1="#"
50855 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50856 COND_TOOLKIT_MGL_USE_GUI_1=""
50857 fi
50858
50859 COND_TOOLKIT_MOTIF="#"
50860 if test "x$TOOLKIT" = "xMOTIF" ; then
50861 COND_TOOLKIT_MOTIF=""
50862 fi
50863
50864 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50865 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50866 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50867 fi
50868
50869 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50870 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50871 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50872 fi
50873
50874 COND_TOOLKIT_MSW="#"
50875 if test "x$TOOLKIT" = "xMSW" ; then
50876 COND_TOOLKIT_MSW=""
50877 fi
50878
50879 COND_TOOLKIT_MSW_USE_GUI_1="#"
50880 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50881 COND_TOOLKIT_MSW_USE_GUI_1=""
50882 fi
50883
50884 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50885 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50886 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50887 fi
50888
50889 COND_TOOLKIT_MSW_WXUNIV_0="#"
50890 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50891 COND_TOOLKIT_MSW_WXUNIV_0=""
50892 fi
50893
50894 COND_TOOLKIT_OSX_CARBON="#"
50895 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50896 COND_TOOLKIT_OSX_CARBON=""
50897 fi
50898
50899 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50900 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50901 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50902 fi
50903
50904 COND_TOOLKIT_OSX_COCOA="#"
50905 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50906 COND_TOOLKIT_OSX_COCOA=""
50907 fi
50908
50909 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50910 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50911 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50912 fi
50913
50914 COND_TOOLKIT_OSX_IPHONE="#"
50915 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50916 COND_TOOLKIT_OSX_IPHONE=""
50917 fi
50918
50919 COND_TOOLKIT_PM="#"
50920 if test "x$TOOLKIT" = "xPM" ; then
50921 COND_TOOLKIT_PM=""
50922 fi
50923
50924 COND_TOOLKIT_PM_USE_GUI_1="#"
50925 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50926 COND_TOOLKIT_PM_USE_GUI_1=""
50927 fi
50928
50929 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50930 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50931 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50932 fi
50933
50934 COND_TOOLKIT_WINCE="#"
50935 if test "x$TOOLKIT" = "xWINCE" ; then
50936 COND_TOOLKIT_WINCE=""
50937 fi
50938
50939 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50940 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50941 COND_TOOLKIT_WINCE_USE_GUI_1=""
50942 fi
50943
50944 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50945 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50946 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50947 fi
50948
50949 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50950 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50951 COND_TOOLKIT_WINCE_WXUNIV_0=""
50952 fi
50953
50954 COND_TOOLKIT_X11="#"
50955 if test "x$TOOLKIT" = "xX11" ; then
50956 COND_TOOLKIT_X11=""
50957 fi
50958
50959 COND_TOOLKIT_X11_USE_GUI_1="#"
50960 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50961 COND_TOOLKIT_X11_USE_GUI_1=""
50962 fi
50963
50964 COND_UNICODE_1="#"
50965 if test "x$UNICODE" = "x1" ; then
50966 COND_UNICODE_1=""
50967 fi
50968
50969 COND_USE_CAIRO_1="#"
50970 if test "x$USE_CAIRO" = "x1" ; then
50971 COND_USE_CAIRO_1=""
50972 fi
50973
50974 COND_USE_EXCEPTIONS_0="#"
50975 if test "x$USE_EXCEPTIONS" = "x0" ; then
50976 COND_USE_EXCEPTIONS_0=""
50977 fi
50978
50979 COND_USE_EXCEPTIONS_1="#"
50980 if test "x$USE_EXCEPTIONS" = "x1" ; then
50981 COND_USE_EXCEPTIONS_1=""
50982 fi
50983
50984 COND_USE_GUI_0="#"
50985 if test "x$USE_GUI" = "x0" ; then
50986 COND_USE_GUI_0=""
50987 fi
50988
50989 COND_USE_GUI_1="#"
50990 if test "x$USE_GUI" = "x1" ; then
50991 COND_USE_GUI_1=""
50992 fi
50993
50994 COND_USE_GUI_1_USE_OPENGL_1="#"
50995 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50996 COND_USE_GUI_1_USE_OPENGL_1=""
50997 fi
50998
50999 COND_USE_GUI_1_WXUNIV_0="#"
51000 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51001 COND_USE_GUI_1_WXUNIV_0=""
51002 fi
51003
51004 COND_USE_GUI_1_WXUNIV_1="#"
51005 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51006 COND_USE_GUI_1_WXUNIV_1=""
51007 fi
51008
51009 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51010 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51011 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51012 fi
51013
51014 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51015 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51016 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51017 fi
51018
51019 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51020 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51021 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51022 fi
51023
51024 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51025 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51026 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51027 fi
51028
51029 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51030 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51031 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51032 fi
51033
51034 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51035 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51036 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51037 fi
51038
51039 COND_USE_OPENGL_1="#"
51040 if test "x$USE_OPENGL" = "x1" ; then
51041 COND_USE_OPENGL_1=""
51042 fi
51043
51044 COND_USE_PCH_1="#"
51045 if test "x$USE_PCH" = "x1" ; then
51046 COND_USE_PCH_1=""
51047 fi
51048
51049 COND_USE_PLUGINS_0="#"
51050 if test "x$USE_PLUGINS" = "x0" ; then
51051 COND_USE_PLUGINS_0=""
51052 fi
51053
51054 COND_USE_RTTI_0="#"
51055 if test "x$USE_RTTI" = "x0" ; then
51056 COND_USE_RTTI_0=""
51057 fi
51058
51059 COND_USE_RTTI_1="#"
51060 if test "x$USE_RTTI" = "x1" ; then
51061 COND_USE_RTTI_1=""
51062 fi
51063
51064 COND_USE_SOTWOSYMLINKS_1="#"
51065 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51066 COND_USE_SOTWOSYMLINKS_1=""
51067 fi
51068
51069 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51070 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51071 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51072 fi
51073
51074 COND_USE_SOVERLINUX_1="#"
51075 if test "x$USE_SOVERLINUX" = "x1" ; then
51076 COND_USE_SOVERLINUX_1=""
51077 fi
51078
51079 COND_USE_SOVERSION_0="#"
51080 if test "x$USE_SOVERSION" = "x0" ; then
51081 COND_USE_SOVERSION_0=""
51082 fi
51083
51084 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51085 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51086 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51087 fi
51088
51089 COND_USE_SOVERSOLARIS_1="#"
51090 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51091 COND_USE_SOVERSOLARIS_1=""
51092 fi
51093
51094 COND_USE_STC_1="#"
51095 if test "x$USE_STC" = "x1" ; then
51096 COND_USE_STC_1=""
51097 fi
51098
51099 COND_USE_THREADS_0="#"
51100 if test "x$USE_THREADS" = "x0" ; then
51101 COND_USE_THREADS_0=""
51102 fi
51103
51104 COND_USE_THREADS_1="#"
51105 if test "x$USE_THREADS" = "x1" ; then
51106 COND_USE_THREADS_1=""
51107 fi
51108
51109 COND_USE_XRC_1="#"
51110 if test "x$USE_XRC" = "x1" ; then
51111 COND_USE_XRC_1=""
51112 fi
51113
51114 COND_WINDOWS_IMPLIB_1="#"
51115 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51116 COND_WINDOWS_IMPLIB_1=""
51117 fi
51118
51119 COND_WITH_PLUGIN_SDL_1="#"
51120 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51121 COND_WITH_PLUGIN_SDL_1=""
51122 fi
51123
51124 COND_WXUNIV_0="#"
51125 if test "x$WXUNIV" = "x0" ; then
51126 COND_WXUNIV_0=""
51127 fi
51128
51129 COND_WXUNIV_1="#"
51130 if test "x$WXUNIV" = "x1" ; then
51131 COND_WXUNIV_1=""
51132 fi
51133
51134 COND_WXUSE_EXPAT_BUILTIN="#"
51135 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51136 COND_WXUSE_EXPAT_BUILTIN=""
51137 fi
51138
51139 COND_WXUSE_LIBJPEG_BUILTIN="#"
51140 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51141 COND_WXUSE_LIBJPEG_BUILTIN=""
51142 fi
51143
51144 COND_WXUSE_LIBPNG_BUILTIN="#"
51145 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51146 COND_WXUSE_LIBPNG_BUILTIN=""
51147 fi
51148
51149 COND_WXUSE_LIBTIFF_BUILTIN="#"
51150 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51151 COND_WXUSE_LIBTIFF_BUILTIN=""
51152 fi
51153
51154 COND_WXUSE_REGEX_BUILTIN="#"
51155 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51156 COND_WXUSE_REGEX_BUILTIN=""
51157 fi
51158
51159 COND_WXUSE_ZLIB_BUILTIN="#"
51160 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51161 COND_WXUSE_ZLIB_BUILTIN=""
51162 fi
51163
51164 COND_wxUSE_EXPAT_builtin="#"
51165 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51166 COND_wxUSE_EXPAT_builtin=""
51167 fi
51168
51169 COND_wxUSE_LIBJPEG_builtin="#"
51170 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51171 COND_wxUSE_LIBJPEG_builtin=""
51172 fi
51173
51174 COND_wxUSE_LIBPNG_builtin="#"
51175 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51176 COND_wxUSE_LIBPNG_builtin=""
51177 fi
51178
51179 COND_wxUSE_LIBTIFF_builtin="#"
51180 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51181 COND_wxUSE_LIBTIFF_builtin=""
51182 fi
51183
51184 COND_wxUSE_REGEX_builtin="#"
51185 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51186 COND_wxUSE_REGEX_builtin=""
51187 fi
51188
51189 COND_wxUSE_ZLIB_builtin="#"
51190 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51191 COND_wxUSE_ZLIB_builtin=""
51192 fi
51193
51194
51195
51196 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51197 { { 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
51198 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;}
51199 { (exit 1); exit 1; }; }
51200 fi
51201
51202 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51203 { { 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
51204 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;}
51205 { (exit 1); exit 1; }; }
51206 fi
51207
51208
51209 case ${INSTALL} in
51210 /* ) # Absolute
51211 ;;
51212 ?:* ) # Drive letter, considered as absolute.
51213 ;;
51214 *)
51215 INSTALL=`pwd`/${INSTALL} ;;
51216 esac
51217
51218 if test "$wxUSE_GUI" = "yes"; then
51219
51220 if test "$wxUSE_MSW" = 1 ; then
51221 if test "x$WINDRES" = "x"; then
51222 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
51223 echo "$as_me: error: Required windres program not found" >&2;}
51224 { (exit 1); exit 1; }; }
51225 fi
51226
51227 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
51228 fi
51229
51230 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
51231 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
51232 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
51233
51234 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
51235
51236 # Extract the first word of "DeRez", so it can be a program name with args.
51237 set dummy DeRez; ac_word=$2
51238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51240 if test "${ac_cv_prog_DEREZ+set}" = set; then
51241 echo $ECHO_N "(cached) $ECHO_C" >&6
51242 else
51243 if test -n "$DEREZ"; then
51244 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
51245 else
51246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51247 for as_dir in $PATH
51248 do
51249 IFS=$as_save_IFS
51250 test -z "$as_dir" && as_dir=.
51251 for ac_exec_ext in '' $ac_executable_extensions; do
51252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51253 ac_cv_prog_DEREZ="DeRez"
51254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51255 break 2
51256 fi
51257 done
51258 done
51259 IFS=$as_save_IFS
51260
51261 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
51262 fi
51263 fi
51264 DEREZ=$ac_cv_prog_DEREZ
51265 if test -n "$DEREZ"; then
51266 { echo "$as_me:$LINENO: result: $DEREZ" >&5
51267 echo "${ECHO_T}$DEREZ" >&6; }
51268 else
51269 { echo "$as_me:$LINENO: result: no" >&5
51270 echo "${ECHO_T}no" >&6; }
51271 fi
51272
51273
51274
51275 MACSETFILE="\$(SETFILE)"
51276
51277 if test "$wxUSE_OSX_CARBON" = 1; then
51278 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
51279 RESCOMP="$REZ"
51280 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
51281 else
51282 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
51283 RESCOMP="cat /dev/null \| $REZ"
51284 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
51285 fi
51286
51287 else
51288 MACSETFILE="@true"
51289
51290 if test "$wxUSE_PM" = 1; then
51291 RESCOMP="emxbind"
51292 WXCONFIG_RESFLAGS="-ep"
51293
51294 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
51295 else
51296 POSTLINK_COMMAND="@true"
51297 fi
51298 fi
51299
51300 fi
51301
51302
51303 if test $GCC_PCH = 1
51304 then
51305 if test "$wx_cv_gcc_pch_bug" = yes; then
51306 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51307 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51308 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51309 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51310 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51311 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51312 fi
51313
51314 # Our WX_PRECOMP flag does not make sense for any language except C++ because
51315 # the headers that benefit from precompilation are mostly C++ headers.
51316 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51317 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
51318 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51319 fi
51320
51321
51322 if test "$wxUSE_MAC" = 1 ; then
51323 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51324 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51325 mv temp bk-deps
51326 chmod +x bk-deps
51327 fi
51328 fi
51329
51330 if test "$wxUSE_SHARED" = "yes"; then
51331 case "${host}" in
51332 *-pc-os2_emx | *-pc-os2-emx )
51333 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51334 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51335 cp -p ${srcdir}/src/os2/dllnames.sh .
51336 cp -p ${srcdir}/src/os2/dllar.sh .
51337 ;;
51338 esac
51339 fi
51340 if test "$wxUSE_OMF" = "yes"; then
51341 case "${host}" in
51342 *-pc-os2_emx | *-pc-os2-emx )
51343 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51344 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51345 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51346 ;;
51347 esac
51348 fi
51349
51350 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51351
51352
51353 case "${host}" in
51354 *-*-solaris2* )
51355 if test "$GCC" = yes; then
51356 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51357 LIBS=`echo $LIBS | sed 's/-mt//'`
51358 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51359 fi
51360 ;;
51361
51362 *-*-linux* )
51363 if test "x$SUNCXX" = xyes; then
51364 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51365 LIBS=`echo $LIBS | sed 's/-pthread//'`
51366 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51367 fi
51368 ;;
51369 esac
51370
51371 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51372 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51373 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
51374 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51375
51376 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
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
51426
51427
51428
51429
51430
51431
51432
51433
51434
51435
51436
51437 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51438 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51439 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51440 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51441 echo $ECHO_N "(cached) $ECHO_C" >&6
51442 else
51443 cat >conftest.make <<\_ACEOF
51444 SHELL = /bin/sh
51445 all:
51446 @echo '@@@%%%=$(MAKE)=@@@%%%'
51447 _ACEOF
51448 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51449 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51450 *@@@%%%=?*=@@@%%%*)
51451 eval ac_cv_prog_make_${ac_make}_set=yes;;
51452 *)
51453 eval ac_cv_prog_make_${ac_make}_set=no;;
51454 esac
51455 rm -f conftest.make
51456 fi
51457 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51458 { echo "$as_me:$LINENO: result: yes" >&5
51459 echo "${ECHO_T}yes" >&6; }
51460 SET_MAKE=
51461 else
51462 { echo "$as_me:$LINENO: result: no" >&5
51463 echo "${ECHO_T}no" >&6; }
51464 SET_MAKE="MAKE=${MAKE-make}"
51465 fi
51466
51467
51468
51469 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51470
51471
51472 if test "$USE_WIN32" = 1; then
51473 ac_config_commands="$ac_config_commands rcdefs.h"
51474
51475 fi
51476
51477 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51478
51479
51480 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51481
51482
51483 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51484
51485
51486 if test "$wx_cv_version_script" = "yes"; then
51487 ac_config_files="$ac_config_files version-script"
51488
51489 fi
51490 ac_config_files="$ac_config_files Makefile"
51491
51492
51493 ac_config_commands="$ac_config_commands wx-config"
51494
51495
51496
51497 if test "$wxWITH_SUBDIRS" != "no"; then
51498 if test "$wxUSE_GUI" = "yes"; then
51499 SUBDIRS="samples demos utils"
51500 else
51501 SUBDIRS="samples utils"
51502 fi
51503
51504
51505
51506 # Check whether --with-cppunit-prefix was given.
51507 if test "${with_cppunit_prefix+set}" = set; then
51508 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51509 else
51510 cppunit_config_prefix=""
51511 fi
51512
51513
51514 # Check whether --with-cppunit-exec-prefix was given.
51515 if test "${with_cppunit_exec_prefix+set}" = set; then
51516 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51517 else
51518 cppunit_config_exec_prefix=""
51519 fi
51520
51521
51522 if test x$cppunit_config_exec_prefix != x ; then
51523 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51524 if test x${CPPUNIT_CONFIG+set} != xset ; then
51525 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51526 fi
51527 fi
51528 if test x$cppunit_config_prefix != x ; then
51529 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51530 if test x${CPPUNIT_CONFIG+set} != xset ; then
51531 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51532 fi
51533 fi
51534
51535 # Extract the first word of "cppunit-config", so it can be a program name with args.
51536 set dummy cppunit-config; ac_word=$2
51537 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51539 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51540 echo $ECHO_N "(cached) $ECHO_C" >&6
51541 else
51542 case $CPPUNIT_CONFIG in
51543 [\\/]* | ?:[\\/]*)
51544 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51545 ;;
51546 *)
51547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51548 for as_dir in $PATH
51549 do
51550 IFS=$as_save_IFS
51551 test -z "$as_dir" && as_dir=.
51552 for ac_exec_ext in '' $ac_executable_extensions; do
51553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51554 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51556 break 2
51557 fi
51558 done
51559 done
51560 IFS=$as_save_IFS
51561
51562 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51563 ;;
51564 esac
51565 fi
51566 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51567 if test -n "$CPPUNIT_CONFIG"; then
51568 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51569 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51570 else
51571 { echo "$as_me:$LINENO: result: no" >&5
51572 echo "${ECHO_T}no" >&6; }
51573 fi
51574
51575
51576 cppunit_version_min=1.8.0
51577
51578 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51579 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51580 no_cppunit=""
51581 if test "$CPPUNIT_CONFIG" = "no" ; then
51582 { echo "$as_me:$LINENO: result: no" >&5
51583 echo "${ECHO_T}no" >&6; }
51584 no_cppunit=yes
51585 else
51586 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51587 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51588 cppunit_version=`$CPPUNIT_CONFIG --version`
51589
51590 cppunit_major_version=`echo $cppunit_version | \
51591 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51592 cppunit_minor_version=`echo $cppunit_version | \
51593 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51594 cppunit_micro_version=`echo $cppunit_version | \
51595 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51596
51597 cppunit_major_min=`echo $cppunit_version_min | \
51598 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51599 cppunit_minor_min=`echo $cppunit_version_min | \
51600 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51601 cppunit_micro_min=`echo $cppunit_version_min | \
51602 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51603
51604 cppunit_version_proper=`expr \
51605 $cppunit_major_version \> $cppunit_major_min \| \
51606 $cppunit_major_version \= $cppunit_major_min \& \
51607 $cppunit_minor_version \> $cppunit_minor_min \| \
51608 $cppunit_major_version \= $cppunit_major_min \& \
51609 $cppunit_minor_version \= $cppunit_minor_min \& \
51610 $cppunit_micro_version \>= $cppunit_micro_min `
51611
51612 if test "$cppunit_version_proper" = "1" ; then
51613 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51614 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51615 else
51616 { echo "$as_me:$LINENO: result: no" >&5
51617 echo "${ECHO_T}no" >&6; }
51618 no_cppunit=yes
51619 fi
51620 fi
51621
51622 if test "x$no_cppunit" = x ; then
51623 SUBDIRS="$SUBDIRS tests"
51624 else
51625 CPPUNIT_CFLAGS=""
51626 CPPUNIT_LIBS=""
51627 :
51628 fi
51629
51630
51631
51632
51633
51634 for subdir in $SUBDIRS; do
51635 if test -d ${srcdir}/${subdir} ; then
51636 if test "$wxUSE_GUI" = "yes"; then
51637 if test ${subdir} = "samples"; then
51638 makefiles="samples/Makefile.in $makefiles"
51639 for sample in $SAMPLES_SUBDIRS; do
51640 if test -d $srcdir/samples/$sample; then
51641 makefiles="samples/$sample/Makefile.in $makefiles"
51642 fi
51643 done
51644 else
51645 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51646 eval "disabled=\$$disabled_var"
51647 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51648 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51649 fi
51650 else
51651 if test ${subdir} = "samples"; then
51652 makefiles="samples/Makefile.in $makefiles"
51653 for sample in `echo $SAMPLES_SUBDIRS`; do
51654 if test -d $srcdir/samples/$sample; then
51655 makefiles="samples/$sample/Makefile.in $makefiles"
51656 fi
51657 done
51658 elif test ${subdir} = "utils"; then
51659 makefiles=""
51660 for util in ifacecheck ; do
51661 if test -d $srcdir/utils/$util ; then
51662 makefiles="utils/$util/src/Makefile.in \
51663 $makefiles"
51664 fi
51665 done
51666 else
51667 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51668 fi
51669 fi
51670
51671 for mkin in $makefiles ; do
51672 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51673 ac_config_files="$ac_config_files $mk"
51674
51675 done
51676 fi
51677 done
51678 fi
51679 cat >confcache <<\_ACEOF
51680 # This file is a shell script that caches the results of configure
51681 # tests run on this system so they can be shared between configure
51682 # scripts and configure runs, see configure's option --config-cache.
51683 # It is not useful on other systems. If it contains results you don't
51684 # want to keep, you may remove or edit it.
51685 #
51686 # config.status only pays attention to the cache file if you give it
51687 # the --recheck option to rerun configure.
51688 #
51689 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51690 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51691 # following values.
51692
51693 _ACEOF
51694
51695 # The following way of writing the cache mishandles newlines in values,
51696 # but we know of no workaround that is simple, portable, and efficient.
51697 # So, we kill variables containing newlines.
51698 # Ultrix sh set writes to stderr and can't be redirected directly,
51699 # and sets the high bit in the cache file unless we assign to the vars.
51700 (
51701 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51702 eval ac_val=\$$ac_var
51703 case $ac_val in #(
51704 *${as_nl}*)
51705 case $ac_var in #(
51706 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51707 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51708 esac
51709 case $ac_var in #(
51710 _ | IFS | as_nl) ;; #(
51711 *) $as_unset $ac_var ;;
51712 esac ;;
51713 esac
51714 done
51715
51716 (set) 2>&1 |
51717 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51718 *${as_nl}ac_space=\ *)
51719 # `set' does not quote correctly, so add quotes (double-quote
51720 # substitution turns \\\\ into \\, and sed turns \\ into \).
51721 sed -n \
51722 "s/'/'\\\\''/g;
51723 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51724 ;; #(
51725 *)
51726 # `set' quotes correctly as required by POSIX, so do not add quotes.
51727 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51728 ;;
51729 esac |
51730 sort
51731 ) |
51732 sed '
51733 /^ac_cv_env_/b end
51734 t clear
51735 :clear
51736 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51737 t end
51738 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51739 :end' >>confcache
51740 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51741 if test -w "$cache_file"; then
51742 test "x$cache_file" != "x/dev/null" &&
51743 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51744 echo "$as_me: updating cache $cache_file" >&6;}
51745 cat confcache >$cache_file
51746 else
51747 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51748 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51749 fi
51750 fi
51751 rm -f confcache
51752
51753 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51754 # Let make expand exec_prefix.
51755 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51756
51757 DEFS=-DHAVE_CONFIG_H
51758
51759 ac_libobjs=
51760 ac_ltlibobjs=
51761 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51762 # 1. Remove the extension, and $U if already installed.
51763 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51764 ac_i=`echo "$ac_i" | sed "$ac_script"`
51765 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51766 # will be set to the directory where LIBOBJS objects are built.
51767 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51768 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51769 done
51770 LIBOBJS=$ac_libobjs
51771
51772 LTLIBOBJS=$ac_ltlibobjs
51773
51774
51775
51776 : ${CONFIG_STATUS=./config.status}
51777 ac_clean_files_save=$ac_clean_files
51778 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51779 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51780 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51781 cat >$CONFIG_STATUS <<_ACEOF
51782 #! $SHELL
51783 # Generated by $as_me.
51784 # Run this file to recreate the current configuration.
51785 # Compiler output produced by configure, useful for debugging
51786 # configure, is in config.log if it exists.
51787
51788 debug=false
51789 ac_cs_recheck=false
51790 ac_cs_silent=false
51791 SHELL=\${CONFIG_SHELL-$SHELL}
51792 _ACEOF
51793
51794 cat >>$CONFIG_STATUS <<\_ACEOF
51795 ## --------------------- ##
51796 ## M4sh Initialization. ##
51797 ## --------------------- ##
51798
51799 # Be more Bourne compatible
51800 DUALCASE=1; export DUALCASE # for MKS sh
51801 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51802 emulate sh
51803 NULLCMD=:
51804 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51805 # is contrary to our usage. Disable this feature.
51806 alias -g '${1+"$@"}'='"$@"'
51807 setopt NO_GLOB_SUBST
51808 else
51809 case `(set -o) 2>/dev/null` in
51810 *posix*) set -o posix ;;
51811 esac
51812
51813 fi
51814
51815
51816
51817
51818 # PATH needs CR
51819 # Avoid depending upon Character Ranges.
51820 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51821 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51822 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51823 as_cr_digits='0123456789'
51824 as_cr_alnum=$as_cr_Letters$as_cr_digits
51825
51826 # The user is always right.
51827 if test "${PATH_SEPARATOR+set}" != set; then
51828 echo "#! /bin/sh" >conf$$.sh
51829 echo "exit 0" >>conf$$.sh
51830 chmod +x conf$$.sh
51831 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51832 PATH_SEPARATOR=';'
51833 else
51834 PATH_SEPARATOR=:
51835 fi
51836 rm -f conf$$.sh
51837 fi
51838
51839 # Support unset when possible.
51840 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51841 as_unset=unset
51842 else
51843 as_unset=false
51844 fi
51845
51846
51847 # IFS
51848 # We need space, tab and new line, in precisely that order. Quoting is
51849 # there to prevent editors from complaining about space-tab.
51850 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51851 # splitting by setting IFS to empty value.)
51852 as_nl='
51853 '
51854 IFS=" "" $as_nl"
51855
51856 # Find who we are. Look in the path if we contain no directory separator.
51857 case $0 in
51858 *[\\/]* ) as_myself=$0 ;;
51859 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51860 for as_dir in $PATH
51861 do
51862 IFS=$as_save_IFS
51863 test -z "$as_dir" && as_dir=.
51864 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51865 done
51866 IFS=$as_save_IFS
51867
51868 ;;
51869 esac
51870 # We did not find ourselves, most probably we were run as `sh COMMAND'
51871 # in which case we are not to be found in the path.
51872 if test "x$as_myself" = x; then
51873 as_myself=$0
51874 fi
51875 if test ! -f "$as_myself"; then
51876 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51877 { (exit 1); exit 1; }
51878 fi
51879
51880 # Work around bugs in pre-3.0 UWIN ksh.
51881 for as_var in ENV MAIL MAILPATH
51882 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51883 done
51884 PS1='$ '
51885 PS2='> '
51886 PS4='+ '
51887
51888 # NLS nuisances.
51889 for as_var in \
51890 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51891 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51892 LC_TELEPHONE LC_TIME
51893 do
51894 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51895 eval $as_var=C; export $as_var
51896 else
51897 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51898 fi
51899 done
51900
51901 # Required to use basename.
51902 if expr a : '\(a\)' >/dev/null 2>&1 &&
51903 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51904 as_expr=expr
51905 else
51906 as_expr=false
51907 fi
51908
51909 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51910 as_basename=basename
51911 else
51912 as_basename=false
51913 fi
51914
51915
51916 # Name of the executable.
51917 as_me=`$as_basename -- "$0" ||
51918 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51919 X"$0" : 'X\(//\)$' \| \
51920 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51921 echo X/"$0" |
51922 sed '/^.*\/\([^/][^/]*\)\/*$/{
51923 s//\1/
51924 q
51925 }
51926 /^X\/\(\/\/\)$/{
51927 s//\1/
51928 q
51929 }
51930 /^X\/\(\/\).*/{
51931 s//\1/
51932 q
51933 }
51934 s/.*/./; q'`
51935
51936 # CDPATH.
51937 $as_unset CDPATH
51938
51939
51940
51941 as_lineno_1=$LINENO
51942 as_lineno_2=$LINENO
51943 test "x$as_lineno_1" != "x$as_lineno_2" &&
51944 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51945
51946 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51947 # uniformly replaced by the line number. The first 'sed' inserts a
51948 # line-number line after each line using $LINENO; the second 'sed'
51949 # does the real work. The second script uses 'N' to pair each
51950 # line-number line with the line containing $LINENO, and appends
51951 # trailing '-' during substitution so that $LINENO is not a special
51952 # case at line end.
51953 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51954 # scripts with optimization help from Paolo Bonzini. Blame Lee
51955 # E. McMahon (1931-1989) for sed's syntax. :-)
51956 sed -n '
51957 p
51958 /[$]LINENO/=
51959 ' <$as_myself |
51960 sed '
51961 s/[$]LINENO.*/&-/
51962 t lineno
51963 b
51964 :lineno
51965 N
51966 :loop
51967 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51968 t loop
51969 s/-\n.*//
51970 ' >$as_me.lineno &&
51971 chmod +x "$as_me.lineno" ||
51972 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51973 { (exit 1); exit 1; }; }
51974
51975 # Don't try to exec as it changes $[0], causing all sort of problems
51976 # (the dirname of $[0] is not the place where we might find the
51977 # original and so on. Autoconf is especially sensitive to this).
51978 . "./$as_me.lineno"
51979 # Exit status is that of the last command.
51980 exit
51981 }
51982
51983
51984 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51985 as_dirname=dirname
51986 else
51987 as_dirname=false
51988 fi
51989
51990 ECHO_C= ECHO_N= ECHO_T=
51991 case `echo -n x` in
51992 -n*)
51993 case `echo 'x\c'` in
51994 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51995 *) ECHO_C='\c';;
51996 esac;;
51997 *)
51998 ECHO_N='-n';;
51999 esac
52000
52001 if expr a : '\(a\)' >/dev/null 2>&1 &&
52002 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52003 as_expr=expr
52004 else
52005 as_expr=false
52006 fi
52007
52008 rm -f conf$$ conf$$.exe conf$$.file
52009 if test -d conf$$.dir; then
52010 rm -f conf$$.dir/conf$$.file
52011 else
52012 rm -f conf$$.dir
52013 mkdir conf$$.dir
52014 fi
52015 echo >conf$$.file
52016 if ln -s conf$$.file conf$$ 2>/dev/null; then
52017 as_ln_s='ln -s'
52018 # ... but there are two gotchas:
52019 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52020 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52021 # In both cases, we have to default to `cp -p'.
52022 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52023 as_ln_s='cp -p'
52024 elif ln conf$$.file conf$$ 2>/dev/null; then
52025 as_ln_s=ln
52026 else
52027 as_ln_s='cp -p'
52028 fi
52029 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52030 rmdir conf$$.dir 2>/dev/null
52031
52032 if mkdir -p . 2>/dev/null; then
52033 as_mkdir_p=:
52034 else
52035 test -d ./-p && rmdir ./-p
52036 as_mkdir_p=false
52037 fi
52038
52039 if test -x / >/dev/null 2>&1; then
52040 as_test_x='test -x'
52041 else
52042 if ls -dL / >/dev/null 2>&1; then
52043 as_ls_L_option=L
52044 else
52045 as_ls_L_option=
52046 fi
52047 as_test_x='
52048 eval sh -c '\''
52049 if test -d "$1"; then
52050 test -d "$1/.";
52051 else
52052 case $1 in
52053 -*)set "./$1";;
52054 esac;
52055 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52056 ???[sx]*):;;*)false;;esac;fi
52057 '\'' sh
52058 '
52059 fi
52060 as_executable_p=$as_test_x
52061
52062 # Sed expression to map a string onto a valid CPP name.
52063 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52064
52065 # Sed expression to map a string onto a valid variable name.
52066 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52067
52068
52069 exec 6>&1
52070
52071 # Save the log message, to keep $[0] and so on meaningful, and to
52072 # report actual input values of CONFIG_FILES etc. instead of their
52073 # values after options handling.
52074 ac_log="
52075 This file was extended by wxWidgets $as_me 2.9.1, which was
52076 generated by GNU Autoconf 2.61. Invocation command line was
52077
52078 CONFIG_FILES = $CONFIG_FILES
52079 CONFIG_HEADERS = $CONFIG_HEADERS
52080 CONFIG_LINKS = $CONFIG_LINKS
52081 CONFIG_COMMANDS = $CONFIG_COMMANDS
52082 $ $0 $@
52083
52084 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52085 "
52086
52087 _ACEOF
52088
52089 cat >>$CONFIG_STATUS <<_ACEOF
52090 # Files that config.status was made for.
52091 config_files="$ac_config_files"
52092 config_headers="$ac_config_headers"
52093 config_commands="$ac_config_commands"
52094
52095 _ACEOF
52096
52097 cat >>$CONFIG_STATUS <<\_ACEOF
52098 ac_cs_usage="\
52099 \`$as_me' instantiates files from templates according to the
52100 current configuration.
52101
52102 Usage: $0 [OPTIONS] [FILE]...
52103
52104 -h, --help print this help, then exit
52105 -V, --version print version number and configuration settings, then exit
52106 -q, --quiet do not print progress messages
52107 -d, --debug don't remove temporary files
52108 --recheck update $as_me by reconfiguring in the same conditions
52109 --file=FILE[:TEMPLATE]
52110 instantiate the configuration file FILE
52111 --header=FILE[:TEMPLATE]
52112 instantiate the configuration header FILE
52113
52114 Configuration files:
52115 $config_files
52116
52117 Configuration headers:
52118 $config_headers
52119
52120 Configuration commands:
52121 $config_commands
52122
52123 Report bugs to <bug-autoconf@gnu.org>."
52124
52125 _ACEOF
52126 cat >>$CONFIG_STATUS <<_ACEOF
52127 ac_cs_version="\\
52128 wxWidgets config.status 2.9.1
52129 configured by $0, generated by GNU Autoconf 2.61,
52130 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52131
52132 Copyright (C) 2006 Free Software Foundation, Inc.
52133 This config.status script is free software; the Free Software Foundation
52134 gives unlimited permission to copy, distribute and modify it."
52135
52136 ac_pwd='$ac_pwd'
52137 srcdir='$srcdir'
52138 INSTALL='$INSTALL'
52139 _ACEOF
52140
52141 cat >>$CONFIG_STATUS <<\_ACEOF
52142 # If no file are specified by the user, then we need to provide default
52143 # value. By we need to know if files were specified by the user.
52144 ac_need_defaults=:
52145 while test $# != 0
52146 do
52147 case $1 in
52148 --*=*)
52149 ac_option=`expr "X$1" : 'X\([^=]*\)='`
52150 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
52151 ac_shift=:
52152 ;;
52153 *)
52154 ac_option=$1
52155 ac_optarg=$2
52156 ac_shift=shift
52157 ;;
52158 esac
52159
52160 case $ac_option in
52161 # Handling of the options.
52162 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52163 ac_cs_recheck=: ;;
52164 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52165 echo "$ac_cs_version"; exit ;;
52166 --debug | --debu | --deb | --de | --d | -d )
52167 debug=: ;;
52168 --file | --fil | --fi | --f )
52169 $ac_shift
52170 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
52171 ac_need_defaults=false;;
52172 --header | --heade | --head | --hea )
52173 $ac_shift
52174 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
52175 ac_need_defaults=false;;
52176 --he | --h)
52177 # Conflict between --help and --header
52178 { echo "$as_me: error: ambiguous option: $1
52179 Try \`$0 --help' for more information." >&2
52180 { (exit 1); exit 1; }; };;
52181 --help | --hel | -h )
52182 echo "$ac_cs_usage"; exit ;;
52183 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52184 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52185 ac_cs_silent=: ;;
52186
52187 # This is an error.
52188 -*) { echo "$as_me: error: unrecognized option: $1
52189 Try \`$0 --help' for more information." >&2
52190 { (exit 1); exit 1; }; } ;;
52191
52192 *) ac_config_targets="$ac_config_targets $1"
52193 ac_need_defaults=false ;;
52194
52195 esac
52196 shift
52197 done
52198
52199 ac_configure_extra_args=
52200
52201 if $ac_cs_silent; then
52202 exec 6>/dev/null
52203 ac_configure_extra_args="$ac_configure_extra_args --silent"
52204 fi
52205
52206 _ACEOF
52207 cat >>$CONFIG_STATUS <<_ACEOF
52208 if \$ac_cs_recheck; then
52209 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52210 CONFIG_SHELL=$SHELL
52211 export CONFIG_SHELL
52212 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52213 fi
52214
52215 _ACEOF
52216 cat >>$CONFIG_STATUS <<\_ACEOF
52217 exec 5>>config.log
52218 {
52219 echo
52220 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52221 ## Running $as_me. ##
52222 _ASBOX
52223 echo "$ac_log"
52224 } >&5
52225
52226 _ACEOF
52227 cat >>$CONFIG_STATUS <<_ACEOF
52228 #
52229 # INIT-COMMANDS
52230 #
52231
52232 CPP="$CPP"
52233 infile="$srcdir/include/wx/msw/genrcdefs.h"
52234 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52235
52236
52237 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52238 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52239 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52240 LN_S="${LN_S}"
52241
52242
52243 _ACEOF
52244
52245 cat >>$CONFIG_STATUS <<\_ACEOF
52246
52247 # Handling of arguments.
52248 for ac_config_target in $ac_config_targets
52249 do
52250 case $ac_config_target in
52251 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52252 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
52253 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52254 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52255 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
52256 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
52257 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
52258 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
52259 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
52260
52261 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52262 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52263 { (exit 1); exit 1; }; };;
52264 esac
52265 done
52266
52267
52268 # If the user did not use the arguments to specify the items to instantiate,
52269 # then the envvar interface is used. Set only those that are not.
52270 # We use the long form for the default assignment because of an extremely
52271 # bizarre bug on SunOS 4.1.3.
52272 if $ac_need_defaults; then
52273 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
52274 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
52275 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
52276 fi
52277
52278 # Have a temporary directory for convenience. Make it in the build tree
52279 # simply because there is no reason against having it here, and in addition,
52280 # creating and moving files from /tmp can sometimes cause problems.
52281 # Hook for its removal unless debugging.
52282 # Note that there is a small window in which the directory will not be cleaned:
52283 # after its creation but before its name has been assigned to `$tmp'.
52284 $debug ||
52285 {
52286 tmp=
52287 trap 'exit_status=$?
52288 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52289 ' 0
52290 trap '{ (exit 1); exit 1; }' 1 2 13 15
52291 }
52292 # Create a (secure) tmp directory for tmp files.
52293
52294 {
52295 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52296 test -n "$tmp" && test -d "$tmp"
52297 } ||
52298 {
52299 tmp=./conf$$-$RANDOM
52300 (umask 077 && mkdir "$tmp")
52301 } ||
52302 {
52303 echo "$me: cannot create a temporary directory in ." >&2
52304 { (exit 1); exit 1; }
52305 }
52306
52307 #
52308 # Set up the sed scripts for CONFIG_FILES section.
52309 #
52310
52311 # No need to generate the scripts if there are no CONFIG_FILES.
52312 # This happens for instance when ./config.status config.h
52313 if test -n "$CONFIG_FILES"; then
52314
52315 _ACEOF
52316
52317
52318
52319 ac_delim='%!_!# '
52320 for ac_last_try in false false false false false :; do
52321 cat >conf$$subs.sed <<_ACEOF
52322 SHELL!$SHELL$ac_delim
52323 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52324 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52325 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52326 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52327 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52328 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52329 exec_prefix!$exec_prefix$ac_delim
52330 prefix!$prefix$ac_delim
52331 program_transform_name!$program_transform_name$ac_delim
52332 bindir!$bindir$ac_delim
52333 sbindir!$sbindir$ac_delim
52334 libexecdir!$libexecdir$ac_delim
52335 datarootdir!$datarootdir$ac_delim
52336 datadir!$datadir$ac_delim
52337 sysconfdir!$sysconfdir$ac_delim
52338 sharedstatedir!$sharedstatedir$ac_delim
52339 localstatedir!$localstatedir$ac_delim
52340 includedir!$includedir$ac_delim
52341 oldincludedir!$oldincludedir$ac_delim
52342 docdir!$docdir$ac_delim
52343 infodir!$infodir$ac_delim
52344 htmldir!$htmldir$ac_delim
52345 dvidir!$dvidir$ac_delim
52346 pdfdir!$pdfdir$ac_delim
52347 psdir!$psdir$ac_delim
52348 libdir!$libdir$ac_delim
52349 localedir!$localedir$ac_delim
52350 mandir!$mandir$ac_delim
52351 DEFS!$DEFS$ac_delim
52352 ECHO_C!$ECHO_C$ac_delim
52353 ECHO_N!$ECHO_N$ac_delim
52354 ECHO_T!$ECHO_T$ac_delim
52355 LIBS!$LIBS$ac_delim
52356 build_alias!$build_alias$ac_delim
52357 host_alias!$host_alias$ac_delim
52358 target_alias!$target_alias$ac_delim
52359 build!$build$ac_delim
52360 build_cpu!$build_cpu$ac_delim
52361 build_vendor!$build_vendor$ac_delim
52362 build_os!$build_os$ac_delim
52363 host!$host$ac_delim
52364 host_cpu!$host_cpu$ac_delim
52365 host_vendor!$host_vendor$ac_delim
52366 host_os!$host_os$ac_delim
52367 wx_top_builddir!$wx_top_builddir$ac_delim
52368 CC!$CC$ac_delim
52369 CFLAGS!$CFLAGS$ac_delim
52370 LDFLAGS!$LDFLAGS$ac_delim
52371 CPPFLAGS!$CPPFLAGS$ac_delim
52372 ac_ct_CC!$ac_ct_CC$ac_delim
52373 EXEEXT!$EXEEXT$ac_delim
52374 OBJEXT!$OBJEXT$ac_delim
52375 CPP!$CPP$ac_delim
52376 GREP!$GREP$ac_delim
52377 EGREP!$EGREP$ac_delim
52378 CXX!$CXX$ac_delim
52379 CXXFLAGS!$CXXFLAGS$ac_delim
52380 ac_ct_CXX!$ac_ct_CXX$ac_delim
52381 AR!$AR$ac_delim
52382 subdirs!$subdirs$ac_delim
52383 PKG_CONFIG!$PKG_CONFIG$ac_delim
52384 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52385 GTK_LIBS!$GTK_LIBS$ac_delim
52386 GTK_CONFIG!$GTK_CONFIG$ac_delim
52387 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52388 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52389 XMKMF!$XMKMF$ac_delim
52390 X_CFLAGS!$X_CFLAGS$ac_delim
52391 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52392 X_LIBS!$X_LIBS$ac_delim
52393 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52394 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52395 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52396 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52397 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52398 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52399 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52400 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52401 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52402 LIBICONV!$LIBICONV$ac_delim
52403 GXX_VERSION!$GXX_VERSION$ac_delim
52404 SDL_CONFIG!$SDL_CONFIG$ac_delim
52405 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52406 SDL_LIBS!$SDL_LIBS$ac_delim
52407 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52408 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52409 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52410 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52411 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52412 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52413 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52414 HILDON_LIBS!$HILDON_LIBS$ac_delim
52415 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52416 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52417 PYTHON!$PYTHON$ac_delim
52418 COND_PYTHON!$COND_PYTHON$ac_delim
52419 _ACEOF
52420
52421 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52422 break
52423 elif $ac_last_try; then
52424 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52425 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52426 { (exit 1); exit 1; }; }
52427 else
52428 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52429 fi
52430 done
52431
52432 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52433 if test -n "$ac_eof"; then
52434 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52435 ac_eof=`expr $ac_eof + 1`
52436 fi
52437
52438 cat >>$CONFIG_STATUS <<_ACEOF
52439 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52440 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52441 _ACEOF
52442 sed '
52443 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52444 s/^/s,@/; s/!/@,|#_!!_#|/
52445 :n
52446 t n
52447 s/'"$ac_delim"'$/,g/; t
52448 s/$/\\/; p
52449 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52450 ' >>$CONFIG_STATUS <conf$$subs.sed
52451 rm -f conf$$subs.sed
52452 cat >>$CONFIG_STATUS <<_ACEOF
52453 CEOF$ac_eof
52454 _ACEOF
52455
52456
52457 ac_delim='%!_!# '
52458 for ac_last_try in false false false false false :; do
52459 cat >conf$$subs.sed <<_ACEOF
52460 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52461 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52462 GST_CFLAGS!$GST_CFLAGS$ac_delim
52463 GST_LIBS!$GST_LIBS$ac_delim
52464 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52465 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52466 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52467 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52468 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52469 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52470 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52471 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52472 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52473 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52474 VENDOR!$VENDOR$ac_delim
52475 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52476 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52477 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52478 WXUNIV!$WXUNIV$ac_delim
52479 MONOLITHIC!$MONOLITHIC$ac_delim
52480 USE_PLUGINS!$USE_PLUGINS$ac_delim
52481 CXXWARNINGS!$CXXWARNINGS$ac_delim
52482 EXTRALIBS!$EXTRALIBS$ac_delim
52483 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52484 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52485 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52486 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52487 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52488 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52489 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52490 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52491 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52492 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52493 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52494 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52495 UNICODE!$UNICODE$ac_delim
52496 DEBUG_INFO!$DEBUG_INFO$ac_delim
52497 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52498 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52499 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52500 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52501 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52502 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52503 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52504 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52505 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52506 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52507 RANLIB!$RANLIB$ac_delim
52508 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52509 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52510 INSTALL_DATA!$INSTALL_DATA$ac_delim
52511 LN_S!$LN_S$ac_delim
52512 SET_MAKE!$SET_MAKE$ac_delim
52513 MAKE_SET!$MAKE_SET$ac_delim
52514 AROPTIONS!$AROPTIONS$ac_delim
52515 STRIP!$STRIP$ac_delim
52516 NM!$NM$ac_delim
52517 INSTALL_DIR!$INSTALL_DIR$ac_delim
52518 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52519 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52520 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52521 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52522 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52523 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52524 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52525 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52526 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52527 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52528 SO_SUFFIX!$SO_SUFFIX$ac_delim
52529 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52530 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52531 LIBPREFIX!$LIBPREFIX$ac_delim
52532 LIBEXT!$LIBEXT$ac_delim
52533 DLLPREFIX!$DLLPREFIX$ac_delim
52534 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52535 dlldir!$dlldir$ac_delim
52536 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52537 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52538 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52539 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52540 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52541 PIC_FLAG!$PIC_FLAG$ac_delim
52542 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52543 USE_SOVERSION!$USE_SOVERSION$ac_delim
52544 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52545 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52546 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52547 USE_MACVERSION!$USE_MACVERSION$ac_delim
52548 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
52549 SONAME_FLAG!$SONAME_FLAG$ac_delim
52550 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52551 BK_DEPS!$BK_DEPS$ac_delim
52552 WINDRES!$WINDRES$ac_delim
52553 REZ!$REZ$ac_delim
52554 SETFILE!$SETFILE$ac_delim
52555 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52556 GCC_PCH!$GCC_PCH$ac_delim
52557 _ACEOF
52558
52559 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52560 break
52561 elif $ac_last_try; then
52562 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52563 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52564 { (exit 1); exit 1; }; }
52565 else
52566 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52567 fi
52568 done
52569
52570 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52571 if test -n "$ac_eof"; then
52572 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52573 ac_eof=`expr $ac_eof + 1`
52574 fi
52575
52576 cat >>$CONFIG_STATUS <<_ACEOF
52577 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52578 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52579 _ACEOF
52580 sed '
52581 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52582 s/^/s,@/; s/!/@,|#_!!_#|/
52583 :n
52584 t n
52585 s/'"$ac_delim"'$/,g/; t
52586 s/$/\\/; p
52587 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52588 ' >>$CONFIG_STATUS <conf$$subs.sed
52589 rm -f conf$$subs.sed
52590 cat >>$CONFIG_STATUS <<_ACEOF
52591 CEOF$ac_eof
52592 _ACEOF
52593
52594
52595 ac_delim='%!_!# '
52596 for ac_last_try in false false false false false :; do
52597 cat >conf$$subs.sed <<_ACEOF
52598 ICC_PCH!$ICC_PCH$ac_delim
52599 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52600 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52601 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52602 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52603 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52604 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52605 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52606 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52607 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52608 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52609 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52610 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52611 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52612 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52613 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52614 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52615 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52616 COND_BUILD_release!$COND_BUILD_release$ac_delim
52617 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52618 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52619 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52620 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52621 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52622 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52623 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52624 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52625 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52626 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52627 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52628 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52629 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52630 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52631 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52632 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52633 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52634 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52635 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52636 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52637 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52638 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52639 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52640 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52641 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52642 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52643 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52644 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52645 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52646 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52647 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52648 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52649 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52650 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52651 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52652 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52653 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52654 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52655 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52656 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52657 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52658 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52659 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52660 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52661 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52662 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52663 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52664 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52665 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52666 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52667 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52668 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52669 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52670 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52671 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
52672 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52673 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
52674 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52675 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
52676 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52677 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52678 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52679 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52680 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52681 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52682 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52683 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52684 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52685 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52686 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52687 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52688 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52689 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52690 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52691 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52692 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52693 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
52694 COND_SHARED_0!$COND_SHARED_0$ac_delim
52695 _ACEOF
52696
52697 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52698 break
52699 elif $ac_last_try; then
52700 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52701 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52702 { (exit 1); exit 1; }; }
52703 else
52704 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52705 fi
52706 done
52707
52708 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52709 if test -n "$ac_eof"; then
52710 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52711 ac_eof=`expr $ac_eof + 1`
52712 fi
52713
52714 cat >>$CONFIG_STATUS <<_ACEOF
52715 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52716 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52717 _ACEOF
52718 sed '
52719 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52720 s/^/s,@/; s/!/@,|#_!!_#|/
52721 :n
52722 t n
52723 s/'"$ac_delim"'$/,g/; t
52724 s/$/\\/; p
52725 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52726 ' >>$CONFIG_STATUS <conf$$subs.sed
52727 rm -f conf$$subs.sed
52728 cat >>$CONFIG_STATUS <<_ACEOF
52729 CEOF$ac_eof
52730 _ACEOF
52731
52732
52733 ac_delim='%!_!# '
52734 for ac_last_try in false false false false false :; do
52735 cat >conf$$subs.sed <<_ACEOF
52736 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52737 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52738 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52739 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52740 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52741 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52742 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52743 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52744 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52745 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52746 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52747 COND_SHARED_1!$COND_SHARED_1$ac_delim
52748 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52749 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52750 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52751 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52752 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52753 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52754 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52755 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52756 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52757 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52758 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52759 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52760 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52761 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52762 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52763 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52764 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52765 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52766 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52767 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52768 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52769 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52770 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52771 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52772 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52773 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52774 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52775 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52776 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52777 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52778 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52779 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52780 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52781 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52782 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52783 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52784 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52785 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52786 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52787 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52788 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
52789 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52790 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52791 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52792 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52793 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52794 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52795 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52796 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52797 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52798 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52799 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52800 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52801 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52802 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52803 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52804 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52805 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52806 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52807 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
52808 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52809 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52810 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52811 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
52812 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52813 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52814 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52815 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52816 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52817 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52818 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52819 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52820 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52821 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52822 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52823 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52824 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52825 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52826 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52827 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52828 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52829 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52830 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52831 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52832 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52833 _ACEOF
52834
52835 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52836 break
52837 elif $ac_last_try; then
52838 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52839 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52840 { (exit 1); exit 1; }; }
52841 else
52842 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52843 fi
52844 done
52845
52846 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52847 if test -n "$ac_eof"; then
52848 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52849 ac_eof=`expr $ac_eof + 1`
52850 fi
52851
52852 cat >>$CONFIG_STATUS <<_ACEOF
52853 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52854 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52855 _ACEOF
52856 sed '
52857 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52858 s/^/s,@/; s/!/@,|#_!!_#|/
52859 :n
52860 t n
52861 s/'"$ac_delim"'$/,g/; t
52862 s/$/\\/; p
52863 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52864 ' >>$CONFIG_STATUS <conf$$subs.sed
52865 rm -f conf$$subs.sed
52866 cat >>$CONFIG_STATUS <<_ACEOF
52867 CEOF$ac_eof
52868 _ACEOF
52869
52870
52871 ac_delim='%!_!# '
52872 for ac_last_try in false false false false false :; do
52873 cat >conf$$subs.sed <<_ACEOF
52874 DEREZ!$DEREZ$ac_delim
52875 SHARED!$SHARED$ac_delim
52876 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52877 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52878 USE_GUI!$USE_GUI$ac_delim
52879 AFMINSTALL!$AFMINSTALL$ac_delim
52880 WIN32INSTALL!$WIN32INSTALL$ac_delim
52881 TOOLKIT!$TOOLKIT$ac_delim
52882 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52883 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52884 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52885 cross_compiling!$cross_compiling$ac_delim
52886 WIDGET_SET!$WIDGET_SET$ac_delim
52887 WX_RELEASE!$WX_RELEASE$ac_delim
52888 WX_VERSION!$WX_VERSION$ac_delim
52889 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52890 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52891 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52892 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52893 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52894 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52895 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52896 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
52897 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52898 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52899 GUIDIST!$GUIDIST$ac_delim
52900 DISTDIR!$DISTDIR$ac_delim
52901 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52902 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52903 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52904 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52905 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52906 RESCOMP!$RESCOMP$ac_delim
52907 RESFLAGS!$RESFLAGS$ac_delim
52908 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52909 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52910 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52911 LIBWXMACRES!$LIBWXMACRES$ac_delim
52912 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52913 MACSETFILE!$MACSETFILE$ac_delim
52914 GCC!$GCC$ac_delim
52915 DLLTOOL!$DLLTOOL$ac_delim
52916 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52917 LIBOBJS!$LIBOBJS$ac_delim
52918 LTLIBOBJS!$LTLIBOBJS$ac_delim
52919 _ACEOF
52920
52921 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 45; then
52922 break
52923 elif $ac_last_try; then
52924 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52925 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52926 { (exit 1); exit 1; }; }
52927 else
52928 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52929 fi
52930 done
52931
52932 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52933 if test -n "$ac_eof"; then
52934 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52935 ac_eof=`expr $ac_eof + 1`
52936 fi
52937
52938 cat >>$CONFIG_STATUS <<_ACEOF
52939 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52940 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52941 _ACEOF
52942 sed '
52943 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52944 s/^/s,@/; s/!/@,|#_!!_#|/
52945 :n
52946 t n
52947 s/'"$ac_delim"'$/,g/; t
52948 s/$/\\/; p
52949 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52950 ' >>$CONFIG_STATUS <conf$$subs.sed
52951 rm -f conf$$subs.sed
52952 cat >>$CONFIG_STATUS <<_ACEOF
52953 :end
52954 s/|#_!!_#|//g
52955 CEOF$ac_eof
52956 _ACEOF
52957
52958
52959 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52960 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52961 # trailing colons and then remove the whole line if VPATH becomes empty
52962 # (actually we leave an empty line to preserve line numbers).
52963 if test "x$srcdir" = x.; then
52964 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52965 s/:*\$(srcdir):*/:/
52966 s/:*\${srcdir}:*/:/
52967 s/:*@srcdir@:*/:/
52968 s/^\([^=]*=[ ]*\):*/\1/
52969 s/:*$//
52970 s/^[^=]*=[ ]*$//
52971 }'
52972 fi
52973
52974 cat >>$CONFIG_STATUS <<\_ACEOF
52975 fi # test -n "$CONFIG_FILES"
52976
52977
52978 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52979 do
52980 case $ac_tag in
52981 :[FHLC]) ac_mode=$ac_tag; continue;;
52982 esac
52983 case $ac_mode$ac_tag in
52984 :[FHL]*:*);;
52985 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52986 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52987 { (exit 1); exit 1; }; };;
52988 :[FH]-) ac_tag=-:-;;
52989 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52990 esac
52991 ac_save_IFS=$IFS
52992 IFS=:
52993 set x $ac_tag
52994 IFS=$ac_save_IFS
52995 shift
52996 ac_file=$1
52997 shift
52998
52999 case $ac_mode in
53000 :L) ac_source=$1;;
53001 :[FH])
53002 ac_file_inputs=
53003 for ac_f
53004 do
53005 case $ac_f in
53006 -) ac_f="$tmp/stdin";;
53007 *) # Look for the file first in the build tree, then in the source tree
53008 # (if the path is not absolute). The absolute path cannot be DOS-style,
53009 # because $ac_f cannot contain `:'.
53010 test -f "$ac_f" ||
53011 case $ac_f in
53012 [\\/$]*) false;;
53013 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
53014 esac ||
53015 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53016 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53017 { (exit 1); exit 1; }; };;
53018 esac
53019 ac_file_inputs="$ac_file_inputs $ac_f"
53020 done
53021
53022 # Let's still pretend it is `configure' which instantiates (i.e., don't
53023 # use $as_me), people would be surprised to read:
53024 # /* config.h. Generated by config.status. */
53025 configure_input="Generated from "`IFS=:
53026 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53027 if test x"$ac_file" != x-; then
53028 configure_input="$ac_file. $configure_input"
53029 { echo "$as_me:$LINENO: creating $ac_file" >&5
53030 echo "$as_me: creating $ac_file" >&6;}
53031 fi
53032
53033 case $ac_tag in
53034 *:-:* | *:-) cat >"$tmp/stdin";;
53035 esac
53036 ;;
53037 esac
53038
53039 ac_dir=`$as_dirname -- "$ac_file" ||
53040 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53041 X"$ac_file" : 'X\(//\)[^/]' \| \
53042 X"$ac_file" : 'X\(//\)$' \| \
53043 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53044 echo X"$ac_file" |
53045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53046 s//\1/
53047 q
53048 }
53049 /^X\(\/\/\)[^/].*/{
53050 s//\1/
53051 q
53052 }
53053 /^X\(\/\/\)$/{
53054 s//\1/
53055 q
53056 }
53057 /^X\(\/\).*/{
53058 s//\1/
53059 q
53060 }
53061 s/.*/./; q'`
53062 { as_dir="$ac_dir"
53063 case $as_dir in #(
53064 -*) as_dir=./$as_dir;;
53065 esac
53066 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53067 as_dirs=
53068 while :; do
53069 case $as_dir in #(
53070 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53071 *) as_qdir=$as_dir;;
53072 esac
53073 as_dirs="'$as_qdir' $as_dirs"
53074 as_dir=`$as_dirname -- "$as_dir" ||
53075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53076 X"$as_dir" : 'X\(//\)[^/]' \| \
53077 X"$as_dir" : 'X\(//\)$' \| \
53078 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53079 echo X"$as_dir" |
53080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53081 s//\1/
53082 q
53083 }
53084 /^X\(\/\/\)[^/].*/{
53085 s//\1/
53086 q
53087 }
53088 /^X\(\/\/\)$/{
53089 s//\1/
53090 q
53091 }
53092 /^X\(\/\).*/{
53093 s//\1/
53094 q
53095 }
53096 s/.*/./; q'`
53097 test -d "$as_dir" && break
53098 done
53099 test -z "$as_dirs" || eval "mkdir $as_dirs"
53100 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53101 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53102 { (exit 1); exit 1; }; }; }
53103 ac_builddir=.
53104
53105 case "$ac_dir" in
53106 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53107 *)
53108 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53109 # A ".." for each directory in $ac_dir_suffix.
53110 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53111 case $ac_top_builddir_sub in
53112 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53113 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53114 esac ;;
53115 esac
53116 ac_abs_top_builddir=$ac_pwd
53117 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53118 # for backward compatibility:
53119 ac_top_builddir=$ac_top_build_prefix
53120
53121 case $srcdir in
53122 .) # We are building in place.
53123 ac_srcdir=.
53124 ac_top_srcdir=$ac_top_builddir_sub
53125 ac_abs_top_srcdir=$ac_pwd ;;
53126 [\\/]* | ?:[\\/]* ) # Absolute name.
53127 ac_srcdir=$srcdir$ac_dir_suffix;
53128 ac_top_srcdir=$srcdir
53129 ac_abs_top_srcdir=$srcdir ;;
53130 *) # Relative name.
53131 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53132 ac_top_srcdir=$ac_top_build_prefix$srcdir
53133 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53134 esac
53135 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53136
53137
53138 case $ac_mode in
53139 :F)
53140 #
53141 # CONFIG_FILE
53142 #
53143
53144 case $INSTALL in
53145 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
53146 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
53147 esac
53148 _ACEOF
53149
53150 cat >>$CONFIG_STATUS <<\_ACEOF
53151 # If the template does not know about datarootdir, expand it.
53152 # FIXME: This hack should be removed a few years after 2.60.
53153 ac_datarootdir_hack=; ac_datarootdir_seen=
53154
53155 case `sed -n '/datarootdir/ {
53156 p
53157 q
53158 }
53159 /@datadir@/p
53160 /@docdir@/p
53161 /@infodir@/p
53162 /@localedir@/p
53163 /@mandir@/p
53164 ' $ac_file_inputs` in
53165 *datarootdir*) ac_datarootdir_seen=yes;;
53166 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
53167 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53168 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53169 _ACEOF
53170 cat >>$CONFIG_STATUS <<_ACEOF
53171 ac_datarootdir_hack='
53172 s&@datadir@&$datadir&g
53173 s&@docdir@&$docdir&g
53174 s&@infodir@&$infodir&g
53175 s&@localedir@&$localedir&g
53176 s&@mandir@&$mandir&g
53177 s&\\\${datarootdir}&$datarootdir&g' ;;
53178 esac
53179 _ACEOF
53180
53181 # Neutralize VPATH when `$srcdir' = `.'.
53182 # Shell code in configure.ac might set extrasub.
53183 # FIXME: do we really want to maintain this feature?
53184 cat >>$CONFIG_STATUS <<_ACEOF
53185 sed "$ac_vpsub
53186 $extrasub
53187 _ACEOF
53188 cat >>$CONFIG_STATUS <<\_ACEOF
53189 :t
53190 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53191 s&@configure_input@&$configure_input&;t t
53192 s&@top_builddir@&$ac_top_builddir_sub&;t t
53193 s&@srcdir@&$ac_srcdir&;t t
53194 s&@abs_srcdir@&$ac_abs_srcdir&;t t
53195 s&@top_srcdir@&$ac_top_srcdir&;t t
53196 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
53197 s&@builddir@&$ac_builddir&;t t
53198 s&@abs_builddir@&$ac_abs_builddir&;t t
53199 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
53200 s&@INSTALL@&$ac_INSTALL&;t t
53201 $ac_datarootdir_hack
53202 " $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
53203
53204 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53205 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
53206 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
53207 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53208 which seems to be undefined. Please make sure it is defined." >&5
53209 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53210 which seems to be undefined. Please make sure it is defined." >&2;}
53211
53212 rm -f "$tmp/stdin"
53213 case $ac_file in
53214 -) cat "$tmp/out"; rm -f "$tmp/out";;
53215 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53216 esac
53217 ;;
53218 :H)
53219 #
53220 # CONFIG_HEADER
53221 #
53222 _ACEOF
53223
53224 # Transform confdefs.h into a sed script `conftest.defines', that
53225 # substitutes the proper values into config.h.in to produce config.h.
53226 rm -f conftest.defines conftest.tail
53227 # First, append a space to every undef/define line, to ease matching.
53228 echo 's/$/ /' >conftest.defines
53229 # Then, protect against being on the right side of a sed subst, or in
53230 # an unquoted here document, in config.status. If some macros were
53231 # called several times there might be several #defines for the same
53232 # symbol, which is useless. But do not sort them, since the last
53233 # AC_DEFINE must be honored.
53234 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
53235 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53236 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53237 # PARAMS is the parameter list in the macro definition--in most cases, it's
53238 # just an empty string.
53239 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53240 ac_dB='\\)[ (].*,\\1define\\2'
53241 ac_dC=' '
53242 ac_dD=' ,'
53243
53244 uniq confdefs.h |
53245 sed -n '
53246 t rset
53247 :rset
53248 s/^[ ]*#[ ]*define[ ][ ]*//
53249 t ok
53250 d
53251 :ok
53252 s/[\\&,]/\\&/g
53253 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53254 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53255 ' >>conftest.defines
53256
53257 # Remove the space that was appended to ease matching.
53258 # Then replace #undef with comments. This is necessary, for
53259 # example, in the case of _POSIX_SOURCE, which is predefined and required
53260 # on some systems where configure will not decide to define it.
53261 # (The regexp can be short, since the line contains either #define or #undef.)
53262 echo 's/ $//
53263 s,^[ #]*u.*,/* & */,' >>conftest.defines
53264
53265 # Break up conftest.defines:
53266 ac_max_sed_lines=50
53267
53268 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53269 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53270 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53271 # et cetera.
53272 ac_in='$ac_file_inputs'
53273 ac_out='"$tmp/out1"'
53274 ac_nxt='"$tmp/out2"'
53275
53276 while :
53277 do
53278 # Write a here document:
53279 cat >>$CONFIG_STATUS <<_ACEOF
53280 # First, check the format of the line:
53281 cat >"\$tmp/defines.sed" <<\\CEOF
53282 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53283 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53284 b
53285 :def
53286 _ACEOF
53287 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
53288 echo 'CEOF
53289 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53290 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
53291 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
53292 grep . conftest.tail >/dev/null || break
53293 rm -f conftest.defines
53294 mv conftest.tail conftest.defines
53295 done
53296 rm -f conftest.defines conftest.tail
53297
53298 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53299 cat >>$CONFIG_STATUS <<\_ACEOF
53300 if test x"$ac_file" != x-; then
53301 echo "/* $configure_input */" >"$tmp/config.h"
53302 cat "$ac_result" >>"$tmp/config.h"
53303 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
53304 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53305 echo "$as_me: $ac_file is unchanged" >&6;}
53306 else
53307 rm -f $ac_file
53308 mv "$tmp/config.h" $ac_file
53309 fi
53310 else
53311 echo "/* $configure_input */"
53312 cat "$ac_result"
53313 fi
53314 rm -f "$tmp/out12"
53315 ;;
53316
53317 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53318 echo "$as_me: executing $ac_file commands" >&6;}
53319 ;;
53320 esac
53321
53322
53323 case $ac_file$ac_mode in
53324 "rcdefs.h":C)
53325 mkdir -p $outdir &&
53326 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53327 ;;
53328 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
53329 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
53330 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
53331 "wx-config":C) rm -f wx-config
53332 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
53333 ;;
53334
53335 esac
53336 done # for ac_tag
53337
53338
53339 { (exit 0); exit 0; }
53340 _ACEOF
53341 chmod +x $CONFIG_STATUS
53342 ac_clean_files=$ac_clean_files_save
53343
53344
53345 # configure is writing to config.log, and then calls config.status.
53346 # config.status does its own redirection, appending to config.log.
53347 # Unfortunately, on DOS this fails, as config.log is still kept open
53348 # by configure, so config.status won't be able to write to it; its
53349 # output is simply discarded. So we exec the FD to /dev/null,
53350 # effectively closing config.log, so it can be properly (re)opened and
53351 # appended to by config.status. When coming back to configure, we
53352 # need to make the FD available again.
53353 if test "$no_create" != yes; then
53354 ac_cs_success=:
53355 ac_config_status_args=
53356 test "$silent" = yes &&
53357 ac_config_status_args="$ac_config_status_args --quiet"
53358 exec 5>/dev/null
53359 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
53360 exec 5>>config.log
53361 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53362 # would make configure fail if this is the last instruction.
53363 $ac_cs_success || { (exit 1); exit 1; }
53364 fi
53365
53366 #
53367 # CONFIG_SUBDIRS section.
53368 #
53369 if test "$no_recursion" != yes; then
53370
53371 # Remove --cache-file and --srcdir arguments so they do not pile up.
53372 ac_sub_configure_args=
53373 ac_prev=
53374 eval "set x $ac_configure_args"
53375 shift
53376 for ac_arg
53377 do
53378 if test -n "$ac_prev"; then
53379 ac_prev=
53380 continue
53381 fi
53382 case $ac_arg in
53383 -cache-file | --cache-file | --cache-fil | --cache-fi \
53384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53385 ac_prev=cache_file ;;
53386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53388 | --c=*)
53389 ;;
53390 --config-cache | -C)
53391 ;;
53392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53393 ac_prev=srcdir ;;
53394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53395 ;;
53396 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53397 ac_prev=prefix ;;
53398 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53399 ;;
53400 *)
53401 case $ac_arg in
53402 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53403 esac
53404 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
53405 esac
53406 done
53407
53408 # Always prepend --prefix to ensure using the same prefix
53409 # in subdir configurations.
53410 ac_arg="--prefix=$prefix"
53411 case $ac_arg in
53412 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53413 esac
53414 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
53415
53416 # Pass --silent
53417 if test "$silent" = yes; then
53418 ac_sub_configure_args="--silent $ac_sub_configure_args"
53419 fi
53420
53421 ac_popdir=`pwd`
53422 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
53423
53424 # Do not complain, so a configure script can configure whichever
53425 # parts of a large source tree are present.
53426 test -d "$srcdir/$ac_dir" || continue
53427
53428 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53429 echo "$as_me:$LINENO: $ac_msg" >&5
53430 echo "$ac_msg" >&6
53431 { as_dir="$ac_dir"
53432 case $as_dir in #(
53433 -*) as_dir=./$as_dir;;
53434 esac
53435 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53436 as_dirs=
53437 while :; do
53438 case $as_dir in #(
53439 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53440 *) as_qdir=$as_dir;;
53441 esac
53442 as_dirs="'$as_qdir' $as_dirs"
53443 as_dir=`$as_dirname -- "$as_dir" ||
53444 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53445 X"$as_dir" : 'X\(//\)[^/]' \| \
53446 X"$as_dir" : 'X\(//\)$' \| \
53447 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53448 echo X"$as_dir" |
53449 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53450 s//\1/
53451 q
53452 }
53453 /^X\(\/\/\)[^/].*/{
53454 s//\1/
53455 q
53456 }
53457 /^X\(\/\/\)$/{
53458 s//\1/
53459 q
53460 }
53461 /^X\(\/\).*/{
53462 s//\1/
53463 q
53464 }
53465 s/.*/./; q'`
53466 test -d "$as_dir" && break
53467 done
53468 test -z "$as_dirs" || eval "mkdir $as_dirs"
53469 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53470 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53471 { (exit 1); exit 1; }; }; }
53472 ac_builddir=.
53473
53474 case "$ac_dir" in
53475 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53476 *)
53477 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53478 # A ".." for each directory in $ac_dir_suffix.
53479 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53480 case $ac_top_builddir_sub in
53481 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53482 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53483 esac ;;
53484 esac
53485 ac_abs_top_builddir=$ac_pwd
53486 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53487 # for backward compatibility:
53488 ac_top_builddir=$ac_top_build_prefix
53489
53490 case $srcdir in
53491 .) # We are building in place.
53492 ac_srcdir=.
53493 ac_top_srcdir=$ac_top_builddir_sub
53494 ac_abs_top_srcdir=$ac_pwd ;;
53495 [\\/]* | ?:[\\/]* ) # Absolute name.
53496 ac_srcdir=$srcdir$ac_dir_suffix;
53497 ac_top_srcdir=$srcdir
53498 ac_abs_top_srcdir=$srcdir ;;
53499 *) # Relative name.
53500 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53501 ac_top_srcdir=$ac_top_build_prefix$srcdir
53502 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53503 esac
53504 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53505
53506
53507 cd "$ac_dir"
53508
53509 # Check for guested configure; otherwise get Cygnus style configure.
53510 if test -f "$ac_srcdir/configure.gnu"; then
53511 ac_sub_configure=$ac_srcdir/configure.gnu
53512 elif test -f "$ac_srcdir/configure"; then
53513 ac_sub_configure=$ac_srcdir/configure
53514 elif test -f "$ac_srcdir/configure.in"; then
53515 # This should be Cygnus configure.
53516 ac_sub_configure=$ac_aux_dir/configure
53517 else
53518 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53519 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53520 ac_sub_configure=
53521 fi
53522
53523 # The recursion is here.
53524 if test -n "$ac_sub_configure"; then
53525 # Make the cache file name correct relative to the subdirectory.
53526 case $cache_file in
53527 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53528 *) # Relative name.
53529 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
53530 esac
53531
53532 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53533 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53534 # The eval makes quoting arguments work.
53535 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53536 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53537 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53538 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53539 { (exit 1); exit 1; }; }
53540 fi
53541
53542 cd "$ac_popdir"
53543 done
53544 fi
53545
53546
53547 echo
53548 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53549 echo ""
53550 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53551 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53552 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53553 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53554 if test "$wxUSE_UNICODE" = "yes"; then
53555 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53556 echo " (using UTF-8)"
53557 else
53558 echo " (using wchar_t)"
53559 fi
53560 else
53561 echo
53562 fi
53563
53564 echo " What level of wxWidgets compatibility should be enabled?"
53565 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53566 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53567
53568 echo " Which libraries should wxWidgets use?"
53569 echo " STL ${wxUSE_STL}"
53570 echo " jpeg ${wxUSE_LIBJPEG-none}"
53571 echo " png ${wxUSE_LIBPNG-none}"
53572 echo " regex ${wxUSE_REGEX}"
53573 echo " tiff ${wxUSE_LIBTIFF-none}"
53574 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53575 echo " xpm ${wxUSE_LIBXPM-none}"
53576 fi
53577 echo " zlib ${wxUSE_ZLIB}"
53578 echo " expat ${wxUSE_EXPAT}"
53579 echo " libmspack ${wxUSE_LIBMSPACK}"
53580 echo " sdl ${wxUSE_LIBSDL}"
53581
53582 echo ""
53583